]> git.saurik.com Git - wxWidgets.git/blob - configure
Provide implementation for wxArrayString::resize().
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
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.1'
579 PACKAGE_STRING='wxWidgets 2.9.1'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 subdirs
680 PKG_CONFIG
681 GTK_CFLAGS
682 GTK_LIBS
683 GTK_CONFIG
684 DIRECTFB_CFLAGS
685 DIRECTFB_LIBS
686 XMKMF
687 X_CFLAGS
688 X_PRE_LIBS
689 X_LIBS
690 X_EXTRA_LIBS
691 PANGOX_CFLAGS
692 PANGOX_LIBS
693 PANGOFT2_CFLAGS
694 PANGOFT2_LIBS
695 PANGOXFT_CFLAGS
696 PANGOXFT_LIBS
697 CFLAGS_VISIBILITY
698 CXXFLAGS_VISIBILITY
699 LIBICONV
700 GXX_VERSION
701 SDL_CONFIG
702 SDL_CFLAGS
703 SDL_LIBS
704 GTKPRINT_CFLAGS
705 GTKPRINT_LIBS
706 LIBGNOMEPRINTUI_CFLAGS
707 LIBGNOMEPRINTUI_LIBS
708 GNOMEVFS_CFLAGS
709 GNOMEVFS_LIBS
710 HILDON_CFLAGS
711 HILDON_LIBS
712 PYTHON
713 COND_PYTHON
714 CAIRO_CFLAGS
715 CAIRO_LIBS
716 GST_CFLAGS
717 GST_LIBS
718 ALL_WX_LIBS
719 BUILT_WX_LIBS
720 STD_BASE_LIBS
721 STD_GUI_LIBS
722 wxUSE_ZLIB
723 wxUSE_REGEX
724 wxUSE_EXPAT
725 wxUSE_LIBJPEG
726 wxUSE_LIBPNG
727 wxUSE_LIBTIFF
728 VENDOR
729 OFFICIAL_BUILD
730 WX_FLAVOUR
731 WX_LIB_FLAVOUR
732 WXUNIV
733 MONOLITHIC
734 USE_PLUGINS
735 CXXWARNINGS
736 EXTRALIBS
737 EXTRALIBS_XML
738 EXTRALIBS_HTML
739 EXTRALIBS_MEDIA
740 EXTRALIBS_GUI
741 EXTRALIBS_OPENGL
742 EXTRALIBS_SDL
743 EXTRALIBS_STC
744 WITH_PLUGIN_SDL
745 EXTRALIBS_GTKPRINT
746 EXTRALIBS_GNOMEPRINT
747 EXTRALIBS_GNOMEVFS
748 EXTRALIBS_HILDON
749 UNICODE
750 DEBUG_INFO
751 DEBUG_FLAG
752 TOOLKIT_LOWERCASE
753 TOOLKIT_VERSION
754 DYLIB_RPATH_INSTALL
755 DYLIB_RPATH_POSTLINK
756 SAMPLES_RPATH_FLAG
757 HEADER_PAD_OPTION
758 HOST_SUFFIX
759 CPPUNIT_CFLAGS
760 CPPUNIT_LIBS
761 RANLIB
762 INSTALL_PROGRAM
763 INSTALL_SCRIPT
764 INSTALL_DATA
765 LN_S
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 STRIP
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 IF_GNU_MAKE
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 WINDRES
807 REZ
808 SETFILE
809 OBJCXXFLAGS
810 GCC_PCH
811 ICC_PCH
812 ICC_PCH_CREATE_SWITCH
813 ICC_PCH_USE_SWITCH
814 BK_MAKE_PCH
815 COND_BUILD_DEBUG
816 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
817 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
818 COND_BUILD_DEBUG_UNICODE_0
819 COND_BUILD_DEBUG_UNICODE_1
820 COND_BUILD_RELEASE
821 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
822 COND_BUILD_RELEASE_UNICODE_0
823 COND_BUILD_RELEASE_UNICODE_1
824 COND_BUILD_debug
825 COND_BUILD_debug_DEBUG_FLAG_default
826 COND_BUILD_debug_DEBUG_INFO_default
827 COND_BUILD_debug_UNICODE_0
828 COND_BUILD_debug_UNICODE_1
829 COND_BUILD_release
830 COND_BUILD_release_DEBUG_INFO_default
831 COND_BUILD_release_UNICODE_0
832 COND_BUILD_release_UNICODE_1
833 COND_DEBUG_FLAG_0
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_RIBBON_1
850 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
851 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
852 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
853 COND_MONOLITHIC_0_SHARED_1
854 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
859 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
860 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
861 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
862 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
863 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
864 COND_MONOLITHIC_0_USE_AUI_1
865 COND_MONOLITHIC_0_USE_GUI_1
866 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_HTML_1
868 COND_MONOLITHIC_0_USE_MEDIA_1
869 COND_MONOLITHIC_0_USE_PROPGRID_1
870 COND_MONOLITHIC_0_USE_QA_1
871 COND_MONOLITHIC_0_USE_RIBBON_1
872 COND_MONOLITHIC_0_USE_RICHTEXT_1
873 COND_MONOLITHIC_0_USE_STC_1
874 COND_MONOLITHIC_0_USE_XRC_1
875 COND_MONOLITHIC_1
876 COND_MONOLITHIC_1_SHARED_0
877 COND_MONOLITHIC_1_SHARED_1
878 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
879 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
880 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
881 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
882 COND_PLATFORM_MACOSX_1
883 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
885 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
886 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
888 COND_PLATFORM_MACOSX_1_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
890 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
891 COND_PLATFORM_MACOS_1
892 COND_PLATFORM_MAC_0
893 COND_PLATFORM_MAC_1
894 COND_PLATFORM_MSDOS_0
895 COND_PLATFORM_MSDOS_1
896 COND_PLATFORM_OS2_1
897 COND_PLATFORM_UNIX_0
898 COND_PLATFORM_UNIX_1
899 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
900 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
901 COND_PLATFORM_UNIX_1_USE_GUI_1
902 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
903 COND_PLATFORM_WIN32_0
904 COND_PLATFORM_WIN32_1
905 COND_SHARED_0
906 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
907 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
908 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
909 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
910 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
911 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
912 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
913 COND_SHARED_0_USE_STC_1
914 COND_SHARED_0_wxUSE_EXPAT_builtin
915 COND_SHARED_0_wxUSE_REGEX_builtin
916 COND_SHARED_0_wxUSE_ZLIB_builtin
917 COND_SHARED_1
918 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
919 COND_TOOLKIT_
920 COND_TOOLKIT_COCOA
921 COND_TOOLKIT_COCOA_USE_GUI_1
922 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_DFB
924 COND_TOOLKIT_DFB_USE_GUI_1
925 COND_TOOLKIT_GTK
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_GTK_USE_GUI_1
933 COND_TOOLKIT_MAC
934 COND_TOOLKIT_MGL
935 COND_TOOLKIT_MGL_USE_GUI_1
936 COND_TOOLKIT_MOTIF
937 COND_TOOLKIT_MOTIF_USE_GUI_1
938 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW
940 COND_TOOLKIT_MSW_USE_GUI_1
941 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
942 COND_TOOLKIT_MSW_WXUNIV_0
943 COND_TOOLKIT_OSX_CARBON
944 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
945 COND_TOOLKIT_OSX_COCOA
946 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
947 COND_TOOLKIT_OSX_IPHONE
948 COND_TOOLKIT_PM
949 COND_TOOLKIT_PM_USE_GUI_1
950 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_WINCE
952 COND_TOOLKIT_WINCE_USE_GUI_1
953 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
954 COND_TOOLKIT_WINCE_WXUNIV_0
955 COND_TOOLKIT_X11
956 COND_TOOLKIT_X11_USE_GUI_1
957 COND_UNICODE_1
958 COND_USE_EXCEPTIONS_0
959 COND_USE_EXCEPTIONS_1
960 COND_USE_GUI_0
961 COND_USE_GUI_1
962 COND_USE_GUI_1_USE_OPENGL_1
963 COND_USE_GUI_1_WXUNIV_0
964 COND_USE_GUI_1_WXUNIV_1
965 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
966 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
967 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
968 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
969 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
970 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
971 COND_USE_OPENGL_1
972 COND_USE_PCH_1
973 COND_USE_PLUGINS_0
974 COND_USE_RTTI_0
975 COND_USE_RTTI_1
976 COND_USE_SOSYMLINKS_1
977 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
978 COND_USE_SOVERLINUX_1
979 COND_USE_SOVERSION_0
980 COND_USE_SOVERSOLARIS_1
981 COND_USE_STC_1
982 COND_USE_THREADS_0
983 COND_USE_THREADS_1
984 COND_USE_XRC_1
985 COND_WINDOWS_IMPLIB_1
986 COND_WITH_PLUGIN_SDL_1
987 COND_WXUNIV_0
988 COND_WXUNIV_1
989 COND_WXUSE_EXPAT_BUILTIN
990 COND_WXUSE_LIBJPEG_BUILTIN
991 COND_WXUSE_LIBPNG_BUILTIN
992 COND_WXUSE_LIBTIFF_BUILTIN
993 COND_WXUSE_REGEX_BUILTIN
994 COND_WXUSE_ZLIB_BUILTIN
995 COND_wxUSE_EXPAT_builtin
996 COND_wxUSE_LIBJPEG_builtin
997 COND_wxUSE_LIBPNG_builtin
998 COND_wxUSE_LIBTIFF_builtin
999 COND_wxUSE_REGEX_builtin
1000 COND_wxUSE_ZLIB_builtin
1001 DEREZ
1002 SHARED
1003 WX_LIBRARY_BASENAME_NOGUI
1004 WX_LIBRARY_BASENAME_GUI
1005 USE_GUI
1006 AFMINSTALL
1007 WIN32INSTALL
1008 TOOLKIT
1009 TOOLKIT_DIR
1010 TOOLCHAIN_NAME
1011 TOOLCHAIN_FULLNAME
1012 cross_compiling
1013 WIDGET_SET
1014 WX_RELEASE
1015 WX_VERSION
1016 WX_SUBVERSION
1017 WX_CHARTYPE
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.1 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 _ACEOF
1648 fi
1649
1650 if test -n "$ac_init_help"; then
1651 case $ac_init_help in
1652 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1653 esac
1654 cat <<\_ACEOF
1655
1656 Optional Features:
1657 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1658 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1659 --disable-gui don't build GUI parts of the library
1660 --enable-monolithic build wxWidgets as single library
1661 --enable-plugins build parts of wxWidgets as loadable components
1662 --enable-official_build official build of wxWidgets (win32 DLL only)
1663 --enable-vendor=VENDOR vendor name (win32 DLL only)
1664 --disable-all-features disable all optional features to build minimal library
1665 --enable-universal use wxWidgets GUI controls instead of native ones
1666 --enable-nanox use NanoX
1667 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1668 --enable-gpe use GNOME PDA Environment features if possible
1669 --enable-debug build library for debugging
1670 --disable-debug_flag disable all debugging support
1671 --enable-debug_info generate debug information
1672 --enable-debug_gdb create code with extra GDB debugging information
1673 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1674 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1675 --disable-shared create static library instead of shared
1676 --enable-stl use STL for containers
1677 --enable-std_iostreams use standard C++ stream classes
1678 --enable-std_string use standard C++ string classes
1679 --disable-unicode compile without Unicode support
1680 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1681 --enable-utf8 use UTF-8 representation for strings (Unix only)
1682 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1683 --enable-extended_rtti use extended RTTI (XTI)
1684 --enable-omf use OMF object format
1685 --disable-optimise compile without optimisations
1686 --enable-profile create code with profiling information
1687 --enable-no_rtti create code without RTTI information
1688 --enable-no_exceptions create code without C++ exceptions handling
1689 --enable-permissive compile code disregarding strict ANSI
1690 --enable-no_deps create code without dependency information
1691 --disable-vararg_macros don't use vararg macros, even if they are supported
1692 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1693 --enable-compat26 enable wxWidgets 2.6 compatibility
1694 --disable-compat28 disable wxWidgets 2.8 compatibility
1695 --disable-rpath disable use of rpath for uninstalled builds
1696 --enable-objc_uniquifying enable Objective-C class name uniquifying
1697 --disable-visibility disable use of ELF symbols visibility even if supported
1698 --disable-tls disable use of compiler TLS support
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-ribbon use wxRibbon library
1768 --enable-stc use wxStyledTextCtrl library
1769 --enable-constraints use layout-constraints system
1770 --enable-loggui use standard GUI logger
1771 --enable-logwin use wxLogWindow
1772 --enable-logdialog use wxLogDialog
1773 --enable-mdi use multiple document interface architecture
1774 --enable-mdidoc use docview architecture with MDI
1775 --enable-mediactrl use wxMediaCtrl class
1776 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1777 --enable-webkit use wxWebKitCtrl (Mac)
1778 --enable-richtext use wxRichTextCtrl
1779 --enable-graphics_ctx use graphics context 2D drawing API
1780 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1781 --enable-printarch use printing architecture
1782 --enable-svg use wxSVGFileDC device context
1783 --enable-clipboard use wxClipboard class
1784 --enable-dnd use Drag'n'Drop classes
1785 --enable-metafile use win32 metafiles
1786 --disable-controls disable compilation of all standard controls
1787 --enable-accel use accelerators
1788 --enable-animatectrl use wxAnimationCtrl class
1789 --enable-bmpbutton use wxBitmapButton class
1790 --enable-bmpcombobox use wxBitmapComboBox class
1791 --enable-button use wxButton class
1792 --enable-calendar use wxCalendarCtrl class
1793 --enable-caret use wxCaret class
1794 --enable-checkbox use wxCheckBox class
1795 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1796 --enable-choice use wxChoice class
1797 --enable-choicebook use wxChoicebook class
1798 --enable-collpane use wxCollapsiblePane class
1799 --enable-colourpicker use wxColourPickerCtrl class
1800 --enable-combobox use wxComboBox class
1801 --enable-comboctrl use wxComboCtrl class
1802 --enable-dataviewctrl use wxDataViewCtrl class
1803 --enable-datepick use wxDatePickerCtrl class
1804 --enable-detect_sm use code to detect X11 session manager
1805 --enable-dirpicker use wxDirPickerCtrl class
1806 --enable-display use wxDisplay class
1807 --enable-editablebox use wxEditableListBox class
1808 --enable-filectrl use wxFileCtrl class
1809 --enable-filepicker use wxFilePickerCtrl class
1810 --enable-fontpicker use wxFontPickerCtrl class
1811 --enable-gauge use wxGauge class
1812 --enable-grid use wxGrid class
1813 --enable-headerctrl use wxHeaderCtrl class
1814 --enable-hyperlink use wxHyperlinkCtrl class
1815 --enable-imaglist use wxImageList class
1816 --enable-listbook use wxListbook class
1817 --enable-listbox use wxListBox class
1818 --enable-listctrl use wxListCtrl class
1819 --enable-notebook use wxNotebook class
1820 --enable-notifmsg use wxNotificationMessage class
1821 --enable-odcombobox use wxOwnerDrawnComboBox class
1822 --enable-popupwin use wxPopUpWindow class
1823 --enable-radiobox use wxRadioBox class
1824 --enable-radiobtn use wxRadioButton class
1825 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1826 --enable-sash use wxSashWindow class
1827 --enable-scrollbar use wxScrollBar class and scrollable windows
1828 --enable-searchctrl use wxSearchCtrl class
1829 --enable-slider use wxSlider class
1830 --enable-spinbtn use wxSpinButton class
1831 --enable-spinctrl use wxSpinCtrl class
1832 --enable-splitter use wxSplitterWindow class
1833 --enable-statbmp use wxStaticBitmap class
1834 --enable-statbox use wxStaticBox class
1835 --enable-statline use wxStaticLine class
1836 --enable-stattext use wxStaticText class
1837 --enable-statusbar use wxStatusBar class
1838 --enable-taskbaricon use wxTaskBarIcon class
1839 --enable-tbarnative use native wxToolBar class
1840 --enable-textctrl use wxTextCtrl class
1841 --enable-tipwindow use wxTipWindow class
1842 --enable-togglebtn use wxToggleButton class
1843 --enable-toolbar use wxToolBar class
1844 --enable-toolbook use wxToolbook class
1845 --enable-treebook use wxTreebook class
1846 --enable-treectrl use wxTreeCtrl class
1847 --enable-commondlg use all common dialogs
1848 --enable-aboutdlg use wxAboutBox
1849 --enable-choicedlg use wxChoiceDialog
1850 --enable-coldlg use wxColourDialog
1851 --enable-filedlg use wxFileDialog
1852 --enable-finddlg use wxFindReplaceDialog
1853 --enable-fontdlg use wxFontDialog
1854 --enable-dirdlg use wxDirDialog
1855 --enable-msgdlg use wxMessageDialog
1856 --enable-numberdlg use wxNumberEntryDialog
1857 --enable-splash use wxSplashScreen
1858 --enable-textdlg use wxTextDialog
1859 --enable-tipdlg use startup tips
1860 --enable-progressdlg use wxProgressDialog
1861 --enable-wizarddlg use wxWizard
1862 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1863 --enable-miniframe use wxMiniFrame class
1864 --enable-tooltips use wxToolTip class
1865 --enable-splines use spline drawing code
1866 --enable-mousewheel use mousewheel
1867 --enable-validators use wxValidator and derived classes
1868 --enable-busyinfo use wxBusyInfo
1869 --enable-joystick use wxJoystick
1870 --enable-metafiles use wxMetaFile (Win32 only)
1871 --enable-dragimage use wxDragImage
1872 --enable-accessibility enable accessibility support
1873 --enable-palette use wxPalette class
1874 --enable-image use wxImage class
1875 --enable-gif use gif images (GIF file format)
1876 --enable-pcx use pcx images (PCX file format)
1877 --enable-tga use tga images (TGA file format)
1878 --enable-iff use iff images (IFF file format)
1879 --enable-pnm use pnm images (PNM file format)
1880 --enable-xpm use xpm images (XPM file format)
1881 --enable-ico_cur use Windows ICO and CUR formats
1882 --enable-dccache cache temporary wxDC objects (Win32 only)
1883 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1884 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1885 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1886 --enable-wxdib use wxDIB class (Win32 only)
1887 --enable-autoidman use automatic ids management
1888 --disable-largefile omit support for large files
1889 --disable-gtktest do not try to compile and run a test GTK+ program
1890 --disable-gtktest Do not try to compile and run a test GTK program
1891 --disable-sdltest Do not try to compile and run a test SDL program
1892 --enable-omf use OMF object format (OS/2)
1893 --disable-dependency-tracking
1894 don't use dependency tracking even if the compiler
1895 can
1896 --disable-precomp-headers
1897 don't use precompiled headers even if compiler can
1898
1899 Optional Packages:
1900 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1901 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1902 --without-subdirs don't generate makefiles for samples/demos/...
1903 --with-flavour=NAME specify a name to identify this build
1904 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1905 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1906 --with-motif use Motif/Lesstif
1907 --with-osx_carbon use Mac OS X (Carbon)
1908 --with-osx_cocoa use Mac OS X (Cocoa)
1909 --with-mac use Mac OS X (Default)
1910 --with-cocoa use Cocoa
1911 --with-wine use Wine
1912 --with-msw use MS-Windows
1913 --with-pm use OS/2 Presentation Manager
1914 --with-mgl use SciTech MGL
1915 --with-directfb use DirectFB
1916 --with-microwin use MicroWindows
1917 --with-x11 use X11
1918 --with-libpng use libpng (PNG image format)
1919 --with-libjpeg use libjpeg (JPEG file format)
1920 --with-libtiff use libtiff (TIFF file format)
1921 --with-libxpm use libxpm (XPM file format)
1922 --with-libiconv use libiconv (character conversion)
1923 --with-libmspack use libmspack (CHM help files loading)
1924 --without-gtkprint don't use GTK printing support
1925 --without-gnomeprint don't use GNOME printing libraries
1926 --with-gnomevfs use GNOME VFS for associating MIME types
1927 --with-hildon use Hildon framework for Nokia 770
1928 --with-opengl use OpenGL (or Mesa)
1929 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1930 --with-sdl use SDL for audio on Unix
1931 --with-regex enable support for wxRegEx class
1932 --with-zlib use zlib for LZW compression
1933 --with-expat enable XML support using expat parser
1934 --with-macosx-sdk=PATH use an OS X SDK at PATH
1935 --with-macosx-version-min=VER build binaries which require at least this OS X version
1936 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1937 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1938 --with-x use the X Window System
1939 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1940 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1941 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1942 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1943 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1944
1945 Some influential environment variables:
1946 CC C compiler command
1947 CFLAGS C compiler flags
1948 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1949 nonstandard directory <lib dir>
1950 LIBS libraries to pass to the linker, e.g. -l<library>
1951 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1952 you have headers in a nonstandard directory <include dir>
1953 CPP C preprocessor
1954 CXX C++ compiler command
1955 CXXFLAGS C++ compiler flags
1956 PKG_CONFIG path to pkg-config utility
1957 DIRECTFB_CFLAGS
1958 C compiler flags for DIRECTFB, overriding pkg-config
1959 DIRECTFB_LIBS
1960 linker flags for DIRECTFB, overriding pkg-config
1961 XMKMF Path to xmkmf, Makefile generator for X Window System
1962 PANGOX_CFLAGS
1963 C compiler flags for PANGOX, overriding pkg-config
1964 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1965 PANGOFT2_CFLAGS
1966 C compiler flags for PANGOFT2, overriding pkg-config
1967 PANGOFT2_LIBS
1968 linker flags for PANGOFT2, overriding pkg-config
1969 PANGOXFT_CFLAGS
1970 C compiler flags for PANGOXFT, overriding pkg-config
1971 PANGOXFT_LIBS
1972 linker flags for PANGOXFT, overriding pkg-config
1973 GTKPRINT_CFLAGS
1974 C compiler flags for GTKPRINT, overriding pkg-config
1975 GTKPRINT_LIBS
1976 linker flags for GTKPRINT, overriding pkg-config
1977 LIBGNOMEPRINTUI_CFLAGS
1978 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1979 LIBGNOMEPRINTUI_LIBS
1980 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1981 GNOMEVFS_CFLAGS
1982 C compiler flags for GNOMEVFS, overriding pkg-config
1983 GNOMEVFS_LIBS
1984 linker flags for GNOMEVFS, overriding pkg-config
1985 HILDON_CFLAGS
1986 C compiler flags for HILDON, overriding pkg-config
1987 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1988 CAIRO_CFLAGS
1989 C compiler flags for CAIRO, overriding pkg-config
1990 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1991 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1992 GST_LIBS linker flags for GST, overriding pkg-config
1993
1994 Use these variables to override the choices made by `configure' or to help
1995 it to find libraries and programs with nonstandard names/locations.
1996
1997 Report bugs to <wx-dev@lists.wxwidgets.org>.
1998 _ACEOF
1999 ac_status=$?
2000 fi
2001
2002 if test "$ac_init_help" = "recursive"; then
2003 # If there are subdirs, report their specific --help.
2004 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2005 test -d "$ac_dir" || continue
2006 ac_builddir=.
2007
2008 case "$ac_dir" in
2009 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2010 *)
2011 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2012 # A ".." for each directory in $ac_dir_suffix.
2013 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2014 case $ac_top_builddir_sub in
2015 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2016 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2017 esac ;;
2018 esac
2019 ac_abs_top_builddir=$ac_pwd
2020 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2021 # for backward compatibility:
2022 ac_top_builddir=$ac_top_build_prefix
2023
2024 case $srcdir in
2025 .) # We are building in place.
2026 ac_srcdir=.
2027 ac_top_srcdir=$ac_top_builddir_sub
2028 ac_abs_top_srcdir=$ac_pwd ;;
2029 [\\/]* | ?:[\\/]* ) # Absolute name.
2030 ac_srcdir=$srcdir$ac_dir_suffix;
2031 ac_top_srcdir=$srcdir
2032 ac_abs_top_srcdir=$srcdir ;;
2033 *) # Relative name.
2034 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2035 ac_top_srcdir=$ac_top_build_prefix$srcdir
2036 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2037 esac
2038 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2039
2040 cd "$ac_dir" || { ac_status=$?; continue; }
2041 # Check for guested configure.
2042 if test -f "$ac_srcdir/configure.gnu"; then
2043 echo &&
2044 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2045 elif test -f "$ac_srcdir/configure"; then
2046 echo &&
2047 $SHELL "$ac_srcdir/configure" --help=recursive
2048 else
2049 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2050 fi || ac_status=$?
2051 cd "$ac_pwd" || { ac_status=$?; break; }
2052 done
2053 fi
2054
2055 test -n "$ac_init_help" && exit $ac_status
2056 if $ac_init_version; then
2057 cat <<\_ACEOF
2058 wxWidgets configure 2.9.1
2059 generated by GNU Autoconf 2.61
2060
2061 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2062 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2063 This configure script is free software; the Free Software Foundation
2064 gives unlimited permission to copy, distribute and modify it.
2065 _ACEOF
2066 exit
2067 fi
2068 cat >config.log <<_ACEOF
2069 This file contains any messages produced by compilers while
2070 running configure, to aid debugging if configure makes a mistake.
2071
2072 It was created by wxWidgets $as_me 2.9.1, which was
2073 generated by GNU Autoconf 2.61. Invocation command line was
2074
2075 $ $0 $@
2076
2077 _ACEOF
2078 exec 5>>config.log
2079 {
2080 cat <<_ASUNAME
2081 ## --------- ##
2082 ## Platform. ##
2083 ## --------- ##
2084
2085 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2086 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2087 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2088 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2089 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2090
2091 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2092 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2093
2094 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2095 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2096 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2097 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2098 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2099 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2100 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2101
2102 _ASUNAME
2103
2104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 for as_dir in $PATH
2106 do
2107 IFS=$as_save_IFS
2108 test -z "$as_dir" && as_dir=.
2109 echo "PATH: $as_dir"
2110 done
2111 IFS=$as_save_IFS
2112
2113 } >&5
2114
2115 cat >&5 <<_ACEOF
2116
2117
2118 ## ----------- ##
2119 ## Core tests. ##
2120 ## ----------- ##
2121
2122 _ACEOF
2123
2124
2125 # Keep a trace of the command line.
2126 # Strip out --no-create and --no-recursion so they do not pile up.
2127 # Strip out --silent because we don't want to record it for future runs.
2128 # Also quote any args containing shell meta-characters.
2129 # Make two passes to allow for proper duplicate-argument suppression.
2130 ac_configure_args=
2131 ac_configure_args0=
2132 ac_configure_args1=
2133 ac_must_keep_next=false
2134 for ac_pass in 1 2
2135 do
2136 for ac_arg
2137 do
2138 case $ac_arg in
2139 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2140 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2141 | -silent | --silent | --silen | --sile | --sil)
2142 continue ;;
2143 *\'*)
2144 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2145 esac
2146 case $ac_pass in
2147 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2148 2)
2149 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2150 if test $ac_must_keep_next = true; then
2151 ac_must_keep_next=false # Got value, back to normal.
2152 else
2153 case $ac_arg in
2154 *=* | --config-cache | -C | -disable-* | --disable-* \
2155 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2156 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2157 | -with-* | --with-* | -without-* | --without-* | --x)
2158 case "$ac_configure_args0 " in
2159 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2160 esac
2161 ;;
2162 -* ) ac_must_keep_next=true ;;
2163 esac
2164 fi
2165 ac_configure_args="$ac_configure_args '$ac_arg'"
2166 ;;
2167 esac
2168 done
2169 done
2170 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2171 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2172
2173 # When interrupted or exit'd, cleanup temporary files, and complete
2174 # config.log. We remove comments because anyway the quotes in there
2175 # would cause problems or look ugly.
2176 # WARNING: Use '\'' to represent an apostrophe within the trap.
2177 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2178 trap 'exit_status=$?
2179 # Save into config.log some information that might help in debugging.
2180 {
2181 echo
2182
2183 cat <<\_ASBOX
2184 ## ---------------- ##
2185 ## Cache variables. ##
2186 ## ---------------- ##
2187 _ASBOX
2188 echo
2189 # The following way of writing the cache mishandles newlines in values,
2190 (
2191 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2192 eval ac_val=\$$ac_var
2193 case $ac_val in #(
2194 *${as_nl}*)
2195 case $ac_var in #(
2196 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2197 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2198 esac
2199 case $ac_var in #(
2200 _ | IFS | as_nl) ;; #(
2201 *) $as_unset $ac_var ;;
2202 esac ;;
2203 esac
2204 done
2205 (set) 2>&1 |
2206 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2207 *${as_nl}ac_space=\ *)
2208 sed -n \
2209 "s/'\''/'\''\\\\'\'''\''/g;
2210 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2211 ;; #(
2212 *)
2213 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2214 ;;
2215 esac |
2216 sort
2217 )
2218 echo
2219
2220 cat <<\_ASBOX
2221 ## ----------------- ##
2222 ## Output variables. ##
2223 ## ----------------- ##
2224 _ASBOX
2225 echo
2226 for ac_var in $ac_subst_vars
2227 do
2228 eval ac_val=\$$ac_var
2229 case $ac_val in
2230 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2231 esac
2232 echo "$ac_var='\''$ac_val'\''"
2233 done | sort
2234 echo
2235
2236 if test -n "$ac_subst_files"; then
2237 cat <<\_ASBOX
2238 ## ------------------- ##
2239 ## File substitutions. ##
2240 ## ------------------- ##
2241 _ASBOX
2242 echo
2243 for ac_var in $ac_subst_files
2244 do
2245 eval ac_val=\$$ac_var
2246 case $ac_val in
2247 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2248 esac
2249 echo "$ac_var='\''$ac_val'\''"
2250 done | sort
2251 echo
2252 fi
2253
2254 if test -s confdefs.h; then
2255 cat <<\_ASBOX
2256 ## ----------- ##
2257 ## confdefs.h. ##
2258 ## ----------- ##
2259 _ASBOX
2260 echo
2261 cat confdefs.h
2262 echo
2263 fi
2264 test "$ac_signal" != 0 &&
2265 echo "$as_me: caught signal $ac_signal"
2266 echo "$as_me: exit $exit_status"
2267 } >&5
2268 rm -f core *.core core.conftest.* &&
2269 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2270 exit $exit_status
2271 ' 0
2272 for ac_signal in 1 2 13 15; do
2273 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2274 done
2275 ac_signal=0
2276
2277 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2278 rm -f -r conftest* confdefs.h
2279
2280 # Predefined preprocessor variables.
2281
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_NAME "$PACKAGE_NAME"
2284 _ACEOF
2285
2286
2287 cat >>confdefs.h <<_ACEOF
2288 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2289 _ACEOF
2290
2291
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2294 _ACEOF
2295
2296
2297 cat >>confdefs.h <<_ACEOF
2298 #define PACKAGE_STRING "$PACKAGE_STRING"
2299 _ACEOF
2300
2301
2302 cat >>confdefs.h <<_ACEOF
2303 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2304 _ACEOF
2305
2306
2307 # Let the site file select an alternate cache file if it wants to.
2308 # Prefer explicitly selected file to automatically selected ones.
2309 if test -n "$CONFIG_SITE"; then
2310 set x "$CONFIG_SITE"
2311 elif test "x$prefix" != xNONE; then
2312 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2313 else
2314 set x "$ac_default_prefix/share/config.site" \
2315 "$ac_default_prefix/etc/config.site"
2316 fi
2317 shift
2318 for ac_site_file
2319 do
2320 if test -r "$ac_site_file"; then
2321 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2322 echo "$as_me: loading site script $ac_site_file" >&6;}
2323 sed 's/^/| /' "$ac_site_file" >&5
2324 . "$ac_site_file"
2325 fi
2326 done
2327
2328 if test -r "$cache_file"; then
2329 # Some versions of bash will fail to source /dev/null (special
2330 # files actually), so we avoid doing that.
2331 if test -f "$cache_file"; then
2332 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2333 echo "$as_me: loading cache $cache_file" >&6;}
2334 case $cache_file in
2335 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2336 *) . "./$cache_file";;
2337 esac
2338 fi
2339 else
2340 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2341 echo "$as_me: creating cache $cache_file" >&6;}
2342 >$cache_file
2343 fi
2344
2345 # Check that the precious variables saved in the cache have kept the same
2346 # value.
2347 ac_cache_corrupted=false
2348 for ac_var in $ac_precious_vars; do
2349 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2350 eval ac_new_set=\$ac_env_${ac_var}_set
2351 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2352 eval ac_new_val=\$ac_env_${ac_var}_value
2353 case $ac_old_set,$ac_new_set in
2354 set,)
2355 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2356 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2357 ac_cache_corrupted=: ;;
2358 ,set)
2359 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2360 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2361 ac_cache_corrupted=: ;;
2362 ,);;
2363 *)
2364 if test "x$ac_old_val" != "x$ac_new_val"; then
2365 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2366 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2367 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2368 echo "$as_me: former value: $ac_old_val" >&2;}
2369 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2370 echo "$as_me: current value: $ac_new_val" >&2;}
2371 ac_cache_corrupted=:
2372 fi;;
2373 esac
2374 # Pass precious variables to config.status.
2375 if test "$ac_new_set" = set; then
2376 case $ac_new_val in
2377 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2378 *) ac_arg=$ac_var=$ac_new_val ;;
2379 esac
2380 case " $ac_configure_args " in
2381 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2382 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2383 esac
2384 fi
2385 done
2386 if $ac_cache_corrupted; then
2387 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2388 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2389 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2390 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2391 { (exit 1); exit 1; }; }
2392 fi
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418 ac_ext=c
2419 ac_cpp='$CPP $CPPFLAGS'
2420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2423
2424
2425
2426
2427
2428 ac_aux_dir=
2429 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2430 if test -f "$ac_dir/install-sh"; then
2431 ac_aux_dir=$ac_dir
2432 ac_install_sh="$ac_aux_dir/install-sh -c"
2433 break
2434 elif test -f "$ac_dir/install.sh"; then
2435 ac_aux_dir=$ac_dir
2436 ac_install_sh="$ac_aux_dir/install.sh -c"
2437 break
2438 elif test -f "$ac_dir/shtool"; then
2439 ac_aux_dir=$ac_dir
2440 ac_install_sh="$ac_aux_dir/shtool install -c"
2441 break
2442 fi
2443 done
2444 if test -z "$ac_aux_dir"; then
2445 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2446 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2447 { (exit 1); exit 1; }; }
2448 fi
2449
2450 # These three variables are undocumented and unsupported,
2451 # and are intended to be withdrawn in a future Autoconf release.
2452 # They can cause serious problems if a builder's source tree is in a directory
2453 # whose full name contains unusual characters.
2454 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2455 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2456 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2457
2458
2459 # Make sure we can run config.sub.
2460 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2461 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2462 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2463 { (exit 1); exit 1; }; }
2464
2465 { echo "$as_me:$LINENO: checking build system type" >&5
2466 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2467 if test "${ac_cv_build+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 else
2470 ac_build_alias=$build_alias
2471 test "x$ac_build_alias" = x &&
2472 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2473 test "x$ac_build_alias" = x &&
2474 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2475 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2476 { (exit 1); exit 1; }; }
2477 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2478 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2479 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2480 { (exit 1); exit 1; }; }
2481
2482 fi
2483 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2484 echo "${ECHO_T}$ac_cv_build" >&6; }
2485 case $ac_cv_build in
2486 *-*-*) ;;
2487 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2488 echo "$as_me: error: invalid value of canonical build" >&2;}
2489 { (exit 1); exit 1; }; };;
2490 esac
2491 build=$ac_cv_build
2492 ac_save_IFS=$IFS; IFS='-'
2493 set x $ac_cv_build
2494 shift
2495 build_cpu=$1
2496 build_vendor=$2
2497 shift; shift
2498 # Remember, the first character of IFS is used to create $*,
2499 # except with old shells:
2500 build_os=$*
2501 IFS=$ac_save_IFS
2502 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2503
2504
2505 { echo "$as_me:$LINENO: checking host system type" >&5
2506 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2507 if test "${ac_cv_host+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 else
2510 if test "x$host_alias" = x; then
2511 ac_cv_host=$ac_cv_build
2512 else
2513 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2514 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2515 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2516 { (exit 1); exit 1; }; }
2517 fi
2518
2519 fi
2520 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2521 echo "${ECHO_T}$ac_cv_host" >&6; }
2522 case $ac_cv_host in
2523 *-*-*) ;;
2524 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2525 echo "$as_me: error: invalid value of canonical host" >&2;}
2526 { (exit 1); exit 1; }; };;
2527 esac
2528 host=$ac_cv_host
2529 ac_save_IFS=$IFS; IFS='-'
2530 set x $ac_cv_host
2531 shift
2532 host_cpu=$1
2533 host_vendor=$2
2534 shift; shift
2535 # Remember, the first character of IFS is used to create $*,
2536 # except with old shells:
2537 host_os=$*
2538 IFS=$ac_save_IFS
2539 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2540
2541
2542
2543 if test "$cross_compiling" != "no"; then
2544 HOST_PREFIX="${host_alias}-"
2545 HOST_SUFFIX="-$host_alias"
2546 else
2547 HOST_PREFIX=
2548 HOST_SUFFIX=
2549 fi
2550
2551
2552 wx_major_version_number=2
2553 wx_minor_version_number=9
2554 wx_release_number=1
2555 wx_subrelease_number=0
2556
2557 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2558 WX_VERSION=$WX_RELEASE.$wx_release_number
2559 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2560
2561 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2562
2563
2564 wx_top_builddir="`pwd`"
2565
2566
2567
2568
2569 USE_UNIX=1
2570 USE_OS2=0
2571 USE_WIN32=0
2572 USE_DOS=0
2573 USE_BEOS=0
2574 USE_MAC=0
2575
2576 USE_AIX=
2577 USE_BSD= USE_DARWIN= USE_FREEBSD=
2578 USE_GNU= USE_HPUX=
2579 USE_LINUX=
2580 USE_NETBSD=
2581 USE_OPENBSD=
2582 USE_OSF= USE_SGI=
2583 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2584 USE_ULTRIX=
2585 USE_UNIXWARE=
2586
2587 USE_ALPHA=
2588
2589 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2590
2591 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2592
2593 DEFAULT_wxUSE_COCOA=0
2594 DEFAULT_wxUSE_GTK=0
2595 DEFAULT_wxUSE_OSX_CARBON=0
2596 DEFAULT_wxUSE_OSX_COCOA=0
2597 DEFAULT_wxUSE_MGL=0
2598 DEFAULT_wxUSE_MICROWIN=0
2599 DEFAULT_wxUSE_MOTIF=0
2600 DEFAULT_wxUSE_MSW=0
2601 DEFAULT_wxUSE_PM=0
2602 DEFAULT_wxUSE_X11=0
2603 DEFAULT_wxUSE_DFB=0
2604
2605 DEFAULT_DEFAULT_wxUSE_COCOA=0
2606 DEFAULT_DEFAULT_wxUSE_GTK=0
2607 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2608 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2609 DEFAULT_DEFAULT_wxUSE_MGL=0
2610 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2611 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2612 DEFAULT_DEFAULT_wxUSE_MSW=0
2613 DEFAULT_DEFAULT_wxUSE_PM=0
2614 DEFAULT_DEFAULT_wxUSE_X11=0
2615 DEFAULT_DEFAULT_wxUSE_DFB=0
2616
2617 PROGRAM_EXT=
2618 SAMPLES_RPATH_FLAG=
2619 DYLIB_RPATH_INSTALL=
2620 DYLIB_RPATH_POSTLINK=
2621
2622 DEFAULT_STD_FLAG=yes
2623
2624 case "${host}" in
2625 *-hp-hpux* )
2626 USE_HPUX=1
2627 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2628 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2629 cat >>confdefs.h <<\_ACEOF
2630 #define __HPUX__ 1
2631 _ACEOF
2632
2633
2634 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2635 ;;
2636 *-*-linux* )
2637 USE_LINUX=1
2638 cat >>confdefs.h <<\_ACEOF
2639 #define __LINUX__ 1
2640 _ACEOF
2641
2642 TMP=`uname -m`
2643 if test "x$TMP" = "xalpha"; then
2644 USE_ALPHA=1
2645 cat >>confdefs.h <<\_ACEOF
2646 #define __ALPHA__ 1
2647 _ACEOF
2648
2649 fi
2650 DEFAULT_DEFAULT_wxUSE_GTK=1
2651 ;;
2652 *-*-gnu* | *-*-k*bsd*-gnu )
2653 USE_GNU=1
2654 TMP=`uname -m`
2655 if test "x$TMP" = "xalpha"; then
2656 USE_ALPHA=1
2657 cat >>confdefs.h <<\_ACEOF
2658 #define __ALPHA__ 1
2659 _ACEOF
2660
2661 fi
2662 DEFAULT_DEFAULT_wxUSE_GTK=1
2663 ;;
2664 *-*-irix5* | *-*-irix6* )
2665 USE_SGI=1
2666 USE_SVR4=1
2667 cat >>confdefs.h <<\_ACEOF
2668 #define __SGI__ 1
2669 _ACEOF
2670
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __SVR4__ 1
2673 _ACEOF
2674
2675 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2676 ;;
2677 *-*-solaris2* )
2678 USE_SUN=1
2679 USE_SOLARIS=1
2680 USE_SVR4=1
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SUN__ 1
2683 _ACEOF
2684
2685 cat >>confdefs.h <<\_ACEOF
2686 #define __SOLARIS__ 1
2687 _ACEOF
2688
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __SVR4__ 1
2691 _ACEOF
2692
2693 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2694 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2695 ;;
2696 *-*-sunos4* )
2697 USE_SUN=1
2698 USE_SUNOS=1
2699 USE_BSD=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __SUN__ 1
2702 _ACEOF
2703
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __SUNOS__ 1
2706 _ACEOF
2707
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __BSD__ 1
2710 _ACEOF
2711
2712 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2713 ;;
2714 *-*-freebsd*)
2715 USE_BSD=1
2716 USE_FREEBSD=1
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __FREEBSD__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __BSD__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_GTK=1
2726 ;;
2727 *-*-openbsd*|*-*-mirbsd*)
2728 USE_BSD=1
2729 USE_OPENBSD=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __OPENBSD__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __BSD__ 1
2736 _ACEOF
2737
2738 DEFAULT_DEFAULT_wxUSE_GTK=1
2739 ;;
2740 *-*-netbsd*)
2741 USE_BSD=1
2742 USE_NETBSD=1
2743 cat >>confdefs.h <<\_ACEOF
2744 #define __NETBSD__ 1
2745 _ACEOF
2746
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __BSD__ 1
2749 _ACEOF
2750
2751 DEFAULT_DEFAULT_wxUSE_GTK=1
2752 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2753
2754 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2755 ;;
2756 *-*-osf* )
2757 USE_ALPHA=1
2758 USE_OSF=1
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __ALPHA__ 1
2761 _ACEOF
2762
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __OSF__ 1
2765 _ACEOF
2766
2767 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2768 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2769 ;;
2770 *-*-dgux5* )
2771 USE_ALPHA=1
2772 USE_SVR4=1
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __ALPHA__ 1
2775 _ACEOF
2776
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __SVR4__ 1
2779 _ACEOF
2780
2781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2782 ;;
2783 *-*-sysv5* )
2784 USE_SYSV=1
2785 USE_SVR4=1
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __SYSV__ 1
2788 _ACEOF
2789
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __SVR4__ 1
2792 _ACEOF
2793
2794 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2795 ;;
2796 *-*-aix* )
2797 USE_AIX=1
2798 USE_SYSV=1
2799 USE_SVR4=1
2800 cat >>confdefs.h <<\_ACEOF
2801 #define __AIX__ 1
2802 _ACEOF
2803
2804 cat >>confdefs.h <<\_ACEOF
2805 #define __SYSV__ 1
2806 _ACEOF
2807
2808 cat >>confdefs.h <<\_ACEOF
2809 #define __SVR4__ 1
2810 _ACEOF
2811
2812 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2813 ;;
2814
2815 *-*-*UnixWare*)
2816 USE_SYSV=1
2817 USE_SVR4=1
2818 USE_UNIXWARE=1
2819 cat >>confdefs.h <<\_ACEOF
2820 #define __UNIXWARE__ 1
2821 _ACEOF
2822
2823 ;;
2824
2825 *-*-cygwin* | *-*-mingw32* )
2826 PROGRAM_EXT=".exe"
2827 DEFAULT_DEFAULT_wxUSE_MSW=1
2828 ;;
2829
2830 *-pc-msdosdjgpp )
2831 USE_UNIX=0
2832 USE_DOS=1
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __DOS__ 1
2835 _ACEOF
2836
2837 PROGRAM_EXT=".exe"
2838 DEFAULT_DEFAULT_wxUSE_MGL=1
2839 ;;
2840
2841 *-pc-os2_emx | *-pc-os2-emx )
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __EMX__ 1
2844 _ACEOF
2845
2846 USE_OS2=1
2847 cat >>confdefs.h <<\_ACEOF
2848 #define __OS2__ 1
2849 _ACEOF
2850
2851 PROGRAM_EXT=".exe"
2852 DEFAULT_DEFAULT_wxUSE_PM=1
2853 CXX=gcc
2854 LDFLAGS="$LDFLAGS -Zcrtdll"
2855 ac_executable_extensions=".exe"
2856 export ac_executable_extensions
2857 ac_save_IFS="$IFS"
2858 IFS='\\'
2859 ac_TEMP_PATH=
2860 for ac_dir in $PATH; do
2861 IFS=$ac_save_IFS
2862 if test -z "$ac_TEMP_PATH"; then
2863 ac_TEMP_PATH="$ac_dir"
2864 else
2865 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2866 fi
2867 done
2868 export PATH="$ac_TEMP_PATH"
2869 unset ac_TEMP_PATH
2870 DEFAULT_STD_FLAG=no
2871 ;;
2872
2873 *-*-darwin* )
2874 USE_BSD=1
2875 USE_DARWIN=1
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __BSD__ 1
2878 _ACEOF
2879
2880 cat >>confdefs.h <<\_ACEOF
2881 #define __DARWIN__ 1
2882 _ACEOF
2883
2884 cat >>confdefs.h <<\_ACEOF
2885 #define TARGET_CARBON 1
2886 _ACEOF
2887
2888 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2889 ;;
2890
2891 *-*-beos* )
2892 USE_BEOS=1
2893 cat >>confdefs.h <<\_ACEOF
2894 #define __BEOS__ 1
2895 _ACEOF
2896
2897 ;;
2898
2899 *)
2900 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2901 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2902 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2903 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2904
2905 DEFAULT_DEFAULT_wxUSE_X11=1
2906 DEFAULT_wxUSE_SHARED=no
2907 esac
2908
2909
2910
2911 DEFAULT_wxUSE_ALL_FEATURES=yes
2912
2913 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2914 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2915
2916 DEFAULT_wxUSE_DMALLOC=no
2917 DEFAULT_wxUSE_LIBGNOMEVFS=no
2918 DEFAULT_wxUSE_LIBHILDON=no
2919 DEFAULT_wxUSE_LIBMSPACK=no
2920 DEFAULT_wxUSE_LIBSDL=no
2921
2922 DEFAULT_wxUSE_ACCESSIBILITY=no
2923 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2924 DEFAULT_wxUSE_IPV6=no
2925 DEFAULT_wxUSE_GSTREAMER8=no
2926
2927 DEFAULT_wxUSE_UNICODE_UTF8=auto
2928 DEFAULT_wxUSE_OPENGL=auto
2929 DEFAULT_wxUSE_MEDIACTRL=auto
2930 DEFAULT_wxUSE_COMPILER_TLS=auto
2931
2932 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2933
2934 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2935
2936 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2937
2938 DEFAULT_wxUSE_GTK2=yes
2939
2940 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2941
2942
2943
2944
2945
2946 enablestring=disable
2947 defaultval=
2948 if test -z "$defaultval"; then
2949 if test x"$enablestring" = xdisable; then
2950 defaultval=yes
2951 else
2952 defaultval=no
2953 fi
2954 fi
2955
2956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2957 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2958 # Check whether --enable-gui was given.
2959 if test "${enable_gui+set}" = set; then
2960 enableval=$enable_gui;
2961 if test "$enableval" = yes; then
2962 wx_cv_use_gui='wxUSE_GUI=yes'
2963 else
2964 wx_cv_use_gui='wxUSE_GUI=no'
2965 fi
2966
2967 else
2968
2969 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2970
2971 fi
2972
2973
2974 eval "$wx_cv_use_gui"
2975
2976 if test x"$enablestring" = xdisable; then
2977 if test $wxUSE_GUI = no; then
2978 result=yes
2979 else
2980 result=no
2981 fi
2982 else
2983 result=$wxUSE_GUI
2984 fi
2985
2986 { echo "$as_me:$LINENO: result: $result" >&5
2987 echo "${ECHO_T}$result" >&6; }
2988
2989
2990 enablestring=
2991 defaultval=
2992 if test -z "$defaultval"; then
2993 if test x"$enablestring" = xdisable; then
2994 defaultval=yes
2995 else
2996 defaultval=no
2997 fi
2998 fi
2999
3000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3001 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3002 # Check whether --enable-monolithic was given.
3003 if test "${enable_monolithic+set}" = set; then
3004 enableval=$enable_monolithic;
3005 if test "$enableval" = yes; then
3006 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3007 else
3008 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3009 fi
3010
3011 else
3012
3013 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3014
3015 fi
3016
3017
3018 eval "$wx_cv_use_monolithic"
3019
3020 if test x"$enablestring" = xdisable; then
3021 if test $wxUSE_MONOLITHIC = no; then
3022 result=yes
3023 else
3024 result=no
3025 fi
3026 else
3027 result=$wxUSE_MONOLITHIC
3028 fi
3029
3030 { echo "$as_me:$LINENO: result: $result" >&5
3031 echo "${ECHO_T}$result" >&6; }
3032
3033
3034 enablestring=
3035 defaultval=
3036 if test -z "$defaultval"; then
3037 if test x"$enablestring" = xdisable; then
3038 defaultval=yes
3039 else
3040 defaultval=no
3041 fi
3042 fi
3043
3044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3045 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3046 # Check whether --enable-plugins was given.
3047 if test "${enable_plugins+set}" = set; then
3048 enableval=$enable_plugins;
3049 if test "$enableval" = yes; then
3050 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3051 else
3052 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3053 fi
3054
3055 else
3056
3057 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3058
3059 fi
3060
3061
3062 eval "$wx_cv_use_plugins"
3063
3064 if test x"$enablestring" = xdisable; then
3065 if test $wxUSE_PLUGINS = no; then
3066 result=yes
3067 else
3068 result=no
3069 fi
3070 else
3071 result=$wxUSE_PLUGINS
3072 fi
3073
3074 { echo "$as_me:$LINENO: result: $result" >&5
3075 echo "${ECHO_T}$result" >&6; }
3076
3077
3078 withstring=without
3079 defaultval=$wxUSE_ALL_FEATURES
3080 if test -z "$defaultval"; then
3081 if test x"$withstring" = xwithout; then
3082 defaultval=yes
3083 else
3084 defaultval=no
3085 fi
3086 fi
3087 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3088 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3089
3090 # Check whether --with-subdirs was given.
3091 if test "${with_subdirs+set}" = set; then
3092 withval=$with_subdirs;
3093 if test "$withval" = yes; then
3094 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3095 else
3096 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3097 fi
3098
3099 else
3100
3101 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3102
3103 fi
3104
3105
3106 eval "$wx_cv_use_subdirs"
3107
3108 if test x"$withstring" = xwithout; then
3109 if test $wxWITH_SUBDIRS = yes; then
3110 result=no
3111 else
3112 result=yes
3113 fi
3114 else
3115 result=$wxWITH_SUBDIRS
3116 fi
3117
3118 { echo "$as_me:$LINENO: result: $result" >&5
3119 echo "${ECHO_T}$result" >&6; }
3120
3121
3122 # Check whether --with-flavour was given.
3123 if test "${with_flavour+set}" = set; then
3124 withval=$with_flavour; WX_FLAVOUR="$withval"
3125 fi
3126
3127
3128 enablestring=
3129 defaultval=
3130 if test -z "$defaultval"; then
3131 if test x"$enablestring" = xdisable; then
3132 defaultval=yes
3133 else
3134 defaultval=no
3135 fi
3136 fi
3137
3138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3139 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3140 # Check whether --enable-official_build was given.
3141 if test "${enable_official_build+set}" = set; then
3142 enableval=$enable_official_build;
3143 if test "$enableval" = yes; then
3144 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3145 else
3146 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3147 fi
3148
3149 else
3150
3151 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3152
3153 fi
3154
3155
3156 eval "$wx_cv_use_official_build"
3157
3158 if test x"$enablestring" = xdisable; then
3159 if test $wxUSE_OFFICIAL_BUILD = no; then
3160 result=yes
3161 else
3162 result=no
3163 fi
3164 else
3165 result=$wxUSE_OFFICIAL_BUILD
3166 fi
3167
3168 { echo "$as_me:$LINENO: result: $result" >&5
3169 echo "${ECHO_T}$result" >&6; }
3170
3171 # Check whether --enable-vendor was given.
3172 if test "${enable_vendor+set}" = set; then
3173 enableval=$enable_vendor; VENDOR="$enableval"
3174 fi
3175
3176 if test "x$VENDOR" = "x"; then
3177 VENDOR="custom"
3178 fi
3179
3180
3181 enablestring=disable
3182 defaultval=
3183 if test -z "$defaultval"; then
3184 if test x"$enablestring" = xdisable; then
3185 defaultval=yes
3186 else
3187 defaultval=no
3188 fi
3189 fi
3190
3191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3192 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3193 # Check whether --enable-all-features was given.
3194 if test "${enable_all_features+set}" = set; then
3195 enableval=$enable_all_features;
3196 if test "$enableval" = yes; then
3197 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3198 else
3199 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3200 fi
3201
3202 else
3203
3204 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3205
3206 fi
3207
3208
3209 eval "$wx_cv_use_all_features"
3210
3211 if test x"$enablestring" = xdisable; then
3212 if test $wxUSE_ALL_FEATURES = no; then
3213 result=yes
3214 else
3215 result=no
3216 fi
3217 else
3218 result=$wxUSE_ALL_FEATURES
3219 fi
3220
3221 { echo "$as_me:$LINENO: result: $result" >&5
3222 echo "${ECHO_T}$result" >&6; }
3223
3224
3225 if test "$wxUSE_ALL_FEATURES" = "no"; then
3226 DEFAULT_wxUSE_MEDIACTRL=no
3227 fi
3228
3229
3230 if test "$wxUSE_GUI" = "yes"; then
3231
3232
3233 enablestring=
3234 defaultval=
3235 if test -z "$defaultval"; then
3236 if test x"$enablestring" = xdisable; then
3237 defaultval=yes
3238 else
3239 defaultval=no
3240 fi
3241 fi
3242
3243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3244 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3245 # Check whether --enable-universal was given.
3246 if test "${enable_universal+set}" = set; then
3247 enableval=$enable_universal;
3248 if test "$enableval" = yes; then
3249 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3250 else
3251 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3252 fi
3253
3254 else
3255
3256 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3257
3258 fi
3259
3260
3261 eval "$wx_cv_use_universal"
3262
3263 if test x"$enablestring" = xdisable; then
3264 if test $wxUSE_UNIVERSAL = no; then
3265 result=yes
3266 else
3267 result=no
3268 fi
3269 else
3270 result=$wxUSE_UNIVERSAL
3271 fi
3272
3273 { echo "$as_me:$LINENO: result: $result" >&5
3274 echo "${ECHO_T}$result" >&6; }
3275
3276 if test "$wxUSE_UNIVERSAL" = "yes"; then
3277
3278 # Check whether --with-themes was given.
3279 if test "${with_themes+set}" = set; then
3280 withval=$with_themes; wxUNIV_THEMES="$withval"
3281 fi
3282
3283 fi
3284
3285
3286 # Check whether --with-gtk was given.
3287 if test "${with_gtk+set}" = set; then
3288 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3289 fi
3290
3291
3292 # Check whether --with-motif was given.
3293 if test "${with_motif+set}" = set; then
3294 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3295 fi
3296
3297
3298 # Check whether --with-osx_carbon was given.
3299 if test "${with_osx_carbon+set}" = set; then
3300 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3301 fi
3302
3303
3304 # Check whether --with-osx_cocoa was given.
3305 if test "${with_osx_cocoa+set}" = set; then
3306 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3307 fi
3308
3309
3310 # Check whether --with-mac was given.
3311 if test "${with_mac+set}" = set; then
3312 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3313 fi
3314
3315
3316 # Check whether --with-cocoa was given.
3317 if test "${with_cocoa+set}" = set; then
3318 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3319 fi
3320
3321
3322 # Check whether --with-wine was given.
3323 if test "${with_wine+set}" = set; then
3324 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3325 fi
3326
3327
3328 # Check whether --with-msw was given.
3329 if test "${with_msw+set}" = set; then
3330 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3331 fi
3332
3333
3334 # Check whether --with-pm was given.
3335 if test "${with_pm+set}" = set; then
3336 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3337 fi
3338
3339
3340 # Check whether --with-mgl was given.
3341 if test "${with_mgl+set}" = set; then
3342 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3343 fi
3344
3345
3346 # Check whether --with-directfb was given.
3347 if test "${with_directfb+set}" = set; then
3348 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3349 fi
3350
3351
3352 # Check whether --with-microwin was given.
3353 if test "${with_microwin+set}" = set; then
3354 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3355 fi
3356
3357
3358 # Check whether --with-x11 was given.
3359 if test "${with_x11+set}" = set; then
3360 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3361 fi
3362
3363
3364 enablestring=
3365 defaultval=
3366 if test -z "$defaultval"; then
3367 if test x"$enablestring" = xdisable; then
3368 defaultval=yes
3369 else
3370 defaultval=no
3371 fi
3372 fi
3373
3374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3375 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3376 # Check whether --enable-nanox was given.
3377 if test "${enable_nanox+set}" = set; then
3378 enableval=$enable_nanox;
3379 if test "$enableval" = yes; then
3380 wx_cv_use_nanox='wxUSE_NANOX=yes'
3381 else
3382 wx_cv_use_nanox='wxUSE_NANOX=no'
3383 fi
3384
3385 else
3386
3387 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3388
3389 fi
3390
3391
3392 eval "$wx_cv_use_nanox"
3393
3394 if test x"$enablestring" = xdisable; then
3395 if test $wxUSE_NANOX = no; then
3396 result=yes
3397 else
3398 result=no
3399 fi
3400 else
3401 result=$wxUSE_NANOX
3402 fi
3403
3404 { echo "$as_me:$LINENO: result: $result" >&5
3405 echo "${ECHO_T}$result" >&6; }
3406
3407
3408 # Check whether --enable-gtk2 was given.
3409 if test "${enable_gtk2+set}" = set; then
3410 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3411 fi
3412
3413
3414 enablestring=
3415 defaultval=
3416 if test -z "$defaultval"; then
3417 if test x"$enablestring" = xdisable; then
3418 defaultval=yes
3419 else
3420 defaultval=no
3421 fi
3422 fi
3423
3424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3425 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3426 # Check whether --enable-gpe was given.
3427 if test "${enable_gpe+set}" = set; then
3428 enableval=$enable_gpe;
3429 if test "$enableval" = yes; then
3430 wx_cv_use_gpe='wxUSE_GPE=yes'
3431 else
3432 wx_cv_use_gpe='wxUSE_GPE=no'
3433 fi
3434
3435 else
3436
3437 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3438
3439 fi
3440
3441
3442 eval "$wx_cv_use_gpe"
3443
3444 if test x"$enablestring" = xdisable; then
3445 if test $wxUSE_GPE = no; then
3446 result=yes
3447 else
3448 result=no
3449 fi
3450 else
3451 result=$wxUSE_GPE
3452 fi
3453
3454 { echo "$as_me:$LINENO: result: $result" >&5
3455 echo "${ECHO_T}$result" >&6; }
3456
3457
3458
3459 { echo "$as_me:$LINENO: checking for toolkit" >&5
3460 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3461
3462
3463
3464 # In Wine, we need to default to MSW, not GTK or MOTIF
3465 if test "$wxUSE_WINE" = "yes"; then
3466 DEFAULT_DEFAULT_wxUSE_GTK=0
3467 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3468 DEFAULT_DEFAULT_wxUSE_MSW=1
3469 wxUSE_SHARED=no
3470 CC=${CC:-winegcc}
3471 CXX=${CXX:-wineg++}
3472 fi
3473
3474
3475 if test "$wxUSE_GUI" = "yes"; then
3476
3477 if test "$USE_BEOS" = 1; then
3478 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3479 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3480 { (exit 1); exit 1; }; }
3481 fi
3482
3483 if test "$TOOLKIT_GIVEN" = 1; then
3484 for toolkit in $ALL_TOOLKITS; do
3485 var=wxUSE_$toolkit
3486 eval "value=\$${var}"
3487 if test "x$value" = "xno"; then
3488 eval "$var=0"
3489 elif test "x$value" != "x"; then
3490 eval "$var=1"
3491 fi
3492
3493 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3494 eval "wx${toolkit}_VERSION=$value"
3495 fi
3496 done
3497 else
3498 for toolkit in $ALL_TOOLKITS; do
3499 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3500 eval "wxUSE_$toolkit=\$${var}"
3501 done
3502 fi
3503
3504 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3505 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3506 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3507
3508 case "${host}" in
3509 *-pc-os2_emx | *-pc-os2-emx )
3510 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3511 esac
3512
3513 case "$NUM_TOOLKITS" in
3514 1)
3515 ;;
3516 0)
3517 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3518 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3519 { (exit 1); exit 1; }; }
3520 ;;
3521 *)
3522 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3523 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3524 { (exit 1); exit 1; }; }
3525 esac
3526
3527 # to be removed when --disable-gtk2 isn't needed
3528 if test "x$wxUSE_GTK2" = "xyes"; then
3529 wxGTK_VERSION=2
3530 elif test "x$wxUSE_GTK2" = "xno"; then
3531 wxGTK_VERSION=1
3532 fi
3533
3534 for toolkit in $ALL_TOOLKITS; do
3535 var=wxUSE_$toolkit
3536 eval "value=\$${var}"
3537 if test "$value" = 1; then
3538 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3539 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3540 echo "${ECHO_T}$toolkit_echo" >&6; }
3541 fi
3542 done
3543 else
3544 if test "x$host_alias" != "x"; then
3545 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3546 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3547 else
3548 { echo "$as_me:$LINENO: result: base only" >&5
3549 echo "${ECHO_T}base only" >&6; }
3550 fi
3551 fi
3552
3553 wxUSE_MAC=0
3554 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3555 wxUSE_MAC=1
3556 fi
3557
3558
3559
3560 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3561 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3562
3563 # Check whether --with-libpng was given.
3564 if test "${with_libpng+set}" = set; then
3565 withval=$with_libpng;
3566 if test "$withval" = yes; then
3567 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3568 elif test "$withval" = no; then
3569 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3570 elif test "$withval" = sys; then
3571 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3572 elif test "$withval" = builtin; then
3573 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3574 else
3575 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3576 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3577 { (exit 1); exit 1; }; }
3578 fi
3579
3580 else
3581
3582 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3583
3584 fi
3585
3586
3587 eval "$wx_cv_use_libpng"
3588
3589 if test "$wxUSE_LIBPNG" = yes; then
3590 { echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6; }
3592 elif test "$wxUSE_LIBPNG" = no; then
3593 { echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6; }
3595 elif test "$wxUSE_LIBPNG" = sys; then
3596 { echo "$as_me:$LINENO: result: system version" >&5
3597 echo "${ECHO_T}system version" >&6; }
3598 elif test "$wxUSE_LIBPNG" = builtin; then
3599 { echo "$as_me:$LINENO: result: builtin version" >&5
3600 echo "${ECHO_T}builtin version" >&6; }
3601 else
3602 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3603 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3604 { (exit 1); exit 1; }; }
3605 fi
3606
3607
3608 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3609 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3610
3611 # Check whether --with-libjpeg was given.
3612 if test "${with_libjpeg+set}" = set; then
3613 withval=$with_libjpeg;
3614 if test "$withval" = yes; then
3615 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3616 elif test "$withval" = no; then
3617 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3618 elif test "$withval" = sys; then
3619 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3620 elif test "$withval" = builtin; then
3621 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3622 else
3623 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3624 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3625 { (exit 1); exit 1; }; }
3626 fi
3627
3628 else
3629
3630 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3631
3632 fi
3633
3634
3635 eval "$wx_cv_use_libjpeg"
3636
3637 if test "$wxUSE_LIBJPEG" = yes; then
3638 { echo "$as_me:$LINENO: result: yes" >&5
3639 echo "${ECHO_T}yes" >&6; }
3640 elif test "$wxUSE_LIBJPEG" = no; then
3641 { echo "$as_me:$LINENO: result: no" >&5
3642 echo "${ECHO_T}no" >&6; }
3643 elif test "$wxUSE_LIBJPEG" = sys; then
3644 { echo "$as_me:$LINENO: result: system version" >&5
3645 echo "${ECHO_T}system version" >&6; }
3646 elif test "$wxUSE_LIBJPEG" = builtin; then
3647 { echo "$as_me:$LINENO: result: builtin version" >&5
3648 echo "${ECHO_T}builtin version" >&6; }
3649 else
3650 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3651 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3652 { (exit 1); exit 1; }; }
3653 fi
3654
3655
3656 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3657 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3658
3659 # Check whether --with-libtiff was given.
3660 if test "${with_libtiff+set}" = set; then
3661 withval=$with_libtiff;
3662 if test "$withval" = yes; then
3663 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3664 elif test "$withval" = no; then
3665 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3666 elif test "$withval" = sys; then
3667 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3668 elif test "$withval" = builtin; then
3669 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3670 else
3671 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3672 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3673 { (exit 1); exit 1; }; }
3674 fi
3675
3676 else
3677
3678 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3679
3680 fi
3681
3682
3683 eval "$wx_cv_use_libtiff"
3684
3685 if test "$wxUSE_LIBTIFF" = yes; then
3686 { echo "$as_me:$LINENO: result: yes" >&5
3687 echo "${ECHO_T}yes" >&6; }
3688 elif test "$wxUSE_LIBTIFF" = no; then
3689 { echo "$as_me:$LINENO: result: no" >&5
3690 echo "${ECHO_T}no" >&6; }
3691 elif test "$wxUSE_LIBTIFF" = sys; then
3692 { echo "$as_me:$LINENO: result: system version" >&5
3693 echo "${ECHO_T}system version" >&6; }
3694 elif test "$wxUSE_LIBTIFF" = builtin; then
3695 { echo "$as_me:$LINENO: result: builtin version" >&5
3696 echo "${ECHO_T}builtin version" >&6; }
3697 else
3698 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3699 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3700 { (exit 1); exit 1; }; }
3701 fi
3702
3703
3704 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3705 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3706
3707 # Check whether --with-libxpm was given.
3708 if test "${with_libxpm+set}" = set; then
3709 withval=$with_libxpm;
3710 if test "$withval" = yes; then
3711 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3712 elif test "$withval" = no; then
3713 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3714 elif test "$withval" = sys; then
3715 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3716 elif test "$withval" = builtin; then
3717 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3718 else
3719 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3720 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3721 { (exit 1); exit 1; }; }
3722 fi
3723
3724 else
3725
3726 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3727
3728 fi
3729
3730
3731 eval "$wx_cv_use_libxpm"
3732
3733 if test "$wxUSE_LIBXPM" = yes; then
3734 { echo "$as_me:$LINENO: result: yes" >&5
3735 echo "${ECHO_T}yes" >&6; }
3736 elif test "$wxUSE_LIBXPM" = no; then
3737 { echo "$as_me:$LINENO: result: no" >&5
3738 echo "${ECHO_T}no" >&6; }
3739 elif test "$wxUSE_LIBXPM" = sys; then
3740 { echo "$as_me:$LINENO: result: system version" >&5
3741 echo "${ECHO_T}system version" >&6; }
3742 elif test "$wxUSE_LIBXPM" = builtin; then
3743 { echo "$as_me:$LINENO: result: builtin version" >&5
3744 echo "${ECHO_T}builtin version" >&6; }
3745 else
3746 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3747 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3748 { (exit 1); exit 1; }; }
3749 fi
3750
3751
3752 withstring=
3753 defaultval=$wxUSE_ALL_FEATURES
3754 if test -z "$defaultval"; then
3755 if test x"$withstring" = xwithout; then
3756 defaultval=yes
3757 else
3758 defaultval=no
3759 fi
3760 fi
3761 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3762 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3763
3764 # Check whether --with-libiconv was given.
3765 if test "${with_libiconv+set}" = set; then
3766 withval=$with_libiconv;
3767 if test "$withval" = yes; then
3768 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3769 else
3770 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3771 fi
3772
3773 else
3774
3775 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3776
3777 fi
3778
3779
3780 eval "$wx_cv_use_libiconv"
3781
3782 if test x"$withstring" = xwithout; then
3783 if test $wxUSE_LIBICONV = yes; then
3784 result=no
3785 else
3786 result=yes
3787 fi
3788 else
3789 result=$wxUSE_LIBICONV
3790 fi
3791
3792 { echo "$as_me:$LINENO: result: $result" >&5
3793 echo "${ECHO_T}$result" >&6; }
3794
3795
3796 withstring=
3797 defaultval=$wxUSE_ALL_FEATURES
3798 if test -z "$defaultval"; then
3799 if test x"$withstring" = xwithout; then
3800 defaultval=yes
3801 else
3802 defaultval=no
3803 fi
3804 fi
3805 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3806 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3807
3808 # Check whether --with-libmspack was given.
3809 if test "${with_libmspack+set}" = set; then
3810 withval=$with_libmspack;
3811 if test "$withval" = yes; then
3812 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3813 else
3814 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3815 fi
3816
3817 else
3818
3819 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3820
3821 fi
3822
3823
3824 eval "$wx_cv_use_libmspack"
3825
3826 if test x"$withstring" = xwithout; then
3827 if test $wxUSE_LIBMSPACK = yes; then
3828 result=no
3829 else
3830 result=yes
3831 fi
3832 else
3833 result=$wxUSE_LIBMSPACK
3834 fi
3835
3836 { echo "$as_me:$LINENO: result: $result" >&5
3837 echo "${ECHO_T}$result" >&6; }
3838
3839
3840 withstring=without
3841 defaultval=$wxUSE_ALL_FEATURES
3842 if test -z "$defaultval"; then
3843 if test x"$withstring" = xwithout; then
3844 defaultval=yes
3845 else
3846 defaultval=no
3847 fi
3848 fi
3849 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3850 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3851
3852 # Check whether --with-gtkprint was given.
3853 if test "${with_gtkprint+set}" = set; then
3854 withval=$with_gtkprint;
3855 if test "$withval" = yes; then
3856 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3857 else
3858 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3859 fi
3860
3861 else
3862
3863 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3864
3865 fi
3866
3867
3868 eval "$wx_cv_use_gtkprint"
3869
3870 if test x"$withstring" = xwithout; then
3871 if test $wxUSE_GTKPRINT = yes; then
3872 result=no
3873 else
3874 result=yes
3875 fi
3876 else
3877 result=$wxUSE_GTKPRINT
3878 fi
3879
3880 { echo "$as_me:$LINENO: result: $result" >&5
3881 echo "${ECHO_T}$result" >&6; }
3882
3883
3884 withstring=without
3885 defaultval=$wxUSE_ALL_FEATURES
3886 if test -z "$defaultval"; then
3887 if test x"$withstring" = xwithout; then
3888 defaultval=yes
3889 else
3890 defaultval=no
3891 fi
3892 fi
3893 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3894 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3895
3896 # Check whether --with-gnomeprint was given.
3897 if test "${with_gnomeprint+set}" = set; then
3898 withval=$with_gnomeprint;
3899 if test "$withval" = yes; then
3900 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3901 else
3902 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3903 fi
3904
3905 else
3906
3907 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3908
3909 fi
3910
3911
3912 eval "$wx_cv_use_gnomeprint"
3913
3914 if test x"$withstring" = xwithout; then
3915 if test $wxUSE_LIBGNOMEPRINT = yes; then
3916 result=no
3917 else
3918 result=yes
3919 fi
3920 else
3921 result=$wxUSE_LIBGNOMEPRINT
3922 fi
3923
3924 { echo "$as_me:$LINENO: result: $result" >&5
3925 echo "${ECHO_T}$result" >&6; }
3926
3927
3928 withstring=
3929 defaultval=$wxUSE_ALL_FEATURES
3930 if test -z "$defaultval"; then
3931 if test x"$withstring" = xwithout; then
3932 defaultval=yes
3933 else
3934 defaultval=no
3935 fi
3936 fi
3937 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3938 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3939
3940 # Check whether --with-gnomevfs was given.
3941 if test "${with_gnomevfs+set}" = set; then
3942 withval=$with_gnomevfs;
3943 if test "$withval" = yes; then
3944 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3945 else
3946 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3947 fi
3948
3949 else
3950
3951 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3952
3953 fi
3954
3955
3956 eval "$wx_cv_use_gnomevfs"
3957
3958 if test x"$withstring" = xwithout; then
3959 if test $wxUSE_LIBGNOMEVFS = yes; then
3960 result=no
3961 else
3962 result=yes
3963 fi
3964 else
3965 result=$wxUSE_LIBGNOMEVFS
3966 fi
3967
3968 { echo "$as_me:$LINENO: result: $result" >&5
3969 echo "${ECHO_T}$result" >&6; }
3970
3971
3972 withstring=
3973 defaultval=$wxUSE_ALL_FEATURES
3974 if test -z "$defaultval"; then
3975 if test x"$withstring" = xwithout; then
3976 defaultval=yes
3977 else
3978 defaultval=no
3979 fi
3980 fi
3981 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3982 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3983
3984 # Check whether --with-hildon was given.
3985 if test "${with_hildon+set}" = set; then
3986 withval=$with_hildon;
3987 if test "$withval" = yes; then
3988 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3989 else
3990 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3991 fi
3992
3993 else
3994
3995 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3996
3997 fi
3998
3999
4000 eval "$wx_cv_use_hildon"
4001
4002 if test x"$withstring" = xwithout; then
4003 if test $wxUSE_LIBHILDON = yes; then
4004 result=no
4005 else
4006 result=yes
4007 fi
4008 else
4009 result=$wxUSE_LIBHILDON
4010 fi
4011
4012 { echo "$as_me:$LINENO: result: $result" >&5
4013 echo "${ECHO_T}$result" >&6; }
4014
4015
4016 withstring=
4017 defaultval=$wxUSE_ALL_FEATURES
4018 if test -z "$defaultval"; then
4019 if test x"$withstring" = xwithout; then
4020 defaultval=yes
4021 else
4022 defaultval=no
4023 fi
4024 fi
4025 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4026 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4027
4028 # Check whether --with-opengl was given.
4029 if test "${with_opengl+set}" = set; then
4030 withval=$with_opengl;
4031 if test "$withval" = yes; then
4032 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4033 else
4034 wx_cv_use_opengl='wxUSE_OPENGL=no'
4035 fi
4036
4037 else
4038
4039 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4040
4041 fi
4042
4043
4044 eval "$wx_cv_use_opengl"
4045
4046 if test x"$withstring" = xwithout; then
4047 if test $wxUSE_OPENGL = yes; then
4048 result=no
4049 else
4050 result=yes
4051 fi
4052 else
4053 result=$wxUSE_OPENGL
4054 fi
4055
4056 { echo "$as_me:$LINENO: result: $result" >&5
4057 echo "${ECHO_T}$result" >&6; }
4058
4059
4060 fi
4061
4062
4063 withstring=
4064 defaultval=$wxUSE_ALL_FEATURES
4065 if test -z "$defaultval"; then
4066 if test x"$withstring" = xwithout; then
4067 defaultval=yes
4068 else
4069 defaultval=no
4070 fi
4071 fi
4072 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4073 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4074
4075 # Check whether --with-dmalloc was given.
4076 if test "${with_dmalloc+set}" = set; then
4077 withval=$with_dmalloc;
4078 if test "$withval" = yes; then
4079 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4080 else
4081 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4082 fi
4083
4084 else
4085
4086 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4087
4088 fi
4089
4090
4091 eval "$wx_cv_use_dmalloc"
4092
4093 if test x"$withstring" = xwithout; then
4094 if test $wxUSE_DMALLOC = yes; then
4095 result=no
4096 else
4097 result=yes
4098 fi
4099 else
4100 result=$wxUSE_DMALLOC
4101 fi
4102
4103 { echo "$as_me:$LINENO: result: $result" >&5
4104 echo "${ECHO_T}$result" >&6; }
4105
4106
4107 withstring=
4108 defaultval=$wxUSE_ALL_FEATURES
4109 if test -z "$defaultval"; then
4110 if test x"$withstring" = xwithout; then
4111 defaultval=yes
4112 else
4113 defaultval=no
4114 fi
4115 fi
4116 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4117 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4118
4119 # Check whether --with-sdl was given.
4120 if test "${with_sdl+set}" = set; then
4121 withval=$with_sdl;
4122 if test "$withval" = yes; then
4123 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4124 else
4125 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4126 fi
4127
4128 else
4129
4130 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4131
4132 fi
4133
4134
4135 eval "$wx_cv_use_sdl"
4136
4137 if test x"$withstring" = xwithout; then
4138 if test $wxUSE_LIBSDL = yes; then
4139 result=no
4140 else
4141 result=yes
4142 fi
4143 else
4144 result=$wxUSE_LIBSDL
4145 fi
4146
4147 { echo "$as_me:$LINENO: result: $result" >&5
4148 echo "${ECHO_T}$result" >&6; }
4149
4150
4151 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4152 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4153
4154 # Check whether --with-regex was given.
4155 if test "${with_regex+set}" = set; then
4156 withval=$with_regex;
4157 if test "$withval" = yes; then
4158 wx_cv_use_regex='wxUSE_REGEX=yes'
4159 elif test "$withval" = no; then
4160 wx_cv_use_regex='wxUSE_REGEX=no'
4161 elif test "$withval" = sys; then
4162 wx_cv_use_regex='wxUSE_REGEX=sys'
4163 elif test "$withval" = builtin; then
4164 wx_cv_use_regex='wxUSE_REGEX=builtin'
4165 else
4166 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4167 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4168 { (exit 1); exit 1; }; }
4169 fi
4170
4171 else
4172
4173 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4174
4175 fi
4176
4177
4178 eval "$wx_cv_use_regex"
4179
4180 if test "$wxUSE_REGEX" = yes; then
4181 { echo "$as_me:$LINENO: result: yes" >&5
4182 echo "${ECHO_T}yes" >&6; }
4183 elif test "$wxUSE_REGEX" = no; then
4184 { echo "$as_me:$LINENO: result: no" >&5
4185 echo "${ECHO_T}no" >&6; }
4186 elif test "$wxUSE_REGEX" = sys; then
4187 { echo "$as_me:$LINENO: result: system version" >&5
4188 echo "${ECHO_T}system version" >&6; }
4189 elif test "$wxUSE_REGEX" = builtin; then
4190 { echo "$as_me:$LINENO: result: builtin version" >&5
4191 echo "${ECHO_T}builtin version" >&6; }
4192 else
4193 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4194 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4195 { (exit 1); exit 1; }; }
4196 fi
4197
4198
4199 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4200 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4201
4202 # Check whether --with-zlib was given.
4203 if test "${with_zlib+set}" = set; then
4204 withval=$with_zlib;
4205 if test "$withval" = yes; then
4206 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4207 elif test "$withval" = no; then
4208 wx_cv_use_zlib='wxUSE_ZLIB=no'
4209 elif test "$withval" = sys; then
4210 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4211 elif test "$withval" = builtin; then
4212 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4213 else
4214 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4215 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4216 { (exit 1); exit 1; }; }
4217 fi
4218
4219 else
4220
4221 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4222
4223 fi
4224
4225
4226 eval "$wx_cv_use_zlib"
4227
4228 if test "$wxUSE_ZLIB" = yes; then
4229 { echo "$as_me:$LINENO: result: yes" >&5
4230 echo "${ECHO_T}yes" >&6; }
4231 elif test "$wxUSE_ZLIB" = no; then
4232 { echo "$as_me:$LINENO: result: no" >&5
4233 echo "${ECHO_T}no" >&6; }
4234 elif test "$wxUSE_ZLIB" = sys; then
4235 { echo "$as_me:$LINENO: result: system version" >&5
4236 echo "${ECHO_T}system version" >&6; }
4237 elif test "$wxUSE_ZLIB" = builtin; then
4238 { echo "$as_me:$LINENO: result: builtin version" >&5
4239 echo "${ECHO_T}builtin version" >&6; }
4240 else
4241 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4242 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4243 { (exit 1); exit 1; }; }
4244 fi
4245
4246
4247 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4248 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4249
4250 # Check whether --with-expat was given.
4251 if test "${with_expat+set}" = set; then
4252 withval=$with_expat;
4253 if test "$withval" = yes; then
4254 wx_cv_use_expat='wxUSE_EXPAT=yes'
4255 elif test "$withval" = no; then
4256 wx_cv_use_expat='wxUSE_EXPAT=no'
4257 elif test "$withval" = sys; then
4258 wx_cv_use_expat='wxUSE_EXPAT=sys'
4259 elif test "$withval" = builtin; then
4260 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4261 else
4262 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4263 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4264 { (exit 1); exit 1; }; }
4265 fi
4266
4267 else
4268
4269 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4270
4271 fi
4272
4273
4274 eval "$wx_cv_use_expat"
4275
4276 if test "$wxUSE_EXPAT" = yes; then
4277 { echo "$as_me:$LINENO: result: yes" >&5
4278 echo "${ECHO_T}yes" >&6; }
4279 elif test "$wxUSE_EXPAT" = no; then
4280 { echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6; }
4282 elif test "$wxUSE_EXPAT" = sys; then
4283 { echo "$as_me:$LINENO: result: system version" >&5
4284 echo "${ECHO_T}system version" >&6; }
4285 elif test "$wxUSE_EXPAT" = builtin; then
4286 { echo "$as_me:$LINENO: result: builtin version" >&5
4287 echo "${ECHO_T}builtin version" >&6; }
4288 else
4289 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4290 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4291 { (exit 1); exit 1; }; }
4292 fi
4293
4294
4295 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4296 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4297
4298 # Check whether --with-macosx-sdk was given.
4299 if test "${with_macosx_sdk+set}" = set; then
4300 withval=$with_macosx_sdk;
4301 wxUSE_MACOSX_SDK=$withval
4302 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4303
4304 fi
4305
4306 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4307 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4308
4309 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4310 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4311
4312 # Check whether --with-macosx-version-min was given.
4313 if test "${with_macosx_version_min+set}" = set; then
4314 withval=$with_macosx_version_min;
4315 wxUSE_MACOSX_VERSION_MIN=$withval
4316 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4317
4318 fi
4319
4320 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4321 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4322
4323
4324 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4325 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4326 # Check whether --enable-debug was given.
4327 if test "${enable_debug+set}" = set; then
4328 enableval=$enable_debug;
4329 if test "$enableval" = yes; then
4330 wxUSE_DEBUG=yes
4331 elif test "$enableval" = no; then
4332 wxUSE_DEBUG=no
4333 elif test "$enableval" = max; then
4334 wxUSE_DEBUG=yes
4335 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4336 else
4337 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4338 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4339 { (exit 1); exit 1; }; }
4340 fi
4341
4342 else
4343 wxUSE_DEBUG=default
4344
4345 fi
4346
4347
4348 case "$wxUSE_DEBUG" in
4349 yes)
4350 DEFAULT_wxUSE_DEBUG_FLAG=yes
4351 DEFAULT_wxUSE_DEBUG_INFO=yes
4352
4353 DEFAULT_wxUSE_OPTIMISE=no
4354 ;;
4355
4356 no)
4357 DEFAULT_wxUSE_DEBUG_FLAG=no
4358 DEFAULT_wxUSE_DEBUG_INFO=no
4359 ;;
4360
4361 default)
4362 DEFAULT_wxUSE_DEBUG_FLAG=yes
4363 DEFAULT_wxUSE_DEBUG_INFO=no
4364 ;;
4365 esac
4366
4367
4368 enablestring=disable
4369 defaultval=
4370 if test -z "$defaultval"; then
4371 if test x"$enablestring" = xdisable; then
4372 defaultval=yes
4373 else
4374 defaultval=no
4375 fi
4376 fi
4377
4378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4379 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4380 # Check whether --enable-debug_flag was given.
4381 if test "${enable_debug_flag+set}" = set; then
4382 enableval=$enable_debug_flag;
4383 if test "$enableval" = yes; then
4384 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4385 else
4386 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4387 fi
4388
4389 else
4390
4391 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4392
4393 fi
4394
4395
4396 eval "$wx_cv_use_debug_flag"
4397
4398 if test x"$enablestring" = xdisable; then
4399 if test $wxUSE_DEBUG_FLAG = no; then
4400 result=yes
4401 else
4402 result=no
4403 fi
4404 else
4405 result=$wxUSE_DEBUG_FLAG
4406 fi
4407
4408 { echo "$as_me:$LINENO: result: $result" >&5
4409 echo "${ECHO_T}$result" >&6; }
4410
4411
4412 enablestring=
4413 defaultval=
4414 if test -z "$defaultval"; then
4415 if test x"$enablestring" = xdisable; then
4416 defaultval=yes
4417 else
4418 defaultval=no
4419 fi
4420 fi
4421
4422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4424 # Check whether --enable-debug_info was given.
4425 if test "${enable_debug_info+set}" = set; then
4426 enableval=$enable_debug_info;
4427 if test "$enableval" = yes; then
4428 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4429 else
4430 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4431 fi
4432
4433 else
4434
4435 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4436
4437 fi
4438
4439
4440 eval "$wx_cv_use_debug_info"
4441
4442 if test x"$enablestring" = xdisable; then
4443 if test $wxUSE_DEBUG_INFO = no; then
4444 result=yes
4445 else
4446 result=no
4447 fi
4448 else
4449 result=$wxUSE_DEBUG_INFO
4450 fi
4451
4452 { echo "$as_me:$LINENO: result: $result" >&5
4453 echo "${ECHO_T}$result" >&6; }
4454
4455
4456
4457
4458 enablestring=
4459 defaultval=
4460 if test -z "$defaultval"; then
4461 if test x"$enablestring" = xdisable; then
4462 defaultval=yes
4463 else
4464 defaultval=no
4465 fi
4466 fi
4467
4468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4469 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4470 # Check whether --enable-debug_gdb was given.
4471 if test "${enable_debug_gdb+set}" = set; then
4472 enableval=$enable_debug_gdb;
4473 if test "$enableval" = yes; then
4474 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4475 else
4476 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4477 fi
4478
4479 else
4480
4481 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4482
4483 fi
4484
4485
4486 eval "$wx_cv_use_debug_gdb"
4487
4488 if test x"$enablestring" = xdisable; then
4489 if test $wxUSE_DEBUG_GDB = no; then
4490 result=yes
4491 else
4492 result=no
4493 fi
4494 else
4495 result=$wxUSE_DEBUG_GDB
4496 fi
4497
4498 { echo "$as_me:$LINENO: result: $result" >&5
4499 echo "${ECHO_T}$result" >&6; }
4500
4501
4502 enablestring=
4503 defaultval=
4504 if test -z "$defaultval"; then
4505 if test x"$enablestring" = xdisable; then
4506 defaultval=yes
4507 else
4508 defaultval=no
4509 fi
4510 fi
4511
4512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4513 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4514 # Check whether --enable-debug_cntxt was given.
4515 if test "${enable_debug_cntxt+set}" = set; then
4516 enableval=$enable_debug_cntxt;
4517 if test "$enableval" = yes; then
4518 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4519 else
4520 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4521 fi
4522
4523 else
4524
4525 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4526
4527 fi
4528
4529
4530 eval "$wx_cv_use_debug_cntxt"
4531
4532 if test x"$enablestring" = xdisable; then
4533 if test $wxUSE_DEBUG_CONTEXT = no; then
4534 result=yes
4535 else
4536 result=no
4537 fi
4538 else
4539 result=$wxUSE_DEBUG_CONTEXT
4540 fi
4541
4542 { echo "$as_me:$LINENO: result: $result" >&5
4543 echo "${ECHO_T}$result" >&6; }
4544
4545
4546 enablestring=
4547 defaultval=
4548 if test -z "$defaultval"; then
4549 if test x"$enablestring" = xdisable; then
4550 defaultval=yes
4551 else
4552 defaultval=no
4553 fi
4554 fi
4555
4556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4557 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4558 # Check whether --enable-mem_tracing was given.
4559 if test "${enable_mem_tracing+set}" = set; then
4560 enableval=$enable_mem_tracing;
4561 if test "$enableval" = yes; then
4562 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4563 else
4564 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4565 fi
4566
4567 else
4568
4569 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4570
4571 fi
4572
4573
4574 eval "$wx_cv_use_mem_tracing"
4575
4576 if test x"$enablestring" = xdisable; then
4577 if test $wxUSE_MEM_TRACING = no; then
4578 result=yes
4579 else
4580 result=no
4581 fi
4582 else
4583 result=$wxUSE_MEM_TRACING
4584 fi
4585
4586 { echo "$as_me:$LINENO: result: $result" >&5
4587 echo "${ECHO_T}$result" >&6; }
4588
4589
4590
4591
4592 enablestring=disable
4593 defaultval=
4594 if test -z "$defaultval"; then
4595 if test x"$enablestring" = xdisable; then
4596 defaultval=yes
4597 else
4598 defaultval=no
4599 fi
4600 fi
4601
4602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4603 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4604 # Check whether --enable-shared was given.
4605 if test "${enable_shared+set}" = set; then
4606 enableval=$enable_shared;
4607 if test "$enableval" = yes; then
4608 wx_cv_use_shared='wxUSE_SHARED=yes'
4609 else
4610 wx_cv_use_shared='wxUSE_SHARED=no'
4611 fi
4612
4613 else
4614
4615 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4616
4617 fi
4618
4619
4620 eval "$wx_cv_use_shared"
4621
4622 if test x"$enablestring" = xdisable; then
4623 if test $wxUSE_SHARED = no; then
4624 result=yes
4625 else
4626 result=no
4627 fi
4628 else
4629 result=$wxUSE_SHARED
4630 fi
4631
4632 { echo "$as_me:$LINENO: result: $result" >&5
4633 echo "${ECHO_T}$result" >&6; }
4634
4635
4636 enablestring=
4637 defaultval=
4638 if test -z "$defaultval"; then
4639 if test x"$enablestring" = xdisable; then
4640 defaultval=yes
4641 else
4642 defaultval=no
4643 fi
4644 fi
4645
4646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4647 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4648 # Check whether --enable-stl was given.
4649 if test "${enable_stl+set}" = set; then
4650 enableval=$enable_stl;
4651 if test "$enableval" = yes; then
4652 wx_cv_use_stl='wxUSE_STL=yes'
4653 else
4654 wx_cv_use_stl='wxUSE_STL=no'
4655 fi
4656
4657 else
4658
4659 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4660
4661 fi
4662
4663
4664 eval "$wx_cv_use_stl"
4665
4666 if test x"$enablestring" = xdisable; then
4667 if test $wxUSE_STL = no; then
4668 result=yes
4669 else
4670 result=no
4671 fi
4672 else
4673 result=$wxUSE_STL
4674 fi
4675
4676 { echo "$as_me:$LINENO: result: $result" >&5
4677 echo "${ECHO_T}$result" >&6; }
4678
4679
4680 enablestring=
4681 defaultval=
4682 if test -z "$defaultval"; then
4683 if test x"$enablestring" = xdisable; then
4684 defaultval=yes
4685 else
4686 defaultval=no
4687 fi
4688 fi
4689
4690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4691 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4692 # Check whether --enable-std_iostreams was given.
4693 if test "${enable_std_iostreams+set}" = set; then
4694 enableval=$enable_std_iostreams;
4695 if test "$enableval" = yes; then
4696 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4697 else
4698 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4699 fi
4700
4701 else
4702
4703 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4704
4705 fi
4706
4707
4708 eval "$wx_cv_use_std_iostreams"
4709
4710 if test x"$enablestring" = xdisable; then
4711 if test $wxUSE_STD_IOSTREAM = no; then
4712 result=yes
4713 else
4714 result=no
4715 fi
4716 else
4717 result=$wxUSE_STD_IOSTREAM
4718 fi
4719
4720 { echo "$as_me:$LINENO: result: $result" >&5
4721 echo "${ECHO_T}$result" >&6; }
4722
4723
4724 enablestring=
4725 defaultval=
4726 if test -z "$defaultval"; then
4727 if test x"$enablestring" = xdisable; then
4728 defaultval=yes
4729 else
4730 defaultval=no
4731 fi
4732 fi
4733
4734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4735 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4736 # Check whether --enable-std_string was given.
4737 if test "${enable_std_string+set}" = set; then
4738 enableval=$enable_std_string;
4739 if test "$enableval" = yes; then
4740 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4741 else
4742 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4743 fi
4744
4745 else
4746
4747 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4748
4749 fi
4750
4751
4752 eval "$wx_cv_use_std_string"
4753
4754 if test x"$enablestring" = xdisable; then
4755 if test $wxUSE_STD_STRING = no; then
4756 result=yes
4757 else
4758 result=no
4759 fi
4760 else
4761 result=$wxUSE_STD_STRING
4762 fi
4763
4764 { echo "$as_me:$LINENO: result: $result" >&5
4765 echo "${ECHO_T}$result" >&6; }
4766
4767
4768 enablestring=disable
4769 defaultval=
4770 if test -z "$defaultval"; then
4771 if test x"$enablestring" = xdisable; then
4772 defaultval=yes
4773 else
4774 defaultval=no
4775 fi
4776 fi
4777
4778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4779 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4780 # Check whether --enable-unicode was given.
4781 if test "${enable_unicode+set}" = set; then
4782 enableval=$enable_unicode;
4783 if test "$enableval" = yes; then
4784 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4785 else
4786 wx_cv_use_unicode='wxUSE_UNICODE=no'
4787 fi
4788
4789 else
4790
4791 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4792
4793 fi
4794
4795
4796 eval "$wx_cv_use_unicode"
4797
4798 if test x"$enablestring" = xdisable; then
4799 if test $wxUSE_UNICODE = no; then
4800 result=yes
4801 else
4802 result=no
4803 fi
4804 else
4805 result=$wxUSE_UNICODE
4806 fi
4807
4808 { echo "$as_me:$LINENO: result: $result" >&5
4809 echo "${ECHO_T}$result" >&6; }
4810
4811
4812 enablestring=
4813 defaultval=
4814 if test -z "$defaultval"; then
4815 if test x"$enablestring" = xdisable; then
4816 defaultval=yes
4817 else
4818 defaultval=no
4819 fi
4820 fi
4821
4822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4823 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4824 # Check whether --enable-mslu was given.
4825 if test "${enable_mslu+set}" = set; then
4826 enableval=$enable_mslu;
4827 if test "$enableval" = yes; then
4828 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4829 else
4830 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4831 fi
4832
4833 else
4834
4835 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4836
4837 fi
4838
4839
4840 eval "$wx_cv_use_mslu"
4841
4842 if test x"$enablestring" = xdisable; then
4843 if test $wxUSE_UNICODE_MSLU = no; then
4844 result=yes
4845 else
4846 result=no
4847 fi
4848 else
4849 result=$wxUSE_UNICODE_MSLU
4850 fi
4851
4852 { echo "$as_me:$LINENO: result: $result" >&5
4853 echo "${ECHO_T}$result" >&6; }
4854
4855
4856 enablestring=
4857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4858 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4859 # Check whether --enable-utf8 was given.
4860 if test "${enable_utf8+set}" = set; then
4861 enableval=$enable_utf8;
4862 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4863
4864 else
4865
4866 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4867
4868 fi
4869
4870
4871 eval "$wx_cv_use_utf8"
4872
4873 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4874 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4875
4876
4877 enablestring=
4878 defaultval=
4879 if test -z "$defaultval"; then
4880 if test x"$enablestring" = xdisable; then
4881 defaultval=yes
4882 else
4883 defaultval=no
4884 fi
4885 fi
4886
4887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4889 # Check whether --enable-utf8only was given.
4890 if test "${enable_utf8only+set}" = set; then
4891 enableval=$enable_utf8only;
4892 if test "$enableval" = yes; then
4893 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4894 else
4895 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4896 fi
4897
4898 else
4899
4900 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4901
4902 fi
4903
4904
4905 eval "$wx_cv_use_utf8only"
4906
4907 if test x"$enablestring" = xdisable; then
4908 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4909 result=yes
4910 else
4911 result=no
4912 fi
4913 else
4914 result=$wxUSE_UNICODE_UTF8_LOCALE
4915 fi
4916
4917 { echo "$as_me:$LINENO: result: $result" >&5
4918 echo "${ECHO_T}$result" >&6; }
4919
4920
4921 enablestring=
4922 defaultval=
4923 if test -z "$defaultval"; then
4924 if test x"$enablestring" = xdisable; then
4925 defaultval=yes
4926 else
4927 defaultval=no
4928 fi
4929 fi
4930
4931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4932 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4933 # Check whether --enable-extended_rtti was given.
4934 if test "${enable_extended_rtti+set}" = set; then
4935 enableval=$enable_extended_rtti;
4936 if test "$enableval" = yes; then
4937 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4938 else
4939 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4940 fi
4941
4942 else
4943
4944 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4945
4946 fi
4947
4948
4949 eval "$wx_cv_use_extended_rtti"
4950
4951 if test x"$enablestring" = xdisable; then
4952 if test $wxUSE_EXTENDED_RTTI = no; then
4953 result=yes
4954 else
4955 result=no
4956 fi
4957 else
4958 result=$wxUSE_EXTENDED_RTTI
4959 fi
4960
4961 { echo "$as_me:$LINENO: result: $result" >&5
4962 echo "${ECHO_T}$result" >&6; }
4963
4964 if test "$USE_OS2" = 1; then
4965 DEFAULT_wxUSE_OMF=no
4966
4967 enablestring=
4968 defaultval=
4969 if test -z "$defaultval"; then
4970 if test x"$enablestring" = xdisable; then
4971 defaultval=yes
4972 else
4973 defaultval=no
4974 fi
4975 fi
4976
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4979 # Check whether --enable-omf was given.
4980 if test "${enable_omf+set}" = set; then
4981 enableval=$enable_omf;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_omf='wxUSE_OMF=yes'
4984 else
4985 wx_cv_use_omf='wxUSE_OMF=no'
4986 fi
4987
4988 else
4989
4990 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4991
4992 fi
4993
4994
4995 eval "$wx_cv_use_omf"
4996
4997 if test x"$enablestring" = xdisable; then
4998 if test $wxUSE_OMF = no; then
4999 result=yes
5000 else
5001 result=no
5002 fi
5003 else
5004 result=$wxUSE_OMF
5005 fi
5006
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5009
5010 fi
5011
5012
5013 enablestring=disable
5014 defaultval=
5015 if test -z "$defaultval"; then
5016 if test x"$enablestring" = xdisable; then
5017 defaultval=yes
5018 else
5019 defaultval=no
5020 fi
5021 fi
5022
5023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5024 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5025 # Check whether --enable-optimise was given.
5026 if test "${enable_optimise+set}" = set; then
5027 enableval=$enable_optimise;
5028 if test "$enableval" = yes; then
5029 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5030 else
5031 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5032 fi
5033
5034 else
5035
5036 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5037
5038 fi
5039
5040
5041 eval "$wx_cv_use_optimise"
5042
5043 if test x"$enablestring" = xdisable; then
5044 if test $wxUSE_OPTIMISE = no; then
5045 result=yes
5046 else
5047 result=no
5048 fi
5049 else
5050 result=$wxUSE_OPTIMISE
5051 fi
5052
5053 { echo "$as_me:$LINENO: result: $result" >&5
5054 echo "${ECHO_T}$result" >&6; }
5055
5056
5057
5058 enablestring=
5059 defaultval=
5060 if test -z "$defaultval"; then
5061 if test x"$enablestring" = xdisable; then
5062 defaultval=yes
5063 else
5064 defaultval=no
5065 fi
5066 fi
5067
5068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5069 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5070 # Check whether --enable-profile was given.
5071 if test "${enable_profile+set}" = set; then
5072 enableval=$enable_profile;
5073 if test "$enableval" = yes; then
5074 wx_cv_use_profile='wxUSE_PROFILE=yes'
5075 else
5076 wx_cv_use_profile='wxUSE_PROFILE=no'
5077 fi
5078
5079 else
5080
5081 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5082
5083 fi
5084
5085
5086 eval "$wx_cv_use_profile"
5087
5088 if test x"$enablestring" = xdisable; then
5089 if test $wxUSE_PROFILE = no; then
5090 result=yes
5091 else
5092 result=no
5093 fi
5094 else
5095 result=$wxUSE_PROFILE
5096 fi
5097
5098 { echo "$as_me:$LINENO: result: $result" >&5
5099 echo "${ECHO_T}$result" >&6; }
5100
5101
5102 enablestring=
5103 defaultval=
5104 if test -z "$defaultval"; then
5105 if test x"$enablestring" = xdisable; then
5106 defaultval=yes
5107 else
5108 defaultval=no
5109 fi
5110 fi
5111
5112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5113 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5114 # Check whether --enable-no_rtti was given.
5115 if test "${enable_no_rtti+set}" = set; then
5116 enableval=$enable_no_rtti;
5117 if test "$enableval" = yes; then
5118 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5119 else
5120 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5121 fi
5122
5123 else
5124
5125 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5126
5127 fi
5128
5129
5130 eval "$wx_cv_use_no_rtti"
5131
5132 if test x"$enablestring" = xdisable; then
5133 if test $wxUSE_NO_RTTI = no; then
5134 result=yes
5135 else
5136 result=no
5137 fi
5138 else
5139 result=$wxUSE_NO_RTTI
5140 fi
5141
5142 { echo "$as_me:$LINENO: result: $result" >&5
5143 echo "${ECHO_T}$result" >&6; }
5144
5145
5146 enablestring=
5147 defaultval=
5148 if test -z "$defaultval"; then
5149 if test x"$enablestring" = xdisable; then
5150 defaultval=yes
5151 else
5152 defaultval=no
5153 fi
5154 fi
5155
5156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5157 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5158 # Check whether --enable-no_exceptions was given.
5159 if test "${enable_no_exceptions+set}" = set; then
5160 enableval=$enable_no_exceptions;
5161 if test "$enableval" = yes; then
5162 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5163 else
5164 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5165 fi
5166
5167 else
5168
5169 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5170
5171 fi
5172
5173
5174 eval "$wx_cv_use_no_exceptions"
5175
5176 if test x"$enablestring" = xdisable; then
5177 if test $wxUSE_NO_EXCEPTIONS = no; then
5178 result=yes
5179 else
5180 result=no
5181 fi
5182 else
5183 result=$wxUSE_NO_EXCEPTIONS
5184 fi
5185
5186 { echo "$as_me:$LINENO: result: $result" >&5
5187 echo "${ECHO_T}$result" >&6; }
5188
5189
5190 enablestring=
5191 defaultval=
5192 if test -z "$defaultval"; then
5193 if test x"$enablestring" = xdisable; then
5194 defaultval=yes
5195 else
5196 defaultval=no
5197 fi
5198 fi
5199
5200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5202 # Check whether --enable-permissive was given.
5203 if test "${enable_permissive+set}" = set; then
5204 enableval=$enable_permissive;
5205 if test "$enableval" = yes; then
5206 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5207 else
5208 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5209 fi
5210
5211 else
5212
5213 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5214
5215 fi
5216
5217
5218 eval "$wx_cv_use_permissive"
5219
5220 if test x"$enablestring" = xdisable; then
5221 if test $wxUSE_PERMISSIVE = no; then
5222 result=yes
5223 else
5224 result=no
5225 fi
5226 else
5227 result=$wxUSE_PERMISSIVE
5228 fi
5229
5230 { echo "$as_me:$LINENO: result: $result" >&5
5231 echo "${ECHO_T}$result" >&6; }
5232
5233
5234 enablestring=
5235 defaultval=
5236 if test -z "$defaultval"; then
5237 if test x"$enablestring" = xdisable; then
5238 defaultval=yes
5239 else
5240 defaultval=no
5241 fi
5242 fi
5243
5244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5245 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5246 # Check whether --enable-no_deps was given.
5247 if test "${enable_no_deps+set}" = set; then
5248 enableval=$enable_no_deps;
5249 if test "$enableval" = yes; then
5250 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5251 else
5252 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5253 fi
5254
5255 else
5256
5257 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5258
5259 fi
5260
5261
5262 eval "$wx_cv_use_no_deps"
5263
5264 if test x"$enablestring" = xdisable; then
5265 if test $wxUSE_NO_DEPS = no; then
5266 result=yes
5267 else
5268 result=no
5269 fi
5270 else
5271 result=$wxUSE_NO_DEPS
5272 fi
5273
5274 { echo "$as_me:$LINENO: result: $result" >&5
5275 echo "${ECHO_T}$result" >&6; }
5276
5277
5278 enablestring=disable
5279 defaultval=
5280 if test -z "$defaultval"; then
5281 if test x"$enablestring" = xdisable; then
5282 defaultval=yes
5283 else
5284 defaultval=no
5285 fi
5286 fi
5287
5288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5290 # Check whether --enable-vararg_macros was given.
5291 if test "${enable_vararg_macros+set}" = set; then
5292 enableval=$enable_vararg_macros;
5293 if test "$enableval" = yes; then
5294 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5295 else
5296 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5297 fi
5298
5299 else
5300
5301 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5302
5303 fi
5304
5305
5306 eval "$wx_cv_use_vararg_macros"
5307
5308 if test x"$enablestring" = xdisable; then
5309 if test $wxUSE_VARARG_MACROS = no; then
5310 result=yes
5311 else
5312 result=no
5313 fi
5314 else
5315 result=$wxUSE_VARARG_MACROS
5316 fi
5317
5318 { echo "$as_me:$LINENO: result: $result" >&5
5319 echo "${ECHO_T}$result" >&6; }
5320
5321
5322 enablestring=
5323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5325 # Check whether --enable-universal_binary was given.
5326 if test "${enable_universal_binary+set}" = set; then
5327 enableval=$enable_universal_binary;
5328 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5329
5330 else
5331
5332 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5333
5334 fi
5335
5336
5337 eval "$wx_cv_use_universal_binary"
5338
5339 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5340 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5341
5342
5343
5344 enablestring=
5345 defaultval=
5346 if test -z "$defaultval"; then
5347 if test x"$enablestring" = xdisable; then
5348 defaultval=yes
5349 else
5350 defaultval=no
5351 fi
5352 fi
5353
5354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5355 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5356 # Check whether --enable-compat26 was given.
5357 if test "${enable_compat26+set}" = set; then
5358 enableval=$enable_compat26;
5359 if test "$enableval" = yes; then
5360 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5361 else
5362 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5363 fi
5364
5365 else
5366
5367 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5368
5369 fi
5370
5371
5372 eval "$wx_cv_use_compat26"
5373
5374 if test x"$enablestring" = xdisable; then
5375 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5376 result=yes
5377 else
5378 result=no
5379 fi
5380 else
5381 result=$WXWIN_COMPATIBILITY_2_6
5382 fi
5383
5384 { echo "$as_me:$LINENO: result: $result" >&5
5385 echo "${ECHO_T}$result" >&6; }
5386
5387
5388 enablestring=disable
5389 defaultval=
5390 if test -z "$defaultval"; then
5391 if test x"$enablestring" = xdisable; then
5392 defaultval=yes
5393 else
5394 defaultval=no
5395 fi
5396 fi
5397
5398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5399 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5400 # Check whether --enable-compat28 was given.
5401 if test "${enable_compat28+set}" = set; then
5402 enableval=$enable_compat28;
5403 if test "$enableval" = yes; then
5404 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5405 else
5406 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5407 fi
5408
5409 else
5410
5411 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5412
5413 fi
5414
5415
5416 eval "$wx_cv_use_compat28"
5417
5418 if test x"$enablestring" = xdisable; then
5419 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5420 result=yes
5421 else
5422 result=no
5423 fi
5424 else
5425 result=$WXWIN_COMPATIBILITY_2_8
5426 fi
5427
5428 { echo "$as_me:$LINENO: result: $result" >&5
5429 echo "${ECHO_T}$result" >&6; }
5430
5431
5432
5433 enablestring=disable
5434 defaultval=
5435 if test -z "$defaultval"; then
5436 if test x"$enablestring" = xdisable; then
5437 defaultval=yes
5438 else
5439 defaultval=no
5440 fi
5441 fi
5442
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5445 # Check whether --enable-rpath was given.
5446 if test "${enable_rpath+set}" = set; then
5447 enableval=$enable_rpath;
5448 if test "$enableval" = yes; then
5449 wx_cv_use_rpath='wxUSE_RPATH=yes'
5450 else
5451 wx_cv_use_rpath='wxUSE_RPATH=no'
5452 fi
5453
5454 else
5455
5456 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5457
5458 fi
5459
5460
5461 eval "$wx_cv_use_rpath"
5462
5463 if test x"$enablestring" = xdisable; then
5464 if test $wxUSE_RPATH = no; then
5465 result=yes
5466 else
5467 result=no
5468 fi
5469 else
5470 result=$wxUSE_RPATH
5471 fi
5472
5473 { echo "$as_me:$LINENO: result: $result" >&5
5474 echo "${ECHO_T}$result" >&6; }
5475
5476
5477
5478 enablestring=
5479 defaultval=
5480 if test -z "$defaultval"; then
5481 if test x"$enablestring" = xdisable; then
5482 defaultval=yes
5483 else
5484 defaultval=no
5485 fi
5486 fi
5487
5488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5489 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5490 # Check whether --enable-objc_uniquifying was given.
5491 if test "${enable_objc_uniquifying+set}" = set; then
5492 enableval=$enable_objc_uniquifying;
5493 if test "$enableval" = yes; then
5494 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5495 else
5496 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5497 fi
5498
5499 else
5500
5501 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5502
5503 fi
5504
5505
5506 eval "$wx_cv_use_objc_uniquifying"
5507
5508 if test x"$enablestring" = xdisable; then
5509 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5510 result=yes
5511 else
5512 result=no
5513 fi
5514 else
5515 result=$wxUSE_OBJC_UNIQUIFYING
5516 fi
5517
5518 { echo "$as_me:$LINENO: result: $result" >&5
5519 echo "${ECHO_T}$result" >&6; }
5520
5521
5522
5523 enablestring=disable
5524 defaultval=
5525 if test -z "$defaultval"; then
5526 if test x"$enablestring" = xdisable; then
5527 defaultval=yes
5528 else
5529 defaultval=no
5530 fi
5531 fi
5532
5533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5534 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5535 # Check whether --enable-visibility was given.
5536 if test "${enable_visibility+set}" = set; then
5537 enableval=$enable_visibility;
5538 if test "$enableval" = yes; then
5539 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5540 else
5541 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5542 fi
5543
5544 else
5545
5546 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5547
5548 fi
5549
5550
5551 eval "$wx_cv_use_visibility"
5552
5553 if test x"$enablestring" = xdisable; then
5554 if test $wxUSE_VISIBILITY = no; then
5555 result=yes
5556 else
5557 result=no
5558 fi
5559 else
5560 result=$wxUSE_VISIBILITY
5561 fi
5562
5563 { echo "$as_me:$LINENO: result: $result" >&5
5564 echo "${ECHO_T}$result" >&6; }
5565
5566
5567 enablestring=disable
5568 defaultval=
5569 if test -z "$defaultval"; then
5570 if test x"$enablestring" = xdisable; then
5571 defaultval=yes
5572 else
5573 defaultval=no
5574 fi
5575 fi
5576
5577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5578 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5579 # Check whether --enable-tls was given.
5580 if test "${enable_tls+set}" = set; then
5581 enableval=$enable_tls;
5582 if test "$enableval" = yes; then
5583 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5584 else
5585 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5586 fi
5587
5588 else
5589
5590 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5591
5592 fi
5593
5594
5595 eval "$wx_cv_use_tls"
5596
5597 if test x"$enablestring" = xdisable; then
5598 if test $wxUSE_COMPILER_TLS = no; then
5599 result=yes
5600 else
5601 result=no
5602 fi
5603 else
5604 result=$wxUSE_COMPILER_TLS
5605 fi
5606
5607 { echo "$as_me:$LINENO: result: $result" >&5
5608 echo "${ECHO_T}$result" >&6; }
5609
5610
5611
5612
5613 enablestring=
5614 defaultval=$wxUSE_ALL_FEATURES
5615 if test -z "$defaultval"; then
5616 if test x"$enablestring" = xdisable; then
5617 defaultval=yes
5618 else
5619 defaultval=no
5620 fi
5621 fi
5622
5623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5624 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5625 # Check whether --enable-intl was given.
5626 if test "${enable_intl+set}" = set; then
5627 enableval=$enable_intl;
5628 if test "$enableval" = yes; then
5629 wx_cv_use_intl='wxUSE_INTL=yes'
5630 else
5631 wx_cv_use_intl='wxUSE_INTL=no'
5632 fi
5633
5634 else
5635
5636 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5637
5638 fi
5639
5640
5641 eval "$wx_cv_use_intl"
5642
5643 if test x"$enablestring" = xdisable; then
5644 if test $wxUSE_INTL = no; then
5645 result=yes
5646 else
5647 result=no
5648 fi
5649 else
5650 result=$wxUSE_INTL
5651 fi
5652
5653 { echo "$as_me:$LINENO: result: $result" >&5
5654 echo "${ECHO_T}$result" >&6; }
5655
5656
5657 enablestring=
5658 defaultval=$wxUSE_ALL_FEATURES
5659 if test -z "$defaultval"; then
5660 if test x"$enablestring" = xdisable; then
5661 defaultval=yes
5662 else
5663 defaultval=no
5664 fi
5665 fi
5666
5667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5668 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5669 # Check whether --enable-xlocale was given.
5670 if test "${enable_xlocale+set}" = set; then
5671 enableval=$enable_xlocale;
5672 if test "$enableval" = yes; then
5673 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5674 else
5675 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5676 fi
5677
5678 else
5679
5680 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5681
5682 fi
5683
5684
5685 eval "$wx_cv_use_xlocale"
5686
5687 if test x"$enablestring" = xdisable; then
5688 if test $wxUSE_XLOCALE = no; then
5689 result=yes
5690 else
5691 result=no
5692 fi
5693 else
5694 result=$wxUSE_XLOCALE
5695 fi
5696
5697 { echo "$as_me:$LINENO: result: $result" >&5
5698 echo "${ECHO_T}$result" >&6; }
5699
5700
5701 enablestring=
5702 defaultval=$wxUSE_ALL_FEATURES
5703 if test -z "$defaultval"; then
5704 if test x"$enablestring" = xdisable; then
5705 defaultval=yes
5706 else
5707 defaultval=no
5708 fi
5709 fi
5710
5711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5712 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5713 # Check whether --enable-config was given.
5714 if test "${enable_config+set}" = set; then
5715 enableval=$enable_config;
5716 if test "$enableval" = yes; then
5717 wx_cv_use_config='wxUSE_CONFIG=yes'
5718 else
5719 wx_cv_use_config='wxUSE_CONFIG=no'
5720 fi
5721
5722 else
5723
5724 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5725
5726 fi
5727
5728
5729 eval "$wx_cv_use_config"
5730
5731 if test x"$enablestring" = xdisable; then
5732 if test $wxUSE_CONFIG = no; then
5733 result=yes
5734 else
5735 result=no
5736 fi
5737 else
5738 result=$wxUSE_CONFIG
5739 fi
5740
5741 { echo "$as_me:$LINENO: result: $result" >&5
5742 echo "${ECHO_T}$result" >&6; }
5743
5744
5745
5746 enablestring=
5747 defaultval=$wxUSE_ALL_FEATURES
5748 if test -z "$defaultval"; then
5749 if test x"$enablestring" = xdisable; then
5750 defaultval=yes
5751 else
5752 defaultval=no
5753 fi
5754 fi
5755
5756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5757 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5758 # Check whether --enable-protocols was given.
5759 if test "${enable_protocols+set}" = set; then
5760 enableval=$enable_protocols;
5761 if test "$enableval" = yes; then
5762 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5763 else
5764 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5765 fi
5766
5767 else
5768
5769 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5770
5771 fi
5772
5773
5774 eval "$wx_cv_use_protocols"
5775
5776 if test x"$enablestring" = xdisable; then
5777 if test $wxUSE_PROTOCOL = no; then
5778 result=yes
5779 else
5780 result=no
5781 fi
5782 else
5783 result=$wxUSE_PROTOCOL
5784 fi
5785
5786 { echo "$as_me:$LINENO: result: $result" >&5
5787 echo "${ECHO_T}$result" >&6; }
5788
5789
5790 enablestring=
5791 defaultval=$wxUSE_ALL_FEATURES
5792 if test -z "$defaultval"; then
5793 if test x"$enablestring" = xdisable; then
5794 defaultval=yes
5795 else
5796 defaultval=no
5797 fi
5798 fi
5799
5800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5801 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5802 # Check whether --enable-ftp was given.
5803 if test "${enable_ftp+set}" = set; then
5804 enableval=$enable_ftp;
5805 if test "$enableval" = yes; then
5806 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5807 else
5808 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5809 fi
5810
5811 else
5812
5813 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5814
5815 fi
5816
5817
5818 eval "$wx_cv_use_ftp"
5819
5820 if test x"$enablestring" = xdisable; then
5821 if test $wxUSE_PROTOCOL_FTP = no; then
5822 result=yes
5823 else
5824 result=no
5825 fi
5826 else
5827 result=$wxUSE_PROTOCOL_FTP
5828 fi
5829
5830 { echo "$as_me:$LINENO: result: $result" >&5
5831 echo "${ECHO_T}$result" >&6; }
5832
5833
5834 enablestring=
5835 defaultval=$wxUSE_ALL_FEATURES
5836 if test -z "$defaultval"; then
5837 if test x"$enablestring" = xdisable; then
5838 defaultval=yes
5839 else
5840 defaultval=no
5841 fi
5842 fi
5843
5844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5846 # Check whether --enable-http was given.
5847 if test "${enable_http+set}" = set; then
5848 enableval=$enable_http;
5849 if test "$enableval" = yes; then
5850 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5851 else
5852 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5853 fi
5854
5855 else
5856
5857 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5858
5859 fi
5860
5861
5862 eval "$wx_cv_use_http"
5863
5864 if test x"$enablestring" = xdisable; then
5865 if test $wxUSE_PROTOCOL_HTTP = no; then
5866 result=yes
5867 else
5868 result=no
5869 fi
5870 else
5871 result=$wxUSE_PROTOCOL_HTTP
5872 fi
5873
5874 { echo "$as_me:$LINENO: result: $result" >&5
5875 echo "${ECHO_T}$result" >&6; }
5876
5877
5878 enablestring=
5879 defaultval=$wxUSE_ALL_FEATURES
5880 if test -z "$defaultval"; then
5881 if test x"$enablestring" = xdisable; then
5882 defaultval=yes
5883 else
5884 defaultval=no
5885 fi
5886 fi
5887
5888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5890 # Check whether --enable-fileproto was given.
5891 if test "${enable_fileproto+set}" = set; then
5892 enableval=$enable_fileproto;
5893 if test "$enableval" = yes; then
5894 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5895 else
5896 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5897 fi
5898
5899 else
5900
5901 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5902
5903 fi
5904
5905
5906 eval "$wx_cv_use_fileproto"
5907
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_PROTOCOL_FILE = no; then
5910 result=yes
5911 else
5912 result=no
5913 fi
5914 else
5915 result=$wxUSE_PROTOCOL_FILE
5916 fi
5917
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5920
5921
5922 enablestring=
5923 defaultval=$wxUSE_ALL_FEATURES
5924 if test -z "$defaultval"; then
5925 if test x"$enablestring" = xdisable; then
5926 defaultval=yes
5927 else
5928 defaultval=no
5929 fi
5930 fi
5931
5932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5934 # Check whether --enable-sockets was given.
5935 if test "${enable_sockets+set}" = set; then
5936 enableval=$enable_sockets;
5937 if test "$enableval" = yes; then
5938 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5939 else
5940 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5941 fi
5942
5943 else
5944
5945 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5946
5947 fi
5948
5949
5950 eval "$wx_cv_use_sockets"
5951
5952 if test x"$enablestring" = xdisable; then
5953 if test $wxUSE_SOCKETS = no; then
5954 result=yes
5955 else
5956 result=no
5957 fi
5958 else
5959 result=$wxUSE_SOCKETS
5960 fi
5961
5962 { echo "$as_me:$LINENO: result: $result" >&5
5963 echo "${ECHO_T}$result" >&6; }
5964
5965
5966 enablestring=
5967 defaultval=$wxUSE_ALL_FEATURES
5968 if test -z "$defaultval"; then
5969 if test x"$enablestring" = xdisable; then
5970 defaultval=yes
5971 else
5972 defaultval=no
5973 fi
5974 fi
5975
5976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5977 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5978 # Check whether --enable-ipv6 was given.
5979 if test "${enable_ipv6+set}" = set; then
5980 enableval=$enable_ipv6;
5981 if test "$enableval" = yes; then
5982 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5983 else
5984 wx_cv_use_ipv6='wxUSE_IPV6=no'
5985 fi
5986
5987 else
5988
5989 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5990
5991 fi
5992
5993
5994 eval "$wx_cv_use_ipv6"
5995
5996 if test x"$enablestring" = xdisable; then
5997 if test $wxUSE_IPV6 = no; then
5998 result=yes
5999 else
6000 result=no
6001 fi
6002 else
6003 result=$wxUSE_IPV6
6004 fi
6005
6006 { echo "$as_me:$LINENO: result: $result" >&5
6007 echo "${ECHO_T}$result" >&6; }
6008
6009
6010 enablestring=
6011 defaultval=$wxUSE_ALL_FEATURES
6012 if test -z "$defaultval"; then
6013 if test x"$enablestring" = xdisable; then
6014 defaultval=yes
6015 else
6016 defaultval=no
6017 fi
6018 fi
6019
6020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6022 # Check whether --enable-ole was given.
6023 if test "${enable_ole+set}" = set; then
6024 enableval=$enable_ole;
6025 if test "$enableval" = yes; then
6026 wx_cv_use_ole='wxUSE_OLE=yes'
6027 else
6028 wx_cv_use_ole='wxUSE_OLE=no'
6029 fi
6030
6031 else
6032
6033 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6034
6035 fi
6036
6037
6038 eval "$wx_cv_use_ole"
6039
6040 if test x"$enablestring" = xdisable; then
6041 if test $wxUSE_OLE = no; then
6042 result=yes
6043 else
6044 result=no
6045 fi
6046 else
6047 result=$wxUSE_OLE
6048 fi
6049
6050 { echo "$as_me:$LINENO: result: $result" >&5
6051 echo "${ECHO_T}$result" >&6; }
6052
6053
6054 enablestring=
6055 defaultval=$wxUSE_ALL_FEATURES
6056 if test -z "$defaultval"; then
6057 if test x"$enablestring" = xdisable; then
6058 defaultval=yes
6059 else
6060 defaultval=no
6061 fi
6062 fi
6063
6064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6066 # Check whether --enable-dataobj was given.
6067 if test "${enable_dataobj+set}" = set; then
6068 enableval=$enable_dataobj;
6069 if test "$enableval" = yes; then
6070 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6071 else
6072 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6073 fi
6074
6075 else
6076
6077 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6078
6079 fi
6080
6081
6082 eval "$wx_cv_use_dataobj"
6083
6084 if test x"$enablestring" = xdisable; then
6085 if test $wxUSE_DATAOBJ = no; then
6086 result=yes
6087 else
6088 result=no
6089 fi
6090 else
6091 result=$wxUSE_DATAOBJ
6092 fi
6093
6094 { echo "$as_me:$LINENO: result: $result" >&5
6095 echo "${ECHO_T}$result" >&6; }
6096
6097
6098
6099 enablestring=
6100 defaultval=$wxUSE_ALL_FEATURES
6101 if test -z "$defaultval"; then
6102 if test x"$enablestring" = xdisable; then
6103 defaultval=yes
6104 else
6105 defaultval=no
6106 fi
6107 fi
6108
6109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6111 # Check whether --enable-ipc was given.
6112 if test "${enable_ipc+set}" = set; then
6113 enableval=$enable_ipc;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_ipc='wxUSE_IPC=yes'
6116 else
6117 wx_cv_use_ipc='wxUSE_IPC=no'
6118 fi
6119
6120 else
6121
6122 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6123
6124 fi
6125
6126
6127 eval "$wx_cv_use_ipc"
6128
6129 if test x"$enablestring" = xdisable; then
6130 if test $wxUSE_IPC = no; then
6131 result=yes
6132 else
6133 result=no
6134 fi
6135 else
6136 result=$wxUSE_IPC
6137 fi
6138
6139 { echo "$as_me:$LINENO: result: $result" >&5
6140 echo "${ECHO_T}$result" >&6; }
6141
6142
6143
6144 enablestring=
6145 defaultval=$wxUSE_ALL_FEATURES
6146 if test -z "$defaultval"; then
6147 if test x"$enablestring" = xdisable; then
6148 defaultval=yes
6149 else
6150 defaultval=no
6151 fi
6152 fi
6153
6154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6156 # Check whether --enable-baseevtloop was given.
6157 if test "${enable_baseevtloop+set}" = set; then
6158 enableval=$enable_baseevtloop;
6159 if test "$enableval" = yes; then
6160 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6161 else
6162 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6163 fi
6164
6165 else
6166
6167 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6168
6169 fi
6170
6171
6172 eval "$wx_cv_use_baseevtloop"
6173
6174 if test x"$enablestring" = xdisable; then
6175 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6176 result=yes
6177 else
6178 result=no
6179 fi
6180 else
6181 result=$wxUSE_CONSOLE_EVENTLOOP
6182 fi
6183
6184 { echo "$as_me:$LINENO: result: $result" >&5
6185 echo "${ECHO_T}$result" >&6; }
6186
6187
6188 enablestring=
6189 defaultval=$wxUSE_ALL_FEATURES
6190 if test -z "$defaultval"; then
6191 if test x"$enablestring" = xdisable; then
6192 defaultval=yes
6193 else
6194 defaultval=no
6195 fi
6196 fi
6197
6198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6199 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6200 # Check whether --enable-epollloop was given.
6201 if test "${enable_epollloop+set}" = set; then
6202 enableval=$enable_epollloop;
6203 if test "$enableval" = yes; then
6204 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6205 else
6206 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6207 fi
6208
6209 else
6210
6211 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6212
6213 fi
6214
6215
6216 eval "$wx_cv_use_epollloop"
6217
6218 if test x"$enablestring" = xdisable; then
6219 if test $wxUSE_EPOLL_DISPATCHER = no; then
6220 result=yes
6221 else
6222 result=no
6223 fi
6224 else
6225 result=$wxUSE_EPOLL_DISPATCHER
6226 fi
6227
6228 { echo "$as_me:$LINENO: result: $result" >&5
6229 echo "${ECHO_T}$result" >&6; }
6230
6231
6232 enablestring=
6233 defaultval=$wxUSE_ALL_FEATURES
6234 if test -z "$defaultval"; then
6235 if test x"$enablestring" = xdisable; then
6236 defaultval=yes
6237 else
6238 defaultval=no
6239 fi
6240 fi
6241
6242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6243 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6244 # Check whether --enable-selectloop was given.
6245 if test "${enable_selectloop+set}" = set; then
6246 enableval=$enable_selectloop;
6247 if test "$enableval" = yes; then
6248 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6249 else
6250 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6251 fi
6252
6253 else
6254
6255 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6256
6257 fi
6258
6259
6260 eval "$wx_cv_use_selectloop"
6261
6262 if test x"$enablestring" = xdisable; then
6263 if test $wxUSE_SELECT_DISPATCHER = no; then
6264 result=yes
6265 else
6266 result=no
6267 fi
6268 else
6269 result=$wxUSE_SELECT_DISPATCHER
6270 fi
6271
6272 { echo "$as_me:$LINENO: result: $result" >&5
6273 echo "${ECHO_T}$result" >&6; }
6274
6275
6276
6277 enablestring=
6278 defaultval=$wxUSE_ALL_FEATURES
6279 if test -z "$defaultval"; then
6280 if test x"$enablestring" = xdisable; then
6281 defaultval=yes
6282 else
6283 defaultval=no
6284 fi
6285 fi
6286
6287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6288 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6289 # Check whether --enable-apple_ieee was given.
6290 if test "${enable_apple_ieee+set}" = set; then
6291 enableval=$enable_apple_ieee;
6292 if test "$enableval" = yes; then
6293 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6294 else
6295 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6296 fi
6297
6298 else
6299
6300 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6301
6302 fi
6303
6304
6305 eval "$wx_cv_use_apple_ieee"
6306
6307 if test x"$enablestring" = xdisable; then
6308 if test $wxUSE_APPLE_IEEE = no; then
6309 result=yes
6310 else
6311 result=no
6312 fi
6313 else
6314 result=$wxUSE_APPLE_IEEE
6315 fi
6316
6317 { echo "$as_me:$LINENO: result: $result" >&5
6318 echo "${ECHO_T}$result" >&6; }
6319
6320
6321 enablestring=
6322 defaultval=$wxUSE_ALL_FEATURES
6323 if test -z "$defaultval"; then
6324 if test x"$enablestring" = xdisable; then
6325 defaultval=yes
6326 else
6327 defaultval=no
6328 fi
6329 fi
6330
6331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6332 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6333 # Check whether --enable-arcstream was given.
6334 if test "${enable_arcstream+set}" = set; then
6335 enableval=$enable_arcstream;
6336 if test "$enableval" = yes; then
6337 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6338 else
6339 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6340 fi
6341
6342 else
6343
6344 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6345
6346 fi
6347
6348
6349 eval "$wx_cv_use_arcstream"
6350
6351 if test x"$enablestring" = xdisable; then
6352 if test $wxUSE_ARCHIVE_STREAMS = no; then
6353 result=yes
6354 else
6355 result=no
6356 fi
6357 else
6358 result=$wxUSE_ARCHIVE_STREAMS
6359 fi
6360
6361 { echo "$as_me:$LINENO: result: $result" >&5
6362 echo "${ECHO_T}$result" >&6; }
6363
6364
6365 enablestring=
6366 defaultval=$wxUSE_ALL_FEATURES
6367 if test -z "$defaultval"; then
6368 if test x"$enablestring" = xdisable; then
6369 defaultval=yes
6370 else
6371 defaultval=no
6372 fi
6373 fi
6374
6375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6377 # Check whether --enable-base64 was given.
6378 if test "${enable_base64+set}" = set; then
6379 enableval=$enable_base64;
6380 if test "$enableval" = yes; then
6381 wx_cv_use_base64='wxUSE_BASE64=yes'
6382 else
6383 wx_cv_use_base64='wxUSE_BASE64=no'
6384 fi
6385
6386 else
6387
6388 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6389
6390 fi
6391
6392
6393 eval "$wx_cv_use_base64"
6394
6395 if test x"$enablestring" = xdisable; then
6396 if test $wxUSE_BASE64 = no; then
6397 result=yes
6398 else
6399 result=no
6400 fi
6401 else
6402 result=$wxUSE_BASE64
6403 fi
6404
6405 { echo "$as_me:$LINENO: result: $result" >&5
6406 echo "${ECHO_T}$result" >&6; }
6407
6408
6409 enablestring=
6410 defaultval=$wxUSE_ALL_FEATURES
6411 if test -z "$defaultval"; then
6412 if test x"$enablestring" = xdisable; then
6413 defaultval=yes
6414 else
6415 defaultval=no
6416 fi
6417 fi
6418
6419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6421 # Check whether --enable-backtrace was given.
6422 if test "${enable_backtrace+set}" = set; then
6423 enableval=$enable_backtrace;
6424 if test "$enableval" = yes; then
6425 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6426 else
6427 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6428 fi
6429
6430 else
6431
6432 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6433
6434 fi
6435
6436
6437 eval "$wx_cv_use_backtrace"
6438
6439 if test x"$enablestring" = xdisable; then
6440 if test $wxUSE_STACKWALKER = no; then
6441 result=yes
6442 else
6443 result=no
6444 fi
6445 else
6446 result=$wxUSE_STACKWALKER
6447 fi
6448
6449 { echo "$as_me:$LINENO: result: $result" >&5
6450 echo "${ECHO_T}$result" >&6; }
6451
6452
6453 enablestring=
6454 defaultval=$wxUSE_ALL_FEATURES
6455 if test -z "$defaultval"; then
6456 if test x"$enablestring" = xdisable; then
6457 defaultval=yes
6458 else
6459 defaultval=no
6460 fi
6461 fi
6462
6463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6465 # Check whether --enable-catch_segvs was given.
6466 if test "${enable_catch_segvs+set}" = set; then
6467 enableval=$enable_catch_segvs;
6468 if test "$enableval" = yes; then
6469 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6470 else
6471 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6472 fi
6473
6474 else
6475
6476 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6477
6478 fi
6479
6480
6481 eval "$wx_cv_use_catch_segvs"
6482
6483 if test x"$enablestring" = xdisable; then
6484 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6485 result=yes
6486 else
6487 result=no
6488 fi
6489 else
6490 result=$wxUSE_ON_FATAL_EXCEPTION
6491 fi
6492
6493 { echo "$as_me:$LINENO: result: $result" >&5
6494 echo "${ECHO_T}$result" >&6; }
6495
6496
6497 enablestring=
6498 defaultval=$wxUSE_ALL_FEATURES
6499 if test -z "$defaultval"; then
6500 if test x"$enablestring" = xdisable; then
6501 defaultval=yes
6502 else
6503 defaultval=no
6504 fi
6505 fi
6506
6507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6509 # Check whether --enable-cmdline was given.
6510 if test "${enable_cmdline+set}" = set; then
6511 enableval=$enable_cmdline;
6512 if test "$enableval" = yes; then
6513 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6514 else
6515 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6516 fi
6517
6518 else
6519
6520 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6521
6522 fi
6523
6524
6525 eval "$wx_cv_use_cmdline"
6526
6527 if test x"$enablestring" = xdisable; then
6528 if test $wxUSE_CMDLINE_PARSER = no; then
6529 result=yes
6530 else
6531 result=no
6532 fi
6533 else
6534 result=$wxUSE_CMDLINE_PARSER
6535 fi
6536
6537 { echo "$as_me:$LINENO: result: $result" >&5
6538 echo "${ECHO_T}$result" >&6; }
6539
6540
6541 enablestring=
6542 defaultval=$wxUSE_ALL_FEATURES
6543 if test -z "$defaultval"; then
6544 if test x"$enablestring" = xdisable; then
6545 defaultval=yes
6546 else
6547 defaultval=no
6548 fi
6549 fi
6550
6551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6553 # Check whether --enable-datetime was given.
6554 if test "${enable_datetime+set}" = set; then
6555 enableval=$enable_datetime;
6556 if test "$enableval" = yes; then
6557 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6558 else
6559 wx_cv_use_datetime='wxUSE_DATETIME=no'
6560 fi
6561
6562 else
6563
6564 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6565
6566 fi
6567
6568
6569 eval "$wx_cv_use_datetime"
6570
6571 if test x"$enablestring" = xdisable; then
6572 if test $wxUSE_DATETIME = no; then
6573 result=yes
6574 else
6575 result=no
6576 fi
6577 else
6578 result=$wxUSE_DATETIME
6579 fi
6580
6581 { echo "$as_me:$LINENO: result: $result" >&5
6582 echo "${ECHO_T}$result" >&6; }
6583
6584
6585 enablestring=
6586 defaultval=$wxUSE_ALL_FEATURES
6587 if test -z "$defaultval"; then
6588 if test x"$enablestring" = xdisable; then
6589 defaultval=yes
6590 else
6591 defaultval=no
6592 fi
6593 fi
6594
6595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6597 # Check whether --enable-debugreport was given.
6598 if test "${enable_debugreport+set}" = set; then
6599 enableval=$enable_debugreport;
6600 if test "$enableval" = yes; then
6601 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6602 else
6603 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6604 fi
6605
6606 else
6607
6608 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6609
6610 fi
6611
6612
6613 eval "$wx_cv_use_debugreport"
6614
6615 if test x"$enablestring" = xdisable; then
6616 if test $wxUSE_DEBUGREPORT = no; then
6617 result=yes
6618 else
6619 result=no
6620 fi
6621 else
6622 result=$wxUSE_DEBUGREPORT
6623 fi
6624
6625 { echo "$as_me:$LINENO: result: $result" >&5
6626 echo "${ECHO_T}$result" >&6; }
6627
6628
6629 enablestring=
6630 defaultval=$wxUSE_ALL_FEATURES
6631 if test -z "$defaultval"; then
6632 if test x"$enablestring" = xdisable; then
6633 defaultval=yes
6634 else
6635 defaultval=no
6636 fi
6637 fi
6638
6639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6640 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6641 # Check whether --enable-dialupman was given.
6642 if test "${enable_dialupman+set}" = set; then
6643 enableval=$enable_dialupman;
6644 if test "$enableval" = yes; then
6645 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6646 else
6647 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6648 fi
6649
6650 else
6651
6652 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6653
6654 fi
6655
6656
6657 eval "$wx_cv_use_dialupman"
6658
6659 if test x"$enablestring" = xdisable; then
6660 if test $wxUSE_DIALUP_MANAGER = no; then
6661 result=yes
6662 else
6663 result=no
6664 fi
6665 else
6666 result=$wxUSE_DIALUP_MANAGER
6667 fi
6668
6669 { echo "$as_me:$LINENO: result: $result" >&5
6670 echo "${ECHO_T}$result" >&6; }
6671
6672
6673 enablestring=
6674 defaultval=$wxUSE_ALL_FEATURES
6675 if test -z "$defaultval"; then
6676 if test x"$enablestring" = xdisable; then
6677 defaultval=yes
6678 else
6679 defaultval=no
6680 fi
6681 fi
6682
6683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6684 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6685 # Check whether --enable-dynlib was given.
6686 if test "${enable_dynlib+set}" = set; then
6687 enableval=$enable_dynlib;
6688 if test "$enableval" = yes; then
6689 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6690 else
6691 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6692 fi
6693
6694 else
6695
6696 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6697
6698 fi
6699
6700
6701 eval "$wx_cv_use_dynlib"
6702
6703 if test x"$enablestring" = xdisable; then
6704 if test $wxUSE_DYNLIB_CLASS = no; then
6705 result=yes
6706 else
6707 result=no
6708 fi
6709 else
6710 result=$wxUSE_DYNLIB_CLASS
6711 fi
6712
6713 { echo "$as_me:$LINENO: result: $result" >&5
6714 echo "${ECHO_T}$result" >&6; }
6715
6716
6717 enablestring=
6718 defaultval=$wxUSE_ALL_FEATURES
6719 if test -z "$defaultval"; then
6720 if test x"$enablestring" = xdisable; then
6721 defaultval=yes
6722 else
6723 defaultval=no
6724 fi
6725 fi
6726
6727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6728 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6729 # Check whether --enable-dynamicloader was given.
6730 if test "${enable_dynamicloader+set}" = set; then
6731 enableval=$enable_dynamicloader;
6732 if test "$enableval" = yes; then
6733 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6734 else
6735 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6736 fi
6737
6738 else
6739
6740 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6741
6742 fi
6743
6744
6745 eval "$wx_cv_use_dynamicloader"
6746
6747 if test x"$enablestring" = xdisable; then
6748 if test $wxUSE_DYNAMIC_LOADER = no; then
6749 result=yes
6750 else
6751 result=no
6752 fi
6753 else
6754 result=$wxUSE_DYNAMIC_LOADER
6755 fi
6756
6757 { echo "$as_me:$LINENO: result: $result" >&5
6758 echo "${ECHO_T}$result" >&6; }
6759
6760
6761 enablestring=
6762 defaultval=$wxUSE_ALL_FEATURES
6763 if test -z "$defaultval"; then
6764 if test x"$enablestring" = xdisable; then
6765 defaultval=yes
6766 else
6767 defaultval=no
6768 fi
6769 fi
6770
6771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6772 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6773 # Check whether --enable-exceptions was given.
6774 if test "${enable_exceptions+set}" = set; then
6775 enableval=$enable_exceptions;
6776 if test "$enableval" = yes; then
6777 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6778 else
6779 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6780 fi
6781
6782 else
6783
6784 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6785
6786 fi
6787
6788
6789 eval "$wx_cv_use_exceptions"
6790
6791 if test x"$enablestring" = xdisable; then
6792 if test $wxUSE_EXCEPTIONS = no; then
6793 result=yes
6794 else
6795 result=no
6796 fi
6797 else
6798 result=$wxUSE_EXCEPTIONS
6799 fi
6800
6801 { echo "$as_me:$LINENO: result: $result" >&5
6802 echo "${ECHO_T}$result" >&6; }
6803
6804
6805 enablestring=
6806 defaultval=$wxUSE_ALL_FEATURES
6807 if test -z "$defaultval"; then
6808 if test x"$enablestring" = xdisable; then
6809 defaultval=yes
6810 else
6811 defaultval=no
6812 fi
6813 fi
6814
6815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6816 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6817 # Check whether --enable-ffile was given.
6818 if test "${enable_ffile+set}" = set; then
6819 enableval=$enable_ffile;
6820 if test "$enableval" = yes; then
6821 wx_cv_use_ffile='wxUSE_FFILE=yes'
6822 else
6823 wx_cv_use_ffile='wxUSE_FFILE=no'
6824 fi
6825
6826 else
6827
6828 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6829
6830 fi
6831
6832
6833 eval "$wx_cv_use_ffile"
6834
6835 if test x"$enablestring" = xdisable; then
6836 if test $wxUSE_FFILE = no; then
6837 result=yes
6838 else
6839 result=no
6840 fi
6841 else
6842 result=$wxUSE_FFILE
6843 fi
6844
6845 { echo "$as_me:$LINENO: result: $result" >&5
6846 echo "${ECHO_T}$result" >&6; }
6847
6848
6849 enablestring=
6850 defaultval=$wxUSE_ALL_FEATURES
6851 if test -z "$defaultval"; then
6852 if test x"$enablestring" = xdisable; then
6853 defaultval=yes
6854 else
6855 defaultval=no
6856 fi
6857 fi
6858
6859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6861 # Check whether --enable-file was given.
6862 if test "${enable_file+set}" = set; then
6863 enableval=$enable_file;
6864 if test "$enableval" = yes; then
6865 wx_cv_use_file='wxUSE_FILE=yes'
6866 else
6867 wx_cv_use_file='wxUSE_FILE=no'
6868 fi
6869
6870 else
6871
6872 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6873
6874 fi
6875
6876
6877 eval "$wx_cv_use_file"
6878
6879 if test x"$enablestring" = xdisable; then
6880 if test $wxUSE_FILE = no; then
6881 result=yes
6882 else
6883 result=no
6884 fi
6885 else
6886 result=$wxUSE_FILE
6887 fi
6888
6889 { echo "$as_me:$LINENO: result: $result" >&5
6890 echo "${ECHO_T}$result" >&6; }
6891
6892
6893 enablestring=
6894 defaultval=$wxUSE_ALL_FEATURES
6895 if test -z "$defaultval"; then
6896 if test x"$enablestring" = xdisable; then
6897 defaultval=yes
6898 else
6899 defaultval=no
6900 fi
6901 fi
6902
6903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6904 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6905 # Check whether --enable-filesystem was given.
6906 if test "${enable_filesystem+set}" = set; then
6907 enableval=$enable_filesystem;
6908 if test "$enableval" = yes; then
6909 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6910 else
6911 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6912 fi
6913
6914 else
6915
6916 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6917
6918 fi
6919
6920
6921 eval "$wx_cv_use_filesystem"
6922
6923 if test x"$enablestring" = xdisable; then
6924 if test $wxUSE_FILESYSTEM = no; then
6925 result=yes
6926 else
6927 result=no
6928 fi
6929 else
6930 result=$wxUSE_FILESYSTEM
6931 fi
6932
6933 { echo "$as_me:$LINENO: result: $result" >&5
6934 echo "${ECHO_T}$result" >&6; }
6935
6936
6937 enablestring=
6938 defaultval=$wxUSE_ALL_FEATURES
6939 if test -z "$defaultval"; then
6940 if test x"$enablestring" = xdisable; then
6941 defaultval=yes
6942 else
6943 defaultval=no
6944 fi
6945 fi
6946
6947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6948 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6949 # Check whether --enable-fontenum was given.
6950 if test "${enable_fontenum+set}" = set; then
6951 enableval=$enable_fontenum;
6952 if test "$enableval" = yes; then
6953 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6954 else
6955 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6956 fi
6957
6958 else
6959
6960 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6961
6962 fi
6963
6964
6965 eval "$wx_cv_use_fontenum"
6966
6967 if test x"$enablestring" = xdisable; then
6968 if test $wxUSE_FONTENUM = no; then
6969 result=yes
6970 else
6971 result=no
6972 fi
6973 else
6974 result=$wxUSE_FONTENUM
6975 fi
6976
6977 { echo "$as_me:$LINENO: result: $result" >&5
6978 echo "${ECHO_T}$result" >&6; }
6979
6980
6981 enablestring=
6982 defaultval=$wxUSE_ALL_FEATURES
6983 if test -z "$defaultval"; then
6984 if test x"$enablestring" = xdisable; then
6985 defaultval=yes
6986 else
6987 defaultval=no
6988 fi
6989 fi
6990
6991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6992 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6993 # Check whether --enable-fontmap was given.
6994 if test "${enable_fontmap+set}" = set; then
6995 enableval=$enable_fontmap;
6996 if test "$enableval" = yes; then
6997 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6998 else
6999 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7000 fi
7001
7002 else
7003
7004 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7005
7006 fi
7007
7008
7009 eval "$wx_cv_use_fontmap"
7010
7011 if test x"$enablestring" = xdisable; then
7012 if test $wxUSE_FONTMAP = no; then
7013 result=yes
7014 else
7015 result=no
7016 fi
7017 else
7018 result=$wxUSE_FONTMAP
7019 fi
7020
7021 { echo "$as_me:$LINENO: result: $result" >&5
7022 echo "${ECHO_T}$result" >&6; }
7023
7024
7025 enablestring=
7026 defaultval=$wxUSE_ALL_FEATURES
7027 if test -z "$defaultval"; then
7028 if test x"$enablestring" = xdisable; then
7029 defaultval=yes
7030 else
7031 defaultval=no
7032 fi
7033 fi
7034
7035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7036 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7037 # Check whether --enable-fs_archive was given.
7038 if test "${enable_fs_archive+set}" = set; then
7039 enableval=$enable_fs_archive;
7040 if test "$enableval" = yes; then
7041 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7042 else
7043 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7044 fi
7045
7046 else
7047
7048 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7049
7050 fi
7051
7052
7053 eval "$wx_cv_use_fs_archive"
7054
7055 if test x"$enablestring" = xdisable; then
7056 if test $wxUSE_FS_ARCHIVE = no; then
7057 result=yes
7058 else
7059 result=no
7060 fi
7061 else
7062 result=$wxUSE_FS_ARCHIVE
7063 fi
7064
7065 { echo "$as_me:$LINENO: result: $result" >&5
7066 echo "${ECHO_T}$result" >&6; }
7067
7068
7069 enablestring=
7070 defaultval=$wxUSE_ALL_FEATURES
7071 if test -z "$defaultval"; then
7072 if test x"$enablestring" = xdisable; then
7073 defaultval=yes
7074 else
7075 defaultval=no
7076 fi
7077 fi
7078
7079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7080 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7081 # Check whether --enable-fs_inet was given.
7082 if test "${enable_fs_inet+set}" = set; then
7083 enableval=$enable_fs_inet;
7084 if test "$enableval" = yes; then
7085 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7086 else
7087 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7088 fi
7089
7090 else
7091
7092 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7093
7094 fi
7095
7096
7097 eval "$wx_cv_use_fs_inet"
7098
7099 if test x"$enablestring" = xdisable; then
7100 if test $wxUSE_FS_INET = no; then
7101 result=yes
7102 else
7103 result=no
7104 fi
7105 else
7106 result=$wxUSE_FS_INET
7107 fi
7108
7109 { echo "$as_me:$LINENO: result: $result" >&5
7110 echo "${ECHO_T}$result" >&6; }
7111
7112
7113 enablestring=
7114 defaultval=$wxUSE_ALL_FEATURES
7115 if test -z "$defaultval"; then
7116 if test x"$enablestring" = xdisable; then
7117 defaultval=yes
7118 else
7119 defaultval=no
7120 fi
7121 fi
7122
7123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7124 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7125 # Check whether --enable-fs_zip was given.
7126 if test "${enable_fs_zip+set}" = set; then
7127 enableval=$enable_fs_zip;
7128 if test "$enableval" = yes; then
7129 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7130 else
7131 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7132 fi
7133
7134 else
7135
7136 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7137
7138 fi
7139
7140
7141 eval "$wx_cv_use_fs_zip"
7142
7143 if test x"$enablestring" = xdisable; then
7144 if test $wxUSE_FS_ZIP = no; then
7145 result=yes
7146 else
7147 result=no
7148 fi
7149 else
7150 result=$wxUSE_FS_ZIP
7151 fi
7152
7153 { echo "$as_me:$LINENO: result: $result" >&5
7154 echo "${ECHO_T}$result" >&6; }
7155
7156
7157 enablestring=
7158 defaultval=$wxUSE_ALL_FEATURES
7159 if test -z "$defaultval"; then
7160 if test x"$enablestring" = xdisable; then
7161 defaultval=yes
7162 else
7163 defaultval=no
7164 fi
7165 fi
7166
7167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7168 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7169 # Check whether --enable-geometry was given.
7170 if test "${enable_geometry+set}" = set; then
7171 enableval=$enable_geometry;
7172 if test "$enableval" = yes; then
7173 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7174 else
7175 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7176 fi
7177
7178 else
7179
7180 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7181
7182 fi
7183
7184
7185 eval "$wx_cv_use_geometry"
7186
7187 if test x"$enablestring" = xdisable; then
7188 if test $wxUSE_GEOMETRY = no; then
7189 result=yes
7190 else
7191 result=no
7192 fi
7193 else
7194 result=$wxUSE_GEOMETRY
7195 fi
7196
7197 { echo "$as_me:$LINENO: result: $result" >&5
7198 echo "${ECHO_T}$result" >&6; }
7199
7200
7201 enablestring=
7202 defaultval=$wxUSE_ALL_FEATURES
7203 if test -z "$defaultval"; then
7204 if test x"$enablestring" = xdisable; then
7205 defaultval=yes
7206 else
7207 defaultval=no
7208 fi
7209 fi
7210
7211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7212 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7213 # Check whether --enable-log was given.
7214 if test "${enable_log+set}" = set; then
7215 enableval=$enable_log;
7216 if test "$enableval" = yes; then
7217 wx_cv_use_log='wxUSE_LOG=yes'
7218 else
7219 wx_cv_use_log='wxUSE_LOG=no'
7220 fi
7221
7222 else
7223
7224 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7225
7226 fi
7227
7228
7229 eval "$wx_cv_use_log"
7230
7231 if test x"$enablestring" = xdisable; then
7232 if test $wxUSE_LOG = no; then
7233 result=yes
7234 else
7235 result=no
7236 fi
7237 else
7238 result=$wxUSE_LOG
7239 fi
7240
7241 { echo "$as_me:$LINENO: result: $result" >&5
7242 echo "${ECHO_T}$result" >&6; }
7243
7244
7245 enablestring=
7246 defaultval=$wxUSE_ALL_FEATURES
7247 if test -z "$defaultval"; then
7248 if test x"$enablestring" = xdisable; then
7249 defaultval=yes
7250 else
7251 defaultval=no
7252 fi
7253 fi
7254
7255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7257 # Check whether --enable-longlong was given.
7258 if test "${enable_longlong+set}" = set; then
7259 enableval=$enable_longlong;
7260 if test "$enableval" = yes; then
7261 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7262 else
7263 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7264 fi
7265
7266 else
7267
7268 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7269
7270 fi
7271
7272
7273 eval "$wx_cv_use_longlong"
7274
7275 if test x"$enablestring" = xdisable; then
7276 if test $wxUSE_LONGLONG = no; then
7277 result=yes
7278 else
7279 result=no
7280 fi
7281 else
7282 result=$wxUSE_LONGLONG
7283 fi
7284
7285 { echo "$as_me:$LINENO: result: $result" >&5
7286 echo "${ECHO_T}$result" >&6; }
7287
7288
7289 enablestring=
7290 defaultval=$wxUSE_ALL_FEATURES
7291 if test -z "$defaultval"; then
7292 if test x"$enablestring" = xdisable; then
7293 defaultval=yes
7294 else
7295 defaultval=no
7296 fi
7297 fi
7298
7299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7301 # Check whether --enable-mimetype was given.
7302 if test "${enable_mimetype+set}" = set; then
7303 enableval=$enable_mimetype;
7304 if test "$enableval" = yes; then
7305 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7306 else
7307 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7308 fi
7309
7310 else
7311
7312 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7313
7314 fi
7315
7316
7317 eval "$wx_cv_use_mimetype"
7318
7319 if test x"$enablestring" = xdisable; then
7320 if test $wxUSE_MIMETYPE = no; then
7321 result=yes
7322 else
7323 result=no
7324 fi
7325 else
7326 result=$wxUSE_MIMETYPE
7327 fi
7328
7329 { echo "$as_me:$LINENO: result: $result" >&5
7330 echo "${ECHO_T}$result" >&6; }
7331
7332
7333 enablestring=
7334 defaultval=$wxUSE_ALL_FEATURES
7335 if test -z "$defaultval"; then
7336 if test x"$enablestring" = xdisable; then
7337 defaultval=yes
7338 else
7339 defaultval=no
7340 fi
7341 fi
7342
7343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7345 # Check whether --enable-printfposparam was given.
7346 if test "${enable_printfposparam+set}" = set; then
7347 enableval=$enable_printfposparam;
7348 if test "$enableval" = yes; then
7349 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7350 else
7351 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7352 fi
7353
7354 else
7355
7356 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7357
7358 fi
7359
7360
7361 eval "$wx_cv_use_printfposparam"
7362
7363 if test x"$enablestring" = xdisable; then
7364 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7365 result=yes
7366 else
7367 result=no
7368 fi
7369 else
7370 result=$wxUSE_PRINTF_POS_PARAMS
7371 fi
7372
7373 { echo "$as_me:$LINENO: result: $result" >&5
7374 echo "${ECHO_T}$result" >&6; }
7375
7376
7377 enablestring=
7378 defaultval=$wxUSE_ALL_FEATURES
7379 if test -z "$defaultval"; then
7380 if test x"$enablestring" = xdisable; then
7381 defaultval=yes
7382 else
7383 defaultval=no
7384 fi
7385 fi
7386
7387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7388 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7389 # Check whether --enable-snglinst was given.
7390 if test "${enable_snglinst+set}" = set; then
7391 enableval=$enable_snglinst;
7392 if test "$enableval" = yes; then
7393 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7394 else
7395 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7396 fi
7397
7398 else
7399
7400 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7401
7402 fi
7403
7404
7405 eval "$wx_cv_use_snglinst"
7406
7407 if test x"$enablestring" = xdisable; then
7408 if test $wxUSE_SNGLINST_CHECKER = no; then
7409 result=yes
7410 else
7411 result=no
7412 fi
7413 else
7414 result=$wxUSE_SNGLINST_CHECKER
7415 fi
7416
7417 { echo "$as_me:$LINENO: result: $result" >&5
7418 echo "${ECHO_T}$result" >&6; }
7419
7420
7421 enablestring=
7422 defaultval=$wxUSE_ALL_FEATURES
7423 if test -z "$defaultval"; then
7424 if test x"$enablestring" = xdisable; then
7425 defaultval=yes
7426 else
7427 defaultval=no
7428 fi
7429 fi
7430
7431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7432 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7433 # Check whether --enable-sound was given.
7434 if test "${enable_sound+set}" = set; then
7435 enableval=$enable_sound;
7436 if test "$enableval" = yes; then
7437 wx_cv_use_sound='wxUSE_SOUND=yes'
7438 else
7439 wx_cv_use_sound='wxUSE_SOUND=no'
7440 fi
7441
7442 else
7443
7444 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7445
7446 fi
7447
7448
7449 eval "$wx_cv_use_sound"
7450
7451 if test x"$enablestring" = xdisable; then
7452 if test $wxUSE_SOUND = no; then
7453 result=yes
7454 else
7455 result=no
7456 fi
7457 else
7458 result=$wxUSE_SOUND
7459 fi
7460
7461 { echo "$as_me:$LINENO: result: $result" >&5
7462 echo "${ECHO_T}$result" >&6; }
7463
7464
7465 enablestring=
7466 defaultval=$wxUSE_ALL_FEATURES
7467 if test -z "$defaultval"; then
7468 if test x"$enablestring" = xdisable; then
7469 defaultval=yes
7470 else
7471 defaultval=no
7472 fi
7473 fi
7474
7475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7476 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7477 # Check whether --enable-stdpaths was given.
7478 if test "${enable_stdpaths+set}" = set; then
7479 enableval=$enable_stdpaths;
7480 if test "$enableval" = yes; then
7481 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7482 else
7483 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7484 fi
7485
7486 else
7487
7488 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7489
7490 fi
7491
7492
7493 eval "$wx_cv_use_stdpaths"
7494
7495 if test x"$enablestring" = xdisable; then
7496 if test $wxUSE_STDPATHS = no; then
7497 result=yes
7498 else
7499 result=no
7500 fi
7501 else
7502 result=$wxUSE_STDPATHS
7503 fi
7504
7505 { echo "$as_me:$LINENO: result: $result" >&5
7506 echo "${ECHO_T}$result" >&6; }
7507
7508
7509 enablestring=
7510 defaultval=$wxUSE_ALL_FEATURES
7511 if test -z "$defaultval"; then
7512 if test x"$enablestring" = xdisable; then
7513 defaultval=yes
7514 else
7515 defaultval=no
7516 fi
7517 fi
7518
7519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7521 # Check whether --enable-stopwatch was given.
7522 if test "${enable_stopwatch+set}" = set; then
7523 enableval=$enable_stopwatch;
7524 if test "$enableval" = yes; then
7525 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7526 else
7527 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7528 fi
7529
7530 else
7531
7532 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7533
7534 fi
7535
7536
7537 eval "$wx_cv_use_stopwatch"
7538
7539 if test x"$enablestring" = xdisable; then
7540 if test $wxUSE_STOPWATCH = no; then
7541 result=yes
7542 else
7543 result=no
7544 fi
7545 else
7546 result=$wxUSE_STOPWATCH
7547 fi
7548
7549 { echo "$as_me:$LINENO: result: $result" >&5
7550 echo "${ECHO_T}$result" >&6; }
7551
7552
7553 enablestring=
7554 defaultval=$wxUSE_ALL_FEATURES
7555 if test -z "$defaultval"; then
7556 if test x"$enablestring" = xdisable; then
7557 defaultval=yes
7558 else
7559 defaultval=no
7560 fi
7561 fi
7562
7563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7564 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7565 # Check whether --enable-streams was given.
7566 if test "${enable_streams+set}" = set; then
7567 enableval=$enable_streams;
7568 if test "$enableval" = yes; then
7569 wx_cv_use_streams='wxUSE_STREAMS=yes'
7570 else
7571 wx_cv_use_streams='wxUSE_STREAMS=no'
7572 fi
7573
7574 else
7575
7576 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7577
7578 fi
7579
7580
7581 eval "$wx_cv_use_streams"
7582
7583 if test x"$enablestring" = xdisable; then
7584 if test $wxUSE_STREAMS = no; then
7585 result=yes
7586 else
7587 result=no
7588 fi
7589 else
7590 result=$wxUSE_STREAMS
7591 fi
7592
7593 { echo "$as_me:$LINENO: result: $result" >&5
7594 echo "${ECHO_T}$result" >&6; }
7595
7596
7597 enablestring=
7598 defaultval=$wxUSE_ALL_FEATURES
7599 if test -z "$defaultval"; then
7600 if test x"$enablestring" = xdisable; then
7601 defaultval=yes
7602 else
7603 defaultval=no
7604 fi
7605 fi
7606
7607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7609 # Check whether --enable-system_options was given.
7610 if test "${enable_system_options+set}" = set; then
7611 enableval=$enable_system_options;
7612 if test "$enableval" = yes; then
7613 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7614 else
7615 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7616 fi
7617
7618 else
7619
7620 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7621
7622 fi
7623
7624
7625 eval "$wx_cv_use_system_options"
7626
7627 if test x"$enablestring" = xdisable; then
7628 if test $wxUSE_SYSTEM_OPTIONS = no; then
7629 result=yes
7630 else
7631 result=no
7632 fi
7633 else
7634 result=$wxUSE_SYSTEM_OPTIONS
7635 fi
7636
7637 { echo "$as_me:$LINENO: result: $result" >&5
7638 echo "${ECHO_T}$result" >&6; }
7639
7640
7641 enablestring=
7642 defaultval=$wxUSE_ALL_FEATURES
7643 if test -z "$defaultval"; then
7644 if test x"$enablestring" = xdisable; then
7645 defaultval=yes
7646 else
7647 defaultval=no
7648 fi
7649 fi
7650
7651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7652 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7653 # Check whether --enable-tarstream was given.
7654 if test "${enable_tarstream+set}" = set; then
7655 enableval=$enable_tarstream;
7656 if test "$enableval" = yes; then
7657 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7658 else
7659 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7660 fi
7661
7662 else
7663
7664 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7665
7666 fi
7667
7668
7669 eval "$wx_cv_use_tarstream"
7670
7671 if test x"$enablestring" = xdisable; then
7672 if test $wxUSE_TARSTREAM = no; then
7673 result=yes
7674 else
7675 result=no
7676 fi
7677 else
7678 result=$wxUSE_TARSTREAM
7679 fi
7680
7681 { echo "$as_me:$LINENO: result: $result" >&5
7682 echo "${ECHO_T}$result" >&6; }
7683
7684
7685 enablestring=
7686 defaultval=$wxUSE_ALL_FEATURES
7687 if test -z "$defaultval"; then
7688 if test x"$enablestring" = xdisable; then
7689 defaultval=yes
7690 else
7691 defaultval=no
7692 fi
7693 fi
7694
7695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7696 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7697 # Check whether --enable-textbuf was given.
7698 if test "${enable_textbuf+set}" = set; then
7699 enableval=$enable_textbuf;
7700 if test "$enableval" = yes; then
7701 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7702 else
7703 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7704 fi
7705
7706 else
7707
7708 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7709
7710 fi
7711
7712
7713 eval "$wx_cv_use_textbuf"
7714
7715 if test x"$enablestring" = xdisable; then
7716 if test $wxUSE_TEXTBUFFER = no; then
7717 result=yes
7718 else
7719 result=no
7720 fi
7721 else
7722 result=$wxUSE_TEXTBUFFER
7723 fi
7724
7725 { echo "$as_me:$LINENO: result: $result" >&5
7726 echo "${ECHO_T}$result" >&6; }
7727
7728
7729 enablestring=
7730 defaultval=$wxUSE_ALL_FEATURES
7731 if test -z "$defaultval"; then
7732 if test x"$enablestring" = xdisable; then
7733 defaultval=yes
7734 else
7735 defaultval=no
7736 fi
7737 fi
7738
7739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7740 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7741 # Check whether --enable-textfile was given.
7742 if test "${enable_textfile+set}" = set; then
7743 enableval=$enable_textfile;
7744 if test "$enableval" = yes; then
7745 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7746 else
7747 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7748 fi
7749
7750 else
7751
7752 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7753
7754 fi
7755
7756
7757 eval "$wx_cv_use_textfile"
7758
7759 if test x"$enablestring" = xdisable; then
7760 if test $wxUSE_TEXTFILE = no; then
7761 result=yes
7762 else
7763 result=no
7764 fi
7765 else
7766 result=$wxUSE_TEXTFILE
7767 fi
7768
7769 { echo "$as_me:$LINENO: result: $result" >&5
7770 echo "${ECHO_T}$result" >&6; }
7771
7772
7773 enablestring=
7774 defaultval=$wxUSE_ALL_FEATURES
7775 if test -z "$defaultval"; then
7776 if test x"$enablestring" = xdisable; then
7777 defaultval=yes
7778 else
7779 defaultval=no
7780 fi
7781 fi
7782
7783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7784 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7785 # Check whether --enable-timer was given.
7786 if test "${enable_timer+set}" = set; then
7787 enableval=$enable_timer;
7788 if test "$enableval" = yes; then
7789 wx_cv_use_timer='wxUSE_TIMER=yes'
7790 else
7791 wx_cv_use_timer='wxUSE_TIMER=no'
7792 fi
7793
7794 else
7795
7796 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7797
7798 fi
7799
7800
7801 eval "$wx_cv_use_timer"
7802
7803 if test x"$enablestring" = xdisable; then
7804 if test $wxUSE_TIMER = no; then
7805 result=yes
7806 else
7807 result=no
7808 fi
7809 else
7810 result=$wxUSE_TIMER
7811 fi
7812
7813 { echo "$as_me:$LINENO: result: $result" >&5
7814 echo "${ECHO_T}$result" >&6; }
7815
7816
7817 enablestring=
7818 defaultval=$wxUSE_ALL_FEATURES
7819 if test -z "$defaultval"; then
7820 if test x"$enablestring" = xdisable; then
7821 defaultval=yes
7822 else
7823 defaultval=no
7824 fi
7825 fi
7826
7827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7828 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7829 # Check whether --enable-variant was given.
7830 if test "${enable_variant+set}" = set; then
7831 enableval=$enable_variant;
7832 if test "$enableval" = yes; then
7833 wx_cv_use_variant='wxUSE_VARIANT=yes'
7834 else
7835 wx_cv_use_variant='wxUSE_VARIANT=no'
7836 fi
7837
7838 else
7839
7840 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7841
7842 fi
7843
7844
7845 eval "$wx_cv_use_variant"
7846
7847 if test x"$enablestring" = xdisable; then
7848 if test $wxUSE_VARIANT = no; then
7849 result=yes
7850 else
7851 result=no
7852 fi
7853 else
7854 result=$wxUSE_VARIANT
7855 fi
7856
7857 { echo "$as_me:$LINENO: result: $result" >&5
7858 echo "${ECHO_T}$result" >&6; }
7859
7860
7861 enablestring=
7862 defaultval=$wxUSE_ALL_FEATURES
7863 if test -z "$defaultval"; then
7864 if test x"$enablestring" = xdisable; then
7865 defaultval=yes
7866 else
7867 defaultval=no
7868 fi
7869 fi
7870
7871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7873 # Check whether --enable-zipstream was given.
7874 if test "${enable_zipstream+set}" = set; then
7875 enableval=$enable_zipstream;
7876 if test "$enableval" = yes; then
7877 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7878 else
7879 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7880 fi
7881
7882 else
7883
7884 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7885
7886 fi
7887
7888
7889 eval "$wx_cv_use_zipstream"
7890
7891 if test x"$enablestring" = xdisable; then
7892 if test $wxUSE_ZIPSTREAM = no; then
7893 result=yes
7894 else
7895 result=no
7896 fi
7897 else
7898 result=$wxUSE_ZIPSTREAM
7899 fi
7900
7901 { echo "$as_me:$LINENO: result: $result" >&5
7902 echo "${ECHO_T}$result" >&6; }
7903
7904
7905
7906 enablestring=
7907 defaultval=$wxUSE_ALL_FEATURES
7908 if test -z "$defaultval"; then
7909 if test x"$enablestring" = xdisable; then
7910 defaultval=yes
7911 else
7912 defaultval=no
7913 fi
7914 fi
7915
7916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7918 # Check whether --enable-url was given.
7919 if test "${enable_url+set}" = set; then
7920 enableval=$enable_url;
7921 if test "$enableval" = yes; then
7922 wx_cv_use_url='wxUSE_URL=yes'
7923 else
7924 wx_cv_use_url='wxUSE_URL=no'
7925 fi
7926
7927 else
7928
7929 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7930
7931 fi
7932
7933
7934 eval "$wx_cv_use_url"
7935
7936 if test x"$enablestring" = xdisable; then
7937 if test $wxUSE_URL = no; then
7938 result=yes
7939 else
7940 result=no
7941 fi
7942 else
7943 result=$wxUSE_URL
7944 fi
7945
7946 { echo "$as_me:$LINENO: result: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7948
7949
7950 enablestring=
7951 defaultval=$wxUSE_ALL_FEATURES
7952 if test -z "$defaultval"; then
7953 if test x"$enablestring" = xdisable; then
7954 defaultval=yes
7955 else
7956 defaultval=no
7957 fi
7958 fi
7959
7960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7962 # Check whether --enable-protocol was given.
7963 if test "${enable_protocol+set}" = set; then
7964 enableval=$enable_protocol;
7965 if test "$enableval" = yes; then
7966 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7967 else
7968 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7969 fi
7970
7971 else
7972
7973 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7974
7975 fi
7976
7977
7978 eval "$wx_cv_use_protocol"
7979
7980 if test x"$enablestring" = xdisable; then
7981 if test $wxUSE_PROTOCOL = no; then
7982 result=yes
7983 else
7984 result=no
7985 fi
7986 else
7987 result=$wxUSE_PROTOCOL
7988 fi
7989
7990 { echo "$as_me:$LINENO: result: $result" >&5
7991 echo "${ECHO_T}$result" >&6; }
7992
7993
7994 enablestring=
7995 defaultval=$wxUSE_ALL_FEATURES
7996 if test -z "$defaultval"; then
7997 if test x"$enablestring" = xdisable; then
7998 defaultval=yes
7999 else
8000 defaultval=no
8001 fi
8002 fi
8003
8004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8006 # Check whether --enable-protocol_http was given.
8007 if test "${enable_protocol_http+set}" = set; then
8008 enableval=$enable_protocol_http;
8009 if test "$enableval" = yes; then
8010 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8011 else
8012 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8013 fi
8014
8015 else
8016
8017 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8018
8019 fi
8020
8021
8022 eval "$wx_cv_use_protocol_http"
8023
8024 if test x"$enablestring" = xdisable; then
8025 if test $wxUSE_PROTOCOL_HTTP = no; then
8026 result=yes
8027 else
8028 result=no
8029 fi
8030 else
8031 result=$wxUSE_PROTOCOL_HTTP
8032 fi
8033
8034 { echo "$as_me:$LINENO: result: $result" >&5
8035 echo "${ECHO_T}$result" >&6; }
8036
8037
8038 enablestring=
8039 defaultval=$wxUSE_ALL_FEATURES
8040 if test -z "$defaultval"; then
8041 if test x"$enablestring" = xdisable; then
8042 defaultval=yes
8043 else
8044 defaultval=no
8045 fi
8046 fi
8047
8048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8050 # Check whether --enable-protocol_ftp was given.
8051 if test "${enable_protocol_ftp+set}" = set; then
8052 enableval=$enable_protocol_ftp;
8053 if test "$enableval" = yes; then
8054 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8055 else
8056 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8057 fi
8058
8059 else
8060
8061 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8062
8063 fi
8064
8065
8066 eval "$wx_cv_use_protocol_ftp"
8067
8068 if test x"$enablestring" = xdisable; then
8069 if test $wxUSE_PROTOCOL_FTP = no; then
8070 result=yes
8071 else
8072 result=no
8073 fi
8074 else
8075 result=$wxUSE_PROTOCOL_FTP
8076 fi
8077
8078 { echo "$as_me:$LINENO: result: $result" >&5
8079 echo "${ECHO_T}$result" >&6; }
8080
8081
8082 enablestring=
8083 defaultval=$wxUSE_ALL_FEATURES
8084 if test -z "$defaultval"; then
8085 if test x"$enablestring" = xdisable; then
8086 defaultval=yes
8087 else
8088 defaultval=no
8089 fi
8090 fi
8091
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8094 # Check whether --enable-protocol_file was given.
8095 if test "${enable_protocol_file+set}" = set; then
8096 enableval=$enable_protocol_file;
8097 if test "$enableval" = yes; then
8098 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8099 else
8100 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8101 fi
8102
8103 else
8104
8105 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8106
8107 fi
8108
8109
8110 eval "$wx_cv_use_protocol_file"
8111
8112 if test x"$enablestring" = xdisable; then
8113 if test $wxUSE_PROTOCOL_FILE = no; then
8114 result=yes
8115 else
8116 result=no
8117 fi
8118 else
8119 result=$wxUSE_PROTOCOL_FILE
8120 fi
8121
8122 { echo "$as_me:$LINENO: result: $result" >&5
8123 echo "${ECHO_T}$result" >&6; }
8124
8125
8126
8127 enablestring=
8128 defaultval=$wxUSE_ALL_FEATURES
8129 if test -z "$defaultval"; then
8130 if test x"$enablestring" = xdisable; then
8131 defaultval=yes
8132 else
8133 defaultval=no
8134 fi
8135 fi
8136
8137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8138 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8139 # Check whether --enable-threads was given.
8140 if test "${enable_threads+set}" = set; then
8141 enableval=$enable_threads;
8142 if test "$enableval" = yes; then
8143 wx_cv_use_threads='wxUSE_THREADS=yes'
8144 else
8145 wx_cv_use_threads='wxUSE_THREADS=no'
8146 fi
8147
8148 else
8149
8150 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8151
8152 fi
8153
8154
8155 eval "$wx_cv_use_threads"
8156
8157 if test x"$enablestring" = xdisable; then
8158 if test $wxUSE_THREADS = no; then
8159 result=yes
8160 else
8161 result=no
8162 fi
8163 else
8164 result=$wxUSE_THREADS
8165 fi
8166
8167 { echo "$as_me:$LINENO: result: $result" >&5
8168 echo "${ECHO_T}$result" >&6; }
8169
8170
8171
8172 enablestring=
8173 defaultval=
8174 if test -z "$defaultval"; then
8175 if test x"$enablestring" = xdisable; then
8176 defaultval=yes
8177 else
8178 defaultval=no
8179 fi
8180 fi
8181
8182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8184 # Check whether --enable-iniconf was given.
8185 if test "${enable_iniconf+set}" = set; then
8186 enableval=$enable_iniconf;
8187 if test "$enableval" = yes; then
8188 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8189 else
8190 wx_cv_use_iniconf='wxUSE_INICONF=no'
8191 fi
8192
8193 else
8194
8195 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8196
8197 fi
8198
8199
8200 eval "$wx_cv_use_iniconf"
8201
8202 if test x"$enablestring" = xdisable; then
8203 if test $wxUSE_INICONF = no; then
8204 result=yes
8205 else
8206 result=no
8207 fi
8208 else
8209 result=$wxUSE_INICONF
8210 fi
8211
8212 { echo "$as_me:$LINENO: result: $result" >&5
8213 echo "${ECHO_T}$result" >&6; }
8214
8215
8216 enablestring=
8217 defaultval=$wxUSE_ALL_FEATURES
8218 if test -z "$defaultval"; then
8219 if test x"$enablestring" = xdisable; then
8220 defaultval=yes
8221 else
8222 defaultval=no
8223 fi
8224 fi
8225
8226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8227 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8228 # Check whether --enable-regkey was given.
8229 if test "${enable_regkey+set}" = set; then
8230 enableval=$enable_regkey;
8231 if test "$enableval" = yes; then
8232 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8233 else
8234 wx_cv_use_regkey='wxUSE_REGKEY=no'
8235 fi
8236
8237 else
8238
8239 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8240
8241 fi
8242
8243
8244 eval "$wx_cv_use_regkey"
8245
8246 if test x"$enablestring" = xdisable; then
8247 if test $wxUSE_REGKEY = no; then
8248 result=yes
8249 else
8250 result=no
8251 fi
8252 else
8253 result=$wxUSE_REGKEY
8254 fi
8255
8256 { echo "$as_me:$LINENO: result: $result" >&5
8257 echo "${ECHO_T}$result" >&6; }
8258
8259
8260 if test "$wxUSE_GUI" = "yes"; then
8261
8262
8263
8264 enablestring=
8265 defaultval=$wxUSE_ALL_FEATURES
8266 if test -z "$defaultval"; then
8267 if test x"$enablestring" = xdisable; then
8268 defaultval=yes
8269 else
8270 defaultval=no
8271 fi
8272 fi
8273
8274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8275 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8276 # Check whether --enable-docview was given.
8277 if test "${enable_docview+set}" = set; then
8278 enableval=$enable_docview;
8279 if test "$enableval" = yes; then
8280 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8281 else
8282 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8283 fi
8284
8285 else
8286
8287 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8288
8289 fi
8290
8291
8292 eval "$wx_cv_use_docview"
8293
8294 if test x"$enablestring" = xdisable; then
8295 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8296 result=yes
8297 else
8298 result=no
8299 fi
8300 else
8301 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8302 fi
8303
8304 { echo "$as_me:$LINENO: result: $result" >&5
8305 echo "${ECHO_T}$result" >&6; }
8306
8307
8308 enablestring=
8309 defaultval=$wxUSE_ALL_FEATURES
8310 if test -z "$defaultval"; then
8311 if test x"$enablestring" = xdisable; then
8312 defaultval=yes
8313 else
8314 defaultval=no
8315 fi
8316 fi
8317
8318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8320 # Check whether --enable-help was given.
8321 if test "${enable_help+set}" = set; then
8322 enableval=$enable_help;
8323 if test "$enableval" = yes; then
8324 wx_cv_use_help='wxUSE_HELP=yes'
8325 else
8326 wx_cv_use_help='wxUSE_HELP=no'
8327 fi
8328
8329 else
8330
8331 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8332
8333 fi
8334
8335
8336 eval "$wx_cv_use_help"
8337
8338 if test x"$enablestring" = xdisable; then
8339 if test $wxUSE_HELP = no; then
8340 result=yes
8341 else
8342 result=no
8343 fi
8344 else
8345 result=$wxUSE_HELP
8346 fi
8347
8348 { echo "$as_me:$LINENO: result: $result" >&5
8349 echo "${ECHO_T}$result" >&6; }
8350
8351
8352 enablestring=
8353 defaultval=$wxUSE_ALL_FEATURES
8354 if test -z "$defaultval"; then
8355 if test x"$enablestring" = xdisable; then
8356 defaultval=yes
8357 else
8358 defaultval=no
8359 fi
8360 fi
8361
8362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8363 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8364 # Check whether --enable-mshtmlhelp was given.
8365 if test "${enable_mshtmlhelp+set}" = set; then
8366 enableval=$enable_mshtmlhelp;
8367 if test "$enableval" = yes; then
8368 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8369 else
8370 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8371 fi
8372
8373 else
8374
8375 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8376
8377 fi
8378
8379
8380 eval "$wx_cv_use_mshtmlhelp"
8381
8382 if test x"$enablestring" = xdisable; then
8383 if test $wxUSE_MS_HTML_HELP = no; then
8384 result=yes
8385 else
8386 result=no
8387 fi
8388 else
8389 result=$wxUSE_MS_HTML_HELP
8390 fi
8391
8392 { echo "$as_me:$LINENO: result: $result" >&5
8393 echo "${ECHO_T}$result" >&6; }
8394
8395
8396 enablestring=
8397 defaultval=$wxUSE_ALL_FEATURES
8398 if test -z "$defaultval"; then
8399 if test x"$enablestring" = xdisable; then
8400 defaultval=yes
8401 else
8402 defaultval=no
8403 fi
8404 fi
8405
8406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8407 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8408 # Check whether --enable-html was given.
8409 if test "${enable_html+set}" = set; then
8410 enableval=$enable_html;
8411 if test "$enableval" = yes; then
8412 wx_cv_use_html='wxUSE_HTML=yes'
8413 else
8414 wx_cv_use_html='wxUSE_HTML=no'
8415 fi
8416
8417 else
8418
8419 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8420
8421 fi
8422
8423
8424 eval "$wx_cv_use_html"
8425
8426 if test x"$enablestring" = xdisable; then
8427 if test $wxUSE_HTML = no; then
8428 result=yes
8429 else
8430 result=no
8431 fi
8432 else
8433 result=$wxUSE_HTML
8434 fi
8435
8436 { echo "$as_me:$LINENO: result: $result" >&5
8437 echo "${ECHO_T}$result" >&6; }
8438
8439
8440 enablestring=
8441 defaultval=$wxUSE_ALL_FEATURES
8442 if test -z "$defaultval"; then
8443 if test x"$enablestring" = xdisable; then
8444 defaultval=yes
8445 else
8446 defaultval=no
8447 fi
8448 fi
8449
8450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8452 # Check whether --enable-htmlhelp was given.
8453 if test "${enable_htmlhelp+set}" = set; then
8454 enableval=$enable_htmlhelp;
8455 if test "$enableval" = yes; then
8456 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8457 else
8458 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8459 fi
8460
8461 else
8462
8463 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8464
8465 fi
8466
8467
8468 eval "$wx_cv_use_htmlhelp"
8469
8470 if test x"$enablestring" = xdisable; then
8471 if test $wxUSE_WXHTML_HELP = no; then
8472 result=yes
8473 else
8474 result=no
8475 fi
8476 else
8477 result=$wxUSE_WXHTML_HELP
8478 fi
8479
8480 { echo "$as_me:$LINENO: result: $result" >&5
8481 echo "${ECHO_T}$result" >&6; }
8482
8483
8484 enablestring=
8485 defaultval=$wxUSE_ALL_FEATURES
8486 if test -z "$defaultval"; then
8487 if test x"$enablestring" = xdisable; then
8488 defaultval=yes
8489 else
8490 defaultval=no
8491 fi
8492 fi
8493
8494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8495 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8496 # Check whether --enable-xrc was given.
8497 if test "${enable_xrc+set}" = set; then
8498 enableval=$enable_xrc;
8499 if test "$enableval" = yes; then
8500 wx_cv_use_xrc='wxUSE_XRC=yes'
8501 else
8502 wx_cv_use_xrc='wxUSE_XRC=no'
8503 fi
8504
8505 else
8506
8507 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8508
8509 fi
8510
8511
8512 eval "$wx_cv_use_xrc"
8513
8514 if test x"$enablestring" = xdisable; then
8515 if test $wxUSE_XRC = no; then
8516 result=yes
8517 else
8518 result=no
8519 fi
8520 else
8521 result=$wxUSE_XRC
8522 fi
8523
8524 { echo "$as_me:$LINENO: result: $result" >&5
8525 echo "${ECHO_T}$result" >&6; }
8526
8527
8528 enablestring=
8529 defaultval=$wxUSE_ALL_FEATURES
8530 if test -z "$defaultval"; then
8531 if test x"$enablestring" = xdisable; then
8532 defaultval=yes
8533 else
8534 defaultval=no
8535 fi
8536 fi
8537
8538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8539 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8540 # Check whether --enable-aui was given.
8541 if test "${enable_aui+set}" = set; then
8542 enableval=$enable_aui;
8543 if test "$enableval" = yes; then
8544 wx_cv_use_aui='wxUSE_AUI=yes'
8545 else
8546 wx_cv_use_aui='wxUSE_AUI=no'
8547 fi
8548
8549 else
8550
8551 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8552
8553 fi
8554
8555
8556 eval "$wx_cv_use_aui"
8557
8558 if test x"$enablestring" = xdisable; then
8559 if test $wxUSE_AUI = no; then
8560 result=yes
8561 else
8562 result=no
8563 fi
8564 else
8565 result=$wxUSE_AUI
8566 fi
8567
8568 { echo "$as_me:$LINENO: result: $result" >&5
8569 echo "${ECHO_T}$result" >&6; }
8570
8571
8572 enablestring=
8573 defaultval=$wxUSE_ALL_FEATURES
8574 if test -z "$defaultval"; then
8575 if test x"$enablestring" = xdisable; then
8576 defaultval=yes
8577 else
8578 defaultval=no
8579 fi
8580 fi
8581
8582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8583 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8584 # Check whether --enable-propgrid was given.
8585 if test "${enable_propgrid+set}" = set; then
8586 enableval=$enable_propgrid;
8587 if test "$enableval" = yes; then
8588 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8589 else
8590 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8591 fi
8592
8593 else
8594
8595 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8596
8597 fi
8598
8599
8600 eval "$wx_cv_use_propgrid"
8601
8602 if test x"$enablestring" = xdisable; then
8603 if test $wxUSE_PROPGRID = no; then
8604 result=yes
8605 else
8606 result=no
8607 fi
8608 else
8609 result=$wxUSE_PROPGRID
8610 fi
8611
8612 { echo "$as_me:$LINENO: result: $result" >&5
8613 echo "${ECHO_T}$result" >&6; }
8614
8615
8616 enablestring=
8617 defaultval=$wxUSE_ALL_FEATURES
8618 if test -z "$defaultval"; then
8619 if test x"$enablestring" = xdisable; then
8620 defaultval=yes
8621 else
8622 defaultval=no
8623 fi
8624 fi
8625
8626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8627 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8628 # Check whether --enable-ribbon was given.
8629 if test "${enable_ribbon+set}" = set; then
8630 enableval=$enable_ribbon;
8631 if test "$enableval" = yes; then
8632 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8633 else
8634 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8635 fi
8636
8637 else
8638
8639 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8640
8641 fi
8642
8643
8644 eval "$wx_cv_use_ribbon"
8645
8646 if test x"$enablestring" = xdisable; then
8647 if test $wxUSE_RIBBON = no; then
8648 result=yes
8649 else
8650 result=no
8651 fi
8652 else
8653 result=$wxUSE_RIBBON
8654 fi
8655
8656 { echo "$as_me:$LINENO: result: $result" >&5
8657 echo "${ECHO_T}$result" >&6; }
8658
8659
8660 enablestring=
8661 defaultval=$wxUSE_ALL_FEATURES
8662 if test -z "$defaultval"; then
8663 if test x"$enablestring" = xdisable; then
8664 defaultval=yes
8665 else
8666 defaultval=no
8667 fi
8668 fi
8669
8670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8671 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8672 # Check whether --enable-stc was given.
8673 if test "${enable_stc+set}" = set; then
8674 enableval=$enable_stc;
8675 if test "$enableval" = yes; then
8676 wx_cv_use_stc='wxUSE_STC=yes'
8677 else
8678 wx_cv_use_stc='wxUSE_STC=no'
8679 fi
8680
8681 else
8682
8683 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8684
8685 fi
8686
8687
8688 eval "$wx_cv_use_stc"
8689
8690 if test x"$enablestring" = xdisable; then
8691 if test $wxUSE_STC = no; then
8692 result=yes
8693 else
8694 result=no
8695 fi
8696 else
8697 result=$wxUSE_STC
8698 fi
8699
8700 { echo "$as_me:$LINENO: result: $result" >&5
8701 echo "${ECHO_T}$result" >&6; }
8702
8703
8704 enablestring=
8705 defaultval=$wxUSE_ALL_FEATURES
8706 if test -z "$defaultval"; then
8707 if test x"$enablestring" = xdisable; then
8708 defaultval=yes
8709 else
8710 defaultval=no
8711 fi
8712 fi
8713
8714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8716 # Check whether --enable-constraints was given.
8717 if test "${enable_constraints+set}" = set; then
8718 enableval=$enable_constraints;
8719 if test "$enableval" = yes; then
8720 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8721 else
8722 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8723 fi
8724
8725 else
8726
8727 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8728
8729 fi
8730
8731
8732 eval "$wx_cv_use_constraints"
8733
8734 if test x"$enablestring" = xdisable; then
8735 if test $wxUSE_CONSTRAINTS = no; then
8736 result=yes
8737 else
8738 result=no
8739 fi
8740 else
8741 result=$wxUSE_CONSTRAINTS
8742 fi
8743
8744 { echo "$as_me:$LINENO: result: $result" >&5
8745 echo "${ECHO_T}$result" >&6; }
8746
8747
8748 enablestring=
8749 defaultval=$wxUSE_ALL_FEATURES
8750 if test -z "$defaultval"; then
8751 if test x"$enablestring" = xdisable; then
8752 defaultval=yes
8753 else
8754 defaultval=no
8755 fi
8756 fi
8757
8758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8760 # Check whether --enable-loggui was given.
8761 if test "${enable_loggui+set}" = set; then
8762 enableval=$enable_loggui;
8763 if test "$enableval" = yes; then
8764 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8765 else
8766 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8767 fi
8768
8769 else
8770
8771 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8772
8773 fi
8774
8775
8776 eval "$wx_cv_use_loggui"
8777
8778 if test x"$enablestring" = xdisable; then
8779 if test $wxUSE_LOGGUI = no; then
8780 result=yes
8781 else
8782 result=no
8783 fi
8784 else
8785 result=$wxUSE_LOGGUI
8786 fi
8787
8788 { echo "$as_me:$LINENO: result: $result" >&5
8789 echo "${ECHO_T}$result" >&6; }
8790
8791
8792 enablestring=
8793 defaultval=$wxUSE_ALL_FEATURES
8794 if test -z "$defaultval"; then
8795 if test x"$enablestring" = xdisable; then
8796 defaultval=yes
8797 else
8798 defaultval=no
8799 fi
8800 fi
8801
8802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8803 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8804 # Check whether --enable-logwin was given.
8805 if test "${enable_logwin+set}" = set; then
8806 enableval=$enable_logwin;
8807 if test "$enableval" = yes; then
8808 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8809 else
8810 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8811 fi
8812
8813 else
8814
8815 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8816
8817 fi
8818
8819
8820 eval "$wx_cv_use_logwin"
8821
8822 if test x"$enablestring" = xdisable; then
8823 if test $wxUSE_LOGWINDOW = no; then
8824 result=yes
8825 else
8826 result=no
8827 fi
8828 else
8829 result=$wxUSE_LOGWINDOW
8830 fi
8831
8832 { echo "$as_me:$LINENO: result: $result" >&5
8833 echo "${ECHO_T}$result" >&6; }
8834
8835
8836 enablestring=
8837 defaultval=$wxUSE_ALL_FEATURES
8838 if test -z "$defaultval"; then
8839 if test x"$enablestring" = xdisable; then
8840 defaultval=yes
8841 else
8842 defaultval=no
8843 fi
8844 fi
8845
8846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8847 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8848 # Check whether --enable-logdialog was given.
8849 if test "${enable_logdialog+set}" = set; then
8850 enableval=$enable_logdialog;
8851 if test "$enableval" = yes; then
8852 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8853 else
8854 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8855 fi
8856
8857 else
8858
8859 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8860
8861 fi
8862
8863
8864 eval "$wx_cv_use_logdialog"
8865
8866 if test x"$enablestring" = xdisable; then
8867 if test $wxUSE_LOGDIALOG = no; then
8868 result=yes
8869 else
8870 result=no
8871 fi
8872 else
8873 result=$wxUSE_LOGDIALOG
8874 fi
8875
8876 { echo "$as_me:$LINENO: result: $result" >&5
8877 echo "${ECHO_T}$result" >&6; }
8878
8879
8880 enablestring=
8881 defaultval=$wxUSE_ALL_FEATURES
8882 if test -z "$defaultval"; then
8883 if test x"$enablestring" = xdisable; then
8884 defaultval=yes
8885 else
8886 defaultval=no
8887 fi
8888 fi
8889
8890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8891 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8892 # Check whether --enable-mdi was given.
8893 if test "${enable_mdi+set}" = set; then
8894 enableval=$enable_mdi;
8895 if test "$enableval" = yes; then
8896 wx_cv_use_mdi='wxUSE_MDI=yes'
8897 else
8898 wx_cv_use_mdi='wxUSE_MDI=no'
8899 fi
8900
8901 else
8902
8903 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8904
8905 fi
8906
8907
8908 eval "$wx_cv_use_mdi"
8909
8910 if test x"$enablestring" = xdisable; then
8911 if test $wxUSE_MDI = no; then
8912 result=yes
8913 else
8914 result=no
8915 fi
8916 else
8917 result=$wxUSE_MDI
8918 fi
8919
8920 { echo "$as_me:$LINENO: result: $result" >&5
8921 echo "${ECHO_T}$result" >&6; }
8922
8923
8924 enablestring=
8925 defaultval=$wxUSE_ALL_FEATURES
8926 if test -z "$defaultval"; then
8927 if test x"$enablestring" = xdisable; then
8928 defaultval=yes
8929 else
8930 defaultval=no
8931 fi
8932 fi
8933
8934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8936 # Check whether --enable-mdidoc was given.
8937 if test "${enable_mdidoc+set}" = set; then
8938 enableval=$enable_mdidoc;
8939 if test "$enableval" = yes; then
8940 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8941 else
8942 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8943 fi
8944
8945 else
8946
8947 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8948
8949 fi
8950
8951
8952 eval "$wx_cv_use_mdidoc"
8953
8954 if test x"$enablestring" = xdisable; then
8955 if test $wxUSE_MDI_ARCHITECTURE = no; then
8956 result=yes
8957 else
8958 result=no
8959 fi
8960 else
8961 result=$wxUSE_MDI_ARCHITECTURE
8962 fi
8963
8964 { echo "$as_me:$LINENO: result: $result" >&5
8965 echo "${ECHO_T}$result" >&6; }
8966
8967
8968 enablestring=
8969 defaultval=$wxUSE_ALL_FEATURES
8970 if test -z "$defaultval"; then
8971 if test x"$enablestring" = xdisable; then
8972 defaultval=yes
8973 else
8974 defaultval=no
8975 fi
8976 fi
8977
8978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8980 # Check whether --enable-mediactrl was given.
8981 if test "${enable_mediactrl+set}" = set; then
8982 enableval=$enable_mediactrl;
8983 if test "$enableval" = yes; then
8984 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8985 else
8986 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8987 fi
8988
8989 else
8990
8991 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8992
8993 fi
8994
8995
8996 eval "$wx_cv_use_mediactrl"
8997
8998 if test x"$enablestring" = xdisable; then
8999 if test $wxUSE_MEDIACTRL = no; then
9000 result=yes
9001 else
9002 result=no
9003 fi
9004 else
9005 result=$wxUSE_MEDIACTRL
9006 fi
9007
9008 { echo "$as_me:$LINENO: result: $result" >&5
9009 echo "${ECHO_T}$result" >&6; }
9010
9011
9012 enablestring=
9013 defaultval=$wxUSE_ALL_FEATURES
9014 if test -z "$defaultval"; then
9015 if test x"$enablestring" = xdisable; then
9016 defaultval=yes
9017 else
9018 defaultval=no
9019 fi
9020 fi
9021
9022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9024 # Check whether --enable-gstreamer8 was given.
9025 if test "${enable_gstreamer8+set}" = set; then
9026 enableval=$enable_gstreamer8;
9027 if test "$enableval" = yes; then
9028 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9029 else
9030 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9031 fi
9032
9033 else
9034
9035 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9036
9037 fi
9038
9039
9040 eval "$wx_cv_use_gstreamer8"
9041
9042 if test x"$enablestring" = xdisable; then
9043 if test $wxUSE_GSTREAMER8 = no; then
9044 result=yes
9045 else
9046 result=no
9047 fi
9048 else
9049 result=$wxUSE_GSTREAMER8
9050 fi
9051
9052 { echo "$as_me:$LINENO: result: $result" >&5
9053 echo "${ECHO_T}$result" >&6; }
9054
9055
9056 enablestring=
9057 defaultval=$wxUSE_ALL_FEATURES
9058 if test -z "$defaultval"; then
9059 if test x"$enablestring" = xdisable; then
9060 defaultval=yes
9061 else
9062 defaultval=no
9063 fi
9064 fi
9065
9066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9068 # Check whether --enable-webkit was given.
9069 if test "${enable_webkit+set}" = set; then
9070 enableval=$enable_webkit;
9071 if test "$enableval" = yes; then
9072 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9073 else
9074 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9075 fi
9076
9077 else
9078
9079 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9080
9081 fi
9082
9083
9084 eval "$wx_cv_use_webkit"
9085
9086 if test x"$enablestring" = xdisable; then
9087 if test $wxUSE_WEBKIT = no; then
9088 result=yes
9089 else
9090 result=no
9091 fi
9092 else
9093 result=$wxUSE_WEBKIT
9094 fi
9095
9096 { echo "$as_me:$LINENO: result: $result" >&5
9097 echo "${ECHO_T}$result" >&6; }
9098
9099
9100 enablestring=
9101 defaultval=$wxUSE_ALL_FEATURES
9102 if test -z "$defaultval"; then
9103 if test x"$enablestring" = xdisable; then
9104 defaultval=yes
9105 else
9106 defaultval=no
9107 fi
9108 fi
9109
9110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9111 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9112 # Check whether --enable-richtext was given.
9113 if test "${enable_richtext+set}" = set; then
9114 enableval=$enable_richtext;
9115 if test "$enableval" = yes; then
9116 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9117 else
9118 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9119 fi
9120
9121 else
9122
9123 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9124
9125 fi
9126
9127
9128 eval "$wx_cv_use_richtext"
9129
9130 if test x"$enablestring" = xdisable; then
9131 if test $wxUSE_RICHTEXT = no; then
9132 result=yes
9133 else
9134 result=no
9135 fi
9136 else
9137 result=$wxUSE_RICHTEXT
9138 fi
9139
9140 { echo "$as_me:$LINENO: result: $result" >&5
9141 echo "${ECHO_T}$result" >&6; }
9142
9143
9144 enablestring=
9145 defaultval=$wxUSE_ALL_FEATURES
9146 if test -z "$defaultval"; then
9147 if test x"$enablestring" = xdisable; then
9148 defaultval=yes
9149 else
9150 defaultval=no
9151 fi
9152 fi
9153
9154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9155 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9156 # Check whether --enable-graphics_ctx was given.
9157 if test "${enable_graphics_ctx+set}" = set; then
9158 enableval=$enable_graphics_ctx;
9159 if test "$enableval" = yes; then
9160 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9161 else
9162 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9163 fi
9164
9165 else
9166
9167 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9168
9169 fi
9170
9171
9172 eval "$wx_cv_use_graphics_ctx"
9173
9174 if test x"$enablestring" = xdisable; then
9175 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9176 result=yes
9177 else
9178 result=no
9179 fi
9180 else
9181 result=$wxUSE_GRAPHICS_CONTEXT
9182 fi
9183
9184 { echo "$as_me:$LINENO: result: $result" >&5
9185 echo "${ECHO_T}$result" >&6; }
9186
9187
9188 enablestring=
9189 defaultval=$wxUSE_ALL_FEATURES
9190 if test -z "$defaultval"; then
9191 if test x"$enablestring" = xdisable; then
9192 defaultval=yes
9193 else
9194 defaultval=no
9195 fi
9196 fi
9197
9198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9199 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9200 # Check whether --enable-postscript was given.
9201 if test "${enable_postscript+set}" = set; then
9202 enableval=$enable_postscript;
9203 if test "$enableval" = yes; then
9204 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9205 else
9206 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9207 fi
9208
9209 else
9210
9211 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9212
9213 fi
9214
9215
9216 eval "$wx_cv_use_postscript"
9217
9218 if test x"$enablestring" = xdisable; then
9219 if test $wxUSE_POSTSCRIPT = no; then
9220 result=yes
9221 else
9222 result=no
9223 fi
9224 else
9225 result=$wxUSE_POSTSCRIPT
9226 fi
9227
9228 { echo "$as_me:$LINENO: result: $result" >&5
9229 echo "${ECHO_T}$result" >&6; }
9230
9231
9232 enablestring=
9233 defaultval=$wxUSE_ALL_FEATURES
9234 if test -z "$defaultval"; then
9235 if test x"$enablestring" = xdisable; then
9236 defaultval=yes
9237 else
9238 defaultval=no
9239 fi
9240 fi
9241
9242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9243 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9244 # Check whether --enable-printarch was given.
9245 if test "${enable_printarch+set}" = set; then
9246 enableval=$enable_printarch;
9247 if test "$enableval" = yes; then
9248 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9249 else
9250 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9251 fi
9252
9253 else
9254
9255 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9256
9257 fi
9258
9259
9260 eval "$wx_cv_use_printarch"
9261
9262 if test x"$enablestring" = xdisable; then
9263 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9264 result=yes
9265 else
9266 result=no
9267 fi
9268 else
9269 result=$wxUSE_PRINTING_ARCHITECTURE
9270 fi
9271
9272 { echo "$as_me:$LINENO: result: $result" >&5
9273 echo "${ECHO_T}$result" >&6; }
9274
9275
9276 enablestring=
9277 defaultval=$wxUSE_ALL_FEATURES
9278 if test -z "$defaultval"; then
9279 if test x"$enablestring" = xdisable; then
9280 defaultval=yes
9281 else
9282 defaultval=no
9283 fi
9284 fi
9285
9286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9287 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9288 # Check whether --enable-svg was given.
9289 if test "${enable_svg+set}" = set; then
9290 enableval=$enable_svg;
9291 if test "$enableval" = yes; then
9292 wx_cv_use_svg='wxUSE_SVG=yes'
9293 else
9294 wx_cv_use_svg='wxUSE_SVG=no'
9295 fi
9296
9297 else
9298
9299 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9300
9301 fi
9302
9303
9304 eval "$wx_cv_use_svg"
9305
9306 if test x"$enablestring" = xdisable; then
9307 if test $wxUSE_SVG = no; then
9308 result=yes
9309 else
9310 result=no
9311 fi
9312 else
9313 result=$wxUSE_SVG
9314 fi
9315
9316 { echo "$as_me:$LINENO: result: $result" >&5
9317 echo "${ECHO_T}$result" >&6; }
9318
9319
9320
9321
9322 enablestring=
9323 defaultval=$wxUSE_ALL_FEATURES
9324 if test -z "$defaultval"; then
9325 if test x"$enablestring" = xdisable; then
9326 defaultval=yes
9327 else
9328 defaultval=no
9329 fi
9330 fi
9331
9332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9333 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9334 # Check whether --enable-clipboard was given.
9335 if test "${enable_clipboard+set}" = set; then
9336 enableval=$enable_clipboard;
9337 if test "$enableval" = yes; then
9338 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9339 else
9340 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9341 fi
9342
9343 else
9344
9345 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9346
9347 fi
9348
9349
9350 eval "$wx_cv_use_clipboard"
9351
9352 if test x"$enablestring" = xdisable; then
9353 if test $wxUSE_CLIPBOARD = no; then
9354 result=yes
9355 else
9356 result=no
9357 fi
9358 else
9359 result=$wxUSE_CLIPBOARD
9360 fi
9361
9362 { echo "$as_me:$LINENO: result: $result" >&5
9363 echo "${ECHO_T}$result" >&6; }
9364
9365
9366 enablestring=
9367 defaultval=$wxUSE_ALL_FEATURES
9368 if test -z "$defaultval"; then
9369 if test x"$enablestring" = xdisable; then
9370 defaultval=yes
9371 else
9372 defaultval=no
9373 fi
9374 fi
9375
9376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9377 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9378 # Check whether --enable-dnd was given.
9379 if test "${enable_dnd+set}" = set; then
9380 enableval=$enable_dnd;
9381 if test "$enableval" = yes; then
9382 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9383 else
9384 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9385 fi
9386
9387 else
9388
9389 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9390
9391 fi
9392
9393
9394 eval "$wx_cv_use_dnd"
9395
9396 if test x"$enablestring" = xdisable; then
9397 if test $wxUSE_DRAG_AND_DROP = no; then
9398 result=yes
9399 else
9400 result=no
9401 fi
9402 else
9403 result=$wxUSE_DRAG_AND_DROP
9404 fi
9405
9406 { echo "$as_me:$LINENO: result: $result" >&5
9407 echo "${ECHO_T}$result" >&6; }
9408
9409
9410 enablestring=
9411 defaultval=$wxUSE_ALL_FEATURES
9412 if test -z "$defaultval"; then
9413 if test x"$enablestring" = xdisable; then
9414 defaultval=yes
9415 else
9416 defaultval=no
9417 fi
9418 fi
9419
9420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9421 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9422 # Check whether --enable-metafile was given.
9423 if test "${enable_metafile+set}" = set; then
9424 enableval=$enable_metafile;
9425 if test "$enableval" = yes; then
9426 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9427 else
9428 wx_cv_use_metafile='wxUSE_METAFILE=no'
9429 fi
9430
9431 else
9432
9433 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9434
9435 fi
9436
9437
9438 eval "$wx_cv_use_metafile"
9439
9440 if test x"$enablestring" = xdisable; then
9441 if test $wxUSE_METAFILE = no; then
9442 result=yes
9443 else
9444 result=no
9445 fi
9446 else
9447 result=$wxUSE_METAFILE
9448 fi
9449
9450 { echo "$as_me:$LINENO: result: $result" >&5
9451 echo "${ECHO_T}$result" >&6; }
9452
9453
9454
9455 DEFAULT_wxUSE_CONTROLS=none
9456
9457 enablestring=disable
9458 defaultval=
9459 if test -z "$defaultval"; then
9460 if test x"$enablestring" = xdisable; then
9461 defaultval=yes
9462 else
9463 defaultval=no
9464 fi
9465 fi
9466
9467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9468 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9469 # Check whether --enable-controls was given.
9470 if test "${enable_controls+set}" = set; then
9471 enableval=$enable_controls;
9472 if test "$enableval" = yes; then
9473 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9474 else
9475 wx_cv_use_controls='wxUSE_CONTROLS=no'
9476 fi
9477
9478 else
9479
9480 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9481
9482 fi
9483
9484
9485 eval "$wx_cv_use_controls"
9486
9487 if test x"$enablestring" = xdisable; then
9488 if test $wxUSE_CONTROLS = no; then
9489 result=yes
9490 else
9491 result=no
9492 fi
9493 else
9494 result=$wxUSE_CONTROLS
9495 fi
9496
9497 { echo "$as_me:$LINENO: result: $result" >&5
9498 echo "${ECHO_T}$result" >&6; }
9499
9500
9501 if test "$wxUSE_CONTROLS" = "no"; then
9502 DEFAULT_wxUSE_ACCEL=no
9503 DEFAULT_wxUSE_ANIMATIONCTRL=no
9504 DEFAULT_wxUSE_BMPBUTTON=no
9505 DEFAULT_wxUSE_BUTTON=no
9506 DEFAULT_wxUSE_CALCTRL=no
9507 DEFAULT_wxUSE_CARET=no
9508 DEFAULT_wxUSE_CHECKBOX=no
9509 DEFAULT_wxUSE_CHECKLISTBOX=no
9510 DEFAULT_wxUSE_CHOICE=no
9511 DEFAULT_wxUSE_CHOICEBOOK=no
9512 DEFAULT_wxUSE_COLLPANE=no
9513 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9514 DEFAULT_wxUSE_COMBOBOX=no
9515 DEFAULT_wxUSE_COMBOBOX=no
9516 DEFAULT_wxUSE_DATAVIEWCTRL=no
9517 DEFAULT_wxUSE_DATEPICKCTRL=no
9518 DEFAULT_wxUSE_DETECT_SM=no
9519 DEFAULT_wxUSE_DIRPICKERCTRL=no
9520 DEFAULT_wxUSE_DISPLAY=no
9521 DEFAULT_wxUSE_FILECTRL=no
9522 DEFAULT_wxUSE_FILEPICKERCTRL=no
9523 DEFAULT_wxUSE_FONTPICKERCTRL=no
9524 DEFAULT_wxUSE_GAUGE=no
9525 DEFAULT_wxUSE_GRID=no
9526 DEFAULT_wxUSE_HEADERCTRL=no
9527 DEFAULT_wxUSE_HYPERLINKCTRL=no
9528 DEFAULT_wxUSE_IMAGLIST=no
9529 DEFAULT_wxUSE_LISTBOOK=no
9530 DEFAULT_wxUSE_LISTBOX=no
9531 DEFAULT_wxUSE_LISTCTRL=no
9532 DEFAULT_wxUSE_NOTEBOOK=no
9533 DEFAULT_wxUSE_POPUPWIN=no
9534 DEFAULT_wxUSE_RADIOBOX=no
9535 DEFAULT_wxUSE_RADIOBTN=no
9536 DEFAULT_wxUSE_REARRANGECTRL=no
9537 DEFAULT_wxUSE_SASH=no
9538 DEFAULT_wxUSE_SCROLLBAR=no
9539 DEFAULT_wxUSE_SEARCHCTRL=no
9540 DEFAULT_wxUSE_SLIDER=no
9541 DEFAULT_wxUSE_SPINBTN=no
9542 DEFAULT_wxUSE_SPINCTRL=no
9543 DEFAULT_wxUSE_SPLITTER=no
9544 DEFAULT_wxUSE_STATBMP=no
9545 DEFAULT_wxUSE_STATBOX=no
9546 DEFAULT_wxUSE_STATLINE=no
9547 DEFAULT_wxUSE_STATUSBAR=no
9548 DEFAULT_wxUSE_TIPWINDOW=no
9549 DEFAULT_wxUSE_TOGGLEBTN=no
9550 DEFAULT_wxUSE_TOOLBAR=no
9551 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9552 DEFAULT_wxUSE_TOOLBOOK=no
9553 DEFAULT_wxUSE_TOOLTIPS=no
9554 DEFAULT_wxUSE_TREEBOOK=no
9555 DEFAULT_wxUSE_TREECTRL=no
9556 fi
9557
9558
9559 enablestring=
9560 defaultval=$wxUSE_ALL_FEATURES
9561 if test -z "$defaultval"; then
9562 if test x"$enablestring" = xdisable; then
9563 defaultval=yes
9564 else
9565 defaultval=no
9566 fi
9567 fi
9568
9569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9570 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9571 # Check whether --enable-accel was given.
9572 if test "${enable_accel+set}" = set; then
9573 enableval=$enable_accel;
9574 if test "$enableval" = yes; then
9575 wx_cv_use_accel='wxUSE_ACCEL=yes'
9576 else
9577 wx_cv_use_accel='wxUSE_ACCEL=no'
9578 fi
9579
9580 else
9581
9582 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9583
9584 fi
9585
9586
9587 eval "$wx_cv_use_accel"
9588
9589 if test x"$enablestring" = xdisable; then
9590 if test $wxUSE_ACCEL = no; then
9591 result=yes
9592 else
9593 result=no
9594 fi
9595 else
9596 result=$wxUSE_ACCEL
9597 fi
9598
9599 { echo "$as_me:$LINENO: result: $result" >&5
9600 echo "${ECHO_T}$result" >&6; }
9601
9602
9603 enablestring=
9604 defaultval=$wxUSE_ALL_FEATURES
9605 if test -z "$defaultval"; then
9606 if test x"$enablestring" = xdisable; then
9607 defaultval=yes
9608 else
9609 defaultval=no
9610 fi
9611 fi
9612
9613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9614 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9615 # Check whether --enable-animatectrl was given.
9616 if test "${enable_animatectrl+set}" = set; then
9617 enableval=$enable_animatectrl;
9618 if test "$enableval" = yes; then
9619 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9620 else
9621 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9622 fi
9623
9624 else
9625
9626 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9627
9628 fi
9629
9630
9631 eval "$wx_cv_use_animatectrl"
9632
9633 if test x"$enablestring" = xdisable; then
9634 if test $wxUSE_ANIMATIONCTRL = no; then
9635 result=yes
9636 else
9637 result=no
9638 fi
9639 else
9640 result=$wxUSE_ANIMATIONCTRL
9641 fi
9642
9643 { echo "$as_me:$LINENO: result: $result" >&5
9644 echo "${ECHO_T}$result" >&6; }
9645
9646
9647 enablestring=
9648 defaultval=$wxUSE_ALL_FEATURES
9649 if test -z "$defaultval"; then
9650 if test x"$enablestring" = xdisable; then
9651 defaultval=yes
9652 else
9653 defaultval=no
9654 fi
9655 fi
9656
9657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9658 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9659 # Check whether --enable-bmpbutton was given.
9660 if test "${enable_bmpbutton+set}" = set; then
9661 enableval=$enable_bmpbutton;
9662 if test "$enableval" = yes; then
9663 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9664 else
9665 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9666 fi
9667
9668 else
9669
9670 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9671
9672 fi
9673
9674
9675 eval "$wx_cv_use_bmpbutton"
9676
9677 if test x"$enablestring" = xdisable; then
9678 if test $wxUSE_BMPBUTTON = no; then
9679 result=yes
9680 else
9681 result=no
9682 fi
9683 else
9684 result=$wxUSE_BMPBUTTON
9685 fi
9686
9687 { echo "$as_me:$LINENO: result: $result" >&5
9688 echo "${ECHO_T}$result" >&6; }
9689
9690
9691 enablestring=
9692 defaultval=$wxUSE_ALL_FEATURES
9693 if test -z "$defaultval"; then
9694 if test x"$enablestring" = xdisable; then
9695 defaultval=yes
9696 else
9697 defaultval=no
9698 fi
9699 fi
9700
9701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9702 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9703 # Check whether --enable-bmpcombobox was given.
9704 if test "${enable_bmpcombobox+set}" = set; then
9705 enableval=$enable_bmpcombobox;
9706 if test "$enableval" = yes; then
9707 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9708 else
9709 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9710 fi
9711
9712 else
9713
9714 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9715
9716 fi
9717
9718
9719 eval "$wx_cv_use_bmpcombobox"
9720
9721 if test x"$enablestring" = xdisable; then
9722 if test $wxUSE_BITMAPCOMBOBOX = no; then
9723 result=yes
9724 else
9725 result=no
9726 fi
9727 else
9728 result=$wxUSE_BITMAPCOMBOBOX
9729 fi
9730
9731 { echo "$as_me:$LINENO: result: $result" >&5
9732 echo "${ECHO_T}$result" >&6; }
9733
9734
9735 enablestring=
9736 defaultval=$wxUSE_ALL_FEATURES
9737 if test -z "$defaultval"; then
9738 if test x"$enablestring" = xdisable; then
9739 defaultval=yes
9740 else
9741 defaultval=no
9742 fi
9743 fi
9744
9745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9746 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9747 # Check whether --enable-button was given.
9748 if test "${enable_button+set}" = set; then
9749 enableval=$enable_button;
9750 if test "$enableval" = yes; then
9751 wx_cv_use_button='wxUSE_BUTTON=yes'
9752 else
9753 wx_cv_use_button='wxUSE_BUTTON=no'
9754 fi
9755
9756 else
9757
9758 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9759
9760 fi
9761
9762
9763 eval "$wx_cv_use_button"
9764
9765 if test x"$enablestring" = xdisable; then
9766 if test $wxUSE_BUTTON = no; then
9767 result=yes
9768 else
9769 result=no
9770 fi
9771 else
9772 result=$wxUSE_BUTTON
9773 fi
9774
9775 { echo "$as_me:$LINENO: result: $result" >&5
9776 echo "${ECHO_T}$result" >&6; }
9777
9778
9779 enablestring=
9780 defaultval=$wxUSE_ALL_FEATURES
9781 if test -z "$defaultval"; then
9782 if test x"$enablestring" = xdisable; then
9783 defaultval=yes
9784 else
9785 defaultval=no
9786 fi
9787 fi
9788
9789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9790 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9791 # Check whether --enable-calendar was given.
9792 if test "${enable_calendar+set}" = set; then
9793 enableval=$enable_calendar;
9794 if test "$enableval" = yes; then
9795 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9796 else
9797 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9798 fi
9799
9800 else
9801
9802 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9803
9804 fi
9805
9806
9807 eval "$wx_cv_use_calendar"
9808
9809 if test x"$enablestring" = xdisable; then
9810 if test $wxUSE_CALCTRL = no; then
9811 result=yes
9812 else
9813 result=no
9814 fi
9815 else
9816 result=$wxUSE_CALCTRL
9817 fi
9818
9819 { echo "$as_me:$LINENO: result: $result" >&5
9820 echo "${ECHO_T}$result" >&6; }
9821
9822
9823 enablestring=
9824 defaultval=$wxUSE_ALL_FEATURES
9825 if test -z "$defaultval"; then
9826 if test x"$enablestring" = xdisable; then
9827 defaultval=yes
9828 else
9829 defaultval=no
9830 fi
9831 fi
9832
9833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9834 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9835 # Check whether --enable-caret was given.
9836 if test "${enable_caret+set}" = set; then
9837 enableval=$enable_caret;
9838 if test "$enableval" = yes; then
9839 wx_cv_use_caret='wxUSE_CARET=yes'
9840 else
9841 wx_cv_use_caret='wxUSE_CARET=no'
9842 fi
9843
9844 else
9845
9846 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9847
9848 fi
9849
9850
9851 eval "$wx_cv_use_caret"
9852
9853 if test x"$enablestring" = xdisable; then
9854 if test $wxUSE_CARET = no; then
9855 result=yes
9856 else
9857 result=no
9858 fi
9859 else
9860 result=$wxUSE_CARET
9861 fi
9862
9863 { echo "$as_me:$LINENO: result: $result" >&5
9864 echo "${ECHO_T}$result" >&6; }
9865
9866
9867 enablestring=
9868 defaultval=$wxUSE_ALL_FEATURES
9869 if test -z "$defaultval"; then
9870 if test x"$enablestring" = xdisable; then
9871 defaultval=yes
9872 else
9873 defaultval=no
9874 fi
9875 fi
9876
9877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9878 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9879 # Check whether --enable-checkbox was given.
9880 if test "${enable_checkbox+set}" = set; then
9881 enableval=$enable_checkbox;
9882 if test "$enableval" = yes; then
9883 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9884 else
9885 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9886 fi
9887
9888 else
9889
9890 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9891
9892 fi
9893
9894
9895 eval "$wx_cv_use_checkbox"
9896
9897 if test x"$enablestring" = xdisable; then
9898 if test $wxUSE_CHECKBOX = no; then
9899 result=yes
9900 else
9901 result=no
9902 fi
9903 else
9904 result=$wxUSE_CHECKBOX
9905 fi
9906
9907 { echo "$as_me:$LINENO: result: $result" >&5
9908 echo "${ECHO_T}$result" >&6; }
9909
9910
9911 enablestring=
9912 defaultval=$wxUSE_ALL_FEATURES
9913 if test -z "$defaultval"; then
9914 if test x"$enablestring" = xdisable; then
9915 defaultval=yes
9916 else
9917 defaultval=no
9918 fi
9919 fi
9920
9921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9922 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9923 # Check whether --enable-checklst was given.
9924 if test "${enable_checklst+set}" = set; then
9925 enableval=$enable_checklst;
9926 if test "$enableval" = yes; then
9927 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9928 else
9929 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9930 fi
9931
9932 else
9933
9934 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9935
9936 fi
9937
9938
9939 eval "$wx_cv_use_checklst"
9940
9941 if test x"$enablestring" = xdisable; then
9942 if test $wxUSE_CHECKLST = no; then
9943 result=yes
9944 else
9945 result=no
9946 fi
9947 else
9948 result=$wxUSE_CHECKLST
9949 fi
9950
9951 { echo "$as_me:$LINENO: result: $result" >&5
9952 echo "${ECHO_T}$result" >&6; }
9953
9954
9955 enablestring=
9956 defaultval=$wxUSE_ALL_FEATURES
9957 if test -z "$defaultval"; then
9958 if test x"$enablestring" = xdisable; then
9959 defaultval=yes
9960 else
9961 defaultval=no
9962 fi
9963 fi
9964
9965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9966 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9967 # Check whether --enable-choice was given.
9968 if test "${enable_choice+set}" = set; then
9969 enableval=$enable_choice;
9970 if test "$enableval" = yes; then
9971 wx_cv_use_choice='wxUSE_CHOICE=yes'
9972 else
9973 wx_cv_use_choice='wxUSE_CHOICE=no'
9974 fi
9975
9976 else
9977
9978 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9979
9980 fi
9981
9982
9983 eval "$wx_cv_use_choice"
9984
9985 if test x"$enablestring" = xdisable; then
9986 if test $wxUSE_CHOICE = no; then
9987 result=yes
9988 else
9989 result=no
9990 fi
9991 else
9992 result=$wxUSE_CHOICE
9993 fi
9994
9995 { echo "$as_me:$LINENO: result: $result" >&5
9996 echo "${ECHO_T}$result" >&6; }
9997
9998
9999 enablestring=
10000 defaultval=$wxUSE_ALL_FEATURES
10001 if test -z "$defaultval"; then
10002 if test x"$enablestring" = xdisable; then
10003 defaultval=yes
10004 else
10005 defaultval=no
10006 fi
10007 fi
10008
10009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10010 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10011 # Check whether --enable-choicebook was given.
10012 if test "${enable_choicebook+set}" = set; then
10013 enableval=$enable_choicebook;
10014 if test "$enableval" = yes; then
10015 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10016 else
10017 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10018 fi
10019
10020 else
10021
10022 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10023
10024 fi
10025
10026
10027 eval "$wx_cv_use_choicebook"
10028
10029 if test x"$enablestring" = xdisable; then
10030 if test $wxUSE_CHOICEBOOK = no; then
10031 result=yes
10032 else
10033 result=no
10034 fi
10035 else
10036 result=$wxUSE_CHOICEBOOK
10037 fi
10038
10039 { echo "$as_me:$LINENO: result: $result" >&5
10040 echo "${ECHO_T}$result" >&6; }
10041
10042
10043 enablestring=
10044 defaultval=$wxUSE_ALL_FEATURES
10045 if test -z "$defaultval"; then
10046 if test x"$enablestring" = xdisable; then
10047 defaultval=yes
10048 else
10049 defaultval=no
10050 fi
10051 fi
10052
10053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10054 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10055 # Check whether --enable-collpane was given.
10056 if test "${enable_collpane+set}" = set; then
10057 enableval=$enable_collpane;
10058 if test "$enableval" = yes; then
10059 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10060 else
10061 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10062 fi
10063
10064 else
10065
10066 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10067
10068 fi
10069
10070
10071 eval "$wx_cv_use_collpane"
10072
10073 if test x"$enablestring" = xdisable; then
10074 if test $wxUSE_COLLPANE = no; then
10075 result=yes
10076 else
10077 result=no
10078 fi
10079 else
10080 result=$wxUSE_COLLPANE
10081 fi
10082
10083 { echo "$as_me:$LINENO: result: $result" >&5
10084 echo "${ECHO_T}$result" >&6; }
10085
10086
10087 enablestring=
10088 defaultval=$wxUSE_ALL_FEATURES
10089 if test -z "$defaultval"; then
10090 if test x"$enablestring" = xdisable; then
10091 defaultval=yes
10092 else
10093 defaultval=no
10094 fi
10095 fi
10096
10097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10098 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10099 # Check whether --enable-colourpicker was given.
10100 if test "${enable_colourpicker+set}" = set; then
10101 enableval=$enable_colourpicker;
10102 if test "$enableval" = yes; then
10103 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10104 else
10105 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10106 fi
10107
10108 else
10109
10110 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10111
10112 fi
10113
10114
10115 eval "$wx_cv_use_colourpicker"
10116
10117 if test x"$enablestring" = xdisable; then
10118 if test $wxUSE_COLOURPICKERCTRL = no; then
10119 result=yes
10120 else
10121 result=no
10122 fi
10123 else
10124 result=$wxUSE_COLOURPICKERCTRL
10125 fi
10126
10127 { echo "$as_me:$LINENO: result: $result" >&5
10128 echo "${ECHO_T}$result" >&6; }
10129
10130
10131 enablestring=
10132 defaultval=$wxUSE_ALL_FEATURES
10133 if test -z "$defaultval"; then
10134 if test x"$enablestring" = xdisable; then
10135 defaultval=yes
10136 else
10137 defaultval=no
10138 fi
10139 fi
10140
10141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10142 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10143 # Check whether --enable-combobox was given.
10144 if test "${enable_combobox+set}" = set; then
10145 enableval=$enable_combobox;
10146 if test "$enableval" = yes; then
10147 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10148 else
10149 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10150 fi
10151
10152 else
10153
10154 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10155
10156 fi
10157
10158
10159 eval "$wx_cv_use_combobox"
10160
10161 if test x"$enablestring" = xdisable; then
10162 if test $wxUSE_COMBOBOX = no; then
10163 result=yes
10164 else
10165 result=no
10166 fi
10167 else
10168 result=$wxUSE_COMBOBOX
10169 fi
10170
10171 { echo "$as_me:$LINENO: result: $result" >&5
10172 echo "${ECHO_T}$result" >&6; }
10173
10174
10175 enablestring=
10176 defaultval=$wxUSE_ALL_FEATURES
10177 if test -z "$defaultval"; then
10178 if test x"$enablestring" = xdisable; then
10179 defaultval=yes
10180 else
10181 defaultval=no
10182 fi
10183 fi
10184
10185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10186 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10187 # Check whether --enable-comboctrl was given.
10188 if test "${enable_comboctrl+set}" = set; then
10189 enableval=$enable_comboctrl;
10190 if test "$enableval" = yes; then
10191 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10192 else
10193 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10194 fi
10195
10196 else
10197
10198 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10199
10200 fi
10201
10202
10203 eval "$wx_cv_use_comboctrl"
10204
10205 if test x"$enablestring" = xdisable; then
10206 if test $wxUSE_COMBOCTRL = no; then
10207 result=yes
10208 else
10209 result=no
10210 fi
10211 else
10212 result=$wxUSE_COMBOCTRL
10213 fi
10214
10215 { echo "$as_me:$LINENO: result: $result" >&5
10216 echo "${ECHO_T}$result" >&6; }
10217
10218
10219 enablestring=
10220 defaultval=$wxUSE_ALL_FEATURES
10221 if test -z "$defaultval"; then
10222 if test x"$enablestring" = xdisable; then
10223 defaultval=yes
10224 else
10225 defaultval=no
10226 fi
10227 fi
10228
10229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10231 # Check whether --enable-dataviewctrl was given.
10232 if test "${enable_dataviewctrl+set}" = set; then
10233 enableval=$enable_dataviewctrl;
10234 if test "$enableval" = yes; then
10235 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10236 else
10237 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10238 fi
10239
10240 else
10241
10242 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10243
10244 fi
10245
10246
10247 eval "$wx_cv_use_dataviewctrl"
10248
10249 if test x"$enablestring" = xdisable; then
10250 if test $wxUSE_DATAVIEWCTRL = no; then
10251 result=yes
10252 else
10253 result=no
10254 fi
10255 else
10256 result=$wxUSE_DATAVIEWCTRL
10257 fi
10258
10259 { echo "$as_me:$LINENO: result: $result" >&5
10260 echo "${ECHO_T}$result" >&6; }
10261
10262
10263 enablestring=
10264 defaultval=$wxUSE_ALL_FEATURES
10265 if test -z "$defaultval"; then
10266 if test x"$enablestring" = xdisable; then
10267 defaultval=yes
10268 else
10269 defaultval=no
10270 fi
10271 fi
10272
10273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10274 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10275 # Check whether --enable-datepick was given.
10276 if test "${enable_datepick+set}" = set; then
10277 enableval=$enable_datepick;
10278 if test "$enableval" = yes; then
10279 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10280 else
10281 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10282 fi
10283
10284 else
10285
10286 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10287
10288 fi
10289
10290
10291 eval "$wx_cv_use_datepick"
10292
10293 if test x"$enablestring" = xdisable; then
10294 if test $wxUSE_DATEPICKCTRL = no; then
10295 result=yes
10296 else
10297 result=no
10298 fi
10299 else
10300 result=$wxUSE_DATEPICKCTRL
10301 fi
10302
10303 { echo "$as_me:$LINENO: result: $result" >&5
10304 echo "${ECHO_T}$result" >&6; }
10305
10306
10307 enablestring=
10308 defaultval=$wxUSE_ALL_FEATURES
10309 if test -z "$defaultval"; then
10310 if test x"$enablestring" = xdisable; then
10311 defaultval=yes
10312 else
10313 defaultval=no
10314 fi
10315 fi
10316
10317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10318 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10319 # Check whether --enable-detect_sm was given.
10320 if test "${enable_detect_sm+set}" = set; then
10321 enableval=$enable_detect_sm;
10322 if test "$enableval" = yes; then
10323 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10324 else
10325 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10326 fi
10327
10328 else
10329
10330 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10331
10332 fi
10333
10334
10335 eval "$wx_cv_use_detect_sm"
10336
10337 if test x"$enablestring" = xdisable; then
10338 if test $wxUSE_DETECT_SM = no; then
10339 result=yes
10340 else
10341 result=no
10342 fi
10343 else
10344 result=$wxUSE_DETECT_SM
10345 fi
10346
10347 { echo "$as_me:$LINENO: result: $result" >&5
10348 echo "${ECHO_T}$result" >&6; }
10349
10350
10351 enablestring=
10352 defaultval=$wxUSE_ALL_FEATURES
10353 if test -z "$defaultval"; then
10354 if test x"$enablestring" = xdisable; then
10355 defaultval=yes
10356 else
10357 defaultval=no
10358 fi
10359 fi
10360
10361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10362 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10363 # Check whether --enable-dirpicker was given.
10364 if test "${enable_dirpicker+set}" = set; then
10365 enableval=$enable_dirpicker;
10366 if test "$enableval" = yes; then
10367 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10368 else
10369 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10370 fi
10371
10372 else
10373
10374 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10375
10376 fi
10377
10378
10379 eval "$wx_cv_use_dirpicker"
10380
10381 if test x"$enablestring" = xdisable; then
10382 if test $wxUSE_DIRPICKERCTRL = no; then
10383 result=yes
10384 else
10385 result=no
10386 fi
10387 else
10388 result=$wxUSE_DIRPICKERCTRL
10389 fi
10390
10391 { echo "$as_me:$LINENO: result: $result" >&5
10392 echo "${ECHO_T}$result" >&6; }
10393
10394
10395 enablestring=
10396 defaultval=$wxUSE_ALL_FEATURES
10397 if test -z "$defaultval"; then
10398 if test x"$enablestring" = xdisable; then
10399 defaultval=yes
10400 else
10401 defaultval=no
10402 fi
10403 fi
10404
10405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10406 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10407 # Check whether --enable-display was given.
10408 if test "${enable_display+set}" = set; then
10409 enableval=$enable_display;
10410 if test "$enableval" = yes; then
10411 wx_cv_use_display='wxUSE_DISPLAY=yes'
10412 else
10413 wx_cv_use_display='wxUSE_DISPLAY=no'
10414 fi
10415
10416 else
10417
10418 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10419
10420 fi
10421
10422
10423 eval "$wx_cv_use_display"
10424
10425 if test x"$enablestring" = xdisable; then
10426 if test $wxUSE_DISPLAY = no; then
10427 result=yes
10428 else
10429 result=no
10430 fi
10431 else
10432 result=$wxUSE_DISPLAY
10433 fi
10434
10435 { echo "$as_me:$LINENO: result: $result" >&5
10436 echo "${ECHO_T}$result" >&6; }
10437
10438
10439 enablestring=
10440 defaultval=$wxUSE_ALL_FEATURES
10441 if test -z "$defaultval"; then
10442 if test x"$enablestring" = xdisable; then
10443 defaultval=yes
10444 else
10445 defaultval=no
10446 fi
10447 fi
10448
10449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10450 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10451 # Check whether --enable-editablebox was given.
10452 if test "${enable_editablebox+set}" = set; then
10453 enableval=$enable_editablebox;
10454 if test "$enableval" = yes; then
10455 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10456 else
10457 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10458 fi
10459
10460 else
10461
10462 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10463
10464 fi
10465
10466
10467 eval "$wx_cv_use_editablebox"
10468
10469 if test x"$enablestring" = xdisable; then
10470 if test $wxUSE_EDITABLELISTBOX = no; then
10471 result=yes
10472 else
10473 result=no
10474 fi
10475 else
10476 result=$wxUSE_EDITABLELISTBOX
10477 fi
10478
10479 { echo "$as_me:$LINENO: result: $result" >&5
10480 echo "${ECHO_T}$result" >&6; }
10481
10482
10483 enablestring=
10484 defaultval=$wxUSE_ALL_FEATURES
10485 if test -z "$defaultval"; then
10486 if test x"$enablestring" = xdisable; then
10487 defaultval=yes
10488 else
10489 defaultval=no
10490 fi
10491 fi
10492
10493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10494 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10495 # Check whether --enable-filectrl was given.
10496 if test "${enable_filectrl+set}" = set; then
10497 enableval=$enable_filectrl;
10498 if test "$enableval" = yes; then
10499 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10500 else
10501 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10502 fi
10503
10504 else
10505
10506 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10507
10508 fi
10509
10510
10511 eval "$wx_cv_use_filectrl"
10512
10513 if test x"$enablestring" = xdisable; then
10514 if test $wxUSE_FILECTRL = no; then
10515 result=yes
10516 else
10517 result=no
10518 fi
10519 else
10520 result=$wxUSE_FILECTRL
10521 fi
10522
10523 { echo "$as_me:$LINENO: result: $result" >&5
10524 echo "${ECHO_T}$result" >&6; }
10525
10526
10527 enablestring=
10528 defaultval=$wxUSE_ALL_FEATURES
10529 if test -z "$defaultval"; then
10530 if test x"$enablestring" = xdisable; then
10531 defaultval=yes
10532 else
10533 defaultval=no
10534 fi
10535 fi
10536
10537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10538 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10539 # Check whether --enable-filepicker was given.
10540 if test "${enable_filepicker+set}" = set; then
10541 enableval=$enable_filepicker;
10542 if test "$enableval" = yes; then
10543 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10544 else
10545 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10546 fi
10547
10548 else
10549
10550 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10551
10552 fi
10553
10554
10555 eval "$wx_cv_use_filepicker"
10556
10557 if test x"$enablestring" = xdisable; then
10558 if test $wxUSE_FILEPICKERCTRL = no; then
10559 result=yes
10560 else
10561 result=no
10562 fi
10563 else
10564 result=$wxUSE_FILEPICKERCTRL
10565 fi
10566
10567 { echo "$as_me:$LINENO: result: $result" >&5
10568 echo "${ECHO_T}$result" >&6; }
10569
10570
10571 enablestring=
10572 defaultval=$wxUSE_ALL_FEATURES
10573 if test -z "$defaultval"; then
10574 if test x"$enablestring" = xdisable; then
10575 defaultval=yes
10576 else
10577 defaultval=no
10578 fi
10579 fi
10580
10581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10582 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10583 # Check whether --enable-fontpicker was given.
10584 if test "${enable_fontpicker+set}" = set; then
10585 enableval=$enable_fontpicker;
10586 if test "$enableval" = yes; then
10587 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10588 else
10589 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10590 fi
10591
10592 else
10593
10594 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10595
10596 fi
10597
10598
10599 eval "$wx_cv_use_fontpicker"
10600
10601 if test x"$enablestring" = xdisable; then
10602 if test $wxUSE_FONTPICKERCTRL = no; then
10603 result=yes
10604 else
10605 result=no
10606 fi
10607 else
10608 result=$wxUSE_FONTPICKERCTRL
10609 fi
10610
10611 { echo "$as_me:$LINENO: result: $result" >&5
10612 echo "${ECHO_T}$result" >&6; }
10613
10614
10615 enablestring=
10616 defaultval=$wxUSE_ALL_FEATURES
10617 if test -z "$defaultval"; then
10618 if test x"$enablestring" = xdisable; then
10619 defaultval=yes
10620 else
10621 defaultval=no
10622 fi
10623 fi
10624
10625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10626 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10627 # Check whether --enable-gauge was given.
10628 if test "${enable_gauge+set}" = set; then
10629 enableval=$enable_gauge;
10630 if test "$enableval" = yes; then
10631 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10632 else
10633 wx_cv_use_gauge='wxUSE_GAUGE=no'
10634 fi
10635
10636 else
10637
10638 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10639
10640 fi
10641
10642
10643 eval "$wx_cv_use_gauge"
10644
10645 if test x"$enablestring" = xdisable; then
10646 if test $wxUSE_GAUGE = no; then
10647 result=yes
10648 else
10649 result=no
10650 fi
10651 else
10652 result=$wxUSE_GAUGE
10653 fi
10654
10655 { echo "$as_me:$LINENO: result: $result" >&5
10656 echo "${ECHO_T}$result" >&6; }
10657
10658
10659 enablestring=
10660 defaultval=$wxUSE_ALL_FEATURES
10661 if test -z "$defaultval"; then
10662 if test x"$enablestring" = xdisable; then
10663 defaultval=yes
10664 else
10665 defaultval=no
10666 fi
10667 fi
10668
10669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10670 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10671 # Check whether --enable-grid was given.
10672 if test "${enable_grid+set}" = set; then
10673 enableval=$enable_grid;
10674 if test "$enableval" = yes; then
10675 wx_cv_use_grid='wxUSE_GRID=yes'
10676 else
10677 wx_cv_use_grid='wxUSE_GRID=no'
10678 fi
10679
10680 else
10681
10682 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10683
10684 fi
10685
10686
10687 eval "$wx_cv_use_grid"
10688
10689 if test x"$enablestring" = xdisable; then
10690 if test $wxUSE_GRID = no; then
10691 result=yes
10692 else
10693 result=no
10694 fi
10695 else
10696 result=$wxUSE_GRID
10697 fi
10698
10699 { echo "$as_me:$LINENO: result: $result" >&5
10700 echo "${ECHO_T}$result" >&6; }
10701
10702
10703 enablestring=
10704 defaultval=$wxUSE_ALL_FEATURES
10705 if test -z "$defaultval"; then
10706 if test x"$enablestring" = xdisable; then
10707 defaultval=yes
10708 else
10709 defaultval=no
10710 fi
10711 fi
10712
10713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10714 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10715 # Check whether --enable-headerctrl was given.
10716 if test "${enable_headerctrl+set}" = set; then
10717 enableval=$enable_headerctrl;
10718 if test "$enableval" = yes; then
10719 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10720 else
10721 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10722 fi
10723
10724 else
10725
10726 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10727
10728 fi
10729
10730
10731 eval "$wx_cv_use_headerctrl"
10732
10733 if test x"$enablestring" = xdisable; then
10734 if test $wxUSE_HEADERCTRL = no; then
10735 result=yes
10736 else
10737 result=no
10738 fi
10739 else
10740 result=$wxUSE_HEADERCTRL
10741 fi
10742
10743 { echo "$as_me:$LINENO: result: $result" >&5
10744 echo "${ECHO_T}$result" >&6; }
10745
10746
10747 enablestring=
10748 defaultval=$wxUSE_ALL_FEATURES
10749 if test -z "$defaultval"; then
10750 if test x"$enablestring" = xdisable; then
10751 defaultval=yes
10752 else
10753 defaultval=no
10754 fi
10755 fi
10756
10757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10758 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10759 # Check whether --enable-hyperlink was given.
10760 if test "${enable_hyperlink+set}" = set; then
10761 enableval=$enable_hyperlink;
10762 if test "$enableval" = yes; then
10763 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10764 else
10765 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10766 fi
10767
10768 else
10769
10770 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10771
10772 fi
10773
10774
10775 eval "$wx_cv_use_hyperlink"
10776
10777 if test x"$enablestring" = xdisable; then
10778 if test $wxUSE_HYPERLINKCTRL = no; then
10779 result=yes
10780 else
10781 result=no
10782 fi
10783 else
10784 result=$wxUSE_HYPERLINKCTRL
10785 fi
10786
10787 { echo "$as_me:$LINENO: result: $result" >&5
10788 echo "${ECHO_T}$result" >&6; }
10789
10790
10791 enablestring=
10792 defaultval=$wxUSE_ALL_FEATURES
10793 if test -z "$defaultval"; then
10794 if test x"$enablestring" = xdisable; then
10795 defaultval=yes
10796 else
10797 defaultval=no
10798 fi
10799 fi
10800
10801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10802 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10803 # Check whether --enable-imaglist was given.
10804 if test "${enable_imaglist+set}" = set; then
10805 enableval=$enable_imaglist;
10806 if test "$enableval" = yes; then
10807 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10808 else
10809 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10810 fi
10811
10812 else
10813
10814 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10815
10816 fi
10817
10818
10819 eval "$wx_cv_use_imaglist"
10820
10821 if test x"$enablestring" = xdisable; then
10822 if test $wxUSE_IMAGLIST = no; then
10823 result=yes
10824 else
10825 result=no
10826 fi
10827 else
10828 result=$wxUSE_IMAGLIST
10829 fi
10830
10831 { echo "$as_me:$LINENO: result: $result" >&5
10832 echo "${ECHO_T}$result" >&6; }
10833
10834
10835 enablestring=
10836 defaultval=$wxUSE_ALL_FEATURES
10837 if test -z "$defaultval"; then
10838 if test x"$enablestring" = xdisable; then
10839 defaultval=yes
10840 else
10841 defaultval=no
10842 fi
10843 fi
10844
10845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10846 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10847 # Check whether --enable-listbook was given.
10848 if test "${enable_listbook+set}" = set; then
10849 enableval=$enable_listbook;
10850 if test "$enableval" = yes; then
10851 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10852 else
10853 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10854 fi
10855
10856 else
10857
10858 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10859
10860 fi
10861
10862
10863 eval "$wx_cv_use_listbook"
10864
10865 if test x"$enablestring" = xdisable; then
10866 if test $wxUSE_LISTBOOK = no; then
10867 result=yes
10868 else
10869 result=no
10870 fi
10871 else
10872 result=$wxUSE_LISTBOOK
10873 fi
10874
10875 { echo "$as_me:$LINENO: result: $result" >&5
10876 echo "${ECHO_T}$result" >&6; }
10877
10878
10879 enablestring=
10880 defaultval=$wxUSE_ALL_FEATURES
10881 if test -z "$defaultval"; then
10882 if test x"$enablestring" = xdisable; then
10883 defaultval=yes
10884 else
10885 defaultval=no
10886 fi
10887 fi
10888
10889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10891 # Check whether --enable-listbox was given.
10892 if test "${enable_listbox+set}" = set; then
10893 enableval=$enable_listbox;
10894 if test "$enableval" = yes; then
10895 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10896 else
10897 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10898 fi
10899
10900 else
10901
10902 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10903
10904 fi
10905
10906
10907 eval "$wx_cv_use_listbox"
10908
10909 if test x"$enablestring" = xdisable; then
10910 if test $wxUSE_LISTBOX = no; then
10911 result=yes
10912 else
10913 result=no
10914 fi
10915 else
10916 result=$wxUSE_LISTBOX
10917 fi
10918
10919 { echo "$as_me:$LINENO: result: $result" >&5
10920 echo "${ECHO_T}$result" >&6; }
10921
10922
10923 enablestring=
10924 defaultval=$wxUSE_ALL_FEATURES
10925 if test -z "$defaultval"; then
10926 if test x"$enablestring" = xdisable; then
10927 defaultval=yes
10928 else
10929 defaultval=no
10930 fi
10931 fi
10932
10933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10935 # Check whether --enable-listctrl was given.
10936 if test "${enable_listctrl+set}" = set; then
10937 enableval=$enable_listctrl;
10938 if test "$enableval" = yes; then
10939 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10940 else
10941 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10942 fi
10943
10944 else
10945
10946 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10947
10948 fi
10949
10950
10951 eval "$wx_cv_use_listctrl"
10952
10953 if test x"$enablestring" = xdisable; then
10954 if test $wxUSE_LISTCTRL = no; then
10955 result=yes
10956 else
10957 result=no
10958 fi
10959 else
10960 result=$wxUSE_LISTCTRL
10961 fi
10962
10963 { echo "$as_me:$LINENO: result: $result" >&5
10964 echo "${ECHO_T}$result" >&6; }
10965
10966
10967 enablestring=
10968 defaultval=$wxUSE_ALL_FEATURES
10969 if test -z "$defaultval"; then
10970 if test x"$enablestring" = xdisable; then
10971 defaultval=yes
10972 else
10973 defaultval=no
10974 fi
10975 fi
10976
10977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10978 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10979 # Check whether --enable-notebook was given.
10980 if test "${enable_notebook+set}" = set; then
10981 enableval=$enable_notebook;
10982 if test "$enableval" = yes; then
10983 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10984 else
10985 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10986 fi
10987
10988 else
10989
10990 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10991
10992 fi
10993
10994
10995 eval "$wx_cv_use_notebook"
10996
10997 if test x"$enablestring" = xdisable; then
10998 if test $wxUSE_NOTEBOOK = no; then
10999 result=yes
11000 else
11001 result=no
11002 fi
11003 else
11004 result=$wxUSE_NOTEBOOK
11005 fi
11006
11007 { echo "$as_me:$LINENO: result: $result" >&5
11008 echo "${ECHO_T}$result" >&6; }
11009
11010
11011 enablestring=
11012 defaultval=$wxUSE_ALL_FEATURES
11013 if test -z "$defaultval"; then
11014 if test x"$enablestring" = xdisable; then
11015 defaultval=yes
11016 else
11017 defaultval=no
11018 fi
11019 fi
11020
11021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11022 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11023 # Check whether --enable-notifmsg was given.
11024 if test "${enable_notifmsg+set}" = set; then
11025 enableval=$enable_notifmsg;
11026 if test "$enableval" = yes; then
11027 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11028 else
11029 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11030 fi
11031
11032 else
11033
11034 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11035
11036 fi
11037
11038
11039 eval "$wx_cv_use_notifmsg"
11040
11041 if test x"$enablestring" = xdisable; then
11042 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11043 result=yes
11044 else
11045 result=no
11046 fi
11047 else
11048 result=$wxUSE_NOTIFICATION_MESSAGE
11049 fi
11050
11051 { echo "$as_me:$LINENO: result: $result" >&5
11052 echo "${ECHO_T}$result" >&6; }
11053
11054
11055 enablestring=
11056 defaultval=$wxUSE_ALL_FEATURES
11057 if test -z "$defaultval"; then
11058 if test x"$enablestring" = xdisable; then
11059 defaultval=yes
11060 else
11061 defaultval=no
11062 fi
11063 fi
11064
11065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11066 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11067 # Check whether --enable-odcombobox was given.
11068 if test "${enable_odcombobox+set}" = set; then
11069 enableval=$enable_odcombobox;
11070 if test "$enableval" = yes; then
11071 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11072 else
11073 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11074 fi
11075
11076 else
11077
11078 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11079
11080 fi
11081
11082
11083 eval "$wx_cv_use_odcombobox"
11084
11085 if test x"$enablestring" = xdisable; then
11086 if test $wxUSE_ODCOMBOBOX = no; then
11087 result=yes
11088 else
11089 result=no
11090 fi
11091 else
11092 result=$wxUSE_ODCOMBOBOX
11093 fi
11094
11095 { echo "$as_me:$LINENO: result: $result" >&5
11096 echo "${ECHO_T}$result" >&6; }
11097
11098
11099 enablestring=
11100 defaultval=$wxUSE_ALL_FEATURES
11101 if test -z "$defaultval"; then
11102 if test x"$enablestring" = xdisable; then
11103 defaultval=yes
11104 else
11105 defaultval=no
11106 fi
11107 fi
11108
11109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11111 # Check whether --enable-popupwin was given.
11112 if test "${enable_popupwin+set}" = set; then
11113 enableval=$enable_popupwin;
11114 if test "$enableval" = yes; then
11115 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11116 else
11117 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11118 fi
11119
11120 else
11121
11122 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11123
11124 fi
11125
11126
11127 eval "$wx_cv_use_popupwin"
11128
11129 if test x"$enablestring" = xdisable; then
11130 if test $wxUSE_POPUPWIN = no; then
11131 result=yes
11132 else
11133 result=no
11134 fi
11135 else
11136 result=$wxUSE_POPUPWIN
11137 fi
11138
11139 { echo "$as_me:$LINENO: result: $result" >&5
11140 echo "${ECHO_T}$result" >&6; }
11141
11142
11143 enablestring=
11144 defaultval=$wxUSE_ALL_FEATURES
11145 if test -z "$defaultval"; then
11146 if test x"$enablestring" = xdisable; then
11147 defaultval=yes
11148 else
11149 defaultval=no
11150 fi
11151 fi
11152
11153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11154 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11155 # Check whether --enable-radiobox was given.
11156 if test "${enable_radiobox+set}" = set; then
11157 enableval=$enable_radiobox;
11158 if test "$enableval" = yes; then
11159 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11160 else
11161 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11162 fi
11163
11164 else
11165
11166 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11167
11168 fi
11169
11170
11171 eval "$wx_cv_use_radiobox"
11172
11173 if test x"$enablestring" = xdisable; then
11174 if test $wxUSE_RADIOBOX = no; then
11175 result=yes
11176 else
11177 result=no
11178 fi
11179 else
11180 result=$wxUSE_RADIOBOX
11181 fi
11182
11183 { echo "$as_me:$LINENO: result: $result" >&5
11184 echo "${ECHO_T}$result" >&6; }
11185
11186
11187 enablestring=
11188 defaultval=$wxUSE_ALL_FEATURES
11189 if test -z "$defaultval"; then
11190 if test x"$enablestring" = xdisable; then
11191 defaultval=yes
11192 else
11193 defaultval=no
11194 fi
11195 fi
11196
11197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11198 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11199 # Check whether --enable-radiobtn was given.
11200 if test "${enable_radiobtn+set}" = set; then
11201 enableval=$enable_radiobtn;
11202 if test "$enableval" = yes; then
11203 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11204 else
11205 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11206 fi
11207
11208 else
11209
11210 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11211
11212 fi
11213
11214
11215 eval "$wx_cv_use_radiobtn"
11216
11217 if test x"$enablestring" = xdisable; then
11218 if test $wxUSE_RADIOBTN = no; then
11219 result=yes
11220 else
11221 result=no
11222 fi
11223 else
11224 result=$wxUSE_RADIOBTN
11225 fi
11226
11227 { echo "$as_me:$LINENO: result: $result" >&5
11228 echo "${ECHO_T}$result" >&6; }
11229
11230
11231 enablestring=
11232 defaultval=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x"$enablestring" = xdisable; then
11235 defaultval=yes
11236 else
11237 defaultval=no
11238 fi
11239 fi
11240
11241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11243 # Check whether --enable-rearrangectrl was given.
11244 if test "${enable_rearrangectrl+set}" = set; then
11245 enableval=$enable_rearrangectrl;
11246 if test "$enableval" = yes; then
11247 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11248 else
11249 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11250 fi
11251
11252 else
11253
11254 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11255
11256 fi
11257
11258
11259 eval "$wx_cv_use_rearrangectrl"
11260
11261 if test x"$enablestring" = xdisable; then
11262 if test $wxUSE_REARRANGECTRL = no; then
11263 result=yes
11264 else
11265 result=no
11266 fi
11267 else
11268 result=$wxUSE_REARRANGECTRL
11269 fi
11270
11271 { echo "$as_me:$LINENO: result: $result" >&5
11272 echo "${ECHO_T}$result" >&6; }
11273
11274
11275 enablestring=
11276 defaultval=$wxUSE_ALL_FEATURES
11277 if test -z "$defaultval"; then
11278 if test x"$enablestring" = xdisable; then
11279 defaultval=yes
11280 else
11281 defaultval=no
11282 fi
11283 fi
11284
11285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11286 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11287 # Check whether --enable-sash was given.
11288 if test "${enable_sash+set}" = set; then
11289 enableval=$enable_sash;
11290 if test "$enableval" = yes; then
11291 wx_cv_use_sash='wxUSE_SASH=yes'
11292 else
11293 wx_cv_use_sash='wxUSE_SASH=no'
11294 fi
11295
11296 else
11297
11298 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11299
11300 fi
11301
11302
11303 eval "$wx_cv_use_sash"
11304
11305 if test x"$enablestring" = xdisable; then
11306 if test $wxUSE_SASH = no; then
11307 result=yes
11308 else
11309 result=no
11310 fi
11311 else
11312 result=$wxUSE_SASH
11313 fi
11314
11315 { echo "$as_me:$LINENO: result: $result" >&5
11316 echo "${ECHO_T}$result" >&6; }
11317
11318
11319 enablestring=
11320 defaultval=$wxUSE_ALL_FEATURES
11321 if test -z "$defaultval"; then
11322 if test x"$enablestring" = xdisable; then
11323 defaultval=yes
11324 else
11325 defaultval=no
11326 fi
11327 fi
11328
11329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11330 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11331 # Check whether --enable-scrollbar was given.
11332 if test "${enable_scrollbar+set}" = set; then
11333 enableval=$enable_scrollbar;
11334 if test "$enableval" = yes; then
11335 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11336 else
11337 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11338 fi
11339
11340 else
11341
11342 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11343
11344 fi
11345
11346
11347 eval "$wx_cv_use_scrollbar"
11348
11349 if test x"$enablestring" = xdisable; then
11350 if test $wxUSE_SCROLLBAR = no; then
11351 result=yes
11352 else
11353 result=no
11354 fi
11355 else
11356 result=$wxUSE_SCROLLBAR
11357 fi
11358
11359 { echo "$as_me:$LINENO: result: $result" >&5
11360 echo "${ECHO_T}$result" >&6; }
11361
11362
11363 enablestring=
11364 defaultval=$wxUSE_ALL_FEATURES
11365 if test -z "$defaultval"; then
11366 if test x"$enablestring" = xdisable; then
11367 defaultval=yes
11368 else
11369 defaultval=no
11370 fi
11371 fi
11372
11373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11374 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11375 # Check whether --enable-searchctrl was given.
11376 if test "${enable_searchctrl+set}" = set; then
11377 enableval=$enable_searchctrl;
11378 if test "$enableval" = yes; then
11379 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11380 else
11381 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11382 fi
11383
11384 else
11385
11386 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11387
11388 fi
11389
11390
11391 eval "$wx_cv_use_searchctrl"
11392
11393 if test x"$enablestring" = xdisable; then
11394 if test $wxUSE_SEARCHCTRL = no; then
11395 result=yes
11396 else
11397 result=no
11398 fi
11399 else
11400 result=$wxUSE_SEARCHCTRL
11401 fi
11402
11403 { echo "$as_me:$LINENO: result: $result" >&5
11404 echo "${ECHO_T}$result" >&6; }
11405
11406
11407 enablestring=
11408 defaultval=$wxUSE_ALL_FEATURES
11409 if test -z "$defaultval"; then
11410 if test x"$enablestring" = xdisable; then
11411 defaultval=yes
11412 else
11413 defaultval=no
11414 fi
11415 fi
11416
11417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11418 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11419 # Check whether --enable-slider was given.
11420 if test "${enable_slider+set}" = set; then
11421 enableval=$enable_slider;
11422 if test "$enableval" = yes; then
11423 wx_cv_use_slider='wxUSE_SLIDER=yes'
11424 else
11425 wx_cv_use_slider='wxUSE_SLIDER=no'
11426 fi
11427
11428 else
11429
11430 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11431
11432 fi
11433
11434
11435 eval "$wx_cv_use_slider"
11436
11437 if test x"$enablestring" = xdisable; then
11438 if test $wxUSE_SLIDER = no; then
11439 result=yes
11440 else
11441 result=no
11442 fi
11443 else
11444 result=$wxUSE_SLIDER
11445 fi
11446
11447 { echo "$as_me:$LINENO: result: $result" >&5
11448 echo "${ECHO_T}$result" >&6; }
11449
11450
11451 enablestring=
11452 defaultval=$wxUSE_ALL_FEATURES
11453 if test -z "$defaultval"; then
11454 if test x"$enablestring" = xdisable; then
11455 defaultval=yes
11456 else
11457 defaultval=no
11458 fi
11459 fi
11460
11461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11462 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11463 # Check whether --enable-spinbtn was given.
11464 if test "${enable_spinbtn+set}" = set; then
11465 enableval=$enable_spinbtn;
11466 if test "$enableval" = yes; then
11467 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11468 else
11469 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11470 fi
11471
11472 else
11473
11474 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11475
11476 fi
11477
11478
11479 eval "$wx_cv_use_spinbtn"
11480
11481 if test x"$enablestring" = xdisable; then
11482 if test $wxUSE_SPINBTN = no; then
11483 result=yes
11484 else
11485 result=no
11486 fi
11487 else
11488 result=$wxUSE_SPINBTN
11489 fi
11490
11491 { echo "$as_me:$LINENO: result: $result" >&5
11492 echo "${ECHO_T}$result" >&6; }
11493
11494
11495 enablestring=
11496 defaultval=$wxUSE_ALL_FEATURES
11497 if test -z "$defaultval"; then
11498 if test x"$enablestring" = xdisable; then
11499 defaultval=yes
11500 else
11501 defaultval=no
11502 fi
11503 fi
11504
11505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11506 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11507 # Check whether --enable-spinctrl was given.
11508 if test "${enable_spinctrl+set}" = set; then
11509 enableval=$enable_spinctrl;
11510 if test "$enableval" = yes; then
11511 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11512 else
11513 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11514 fi
11515
11516 else
11517
11518 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11519
11520 fi
11521
11522
11523 eval "$wx_cv_use_spinctrl"
11524
11525 if test x"$enablestring" = xdisable; then
11526 if test $wxUSE_SPINCTRL = no; then
11527 result=yes
11528 else
11529 result=no
11530 fi
11531 else
11532 result=$wxUSE_SPINCTRL
11533 fi
11534
11535 { echo "$as_me:$LINENO: result: $result" >&5
11536 echo "${ECHO_T}$result" >&6; }
11537
11538
11539 enablestring=
11540 defaultval=$wxUSE_ALL_FEATURES
11541 if test -z "$defaultval"; then
11542 if test x"$enablestring" = xdisable; then
11543 defaultval=yes
11544 else
11545 defaultval=no
11546 fi
11547 fi
11548
11549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11550 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11551 # Check whether --enable-splitter was given.
11552 if test "${enable_splitter+set}" = set; then
11553 enableval=$enable_splitter;
11554 if test "$enableval" = yes; then
11555 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11556 else
11557 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11558 fi
11559
11560 else
11561
11562 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11563
11564 fi
11565
11566
11567 eval "$wx_cv_use_splitter"
11568
11569 if test x"$enablestring" = xdisable; then
11570 if test $wxUSE_SPLITTER = no; then
11571 result=yes
11572 else
11573 result=no
11574 fi
11575 else
11576 result=$wxUSE_SPLITTER
11577 fi
11578
11579 { echo "$as_me:$LINENO: result: $result" >&5
11580 echo "${ECHO_T}$result" >&6; }
11581
11582
11583 enablestring=
11584 defaultval=$wxUSE_ALL_FEATURES
11585 if test -z "$defaultval"; then
11586 if test x"$enablestring" = xdisable; then
11587 defaultval=yes
11588 else
11589 defaultval=no
11590 fi
11591 fi
11592
11593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11594 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11595 # Check whether --enable-statbmp was given.
11596 if test "${enable_statbmp+set}" = set; then
11597 enableval=$enable_statbmp;
11598 if test "$enableval" = yes; then
11599 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11600 else
11601 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11602 fi
11603
11604 else
11605
11606 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11607
11608 fi
11609
11610
11611 eval "$wx_cv_use_statbmp"
11612
11613 if test x"$enablestring" = xdisable; then
11614 if test $wxUSE_STATBMP = no; then
11615 result=yes
11616 else
11617 result=no
11618 fi
11619 else
11620 result=$wxUSE_STATBMP
11621 fi
11622
11623 { echo "$as_me:$LINENO: result: $result" >&5
11624 echo "${ECHO_T}$result" >&6; }
11625
11626
11627 enablestring=
11628 defaultval=$wxUSE_ALL_FEATURES
11629 if test -z "$defaultval"; then
11630 if test x"$enablestring" = xdisable; then
11631 defaultval=yes
11632 else
11633 defaultval=no
11634 fi
11635 fi
11636
11637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11638 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11639 # Check whether --enable-statbox was given.
11640 if test "${enable_statbox+set}" = set; then
11641 enableval=$enable_statbox;
11642 if test "$enableval" = yes; then
11643 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11644 else
11645 wx_cv_use_statbox='wxUSE_STATBOX=no'
11646 fi
11647
11648 else
11649
11650 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11651
11652 fi
11653
11654
11655 eval "$wx_cv_use_statbox"
11656
11657 if test x"$enablestring" = xdisable; then
11658 if test $wxUSE_STATBOX = no; then
11659 result=yes
11660 else
11661 result=no
11662 fi
11663 else
11664 result=$wxUSE_STATBOX
11665 fi
11666
11667 { echo "$as_me:$LINENO: result: $result" >&5
11668 echo "${ECHO_T}$result" >&6; }
11669
11670
11671 enablestring=
11672 defaultval=$wxUSE_ALL_FEATURES
11673 if test -z "$defaultval"; then
11674 if test x"$enablestring" = xdisable; then
11675 defaultval=yes
11676 else
11677 defaultval=no
11678 fi
11679 fi
11680
11681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11682 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11683 # Check whether --enable-statline was given.
11684 if test "${enable_statline+set}" = set; then
11685 enableval=$enable_statline;
11686 if test "$enableval" = yes; then
11687 wx_cv_use_statline='wxUSE_STATLINE=yes'
11688 else
11689 wx_cv_use_statline='wxUSE_STATLINE=no'
11690 fi
11691
11692 else
11693
11694 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11695
11696 fi
11697
11698
11699 eval "$wx_cv_use_statline"
11700
11701 if test x"$enablestring" = xdisable; then
11702 if test $wxUSE_STATLINE = no; then
11703 result=yes
11704 else
11705 result=no
11706 fi
11707 else
11708 result=$wxUSE_STATLINE
11709 fi
11710
11711 { echo "$as_me:$LINENO: result: $result" >&5
11712 echo "${ECHO_T}$result" >&6; }
11713
11714
11715 enablestring=
11716 defaultval=$wxUSE_ALL_FEATURES
11717 if test -z "$defaultval"; then
11718 if test x"$enablestring" = xdisable; then
11719 defaultval=yes
11720 else
11721 defaultval=no
11722 fi
11723 fi
11724
11725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11726 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11727 # Check whether --enable-stattext was given.
11728 if test "${enable_stattext+set}" = set; then
11729 enableval=$enable_stattext;
11730 if test "$enableval" = yes; then
11731 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11732 else
11733 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11734 fi
11735
11736 else
11737
11738 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11739
11740 fi
11741
11742
11743 eval "$wx_cv_use_stattext"
11744
11745 if test x"$enablestring" = xdisable; then
11746 if test $wxUSE_STATTEXT = no; then
11747 result=yes
11748 else
11749 result=no
11750 fi
11751 else
11752 result=$wxUSE_STATTEXT
11753 fi
11754
11755 { echo "$as_me:$LINENO: result: $result" >&5
11756 echo "${ECHO_T}$result" >&6; }
11757
11758
11759 enablestring=
11760 defaultval=$wxUSE_ALL_FEATURES
11761 if test -z "$defaultval"; then
11762 if test x"$enablestring" = xdisable; then
11763 defaultval=yes
11764 else
11765 defaultval=no
11766 fi
11767 fi
11768
11769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11770 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11771 # Check whether --enable-statusbar was given.
11772 if test "${enable_statusbar+set}" = set; then
11773 enableval=$enable_statusbar;
11774 if test "$enableval" = yes; then
11775 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11776 else
11777 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11778 fi
11779
11780 else
11781
11782 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11783
11784 fi
11785
11786
11787 eval "$wx_cv_use_statusbar"
11788
11789 if test x"$enablestring" = xdisable; then
11790 if test $wxUSE_STATUSBAR = no; then
11791 result=yes
11792 else
11793 result=no
11794 fi
11795 else
11796 result=$wxUSE_STATUSBAR
11797 fi
11798
11799 { echo "$as_me:$LINENO: result: $result" >&5
11800 echo "${ECHO_T}$result" >&6; }
11801
11802
11803 enablestring=
11804 defaultval=$wxUSE_ALL_FEATURES
11805 if test -z "$defaultval"; then
11806 if test x"$enablestring" = xdisable; then
11807 defaultval=yes
11808 else
11809 defaultval=no
11810 fi
11811 fi
11812
11813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11814 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11815 # Check whether --enable-taskbaricon was given.
11816 if test "${enable_taskbaricon+set}" = set; then
11817 enableval=$enable_taskbaricon;
11818 if test "$enableval" = yes; then
11819 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11820 else
11821 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11822 fi
11823
11824 else
11825
11826 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11827
11828 fi
11829
11830
11831 eval "$wx_cv_use_taskbaricon"
11832
11833 if test x"$enablestring" = xdisable; then
11834 if test $wxUSE_TASKBARICON = no; then
11835 result=yes
11836 else
11837 result=no
11838 fi
11839 else
11840 result=$wxUSE_TASKBARICON
11841 fi
11842
11843 { echo "$as_me:$LINENO: result: $result" >&5
11844 echo "${ECHO_T}$result" >&6; }
11845
11846
11847 enablestring=
11848 defaultval=$wxUSE_ALL_FEATURES
11849 if test -z "$defaultval"; then
11850 if test x"$enablestring" = xdisable; then
11851 defaultval=yes
11852 else
11853 defaultval=no
11854 fi
11855 fi
11856
11857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11858 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11859 # Check whether --enable-tbarnative was given.
11860 if test "${enable_tbarnative+set}" = set; then
11861 enableval=$enable_tbarnative;
11862 if test "$enableval" = yes; then
11863 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11864 else
11865 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11866 fi
11867
11868 else
11869
11870 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11871
11872 fi
11873
11874
11875 eval "$wx_cv_use_tbarnative"
11876
11877 if test x"$enablestring" = xdisable; then
11878 if test $wxUSE_TOOLBAR_NATIVE = no; then
11879 result=yes
11880 else
11881 result=no
11882 fi
11883 else
11884 result=$wxUSE_TOOLBAR_NATIVE
11885 fi
11886
11887 { echo "$as_me:$LINENO: result: $result" >&5
11888 echo "${ECHO_T}$result" >&6; }
11889
11890
11891 enablestring=
11892 defaultval=$wxUSE_ALL_FEATURES
11893 if test -z "$defaultval"; then
11894 if test x"$enablestring" = xdisable; then
11895 defaultval=yes
11896 else
11897 defaultval=no
11898 fi
11899 fi
11900
11901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11902 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11903 # Check whether --enable-textctrl was given.
11904 if test "${enable_textctrl+set}" = set; then
11905 enableval=$enable_textctrl;
11906 if test "$enableval" = yes; then
11907 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11908 else
11909 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11910 fi
11911
11912 else
11913
11914 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11915
11916 fi
11917
11918
11919 eval "$wx_cv_use_textctrl"
11920
11921 if test x"$enablestring" = xdisable; then
11922 if test $wxUSE_TEXTCTRL = no; then
11923 result=yes
11924 else
11925 result=no
11926 fi
11927 else
11928 result=$wxUSE_TEXTCTRL
11929 fi
11930
11931 { echo "$as_me:$LINENO: result: $result" >&5
11932 echo "${ECHO_T}$result" >&6; }
11933
11934
11935 enablestring=
11936 defaultval=$wxUSE_ALL_FEATURES
11937 if test -z "$defaultval"; then
11938 if test x"$enablestring" = xdisable; then
11939 defaultval=yes
11940 else
11941 defaultval=no
11942 fi
11943 fi
11944
11945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11946 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11947 # Check whether --enable-tipwindow was given.
11948 if test "${enable_tipwindow+set}" = set; then
11949 enableval=$enable_tipwindow;
11950 if test "$enableval" = yes; then
11951 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11952 else
11953 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11954 fi
11955
11956 else
11957
11958 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11959
11960 fi
11961
11962
11963 eval "$wx_cv_use_tipwindow"
11964
11965 if test x"$enablestring" = xdisable; then
11966 if test $wxUSE_TIPWINDOW = no; then
11967 result=yes
11968 else
11969 result=no
11970 fi
11971 else
11972 result=$wxUSE_TIPWINDOW
11973 fi
11974
11975 { echo "$as_me:$LINENO: result: $result" >&5
11976 echo "${ECHO_T}$result" >&6; }
11977
11978
11979 enablestring=
11980 defaultval=$wxUSE_ALL_FEATURES
11981 if test -z "$defaultval"; then
11982 if test x"$enablestring" = xdisable; then
11983 defaultval=yes
11984 else
11985 defaultval=no
11986 fi
11987 fi
11988
11989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11990 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11991 # Check whether --enable-togglebtn was given.
11992 if test "${enable_togglebtn+set}" = set; then
11993 enableval=$enable_togglebtn;
11994 if test "$enableval" = yes; then
11995 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11996 else
11997 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11998 fi
11999
12000 else
12001
12002 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12003
12004 fi
12005
12006
12007 eval "$wx_cv_use_togglebtn"
12008
12009 if test x"$enablestring" = xdisable; then
12010 if test $wxUSE_TOGGLEBTN = no; then
12011 result=yes
12012 else
12013 result=no
12014 fi
12015 else
12016 result=$wxUSE_TOGGLEBTN
12017 fi
12018
12019 { echo "$as_me:$LINENO: result: $result" >&5
12020 echo "${ECHO_T}$result" >&6; }
12021
12022
12023 enablestring=
12024 defaultval=$wxUSE_ALL_FEATURES
12025 if test -z "$defaultval"; then
12026 if test x"$enablestring" = xdisable; then
12027 defaultval=yes
12028 else
12029 defaultval=no
12030 fi
12031 fi
12032
12033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12034 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12035 # Check whether --enable-toolbar was given.
12036 if test "${enable_toolbar+set}" = set; then
12037 enableval=$enable_toolbar;
12038 if test "$enableval" = yes; then
12039 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12040 else
12041 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12042 fi
12043
12044 else
12045
12046 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12047
12048 fi
12049
12050
12051 eval "$wx_cv_use_toolbar"
12052
12053 if test x"$enablestring" = xdisable; then
12054 if test $wxUSE_TOOLBAR = no; then
12055 result=yes
12056 else
12057 result=no
12058 fi
12059 else
12060 result=$wxUSE_TOOLBAR
12061 fi
12062
12063 { echo "$as_me:$LINENO: result: $result" >&5
12064 echo "${ECHO_T}$result" >&6; }
12065
12066
12067 enablestring=
12068 defaultval=$wxUSE_ALL_FEATURES
12069 if test -z "$defaultval"; then
12070 if test x"$enablestring" = xdisable; then
12071 defaultval=yes
12072 else
12073 defaultval=no
12074 fi
12075 fi
12076
12077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12078 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12079 # Check whether --enable-toolbook was given.
12080 if test "${enable_toolbook+set}" = set; then
12081 enableval=$enable_toolbook;
12082 if test "$enableval" = yes; then
12083 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12084 else
12085 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12086 fi
12087
12088 else
12089
12090 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12091
12092 fi
12093
12094
12095 eval "$wx_cv_use_toolbook"
12096
12097 if test x"$enablestring" = xdisable; then
12098 if test $wxUSE_TOOLBOOK = no; then
12099 result=yes
12100 else
12101 result=no
12102 fi
12103 else
12104 result=$wxUSE_TOOLBOOK
12105 fi
12106
12107 { echo "$as_me:$LINENO: result: $result" >&5
12108 echo "${ECHO_T}$result" >&6; }
12109
12110
12111 enablestring=
12112 defaultval=$wxUSE_ALL_FEATURES
12113 if test -z "$defaultval"; then
12114 if test x"$enablestring" = xdisable; then
12115 defaultval=yes
12116 else
12117 defaultval=no
12118 fi
12119 fi
12120
12121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12122 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12123 # Check whether --enable-treebook was given.
12124 if test "${enable_treebook+set}" = set; then
12125 enableval=$enable_treebook;
12126 if test "$enableval" = yes; then
12127 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12128 else
12129 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12130 fi
12131
12132 else
12133
12134 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12135
12136 fi
12137
12138
12139 eval "$wx_cv_use_treebook"
12140
12141 if test x"$enablestring" = xdisable; then
12142 if test $wxUSE_TREEBOOK = no; then
12143 result=yes
12144 else
12145 result=no
12146 fi
12147 else
12148 result=$wxUSE_TREEBOOK
12149 fi
12150
12151 { echo "$as_me:$LINENO: result: $result" >&5
12152 echo "${ECHO_T}$result" >&6; }
12153
12154
12155 enablestring=
12156 defaultval=$wxUSE_ALL_FEATURES
12157 if test -z "$defaultval"; then
12158 if test x"$enablestring" = xdisable; then
12159 defaultval=yes
12160 else
12161 defaultval=no
12162 fi
12163 fi
12164
12165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12166 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12167 # Check whether --enable-treectrl was given.
12168 if test "${enable_treectrl+set}" = set; then
12169 enableval=$enable_treectrl;
12170 if test "$enableval" = yes; then
12171 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12172 else
12173 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12174 fi
12175
12176 else
12177
12178 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12179
12180 fi
12181
12182
12183 eval "$wx_cv_use_treectrl"
12184
12185 if test x"$enablestring" = xdisable; then
12186 if test $wxUSE_TREECTRL = no; then
12187 result=yes
12188 else
12189 result=no
12190 fi
12191 else
12192 result=$wxUSE_TREECTRL
12193 fi
12194
12195 { echo "$as_me:$LINENO: result: $result" >&5
12196 echo "${ECHO_T}$result" >&6; }
12197
12198
12199
12200
12201 enablestring=
12202 defaultval=$wxUSE_ALL_FEATURES
12203 if test -z "$defaultval"; then
12204 if test x"$enablestring" = xdisable; then
12205 defaultval=yes
12206 else
12207 defaultval=no
12208 fi
12209 fi
12210
12211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12212 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12213 # Check whether --enable-commondlg was given.
12214 if test "${enable_commondlg+set}" = set; then
12215 enableval=$enable_commondlg;
12216 if test "$enableval" = yes; then
12217 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12218 else
12219 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12220 fi
12221
12222 else
12223
12224 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12225
12226 fi
12227
12228
12229 eval "$wx_cv_use_commondlg"
12230
12231 if test x"$enablestring" = xdisable; then
12232 if test $wxUSE_COMMONDLGS = no; then
12233 result=yes
12234 else
12235 result=no
12236 fi
12237 else
12238 result=$wxUSE_COMMONDLGS
12239 fi
12240
12241 { echo "$as_me:$LINENO: result: $result" >&5
12242 echo "${ECHO_T}$result" >&6; }
12243
12244
12245 enablestring=
12246 defaultval=$wxUSE_ALL_FEATURES
12247 if test -z "$defaultval"; then
12248 if test x"$enablestring" = xdisable; then
12249 defaultval=yes
12250 else
12251 defaultval=no
12252 fi
12253 fi
12254
12255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12256 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12257 # Check whether --enable-aboutdlg was given.
12258 if test "${enable_aboutdlg+set}" = set; then
12259 enableval=$enable_aboutdlg;
12260 if test "$enableval" = yes; then
12261 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12262 else
12263 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12264 fi
12265
12266 else
12267
12268 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12269
12270 fi
12271
12272
12273 eval "$wx_cv_use_aboutdlg"
12274
12275 if test x"$enablestring" = xdisable; then
12276 if test $wxUSE_ABOUTDLG = no; then
12277 result=yes
12278 else
12279 result=no
12280 fi
12281 else
12282 result=$wxUSE_ABOUTDLG
12283 fi
12284
12285 { echo "$as_me:$LINENO: result: $result" >&5
12286 echo "${ECHO_T}$result" >&6; }
12287
12288
12289 enablestring=
12290 defaultval=$wxUSE_ALL_FEATURES
12291 if test -z "$defaultval"; then
12292 if test x"$enablestring" = xdisable; then
12293 defaultval=yes
12294 else
12295 defaultval=no
12296 fi
12297 fi
12298
12299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12300 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12301 # Check whether --enable-choicedlg was given.
12302 if test "${enable_choicedlg+set}" = set; then
12303 enableval=$enable_choicedlg;
12304 if test "$enableval" = yes; then
12305 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12306 else
12307 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12308 fi
12309
12310 else
12311
12312 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12313
12314 fi
12315
12316
12317 eval "$wx_cv_use_choicedlg"
12318
12319 if test x"$enablestring" = xdisable; then
12320 if test $wxUSE_CHOICEDLG = no; then
12321 result=yes
12322 else
12323 result=no
12324 fi
12325 else
12326 result=$wxUSE_CHOICEDLG
12327 fi
12328
12329 { echo "$as_me:$LINENO: result: $result" >&5
12330 echo "${ECHO_T}$result" >&6; }
12331
12332
12333 enablestring=
12334 defaultval=$wxUSE_ALL_FEATURES
12335 if test -z "$defaultval"; then
12336 if test x"$enablestring" = xdisable; then
12337 defaultval=yes
12338 else
12339 defaultval=no
12340 fi
12341 fi
12342
12343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12344 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12345 # Check whether --enable-coldlg was given.
12346 if test "${enable_coldlg+set}" = set; then
12347 enableval=$enable_coldlg;
12348 if test "$enableval" = yes; then
12349 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12350 else
12351 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12352 fi
12353
12354 else
12355
12356 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12357
12358 fi
12359
12360
12361 eval "$wx_cv_use_coldlg"
12362
12363 if test x"$enablestring" = xdisable; then
12364 if test $wxUSE_COLOURDLG = no; then
12365 result=yes
12366 else
12367 result=no
12368 fi
12369 else
12370 result=$wxUSE_COLOURDLG
12371 fi
12372
12373 { echo "$as_me:$LINENO: result: $result" >&5
12374 echo "${ECHO_T}$result" >&6; }
12375
12376
12377 enablestring=
12378 defaultval=$wxUSE_ALL_FEATURES
12379 if test -z "$defaultval"; then
12380 if test x"$enablestring" = xdisable; then
12381 defaultval=yes
12382 else
12383 defaultval=no
12384 fi
12385 fi
12386
12387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12388 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12389 # Check whether --enable-filedlg was given.
12390 if test "${enable_filedlg+set}" = set; then
12391 enableval=$enable_filedlg;
12392 if test "$enableval" = yes; then
12393 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12394 else
12395 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12396 fi
12397
12398 else
12399
12400 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12401
12402 fi
12403
12404
12405 eval "$wx_cv_use_filedlg"
12406
12407 if test x"$enablestring" = xdisable; then
12408 if test $wxUSE_FILEDLG = no; then
12409 result=yes
12410 else
12411 result=no
12412 fi
12413 else
12414 result=$wxUSE_FILEDLG
12415 fi
12416
12417 { echo "$as_me:$LINENO: result: $result" >&5
12418 echo "${ECHO_T}$result" >&6; }
12419
12420
12421 enablestring=
12422 defaultval=$wxUSE_ALL_FEATURES
12423 if test -z "$defaultval"; then
12424 if test x"$enablestring" = xdisable; then
12425 defaultval=yes
12426 else
12427 defaultval=no
12428 fi
12429 fi
12430
12431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12432 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12433 # Check whether --enable-finddlg was given.
12434 if test "${enable_finddlg+set}" = set; then
12435 enableval=$enable_finddlg;
12436 if test "$enableval" = yes; then
12437 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12438 else
12439 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12440 fi
12441
12442 else
12443
12444 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12445
12446 fi
12447
12448
12449 eval "$wx_cv_use_finddlg"
12450
12451 if test x"$enablestring" = xdisable; then
12452 if test $wxUSE_FINDREPLDLG = no; then
12453 result=yes
12454 else
12455 result=no
12456 fi
12457 else
12458 result=$wxUSE_FINDREPLDLG
12459 fi
12460
12461 { echo "$as_me:$LINENO: result: $result" >&5
12462 echo "${ECHO_T}$result" >&6; }
12463
12464
12465 enablestring=
12466 defaultval=$wxUSE_ALL_FEATURES
12467 if test -z "$defaultval"; then
12468 if test x"$enablestring" = xdisable; then
12469 defaultval=yes
12470 else
12471 defaultval=no
12472 fi
12473 fi
12474
12475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12476 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12477 # Check whether --enable-fontdlg was given.
12478 if test "${enable_fontdlg+set}" = set; then
12479 enableval=$enable_fontdlg;
12480 if test "$enableval" = yes; then
12481 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12482 else
12483 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12484 fi
12485
12486 else
12487
12488 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12489
12490 fi
12491
12492
12493 eval "$wx_cv_use_fontdlg"
12494
12495 if test x"$enablestring" = xdisable; then
12496 if test $wxUSE_FONTDLG = no; then
12497 result=yes
12498 else
12499 result=no
12500 fi
12501 else
12502 result=$wxUSE_FONTDLG
12503 fi
12504
12505 { echo "$as_me:$LINENO: result: $result" >&5
12506 echo "${ECHO_T}$result" >&6; }
12507
12508
12509 enablestring=
12510 defaultval=$wxUSE_ALL_FEATURES
12511 if test -z "$defaultval"; then
12512 if test x"$enablestring" = xdisable; then
12513 defaultval=yes
12514 else
12515 defaultval=no
12516 fi
12517 fi
12518
12519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12520 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12521 # Check whether --enable-dirdlg was given.
12522 if test "${enable_dirdlg+set}" = set; then
12523 enableval=$enable_dirdlg;
12524 if test "$enableval" = yes; then
12525 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12526 else
12527 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12528 fi
12529
12530 else
12531
12532 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12533
12534 fi
12535
12536
12537 eval "$wx_cv_use_dirdlg"
12538
12539 if test x"$enablestring" = xdisable; then
12540 if test $wxUSE_DIRDLG = no; then
12541 result=yes
12542 else
12543 result=no
12544 fi
12545 else
12546 result=$wxUSE_DIRDLG
12547 fi
12548
12549 { echo "$as_me:$LINENO: result: $result" >&5
12550 echo "${ECHO_T}$result" >&6; }
12551
12552
12553 enablestring=
12554 defaultval=$wxUSE_ALL_FEATURES
12555 if test -z "$defaultval"; then
12556 if test x"$enablestring" = xdisable; then
12557 defaultval=yes
12558 else
12559 defaultval=no
12560 fi
12561 fi
12562
12563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12564 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12565 # Check whether --enable-msgdlg was given.
12566 if test "${enable_msgdlg+set}" = set; then
12567 enableval=$enable_msgdlg;
12568 if test "$enableval" = yes; then
12569 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12570 else
12571 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12572 fi
12573
12574 else
12575
12576 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12577
12578 fi
12579
12580
12581 eval "$wx_cv_use_msgdlg"
12582
12583 if test x"$enablestring" = xdisable; then
12584 if test $wxUSE_MSGDLG = no; then
12585 result=yes
12586 else
12587 result=no
12588 fi
12589 else
12590 result=$wxUSE_MSGDLG
12591 fi
12592
12593 { echo "$as_me:$LINENO: result: $result" >&5
12594 echo "${ECHO_T}$result" >&6; }
12595
12596
12597 enablestring=
12598 defaultval=$wxUSE_ALL_FEATURES
12599 if test -z "$defaultval"; then
12600 if test x"$enablestring" = xdisable; then
12601 defaultval=yes
12602 else
12603 defaultval=no
12604 fi
12605 fi
12606
12607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12608 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12609 # Check whether --enable-numberdlg was given.
12610 if test "${enable_numberdlg+set}" = set; then
12611 enableval=$enable_numberdlg;
12612 if test "$enableval" = yes; then
12613 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12614 else
12615 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12616 fi
12617
12618 else
12619
12620 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12621
12622 fi
12623
12624
12625 eval "$wx_cv_use_numberdlg"
12626
12627 if test x"$enablestring" = xdisable; then
12628 if test $wxUSE_NUMBERDLG = no; then
12629 result=yes
12630 else
12631 result=no
12632 fi
12633 else
12634 result=$wxUSE_NUMBERDLG
12635 fi
12636
12637 { echo "$as_me:$LINENO: result: $result" >&5
12638 echo "${ECHO_T}$result" >&6; }
12639
12640
12641 enablestring=
12642 defaultval=$wxUSE_ALL_FEATURES
12643 if test -z "$defaultval"; then
12644 if test x"$enablestring" = xdisable; then
12645 defaultval=yes
12646 else
12647 defaultval=no
12648 fi
12649 fi
12650
12651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12652 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12653 # Check whether --enable-splash was given.
12654 if test "${enable_splash+set}" = set; then
12655 enableval=$enable_splash;
12656 if test "$enableval" = yes; then
12657 wx_cv_use_splash='wxUSE_SPLASH=yes'
12658 else
12659 wx_cv_use_splash='wxUSE_SPLASH=no'
12660 fi
12661
12662 else
12663
12664 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12665
12666 fi
12667
12668
12669 eval "$wx_cv_use_splash"
12670
12671 if test x"$enablestring" = xdisable; then
12672 if test $wxUSE_SPLASH = no; then
12673 result=yes
12674 else
12675 result=no
12676 fi
12677 else
12678 result=$wxUSE_SPLASH
12679 fi
12680
12681 { echo "$as_me:$LINENO: result: $result" >&5
12682 echo "${ECHO_T}$result" >&6; }
12683
12684
12685 enablestring=
12686 defaultval=$wxUSE_ALL_FEATURES
12687 if test -z "$defaultval"; then
12688 if test x"$enablestring" = xdisable; then
12689 defaultval=yes
12690 else
12691 defaultval=no
12692 fi
12693 fi
12694
12695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12696 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12697 # Check whether --enable-textdlg was given.
12698 if test "${enable_textdlg+set}" = set; then
12699 enableval=$enable_textdlg;
12700 if test "$enableval" = yes; then
12701 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12702 else
12703 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12704 fi
12705
12706 else
12707
12708 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12709
12710 fi
12711
12712
12713 eval "$wx_cv_use_textdlg"
12714
12715 if test x"$enablestring" = xdisable; then
12716 if test $wxUSE_TEXTDLG = no; then
12717 result=yes
12718 else
12719 result=no
12720 fi
12721 else
12722 result=$wxUSE_TEXTDLG
12723 fi
12724
12725 { echo "$as_me:$LINENO: result: $result" >&5
12726 echo "${ECHO_T}$result" >&6; }
12727
12728
12729 enablestring=
12730 defaultval=$wxUSE_ALL_FEATURES
12731 if test -z "$defaultval"; then
12732 if test x"$enablestring" = xdisable; then
12733 defaultval=yes
12734 else
12735 defaultval=no
12736 fi
12737 fi
12738
12739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12740 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12741 # Check whether --enable-tipdlg was given.
12742 if test "${enable_tipdlg+set}" = set; then
12743 enableval=$enable_tipdlg;
12744 if test "$enableval" = yes; then
12745 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12746 else
12747 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12748 fi
12749
12750 else
12751
12752 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12753
12754 fi
12755
12756
12757 eval "$wx_cv_use_tipdlg"
12758
12759 if test x"$enablestring" = xdisable; then
12760 if test $wxUSE_STARTUP_TIPS = no; then
12761 result=yes
12762 else
12763 result=no
12764 fi
12765 else
12766 result=$wxUSE_STARTUP_TIPS
12767 fi
12768
12769 { echo "$as_me:$LINENO: result: $result" >&5
12770 echo "${ECHO_T}$result" >&6; }
12771
12772
12773 enablestring=
12774 defaultval=$wxUSE_ALL_FEATURES
12775 if test -z "$defaultval"; then
12776 if test x"$enablestring" = xdisable; then
12777 defaultval=yes
12778 else
12779 defaultval=no
12780 fi
12781 fi
12782
12783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12784 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12785 # Check whether --enable-progressdlg was given.
12786 if test "${enable_progressdlg+set}" = set; then
12787 enableval=$enable_progressdlg;
12788 if test "$enableval" = yes; then
12789 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12790 else
12791 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12792 fi
12793
12794 else
12795
12796 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12797
12798 fi
12799
12800
12801 eval "$wx_cv_use_progressdlg"
12802
12803 if test x"$enablestring" = xdisable; then
12804 if test $wxUSE_PROGRESSDLG = no; then
12805 result=yes
12806 else
12807 result=no
12808 fi
12809 else
12810 result=$wxUSE_PROGRESSDLG
12811 fi
12812
12813 { echo "$as_me:$LINENO: result: $result" >&5
12814 echo "${ECHO_T}$result" >&6; }
12815
12816
12817 enablestring=
12818 defaultval=$wxUSE_ALL_FEATURES
12819 if test -z "$defaultval"; then
12820 if test x"$enablestring" = xdisable; then
12821 defaultval=yes
12822 else
12823 defaultval=no
12824 fi
12825 fi
12826
12827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12828 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12829 # Check whether --enable-wizarddlg was given.
12830 if test "${enable_wizarddlg+set}" = set; then
12831 enableval=$enable_wizarddlg;
12832 if test "$enableval" = yes; then
12833 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12834 else
12835 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12836 fi
12837
12838 else
12839
12840 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12841
12842 fi
12843
12844
12845 eval "$wx_cv_use_wizarddlg"
12846
12847 if test x"$enablestring" = xdisable; then
12848 if test $wxUSE_WIZARDDLG = no; then
12849 result=yes
12850 else
12851 result=no
12852 fi
12853 else
12854 result=$wxUSE_WIZARDDLG
12855 fi
12856
12857 { echo "$as_me:$LINENO: result: $result" >&5
12858 echo "${ECHO_T}$result" >&6; }
12859
12860
12861
12862
12863 enablestring=
12864 defaultval=$wxUSE_ALL_FEATURES
12865 if test -z "$defaultval"; then
12866 if test x"$enablestring" = xdisable; then
12867 defaultval=yes
12868 else
12869 defaultval=no
12870 fi
12871 fi
12872
12873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12874 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12875 # Check whether --enable-menus was given.
12876 if test "${enable_menus+set}" = set; then
12877 enableval=$enable_menus;
12878 if test "$enableval" = yes; then
12879 wx_cv_use_menus='wxUSE_MENUS=yes'
12880 else
12881 wx_cv_use_menus='wxUSE_MENUS=no'
12882 fi
12883
12884 else
12885
12886 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12887
12888 fi
12889
12890
12891 eval "$wx_cv_use_menus"
12892
12893 if test x"$enablestring" = xdisable; then
12894 if test $wxUSE_MENUS = no; then
12895 result=yes
12896 else
12897 result=no
12898 fi
12899 else
12900 result=$wxUSE_MENUS
12901 fi
12902
12903 { echo "$as_me:$LINENO: result: $result" >&5
12904 echo "${ECHO_T}$result" >&6; }
12905
12906
12907 enablestring=
12908 defaultval=$wxUSE_ALL_FEATURES
12909 if test -z "$defaultval"; then
12910 if test x"$enablestring" = xdisable; then
12911 defaultval=yes
12912 else
12913 defaultval=no
12914 fi
12915 fi
12916
12917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12918 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12919 # Check whether --enable-miniframe was given.
12920 if test "${enable_miniframe+set}" = set; then
12921 enableval=$enable_miniframe;
12922 if test "$enableval" = yes; then
12923 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12924 else
12925 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12926 fi
12927
12928 else
12929
12930 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12931
12932 fi
12933
12934
12935 eval "$wx_cv_use_miniframe"
12936
12937 if test x"$enablestring" = xdisable; then
12938 if test $wxUSE_MINIFRAME = no; then
12939 result=yes
12940 else
12941 result=no
12942 fi
12943 else
12944 result=$wxUSE_MINIFRAME
12945 fi
12946
12947 { echo "$as_me:$LINENO: result: $result" >&5
12948 echo "${ECHO_T}$result" >&6; }
12949
12950
12951 enablestring=
12952 defaultval=$wxUSE_ALL_FEATURES
12953 if test -z "$defaultval"; then
12954 if test x"$enablestring" = xdisable; then
12955 defaultval=yes
12956 else
12957 defaultval=no
12958 fi
12959 fi
12960
12961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12962 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12963 # Check whether --enable-tooltips was given.
12964 if test "${enable_tooltips+set}" = set; then
12965 enableval=$enable_tooltips;
12966 if test "$enableval" = yes; then
12967 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12968 else
12969 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12970 fi
12971
12972 else
12973
12974 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12975
12976 fi
12977
12978
12979 eval "$wx_cv_use_tooltips"
12980
12981 if test x"$enablestring" = xdisable; then
12982 if test $wxUSE_TOOLTIPS = no; then
12983 result=yes
12984 else
12985 result=no
12986 fi
12987 else
12988 result=$wxUSE_TOOLTIPS
12989 fi
12990
12991 { echo "$as_me:$LINENO: result: $result" >&5
12992 echo "${ECHO_T}$result" >&6; }
12993
12994
12995 enablestring=
12996 defaultval=$wxUSE_ALL_FEATURES
12997 if test -z "$defaultval"; then
12998 if test x"$enablestring" = xdisable; then
12999 defaultval=yes
13000 else
13001 defaultval=no
13002 fi
13003 fi
13004
13005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13006 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13007 # Check whether --enable-splines was given.
13008 if test "${enable_splines+set}" = set; then
13009 enableval=$enable_splines;
13010 if test "$enableval" = yes; then
13011 wx_cv_use_splines='wxUSE_SPLINES=yes'
13012 else
13013 wx_cv_use_splines='wxUSE_SPLINES=no'
13014 fi
13015
13016 else
13017
13018 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13019
13020 fi
13021
13022
13023 eval "$wx_cv_use_splines"
13024
13025 if test x"$enablestring" = xdisable; then
13026 if test $wxUSE_SPLINES = no; then
13027 result=yes
13028 else
13029 result=no
13030 fi
13031 else
13032 result=$wxUSE_SPLINES
13033 fi
13034
13035 { echo "$as_me:$LINENO: result: $result" >&5
13036 echo "${ECHO_T}$result" >&6; }
13037
13038
13039 enablestring=
13040 defaultval=$wxUSE_ALL_FEATURES
13041 if test -z "$defaultval"; then
13042 if test x"$enablestring" = xdisable; then
13043 defaultval=yes
13044 else
13045 defaultval=no
13046 fi
13047 fi
13048
13049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13050 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13051 # Check whether --enable-mousewheel was given.
13052 if test "${enable_mousewheel+set}" = set; then
13053 enableval=$enable_mousewheel;
13054 if test "$enableval" = yes; then
13055 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13056 else
13057 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13058 fi
13059
13060 else
13061
13062 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13063
13064 fi
13065
13066
13067 eval "$wx_cv_use_mousewheel"
13068
13069 if test x"$enablestring" = xdisable; then
13070 if test $wxUSE_MOUSEWHEEL = no; then
13071 result=yes
13072 else
13073 result=no
13074 fi
13075 else
13076 result=$wxUSE_MOUSEWHEEL
13077 fi
13078
13079 { echo "$as_me:$LINENO: result: $result" >&5
13080 echo "${ECHO_T}$result" >&6; }
13081
13082
13083 enablestring=
13084 defaultval=$wxUSE_ALL_FEATURES
13085 if test -z "$defaultval"; then
13086 if test x"$enablestring" = xdisable; then
13087 defaultval=yes
13088 else
13089 defaultval=no
13090 fi
13091 fi
13092
13093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13094 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13095 # Check whether --enable-validators was given.
13096 if test "${enable_validators+set}" = set; then
13097 enableval=$enable_validators;
13098 if test "$enableval" = yes; then
13099 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13100 else
13101 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13102 fi
13103
13104 else
13105
13106 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13107
13108 fi
13109
13110
13111 eval "$wx_cv_use_validators"
13112
13113 if test x"$enablestring" = xdisable; then
13114 if test $wxUSE_VALIDATORS = no; then
13115 result=yes
13116 else
13117 result=no
13118 fi
13119 else
13120 result=$wxUSE_VALIDATORS
13121 fi
13122
13123 { echo "$as_me:$LINENO: result: $result" >&5
13124 echo "${ECHO_T}$result" >&6; }
13125
13126
13127 enablestring=
13128 defaultval=$wxUSE_ALL_FEATURES
13129 if test -z "$defaultval"; then
13130 if test x"$enablestring" = xdisable; then
13131 defaultval=yes
13132 else
13133 defaultval=no
13134 fi
13135 fi
13136
13137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13138 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13139 # Check whether --enable-busyinfo was given.
13140 if test "${enable_busyinfo+set}" = set; then
13141 enableval=$enable_busyinfo;
13142 if test "$enableval" = yes; then
13143 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13144 else
13145 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13146 fi
13147
13148 else
13149
13150 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13151
13152 fi
13153
13154
13155 eval "$wx_cv_use_busyinfo"
13156
13157 if test x"$enablestring" = xdisable; then
13158 if test $wxUSE_BUSYINFO = no; then
13159 result=yes
13160 else
13161 result=no
13162 fi
13163 else
13164 result=$wxUSE_BUSYINFO
13165 fi
13166
13167 { echo "$as_me:$LINENO: result: $result" >&5
13168 echo "${ECHO_T}$result" >&6; }
13169
13170
13171 enablestring=
13172 defaultval=$wxUSE_ALL_FEATURES
13173 if test -z "$defaultval"; then
13174 if test x"$enablestring" = xdisable; then
13175 defaultval=yes
13176 else
13177 defaultval=no
13178 fi
13179 fi
13180
13181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13182 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13183 # Check whether --enable-joystick was given.
13184 if test "${enable_joystick+set}" = set; then
13185 enableval=$enable_joystick;
13186 if test "$enableval" = yes; then
13187 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13188 else
13189 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13190 fi
13191
13192 else
13193
13194 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13195
13196 fi
13197
13198
13199 eval "$wx_cv_use_joystick"
13200
13201 if test x"$enablestring" = xdisable; then
13202 if test $wxUSE_JOYSTICK = no; then
13203 result=yes
13204 else
13205 result=no
13206 fi
13207 else
13208 result=$wxUSE_JOYSTICK
13209 fi
13210
13211 { echo "$as_me:$LINENO: result: $result" >&5
13212 echo "${ECHO_T}$result" >&6; }
13213
13214
13215 enablestring=
13216 defaultval=$wxUSE_ALL_FEATURES
13217 if test -z "$defaultval"; then
13218 if test x"$enablestring" = xdisable; then
13219 defaultval=yes
13220 else
13221 defaultval=no
13222 fi
13223 fi
13224
13225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13226 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13227 # Check whether --enable-metafile was given.
13228 if test "${enable_metafile+set}" = set; then
13229 enableval=$enable_metafile;
13230 if test "$enableval" = yes; then
13231 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13232 else
13233 wx_cv_use_metafile='wxUSE_METAFILE=no'
13234 fi
13235
13236 else
13237
13238 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13239
13240 fi
13241
13242
13243 eval "$wx_cv_use_metafile"
13244
13245 if test x"$enablestring" = xdisable; then
13246 if test $wxUSE_METAFILE = no; then
13247 result=yes
13248 else
13249 result=no
13250 fi
13251 else
13252 result=$wxUSE_METAFILE
13253 fi
13254
13255 { echo "$as_me:$LINENO: result: $result" >&5
13256 echo "${ECHO_T}$result" >&6; }
13257
13258
13259 enablestring=
13260 defaultval=$wxUSE_ALL_FEATURES
13261 if test -z "$defaultval"; then
13262 if test x"$enablestring" = xdisable; then
13263 defaultval=yes
13264 else
13265 defaultval=no
13266 fi
13267 fi
13268
13269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13270 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13271 # Check whether --enable-dragimage was given.
13272 if test "${enable_dragimage+set}" = set; then
13273 enableval=$enable_dragimage;
13274 if test "$enableval" = yes; then
13275 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13276 else
13277 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13278 fi
13279
13280 else
13281
13282 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13283
13284 fi
13285
13286
13287 eval "$wx_cv_use_dragimage"
13288
13289 if test x"$enablestring" = xdisable; then
13290 if test $wxUSE_DRAGIMAGE = no; then
13291 result=yes
13292 else
13293 result=no
13294 fi
13295 else
13296 result=$wxUSE_DRAGIMAGE
13297 fi
13298
13299 { echo "$as_me:$LINENO: result: $result" >&5
13300 echo "${ECHO_T}$result" >&6; }
13301
13302
13303 enablestring=
13304 defaultval=$wxUSE_ALL_FEATURES
13305 if test -z "$defaultval"; then
13306 if test x"$enablestring" = xdisable; then
13307 defaultval=yes
13308 else
13309 defaultval=no
13310 fi
13311 fi
13312
13313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13314 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13315 # Check whether --enable-accessibility was given.
13316 if test "${enable_accessibility+set}" = set; then
13317 enableval=$enable_accessibility;
13318 if test "$enableval" = yes; then
13319 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13320 else
13321 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13322 fi
13323
13324 else
13325
13326 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13327
13328 fi
13329
13330
13331 eval "$wx_cv_use_accessibility"
13332
13333 if test x"$enablestring" = xdisable; then
13334 if test $wxUSE_ACCESSIBILITY = no; then
13335 result=yes
13336 else
13337 result=no
13338 fi
13339 else
13340 result=$wxUSE_ACCESSIBILITY
13341 fi
13342
13343 { echo "$as_me:$LINENO: result: $result" >&5
13344 echo "${ECHO_T}$result" >&6; }
13345
13346
13347
13348
13349 enablestring=
13350 defaultval=$wxUSE_ALL_FEATURES
13351 if test -z "$defaultval"; then
13352 if test x"$enablestring" = xdisable; then
13353 defaultval=yes
13354 else
13355 defaultval=no
13356 fi
13357 fi
13358
13359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13360 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13361 # Check whether --enable-palette was given.
13362 if test "${enable_palette+set}" = set; then
13363 enableval=$enable_palette;
13364 if test "$enableval" = yes; then
13365 wx_cv_use_palette='wxUSE_PALETTE=yes'
13366 else
13367 wx_cv_use_palette='wxUSE_PALETTE=no'
13368 fi
13369
13370 else
13371
13372 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13373
13374 fi
13375
13376
13377 eval "$wx_cv_use_palette"
13378
13379 if test x"$enablestring" = xdisable; then
13380 if test $wxUSE_PALETTE = no; then
13381 result=yes
13382 else
13383 result=no
13384 fi
13385 else
13386 result=$wxUSE_PALETTE
13387 fi
13388
13389 { echo "$as_me:$LINENO: result: $result" >&5
13390 echo "${ECHO_T}$result" >&6; }
13391
13392
13393 enablestring=
13394 defaultval=$wxUSE_ALL_FEATURES
13395 if test -z "$defaultval"; then
13396 if test x"$enablestring" = xdisable; then
13397 defaultval=yes
13398 else
13399 defaultval=no
13400 fi
13401 fi
13402
13403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13404 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13405 # Check whether --enable-image was given.
13406 if test "${enable_image+set}" = set; then
13407 enableval=$enable_image;
13408 if test "$enableval" = yes; then
13409 wx_cv_use_image='wxUSE_IMAGE=yes'
13410 else
13411 wx_cv_use_image='wxUSE_IMAGE=no'
13412 fi
13413
13414 else
13415
13416 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13417
13418 fi
13419
13420
13421 eval "$wx_cv_use_image"
13422
13423 if test x"$enablestring" = xdisable; then
13424 if test $wxUSE_IMAGE = no; then
13425 result=yes
13426 else
13427 result=no
13428 fi
13429 else
13430 result=$wxUSE_IMAGE
13431 fi
13432
13433 { echo "$as_me:$LINENO: result: $result" >&5
13434 echo "${ECHO_T}$result" >&6; }
13435
13436
13437 enablestring=
13438 defaultval=$wxUSE_ALL_FEATURES
13439 if test -z "$defaultval"; then
13440 if test x"$enablestring" = xdisable; then
13441 defaultval=yes
13442 else
13443 defaultval=no
13444 fi
13445 fi
13446
13447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13448 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13449 # Check whether --enable-gif was given.
13450 if test "${enable_gif+set}" = set; then
13451 enableval=$enable_gif;
13452 if test "$enableval" = yes; then
13453 wx_cv_use_gif='wxUSE_GIF=yes'
13454 else
13455 wx_cv_use_gif='wxUSE_GIF=no'
13456 fi
13457
13458 else
13459
13460 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13461
13462 fi
13463
13464
13465 eval "$wx_cv_use_gif"
13466
13467 if test x"$enablestring" = xdisable; then
13468 if test $wxUSE_GIF = no; then
13469 result=yes
13470 else
13471 result=no
13472 fi
13473 else
13474 result=$wxUSE_GIF
13475 fi
13476
13477 { echo "$as_me:$LINENO: result: $result" >&5
13478 echo "${ECHO_T}$result" >&6; }
13479
13480
13481 enablestring=
13482 defaultval=$wxUSE_ALL_FEATURES
13483 if test -z "$defaultval"; then
13484 if test x"$enablestring" = xdisable; then
13485 defaultval=yes
13486 else
13487 defaultval=no
13488 fi
13489 fi
13490
13491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13492 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13493 # Check whether --enable-pcx was given.
13494 if test "${enable_pcx+set}" = set; then
13495 enableval=$enable_pcx;
13496 if test "$enableval" = yes; then
13497 wx_cv_use_pcx='wxUSE_PCX=yes'
13498 else
13499 wx_cv_use_pcx='wxUSE_PCX=no'
13500 fi
13501
13502 else
13503
13504 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13505
13506 fi
13507
13508
13509 eval "$wx_cv_use_pcx"
13510
13511 if test x"$enablestring" = xdisable; then
13512 if test $wxUSE_PCX = no; then
13513 result=yes
13514 else
13515 result=no
13516 fi
13517 else
13518 result=$wxUSE_PCX
13519 fi
13520
13521 { echo "$as_me:$LINENO: result: $result" >&5
13522 echo "${ECHO_T}$result" >&6; }
13523
13524
13525 enablestring=
13526 defaultval=$wxUSE_ALL_FEATURES
13527 if test -z "$defaultval"; then
13528 if test x"$enablestring" = xdisable; then
13529 defaultval=yes
13530 else
13531 defaultval=no
13532 fi
13533 fi
13534
13535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13536 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13537 # Check whether --enable-tga was given.
13538 if test "${enable_tga+set}" = set; then
13539 enableval=$enable_tga;
13540 if test "$enableval" = yes; then
13541 wx_cv_use_tga='wxUSE_TGA=yes'
13542 else
13543 wx_cv_use_tga='wxUSE_TGA=no'
13544 fi
13545
13546 else
13547
13548 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13549
13550 fi
13551
13552
13553 eval "$wx_cv_use_tga"
13554
13555 if test x"$enablestring" = xdisable; then
13556 if test $wxUSE_TGA = no; then
13557 result=yes
13558 else
13559 result=no
13560 fi
13561 else
13562 result=$wxUSE_TGA
13563 fi
13564
13565 { echo "$as_me:$LINENO: result: $result" >&5
13566 echo "${ECHO_T}$result" >&6; }
13567
13568
13569 enablestring=
13570 defaultval=$wxUSE_ALL_FEATURES
13571 if test -z "$defaultval"; then
13572 if test x"$enablestring" = xdisable; then
13573 defaultval=yes
13574 else
13575 defaultval=no
13576 fi
13577 fi
13578
13579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13580 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13581 # Check whether --enable-iff was given.
13582 if test "${enable_iff+set}" = set; then
13583 enableval=$enable_iff;
13584 if test "$enableval" = yes; then
13585 wx_cv_use_iff='wxUSE_IFF=yes'
13586 else
13587 wx_cv_use_iff='wxUSE_IFF=no'
13588 fi
13589
13590 else
13591
13592 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13593
13594 fi
13595
13596
13597 eval "$wx_cv_use_iff"
13598
13599 if test x"$enablestring" = xdisable; then
13600 if test $wxUSE_IFF = no; then
13601 result=yes
13602 else
13603 result=no
13604 fi
13605 else
13606 result=$wxUSE_IFF
13607 fi
13608
13609 { echo "$as_me:$LINENO: result: $result" >&5
13610 echo "${ECHO_T}$result" >&6; }
13611
13612
13613 enablestring=
13614 defaultval=$wxUSE_ALL_FEATURES
13615 if test -z "$defaultval"; then
13616 if test x"$enablestring" = xdisable; then
13617 defaultval=yes
13618 else
13619 defaultval=no
13620 fi
13621 fi
13622
13623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13624 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13625 # Check whether --enable-pnm was given.
13626 if test "${enable_pnm+set}" = set; then
13627 enableval=$enable_pnm;
13628 if test "$enableval" = yes; then
13629 wx_cv_use_pnm='wxUSE_PNM=yes'
13630 else
13631 wx_cv_use_pnm='wxUSE_PNM=no'
13632 fi
13633
13634 else
13635
13636 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13637
13638 fi
13639
13640
13641 eval "$wx_cv_use_pnm"
13642
13643 if test x"$enablestring" = xdisable; then
13644 if test $wxUSE_PNM = no; then
13645 result=yes
13646 else
13647 result=no
13648 fi
13649 else
13650 result=$wxUSE_PNM
13651 fi
13652
13653 { echo "$as_me:$LINENO: result: $result" >&5
13654 echo "${ECHO_T}$result" >&6; }
13655
13656
13657 enablestring=
13658 defaultval=$wxUSE_ALL_FEATURES
13659 if test -z "$defaultval"; then
13660 if test x"$enablestring" = xdisable; then
13661 defaultval=yes
13662 else
13663 defaultval=no
13664 fi
13665 fi
13666
13667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13668 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13669 # Check whether --enable-xpm was given.
13670 if test "${enable_xpm+set}" = set; then
13671 enableval=$enable_xpm;
13672 if test "$enableval" = yes; then
13673 wx_cv_use_xpm='wxUSE_XPM=yes'
13674 else
13675 wx_cv_use_xpm='wxUSE_XPM=no'
13676 fi
13677
13678 else
13679
13680 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13681
13682 fi
13683
13684
13685 eval "$wx_cv_use_xpm"
13686
13687 if test x"$enablestring" = xdisable; then
13688 if test $wxUSE_XPM = no; then
13689 result=yes
13690 else
13691 result=no
13692 fi
13693 else
13694 result=$wxUSE_XPM
13695 fi
13696
13697 { echo "$as_me:$LINENO: result: $result" >&5
13698 echo "${ECHO_T}$result" >&6; }
13699
13700
13701 enablestring=
13702 defaultval=$wxUSE_ALL_FEATURES
13703 if test -z "$defaultval"; then
13704 if test x"$enablestring" = xdisable; then
13705 defaultval=yes
13706 else
13707 defaultval=no
13708 fi
13709 fi
13710
13711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13712 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13713 # Check whether --enable-ico_cur was given.
13714 if test "${enable_ico_cur+set}" = set; then
13715 enableval=$enable_ico_cur;
13716 if test "$enableval" = yes; then
13717 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13718 else
13719 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13720 fi
13721
13722 else
13723
13724 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13725
13726 fi
13727
13728
13729 eval "$wx_cv_use_ico_cur"
13730
13731 if test x"$enablestring" = xdisable; then
13732 if test $wxUSE_ICO_CUR = no; then
13733 result=yes
13734 else
13735 result=no
13736 fi
13737 else
13738 result=$wxUSE_ICO_CUR
13739 fi
13740
13741 { echo "$as_me:$LINENO: result: $result" >&5
13742 echo "${ECHO_T}$result" >&6; }
13743
13744
13745
13746
13747 enablestring=
13748 defaultval=$wxUSE_ALL_FEATURES
13749 if test -z "$defaultval"; then
13750 if test x"$enablestring" = xdisable; then
13751 defaultval=yes
13752 else
13753 defaultval=no
13754 fi
13755 fi
13756
13757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13758 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13759 # Check whether --enable-dccache was given.
13760 if test "${enable_dccache+set}" = set; then
13761 enableval=$enable_dccache;
13762 if test "$enableval" = yes; then
13763 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13764 else
13765 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13766 fi
13767
13768 else
13769
13770 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13771
13772 fi
13773
13774
13775 eval "$wx_cv_use_dccache"
13776
13777 if test x"$enablestring" = xdisable; then
13778 if test $wxUSE_DC_CACHEING = no; then
13779 result=yes
13780 else
13781 result=no
13782 fi
13783 else
13784 result=$wxUSE_DC_CACHEING
13785 fi
13786
13787 { echo "$as_me:$LINENO: result: $result" >&5
13788 echo "${ECHO_T}$result" >&6; }
13789
13790
13791 enablestring=
13792 defaultval=$wxUSE_ALL_FEATURES
13793 if test -z "$defaultval"; then
13794 if test x"$enablestring" = xdisable; then
13795 defaultval=yes
13796 else
13797 defaultval=no
13798 fi
13799 fi
13800
13801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13802 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13803 # Check whether --enable-ps-in-msw was given.
13804 if test "${enable_ps_in_msw+set}" = set; then
13805 enableval=$enable_ps_in_msw;
13806 if test "$enableval" = yes; then
13807 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13808 else
13809 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13810 fi
13811
13812 else
13813
13814 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13815
13816 fi
13817
13818
13819 eval "$wx_cv_use_ps_in_msw"
13820
13821 if test x"$enablestring" = xdisable; then
13822 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
13823 result=yes
13824 else
13825 result=no
13826 fi
13827 else
13828 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13829 fi
13830
13831 { echo "$as_me:$LINENO: result: $result" >&5
13832 echo "${ECHO_T}$result" >&6; }
13833
13834
13835 enablestring=
13836 defaultval=$wxUSE_ALL_FEATURES
13837 if test -z "$defaultval"; then
13838 if test x"$enablestring" = xdisable; then
13839 defaultval=yes
13840 else
13841 defaultval=no
13842 fi
13843 fi
13844
13845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13846 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13847 # Check whether --enable-ownerdrawn was given.
13848 if test "${enable_ownerdrawn+set}" = set; then
13849 enableval=$enable_ownerdrawn;
13850 if test "$enableval" = yes; then
13851 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13852 else
13853 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13854 fi
13855
13856 else
13857
13858 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13859
13860 fi
13861
13862
13863 eval "$wx_cv_use_ownerdrawn"
13864
13865 if test x"$enablestring" = xdisable; then
13866 if test $wxUSE_OWNER_DRAWN = no; then
13867 result=yes
13868 else
13869 result=no
13870 fi
13871 else
13872 result=$wxUSE_OWNER_DRAWN
13873 fi
13874
13875 { echo "$as_me:$LINENO: result: $result" >&5
13876 echo "${ECHO_T}$result" >&6; }
13877
13878
13879 enablestring=
13880 defaultval=$wxUSE_ALL_FEATURES
13881 if test -z "$defaultval"; then
13882 if test x"$enablestring" = xdisable; then
13883 defaultval=yes
13884 else
13885 defaultval=no
13886 fi
13887 fi
13888
13889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13890 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13891 # Check whether --enable-uxtheme was given.
13892 if test "${enable_uxtheme+set}" = set; then
13893 enableval=$enable_uxtheme;
13894 if test "$enableval" = yes; then
13895 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13896 else
13897 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13898 fi
13899
13900 else
13901
13902 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13903
13904 fi
13905
13906
13907 eval "$wx_cv_use_uxtheme"
13908
13909 if test x"$enablestring" = xdisable; then
13910 if test $wxUSE_UXTHEME = no; then
13911 result=yes
13912 else
13913 result=no
13914 fi
13915 else
13916 result=$wxUSE_UXTHEME
13917 fi
13918
13919 { echo "$as_me:$LINENO: result: $result" >&5
13920 echo "${ECHO_T}$result" >&6; }
13921
13922
13923 enablestring=
13924 defaultval=$wxUSE_ALL_FEATURES
13925 if test -z "$defaultval"; then
13926 if test x"$enablestring" = xdisable; then
13927 defaultval=yes
13928 else
13929 defaultval=no
13930 fi
13931 fi
13932
13933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13934 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13935 # Check whether --enable-wxdib was given.
13936 if test "${enable_wxdib+set}" = set; then
13937 enableval=$enable_wxdib;
13938 if test "$enableval" = yes; then
13939 wx_cv_use_wxdib='wxUSE_DIB=yes'
13940 else
13941 wx_cv_use_wxdib='wxUSE_DIB=no'
13942 fi
13943
13944 else
13945
13946 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13947
13948 fi
13949
13950
13951 eval "$wx_cv_use_wxdib"
13952
13953 if test x"$enablestring" = xdisable; then
13954 if test $wxUSE_DIB = no; then
13955 result=yes
13956 else
13957 result=no
13958 fi
13959 else
13960 result=$wxUSE_DIB
13961 fi
13962
13963 { echo "$as_me:$LINENO: result: $result" >&5
13964 echo "${ECHO_T}$result" >&6; }
13965
13966
13967 if test "$wxUSE_MSW" != 1; then
13968 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13969 fi
13970
13971
13972 enablestring=
13973 defaultval=$wxUSE_ALL_FEATURES
13974 if test -z "$defaultval"; then
13975 if test x"$enablestring" = xdisable; then
13976 defaultval=yes
13977 else
13978 defaultval=no
13979 fi
13980 fi
13981
13982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13983 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13984 # Check whether --enable-autoidman was given.
13985 if test "${enable_autoidman+set}" = set; then
13986 enableval=$enable_autoidman;
13987 if test "$enableval" = yes; then
13988 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13989 else
13990 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13991 fi
13992
13993 else
13994
13995 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13996
13997 fi
13998
13999
14000 eval "$wx_cv_use_autoidman"
14001
14002 if test x"$enablestring" = xdisable; then
14003 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14004 result=yes
14005 else
14006 result=no
14007 fi
14008 else
14009 result=$wxUSE_AUTOID_MANAGEMENT
14010 fi
14011
14012 { echo "$as_me:$LINENO: result: $result" >&5
14013 echo "${ECHO_T}$result" >&6; }
14014
14015
14016 fi
14017
14018
14019 cat >confcache <<\_ACEOF
14020 # This file is a shell script that caches the results of configure
14021 # tests run on this system so they can be shared between configure
14022 # scripts and configure runs, see configure's option --config-cache.
14023 # It is not useful on other systems. If it contains results you don't
14024 # want to keep, you may remove or edit it.
14025 #
14026 # config.status only pays attention to the cache file if you give it
14027 # the --recheck option to rerun configure.
14028 #
14029 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14030 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14031 # following values.
14032
14033 _ACEOF
14034
14035 # The following way of writing the cache mishandles newlines in values,
14036 # but we know of no workaround that is simple, portable, and efficient.
14037 # So, we kill variables containing newlines.
14038 # Ultrix sh set writes to stderr and can't be redirected directly,
14039 # and sets the high bit in the cache file unless we assign to the vars.
14040 (
14041 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14042 eval ac_val=\$$ac_var
14043 case $ac_val in #(
14044 *${as_nl}*)
14045 case $ac_var in #(
14046 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14047 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14048 esac
14049 case $ac_var in #(
14050 _ | IFS | as_nl) ;; #(
14051 *) $as_unset $ac_var ;;
14052 esac ;;
14053 esac
14054 done
14055
14056 (set) 2>&1 |
14057 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14058 *${as_nl}ac_space=\ *)
14059 # `set' does not quote correctly, so add quotes (double-quote
14060 # substitution turns \\\\ into \\, and sed turns \\ into \).
14061 sed -n \
14062 "s/'/'\\\\''/g;
14063 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14064 ;; #(
14065 *)
14066 # `set' quotes correctly as required by POSIX, so do not add quotes.
14067 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14068 ;;
14069 esac |
14070 sort
14071 ) |
14072 sed '
14073 /^ac_cv_env_/b end
14074 t clear
14075 :clear
14076 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14077 t end
14078 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14079 :end' >>confcache
14080 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14081 if test -w "$cache_file"; then
14082 test "x$cache_file" != "x/dev/null" &&
14083 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14084 echo "$as_me: updating cache $cache_file" >&6;}
14085 cat confcache >$cache_file
14086 else
14087 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14088 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14089 fi
14090 fi
14091 rm -f confcache
14092
14093 CFLAGS=${CFLAGS:=}
14094
14095
14096
14097 ac_ext=c
14098 ac_cpp='$CPP $CPPFLAGS'
14099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14102 if test -n "$ac_tool_prefix"; then
14103 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14104 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14107 if test "${ac_cv_prog_CC+set}" = set; then
14108 echo $ECHO_N "(cached) $ECHO_C" >&6
14109 else
14110 if test -n "$CC"; then
14111 ac_cv_prog_CC="$CC" # Let the user override the test.
14112 else
14113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14114 for as_dir in $PATH
14115 do
14116 IFS=$as_save_IFS
14117 test -z "$as_dir" && as_dir=.
14118 for ac_exec_ext in '' $ac_executable_extensions; do
14119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14120 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14122 break 2
14123 fi
14124 done
14125 done
14126 IFS=$as_save_IFS
14127
14128 fi
14129 fi
14130 CC=$ac_cv_prog_CC
14131 if test -n "$CC"; then
14132 { echo "$as_me:$LINENO: result: $CC" >&5
14133 echo "${ECHO_T}$CC" >&6; }
14134 else
14135 { echo "$as_me:$LINENO: result: no" >&5
14136 echo "${ECHO_T}no" >&6; }
14137 fi
14138
14139
14140 fi
14141 if test -z "$ac_cv_prog_CC"; then
14142 ac_ct_CC=$CC
14143 # Extract the first word of "gcc", so it can be a program name with args.
14144 set dummy gcc; ac_word=$2
14145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14147 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14148 echo $ECHO_N "(cached) $ECHO_C" >&6
14149 else
14150 if test -n "$ac_ct_CC"; then
14151 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14152 else
14153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14154 for as_dir in $PATH
14155 do
14156 IFS=$as_save_IFS
14157 test -z "$as_dir" && as_dir=.
14158 for ac_exec_ext in '' $ac_executable_extensions; do
14159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14160 ac_cv_prog_ac_ct_CC="gcc"
14161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14162 break 2
14163 fi
14164 done
14165 done
14166 IFS=$as_save_IFS
14167
14168 fi
14169 fi
14170 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14171 if test -n "$ac_ct_CC"; then
14172 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14173 echo "${ECHO_T}$ac_ct_CC" >&6; }
14174 else
14175 { echo "$as_me:$LINENO: result: no" >&5
14176 echo "${ECHO_T}no" >&6; }
14177 fi
14178
14179 if test "x$ac_ct_CC" = x; then
14180 CC=""
14181 else
14182 case $cross_compiling:$ac_tool_warned in
14183 yes:)
14184 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14185 whose name does not start with the host triplet. If you think this
14186 configuration is useful to you, please write to autoconf@gnu.org." >&5
14187 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14188 whose name does not start with the host triplet. If you think this
14189 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14190 ac_tool_warned=yes ;;
14191 esac
14192 CC=$ac_ct_CC
14193 fi
14194 else
14195 CC="$ac_cv_prog_CC"
14196 fi
14197
14198 if test -z "$CC"; then
14199 if test -n "$ac_tool_prefix"; then
14200 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14201 set dummy ${ac_tool_prefix}cc; ac_word=$2
14202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14204 if test "${ac_cv_prog_CC+set}" = set; then
14205 echo $ECHO_N "(cached) $ECHO_C" >&6
14206 else
14207 if test -n "$CC"; then
14208 ac_cv_prog_CC="$CC" # Let the user override the test.
14209 else
14210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14211 for as_dir in $PATH
14212 do
14213 IFS=$as_save_IFS
14214 test -z "$as_dir" && as_dir=.
14215 for ac_exec_ext in '' $ac_executable_extensions; do
14216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14217 ac_cv_prog_CC="${ac_tool_prefix}cc"
14218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14219 break 2
14220 fi
14221 done
14222 done
14223 IFS=$as_save_IFS
14224
14225 fi
14226 fi
14227 CC=$ac_cv_prog_CC
14228 if test -n "$CC"; then
14229 { echo "$as_me:$LINENO: result: $CC" >&5
14230 echo "${ECHO_T}$CC" >&6; }
14231 else
14232 { echo "$as_me:$LINENO: result: no" >&5
14233 echo "${ECHO_T}no" >&6; }
14234 fi
14235
14236
14237 fi
14238 fi
14239 if test -z "$CC"; then
14240 # Extract the first word of "cc", so it can be a program name with args.
14241 set dummy cc; ac_word=$2
14242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14244 if test "${ac_cv_prog_CC+set}" = set; then
14245 echo $ECHO_N "(cached) $ECHO_C" >&6
14246 else
14247 if test -n "$CC"; then
14248 ac_cv_prog_CC="$CC" # Let the user override the test.
14249 else
14250 ac_prog_rejected=no
14251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14252 for as_dir in $PATH
14253 do
14254 IFS=$as_save_IFS
14255 test -z "$as_dir" && as_dir=.
14256 for ac_exec_ext in '' $ac_executable_extensions; do
14257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14258 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14259 ac_prog_rejected=yes
14260 continue
14261 fi
14262 ac_cv_prog_CC="cc"
14263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14264 break 2
14265 fi
14266 done
14267 done
14268 IFS=$as_save_IFS
14269
14270 if test $ac_prog_rejected = yes; then
14271 # We found a bogon in the path, so make sure we never use it.
14272 set dummy $ac_cv_prog_CC
14273 shift
14274 if test $# != 0; then
14275 # We chose a different compiler from the bogus one.
14276 # However, it has the same basename, so the bogon will be chosen
14277 # first if we set CC to just the basename; use the full file name.
14278 shift
14279 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14280 fi
14281 fi
14282 fi
14283 fi
14284 CC=$ac_cv_prog_CC
14285 if test -n "$CC"; then
14286 { echo "$as_me:$LINENO: result: $CC" >&5
14287 echo "${ECHO_T}$CC" >&6; }
14288 else
14289 { echo "$as_me:$LINENO: result: no" >&5
14290 echo "${ECHO_T}no" >&6; }
14291 fi
14292
14293
14294 fi
14295 if test -z "$CC"; then
14296 if test -n "$ac_tool_prefix"; then
14297 for ac_prog in cl.exe
14298 do
14299 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14300 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14303 if test "${ac_cv_prog_CC+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14305 else
14306 if test -n "$CC"; then
14307 ac_cv_prog_CC="$CC" # Let the user override the test.
14308 else
14309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14310 for as_dir in $PATH
14311 do
14312 IFS=$as_save_IFS
14313 test -z "$as_dir" && as_dir=.
14314 for ac_exec_ext in '' $ac_executable_extensions; do
14315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14316 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14318 break 2
14319 fi
14320 done
14321 done
14322 IFS=$as_save_IFS
14323
14324 fi
14325 fi
14326 CC=$ac_cv_prog_CC
14327 if test -n "$CC"; then
14328 { echo "$as_me:$LINENO: result: $CC" >&5
14329 echo "${ECHO_T}$CC" >&6; }
14330 else
14331 { echo "$as_me:$LINENO: result: no" >&5
14332 echo "${ECHO_T}no" >&6; }
14333 fi
14334
14335
14336 test -n "$CC" && break
14337 done
14338 fi
14339 if test -z "$CC"; then
14340 ac_ct_CC=$CC
14341 for ac_prog in cl.exe
14342 do
14343 # Extract the first word of "$ac_prog", so it can be a program name with args.
14344 set dummy $ac_prog; ac_word=$2
14345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14347 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14348 echo $ECHO_N "(cached) $ECHO_C" >&6
14349 else
14350 if test -n "$ac_ct_CC"; then
14351 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14352 else
14353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14354 for as_dir in $PATH
14355 do
14356 IFS=$as_save_IFS
14357 test -z "$as_dir" && as_dir=.
14358 for ac_exec_ext in '' $ac_executable_extensions; do
14359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14360 ac_cv_prog_ac_ct_CC="$ac_prog"
14361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14362 break 2
14363 fi
14364 done
14365 done
14366 IFS=$as_save_IFS
14367
14368 fi
14369 fi
14370 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14371 if test -n "$ac_ct_CC"; then
14372 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14373 echo "${ECHO_T}$ac_ct_CC" >&6; }
14374 else
14375 { echo "$as_me:$LINENO: result: no" >&5
14376 echo "${ECHO_T}no" >&6; }
14377 fi
14378
14379
14380 test -n "$ac_ct_CC" && break
14381 done
14382
14383 if test "x$ac_ct_CC" = x; then
14384 CC=""
14385 else
14386 case $cross_compiling:$ac_tool_warned in
14387 yes:)
14388 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14389 whose name does not start with the host triplet. If you think this
14390 configuration is useful to you, please write to autoconf@gnu.org." >&5
14391 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14392 whose name does not start with the host triplet. If you think this
14393 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14394 ac_tool_warned=yes ;;
14395 esac
14396 CC=$ac_ct_CC
14397 fi
14398 fi
14399
14400 fi
14401
14402
14403 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14404 See \`config.log' for more details." >&5
14405 echo "$as_me: error: no acceptable C compiler found in \$PATH
14406 See \`config.log' for more details." >&2;}
14407 { (exit 1); exit 1; }; }
14408
14409 # Provide some information about the compiler.
14410 echo "$as_me:$LINENO: checking for C compiler version" >&5
14411 ac_compiler=`set X $ac_compile; echo $2`
14412 { (ac_try="$ac_compiler --version >&5"
14413 case "(($ac_try" in
14414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14415 *) ac_try_echo=$ac_try;;
14416 esac
14417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14418 (eval "$ac_compiler --version >&5") 2>&5
14419 ac_status=$?
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); }
14422 { (ac_try="$ac_compiler -v >&5"
14423 case "(($ac_try" in
14424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14425 *) ac_try_echo=$ac_try;;
14426 esac
14427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14428 (eval "$ac_compiler -v >&5") 2>&5
14429 ac_status=$?
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }
14432 { (ac_try="$ac_compiler -V >&5"
14433 case "(($ac_try" in
14434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14435 *) ac_try_echo=$ac_try;;
14436 esac
14437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14438 (eval "$ac_compiler -V >&5") 2>&5
14439 ac_status=$?
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }
14442
14443 cat >conftest.$ac_ext <<_ACEOF
14444 /* confdefs.h. */
14445 _ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449
14450 int
14451 main ()
14452 {
14453
14454 ;
14455 return 0;
14456 }
14457 _ACEOF
14458 ac_clean_files_save=$ac_clean_files
14459 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14460 # Try to create an executable without -o first, disregard a.out.
14461 # It will help us diagnose broken compilers, and finding out an intuition
14462 # of exeext.
14463 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14464 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14465 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14466 #
14467 # List of possible output files, starting from the most likely.
14468 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14469 # only as a last resort. b.out is created by i960 compilers.
14470 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14471 #
14472 # The IRIX 6 linker writes into existing files which may not be
14473 # executable, retaining their permissions. Remove them first so a
14474 # subsequent execution test works.
14475 ac_rmfiles=
14476 for ac_file in $ac_files
14477 do
14478 case $ac_file in
14479 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14480 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14481 esac
14482 done
14483 rm -f $ac_rmfiles
14484
14485 if { (ac_try="$ac_link_default"
14486 case "(($ac_try" in
14487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14488 *) ac_try_echo=$ac_try;;
14489 esac
14490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14491 (eval "$ac_link_default") 2>&5
14492 ac_status=$?
14493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14494 (exit $ac_status); }; then
14495 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14496 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14497 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14498 # so that the user can short-circuit this test for compilers unknown to
14499 # Autoconf.
14500 for ac_file in $ac_files ''
14501 do
14502 test -f "$ac_file" || continue
14503 case $ac_file in
14504 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14505 ;;
14506 [ab].out )
14507 # We found the default executable, but exeext='' is most
14508 # certainly right.
14509 break;;
14510 *.* )
14511 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14512 then :; else
14513 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14514 fi
14515 # We set ac_cv_exeext here because the later test for it is not
14516 # safe: cross compilers may not add the suffix if given an `-o'
14517 # argument, so we may need to know it at that point already.
14518 # Even if this section looks crufty: it has the advantage of
14519 # actually working.
14520 break;;
14521 * )
14522 break;;
14523 esac
14524 done
14525 test "$ac_cv_exeext" = no && ac_cv_exeext=
14526
14527 else
14528 ac_file=''
14529 fi
14530
14531 { echo "$as_me:$LINENO: result: $ac_file" >&5
14532 echo "${ECHO_T}$ac_file" >&6; }
14533 if test -z "$ac_file"; then
14534 echo "$as_me: failed program was:" >&5
14535 sed 's/^/| /' conftest.$ac_ext >&5
14536
14537 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14538 See \`config.log' for more details." >&5
14539 echo "$as_me: error: C compiler cannot create executables
14540 See \`config.log' for more details." >&2;}
14541 { (exit 77); exit 77; }; }
14542 fi
14543
14544 ac_exeext=$ac_cv_exeext
14545
14546 # Check that the compiler produces executables we can run. If not, either
14547 # the compiler is broken, or we cross compile.
14548 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14549 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14550 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14551 # If not cross compiling, check that we can run a simple program.
14552 if test "$cross_compiling" != yes; then
14553 if { ac_try='./$ac_file'
14554 { (case "(($ac_try" in
14555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14556 *) ac_try_echo=$ac_try;;
14557 esac
14558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14559 (eval "$ac_try") 2>&5
14560 ac_status=$?
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); }; }; then
14563 cross_compiling=no
14564 else
14565 if test "$cross_compiling" = maybe; then
14566 cross_compiling=yes
14567 else
14568 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14569 If you meant to cross compile, use \`--host'.
14570 See \`config.log' for more details." >&5
14571 echo "$as_me: error: cannot run C compiled programs.
14572 If you meant to cross compile, use \`--host'.
14573 See \`config.log' for more details." >&2;}
14574 { (exit 1); exit 1; }; }
14575 fi
14576 fi
14577 fi
14578 { echo "$as_me:$LINENO: result: yes" >&5
14579 echo "${ECHO_T}yes" >&6; }
14580
14581 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14582 ac_clean_files=$ac_clean_files_save
14583 # Check that the compiler produces executables we can run. If not, either
14584 # the compiler is broken, or we cross compile.
14585 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14586 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14587 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14588 echo "${ECHO_T}$cross_compiling" >&6; }
14589
14590 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14591 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14592 if { (ac_try="$ac_link"
14593 case "(($ac_try" in
14594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14595 *) ac_try_echo=$ac_try;;
14596 esac
14597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14598 (eval "$ac_link") 2>&5
14599 ac_status=$?
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; then
14602 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14603 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14604 # work properly (i.e., refer to `conftest.exe'), while it won't with
14605 # `rm'.
14606 for ac_file in conftest.exe conftest conftest.*; do
14607 test -f "$ac_file" || continue
14608 case $ac_file in
14609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14610 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14611 break;;
14612 * ) break;;
14613 esac
14614 done
14615 else
14616 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14617 See \`config.log' for more details." >&5
14618 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14619 See \`config.log' for more details." >&2;}
14620 { (exit 1); exit 1; }; }
14621 fi
14622
14623 rm -f conftest$ac_cv_exeext
14624 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14625 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14626
14627 rm -f conftest.$ac_ext
14628 EXEEXT=$ac_cv_exeext
14629 ac_exeext=$EXEEXT
14630 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14631 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14632 if test "${ac_cv_objext+set}" = set; then
14633 echo $ECHO_N "(cached) $ECHO_C" >&6
14634 else
14635 cat >conftest.$ac_ext <<_ACEOF
14636 /* confdefs.h. */
14637 _ACEOF
14638 cat confdefs.h >>conftest.$ac_ext
14639 cat >>conftest.$ac_ext <<_ACEOF
14640 /* end confdefs.h. */
14641
14642 int
14643 main ()
14644 {
14645
14646 ;
14647 return 0;
14648 }
14649 _ACEOF
14650 rm -f conftest.o conftest.obj
14651 if { (ac_try="$ac_compile"
14652 case "(($ac_try" in
14653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14654 *) ac_try_echo=$ac_try;;
14655 esac
14656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14657 (eval "$ac_compile") 2>&5
14658 ac_status=$?
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660 (exit $ac_status); }; then
14661 for ac_file in conftest.o conftest.obj conftest.*; do
14662 test -f "$ac_file" || continue;
14663 case $ac_file in
14664 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14665 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14666 break;;
14667 esac
14668 done
14669 else
14670 echo "$as_me: failed program was:" >&5
14671 sed 's/^/| /' conftest.$ac_ext >&5
14672
14673 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14674 See \`config.log' for more details." >&5
14675 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14676 See \`config.log' for more details." >&2;}
14677 { (exit 1); exit 1; }; }
14678 fi
14679
14680 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14681 fi
14682 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14683 echo "${ECHO_T}$ac_cv_objext" >&6; }
14684 OBJEXT=$ac_cv_objext
14685 ac_objext=$OBJEXT
14686 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14687 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14688 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14689 echo $ECHO_N "(cached) $ECHO_C" >&6
14690 else
14691 cat >conftest.$ac_ext <<_ACEOF
14692 /* confdefs.h. */
14693 _ACEOF
14694 cat confdefs.h >>conftest.$ac_ext
14695 cat >>conftest.$ac_ext <<_ACEOF
14696 /* end confdefs.h. */
14697
14698 int
14699 main ()
14700 {
14701 #ifndef __GNUC__
14702 choke me
14703 #endif
14704
14705 ;
14706 return 0;
14707 }
14708 _ACEOF
14709 rm -f conftest.$ac_objext
14710 if { (ac_try="$ac_compile"
14711 case "(($ac_try" in
14712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14713 *) ac_try_echo=$ac_try;;
14714 esac
14715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14716 (eval "$ac_compile") 2>conftest.er1
14717 ac_status=$?
14718 grep -v '^ *+' conftest.er1 >conftest.err
14719 rm -f conftest.er1
14720 cat conftest.err >&5
14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722 (exit $ac_status); } && {
14723 test -z "$ac_c_werror_flag" ||
14724 test ! -s conftest.err
14725 } && test -s conftest.$ac_objext; then
14726 ac_compiler_gnu=yes
14727 else
14728 echo "$as_me: failed program was:" >&5
14729 sed 's/^/| /' conftest.$ac_ext >&5
14730
14731 ac_compiler_gnu=no
14732 fi
14733
14734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14735 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14736
14737 fi
14738 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14739 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14740 GCC=`test $ac_compiler_gnu = yes && echo yes`
14741 ac_test_CFLAGS=${CFLAGS+set}
14742 ac_save_CFLAGS=$CFLAGS
14743 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14744 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14745 if test "${ac_cv_prog_cc_g+set}" = set; then
14746 echo $ECHO_N "(cached) $ECHO_C" >&6
14747 else
14748 ac_save_c_werror_flag=$ac_c_werror_flag
14749 ac_c_werror_flag=yes
14750 ac_cv_prog_cc_g=no
14751 CFLAGS="-g"
14752 cat >conftest.$ac_ext <<_ACEOF
14753 /* confdefs.h. */
14754 _ACEOF
14755 cat confdefs.h >>conftest.$ac_ext
14756 cat >>conftest.$ac_ext <<_ACEOF
14757 /* end confdefs.h. */
14758
14759 int
14760 main ()
14761 {
14762
14763 ;
14764 return 0;
14765 }
14766 _ACEOF
14767 rm -f conftest.$ac_objext
14768 if { (ac_try="$ac_compile"
14769 case "(($ac_try" in
14770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14771 *) ac_try_echo=$ac_try;;
14772 esac
14773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14774 (eval "$ac_compile") 2>conftest.er1
14775 ac_status=$?
14776 grep -v '^ *+' conftest.er1 >conftest.err
14777 rm -f conftest.er1
14778 cat conftest.err >&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); } && {
14781 test -z "$ac_c_werror_flag" ||
14782 test ! -s conftest.err
14783 } && test -s conftest.$ac_objext; then
14784 ac_cv_prog_cc_g=yes
14785 else
14786 echo "$as_me: failed program was:" >&5
14787 sed 's/^/| /' conftest.$ac_ext >&5
14788
14789 CFLAGS=""
14790 cat >conftest.$ac_ext <<_ACEOF
14791 /* confdefs.h. */
14792 _ACEOF
14793 cat confdefs.h >>conftest.$ac_ext
14794 cat >>conftest.$ac_ext <<_ACEOF
14795 /* end confdefs.h. */
14796
14797 int
14798 main ()
14799 {
14800
14801 ;
14802 return 0;
14803 }
14804 _ACEOF
14805 rm -f conftest.$ac_objext
14806 if { (ac_try="$ac_compile"
14807 case "(($ac_try" in
14808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14809 *) ac_try_echo=$ac_try;;
14810 esac
14811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14812 (eval "$ac_compile") 2>conftest.er1
14813 ac_status=$?
14814 grep -v '^ *+' conftest.er1 >conftest.err
14815 rm -f conftest.er1
14816 cat conftest.err >&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); } && {
14819 test -z "$ac_c_werror_flag" ||
14820 test ! -s conftest.err
14821 } && test -s conftest.$ac_objext; then
14822 :
14823 else
14824 echo "$as_me: failed program was:" >&5
14825 sed 's/^/| /' conftest.$ac_ext >&5
14826
14827 ac_c_werror_flag=$ac_save_c_werror_flag
14828 CFLAGS="-g"
14829 cat >conftest.$ac_ext <<_ACEOF
14830 /* confdefs.h. */
14831 _ACEOF
14832 cat confdefs.h >>conftest.$ac_ext
14833 cat >>conftest.$ac_ext <<_ACEOF
14834 /* end confdefs.h. */
14835
14836 int
14837 main ()
14838 {
14839
14840 ;
14841 return 0;
14842 }
14843 _ACEOF
14844 rm -f conftest.$ac_objext
14845 if { (ac_try="$ac_compile"
14846 case "(($ac_try" in
14847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14848 *) ac_try_echo=$ac_try;;
14849 esac
14850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14851 (eval "$ac_compile") 2>conftest.er1
14852 ac_status=$?
14853 grep -v '^ *+' conftest.er1 >conftest.err
14854 rm -f conftest.er1
14855 cat conftest.err >&5
14856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14857 (exit $ac_status); } && {
14858 test -z "$ac_c_werror_flag" ||
14859 test ! -s conftest.err
14860 } && test -s conftest.$ac_objext; then
14861 ac_cv_prog_cc_g=yes
14862 else
14863 echo "$as_me: failed program was:" >&5
14864 sed 's/^/| /' conftest.$ac_ext >&5
14865
14866
14867 fi
14868
14869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14870 fi
14871
14872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14873 fi
14874
14875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14876 ac_c_werror_flag=$ac_save_c_werror_flag
14877 fi
14878 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14879 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14880 if test "$ac_test_CFLAGS" = set; then
14881 CFLAGS=$ac_save_CFLAGS
14882 elif test $ac_cv_prog_cc_g = yes; then
14883 if test "$GCC" = yes; then
14884 CFLAGS="-g -O2"
14885 else
14886 CFLAGS="-g"
14887 fi
14888 else
14889 if test "$GCC" = yes; then
14890 CFLAGS="-O2"
14891 else
14892 CFLAGS=
14893 fi
14894 fi
14895 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14896 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14897 if test "${ac_cv_prog_cc_c89+set}" = set; then
14898 echo $ECHO_N "(cached) $ECHO_C" >&6
14899 else
14900 ac_cv_prog_cc_c89=no
14901 ac_save_CC=$CC
14902 cat >conftest.$ac_ext <<_ACEOF
14903 /* confdefs.h. */
14904 _ACEOF
14905 cat confdefs.h >>conftest.$ac_ext
14906 cat >>conftest.$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14908 #include <stdarg.h>
14909 #include <stdio.h>
14910 #include <sys/types.h>
14911 #include <sys/stat.h>
14912 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14913 struct buf { int x; };
14914 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14915 static char *e (p, i)
14916 char **p;
14917 int i;
14918 {
14919 return p[i];
14920 }
14921 static char *f (char * (*g) (char **, int), char **p, ...)
14922 {
14923 char *s;
14924 va_list v;
14925 va_start (v,p);
14926 s = g (p, va_arg (v,int));
14927 va_end (v);
14928 return s;
14929 }
14930
14931 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14932 function prototypes and stuff, but not '\xHH' hex character constants.
14933 These don't provoke an error unfortunately, instead are silently treated
14934 as 'x'. The following induces an error, until -std is added to get
14935 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14936 array size at least. It's necessary to write '\x00'==0 to get something
14937 that's true only with -std. */
14938 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14939
14940 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14941 inside strings and character constants. */
14942 #define FOO(x) 'x'
14943 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14944
14945 int test (int i, double x);
14946 struct s1 {int (*f) (int a);};
14947 struct s2 {int (*f) (double a);};
14948 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14949 int argc;
14950 char **argv;
14951 int
14952 main ()
14953 {
14954 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14955 ;
14956 return 0;
14957 }
14958 _ACEOF
14959 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14960 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14961 do
14962 CC="$ac_save_CC $ac_arg"
14963 rm -f conftest.$ac_objext
14964 if { (ac_try="$ac_compile"
14965 case "(($ac_try" in
14966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14967 *) ac_try_echo=$ac_try;;
14968 esac
14969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14970 (eval "$ac_compile") 2>conftest.er1
14971 ac_status=$?
14972 grep -v '^ *+' conftest.er1 >conftest.err
14973 rm -f conftest.er1
14974 cat conftest.err >&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); } && {
14977 test -z "$ac_c_werror_flag" ||
14978 test ! -s conftest.err
14979 } && test -s conftest.$ac_objext; then
14980 ac_cv_prog_cc_c89=$ac_arg
14981 else
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.$ac_ext >&5
14984
14985
14986 fi
14987
14988 rm -f core conftest.err conftest.$ac_objext
14989 test "x$ac_cv_prog_cc_c89" != "xno" && break
14990 done
14991 rm -f conftest.$ac_ext
14992 CC=$ac_save_CC
14993
14994 fi
14995 # AC_CACHE_VAL
14996 case "x$ac_cv_prog_cc_c89" in
14997 x)
14998 { echo "$as_me:$LINENO: result: none needed" >&5
14999 echo "${ECHO_T}none needed" >&6; } ;;
15000 xno)
15001 { echo "$as_me:$LINENO: result: unsupported" >&5
15002 echo "${ECHO_T}unsupported" >&6; } ;;
15003 *)
15004 CC="$CC $ac_cv_prog_cc_c89"
15005 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15006 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15007 esac
15008
15009
15010 ac_ext=c
15011 ac_cpp='$CPP $CPPFLAGS'
15012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15015
15016
15017
15018
15019 ac_ext=c
15020 ac_cpp='$CPP $CPPFLAGS'
15021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15024
15025 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15026 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15027 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15029 else
15030 cat >conftest.$ac_ext <<_ACEOF
15031 /* confdefs.h. */
15032 _ACEOF
15033 cat confdefs.h >>conftest.$ac_ext
15034 cat >>conftest.$ac_ext <<_ACEOF
15035 /* end confdefs.h. */
15036
15037 int
15038 main ()
15039 {
15040
15041 #ifndef __INTEL_COMPILER
15042 choke me
15043 #endif
15044
15045 ;
15046 return 0;
15047 }
15048 _ACEOF
15049 rm -f conftest.$ac_objext
15050 if { (ac_try="$ac_compile"
15051 case "(($ac_try" in
15052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15053 *) ac_try_echo=$ac_try;;
15054 esac
15055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15056 (eval "$ac_compile") 2>conftest.er1
15057 ac_status=$?
15058 grep -v '^ *+' conftest.er1 >conftest.err
15059 rm -f conftest.er1
15060 cat conftest.err >&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); } && {
15063 test -z "$ac_c_werror_flag" ||
15064 test ! -s conftest.err
15065 } && test -s conftest.$ac_objext; then
15066 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15067 else
15068 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.$ac_ext >&5
15070
15071 bakefile_cv_c_compiler___INTEL_COMPILER=no
15072
15073 fi
15074
15075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15076
15077
15078 fi
15079 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15080 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15081 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15082 :; INTELCC=yes
15083 else
15084 :;
15085 fi
15086 ac_ext=c
15087 ac_cpp='$CPP $CPPFLAGS'
15088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15091
15092
15093
15094
15095 if test "$INTELCC" = "yes"; then
15096
15097
15098 ac_ext=c
15099 ac_cpp='$CPP $CPPFLAGS'
15100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15103
15104 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15105 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15106 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15107 echo $ECHO_N "(cached) $ECHO_C" >&6
15108 else
15109 cat >conftest.$ac_ext <<_ACEOF
15110 /* confdefs.h. */
15111 _ACEOF
15112 cat confdefs.h >>conftest.$ac_ext
15113 cat >>conftest.$ac_ext <<_ACEOF
15114 /* end confdefs.h. */
15115
15116 int
15117 main ()
15118 {
15119
15120 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15121 choke me
15122 #endif
15123
15124 ;
15125 return 0;
15126 }
15127 _ACEOF
15128 rm -f conftest.$ac_objext
15129 if { (ac_try="$ac_compile"
15130 case "(($ac_try" in
15131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15132 *) ac_try_echo=$ac_try;;
15133 esac
15134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15135 (eval "$ac_compile") 2>conftest.er1
15136 ac_status=$?
15137 grep -v '^ *+' conftest.er1 >conftest.err
15138 rm -f conftest.er1
15139 cat conftest.err >&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); } && {
15142 test -z "$ac_c_werror_flag" ||
15143 test ! -s conftest.err
15144 } && test -s conftest.$ac_objext; then
15145 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15146 else
15147 echo "$as_me: failed program was:" >&5
15148 sed 's/^/| /' conftest.$ac_ext >&5
15149
15150 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15151
15152 fi
15153
15154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15155
15156
15157 fi
15158 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15159 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15160 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15161 :; INTELCC8=yes
15162 else
15163 :;
15164 fi
15165 ac_ext=c
15166 ac_cpp='$CPP $CPPFLAGS'
15167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15170
15171
15172
15173
15174
15175 ac_ext=c
15176 ac_cpp='$CPP $CPPFLAGS'
15177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15180
15181 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15182 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15183 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 else
15186 cat >conftest.$ac_ext <<_ACEOF
15187 /* confdefs.h. */
15188 _ACEOF
15189 cat confdefs.h >>conftest.$ac_ext
15190 cat >>conftest.$ac_ext <<_ACEOF
15191 /* end confdefs.h. */
15192
15193 int
15194 main ()
15195 {
15196
15197 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15198 choke me
15199 #endif
15200
15201 ;
15202 return 0;
15203 }
15204 _ACEOF
15205 rm -f conftest.$ac_objext
15206 if { (ac_try="$ac_compile"
15207 case "(($ac_try" in
15208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15209 *) ac_try_echo=$ac_try;;
15210 esac
15211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15212 (eval "$ac_compile") 2>conftest.er1
15213 ac_status=$?
15214 grep -v '^ *+' conftest.er1 >conftest.err
15215 rm -f conftest.er1
15216 cat conftest.err >&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); } && {
15219 test -z "$ac_c_werror_flag" ||
15220 test ! -s conftest.err
15221 } && test -s conftest.$ac_objext; then
15222 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15223 else
15224 echo "$as_me: failed program was:" >&5
15225 sed 's/^/| /' conftest.$ac_ext >&5
15226
15227 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15228
15229 fi
15230
15231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15232
15233
15234 fi
15235 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15236 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15237 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15238 :; INTELCC10=yes
15239 else
15240 :;
15241 fi
15242 ac_ext=c
15243 ac_cpp='$CPP $CPPFLAGS'
15244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15247
15248
15249
15250 fi
15251
15252 if test "x$GCC" != "xyes"; then
15253 if test "xCC" = "xC"; then
15254 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15255 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15256 if test "${bakefile_cv_c_exto+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 else
15259 cat >conftest.$ac_ext <<_ACEOF
15260 /* confdefs.h. */
15261 _ACEOF
15262 cat confdefs.h >>conftest.$ac_ext
15263 cat >>conftest.$ac_ext <<_ACEOF
15264 /* end confdefs.h. */
15265
15266 int
15267 main ()
15268 {
15269
15270 ;
15271 return 0;
15272 }
15273 _ACEOF
15274 rm -f conftest.$ac_objext conftest.$ac_ext.o
15275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15276 (eval $ac_compile) 2>&5
15277 ac_status=$?
15278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 (exit $ac_status); }; then
15280 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15281 case $ac_file in
15282 conftest.$ac_ext.o)
15283 bakefile_cv_c_exto="-ext o"
15284 ;;
15285 *)
15286 ;;
15287 esac
15288 done
15289 else
15290 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15291 See \`config.log' for more details." >&5
15292 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15293 See \`config.log' for more details." >&2;}
15294 { (exit 1); exit 1; }; }
15295
15296 fi
15297
15298 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15299
15300 fi
15301 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15302 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15303 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15304 if test "c" = "c"; then
15305 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15306 fi
15307 if test "c" = "cxx"; then
15308 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15309 fi
15310 fi
15311
15312 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15313 unset ac_cv_prog_cc_g
15314 ac_test_CFLAGS=${CFLAGS+set}
15315 ac_save_CFLAGS=$CFLAGS
15316 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15317 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15318 if test "${ac_cv_prog_cc_g+set}" = set; then
15319 echo $ECHO_N "(cached) $ECHO_C" >&6
15320 else
15321 ac_save_c_werror_flag=$ac_c_werror_flag
15322 ac_c_werror_flag=yes
15323 ac_cv_prog_cc_g=no
15324 CFLAGS="-g"
15325 cat >conftest.$ac_ext <<_ACEOF
15326 /* confdefs.h. */
15327 _ACEOF
15328 cat confdefs.h >>conftest.$ac_ext
15329 cat >>conftest.$ac_ext <<_ACEOF
15330 /* end confdefs.h. */
15331
15332 int
15333 main ()
15334 {
15335
15336 ;
15337 return 0;
15338 }
15339 _ACEOF
15340 rm -f conftest.$ac_objext
15341 if { (ac_try="$ac_compile"
15342 case "(($ac_try" in
15343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15344 *) ac_try_echo=$ac_try;;
15345 esac
15346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15347 (eval "$ac_compile") 2>conftest.er1
15348 ac_status=$?
15349 grep -v '^ *+' conftest.er1 >conftest.err
15350 rm -f conftest.er1
15351 cat conftest.err >&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); } && {
15354 test -z "$ac_c_werror_flag" ||
15355 test ! -s conftest.err
15356 } && test -s conftest.$ac_objext; then
15357 ac_cv_prog_cc_g=yes
15358 else
15359 echo "$as_me: failed program was:" >&5
15360 sed 's/^/| /' conftest.$ac_ext >&5
15361
15362 CFLAGS=""
15363 cat >conftest.$ac_ext <<_ACEOF
15364 /* confdefs.h. */
15365 _ACEOF
15366 cat confdefs.h >>conftest.$ac_ext
15367 cat >>conftest.$ac_ext <<_ACEOF
15368 /* end confdefs.h. */
15369
15370 int
15371 main ()
15372 {
15373
15374 ;
15375 return 0;
15376 }
15377 _ACEOF
15378 rm -f conftest.$ac_objext
15379 if { (ac_try="$ac_compile"
15380 case "(($ac_try" in
15381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15382 *) ac_try_echo=$ac_try;;
15383 esac
15384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15385 (eval "$ac_compile") 2>conftest.er1
15386 ac_status=$?
15387 grep -v '^ *+' conftest.er1 >conftest.err
15388 rm -f conftest.er1
15389 cat conftest.err >&5
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); } && {
15392 test -z "$ac_c_werror_flag" ||
15393 test ! -s conftest.err
15394 } && test -s conftest.$ac_objext; then
15395 :
15396 else
15397 echo "$as_me: failed program was:" >&5
15398 sed 's/^/| /' conftest.$ac_ext >&5
15399
15400 ac_c_werror_flag=$ac_save_c_werror_flag
15401 CFLAGS="-g"
15402 cat >conftest.$ac_ext <<_ACEOF
15403 /* confdefs.h. */
15404 _ACEOF
15405 cat confdefs.h >>conftest.$ac_ext
15406 cat >>conftest.$ac_ext <<_ACEOF
15407 /* end confdefs.h. */
15408
15409 int
15410 main ()
15411 {
15412
15413 ;
15414 return 0;
15415 }
15416 _ACEOF
15417 rm -f conftest.$ac_objext
15418 if { (ac_try="$ac_compile"
15419 case "(($ac_try" in
15420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15421 *) ac_try_echo=$ac_try;;
15422 esac
15423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15424 (eval "$ac_compile") 2>conftest.er1
15425 ac_status=$?
15426 grep -v '^ *+' conftest.er1 >conftest.err
15427 rm -f conftest.er1
15428 cat conftest.err >&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); } && {
15431 test -z "$ac_c_werror_flag" ||
15432 test ! -s conftest.err
15433 } && test -s conftest.$ac_objext; then
15434 ac_cv_prog_cc_g=yes
15435 else
15436 echo "$as_me: failed program was:" >&5
15437 sed 's/^/| /' conftest.$ac_ext >&5
15438
15439
15440 fi
15441
15442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15443 fi
15444
15445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15446 fi
15447
15448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15449 ac_c_werror_flag=$ac_save_c_werror_flag
15450 fi
15451 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15452 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15453 if test "$ac_test_CFLAGS" = set; then
15454 CFLAGS=$ac_save_CFLAGS
15455 elif test $ac_cv_prog_cc_g = yes; then
15456 if test "$GCC" = yes; then
15457 CFLAGS="-g -O2"
15458 else
15459 CFLAGS="-g"
15460 fi
15461 else
15462 if test "$GCC" = yes; then
15463 CFLAGS="-O2"
15464 else
15465 CFLAGS=
15466 fi
15467 fi
15468 fi
15469 fi
15470
15471 case `uname -s` in
15472 AIX*)
15473
15474
15475 ac_ext=c
15476 ac_cpp='$CPP $CPPFLAGS'
15477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15480
15481 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15482 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15483 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15484 echo $ECHO_N "(cached) $ECHO_C" >&6
15485 else
15486 cat >conftest.$ac_ext <<_ACEOF
15487 /* confdefs.h. */
15488 _ACEOF
15489 cat confdefs.h >>conftest.$ac_ext
15490 cat >>conftest.$ac_ext <<_ACEOF
15491 /* end confdefs.h. */
15492
15493 int
15494 main ()
15495 {
15496
15497 #ifndef __xlC__
15498 choke me
15499 #endif
15500
15501 ;
15502 return 0;
15503 }
15504 _ACEOF
15505 rm -f conftest.$ac_objext
15506 if { (ac_try="$ac_compile"
15507 case "(($ac_try" in
15508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15509 *) ac_try_echo=$ac_try;;
15510 esac
15511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15512 (eval "$ac_compile") 2>conftest.er1
15513 ac_status=$?
15514 grep -v '^ *+' conftest.er1 >conftest.err
15515 rm -f conftest.er1
15516 cat conftest.err >&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); } && {
15519 test -z "$ac_c_werror_flag" ||
15520 test ! -s conftest.err
15521 } && test -s conftest.$ac_objext; then
15522 bakefile_cv_c_compiler___xlC__=yes
15523 else
15524 echo "$as_me: failed program was:" >&5
15525 sed 's/^/| /' conftest.$ac_ext >&5
15526
15527 bakefile_cv_c_compiler___xlC__=no
15528
15529 fi
15530
15531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15532
15533
15534 fi
15535 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15536 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15537 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15538 :; XLCC=yes
15539 else
15540 :;
15541 fi
15542 ac_ext=c
15543 ac_cpp='$CPP $CPPFLAGS'
15544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15547
15548
15549
15550 ;;
15551
15552 Darwin)
15553
15554
15555 ac_ext=c
15556 ac_cpp='$CPP $CPPFLAGS'
15557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15560
15561 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15562 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15563 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15564 echo $ECHO_N "(cached) $ECHO_C" >&6
15565 else
15566 cat >conftest.$ac_ext <<_ACEOF
15567 /* confdefs.h. */
15568 _ACEOF
15569 cat confdefs.h >>conftest.$ac_ext
15570 cat >>conftest.$ac_ext <<_ACEOF
15571 /* end confdefs.h. */
15572
15573 int
15574 main ()
15575 {
15576
15577 #ifndef __MWERKS__
15578 choke me
15579 #endif
15580
15581 ;
15582 return 0;
15583 }
15584 _ACEOF
15585 rm -f conftest.$ac_objext
15586 if { (ac_try="$ac_compile"
15587 case "(($ac_try" in
15588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15589 *) ac_try_echo=$ac_try;;
15590 esac
15591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15592 (eval "$ac_compile") 2>conftest.er1
15593 ac_status=$?
15594 grep -v '^ *+' conftest.er1 >conftest.err
15595 rm -f conftest.er1
15596 cat conftest.err >&5
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); } && {
15599 test -z "$ac_c_werror_flag" ||
15600 test ! -s conftest.err
15601 } && test -s conftest.$ac_objext; then
15602 bakefile_cv_c_compiler___MWERKS__=yes
15603 else
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.$ac_ext >&5
15606
15607 bakefile_cv_c_compiler___MWERKS__=no
15608
15609 fi
15610
15611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15612
15613
15614 fi
15615 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15616 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15617 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15618 :; MWCC=yes
15619 else
15620 :;
15621 fi
15622 ac_ext=c
15623 ac_cpp='$CPP $CPPFLAGS'
15624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15627
15628
15629
15630 if test "$MWCC" != "yes"; then
15631
15632
15633 ac_ext=c
15634 ac_cpp='$CPP $CPPFLAGS'
15635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15638
15639 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15640 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15641 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15642 echo $ECHO_N "(cached) $ECHO_C" >&6
15643 else
15644 cat >conftest.$ac_ext <<_ACEOF
15645 /* confdefs.h. */
15646 _ACEOF
15647 cat confdefs.h >>conftest.$ac_ext
15648 cat >>conftest.$ac_ext <<_ACEOF
15649 /* end confdefs.h. */
15650
15651 int
15652 main ()
15653 {
15654
15655 #ifndef __xlC__
15656 choke me
15657 #endif
15658
15659 ;
15660 return 0;
15661 }
15662 _ACEOF
15663 rm -f conftest.$ac_objext
15664 if { (ac_try="$ac_compile"
15665 case "(($ac_try" in
15666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15667 *) ac_try_echo=$ac_try;;
15668 esac
15669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15670 (eval "$ac_compile") 2>conftest.er1
15671 ac_status=$?
15672 grep -v '^ *+' conftest.er1 >conftest.err
15673 rm -f conftest.er1
15674 cat conftest.err >&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); } && {
15677 test -z "$ac_c_werror_flag" ||
15678 test ! -s conftest.err
15679 } && test -s conftest.$ac_objext; then
15680 bakefile_cv_c_compiler___xlC__=yes
15681 else
15682 echo "$as_me: failed program was:" >&5
15683 sed 's/^/| /' conftest.$ac_ext >&5
15684
15685 bakefile_cv_c_compiler___xlC__=no
15686
15687 fi
15688
15689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15690
15691
15692 fi
15693 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15694 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15695 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15696 :; XLCC=yes
15697 else
15698 :;
15699 fi
15700 ac_ext=c
15701 ac_cpp='$CPP $CPPFLAGS'
15702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15705
15706
15707
15708 fi
15709 ;;
15710
15711 IRIX*)
15712
15713
15714 ac_ext=c
15715 ac_cpp='$CPP $CPPFLAGS'
15716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15719
15720 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15721 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15722 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15723 echo $ECHO_N "(cached) $ECHO_C" >&6
15724 else
15725 cat >conftest.$ac_ext <<_ACEOF
15726 /* confdefs.h. */
15727 _ACEOF
15728 cat confdefs.h >>conftest.$ac_ext
15729 cat >>conftest.$ac_ext <<_ACEOF
15730 /* end confdefs.h. */
15731
15732 int
15733 main ()
15734 {
15735
15736 #ifndef _SGI_COMPILER_VERSION
15737 choke me
15738 #endif
15739
15740 ;
15741 return 0;
15742 }
15743 _ACEOF
15744 rm -f conftest.$ac_objext
15745 if { (ac_try="$ac_compile"
15746 case "(($ac_try" in
15747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15748 *) ac_try_echo=$ac_try;;
15749 esac
15750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15751 (eval "$ac_compile") 2>conftest.er1
15752 ac_status=$?
15753 grep -v '^ *+' conftest.er1 >conftest.err
15754 rm -f conftest.er1
15755 cat conftest.err >&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); } && {
15758 test -z "$ac_c_werror_flag" ||
15759 test ! -s conftest.err
15760 } && test -s conftest.$ac_objext; then
15761 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15762 else
15763 echo "$as_me: failed program was:" >&5
15764 sed 's/^/| /' conftest.$ac_ext >&5
15765
15766 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15767
15768 fi
15769
15770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15771
15772
15773 fi
15774 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15775 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15776 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15777 :; SGICC=yes
15778 else
15779 :;
15780 fi
15781 ac_ext=c
15782 ac_cpp='$CPP $CPPFLAGS'
15783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15786
15787
15788
15789 ;;
15790
15791 Linux*)
15792 if test "$INTELCC" != "yes"; then
15793
15794
15795 ac_ext=c
15796 ac_cpp='$CPP $CPPFLAGS'
15797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15800
15801 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15802 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15803 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15804 echo $ECHO_N "(cached) $ECHO_C" >&6
15805 else
15806 cat >conftest.$ac_ext <<_ACEOF
15807 /* confdefs.h. */
15808 _ACEOF
15809 cat confdefs.h >>conftest.$ac_ext
15810 cat >>conftest.$ac_ext <<_ACEOF
15811 /* end confdefs.h. */
15812
15813 int
15814 main ()
15815 {
15816
15817 #ifndef __SUNPRO_C
15818 choke me
15819 #endif
15820
15821 ;
15822 return 0;
15823 }
15824 _ACEOF
15825 rm -f conftest.$ac_objext
15826 if { (ac_try="$ac_compile"
15827 case "(($ac_try" in
15828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15829 *) ac_try_echo=$ac_try;;
15830 esac
15831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15832 (eval "$ac_compile") 2>conftest.er1
15833 ac_status=$?
15834 grep -v '^ *+' conftest.er1 >conftest.err
15835 rm -f conftest.er1
15836 cat conftest.err >&5
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); } && {
15839 test -z "$ac_c_werror_flag" ||
15840 test ! -s conftest.err
15841 } && test -s conftest.$ac_objext; then
15842 bakefile_cv_c_compiler___SUNPRO_C=yes
15843 else
15844 echo "$as_me: failed program was:" >&5
15845 sed 's/^/| /' conftest.$ac_ext >&5
15846
15847 bakefile_cv_c_compiler___SUNPRO_C=no
15848
15849 fi
15850
15851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15852
15853
15854 fi
15855 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15856 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15857 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15858 :; SUNCC=yes
15859 else
15860 :;
15861 fi
15862 ac_ext=c
15863 ac_cpp='$CPP $CPPFLAGS'
15864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15867
15868
15869
15870 fi
15871 ;;
15872
15873 HP-UX*)
15874
15875
15876 ac_ext=c
15877 ac_cpp='$CPP $CPPFLAGS'
15878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15881
15882 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15883 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15884 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15885 echo $ECHO_N "(cached) $ECHO_C" >&6
15886 else
15887 cat >conftest.$ac_ext <<_ACEOF
15888 /* confdefs.h. */
15889 _ACEOF
15890 cat confdefs.h >>conftest.$ac_ext
15891 cat >>conftest.$ac_ext <<_ACEOF
15892 /* end confdefs.h. */
15893
15894 int
15895 main ()
15896 {
15897
15898 #ifndef __HP_cc
15899 choke me
15900 #endif
15901
15902 ;
15903 return 0;
15904 }
15905 _ACEOF
15906 rm -f conftest.$ac_objext
15907 if { (ac_try="$ac_compile"
15908 case "(($ac_try" in
15909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15910 *) ac_try_echo=$ac_try;;
15911 esac
15912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15913 (eval "$ac_compile") 2>conftest.er1
15914 ac_status=$?
15915 grep -v '^ *+' conftest.er1 >conftest.err
15916 rm -f conftest.er1
15917 cat conftest.err >&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); } && {
15920 test -z "$ac_c_werror_flag" ||
15921 test ! -s conftest.err
15922 } && test -s conftest.$ac_objext; then
15923 bakefile_cv_c_compiler___HP_cc=yes
15924 else
15925 echo "$as_me: failed program was:" >&5
15926 sed 's/^/| /' conftest.$ac_ext >&5
15927
15928 bakefile_cv_c_compiler___HP_cc=no
15929
15930 fi
15931
15932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15933
15934
15935 fi
15936 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15937 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15938 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15939 :; HPCC=yes
15940 else
15941 :;
15942 fi
15943 ac_ext=c
15944 ac_cpp='$CPP $CPPFLAGS'
15945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15948
15949
15950
15951 ;;
15952
15953 OSF1)
15954
15955
15956 ac_ext=c
15957 ac_cpp='$CPP $CPPFLAGS'
15958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15961
15962 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15963 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15964 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15965 echo $ECHO_N "(cached) $ECHO_C" >&6
15966 else
15967 cat >conftest.$ac_ext <<_ACEOF
15968 /* confdefs.h. */
15969 _ACEOF
15970 cat confdefs.h >>conftest.$ac_ext
15971 cat >>conftest.$ac_ext <<_ACEOF
15972 /* end confdefs.h. */
15973
15974 int
15975 main ()
15976 {
15977
15978 #ifndef __DECC
15979 choke me
15980 #endif
15981
15982 ;
15983 return 0;
15984 }
15985 _ACEOF
15986 rm -f conftest.$ac_objext
15987 if { (ac_try="$ac_compile"
15988 case "(($ac_try" in
15989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15990 *) ac_try_echo=$ac_try;;
15991 esac
15992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15993 (eval "$ac_compile") 2>conftest.er1
15994 ac_status=$?
15995 grep -v '^ *+' conftest.er1 >conftest.err
15996 rm -f conftest.er1
15997 cat conftest.err >&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); } && {
16000 test -z "$ac_c_werror_flag" ||
16001 test ! -s conftest.err
16002 } && test -s conftest.$ac_objext; then
16003 bakefile_cv_c_compiler___DECC=yes
16004 else
16005 echo "$as_me: failed program was:" >&5
16006 sed 's/^/| /' conftest.$ac_ext >&5
16007
16008 bakefile_cv_c_compiler___DECC=no
16009
16010 fi
16011
16012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16013
16014
16015 fi
16016 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16017 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16018 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16019 :; COMPAQCC=yes
16020 else
16021 :;
16022 fi
16023 ac_ext=c
16024 ac_cpp='$CPP $CPPFLAGS'
16025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16028
16029
16030
16031 ;;
16032
16033 SunOS)
16034
16035
16036 ac_ext=c
16037 ac_cpp='$CPP $CPPFLAGS'
16038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16041
16042 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16043 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16044 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16045 echo $ECHO_N "(cached) $ECHO_C" >&6
16046 else
16047 cat >conftest.$ac_ext <<_ACEOF
16048 /* confdefs.h. */
16049 _ACEOF
16050 cat confdefs.h >>conftest.$ac_ext
16051 cat >>conftest.$ac_ext <<_ACEOF
16052 /* end confdefs.h. */
16053
16054 int
16055 main ()
16056 {
16057
16058 #ifndef __SUNPRO_C
16059 choke me
16060 #endif
16061
16062 ;
16063 return 0;
16064 }
16065 _ACEOF
16066 rm -f conftest.$ac_objext
16067 if { (ac_try="$ac_compile"
16068 case "(($ac_try" in
16069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16070 *) ac_try_echo=$ac_try;;
16071 esac
16072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16073 (eval "$ac_compile") 2>conftest.er1
16074 ac_status=$?
16075 grep -v '^ *+' conftest.er1 >conftest.err
16076 rm -f conftest.er1
16077 cat conftest.err >&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); } && {
16080 test -z "$ac_c_werror_flag" ||
16081 test ! -s conftest.err
16082 } && test -s conftest.$ac_objext; then
16083 bakefile_cv_c_compiler___SUNPRO_C=yes
16084 else
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16087
16088 bakefile_cv_c_compiler___SUNPRO_C=no
16089
16090 fi
16091
16092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16093
16094
16095 fi
16096 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16097 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16098 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16099 :; SUNCC=yes
16100 else
16101 :;
16102 fi
16103 ac_ext=c
16104 ac_cpp='$CPP $CPPFLAGS'
16105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16108
16109
16110
16111 ;;
16112 esac
16113 fi
16114
16115
16116
16117 ac_ext=c
16118 ac_cpp='$CPP $CPPFLAGS'
16119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16122 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16123 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16124 # On Suns, sometimes $CPP names a directory.
16125 if test -n "$CPP" && test -d "$CPP"; then
16126 CPP=
16127 fi
16128 if test -z "$CPP"; then
16129 if test "${ac_cv_prog_CPP+set}" = set; then
16130 echo $ECHO_N "(cached) $ECHO_C" >&6
16131 else
16132 # Double quotes because CPP needs to be expanded
16133 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16134 do
16135 ac_preproc_ok=false
16136 for ac_c_preproc_warn_flag in '' yes
16137 do
16138 # Use a header file that comes with gcc, so configuring glibc
16139 # with a fresh cross-compiler works.
16140 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16141 # <limits.h> exists even on freestanding compilers.
16142 # On the NeXT, cc -E runs the code through the compiler's parser,
16143 # not just through cpp. "Syntax error" is here to catch this case.
16144 cat >conftest.$ac_ext <<_ACEOF
16145 /* confdefs.h. */
16146 _ACEOF
16147 cat confdefs.h >>conftest.$ac_ext
16148 cat >>conftest.$ac_ext <<_ACEOF
16149 /* end confdefs.h. */
16150 #ifdef __STDC__
16151 # include <limits.h>
16152 #else
16153 # include <assert.h>
16154 #endif
16155 Syntax error
16156 _ACEOF
16157 if { (ac_try="$ac_cpp conftest.$ac_ext"
16158 case "(($ac_try" in
16159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16160 *) ac_try_echo=$ac_try;;
16161 esac
16162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16163 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16164 ac_status=$?
16165 grep -v '^ *+' conftest.er1 >conftest.err
16166 rm -f conftest.er1
16167 cat conftest.err >&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); } >/dev/null && {
16170 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16171 test ! -s conftest.err
16172 }; then
16173 :
16174 else
16175 echo "$as_me: failed program was:" >&5
16176 sed 's/^/| /' conftest.$ac_ext >&5
16177
16178 # Broken: fails on valid input.
16179 continue
16180 fi
16181
16182 rm -f conftest.err conftest.$ac_ext
16183
16184 # OK, works on sane cases. Now check whether nonexistent headers
16185 # can be detected and how.
16186 cat >conftest.$ac_ext <<_ACEOF
16187 /* confdefs.h. */
16188 _ACEOF
16189 cat confdefs.h >>conftest.$ac_ext
16190 cat >>conftest.$ac_ext <<_ACEOF
16191 /* end confdefs.h. */
16192 #include <ac_nonexistent.h>
16193 _ACEOF
16194 if { (ac_try="$ac_cpp conftest.$ac_ext"
16195 case "(($ac_try" in
16196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16197 *) ac_try_echo=$ac_try;;
16198 esac
16199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16200 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16201 ac_status=$?
16202 grep -v '^ *+' conftest.er1 >conftest.err
16203 rm -f conftest.er1
16204 cat conftest.err >&5
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); } >/dev/null && {
16207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16208 test ! -s conftest.err
16209 }; then
16210 # Broken: success on invalid input.
16211 continue
16212 else
16213 echo "$as_me: failed program was:" >&5
16214 sed 's/^/| /' conftest.$ac_ext >&5
16215
16216 # Passes both tests.
16217 ac_preproc_ok=:
16218 break
16219 fi
16220
16221 rm -f conftest.err conftest.$ac_ext
16222
16223 done
16224 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16225 rm -f conftest.err conftest.$ac_ext
16226 if $ac_preproc_ok; then
16227 break
16228 fi
16229
16230 done
16231 ac_cv_prog_CPP=$CPP
16232
16233 fi
16234 CPP=$ac_cv_prog_CPP
16235 else
16236 ac_cv_prog_CPP=$CPP
16237 fi
16238 { echo "$as_me:$LINENO: result: $CPP" >&5
16239 echo "${ECHO_T}$CPP" >&6; }
16240 ac_preproc_ok=false
16241 for ac_c_preproc_warn_flag in '' yes
16242 do
16243 # Use a header file that comes with gcc, so configuring glibc
16244 # with a fresh cross-compiler works.
16245 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16246 # <limits.h> exists even on freestanding compilers.
16247 # On the NeXT, cc -E runs the code through the compiler's parser,
16248 # not just through cpp. "Syntax error" is here to catch this case.
16249 cat >conftest.$ac_ext <<_ACEOF
16250 /* confdefs.h. */
16251 _ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16255 #ifdef __STDC__
16256 # include <limits.h>
16257 #else
16258 # include <assert.h>
16259 #endif
16260 Syntax error
16261 _ACEOF
16262 if { (ac_try="$ac_cpp conftest.$ac_ext"
16263 case "(($ac_try" in
16264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16265 *) ac_try_echo=$ac_try;;
16266 esac
16267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16268 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16269 ac_status=$?
16270 grep -v '^ *+' conftest.er1 >conftest.err
16271 rm -f conftest.er1
16272 cat conftest.err >&5
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); } >/dev/null && {
16275 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16276 test ! -s conftest.err
16277 }; then
16278 :
16279 else
16280 echo "$as_me: failed program was:" >&5
16281 sed 's/^/| /' conftest.$ac_ext >&5
16282
16283 # Broken: fails on valid input.
16284 continue
16285 fi
16286
16287 rm -f conftest.err conftest.$ac_ext
16288
16289 # OK, works on sane cases. Now check whether nonexistent headers
16290 # can be detected and how.
16291 cat >conftest.$ac_ext <<_ACEOF
16292 /* confdefs.h. */
16293 _ACEOF
16294 cat confdefs.h >>conftest.$ac_ext
16295 cat >>conftest.$ac_ext <<_ACEOF
16296 /* end confdefs.h. */
16297 #include <ac_nonexistent.h>
16298 _ACEOF
16299 if { (ac_try="$ac_cpp conftest.$ac_ext"
16300 case "(($ac_try" in
16301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16302 *) ac_try_echo=$ac_try;;
16303 esac
16304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16306 ac_status=$?
16307 grep -v '^ *+' conftest.er1 >conftest.err
16308 rm -f conftest.er1
16309 cat conftest.err >&5
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); } >/dev/null && {
16312 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16313 test ! -s conftest.err
16314 }; then
16315 # Broken: success on invalid input.
16316 continue
16317 else
16318 echo "$as_me: failed program was:" >&5
16319 sed 's/^/| /' conftest.$ac_ext >&5
16320
16321 # Passes both tests.
16322 ac_preproc_ok=:
16323 break
16324 fi
16325
16326 rm -f conftest.err conftest.$ac_ext
16327
16328 done
16329 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16330 rm -f conftest.err conftest.$ac_ext
16331 if $ac_preproc_ok; then
16332 :
16333 else
16334 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16335 See \`config.log' for more details." >&5
16336 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16337 See \`config.log' for more details." >&2;}
16338 { (exit 1); exit 1; }; }
16339 fi
16340
16341 ac_ext=c
16342 ac_cpp='$CPP $CPPFLAGS'
16343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16346
16347
16348 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16349 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16350 if test "${ac_cv_path_GREP+set}" = set; then
16351 echo $ECHO_N "(cached) $ECHO_C" >&6
16352 else
16353 # Extract the first word of "grep ggrep" to use in msg output
16354 if test -z "$GREP"; then
16355 set dummy grep ggrep; ac_prog_name=$2
16356 if test "${ac_cv_path_GREP+set}" = set; then
16357 echo $ECHO_N "(cached) $ECHO_C" >&6
16358 else
16359 ac_path_GREP_found=false
16360 # Loop through the user's path and test for each of PROGNAME-LIST
16361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16362 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16363 do
16364 IFS=$as_save_IFS
16365 test -z "$as_dir" && as_dir=.
16366 for ac_prog in grep ggrep; do
16367 for ac_exec_ext in '' $ac_executable_extensions; do
16368 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16369 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16370 # Check for GNU ac_path_GREP and select it if it is found.
16371 # Check for GNU $ac_path_GREP
16372 case `"$ac_path_GREP" --version 2>&1` in
16373 *GNU*)
16374 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16375 *)
16376 ac_count=0
16377 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16378 while :
16379 do
16380 cat "conftest.in" "conftest.in" >"conftest.tmp"
16381 mv "conftest.tmp" "conftest.in"
16382 cp "conftest.in" "conftest.nl"
16383 echo 'GREP' >> "conftest.nl"
16384 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16385 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16386 ac_count=`expr $ac_count + 1`
16387 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16388 # Best one so far, save it but keep looking for a better one
16389 ac_cv_path_GREP="$ac_path_GREP"
16390 ac_path_GREP_max=$ac_count
16391 fi
16392 # 10*(2^10) chars as input seems more than enough
16393 test $ac_count -gt 10 && break
16394 done
16395 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16396 esac
16397
16398
16399 $ac_path_GREP_found && break 3
16400 done
16401 done
16402
16403 done
16404 IFS=$as_save_IFS
16405
16406
16407 fi
16408
16409 GREP="$ac_cv_path_GREP"
16410 if test -z "$GREP"; then
16411 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16412 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16413 { (exit 1); exit 1; }; }
16414 fi
16415
16416 else
16417 ac_cv_path_GREP=$GREP
16418 fi
16419
16420
16421 fi
16422 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16423 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16424 GREP="$ac_cv_path_GREP"
16425
16426
16427 { echo "$as_me:$LINENO: checking for egrep" >&5
16428 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16429 if test "${ac_cv_path_EGREP+set}" = set; then
16430 echo $ECHO_N "(cached) $ECHO_C" >&6
16431 else
16432 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16433 then ac_cv_path_EGREP="$GREP -E"
16434 else
16435 # Extract the first word of "egrep" to use in msg output
16436 if test -z "$EGREP"; then
16437 set dummy egrep; ac_prog_name=$2
16438 if test "${ac_cv_path_EGREP+set}" = set; then
16439 echo $ECHO_N "(cached) $ECHO_C" >&6
16440 else
16441 ac_path_EGREP_found=false
16442 # Loop through the user's path and test for each of PROGNAME-LIST
16443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16444 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16445 do
16446 IFS=$as_save_IFS
16447 test -z "$as_dir" && as_dir=.
16448 for ac_prog in egrep; do
16449 for ac_exec_ext in '' $ac_executable_extensions; do
16450 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16451 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16452 # Check for GNU ac_path_EGREP and select it if it is found.
16453 # Check for GNU $ac_path_EGREP
16454 case `"$ac_path_EGREP" --version 2>&1` in
16455 *GNU*)
16456 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16457 *)
16458 ac_count=0
16459 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16460 while :
16461 do
16462 cat "conftest.in" "conftest.in" >"conftest.tmp"
16463 mv "conftest.tmp" "conftest.in"
16464 cp "conftest.in" "conftest.nl"
16465 echo 'EGREP' >> "conftest.nl"
16466 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16467 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16468 ac_count=`expr $ac_count + 1`
16469 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16470 # Best one so far, save it but keep looking for a better one
16471 ac_cv_path_EGREP="$ac_path_EGREP"
16472 ac_path_EGREP_max=$ac_count
16473 fi
16474 # 10*(2^10) chars as input seems more than enough
16475 test $ac_count -gt 10 && break
16476 done
16477 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16478 esac
16479
16480
16481 $ac_path_EGREP_found && break 3
16482 done
16483 done
16484
16485 done
16486 IFS=$as_save_IFS
16487
16488
16489 fi
16490
16491 EGREP="$ac_cv_path_EGREP"
16492 if test -z "$EGREP"; then
16493 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16494 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16495 { (exit 1); exit 1; }; }
16496 fi
16497
16498 else
16499 ac_cv_path_EGREP=$EGREP
16500 fi
16501
16502
16503 fi
16504 fi
16505 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16506 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16507 EGREP="$ac_cv_path_EGREP"
16508
16509
16510 if test $ac_cv_c_compiler_gnu = yes; then
16511 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16512 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16513 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16514 echo $ECHO_N "(cached) $ECHO_C" >&6
16515 else
16516 ac_pattern="Autoconf.*'x'"
16517 cat >conftest.$ac_ext <<_ACEOF
16518 /* confdefs.h. */
16519 _ACEOF
16520 cat confdefs.h >>conftest.$ac_ext
16521 cat >>conftest.$ac_ext <<_ACEOF
16522 /* end confdefs.h. */
16523 #include <sgtty.h>
16524 Autoconf TIOCGETP
16525 _ACEOF
16526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16527 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16528 ac_cv_prog_gcc_traditional=yes
16529 else
16530 ac_cv_prog_gcc_traditional=no
16531 fi
16532 rm -f conftest*
16533
16534
16535 if test $ac_cv_prog_gcc_traditional = no; then
16536 cat >conftest.$ac_ext <<_ACEOF
16537 /* confdefs.h. */
16538 _ACEOF
16539 cat confdefs.h >>conftest.$ac_ext
16540 cat >>conftest.$ac_ext <<_ACEOF
16541 /* end confdefs.h. */
16542 #include <termio.h>
16543 Autoconf TCGETA
16544 _ACEOF
16545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16546 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16547 ac_cv_prog_gcc_traditional=yes
16548 fi
16549 rm -f conftest*
16550
16551 fi
16552 fi
16553 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16554 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16555 if test $ac_cv_prog_gcc_traditional = yes; then
16556 CC="$CC -traditional"
16557 fi
16558 fi
16559
16560
16561 CXXFLAGS=${CXXFLAGS:=}
16562
16563
16564
16565 ac_ext=cpp
16566 ac_cpp='$CXXCPP $CPPFLAGS'
16567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16570 if test -z "$CXX"; then
16571 if test -n "$CCC"; then
16572 CXX=$CCC
16573 else
16574 if test -n "$ac_tool_prefix"; then
16575 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16576 do
16577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16578 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16581 if test "${ac_cv_prog_CXX+set}" = set; then
16582 echo $ECHO_N "(cached) $ECHO_C" >&6
16583 else
16584 if test -n "$CXX"; then
16585 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16586 else
16587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16588 for as_dir in $PATH
16589 do
16590 IFS=$as_save_IFS
16591 test -z "$as_dir" && as_dir=.
16592 for ac_exec_ext in '' $ac_executable_extensions; do
16593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16594 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16596 break 2
16597 fi
16598 done
16599 done
16600 IFS=$as_save_IFS
16601
16602 fi
16603 fi
16604 CXX=$ac_cv_prog_CXX
16605 if test -n "$CXX"; then
16606 { echo "$as_me:$LINENO: result: $CXX" >&5
16607 echo "${ECHO_T}$CXX" >&6; }
16608 else
16609 { echo "$as_me:$LINENO: result: no" >&5
16610 echo "${ECHO_T}no" >&6; }
16611 fi
16612
16613
16614 test -n "$CXX" && break
16615 done
16616 fi
16617 if test -z "$CXX"; then
16618 ac_ct_CXX=$CXX
16619 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16620 do
16621 # Extract the first word of "$ac_prog", so it can be a program name with args.
16622 set dummy $ac_prog; ac_word=$2
16623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16625 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16626 echo $ECHO_N "(cached) $ECHO_C" >&6
16627 else
16628 if test -n "$ac_ct_CXX"; then
16629 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16630 else
16631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16632 for as_dir in $PATH
16633 do
16634 IFS=$as_save_IFS
16635 test -z "$as_dir" && as_dir=.
16636 for ac_exec_ext in '' $ac_executable_extensions; do
16637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16638 ac_cv_prog_ac_ct_CXX="$ac_prog"
16639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16640 break 2
16641 fi
16642 done
16643 done
16644 IFS=$as_save_IFS
16645
16646 fi
16647 fi
16648 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16649 if test -n "$ac_ct_CXX"; then
16650 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16651 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16652 else
16653 { echo "$as_me:$LINENO: result: no" >&5
16654 echo "${ECHO_T}no" >&6; }
16655 fi
16656
16657
16658 test -n "$ac_ct_CXX" && break
16659 done
16660
16661 if test "x$ac_ct_CXX" = x; then
16662 CXX="g++"
16663 else
16664 case $cross_compiling:$ac_tool_warned in
16665 yes:)
16666 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16667 whose name does not start with the host triplet. If you think this
16668 configuration is useful to you, please write to autoconf@gnu.org." >&5
16669 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16670 whose name does not start with the host triplet. If you think this
16671 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16672 ac_tool_warned=yes ;;
16673 esac
16674 CXX=$ac_ct_CXX
16675 fi
16676 fi
16677
16678 fi
16679 fi
16680 # Provide some information about the compiler.
16681 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16682 ac_compiler=`set X $ac_compile; echo $2`
16683 { (ac_try="$ac_compiler --version >&5"
16684 case "(($ac_try" in
16685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16686 *) ac_try_echo=$ac_try;;
16687 esac
16688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16689 (eval "$ac_compiler --version >&5") 2>&5
16690 ac_status=$?
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); }
16693 { (ac_try="$ac_compiler -v >&5"
16694 case "(($ac_try" in
16695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16696 *) ac_try_echo=$ac_try;;
16697 esac
16698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16699 (eval "$ac_compiler -v >&5") 2>&5
16700 ac_status=$?
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }
16703 { (ac_try="$ac_compiler -V >&5"
16704 case "(($ac_try" in
16705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16706 *) ac_try_echo=$ac_try;;
16707 esac
16708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16709 (eval "$ac_compiler -V >&5") 2>&5
16710 ac_status=$?
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }
16713
16714 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16715 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16716 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16717 echo $ECHO_N "(cached) $ECHO_C" >&6
16718 else
16719 cat >conftest.$ac_ext <<_ACEOF
16720 /* confdefs.h. */
16721 _ACEOF
16722 cat confdefs.h >>conftest.$ac_ext
16723 cat >>conftest.$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16725
16726 int
16727 main ()
16728 {
16729 #ifndef __GNUC__
16730 choke me
16731 #endif
16732
16733 ;
16734 return 0;
16735 }
16736 _ACEOF
16737 rm -f conftest.$ac_objext
16738 if { (ac_try="$ac_compile"
16739 case "(($ac_try" in
16740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16741 *) ac_try_echo=$ac_try;;
16742 esac
16743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16744 (eval "$ac_compile") 2>conftest.er1
16745 ac_status=$?
16746 grep -v '^ *+' conftest.er1 >conftest.err
16747 rm -f conftest.er1
16748 cat conftest.err >&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } && {
16751 test -z "$ac_cxx_werror_flag" ||
16752 test ! -s conftest.err
16753 } && test -s conftest.$ac_objext; then
16754 ac_compiler_gnu=yes
16755 else
16756 echo "$as_me: failed program was:" >&5
16757 sed 's/^/| /' conftest.$ac_ext >&5
16758
16759 ac_compiler_gnu=no
16760 fi
16761
16762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16763 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16764
16765 fi
16766 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16767 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16768 GXX=`test $ac_compiler_gnu = yes && echo yes`
16769 ac_test_CXXFLAGS=${CXXFLAGS+set}
16770 ac_save_CXXFLAGS=$CXXFLAGS
16771 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16772 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16773 if test "${ac_cv_prog_cxx_g+set}" = set; then
16774 echo $ECHO_N "(cached) $ECHO_C" >&6
16775 else
16776 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16777 ac_cxx_werror_flag=yes
16778 ac_cv_prog_cxx_g=no
16779 CXXFLAGS="-g"
16780 cat >conftest.$ac_ext <<_ACEOF
16781 /* confdefs.h. */
16782 _ACEOF
16783 cat confdefs.h >>conftest.$ac_ext
16784 cat >>conftest.$ac_ext <<_ACEOF
16785 /* end confdefs.h. */
16786
16787 int
16788 main ()
16789 {
16790
16791 ;
16792 return 0;
16793 }
16794 _ACEOF
16795 rm -f conftest.$ac_objext
16796 if { (ac_try="$ac_compile"
16797 case "(($ac_try" in
16798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16799 *) ac_try_echo=$ac_try;;
16800 esac
16801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16802 (eval "$ac_compile") 2>conftest.er1
16803 ac_status=$?
16804 grep -v '^ *+' conftest.er1 >conftest.err
16805 rm -f conftest.er1
16806 cat conftest.err >&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); } && {
16809 test -z "$ac_cxx_werror_flag" ||
16810 test ! -s conftest.err
16811 } && test -s conftest.$ac_objext; then
16812 ac_cv_prog_cxx_g=yes
16813 else
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.$ac_ext >&5
16816
16817 CXXFLAGS=""
16818 cat >conftest.$ac_ext <<_ACEOF
16819 /* confdefs.h. */
16820 _ACEOF
16821 cat confdefs.h >>conftest.$ac_ext
16822 cat >>conftest.$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16824
16825 int
16826 main ()
16827 {
16828
16829 ;
16830 return 0;
16831 }
16832 _ACEOF
16833 rm -f conftest.$ac_objext
16834 if { (ac_try="$ac_compile"
16835 case "(($ac_try" in
16836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16837 *) ac_try_echo=$ac_try;;
16838 esac
16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16840 (eval "$ac_compile") 2>conftest.er1
16841 ac_status=$?
16842 grep -v '^ *+' conftest.er1 >conftest.err
16843 rm -f conftest.er1
16844 cat conftest.err >&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } && {
16847 test -z "$ac_cxx_werror_flag" ||
16848 test ! -s conftest.err
16849 } && test -s conftest.$ac_objext; then
16850 :
16851 else
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16854
16855 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16856 CXXFLAGS="-g"
16857 cat >conftest.$ac_ext <<_ACEOF
16858 /* confdefs.h. */
16859 _ACEOF
16860 cat confdefs.h >>conftest.$ac_ext
16861 cat >>conftest.$ac_ext <<_ACEOF
16862 /* end confdefs.h. */
16863
16864 int
16865 main ()
16866 {
16867
16868 ;
16869 return 0;
16870 }
16871 _ACEOF
16872 rm -f conftest.$ac_objext
16873 if { (ac_try="$ac_compile"
16874 case "(($ac_try" in
16875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16876 *) ac_try_echo=$ac_try;;
16877 esac
16878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16879 (eval "$ac_compile") 2>conftest.er1
16880 ac_status=$?
16881 grep -v '^ *+' conftest.er1 >conftest.err
16882 rm -f conftest.er1
16883 cat conftest.err >&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); } && {
16886 test -z "$ac_cxx_werror_flag" ||
16887 test ! -s conftest.err
16888 } && test -s conftest.$ac_objext; then
16889 ac_cv_prog_cxx_g=yes
16890 else
16891 echo "$as_me: failed program was:" >&5
16892 sed 's/^/| /' conftest.$ac_ext >&5
16893
16894
16895 fi
16896
16897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16898 fi
16899
16900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16901 fi
16902
16903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16904 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16905 fi
16906 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16907 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16908 if test "$ac_test_CXXFLAGS" = set; then
16909 CXXFLAGS=$ac_save_CXXFLAGS
16910 elif test $ac_cv_prog_cxx_g = yes; then
16911 if test "$GXX" = yes; then
16912 CXXFLAGS="-g -O2"
16913 else
16914 CXXFLAGS="-g"
16915 fi
16916 else
16917 if test "$GXX" = yes; then
16918 CXXFLAGS="-O2"
16919 else
16920 CXXFLAGS=
16921 fi
16922 fi
16923 ac_ext=c
16924 ac_cpp='$CPP $CPPFLAGS'
16925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16928
16929
16930
16931
16932 ac_ext=cpp
16933 ac_cpp='$CXXCPP $CPPFLAGS'
16934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16937
16938 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16939 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16940 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16941 echo $ECHO_N "(cached) $ECHO_C" >&6
16942 else
16943 cat >conftest.$ac_ext <<_ACEOF
16944 /* confdefs.h. */
16945 _ACEOF
16946 cat confdefs.h >>conftest.$ac_ext
16947 cat >>conftest.$ac_ext <<_ACEOF
16948 /* end confdefs.h. */
16949
16950 int
16951 main ()
16952 {
16953
16954 #ifndef __INTEL_COMPILER
16955 choke me
16956 #endif
16957
16958 ;
16959 return 0;
16960 }
16961 _ACEOF
16962 rm -f conftest.$ac_objext
16963 if { (ac_try="$ac_compile"
16964 case "(($ac_try" in
16965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16966 *) ac_try_echo=$ac_try;;
16967 esac
16968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16969 (eval "$ac_compile") 2>conftest.er1
16970 ac_status=$?
16971 grep -v '^ *+' conftest.er1 >conftest.err
16972 rm -f conftest.er1
16973 cat conftest.err >&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); } && {
16976 test -z "$ac_cxx_werror_flag" ||
16977 test ! -s conftest.err
16978 } && test -s conftest.$ac_objext; then
16979 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16980 else
16981 echo "$as_me: failed program was:" >&5
16982 sed 's/^/| /' conftest.$ac_ext >&5
16983
16984 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16985
16986 fi
16987
16988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16989
16990
16991 fi
16992 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16993 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16994 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16995 :; INTELCXX=yes
16996 else
16997 :;
16998 fi
16999 ac_ext=c
17000 ac_cpp='$CPP $CPPFLAGS'
17001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17004
17005
17006
17007
17008 if test "$INTELCXX" = "yes"; then
17009
17010
17011 ac_ext=cpp
17012 ac_cpp='$CXXCPP $CPPFLAGS'
17013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17016
17017 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17018 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17019 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17020 echo $ECHO_N "(cached) $ECHO_C" >&6
17021 else
17022 cat >conftest.$ac_ext <<_ACEOF
17023 /* confdefs.h. */
17024 _ACEOF
17025 cat confdefs.h >>conftest.$ac_ext
17026 cat >>conftest.$ac_ext <<_ACEOF
17027 /* end confdefs.h. */
17028
17029 int
17030 main ()
17031 {
17032
17033 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17034 choke me
17035 #endif
17036
17037 ;
17038 return 0;
17039 }
17040 _ACEOF
17041 rm -f conftest.$ac_objext
17042 if { (ac_try="$ac_compile"
17043 case "(($ac_try" in
17044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17045 *) ac_try_echo=$ac_try;;
17046 esac
17047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17048 (eval "$ac_compile") 2>conftest.er1
17049 ac_status=$?
17050 grep -v '^ *+' conftest.er1 >conftest.err
17051 rm -f conftest.er1
17052 cat conftest.err >&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } && {
17055 test -z "$ac_cxx_werror_flag" ||
17056 test ! -s conftest.err
17057 } && test -s conftest.$ac_objext; then
17058 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17059 else
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17062
17063 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17064
17065 fi
17066
17067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17068
17069
17070 fi
17071 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17072 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17073 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17074 :; INTELCXX8=yes
17075 else
17076 :;
17077 fi
17078 ac_ext=c
17079 ac_cpp='$CPP $CPPFLAGS'
17080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17083
17084
17085
17086
17087
17088 ac_ext=cpp
17089 ac_cpp='$CXXCPP $CPPFLAGS'
17090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17093
17094 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17095 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17096 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17097 echo $ECHO_N "(cached) $ECHO_C" >&6
17098 else
17099 cat >conftest.$ac_ext <<_ACEOF
17100 /* confdefs.h. */
17101 _ACEOF
17102 cat confdefs.h >>conftest.$ac_ext
17103 cat >>conftest.$ac_ext <<_ACEOF
17104 /* end confdefs.h. */
17105
17106 int
17107 main ()
17108 {
17109
17110 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17111 choke me
17112 #endif
17113
17114 ;
17115 return 0;
17116 }
17117 _ACEOF
17118 rm -f conftest.$ac_objext
17119 if { (ac_try="$ac_compile"
17120 case "(($ac_try" in
17121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17122 *) ac_try_echo=$ac_try;;
17123 esac
17124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17125 (eval "$ac_compile") 2>conftest.er1
17126 ac_status=$?
17127 grep -v '^ *+' conftest.er1 >conftest.err
17128 rm -f conftest.er1
17129 cat conftest.err >&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); } && {
17132 test -z "$ac_cxx_werror_flag" ||
17133 test ! -s conftest.err
17134 } && test -s conftest.$ac_objext; then
17135 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17136 else
17137 echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.$ac_ext >&5
17139
17140 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17141
17142 fi
17143
17144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17145
17146
17147 fi
17148 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17149 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17150 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17151 :; INTELCXX10=yes
17152 else
17153 :;
17154 fi
17155 ac_ext=c
17156 ac_cpp='$CPP $CPPFLAGS'
17157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17160
17161
17162
17163 fi
17164
17165 if test "x$GCXX" != "xyes"; then
17166 if test "xCXX" = "xC"; then
17167 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17168 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17169 if test "${bakefile_cv_c_exto+set}" = set; then
17170 echo $ECHO_N "(cached) $ECHO_C" >&6
17171 else
17172 cat >conftest.$ac_ext <<_ACEOF
17173 /* confdefs.h. */
17174 _ACEOF
17175 cat confdefs.h >>conftest.$ac_ext
17176 cat >>conftest.$ac_ext <<_ACEOF
17177 /* end confdefs.h. */
17178
17179 int
17180 main ()
17181 {
17182
17183 ;
17184 return 0;
17185 }
17186 _ACEOF
17187 rm -f conftest.$ac_objext conftest.$ac_ext.o
17188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17189 (eval $ac_compile) 2>&5
17190 ac_status=$?
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); }; then
17193 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17194 case $ac_file in
17195 conftest.$ac_ext.o)
17196 bakefile_cv_c_exto="-ext o"
17197 ;;
17198 *)
17199 ;;
17200 esac
17201 done
17202 else
17203 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17204 See \`config.log' for more details." >&5
17205 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17206 See \`config.log' for more details." >&2;}
17207 { (exit 1); exit 1; }; }
17208
17209 fi
17210
17211 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17212
17213 fi
17214 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17215 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17216 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17217 if test "c" = "c"; then
17218 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17219 fi
17220 if test "c" = "cxx"; then
17221 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17222 fi
17223 fi
17224
17225 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17226 unset ac_cv_prog_cc_g
17227 ac_test_CFLAGS=${CFLAGS+set}
17228 ac_save_CFLAGS=$CFLAGS
17229 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17230 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17231 if test "${ac_cv_prog_cc_g+set}" = set; then
17232 echo $ECHO_N "(cached) $ECHO_C" >&6
17233 else
17234 ac_save_c_werror_flag=$ac_c_werror_flag
17235 ac_c_werror_flag=yes
17236 ac_cv_prog_cc_g=no
17237 CFLAGS="-g"
17238 cat >conftest.$ac_ext <<_ACEOF
17239 /* confdefs.h. */
17240 _ACEOF
17241 cat confdefs.h >>conftest.$ac_ext
17242 cat >>conftest.$ac_ext <<_ACEOF
17243 /* end confdefs.h. */
17244
17245 int
17246 main ()
17247 {
17248
17249 ;
17250 return 0;
17251 }
17252 _ACEOF
17253 rm -f conftest.$ac_objext
17254 if { (ac_try="$ac_compile"
17255 case "(($ac_try" in
17256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17257 *) ac_try_echo=$ac_try;;
17258 esac
17259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17260 (eval "$ac_compile") 2>conftest.er1
17261 ac_status=$?
17262 grep -v '^ *+' conftest.er1 >conftest.err
17263 rm -f conftest.er1
17264 cat conftest.err >&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); } && {
17267 test -z "$ac_c_werror_flag" ||
17268 test ! -s conftest.err
17269 } && test -s conftest.$ac_objext; then
17270 ac_cv_prog_cc_g=yes
17271 else
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.$ac_ext >&5
17274
17275 CFLAGS=""
17276 cat >conftest.$ac_ext <<_ACEOF
17277 /* confdefs.h. */
17278 _ACEOF
17279 cat confdefs.h >>conftest.$ac_ext
17280 cat >>conftest.$ac_ext <<_ACEOF
17281 /* end confdefs.h. */
17282
17283 int
17284 main ()
17285 {
17286
17287 ;
17288 return 0;
17289 }
17290 _ACEOF
17291 rm -f conftest.$ac_objext
17292 if { (ac_try="$ac_compile"
17293 case "(($ac_try" in
17294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17295 *) ac_try_echo=$ac_try;;
17296 esac
17297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17298 (eval "$ac_compile") 2>conftest.er1
17299 ac_status=$?
17300 grep -v '^ *+' conftest.er1 >conftest.err
17301 rm -f conftest.er1
17302 cat conftest.err >&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); } && {
17305 test -z "$ac_c_werror_flag" ||
17306 test ! -s conftest.err
17307 } && test -s conftest.$ac_objext; then
17308 :
17309 else
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17312
17313 ac_c_werror_flag=$ac_save_c_werror_flag
17314 CFLAGS="-g"
17315 cat >conftest.$ac_ext <<_ACEOF
17316 /* confdefs.h. */
17317 _ACEOF
17318 cat confdefs.h >>conftest.$ac_ext
17319 cat >>conftest.$ac_ext <<_ACEOF
17320 /* end confdefs.h. */
17321
17322 int
17323 main ()
17324 {
17325
17326 ;
17327 return 0;
17328 }
17329 _ACEOF
17330 rm -f conftest.$ac_objext
17331 if { (ac_try="$ac_compile"
17332 case "(($ac_try" in
17333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17334 *) ac_try_echo=$ac_try;;
17335 esac
17336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17337 (eval "$ac_compile") 2>conftest.er1
17338 ac_status=$?
17339 grep -v '^ *+' conftest.er1 >conftest.err
17340 rm -f conftest.er1
17341 cat conftest.err >&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); } && {
17344 test -z "$ac_c_werror_flag" ||
17345 test ! -s conftest.err
17346 } && test -s conftest.$ac_objext; then
17347 ac_cv_prog_cc_g=yes
17348 else
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.$ac_ext >&5
17351
17352
17353 fi
17354
17355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356 fi
17357
17358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17359 fi
17360
17361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17362 ac_c_werror_flag=$ac_save_c_werror_flag
17363 fi
17364 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17365 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17366 if test "$ac_test_CFLAGS" = set; then
17367 CFLAGS=$ac_save_CFLAGS
17368 elif test $ac_cv_prog_cc_g = yes; then
17369 if test "$GCC" = yes; then
17370 CFLAGS="-g -O2"
17371 else
17372 CFLAGS="-g"
17373 fi
17374 else
17375 if test "$GCC" = yes; then
17376 CFLAGS="-O2"
17377 else
17378 CFLAGS=
17379 fi
17380 fi
17381 fi
17382 fi
17383
17384 case `uname -s` in
17385 AIX*)
17386
17387
17388 ac_ext=cpp
17389 ac_cpp='$CXXCPP $CPPFLAGS'
17390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17393
17394 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17395 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17396 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17397 echo $ECHO_N "(cached) $ECHO_C" >&6
17398 else
17399 cat >conftest.$ac_ext <<_ACEOF
17400 /* confdefs.h. */
17401 _ACEOF
17402 cat confdefs.h >>conftest.$ac_ext
17403 cat >>conftest.$ac_ext <<_ACEOF
17404 /* end confdefs.h. */
17405
17406 int
17407 main ()
17408 {
17409
17410 #ifndef __xlC__
17411 choke me
17412 #endif
17413
17414 ;
17415 return 0;
17416 }
17417 _ACEOF
17418 rm -f conftest.$ac_objext
17419 if { (ac_try="$ac_compile"
17420 case "(($ac_try" in
17421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17422 *) ac_try_echo=$ac_try;;
17423 esac
17424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17425 (eval "$ac_compile") 2>conftest.er1
17426 ac_status=$?
17427 grep -v '^ *+' conftest.er1 >conftest.err
17428 rm -f conftest.er1
17429 cat conftest.err >&5
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); } && {
17432 test -z "$ac_cxx_werror_flag" ||
17433 test ! -s conftest.err
17434 } && test -s conftest.$ac_objext; then
17435 bakefile_cv_cxx_compiler___xlC__=yes
17436 else
17437 echo "$as_me: failed program was:" >&5
17438 sed 's/^/| /' conftest.$ac_ext >&5
17439
17440 bakefile_cv_cxx_compiler___xlC__=no
17441
17442 fi
17443
17444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17445
17446
17447 fi
17448 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17449 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17450 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17451 :; XLCXX=yes
17452 else
17453 :;
17454 fi
17455 ac_ext=c
17456 ac_cpp='$CPP $CPPFLAGS'
17457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17460
17461
17462
17463 ;;
17464
17465 Darwin)
17466
17467
17468 ac_ext=cpp
17469 ac_cpp='$CXXCPP $CPPFLAGS'
17470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17473
17474 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17475 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17476 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17477 echo $ECHO_N "(cached) $ECHO_C" >&6
17478 else
17479 cat >conftest.$ac_ext <<_ACEOF
17480 /* confdefs.h. */
17481 _ACEOF
17482 cat confdefs.h >>conftest.$ac_ext
17483 cat >>conftest.$ac_ext <<_ACEOF
17484 /* end confdefs.h. */
17485
17486 int
17487 main ()
17488 {
17489
17490 #ifndef __MWERKS__
17491 choke me
17492 #endif
17493
17494 ;
17495 return 0;
17496 }
17497 _ACEOF
17498 rm -f conftest.$ac_objext
17499 if { (ac_try="$ac_compile"
17500 case "(($ac_try" in
17501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17502 *) ac_try_echo=$ac_try;;
17503 esac
17504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17505 (eval "$ac_compile") 2>conftest.er1
17506 ac_status=$?
17507 grep -v '^ *+' conftest.er1 >conftest.err
17508 rm -f conftest.er1
17509 cat conftest.err >&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } && {
17512 test -z "$ac_cxx_werror_flag" ||
17513 test ! -s conftest.err
17514 } && test -s conftest.$ac_objext; then
17515 bakefile_cv_cxx_compiler___MWERKS__=yes
17516 else
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.$ac_ext >&5
17519
17520 bakefile_cv_cxx_compiler___MWERKS__=no
17521
17522 fi
17523
17524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17525
17526
17527 fi
17528 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17529 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17530 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17531 :; MWCXX=yes
17532 else
17533 :;
17534 fi
17535 ac_ext=c
17536 ac_cpp='$CPP $CPPFLAGS'
17537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17540
17541
17542
17543 if test "$MWCXX" != "yes"; then
17544
17545
17546 ac_ext=cpp
17547 ac_cpp='$CXXCPP $CPPFLAGS'
17548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17551
17552 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17553 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17554 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 else
17557 cat >conftest.$ac_ext <<_ACEOF
17558 /* confdefs.h. */
17559 _ACEOF
17560 cat confdefs.h >>conftest.$ac_ext
17561 cat >>conftest.$ac_ext <<_ACEOF
17562 /* end confdefs.h. */
17563
17564 int
17565 main ()
17566 {
17567
17568 #ifndef __xlC__
17569 choke me
17570 #endif
17571
17572 ;
17573 return 0;
17574 }
17575 _ACEOF
17576 rm -f conftest.$ac_objext
17577 if { (ac_try="$ac_compile"
17578 case "(($ac_try" in
17579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17580 *) ac_try_echo=$ac_try;;
17581 esac
17582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17583 (eval "$ac_compile") 2>conftest.er1
17584 ac_status=$?
17585 grep -v '^ *+' conftest.er1 >conftest.err
17586 rm -f conftest.er1
17587 cat conftest.err >&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } && {
17590 test -z "$ac_cxx_werror_flag" ||
17591 test ! -s conftest.err
17592 } && test -s conftest.$ac_objext; then
17593 bakefile_cv_cxx_compiler___xlC__=yes
17594 else
17595 echo "$as_me: failed program was:" >&5
17596 sed 's/^/| /' conftest.$ac_ext >&5
17597
17598 bakefile_cv_cxx_compiler___xlC__=no
17599
17600 fi
17601
17602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17603
17604
17605 fi
17606 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17607 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17608 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17609 :; XLCXX=yes
17610 else
17611 :;
17612 fi
17613 ac_ext=c
17614 ac_cpp='$CPP $CPPFLAGS'
17615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17618
17619
17620
17621 fi
17622 ;;
17623
17624 IRIX*)
17625
17626
17627 ac_ext=cpp
17628 ac_cpp='$CXXCPP $CPPFLAGS'
17629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17632
17633 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17634 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17635 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17636 echo $ECHO_N "(cached) $ECHO_C" >&6
17637 else
17638 cat >conftest.$ac_ext <<_ACEOF
17639 /* confdefs.h. */
17640 _ACEOF
17641 cat confdefs.h >>conftest.$ac_ext
17642 cat >>conftest.$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644
17645 int
17646 main ()
17647 {
17648
17649 #ifndef _SGI_COMPILER_VERSION
17650 choke me
17651 #endif
17652
17653 ;
17654 return 0;
17655 }
17656 _ACEOF
17657 rm -f conftest.$ac_objext
17658 if { (ac_try="$ac_compile"
17659 case "(($ac_try" in
17660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17661 *) ac_try_echo=$ac_try;;
17662 esac
17663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17664 (eval "$ac_compile") 2>conftest.er1
17665 ac_status=$?
17666 grep -v '^ *+' conftest.er1 >conftest.err
17667 rm -f conftest.er1
17668 cat conftest.err >&5
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); } && {
17671 test -z "$ac_cxx_werror_flag" ||
17672 test ! -s conftest.err
17673 } && test -s conftest.$ac_objext; then
17674 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17675 else
17676 echo "$as_me: failed program was:" >&5
17677 sed 's/^/| /' conftest.$ac_ext >&5
17678
17679 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17680
17681 fi
17682
17683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17684
17685
17686 fi
17687 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17688 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17689 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17690 :; SGICXX=yes
17691 else
17692 :;
17693 fi
17694 ac_ext=c
17695 ac_cpp='$CPP $CPPFLAGS'
17696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17699
17700
17701
17702 ;;
17703
17704 Linux*)
17705 if test "$INTELCXX" != "yes"; then
17706
17707
17708 ac_ext=cpp
17709 ac_cpp='$CXXCPP $CPPFLAGS'
17710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17713
17714 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17715 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17716 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17717 echo $ECHO_N "(cached) $ECHO_C" >&6
17718 else
17719 cat >conftest.$ac_ext <<_ACEOF
17720 /* confdefs.h. */
17721 _ACEOF
17722 cat confdefs.h >>conftest.$ac_ext
17723 cat >>conftest.$ac_ext <<_ACEOF
17724 /* end confdefs.h. */
17725
17726 int
17727 main ()
17728 {
17729
17730 #ifndef __SUNPRO_CC
17731 choke me
17732 #endif
17733
17734 ;
17735 return 0;
17736 }
17737 _ACEOF
17738 rm -f conftest.$ac_objext
17739 if { (ac_try="$ac_compile"
17740 case "(($ac_try" in
17741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17742 *) ac_try_echo=$ac_try;;
17743 esac
17744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17745 (eval "$ac_compile") 2>conftest.er1
17746 ac_status=$?
17747 grep -v '^ *+' conftest.er1 >conftest.err
17748 rm -f conftest.er1
17749 cat conftest.err >&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); } && {
17752 test -z "$ac_cxx_werror_flag" ||
17753 test ! -s conftest.err
17754 } && test -s conftest.$ac_objext; then
17755 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17756 else
17757 echo "$as_me: failed program was:" >&5
17758 sed 's/^/| /' conftest.$ac_ext >&5
17759
17760 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17761
17762 fi
17763
17764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17765
17766
17767 fi
17768 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17769 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17770 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17771 :; SUNCXX=yes
17772 else
17773 :;
17774 fi
17775 ac_ext=c
17776 ac_cpp='$CPP $CPPFLAGS'
17777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17780
17781
17782
17783 fi
17784 ;;
17785
17786 HP-UX*)
17787
17788
17789 ac_ext=cpp
17790 ac_cpp='$CXXCPP $CPPFLAGS'
17791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17794
17795 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17796 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17797 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17798 echo $ECHO_N "(cached) $ECHO_C" >&6
17799 else
17800 cat >conftest.$ac_ext <<_ACEOF
17801 /* confdefs.h. */
17802 _ACEOF
17803 cat confdefs.h >>conftest.$ac_ext
17804 cat >>conftest.$ac_ext <<_ACEOF
17805 /* end confdefs.h. */
17806
17807 int
17808 main ()
17809 {
17810
17811 #ifndef __HP_aCC
17812 choke me
17813 #endif
17814
17815 ;
17816 return 0;
17817 }
17818 _ACEOF
17819 rm -f conftest.$ac_objext
17820 if { (ac_try="$ac_compile"
17821 case "(($ac_try" in
17822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17823 *) ac_try_echo=$ac_try;;
17824 esac
17825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17826 (eval "$ac_compile") 2>conftest.er1
17827 ac_status=$?
17828 grep -v '^ *+' conftest.er1 >conftest.err
17829 rm -f conftest.er1
17830 cat conftest.err >&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); } && {
17833 test -z "$ac_cxx_werror_flag" ||
17834 test ! -s conftest.err
17835 } && test -s conftest.$ac_objext; then
17836 bakefile_cv_cxx_compiler___HP_aCC=yes
17837 else
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.$ac_ext >&5
17840
17841 bakefile_cv_cxx_compiler___HP_aCC=no
17842
17843 fi
17844
17845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17846
17847
17848 fi
17849 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17850 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17851 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17852 :; HPCXX=yes
17853 else
17854 :;
17855 fi
17856 ac_ext=c
17857 ac_cpp='$CPP $CPPFLAGS'
17858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17861
17862
17863
17864 ;;
17865
17866 OSF1)
17867
17868
17869 ac_ext=cpp
17870 ac_cpp='$CXXCPP $CPPFLAGS'
17871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17874
17875 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17876 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17877 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17878 echo $ECHO_N "(cached) $ECHO_C" >&6
17879 else
17880 cat >conftest.$ac_ext <<_ACEOF
17881 /* confdefs.h. */
17882 _ACEOF
17883 cat confdefs.h >>conftest.$ac_ext
17884 cat >>conftest.$ac_ext <<_ACEOF
17885 /* end confdefs.h. */
17886
17887 int
17888 main ()
17889 {
17890
17891 #ifndef __DECCXX
17892 choke me
17893 #endif
17894
17895 ;
17896 return 0;
17897 }
17898 _ACEOF
17899 rm -f conftest.$ac_objext
17900 if { (ac_try="$ac_compile"
17901 case "(($ac_try" in
17902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17903 *) ac_try_echo=$ac_try;;
17904 esac
17905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17906 (eval "$ac_compile") 2>conftest.er1
17907 ac_status=$?
17908 grep -v '^ *+' conftest.er1 >conftest.err
17909 rm -f conftest.er1
17910 cat conftest.err >&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); } && {
17913 test -z "$ac_cxx_werror_flag" ||
17914 test ! -s conftest.err
17915 } && test -s conftest.$ac_objext; then
17916 bakefile_cv_cxx_compiler___DECCXX=yes
17917 else
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5
17920
17921 bakefile_cv_cxx_compiler___DECCXX=no
17922
17923 fi
17924
17925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17926
17927
17928 fi
17929 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17930 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17931 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17932 :; COMPAQCXX=yes
17933 else
17934 :;
17935 fi
17936 ac_ext=c
17937 ac_cpp='$CPP $CPPFLAGS'
17938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17941
17942
17943
17944 ;;
17945
17946 SunOS)
17947
17948
17949 ac_ext=cpp
17950 ac_cpp='$CXXCPP $CPPFLAGS'
17951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17954
17955 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17956 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17957 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17958 echo $ECHO_N "(cached) $ECHO_C" >&6
17959 else
17960 cat >conftest.$ac_ext <<_ACEOF
17961 /* confdefs.h. */
17962 _ACEOF
17963 cat confdefs.h >>conftest.$ac_ext
17964 cat >>conftest.$ac_ext <<_ACEOF
17965 /* end confdefs.h. */
17966
17967 int
17968 main ()
17969 {
17970
17971 #ifndef __SUNPRO_CC
17972 choke me
17973 #endif
17974
17975 ;
17976 return 0;
17977 }
17978 _ACEOF
17979 rm -f conftest.$ac_objext
17980 if { (ac_try="$ac_compile"
17981 case "(($ac_try" in
17982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17983 *) ac_try_echo=$ac_try;;
17984 esac
17985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17986 (eval "$ac_compile") 2>conftest.er1
17987 ac_status=$?
17988 grep -v '^ *+' conftest.er1 >conftest.err
17989 rm -f conftest.er1
17990 cat conftest.err >&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); } && {
17993 test -z "$ac_cxx_werror_flag" ||
17994 test ! -s conftest.err
17995 } && test -s conftest.$ac_objext; then
17996 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17997 else
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.$ac_ext >&5
18000
18001 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18002
18003 fi
18004
18005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18006
18007
18008 fi
18009 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18010 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18011 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18012 :; SUNCXX=yes
18013 else
18014 :;
18015 fi
18016 ac_ext=c
18017 ac_cpp='$CPP $CPPFLAGS'
18018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18021
18022
18023
18024 ;;
18025 esac
18026 fi
18027
18028
18029
18030 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18031 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18032 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18033 { (exit 1); exit 1; }; }
18034 fi
18035
18036 if test "x$SUNCXX" != xyes; then
18037 if test -n "$ac_tool_prefix"; then
18038 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18039 set dummy ${ac_tool_prefix}ar; ac_word=$2
18040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18042 if test "${ac_cv_prog_AR+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 else
18045 if test -n "$AR"; then
18046 ac_cv_prog_AR="$AR" # Let the user override the test.
18047 else
18048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18049 for as_dir in $PATH
18050 do
18051 IFS=$as_save_IFS
18052 test -z "$as_dir" && as_dir=.
18053 for ac_exec_ext in '' $ac_executable_extensions; do
18054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18055 ac_cv_prog_AR="${ac_tool_prefix}ar"
18056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18057 break 2
18058 fi
18059 done
18060 done
18061 IFS=$as_save_IFS
18062
18063 fi
18064 fi
18065 AR=$ac_cv_prog_AR
18066 if test -n "$AR"; then
18067 { echo "$as_me:$LINENO: result: $AR" >&5
18068 echo "${ECHO_T}$AR" >&6; }
18069 else
18070 { echo "$as_me:$LINENO: result: no" >&5
18071 echo "${ECHO_T}no" >&6; }
18072 fi
18073
18074
18075 fi
18076 if test -z "$ac_cv_prog_AR"; then
18077 ac_ct_AR=$AR
18078 # Extract the first word of "ar", so it can be a program name with args.
18079 set dummy ar; ac_word=$2
18080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18082 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18084 else
18085 if test -n "$ac_ct_AR"; then
18086 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18087 else
18088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18089 for as_dir in $PATH
18090 do
18091 IFS=$as_save_IFS
18092 test -z "$as_dir" && as_dir=.
18093 for ac_exec_ext in '' $ac_executable_extensions; do
18094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18095 ac_cv_prog_ac_ct_AR="ar"
18096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18097 break 2
18098 fi
18099 done
18100 done
18101 IFS=$as_save_IFS
18102
18103 fi
18104 fi
18105 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18106 if test -n "$ac_ct_AR"; then
18107 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18108 echo "${ECHO_T}$ac_ct_AR" >&6; }
18109 else
18110 { echo "$as_me:$LINENO: result: no" >&5
18111 echo "${ECHO_T}no" >&6; }
18112 fi
18113
18114 if test "x$ac_ct_AR" = x; then
18115 AR=""
18116 else
18117 case $cross_compiling:$ac_tool_warned in
18118 yes:)
18119 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18120 whose name does not start with the host triplet. If you think this
18121 configuration is useful to you, please write to autoconf@gnu.org." >&5
18122 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18123 whose name does not start with the host triplet. If you think this
18124 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18125 ac_tool_warned=yes ;;
18126 esac
18127 AR=$ac_ct_AR
18128 fi
18129 else
18130 AR="$ac_cv_prog_AR"
18131 fi
18132
18133 if test "x$AR" = "x" ; then
18134 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18135 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18136 { (exit 1); exit 1; }; }
18137 fi
18138 fi
18139
18140
18141 if test "$wxUSE_MAC" = 1; then
18142
18143 retest_macosx_linking=no
18144
18145 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18146 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18147 # Implicitly turn on the new --with-macosx-sdk using the default
18148 # SDK which provides the behavior this option has always had.
18149 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18150 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18151 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18152 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18153 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18154 wxUSE_MACOSX_SDK=yes
18155 fi
18156 else
18157 # Complain to user if he specified an argument to --enable-universal_binary
18158 # and also 1) specified --with-macosx-sdk using the default (yes) or
18159 # 2) specified --with-macosx-sdk using a path or 3) specified
18160 # --without-macosx-sdk (no).
18161 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18162 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18163 See \`config.log' for more details." >&5
18164 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18165 See \`config.log' for more details." >&2;}
18166 { (exit 1); exit 1; }; }
18167 else
18168 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18169 # special-case the empty string because the below test simply
18170 # converts "no" to the empty string anyway.
18171 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18172 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18173 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18174 fi
18175 fi
18176 OSX_UNIV_OPTS="-arch ppc -arch i386"
18177 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18178 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18179 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18180 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18181 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18182 retest_macosx_linking=yes
18183
18184 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18185 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18186 bk_use_pch=no
18187 fi
18188
18189 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18190 wxUSE_MACOSX_SDK=
18191 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18192 # TODO: Search for most recent SDK and use it.
18193 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18194 fi
18195
18196
18197 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18198 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18199 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18200 if ! test -d "$wxUSE_MACOSX_SDK"; then
18201 { { echo "$as_me:$LINENO: error: not found
18202 See \`config.log' for more details." >&5
18203 echo "$as_me: error: not found
18204 See \`config.log' for more details." >&2;}
18205 { (exit 1); exit 1; }; }
18206 else
18207 { echo "$as_me:$LINENO: result: exists" >&5
18208 echo "${ECHO_T}exists" >&6; }
18209 fi
18210 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18211 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18212 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18213 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18214 retest_macosx_linking=yes
18215 fi
18216
18217 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18218 wxUSE_MACOSX_VERSION_MIN=
18219 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18220 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18221 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18222 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18223
18224 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/'`
18225
18226 # If that failed, try again with the new key
18227 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18228
18229 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/'`
18230
18231 fi
18232
18233 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18234 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18235 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18236 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18237 else
18238 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18239 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18240 wxUSE_MACOSX_VERSION_MIN=
18241 fi
18242 else
18243 wxUSE_MACOSX_VERSION_MIN=
18244 fi
18245 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18246 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18247 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18248 # otherwise configure stops on leopard for universal_binary
18249 wxUSE_MACOSX_VERSION_MIN=10.4
18250 else
18251 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18252 wxUSE_MACOSX_VERSION_MIN=10.5
18253 fi
18254 fi
18255
18256 NEEDS_GCC40="no"
18257 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18258 NEEDS_GCC40="yes"
18259 fi
18260
18261 if test "$wxUSE_OSX_CARBON" = 1; then
18262 NEEDS_GCC40="yes"
18263 fi
18264
18265 if test "x$NEEDS_GCC40" == "xyes"; then
18266 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18267 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18268 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18269 if test "x$CC" = "xgcc"; then
18270 CCVERSION=`$CC --version | grep 4.[2-9].`
18271 if test "x$CCVERSION" != "x"; then
18272 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18273 CC="/usr/bin/gcc-4.0"
18274 fi
18275 fi
18276
18277 if test "x$CXX" = "xg++"; then
18278 CCVERSION=`$CXX --version | grep 4.[2-9].`
18279 if test "x$CCVERSION" != "x"; then
18280 CXX="/usr/bin/g++-4.0"
18281 fi
18282 fi
18283 fi
18284
18285 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18286 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18287 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18288 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18289 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18290 retest_macosx_linking=yes
18291 fi
18292
18293 if test "x$retest_macosx_linking" = "xyes"; then
18294 ac_ext=c
18295 ac_cpp='$CPP $CPPFLAGS'
18296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18299
18300 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18301 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18302 cat >conftest.$ac_ext <<_ACEOF
18303 /* confdefs.h. */
18304 _ACEOF
18305 cat confdefs.h >>conftest.$ac_ext
18306 cat >>conftest.$ac_ext <<_ACEOF
18307 /* end confdefs.h. */
18308
18309 int
18310 main ()
18311 {
18312
18313 ;
18314 return 0;
18315 }
18316 _ACEOF
18317 rm -f conftest.$ac_objext conftest$ac_exeext
18318 if { (ac_try="$ac_link"
18319 case "(($ac_try" in
18320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18321 *) ac_try_echo=$ac_try;;
18322 esac
18323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18324 (eval "$ac_link") 2>conftest.er1
18325 ac_status=$?
18326 grep -v '^ *+' conftest.er1 >conftest.err
18327 rm -f conftest.er1
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && {
18331 test -z "$ac_c_werror_flag" ||
18332 test ! -s conftest.err
18333 } && test -s conftest$ac_exeext &&
18334 $as_test_x conftest$ac_exeext; then
18335 { echo "$as_me:$LINENO: result: yes" >&5
18336 echo "${ECHO_T}yes" >&6; }
18337 else
18338 echo "$as_me: failed program was:" >&5
18339 sed 's/^/| /' conftest.$ac_ext >&5
18340
18341 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18342 See \`config.log' for more details." >&5
18343 echo "$as_me: error: no. Try a different SDK
18344 See \`config.log' for more details." >&2;}
18345 { (exit 1); exit 1; }; }; exit 1
18346 fi
18347
18348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18349 conftest$ac_exeext conftest.$ac_ext
18350 ac_ext=c
18351 ac_cpp='$CPP $CPPFLAGS'
18352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18355
18356
18357 ac_ext=cpp
18358 ac_cpp='$CXXCPP $CPPFLAGS'
18359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18362
18363 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18364 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18365 cat >conftest.$ac_ext <<_ACEOF
18366 /* confdefs.h. */
18367 _ACEOF
18368 cat confdefs.h >>conftest.$ac_ext
18369 cat >>conftest.$ac_ext <<_ACEOF
18370 /* end confdefs.h. */
18371
18372 int
18373 main ()
18374 {
18375
18376 ;
18377 return 0;
18378 }
18379 _ACEOF
18380 rm -f conftest.$ac_objext conftest$ac_exeext
18381 if { (ac_try="$ac_link"
18382 case "(($ac_try" in
18383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18384 *) ac_try_echo=$ac_try;;
18385 esac
18386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18387 (eval "$ac_link") 2>conftest.er1
18388 ac_status=$?
18389 grep -v '^ *+' conftest.er1 >conftest.err
18390 rm -f conftest.er1
18391 cat conftest.err >&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); } && {
18394 test -z "$ac_cxx_werror_flag" ||
18395 test ! -s conftest.err
18396 } && test -s conftest$ac_exeext &&
18397 $as_test_x conftest$ac_exeext; then
18398 { echo "$as_me:$LINENO: result: yes" >&5
18399 echo "${ECHO_T}yes" >&6; }
18400 else
18401 echo "$as_me: failed program was:" >&5
18402 sed 's/^/| /' conftest.$ac_ext >&5
18403
18404 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18405 See \`config.log' for more details." >&5
18406 echo "$as_me: error: no. Try a different SDK
18407 See \`config.log' for more details." >&2;}
18408 { (exit 1); exit 1; }; }; exit 1
18409 fi
18410
18411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18412 conftest$ac_exeext conftest.$ac_ext
18413 ac_ext=c
18414 ac_cpp='$CPP $CPPFLAGS'
18415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18418
18419 fi
18420
18421 fi
18422 case "${host}" in
18423
18424 *-*-darwin* )
18425 INSTALL_PROGRAM="cp -fp"
18426 INSTALL_DATA="cp -fp"
18427 ;;
18428 *)
18429 ;;
18430 esac
18431
18432
18433 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18434 CXXFLAGS="-qunique $CXXFLAGS"
18435 fi
18436
18437 case "${host}" in
18438 powerpc-*-darwin* )
18439 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18440 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18441 cat >conftest.$ac_ext <<_ACEOF
18442 /* confdefs.h. */
18443 _ACEOF
18444 cat confdefs.h >>conftest.$ac_ext
18445 cat >>conftest.$ac_ext <<_ACEOF
18446 /* end confdefs.h. */
18447
18448 int
18449 main ()
18450 {
18451 #ifndef __POWERPC__
18452 choke me for lack of PowerPC
18453 #endif
18454
18455 ;
18456 return 0;
18457 }
18458 _ACEOF
18459 rm -f conftest.$ac_objext
18460 if { (ac_try="$ac_compile"
18461 case "(($ac_try" in
18462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18463 *) ac_try_echo=$ac_try;;
18464 esac
18465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18466 (eval "$ac_compile") 2>conftest.er1
18467 ac_status=$?
18468 grep -v '^ *+' conftest.er1 >conftest.err
18469 rm -f conftest.er1
18470 cat conftest.err >&5
18471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472 (exit $ac_status); } && {
18473 test -z "$ac_c_werror_flag" ||
18474 test ! -s conftest.err
18475 } && test -s conftest.$ac_objext; then
18476 { echo "$as_me:$LINENO: result: yes" >&5
18477 echo "${ECHO_T}yes" >&6; }
18478 else
18479 echo "$as_me: failed program was:" >&5
18480 sed 's/^/| /' conftest.$ac_ext >&5
18481
18482 { echo "$as_me:$LINENO: result: no" >&5
18483 echo "${ECHO_T}no" >&6; }
18484 cat >>confdefs.h <<\_ACEOF
18485 #define __POWERPC__ 1
18486 _ACEOF
18487
18488
18489 fi
18490
18491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18492 ;;
18493 esac
18494
18495 case "${host}" in
18496 *-*-darwin* )
18497 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18498 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18499 cat >conftest.$ac_ext <<_ACEOF
18500 /* confdefs.h. */
18501 _ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18505 #include <CoreFoundation/CFBase.h>
18506
18507 int
18508 main ()
18509 {
18510
18511 ;
18512 return 0;
18513 }
18514 _ACEOF
18515 rm -f conftest.$ac_objext
18516 if { (ac_try="$ac_compile"
18517 case "(($ac_try" in
18518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18519 *) ac_try_echo=$ac_try;;
18520 esac
18521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18522 (eval "$ac_compile") 2>conftest.er1
18523 ac_status=$?
18524 grep -v '^ *+' conftest.er1 >conftest.err
18525 rm -f conftest.er1
18526 cat conftest.err >&5
18527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); } && {
18529 test -z "$ac_c_werror_flag" ||
18530 test ! -s conftest.err
18531 } && test -s conftest.$ac_objext; then
18532 { echo "$as_me:$LINENO: result: yes" >&5
18533 echo "${ECHO_T}yes" >&6; }
18534 else
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.$ac_ext >&5
18537
18538 { echo "$as_me:$LINENO: result: no" >&5
18539 echo "${ECHO_T}no" >&6; }
18540 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18541 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18542 cat >conftest.$ac_ext <<_ACEOF
18543 /* confdefs.h. */
18544 _ACEOF
18545 cat confdefs.h >>conftest.$ac_ext
18546 cat >>conftest.$ac_ext <<_ACEOF
18547 /* end confdefs.h. */
18548 #define __CF_USE_FRAMEWORK_INCLUDES__
18549 #include <CoreFoundation/CFBase.h>
18550
18551 int
18552 main ()
18553 {
18554
18555 ;
18556 return 0;
18557 }
18558 _ACEOF
18559 rm -f conftest.$ac_objext
18560 if { (ac_try="$ac_compile"
18561 case "(($ac_try" in
18562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18564 esac
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_compile") 2>conftest.er1
18567 ac_status=$?
18568 grep -v '^ *+' conftest.er1 >conftest.err
18569 rm -f conftest.er1
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } && {
18573 test -z "$ac_c_werror_flag" ||
18574 test ! -s conftest.err
18575 } && test -s conftest.$ac_objext; then
18576 { echo "$as_me:$LINENO: result: yes" >&5
18577 echo "${ECHO_T}yes" >&6; }
18578 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18579 else
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18582
18583 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18584 See \`config.log' for more details." >&5
18585 echo "$as_me: error: no. CoreFoundation not available.
18586 See \`config.log' for more details." >&2;}
18587 { (exit 1); exit 1; }; }
18588
18589 fi
18590
18591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18592
18593
18594 fi
18595
18596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18597 ;;
18598 esac
18599
18600 wants_win32=0
18601 doesnt_want_win32=0
18602 case "${host}" in
18603 *-*-cygwin*)
18604 if test "$wxUSE_MSW" = 1 ; then
18605 wants_win32=1
18606 else
18607 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18608 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18609 if test "${wx_cv_nocygwin+set}" = set; then
18610 echo $ECHO_N "(cached) $ECHO_C" >&6
18611 else
18612
18613 cat >conftest.$ac_ext <<_ACEOF
18614 /* confdefs.h. */
18615 _ACEOF
18616 cat confdefs.h >>conftest.$ac_ext
18617 cat >>conftest.$ac_ext <<_ACEOF
18618 /* end confdefs.h. */
18619
18620 int
18621 main ()
18622 {
18623
18624 #ifdef __MINGW32__
18625 choke me
18626 #endif
18627
18628 ;
18629 return 0;
18630 }
18631 _ACEOF
18632 rm -f conftest.$ac_objext
18633 if { (ac_try="$ac_compile"
18634 case "(($ac_try" in
18635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18636 *) ac_try_echo=$ac_try;;
18637 esac
18638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18639 (eval "$ac_compile") 2>conftest.er1
18640 ac_status=$?
18641 grep -v '^ *+' conftest.er1 >conftest.err
18642 rm -f conftest.er1
18643 cat conftest.err >&5
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); } && {
18646 test -z "$ac_c_werror_flag" ||
18647 test ! -s conftest.err
18648 } && test -s conftest.$ac_objext; then
18649 wx_cv_nocygwin=no
18650 else
18651 echo "$as_me: failed program was:" >&5
18652 sed 's/^/| /' conftest.$ac_ext >&5
18653
18654 wx_cv_nocygwin=yes
18655
18656 fi
18657
18658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18659
18660
18661 fi
18662 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18663 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18664
18665 if test "$wx_cv_nocygwin" = "yes"; then
18666 wants_win32=1
18667 else
18668 doesnt_want_win32=1
18669 fi
18670 fi
18671 if test "$wants_win32" = 1 ; then
18672 BAKEFILE_FORCE_PLATFORM=win32
18673 fi
18674 ;;
18675 *-*-mingw*)
18676 wants_win32=1
18677 ;;
18678 esac
18679
18680 if test "$wxUSE_WINE" = "yes"; then
18681 wants_win32=1
18682 LDFLAGS_GUI="-mwindows"
18683 fi
18684
18685 if test "$wants_win32" = 1 ; then
18686 USE_UNIX=0
18687 USE_WIN32=1
18688 cat >>confdefs.h <<\_ACEOF
18689 #define __WIN32__ 1
18690 _ACEOF
18691
18692 cat >>confdefs.h <<\_ACEOF
18693 #define __WIN95__ 1
18694 _ACEOF
18695
18696 cat >>confdefs.h <<\_ACEOF
18697 #define __WINDOWS__ 1
18698 _ACEOF
18699
18700 cat >>confdefs.h <<\_ACEOF
18701 #define __GNUWIN32__ 1
18702 _ACEOF
18703
18704 cat >>confdefs.h <<\_ACEOF
18705 #define STRICT 1
18706 _ACEOF
18707
18708 fi
18709 if test "$doesnt_want_win32" = 1 ; then
18710 USE_UNIX=1
18711 USE_WIN32=0
18712 fi
18713
18714 if test "$USE_UNIX" = 1 ; then
18715 wxUSE_UNIX=yes
18716 cat >>confdefs.h <<\_ACEOF
18717 #define __UNIX__ 1
18718 _ACEOF
18719
18720 fi
18721
18722 case "${host}" in
18723 *-pc-os2_emx | *-pc-os2-emx )
18724 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18725 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18726 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18727 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18728 echo $ECHO_N "(cached) $ECHO_C" >&6
18729 else
18730 ac_check_lib_save_LIBS=$LIBS
18731 LIBS="-lcExt $LIBS"
18732 cat >conftest.$ac_ext <<_ACEOF
18733 /* confdefs.h. */
18734 _ACEOF
18735 cat confdefs.h >>conftest.$ac_ext
18736 cat >>conftest.$ac_ext <<_ACEOF
18737 /* end confdefs.h. */
18738
18739 /* Override any GCC internal prototype to avoid an error.
18740 Use char because int might match the return type of a GCC
18741 builtin and then its argument prototype would still apply. */
18742 #ifdef __cplusplus
18743 extern "C"
18744 #endif
18745 char drand48 ();
18746 int
18747 main ()
18748 {
18749 return drand48 ();
18750 ;
18751 return 0;
18752 }
18753 _ACEOF
18754 rm -f conftest.$ac_objext conftest$ac_exeext
18755 if { (ac_try="$ac_link"
18756 case "(($ac_try" in
18757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18758 *) ac_try_echo=$ac_try;;
18759 esac
18760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18761 (eval "$ac_link") 2>conftest.er1
18762 ac_status=$?
18763 grep -v '^ *+' conftest.er1 >conftest.err
18764 rm -f conftest.er1
18765 cat conftest.err >&5
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); } && {
18768 test -z "$ac_c_werror_flag" ||
18769 test ! -s conftest.err
18770 } && test -s conftest$ac_exeext &&
18771 $as_test_x conftest$ac_exeext; then
18772 ac_cv_lib_cExt_drand48=yes
18773 else
18774 echo "$as_me: failed program was:" >&5
18775 sed 's/^/| /' conftest.$ac_ext >&5
18776
18777 ac_cv_lib_cExt_drand48=no
18778 fi
18779
18780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18781 conftest$ac_exeext conftest.$ac_ext
18782 LIBS=$ac_check_lib_save_LIBS
18783 fi
18784 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18785 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18786 if test $ac_cv_lib_cExt_drand48 = yes; then
18787 LIBS="$LIBS -lcExt"
18788 fi
18789
18790 else
18791 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18792 fi
18793 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18794 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18795 if test "${wx_cv_gccversion+set}" = set; then
18796 echo $ECHO_N "(cached) $ECHO_C" >&6
18797 else
18798
18799 if test "$cross_compiling" = yes; then
18800 wx_cv_gccversion="EMX2"
18801
18802 else
18803 cat >conftest.$ac_ext <<_ACEOF
18804 /* confdefs.h. */
18805 _ACEOF
18806 cat confdefs.h >>conftest.$ac_ext
18807 cat >>conftest.$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18809
18810 #include <stdio.h>
18811
18812 int main()
18813 {
18814 FILE *f=fopen("conftestval", "w");
18815 if (!f) exit(1);
18816 fprintf(f,
18817 #if (__GNUC__ < 3)
18818 "EMX2"
18819 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18820 "EMX3"
18821 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18822 "Innotek5"
18823 #else
18824 "Innotek6"
18825 #endif
18826 );
18827 exit(0);
18828 }
18829
18830 _ACEOF
18831 rm -f conftest$ac_exeext
18832 if { (ac_try="$ac_link"
18833 case "(($ac_try" in
18834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18835 *) ac_try_echo=$ac_try;;
18836 esac
18837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18838 (eval "$ac_link") 2>&5
18839 ac_status=$?
18840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18841 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18842 { (case "(($ac_try" in
18843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18844 *) ac_try_echo=$ac_try;;
18845 esac
18846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18847 (eval "$ac_try") 2>&5
18848 ac_status=$?
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); }; }; then
18851 wx_cv_gccversion=`cat conftestval`
18852 else
18853 echo "$as_me: program exited with status $ac_status" >&5
18854 echo "$as_me: failed program was:" >&5
18855 sed 's/^/| /' conftest.$ac_ext >&5
18856
18857 ( exit $ac_status )
18858 wx_cv_gccversion="EMX2"
18859 fi
18860 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18861 fi
18862
18863
18864
18865 fi
18866 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18867 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18868 if test "$wx_cv_gccversion" = "EMX2"; then
18869 LIBS="$LIBS -lstdcpp"
18870 LDFLAGS="$LDFLAGS -Zsysv-signals"
18871 else
18872 if test "$wx_cv_gccversion" = "EMX3"; then
18873 LIBS="$LIBS -lstdcxx -lgcc"
18874 LDFLAGS="$LDFLAGS -Zsysv-signals"
18875 else
18876 LIBS="$LIBS -lstdc++"
18877 fi
18878 fi
18879 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18880 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18881 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18882 wxUSE_OMF=yes
18883 enable_omf=yes
18884 fi
18885 ;;
18886 *)
18887
18888 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18889 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18890 if test "${ac_cv_string_strcasecmp+set}" = set; then
18891 echo $ECHO_N "(cached) $ECHO_C" >&6
18892 else
18893
18894 cat >conftest.$ac_ext <<_ACEOF
18895 /* confdefs.h. */
18896 _ACEOF
18897 cat confdefs.h >>conftest.$ac_ext
18898 cat >>conftest.$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18900
18901 #include <string.h>
18902
18903 int
18904 main ()
18905 {
18906
18907 strcasecmp("foo", "bar");
18908
18909 ;
18910 return 0;
18911 }
18912 _ACEOF
18913 rm -f conftest.$ac_objext conftest$ac_exeext
18914 if { (ac_try="$ac_link"
18915 case "(($ac_try" in
18916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18917 *) ac_try_echo=$ac_try;;
18918 esac
18919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18920 (eval "$ac_link") 2>conftest.er1
18921 ac_status=$?
18922 grep -v '^ *+' conftest.er1 >conftest.err
18923 rm -f conftest.er1
18924 cat conftest.err >&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); } && {
18927 test -z "$ac_c_werror_flag" ||
18928 test ! -s conftest.err
18929 } && test -s conftest$ac_exeext &&
18930 $as_test_x conftest$ac_exeext; then
18931 ac_cv_string_strcasecmp=yes
18932 else
18933 echo "$as_me: failed program was:" >&5
18934 sed 's/^/| /' conftest.$ac_ext >&5
18935
18936 ac_cv_string_strcasecmp=no
18937
18938 fi
18939
18940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18941 conftest$ac_exeext conftest.$ac_ext
18942
18943 fi
18944 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18945 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18946
18947 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18948 cat >>confdefs.h <<\_ACEOF
18949 #define HAVE_STRCASECMP_IN_STRING_H 1
18950 _ACEOF
18951
18952 else
18953 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18954 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18955 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18957 else
18958
18959 cat >conftest.$ac_ext <<_ACEOF
18960 /* confdefs.h. */
18961 _ACEOF
18962 cat confdefs.h >>conftest.$ac_ext
18963 cat >>conftest.$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18965
18966 #include <strings.h>
18967
18968 int
18969 main ()
18970 {
18971
18972 strcasecmp("foo", "bar");
18973
18974 ;
18975 return 0;
18976 }
18977 _ACEOF
18978 rm -f conftest.$ac_objext conftest$ac_exeext
18979 if { (ac_try="$ac_link"
18980 case "(($ac_try" in
18981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18982 *) ac_try_echo=$ac_try;;
18983 esac
18984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18985 (eval "$ac_link") 2>conftest.er1
18986 ac_status=$?
18987 grep -v '^ *+' conftest.er1 >conftest.err
18988 rm -f conftest.er1
18989 cat conftest.err >&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); } && {
18992 test -z "$ac_c_werror_flag" ||
18993 test ! -s conftest.err
18994 } && test -s conftest$ac_exeext &&
18995 $as_test_x conftest$ac_exeext; then
18996 ac_cv_strings_strcasecmp=yes
18997 else
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.$ac_ext >&5
19000
19001 ac_cv_strings_strcasecmp=no
19002
19003 fi
19004
19005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19006 conftest$ac_exeext conftest.$ac_ext
19007
19008 fi
19009 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19010 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19011
19012 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19013 cat >>confdefs.h <<\_ACEOF
19014 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19015 _ACEOF
19016
19017 else
19018 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19019 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19020 { (exit 1); exit 1; }; }
19021 fi
19022 fi
19023
19024 ;;
19025 esac
19026
19027
19028 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19029 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19030 if test "${ac_cv_header_stdc+set}" = set; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19032 else
19033 cat >conftest.$ac_ext <<_ACEOF
19034 /* confdefs.h. */
19035 _ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 #include <stdlib.h>
19040 #include <stdarg.h>
19041 #include <string.h>
19042 #include <float.h>
19043
19044 int
19045 main ()
19046 {
19047
19048 ;
19049 return 0;
19050 }
19051 _ACEOF
19052 rm -f conftest.$ac_objext
19053 if { (ac_try="$ac_compile"
19054 case "(($ac_try" in
19055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19056 *) ac_try_echo=$ac_try;;
19057 esac
19058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19059 (eval "$ac_compile") 2>conftest.er1
19060 ac_status=$?
19061 grep -v '^ *+' conftest.er1 >conftest.err
19062 rm -f conftest.er1
19063 cat conftest.err >&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); } && {
19066 test -z "$ac_c_werror_flag" ||
19067 test ! -s conftest.err
19068 } && test -s conftest.$ac_objext; then
19069 ac_cv_header_stdc=yes
19070 else
19071 echo "$as_me: failed program was:" >&5
19072 sed 's/^/| /' conftest.$ac_ext >&5
19073
19074 ac_cv_header_stdc=no
19075 fi
19076
19077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19078
19079 if test $ac_cv_header_stdc = yes; then
19080 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19081 cat >conftest.$ac_ext <<_ACEOF
19082 /* confdefs.h. */
19083 _ACEOF
19084 cat confdefs.h >>conftest.$ac_ext
19085 cat >>conftest.$ac_ext <<_ACEOF
19086 /* end confdefs.h. */
19087 #include <string.h>
19088
19089 _ACEOF
19090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19091 $EGREP "memchr" >/dev/null 2>&1; then
19092 :
19093 else
19094 ac_cv_header_stdc=no
19095 fi
19096 rm -f conftest*
19097
19098 fi
19099
19100 if test $ac_cv_header_stdc = yes; then
19101 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19102 cat >conftest.$ac_ext <<_ACEOF
19103 /* confdefs.h. */
19104 _ACEOF
19105 cat confdefs.h >>conftest.$ac_ext
19106 cat >>conftest.$ac_ext <<_ACEOF
19107 /* end confdefs.h. */
19108 #include <stdlib.h>
19109
19110 _ACEOF
19111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19112 $EGREP "free" >/dev/null 2>&1; then
19113 :
19114 else
19115 ac_cv_header_stdc=no
19116 fi
19117 rm -f conftest*
19118
19119 fi
19120
19121 if test $ac_cv_header_stdc = yes; then
19122 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19123 if test "$cross_compiling" = yes; then
19124 :
19125 else
19126 cat >conftest.$ac_ext <<_ACEOF
19127 /* confdefs.h. */
19128 _ACEOF
19129 cat confdefs.h >>conftest.$ac_ext
19130 cat >>conftest.$ac_ext <<_ACEOF
19131 /* end confdefs.h. */
19132 #include <ctype.h>
19133 #include <stdlib.h>
19134 #if ((' ' & 0x0FF) == 0x020)
19135 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19136 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19137 #else
19138 # define ISLOWER(c) \
19139 (('a' <= (c) && (c) <= 'i') \
19140 || ('j' <= (c) && (c) <= 'r') \
19141 || ('s' <= (c) && (c) <= 'z'))
19142 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19143 #endif
19144
19145 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19146 int
19147 main ()
19148 {
19149 int i;
19150 for (i = 0; i < 256; i++)
19151 if (XOR (islower (i), ISLOWER (i))
19152 || toupper (i) != TOUPPER (i))
19153 return 2;
19154 return 0;
19155 }
19156 _ACEOF
19157 rm -f conftest$ac_exeext
19158 if { (ac_try="$ac_link"
19159 case "(($ac_try" in
19160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19161 *) ac_try_echo=$ac_try;;
19162 esac
19163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19164 (eval "$ac_link") 2>&5
19165 ac_status=$?
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19168 { (case "(($ac_try" in
19169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19170 *) ac_try_echo=$ac_try;;
19171 esac
19172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19173 (eval "$ac_try") 2>&5
19174 ac_status=$?
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; }; then
19177 :
19178 else
19179 echo "$as_me: program exited with status $ac_status" >&5
19180 echo "$as_me: failed program was:" >&5
19181 sed 's/^/| /' conftest.$ac_ext >&5
19182
19183 ( exit $ac_status )
19184 ac_cv_header_stdc=no
19185 fi
19186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19187 fi
19188
19189
19190 fi
19191 fi
19192 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19193 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19194 if test $ac_cv_header_stdc = yes; then
19195
19196 cat >>confdefs.h <<\_ACEOF
19197 #define STDC_HEADERS 1
19198 _ACEOF
19199
19200 fi
19201
19202 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19213 inttypes.h stdint.h unistd.h
19214 do
19215 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19216 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19218 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19219 echo $ECHO_N "(cached) $ECHO_C" >&6
19220 else
19221 cat >conftest.$ac_ext <<_ACEOF
19222 /* confdefs.h. */
19223 _ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19227 $ac_includes_default
19228
19229 #include <$ac_header>
19230 _ACEOF
19231 rm -f conftest.$ac_objext
19232 if { (ac_try="$ac_compile"
19233 case "(($ac_try" in
19234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19235 *) ac_try_echo=$ac_try;;
19236 esac
19237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19238 (eval "$ac_compile") 2>conftest.er1
19239 ac_status=$?
19240 grep -v '^ *+' conftest.er1 >conftest.err
19241 rm -f conftest.er1
19242 cat conftest.err >&5
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); } && {
19245 test -z "$ac_c_werror_flag" ||
19246 test ! -s conftest.err
19247 } && test -s conftest.$ac_objext; then
19248 eval "$as_ac_Header=yes"
19249 else
19250 echo "$as_me: failed program was:" >&5
19251 sed 's/^/| /' conftest.$ac_ext >&5
19252
19253 eval "$as_ac_Header=no"
19254 fi
19255
19256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19257 fi
19258 ac_res=`eval echo '${'$as_ac_Header'}'`
19259 { echo "$as_me:$LINENO: result: $ac_res" >&5
19260 echo "${ECHO_T}$ac_res" >&6; }
19261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19262 cat >>confdefs.h <<_ACEOF
19263 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19264 _ACEOF
19265
19266 fi
19267
19268 done
19269
19270
19271
19272
19273 for ac_header in langinfo.h wchar.h
19274 do
19275 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19278 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19279 echo $ECHO_N "(cached) $ECHO_C" >&6
19280 else
19281 cat >conftest.$ac_ext <<_ACEOF
19282 /* confdefs.h. */
19283 _ACEOF
19284 cat confdefs.h >>conftest.$ac_ext
19285 cat >>conftest.$ac_ext <<_ACEOF
19286 /* end confdefs.h. */
19287 $ac_includes_default
19288
19289 #include <$ac_header>
19290 _ACEOF
19291 rm -f conftest.$ac_objext
19292 if { (ac_try="$ac_compile"
19293 case "(($ac_try" in
19294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19295 *) ac_try_echo=$ac_try;;
19296 esac
19297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19298 (eval "$ac_compile") 2>conftest.er1
19299 ac_status=$?
19300 grep -v '^ *+' conftest.er1 >conftest.err
19301 rm -f conftest.er1
19302 cat conftest.err >&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); } && {
19305 test -z "$ac_c_werror_flag" ||
19306 test ! -s conftest.err
19307 } && test -s conftest.$ac_objext; then
19308 eval "$as_ac_Header=yes"
19309 else
19310 echo "$as_me: failed program was:" >&5
19311 sed 's/^/| /' conftest.$ac_ext >&5
19312
19313 eval "$as_ac_Header=no"
19314 fi
19315
19316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19317 fi
19318 ac_res=`eval echo '${'$as_ac_Header'}'`
19319 { echo "$as_me:$LINENO: result: $ac_res" >&5
19320 echo "${ECHO_T}$ac_res" >&6; }
19321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19322 cat >>confdefs.h <<_ACEOF
19323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19324 _ACEOF
19325
19326 fi
19327
19328 done
19329
19330
19331 if test "$ac_cv_header_wchar_h" != "yes"; then
19332
19333 for ac_header in wcstr.h
19334 do
19335 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19336 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19338 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19339 echo $ECHO_N "(cached) $ECHO_C" >&6
19340 else
19341 cat >conftest.$ac_ext <<_ACEOF
19342 /* confdefs.h. */
19343 _ACEOF
19344 cat confdefs.h >>conftest.$ac_ext
19345 cat >>conftest.$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 $ac_includes_default
19348
19349 #include <$ac_header>
19350 _ACEOF
19351 rm -f conftest.$ac_objext
19352 if { (ac_try="$ac_compile"
19353 case "(($ac_try" in
19354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19355 *) ac_try_echo=$ac_try;;
19356 esac
19357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19358 (eval "$ac_compile") 2>conftest.er1
19359 ac_status=$?
19360 grep -v '^ *+' conftest.er1 >conftest.err
19361 rm -f conftest.er1
19362 cat conftest.err >&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); } && {
19365 test -z "$ac_c_werror_flag" ||
19366 test ! -s conftest.err
19367 } && test -s conftest.$ac_objext; then
19368 eval "$as_ac_Header=yes"
19369 else
19370 echo "$as_me: failed program was:" >&5
19371 sed 's/^/| /' conftest.$ac_ext >&5
19372
19373 eval "$as_ac_Header=no"
19374 fi
19375
19376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19377 fi
19378 ac_res=`eval echo '${'$as_ac_Header'}'`
19379 { echo "$as_me:$LINENO: result: $ac_res" >&5
19380 echo "${ECHO_T}$ac_res" >&6; }
19381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19382 cat >>confdefs.h <<_ACEOF
19383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19384 _ACEOF
19385
19386 fi
19387
19388 done
19389
19390 fi
19391
19392 case "${host}" in
19393 *-pc-os2_emx | *-pc-os2-emx )
19394 if test $ac_cv_header_langinfo_h = "yes" \
19395 -a \( "$wx_cv_gccversion" = "EMX2" \
19396 -o "$wx_cv_gccversion" = "EMX3" \
19397 -o "$wx_cv_gccversion" = "Innotek5" \); then
19398 LIBS="$LIBS -lintl"
19399 fi
19400 ;;
19401 esac
19402
19403 if test "$USE_UNIX" = 1 ; then
19404
19405 for ac_header in sys/select.h
19406 do
19407 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19408 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19410 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19411 echo $ECHO_N "(cached) $ECHO_C" >&6
19412 else
19413 cat >conftest.$ac_ext <<_ACEOF
19414 /* confdefs.h. */
19415 _ACEOF
19416 cat confdefs.h >>conftest.$ac_ext
19417 cat >>conftest.$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19419 $ac_includes_default
19420
19421 #include <$ac_header>
19422 _ACEOF
19423 rm -f conftest.$ac_objext
19424 if { (ac_try="$ac_compile"
19425 case "(($ac_try" in
19426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19427 *) ac_try_echo=$ac_try;;
19428 esac
19429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19430 (eval "$ac_compile") 2>conftest.er1
19431 ac_status=$?
19432 grep -v '^ *+' conftest.er1 >conftest.err
19433 rm -f conftest.er1
19434 cat conftest.err >&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); } && {
19437 test -z "$ac_c_werror_flag" ||
19438 test ! -s conftest.err
19439 } && test -s conftest.$ac_objext; then
19440 eval "$as_ac_Header=yes"
19441 else
19442 echo "$as_me: failed program was:" >&5
19443 sed 's/^/| /' conftest.$ac_ext >&5
19444
19445 eval "$as_ac_Header=no"
19446 fi
19447
19448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19449 fi
19450 ac_res=`eval echo '${'$as_ac_Header'}'`
19451 { echo "$as_me:$LINENO: result: $ac_res" >&5
19452 echo "${ECHO_T}$ac_res" >&6; }
19453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19454 cat >>confdefs.h <<_ACEOF
19455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19456 _ACEOF
19457
19458 fi
19459
19460 done
19461
19462 fi
19463
19464
19465 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19466 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19467 if test "${ac_cv_c_const+set}" = set; then
19468 echo $ECHO_N "(cached) $ECHO_C" >&6
19469 else
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
19477 int
19478 main ()
19479 {
19480 /* FIXME: Include the comments suggested by Paul. */
19481 #ifndef __cplusplus
19482 /* Ultrix mips cc rejects this. */
19483 typedef int charset[2];
19484 const charset cs;
19485 /* SunOS 4.1.1 cc rejects this. */
19486 char const *const *pcpcc;
19487 char **ppc;
19488 /* NEC SVR4.0.2 mips cc rejects this. */
19489 struct point {int x, y;};
19490 static struct point const zero = {0,0};
19491 /* AIX XL C 1.02.0.0 rejects this.
19492 It does not let you subtract one const X* pointer from another in
19493 an arm of an if-expression whose if-part is not a constant
19494 expression */
19495 const char *g = "string";
19496 pcpcc = &g + (g ? g-g : 0);
19497 /* HPUX 7.0 cc rejects these. */
19498 ++pcpcc;
19499 ppc = (char**) pcpcc;
19500 pcpcc = (char const *const *) ppc;
19501 { /* SCO 3.2v4 cc rejects this. */
19502 char *t;
19503 char const *s = 0 ? (char *) 0 : (char const *) 0;
19504
19505 *t++ = 0;
19506 if (s) return 0;
19507 }
19508 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19509 int x[] = {25, 17};
19510 const int *foo = &x[0];
19511 ++foo;
19512 }
19513 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19514 typedef const int *iptr;
19515 iptr p = 0;
19516 ++p;
19517 }
19518 { /* AIX XL C 1.02.0.0 rejects this saying
19519 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19520 struct s { int j; const int *ap[3]; };
19521 struct s *b; b->j = 5;
19522 }
19523 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19524 const int foo = 10;
19525 if (!foo) return 0;
19526 }
19527 return !cs[0] && !zero.x;
19528 #endif
19529
19530 ;
19531 return 0;
19532 }
19533 _ACEOF
19534 rm -f conftest.$ac_objext
19535 if { (ac_try="$ac_compile"
19536 case "(($ac_try" in
19537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19538 *) ac_try_echo=$ac_try;;
19539 esac
19540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19541 (eval "$ac_compile") 2>conftest.er1
19542 ac_status=$?
19543 grep -v '^ *+' conftest.er1 >conftest.err
19544 rm -f conftest.er1
19545 cat conftest.err >&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); } && {
19548 test -z "$ac_c_werror_flag" ||
19549 test ! -s conftest.err
19550 } && test -s conftest.$ac_objext; then
19551 ac_cv_c_const=yes
19552 else
19553 echo "$as_me: failed program was:" >&5
19554 sed 's/^/| /' conftest.$ac_ext >&5
19555
19556 ac_cv_c_const=no
19557 fi
19558
19559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19560 fi
19561 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19562 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19563 if test $ac_cv_c_const = no; then
19564
19565 cat >>confdefs.h <<\_ACEOF
19566 #define const
19567 _ACEOF
19568
19569 fi
19570
19571 { echo "$as_me:$LINENO: checking for inline" >&5
19572 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19573 if test "${ac_cv_c_inline+set}" = set; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19575 else
19576 ac_cv_c_inline=no
19577 for ac_kw in inline __inline__ __inline; do
19578 cat >conftest.$ac_ext <<_ACEOF
19579 /* confdefs.h. */
19580 _ACEOF
19581 cat confdefs.h >>conftest.$ac_ext
19582 cat >>conftest.$ac_ext <<_ACEOF
19583 /* end confdefs.h. */
19584 #ifndef __cplusplus
19585 typedef int foo_t;
19586 static $ac_kw foo_t static_foo () {return 0; }
19587 $ac_kw foo_t foo () {return 0; }
19588 #endif
19589
19590 _ACEOF
19591 rm -f conftest.$ac_objext
19592 if { (ac_try="$ac_compile"
19593 case "(($ac_try" in
19594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19595 *) ac_try_echo=$ac_try;;
19596 esac
19597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19598 (eval "$ac_compile") 2>conftest.er1
19599 ac_status=$?
19600 grep -v '^ *+' conftest.er1 >conftest.err
19601 rm -f conftest.er1
19602 cat conftest.err >&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } && {
19605 test -z "$ac_c_werror_flag" ||
19606 test ! -s conftest.err
19607 } && test -s conftest.$ac_objext; then
19608 ac_cv_c_inline=$ac_kw
19609 else
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.$ac_ext >&5
19612
19613
19614 fi
19615
19616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19617 test "$ac_cv_c_inline" != no && break
19618 done
19619
19620 fi
19621 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19622 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19623
19624
19625 case $ac_cv_c_inline in
19626 inline | yes) ;;
19627 *)
19628 case $ac_cv_c_inline in
19629 no) ac_val=;;
19630 *) ac_val=$ac_cv_c_inline;;
19631 esac
19632 cat >>confdefs.h <<_ACEOF
19633 #ifndef __cplusplus
19634 #define inline $ac_val
19635 #endif
19636 _ACEOF
19637 ;;
19638 esac
19639
19640
19641 { echo "$as_me:$LINENO: checking for short" >&5
19642 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19643 if test "${ac_cv_type_short+set}" = set; then
19644 echo $ECHO_N "(cached) $ECHO_C" >&6
19645 else
19646 cat >conftest.$ac_ext <<_ACEOF
19647 /* confdefs.h. */
19648 _ACEOF
19649 cat confdefs.h >>conftest.$ac_ext
19650 cat >>conftest.$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 $ac_includes_default
19653 typedef short ac__type_new_;
19654 int
19655 main ()
19656 {
19657 if ((ac__type_new_ *) 0)
19658 return 0;
19659 if (sizeof (ac__type_new_))
19660 return 0;
19661 ;
19662 return 0;
19663 }
19664 _ACEOF
19665 rm -f conftest.$ac_objext
19666 if { (ac_try="$ac_compile"
19667 case "(($ac_try" in
19668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19669 *) ac_try_echo=$ac_try;;
19670 esac
19671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19672 (eval "$ac_compile") 2>conftest.er1
19673 ac_status=$?
19674 grep -v '^ *+' conftest.er1 >conftest.err
19675 rm -f conftest.er1
19676 cat conftest.err >&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); } && {
19679 test -z "$ac_c_werror_flag" ||
19680 test ! -s conftest.err
19681 } && test -s conftest.$ac_objext; then
19682 ac_cv_type_short=yes
19683 else
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19686
19687 ac_cv_type_short=no
19688 fi
19689
19690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19691 fi
19692 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19693 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19694
19695 # The cast to long int works around a bug in the HP C Compiler
19696 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19697 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19698 # This bug is HP SR number 8606223364.
19699 { echo "$as_me:$LINENO: checking size of short" >&5
19700 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19701 if test "${ac_cv_sizeof_short+set}" = set; then
19702 echo $ECHO_N "(cached) $ECHO_C" >&6
19703 else
19704 if test "$cross_compiling" = yes; then
19705 # Depending upon the size, compute the lo and hi bounds.
19706 cat >conftest.$ac_ext <<_ACEOF
19707 /* confdefs.h. */
19708 _ACEOF
19709 cat confdefs.h >>conftest.$ac_ext
19710 cat >>conftest.$ac_ext <<_ACEOF
19711 /* end confdefs.h. */
19712 $ac_includes_default
19713 typedef short ac__type_sizeof_;
19714 int
19715 main ()
19716 {
19717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19718 test_array [0] = 0
19719
19720 ;
19721 return 0;
19722 }
19723 _ACEOF
19724 rm -f conftest.$ac_objext
19725 if { (ac_try="$ac_compile"
19726 case "(($ac_try" in
19727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19728 *) ac_try_echo=$ac_try;;
19729 esac
19730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19731 (eval "$ac_compile") 2>conftest.er1
19732 ac_status=$?
19733 grep -v '^ *+' conftest.er1 >conftest.err
19734 rm -f conftest.er1
19735 cat conftest.err >&5
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); } && {
19738 test -z "$ac_c_werror_flag" ||
19739 test ! -s conftest.err
19740 } && test -s conftest.$ac_objext; then
19741 ac_lo=0 ac_mid=0
19742 while :; do
19743 cat >conftest.$ac_ext <<_ACEOF
19744 /* confdefs.h. */
19745 _ACEOF
19746 cat confdefs.h >>conftest.$ac_ext
19747 cat >>conftest.$ac_ext <<_ACEOF
19748 /* end confdefs.h. */
19749 $ac_includes_default
19750 typedef short ac__type_sizeof_;
19751 int
19752 main ()
19753 {
19754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19755 test_array [0] = 0
19756
19757 ;
19758 return 0;
19759 }
19760 _ACEOF
19761 rm -f conftest.$ac_objext
19762 if { (ac_try="$ac_compile"
19763 case "(($ac_try" in
19764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19765 *) ac_try_echo=$ac_try;;
19766 esac
19767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19768 (eval "$ac_compile") 2>conftest.er1
19769 ac_status=$?
19770 grep -v '^ *+' conftest.er1 >conftest.err
19771 rm -f conftest.er1
19772 cat conftest.err >&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } && {
19775 test -z "$ac_c_werror_flag" ||
19776 test ! -s conftest.err
19777 } && test -s conftest.$ac_objext; then
19778 ac_hi=$ac_mid; break
19779 else
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19782
19783 ac_lo=`expr $ac_mid + 1`
19784 if test $ac_lo -le $ac_mid; then
19785 ac_lo= ac_hi=
19786 break
19787 fi
19788 ac_mid=`expr 2 '*' $ac_mid + 1`
19789 fi
19790
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 done
19793 else
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19796
19797 cat >conftest.$ac_ext <<_ACEOF
19798 /* confdefs.h. */
19799 _ACEOF
19800 cat confdefs.h >>conftest.$ac_ext
19801 cat >>conftest.$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19803 $ac_includes_default
19804 typedef short ac__type_sizeof_;
19805 int
19806 main ()
19807 {
19808 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19809 test_array [0] = 0
19810
19811 ;
19812 return 0;
19813 }
19814 _ACEOF
19815 rm -f conftest.$ac_objext
19816 if { (ac_try="$ac_compile"
19817 case "(($ac_try" in
19818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19819 *) ac_try_echo=$ac_try;;
19820 esac
19821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19822 (eval "$ac_compile") 2>conftest.er1
19823 ac_status=$?
19824 grep -v '^ *+' conftest.er1 >conftest.err
19825 rm -f conftest.er1
19826 cat conftest.err >&5
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); } && {
19829 test -z "$ac_c_werror_flag" ||
19830 test ! -s conftest.err
19831 } && test -s conftest.$ac_objext; then
19832 ac_hi=-1 ac_mid=-1
19833 while :; do
19834 cat >conftest.$ac_ext <<_ACEOF
19835 /* confdefs.h. */
19836 _ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 $ac_includes_default
19841 typedef short ac__type_sizeof_;
19842 int
19843 main ()
19844 {
19845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19846 test_array [0] = 0
19847
19848 ;
19849 return 0;
19850 }
19851 _ACEOF
19852 rm -f conftest.$ac_objext
19853 if { (ac_try="$ac_compile"
19854 case "(($ac_try" in
19855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19856 *) ac_try_echo=$ac_try;;
19857 esac
19858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19859 (eval "$ac_compile") 2>conftest.er1
19860 ac_status=$?
19861 grep -v '^ *+' conftest.er1 >conftest.err
19862 rm -f conftest.er1
19863 cat conftest.err >&5
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); } && {
19866 test -z "$ac_c_werror_flag" ||
19867 test ! -s conftest.err
19868 } && test -s conftest.$ac_objext; then
19869 ac_lo=$ac_mid; break
19870 else
19871 echo "$as_me: failed program was:" >&5
19872 sed 's/^/| /' conftest.$ac_ext >&5
19873
19874 ac_hi=`expr '(' $ac_mid ')' - 1`
19875 if test $ac_mid -le $ac_hi; then
19876 ac_lo= ac_hi=
19877 break
19878 fi
19879 ac_mid=`expr 2 '*' $ac_mid`
19880 fi
19881
19882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19883 done
19884 else
19885 echo "$as_me: failed program was:" >&5
19886 sed 's/^/| /' conftest.$ac_ext >&5
19887
19888 ac_lo= ac_hi=
19889 fi
19890
19891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19892 fi
19893
19894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19895 # Binary search between lo and hi bounds.
19896 while test "x$ac_lo" != "x$ac_hi"; do
19897 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19898 cat >conftest.$ac_ext <<_ACEOF
19899 /* confdefs.h. */
19900 _ACEOF
19901 cat confdefs.h >>conftest.$ac_ext
19902 cat >>conftest.$ac_ext <<_ACEOF
19903 /* end confdefs.h. */
19904 $ac_includes_default
19905 typedef short ac__type_sizeof_;
19906 int
19907 main ()
19908 {
19909 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19910 test_array [0] = 0
19911
19912 ;
19913 return 0;
19914 }
19915 _ACEOF
19916 rm -f conftest.$ac_objext
19917 if { (ac_try="$ac_compile"
19918 case "(($ac_try" in
19919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19920 *) ac_try_echo=$ac_try;;
19921 esac
19922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19923 (eval "$ac_compile") 2>conftest.er1
19924 ac_status=$?
19925 grep -v '^ *+' conftest.er1 >conftest.err
19926 rm -f conftest.er1
19927 cat conftest.err >&5
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); } && {
19930 test -z "$ac_c_werror_flag" ||
19931 test ! -s conftest.err
19932 } && test -s conftest.$ac_objext; then
19933 ac_hi=$ac_mid
19934 else
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.$ac_ext >&5
19937
19938 ac_lo=`expr '(' $ac_mid ')' + 1`
19939 fi
19940
19941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19942 done
19943 case $ac_lo in
19944 ?*) ac_cv_sizeof_short=$ac_lo;;
19945 '') if test "$ac_cv_type_short" = yes; then
19946 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19947 See \`config.log' for more details." >&5
19948 echo "$as_me: error: cannot compute sizeof (short)
19949 See \`config.log' for more details." >&2;}
19950 { (exit 77); exit 77; }; }
19951 else
19952 ac_cv_sizeof_short=0
19953 fi ;;
19954 esac
19955 else
19956 cat >conftest.$ac_ext <<_ACEOF
19957 /* confdefs.h. */
19958 _ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 $ac_includes_default
19963 typedef short ac__type_sizeof_;
19964 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19965 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19966 #include <stdio.h>
19967 #include <stdlib.h>
19968 int
19969 main ()
19970 {
19971
19972 FILE *f = fopen ("conftest.val", "w");
19973 if (! f)
19974 return 1;
19975 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19976 {
19977 long int i = longval ();
19978 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19979 return 1;
19980 fprintf (f, "%ld\n", i);
19981 }
19982 else
19983 {
19984 unsigned long int i = ulongval ();
19985 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19986 return 1;
19987 fprintf (f, "%lu\n", i);
19988 }
19989 return ferror (f) || fclose (f) != 0;
19990
19991 ;
19992 return 0;
19993 }
19994 _ACEOF
19995 rm -f conftest$ac_exeext
19996 if { (ac_try="$ac_link"
19997 case "(($ac_try" in
19998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19999 *) ac_try_echo=$ac_try;;
20000 esac
20001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20002 (eval "$ac_link") 2>&5
20003 ac_status=$?
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20006 { (case "(($ac_try" in
20007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20008 *) ac_try_echo=$ac_try;;
20009 esac
20010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20011 (eval "$ac_try") 2>&5
20012 ac_status=$?
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); }; }; then
20015 ac_cv_sizeof_short=`cat conftest.val`
20016 else
20017 echo "$as_me: program exited with status $ac_status" >&5
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.$ac_ext >&5
20020
20021 ( exit $ac_status )
20022 if test "$ac_cv_type_short" = yes; then
20023 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20024 See \`config.log' for more details." >&5
20025 echo "$as_me: error: cannot compute sizeof (short)
20026 See \`config.log' for more details." >&2;}
20027 { (exit 77); exit 77; }; }
20028 else
20029 ac_cv_sizeof_short=0
20030 fi
20031 fi
20032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20033 fi
20034 rm -f conftest.val
20035 fi
20036 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20037 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20038
20039
20040
20041 cat >>confdefs.h <<_ACEOF
20042 #define SIZEOF_SHORT $ac_cv_sizeof_short
20043 _ACEOF
20044
20045
20046 { echo "$as_me:$LINENO: checking for void *" >&5
20047 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20048 if test "${ac_cv_type_void_p+set}" = set; then
20049 echo $ECHO_N "(cached) $ECHO_C" >&6
20050 else
20051 cat >conftest.$ac_ext <<_ACEOF
20052 /* confdefs.h. */
20053 _ACEOF
20054 cat confdefs.h >>conftest.$ac_ext
20055 cat >>conftest.$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20057 $ac_includes_default
20058 typedef void * ac__type_new_;
20059 int
20060 main ()
20061 {
20062 if ((ac__type_new_ *) 0)
20063 return 0;
20064 if (sizeof (ac__type_new_))
20065 return 0;
20066 ;
20067 return 0;
20068 }
20069 _ACEOF
20070 rm -f conftest.$ac_objext
20071 if { (ac_try="$ac_compile"
20072 case "(($ac_try" in
20073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20074 *) ac_try_echo=$ac_try;;
20075 esac
20076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20077 (eval "$ac_compile") 2>conftest.er1
20078 ac_status=$?
20079 grep -v '^ *+' conftest.er1 >conftest.err
20080 rm -f conftest.er1
20081 cat conftest.err >&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } && {
20084 test -z "$ac_c_werror_flag" ||
20085 test ! -s conftest.err
20086 } && test -s conftest.$ac_objext; then
20087 ac_cv_type_void_p=yes
20088 else
20089 echo "$as_me: failed program was:" >&5
20090 sed 's/^/| /' conftest.$ac_ext >&5
20091
20092 ac_cv_type_void_p=no
20093 fi
20094
20095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20096 fi
20097 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20098 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20099
20100 # The cast to long int works around a bug in the HP C Compiler
20101 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20102 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20103 # This bug is HP SR number 8606223364.
20104 { echo "$as_me:$LINENO: checking size of void *" >&5
20105 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20106 if test "${ac_cv_sizeof_void_p+set}" = set; then
20107 echo $ECHO_N "(cached) $ECHO_C" >&6
20108 else
20109 if test "$cross_compiling" = yes; then
20110 # Depending upon the size, compute the lo and hi bounds.
20111 cat >conftest.$ac_ext <<_ACEOF
20112 /* confdefs.h. */
20113 _ACEOF
20114 cat confdefs.h >>conftest.$ac_ext
20115 cat >>conftest.$ac_ext <<_ACEOF
20116 /* end confdefs.h. */
20117 $ac_includes_default
20118 typedef void * ac__type_sizeof_;
20119 int
20120 main ()
20121 {
20122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20123 test_array [0] = 0
20124
20125 ;
20126 return 0;
20127 }
20128 _ACEOF
20129 rm -f conftest.$ac_objext
20130 if { (ac_try="$ac_compile"
20131 case "(($ac_try" in
20132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20133 *) ac_try_echo=$ac_try;;
20134 esac
20135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20136 (eval "$ac_compile") 2>conftest.er1
20137 ac_status=$?
20138 grep -v '^ *+' conftest.er1 >conftest.err
20139 rm -f conftest.er1
20140 cat conftest.err >&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); } && {
20143 test -z "$ac_c_werror_flag" ||
20144 test ! -s conftest.err
20145 } && test -s conftest.$ac_objext; then
20146 ac_lo=0 ac_mid=0
20147 while :; do
20148 cat >conftest.$ac_ext <<_ACEOF
20149 /* confdefs.h. */
20150 _ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 $ac_includes_default
20155 typedef void * ac__type_sizeof_;
20156 int
20157 main ()
20158 {
20159 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20160 test_array [0] = 0
20161
20162 ;
20163 return 0;
20164 }
20165 _ACEOF
20166 rm -f conftest.$ac_objext
20167 if { (ac_try="$ac_compile"
20168 case "(($ac_try" in
20169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20170 *) ac_try_echo=$ac_try;;
20171 esac
20172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20173 (eval "$ac_compile") 2>conftest.er1
20174 ac_status=$?
20175 grep -v '^ *+' conftest.er1 >conftest.err
20176 rm -f conftest.er1
20177 cat conftest.err >&5
20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); } && {
20180 test -z "$ac_c_werror_flag" ||
20181 test ! -s conftest.err
20182 } && test -s conftest.$ac_objext; then
20183 ac_hi=$ac_mid; break
20184 else
20185 echo "$as_me: failed program was:" >&5
20186 sed 's/^/| /' conftest.$ac_ext >&5
20187
20188 ac_lo=`expr $ac_mid + 1`
20189 if test $ac_lo -le $ac_mid; then
20190 ac_lo= ac_hi=
20191 break
20192 fi
20193 ac_mid=`expr 2 '*' $ac_mid + 1`
20194 fi
20195
20196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20197 done
20198 else
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.$ac_ext >&5
20201
20202 cat >conftest.$ac_ext <<_ACEOF
20203 /* confdefs.h. */
20204 _ACEOF
20205 cat confdefs.h >>conftest.$ac_ext
20206 cat >>conftest.$ac_ext <<_ACEOF
20207 /* end confdefs.h. */
20208 $ac_includes_default
20209 typedef void * ac__type_sizeof_;
20210 int
20211 main ()
20212 {
20213 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20214 test_array [0] = 0
20215
20216 ;
20217 return 0;
20218 }
20219 _ACEOF
20220 rm -f conftest.$ac_objext
20221 if { (ac_try="$ac_compile"
20222 case "(($ac_try" in
20223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20224 *) ac_try_echo=$ac_try;;
20225 esac
20226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20227 (eval "$ac_compile") 2>conftest.er1
20228 ac_status=$?
20229 grep -v '^ *+' conftest.er1 >conftest.err
20230 rm -f conftest.er1
20231 cat conftest.err >&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); } && {
20234 test -z "$ac_c_werror_flag" ||
20235 test ! -s conftest.err
20236 } && test -s conftest.$ac_objext; then
20237 ac_hi=-1 ac_mid=-1
20238 while :; do
20239 cat >conftest.$ac_ext <<_ACEOF
20240 /* confdefs.h. */
20241 _ACEOF
20242 cat confdefs.h >>conftest.$ac_ext
20243 cat >>conftest.$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20245 $ac_includes_default
20246 typedef void * ac__type_sizeof_;
20247 int
20248 main ()
20249 {
20250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20251 test_array [0] = 0
20252
20253 ;
20254 return 0;
20255 }
20256 _ACEOF
20257 rm -f conftest.$ac_objext
20258 if { (ac_try="$ac_compile"
20259 case "(($ac_try" in
20260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20261 *) ac_try_echo=$ac_try;;
20262 esac
20263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20264 (eval "$ac_compile") 2>conftest.er1
20265 ac_status=$?
20266 grep -v '^ *+' conftest.er1 >conftest.err
20267 rm -f conftest.er1
20268 cat conftest.err >&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } && {
20271 test -z "$ac_c_werror_flag" ||
20272 test ! -s conftest.err
20273 } && test -s conftest.$ac_objext; then
20274 ac_lo=$ac_mid; break
20275 else
20276 echo "$as_me: failed program was:" >&5
20277 sed 's/^/| /' conftest.$ac_ext >&5
20278
20279 ac_hi=`expr '(' $ac_mid ')' - 1`
20280 if test $ac_mid -le $ac_hi; then
20281 ac_lo= ac_hi=
20282 break
20283 fi
20284 ac_mid=`expr 2 '*' $ac_mid`
20285 fi
20286
20287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20288 done
20289 else
20290 echo "$as_me: failed program was:" >&5
20291 sed 's/^/| /' conftest.$ac_ext >&5
20292
20293 ac_lo= ac_hi=
20294 fi
20295
20296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20297 fi
20298
20299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20300 # Binary search between lo and hi bounds.
20301 while test "x$ac_lo" != "x$ac_hi"; do
20302 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20303 cat >conftest.$ac_ext <<_ACEOF
20304 /* confdefs.h. */
20305 _ACEOF
20306 cat confdefs.h >>conftest.$ac_ext
20307 cat >>conftest.$ac_ext <<_ACEOF
20308 /* end confdefs.h. */
20309 $ac_includes_default
20310 typedef void * ac__type_sizeof_;
20311 int
20312 main ()
20313 {
20314 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20315 test_array [0] = 0
20316
20317 ;
20318 return 0;
20319 }
20320 _ACEOF
20321 rm -f conftest.$ac_objext
20322 if { (ac_try="$ac_compile"
20323 case "(($ac_try" in
20324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20325 *) ac_try_echo=$ac_try;;
20326 esac
20327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20328 (eval "$ac_compile") 2>conftest.er1
20329 ac_status=$?
20330 grep -v '^ *+' conftest.er1 >conftest.err
20331 rm -f conftest.er1
20332 cat conftest.err >&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); } && {
20335 test -z "$ac_c_werror_flag" ||
20336 test ! -s conftest.err
20337 } && test -s conftest.$ac_objext; then
20338 ac_hi=$ac_mid
20339 else
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.$ac_ext >&5
20342
20343 ac_lo=`expr '(' $ac_mid ')' + 1`
20344 fi
20345
20346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20347 done
20348 case $ac_lo in
20349 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20350 '') if test "$ac_cv_type_void_p" = yes; then
20351 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20352 See \`config.log' for more details." >&5
20353 echo "$as_me: error: cannot compute sizeof (void *)
20354 See \`config.log' for more details." >&2;}
20355 { (exit 77); exit 77; }; }
20356 else
20357 ac_cv_sizeof_void_p=0
20358 fi ;;
20359 esac
20360 else
20361 cat >conftest.$ac_ext <<_ACEOF
20362 /* confdefs.h. */
20363 _ACEOF
20364 cat confdefs.h >>conftest.$ac_ext
20365 cat >>conftest.$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20367 $ac_includes_default
20368 typedef void * ac__type_sizeof_;
20369 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20370 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20371 #include <stdio.h>
20372 #include <stdlib.h>
20373 int
20374 main ()
20375 {
20376
20377 FILE *f = fopen ("conftest.val", "w");
20378 if (! f)
20379 return 1;
20380 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20381 {
20382 long int i = longval ();
20383 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20384 return 1;
20385 fprintf (f, "%ld\n", i);
20386 }
20387 else
20388 {
20389 unsigned long int i = ulongval ();
20390 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20391 return 1;
20392 fprintf (f, "%lu\n", i);
20393 }
20394 return ferror (f) || fclose (f) != 0;
20395
20396 ;
20397 return 0;
20398 }
20399 _ACEOF
20400 rm -f conftest$ac_exeext
20401 if { (ac_try="$ac_link"
20402 case "(($ac_try" in
20403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20404 *) ac_try_echo=$ac_try;;
20405 esac
20406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20407 (eval "$ac_link") 2>&5
20408 ac_status=$?
20409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20411 { (case "(($ac_try" in
20412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20413 *) ac_try_echo=$ac_try;;
20414 esac
20415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20416 (eval "$ac_try") 2>&5
20417 ac_status=$?
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); }; }; then
20420 ac_cv_sizeof_void_p=`cat conftest.val`
20421 else
20422 echo "$as_me: program exited with status $ac_status" >&5
20423 echo "$as_me: failed program was:" >&5
20424 sed 's/^/| /' conftest.$ac_ext >&5
20425
20426 ( exit $ac_status )
20427 if test "$ac_cv_type_void_p" = yes; then
20428 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20429 See \`config.log' for more details." >&5
20430 echo "$as_me: error: cannot compute sizeof (void *)
20431 See \`config.log' for more details." >&2;}
20432 { (exit 77); exit 77; }; }
20433 else
20434 ac_cv_sizeof_void_p=0
20435 fi
20436 fi
20437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20438 fi
20439 rm -f conftest.val
20440 fi
20441 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20442 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20443
20444
20445
20446 cat >>confdefs.h <<_ACEOF
20447 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20448 _ACEOF
20449
20450
20451 { echo "$as_me:$LINENO: checking for int" >&5
20452 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20453 if test "${ac_cv_type_int+set}" = set; then
20454 echo $ECHO_N "(cached) $ECHO_C" >&6
20455 else
20456 cat >conftest.$ac_ext <<_ACEOF
20457 /* confdefs.h. */
20458 _ACEOF
20459 cat confdefs.h >>conftest.$ac_ext
20460 cat >>conftest.$ac_ext <<_ACEOF
20461 /* end confdefs.h. */
20462 $ac_includes_default
20463 typedef int ac__type_new_;
20464 int
20465 main ()
20466 {
20467 if ((ac__type_new_ *) 0)
20468 return 0;
20469 if (sizeof (ac__type_new_))
20470 return 0;
20471 ;
20472 return 0;
20473 }
20474 _ACEOF
20475 rm -f conftest.$ac_objext
20476 if { (ac_try="$ac_compile"
20477 case "(($ac_try" in
20478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20479 *) ac_try_echo=$ac_try;;
20480 esac
20481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20482 (eval "$ac_compile") 2>conftest.er1
20483 ac_status=$?
20484 grep -v '^ *+' conftest.er1 >conftest.err
20485 rm -f conftest.er1
20486 cat conftest.err >&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); } && {
20489 test -z "$ac_c_werror_flag" ||
20490 test ! -s conftest.err
20491 } && test -s conftest.$ac_objext; then
20492 ac_cv_type_int=yes
20493 else
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.$ac_ext >&5
20496
20497 ac_cv_type_int=no
20498 fi
20499
20500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20501 fi
20502 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20503 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20504
20505 # The cast to long int works around a bug in the HP C Compiler
20506 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20507 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20508 # This bug is HP SR number 8606223364.
20509 { echo "$as_me:$LINENO: checking size of int" >&5
20510 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20511 if test "${ac_cv_sizeof_int+set}" = set; then
20512 echo $ECHO_N "(cached) $ECHO_C" >&6
20513 else
20514 if test "$cross_compiling" = yes; then
20515 # Depending upon the size, compute the lo and hi bounds.
20516 cat >conftest.$ac_ext <<_ACEOF
20517 /* confdefs.h. */
20518 _ACEOF
20519 cat confdefs.h >>conftest.$ac_ext
20520 cat >>conftest.$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20522 $ac_includes_default
20523 typedef int ac__type_sizeof_;
20524 int
20525 main ()
20526 {
20527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20528 test_array [0] = 0
20529
20530 ;
20531 return 0;
20532 }
20533 _ACEOF
20534 rm -f conftest.$ac_objext
20535 if { (ac_try="$ac_compile"
20536 case "(($ac_try" in
20537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20538 *) ac_try_echo=$ac_try;;
20539 esac
20540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20541 (eval "$ac_compile") 2>conftest.er1
20542 ac_status=$?
20543 grep -v '^ *+' conftest.er1 >conftest.err
20544 rm -f conftest.er1
20545 cat conftest.err >&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); } && {
20548 test -z "$ac_c_werror_flag" ||
20549 test ! -s conftest.err
20550 } && test -s conftest.$ac_objext; then
20551 ac_lo=0 ac_mid=0
20552 while :; do
20553 cat >conftest.$ac_ext <<_ACEOF
20554 /* confdefs.h. */
20555 _ACEOF
20556 cat confdefs.h >>conftest.$ac_ext
20557 cat >>conftest.$ac_ext <<_ACEOF
20558 /* end confdefs.h. */
20559 $ac_includes_default
20560 typedef int ac__type_sizeof_;
20561 int
20562 main ()
20563 {
20564 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20565 test_array [0] = 0
20566
20567 ;
20568 return 0;
20569 }
20570 _ACEOF
20571 rm -f conftest.$ac_objext
20572 if { (ac_try="$ac_compile"
20573 case "(($ac_try" in
20574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20575 *) ac_try_echo=$ac_try;;
20576 esac
20577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20578 (eval "$ac_compile") 2>conftest.er1
20579 ac_status=$?
20580 grep -v '^ *+' conftest.er1 >conftest.err
20581 rm -f conftest.er1
20582 cat conftest.err >&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); } && {
20585 test -z "$ac_c_werror_flag" ||
20586 test ! -s conftest.err
20587 } && test -s conftest.$ac_objext; then
20588 ac_hi=$ac_mid; break
20589 else
20590 echo "$as_me: failed program was:" >&5
20591 sed 's/^/| /' conftest.$ac_ext >&5
20592
20593 ac_lo=`expr $ac_mid + 1`
20594 if test $ac_lo -le $ac_mid; then
20595 ac_lo= ac_hi=
20596 break
20597 fi
20598 ac_mid=`expr 2 '*' $ac_mid + 1`
20599 fi
20600
20601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20602 done
20603 else
20604 echo "$as_me: failed program was:" >&5
20605 sed 's/^/| /' conftest.$ac_ext >&5
20606
20607 cat >conftest.$ac_ext <<_ACEOF
20608 /* confdefs.h. */
20609 _ACEOF
20610 cat confdefs.h >>conftest.$ac_ext
20611 cat >>conftest.$ac_ext <<_ACEOF
20612 /* end confdefs.h. */
20613 $ac_includes_default
20614 typedef int ac__type_sizeof_;
20615 int
20616 main ()
20617 {
20618 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20619 test_array [0] = 0
20620
20621 ;
20622 return 0;
20623 }
20624 _ACEOF
20625 rm -f conftest.$ac_objext
20626 if { (ac_try="$ac_compile"
20627 case "(($ac_try" in
20628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20629 *) ac_try_echo=$ac_try;;
20630 esac
20631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20632 (eval "$ac_compile") 2>conftest.er1
20633 ac_status=$?
20634 grep -v '^ *+' conftest.er1 >conftest.err
20635 rm -f conftest.er1
20636 cat conftest.err >&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); } && {
20639 test -z "$ac_c_werror_flag" ||
20640 test ! -s conftest.err
20641 } && test -s conftest.$ac_objext; then
20642 ac_hi=-1 ac_mid=-1
20643 while :; do
20644 cat >conftest.$ac_ext <<_ACEOF
20645 /* confdefs.h. */
20646 _ACEOF
20647 cat confdefs.h >>conftest.$ac_ext
20648 cat >>conftest.$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20650 $ac_includes_default
20651 typedef int ac__type_sizeof_;
20652 int
20653 main ()
20654 {
20655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20656 test_array [0] = 0
20657
20658 ;
20659 return 0;
20660 }
20661 _ACEOF
20662 rm -f conftest.$ac_objext
20663 if { (ac_try="$ac_compile"
20664 case "(($ac_try" in
20665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20666 *) ac_try_echo=$ac_try;;
20667 esac
20668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20669 (eval "$ac_compile") 2>conftest.er1
20670 ac_status=$?
20671 grep -v '^ *+' conftest.er1 >conftest.err
20672 rm -f conftest.er1
20673 cat conftest.err >&5
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); } && {
20676 test -z "$ac_c_werror_flag" ||
20677 test ! -s conftest.err
20678 } && test -s conftest.$ac_objext; then
20679 ac_lo=$ac_mid; break
20680 else
20681 echo "$as_me: failed program was:" >&5
20682 sed 's/^/| /' conftest.$ac_ext >&5
20683
20684 ac_hi=`expr '(' $ac_mid ')' - 1`
20685 if test $ac_mid -le $ac_hi; then
20686 ac_lo= ac_hi=
20687 break
20688 fi
20689 ac_mid=`expr 2 '*' $ac_mid`
20690 fi
20691
20692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20693 done
20694 else
20695 echo "$as_me: failed program was:" >&5
20696 sed 's/^/| /' conftest.$ac_ext >&5
20697
20698 ac_lo= ac_hi=
20699 fi
20700
20701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20702 fi
20703
20704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20705 # Binary search between lo and hi bounds.
20706 while test "x$ac_lo" != "x$ac_hi"; do
20707 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20708 cat >conftest.$ac_ext <<_ACEOF
20709 /* confdefs.h. */
20710 _ACEOF
20711 cat confdefs.h >>conftest.$ac_ext
20712 cat >>conftest.$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20714 $ac_includes_default
20715 typedef int ac__type_sizeof_;
20716 int
20717 main ()
20718 {
20719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20720 test_array [0] = 0
20721
20722 ;
20723 return 0;
20724 }
20725 _ACEOF
20726 rm -f conftest.$ac_objext
20727 if { (ac_try="$ac_compile"
20728 case "(($ac_try" in
20729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20730 *) ac_try_echo=$ac_try;;
20731 esac
20732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_compile") 2>conftest.er1
20734 ac_status=$?
20735 grep -v '^ *+' conftest.er1 >conftest.err
20736 rm -f conftest.er1
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest.$ac_objext; then
20743 ac_hi=$ac_mid
20744 else
20745 echo "$as_me: failed program was:" >&5
20746 sed 's/^/| /' conftest.$ac_ext >&5
20747
20748 ac_lo=`expr '(' $ac_mid ')' + 1`
20749 fi
20750
20751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20752 done
20753 case $ac_lo in
20754 ?*) ac_cv_sizeof_int=$ac_lo;;
20755 '') if test "$ac_cv_type_int" = yes; then
20756 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20757 See \`config.log' for more details." >&5
20758 echo "$as_me: error: cannot compute sizeof (int)
20759 See \`config.log' for more details." >&2;}
20760 { (exit 77); exit 77; }; }
20761 else
20762 ac_cv_sizeof_int=0
20763 fi ;;
20764 esac
20765 else
20766 cat >conftest.$ac_ext <<_ACEOF
20767 /* confdefs.h. */
20768 _ACEOF
20769 cat confdefs.h >>conftest.$ac_ext
20770 cat >>conftest.$ac_ext <<_ACEOF
20771 /* end confdefs.h. */
20772 $ac_includes_default
20773 typedef int ac__type_sizeof_;
20774 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20775 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20776 #include <stdio.h>
20777 #include <stdlib.h>
20778 int
20779 main ()
20780 {
20781
20782 FILE *f = fopen ("conftest.val", "w");
20783 if (! f)
20784 return 1;
20785 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20786 {
20787 long int i = longval ();
20788 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20789 return 1;
20790 fprintf (f, "%ld\n", i);
20791 }
20792 else
20793 {
20794 unsigned long int i = ulongval ();
20795 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20796 return 1;
20797 fprintf (f, "%lu\n", i);
20798 }
20799 return ferror (f) || fclose (f) != 0;
20800
20801 ;
20802 return 0;
20803 }
20804 _ACEOF
20805 rm -f conftest$ac_exeext
20806 if { (ac_try="$ac_link"
20807 case "(($ac_try" in
20808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20809 *) ac_try_echo=$ac_try;;
20810 esac
20811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20812 (eval "$ac_link") 2>&5
20813 ac_status=$?
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20816 { (case "(($ac_try" in
20817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20818 *) ac_try_echo=$ac_try;;
20819 esac
20820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20821 (eval "$ac_try") 2>&5
20822 ac_status=$?
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); }; }; then
20825 ac_cv_sizeof_int=`cat conftest.val`
20826 else
20827 echo "$as_me: program exited with status $ac_status" >&5
20828 echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.$ac_ext >&5
20830
20831 ( exit $ac_status )
20832 if test "$ac_cv_type_int" = yes; then
20833 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20834 See \`config.log' for more details." >&5
20835 echo "$as_me: error: cannot compute sizeof (int)
20836 See \`config.log' for more details." >&2;}
20837 { (exit 77); exit 77; }; }
20838 else
20839 ac_cv_sizeof_int=0
20840 fi
20841 fi
20842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20843 fi
20844 rm -f conftest.val
20845 fi
20846 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20847 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20848
20849
20850
20851 cat >>confdefs.h <<_ACEOF
20852 #define SIZEOF_INT $ac_cv_sizeof_int
20853 _ACEOF
20854
20855
20856 { echo "$as_me:$LINENO: checking for long" >&5
20857 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20858 if test "${ac_cv_type_long+set}" = set; then
20859 echo $ECHO_N "(cached) $ECHO_C" >&6
20860 else
20861 cat >conftest.$ac_ext <<_ACEOF
20862 /* confdefs.h. */
20863 _ACEOF
20864 cat confdefs.h >>conftest.$ac_ext
20865 cat >>conftest.$ac_ext <<_ACEOF
20866 /* end confdefs.h. */
20867 $ac_includes_default
20868 typedef long ac__type_new_;
20869 int
20870 main ()
20871 {
20872 if ((ac__type_new_ *) 0)
20873 return 0;
20874 if (sizeof (ac__type_new_))
20875 return 0;
20876 ;
20877 return 0;
20878 }
20879 _ACEOF
20880 rm -f conftest.$ac_objext
20881 if { (ac_try="$ac_compile"
20882 case "(($ac_try" in
20883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20884 *) ac_try_echo=$ac_try;;
20885 esac
20886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20887 (eval "$ac_compile") 2>conftest.er1
20888 ac_status=$?
20889 grep -v '^ *+' conftest.er1 >conftest.err
20890 rm -f conftest.er1
20891 cat conftest.err >&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); } && {
20894 test -z "$ac_c_werror_flag" ||
20895 test ! -s conftest.err
20896 } && test -s conftest.$ac_objext; then
20897 ac_cv_type_long=yes
20898 else
20899 echo "$as_me: failed program was:" >&5
20900 sed 's/^/| /' conftest.$ac_ext >&5
20901
20902 ac_cv_type_long=no
20903 fi
20904
20905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20906 fi
20907 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20908 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20909
20910 # The cast to long int works around a bug in the HP C Compiler
20911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20913 # This bug is HP SR number 8606223364.
20914 { echo "$as_me:$LINENO: checking size of long" >&5
20915 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20916 if test "${ac_cv_sizeof_long+set}" = set; then
20917 echo $ECHO_N "(cached) $ECHO_C" >&6
20918 else
20919 if test "$cross_compiling" = yes; then
20920 # Depending upon the size, compute the lo and hi bounds.
20921 cat >conftest.$ac_ext <<_ACEOF
20922 /* confdefs.h. */
20923 _ACEOF
20924 cat confdefs.h >>conftest.$ac_ext
20925 cat >>conftest.$ac_ext <<_ACEOF
20926 /* end confdefs.h. */
20927 $ac_includes_default
20928 typedef long ac__type_sizeof_;
20929 int
20930 main ()
20931 {
20932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20933 test_array [0] = 0
20934
20935 ;
20936 return 0;
20937 }
20938 _ACEOF
20939 rm -f conftest.$ac_objext
20940 if { (ac_try="$ac_compile"
20941 case "(($ac_try" in
20942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20943 *) ac_try_echo=$ac_try;;
20944 esac
20945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20946 (eval "$ac_compile") 2>conftest.er1
20947 ac_status=$?
20948 grep -v '^ *+' conftest.er1 >conftest.err
20949 rm -f conftest.er1
20950 cat conftest.err >&5
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); } && {
20953 test -z "$ac_c_werror_flag" ||
20954 test ! -s conftest.err
20955 } && test -s conftest.$ac_objext; then
20956 ac_lo=0 ac_mid=0
20957 while :; do
20958 cat >conftest.$ac_ext <<_ACEOF
20959 /* confdefs.h. */
20960 _ACEOF
20961 cat confdefs.h >>conftest.$ac_ext
20962 cat >>conftest.$ac_ext <<_ACEOF
20963 /* end confdefs.h. */
20964 $ac_includes_default
20965 typedef long ac__type_sizeof_;
20966 int
20967 main ()
20968 {
20969 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20970 test_array [0] = 0
20971
20972 ;
20973 return 0;
20974 }
20975 _ACEOF
20976 rm -f conftest.$ac_objext
20977 if { (ac_try="$ac_compile"
20978 case "(($ac_try" in
20979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20980 *) ac_try_echo=$ac_try;;
20981 esac
20982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20983 (eval "$ac_compile") 2>conftest.er1
20984 ac_status=$?
20985 grep -v '^ *+' conftest.er1 >conftest.err
20986 rm -f conftest.er1
20987 cat conftest.err >&5
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); } && {
20990 test -z "$ac_c_werror_flag" ||
20991 test ! -s conftest.err
20992 } && test -s conftest.$ac_objext; then
20993 ac_hi=$ac_mid; break
20994 else
20995 echo "$as_me: failed program was:" >&5
20996 sed 's/^/| /' conftest.$ac_ext >&5
20997
20998 ac_lo=`expr $ac_mid + 1`
20999 if test $ac_lo -le $ac_mid; then
21000 ac_lo= ac_hi=
21001 break
21002 fi
21003 ac_mid=`expr 2 '*' $ac_mid + 1`
21004 fi
21005
21006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21007 done
21008 else
21009 echo "$as_me: failed program was:" >&5
21010 sed 's/^/| /' conftest.$ac_ext >&5
21011
21012 cat >conftest.$ac_ext <<_ACEOF
21013 /* confdefs.h. */
21014 _ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 $ac_includes_default
21019 typedef long ac__type_sizeof_;
21020 int
21021 main ()
21022 {
21023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21024 test_array [0] = 0
21025
21026 ;
21027 return 0;
21028 }
21029 _ACEOF
21030 rm -f conftest.$ac_objext
21031 if { (ac_try="$ac_compile"
21032 case "(($ac_try" in
21033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21034 *) ac_try_echo=$ac_try;;
21035 esac
21036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21037 (eval "$ac_compile") 2>conftest.er1
21038 ac_status=$?
21039 grep -v '^ *+' conftest.er1 >conftest.err
21040 rm -f conftest.er1
21041 cat conftest.err >&5
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); } && {
21044 test -z "$ac_c_werror_flag" ||
21045 test ! -s conftest.err
21046 } && test -s conftest.$ac_objext; then
21047 ac_hi=-1 ac_mid=-1
21048 while :; do
21049 cat >conftest.$ac_ext <<_ACEOF
21050 /* confdefs.h. */
21051 _ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21055 $ac_includes_default
21056 typedef long ac__type_sizeof_;
21057 int
21058 main ()
21059 {
21060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21061 test_array [0] = 0
21062
21063 ;
21064 return 0;
21065 }
21066 _ACEOF
21067 rm -f conftest.$ac_objext
21068 if { (ac_try="$ac_compile"
21069 case "(($ac_try" in
21070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21071 *) ac_try_echo=$ac_try;;
21072 esac
21073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21074 (eval "$ac_compile") 2>conftest.er1
21075 ac_status=$?
21076 grep -v '^ *+' conftest.er1 >conftest.err
21077 rm -f conftest.er1
21078 cat conftest.err >&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); } && {
21081 test -z "$ac_c_werror_flag" ||
21082 test ! -s conftest.err
21083 } && test -s conftest.$ac_objext; then
21084 ac_lo=$ac_mid; break
21085 else
21086 echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.$ac_ext >&5
21088
21089 ac_hi=`expr '(' $ac_mid ')' - 1`
21090 if test $ac_mid -le $ac_hi; then
21091 ac_lo= ac_hi=
21092 break
21093 fi
21094 ac_mid=`expr 2 '*' $ac_mid`
21095 fi
21096
21097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21098 done
21099 else
21100 echo "$as_me: failed program was:" >&5
21101 sed 's/^/| /' conftest.$ac_ext >&5
21102
21103 ac_lo= ac_hi=
21104 fi
21105
21106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21107 fi
21108
21109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21110 # Binary search between lo and hi bounds.
21111 while test "x$ac_lo" != "x$ac_hi"; do
21112 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21113 cat >conftest.$ac_ext <<_ACEOF
21114 /* confdefs.h. */
21115 _ACEOF
21116 cat confdefs.h >>conftest.$ac_ext
21117 cat >>conftest.$ac_ext <<_ACEOF
21118 /* end confdefs.h. */
21119 $ac_includes_default
21120 typedef long ac__type_sizeof_;
21121 int
21122 main ()
21123 {
21124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21125 test_array [0] = 0
21126
21127 ;
21128 return 0;
21129 }
21130 _ACEOF
21131 rm -f conftest.$ac_objext
21132 if { (ac_try="$ac_compile"
21133 case "(($ac_try" in
21134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21135 *) ac_try_echo=$ac_try;;
21136 esac
21137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21138 (eval "$ac_compile") 2>conftest.er1
21139 ac_status=$?
21140 grep -v '^ *+' conftest.er1 >conftest.err
21141 rm -f conftest.er1
21142 cat conftest.err >&5
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); } && {
21145 test -z "$ac_c_werror_flag" ||
21146 test ! -s conftest.err
21147 } && test -s conftest.$ac_objext; then
21148 ac_hi=$ac_mid
21149 else
21150 echo "$as_me: failed program was:" >&5
21151 sed 's/^/| /' conftest.$ac_ext >&5
21152
21153 ac_lo=`expr '(' $ac_mid ')' + 1`
21154 fi
21155
21156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21157 done
21158 case $ac_lo in
21159 ?*) ac_cv_sizeof_long=$ac_lo;;
21160 '') if test "$ac_cv_type_long" = yes; then
21161 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21162 See \`config.log' for more details." >&5
21163 echo "$as_me: error: cannot compute sizeof (long)
21164 See \`config.log' for more details." >&2;}
21165 { (exit 77); exit 77; }; }
21166 else
21167 ac_cv_sizeof_long=0
21168 fi ;;
21169 esac
21170 else
21171 cat >conftest.$ac_ext <<_ACEOF
21172 /* confdefs.h. */
21173 _ACEOF
21174 cat confdefs.h >>conftest.$ac_ext
21175 cat >>conftest.$ac_ext <<_ACEOF
21176 /* end confdefs.h. */
21177 $ac_includes_default
21178 typedef long ac__type_sizeof_;
21179 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21180 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21181 #include <stdio.h>
21182 #include <stdlib.h>
21183 int
21184 main ()
21185 {
21186
21187 FILE *f = fopen ("conftest.val", "w");
21188 if (! f)
21189 return 1;
21190 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21191 {
21192 long int i = longval ();
21193 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21194 return 1;
21195 fprintf (f, "%ld\n", i);
21196 }
21197 else
21198 {
21199 unsigned long int i = ulongval ();
21200 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21201 return 1;
21202 fprintf (f, "%lu\n", i);
21203 }
21204 return ferror (f) || fclose (f) != 0;
21205
21206 ;
21207 return 0;
21208 }
21209 _ACEOF
21210 rm -f conftest$ac_exeext
21211 if { (ac_try="$ac_link"
21212 case "(($ac_try" in
21213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21214 *) ac_try_echo=$ac_try;;
21215 esac
21216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21217 (eval "$ac_link") 2>&5
21218 ac_status=$?
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21221 { (case "(($ac_try" in
21222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21223 *) ac_try_echo=$ac_try;;
21224 esac
21225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21226 (eval "$ac_try") 2>&5
21227 ac_status=$?
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); }; }; then
21230 ac_cv_sizeof_long=`cat conftest.val`
21231 else
21232 echo "$as_me: program exited with status $ac_status" >&5
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.$ac_ext >&5
21235
21236 ( exit $ac_status )
21237 if test "$ac_cv_type_long" = yes; then
21238 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21239 See \`config.log' for more details." >&5
21240 echo "$as_me: error: cannot compute sizeof (long)
21241 See \`config.log' for more details." >&2;}
21242 { (exit 77); exit 77; }; }
21243 else
21244 ac_cv_sizeof_long=0
21245 fi
21246 fi
21247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21248 fi
21249 rm -f conftest.val
21250 fi
21251 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21252 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21253
21254
21255
21256 cat >>confdefs.h <<_ACEOF
21257 #define SIZEOF_LONG $ac_cv_sizeof_long
21258 _ACEOF
21259
21260
21261 { echo "$as_me:$LINENO: checking for size_t" >&5
21262 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21263 if test "${ac_cv_type_size_t+set}" = set; then
21264 echo $ECHO_N "(cached) $ECHO_C" >&6
21265 else
21266 cat >conftest.$ac_ext <<_ACEOF
21267 /* confdefs.h. */
21268 _ACEOF
21269 cat confdefs.h >>conftest.$ac_ext
21270 cat >>conftest.$ac_ext <<_ACEOF
21271 /* end confdefs.h. */
21272 $ac_includes_default
21273 typedef size_t ac__type_new_;
21274 int
21275 main ()
21276 {
21277 if ((ac__type_new_ *) 0)
21278 return 0;
21279 if (sizeof (ac__type_new_))
21280 return 0;
21281 ;
21282 return 0;
21283 }
21284 _ACEOF
21285 rm -f conftest.$ac_objext
21286 if { (ac_try="$ac_compile"
21287 case "(($ac_try" in
21288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21289 *) ac_try_echo=$ac_try;;
21290 esac
21291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21292 (eval "$ac_compile") 2>conftest.er1
21293 ac_status=$?
21294 grep -v '^ *+' conftest.er1 >conftest.err
21295 rm -f conftest.er1
21296 cat conftest.err >&5
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); } && {
21299 test -z "$ac_c_werror_flag" ||
21300 test ! -s conftest.err
21301 } && test -s conftest.$ac_objext; then
21302 ac_cv_type_size_t=yes
21303 else
21304 echo "$as_me: failed program was:" >&5
21305 sed 's/^/| /' conftest.$ac_ext >&5
21306
21307 ac_cv_type_size_t=no
21308 fi
21309
21310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21311 fi
21312 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21313 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21314
21315 # The cast to long int works around a bug in the HP C Compiler
21316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21318 # This bug is HP SR number 8606223364.
21319 { echo "$as_me:$LINENO: checking size of size_t" >&5
21320 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21321 if test "${ac_cv_sizeof_size_t+set}" = set; then
21322 echo $ECHO_N "(cached) $ECHO_C" >&6
21323 else
21324 if test "$cross_compiling" = yes; then
21325 # Depending upon the size, compute the lo and hi bounds.
21326 cat >conftest.$ac_ext <<_ACEOF
21327 /* confdefs.h. */
21328 _ACEOF
21329 cat confdefs.h >>conftest.$ac_ext
21330 cat >>conftest.$ac_ext <<_ACEOF
21331 /* end confdefs.h. */
21332 $ac_includes_default
21333 typedef size_t ac__type_sizeof_;
21334 int
21335 main ()
21336 {
21337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21338 test_array [0] = 0
21339
21340 ;
21341 return 0;
21342 }
21343 _ACEOF
21344 rm -f conftest.$ac_objext
21345 if { (ac_try="$ac_compile"
21346 case "(($ac_try" in
21347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21348 *) ac_try_echo=$ac_try;;
21349 esac
21350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21351 (eval "$ac_compile") 2>conftest.er1
21352 ac_status=$?
21353 grep -v '^ *+' conftest.er1 >conftest.err
21354 rm -f conftest.er1
21355 cat conftest.err >&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); } && {
21358 test -z "$ac_c_werror_flag" ||
21359 test ! -s conftest.err
21360 } && test -s conftest.$ac_objext; then
21361 ac_lo=0 ac_mid=0
21362 while :; do
21363 cat >conftest.$ac_ext <<_ACEOF
21364 /* confdefs.h. */
21365 _ACEOF
21366 cat confdefs.h >>conftest.$ac_ext
21367 cat >>conftest.$ac_ext <<_ACEOF
21368 /* end confdefs.h. */
21369 $ac_includes_default
21370 typedef size_t ac__type_sizeof_;
21371 int
21372 main ()
21373 {
21374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21375 test_array [0] = 0
21376
21377 ;
21378 return 0;
21379 }
21380 _ACEOF
21381 rm -f conftest.$ac_objext
21382 if { (ac_try="$ac_compile"
21383 case "(($ac_try" in
21384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21385 *) ac_try_echo=$ac_try;;
21386 esac
21387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21388 (eval "$ac_compile") 2>conftest.er1
21389 ac_status=$?
21390 grep -v '^ *+' conftest.er1 >conftest.err
21391 rm -f conftest.er1
21392 cat conftest.err >&5
21393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394 (exit $ac_status); } && {
21395 test -z "$ac_c_werror_flag" ||
21396 test ! -s conftest.err
21397 } && test -s conftest.$ac_objext; then
21398 ac_hi=$ac_mid; break
21399 else
21400 echo "$as_me: failed program was:" >&5
21401 sed 's/^/| /' conftest.$ac_ext >&5
21402
21403 ac_lo=`expr $ac_mid + 1`
21404 if test $ac_lo -le $ac_mid; then
21405 ac_lo= ac_hi=
21406 break
21407 fi
21408 ac_mid=`expr 2 '*' $ac_mid + 1`
21409 fi
21410
21411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21412 done
21413 else
21414 echo "$as_me: failed program was:" >&5
21415 sed 's/^/| /' conftest.$ac_ext >&5
21416
21417 cat >conftest.$ac_ext <<_ACEOF
21418 /* confdefs.h. */
21419 _ACEOF
21420 cat confdefs.h >>conftest.$ac_ext
21421 cat >>conftest.$ac_ext <<_ACEOF
21422 /* end confdefs.h. */
21423 $ac_includes_default
21424 typedef size_t ac__type_sizeof_;
21425 int
21426 main ()
21427 {
21428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21429 test_array [0] = 0
21430
21431 ;
21432 return 0;
21433 }
21434 _ACEOF
21435 rm -f conftest.$ac_objext
21436 if { (ac_try="$ac_compile"
21437 case "(($ac_try" in
21438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21439 *) ac_try_echo=$ac_try;;
21440 esac
21441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21442 (eval "$ac_compile") 2>conftest.er1
21443 ac_status=$?
21444 grep -v '^ *+' conftest.er1 >conftest.err
21445 rm -f conftest.er1
21446 cat conftest.err >&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } && {
21449 test -z "$ac_c_werror_flag" ||
21450 test ! -s conftest.err
21451 } && test -s conftest.$ac_objext; then
21452 ac_hi=-1 ac_mid=-1
21453 while :; do
21454 cat >conftest.$ac_ext <<_ACEOF
21455 /* confdefs.h. */
21456 _ACEOF
21457 cat confdefs.h >>conftest.$ac_ext
21458 cat >>conftest.$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 $ac_includes_default
21461 typedef size_t ac__type_sizeof_;
21462 int
21463 main ()
21464 {
21465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21466 test_array [0] = 0
21467
21468 ;
21469 return 0;
21470 }
21471 _ACEOF
21472 rm -f conftest.$ac_objext
21473 if { (ac_try="$ac_compile"
21474 case "(($ac_try" in
21475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21476 *) ac_try_echo=$ac_try;;
21477 esac
21478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21479 (eval "$ac_compile") 2>conftest.er1
21480 ac_status=$?
21481 grep -v '^ *+' conftest.er1 >conftest.err
21482 rm -f conftest.er1
21483 cat conftest.err >&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } && {
21486 test -z "$ac_c_werror_flag" ||
21487 test ! -s conftest.err
21488 } && test -s conftest.$ac_objext; then
21489 ac_lo=$ac_mid; break
21490 else
21491 echo "$as_me: failed program was:" >&5
21492 sed 's/^/| /' conftest.$ac_ext >&5
21493
21494 ac_hi=`expr '(' $ac_mid ')' - 1`
21495 if test $ac_mid -le $ac_hi; then
21496 ac_lo= ac_hi=
21497 break
21498 fi
21499 ac_mid=`expr 2 '*' $ac_mid`
21500 fi
21501
21502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21503 done
21504 else
21505 echo "$as_me: failed program was:" >&5
21506 sed 's/^/| /' conftest.$ac_ext >&5
21507
21508 ac_lo= ac_hi=
21509 fi
21510
21511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21512 fi
21513
21514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21515 # Binary search between lo and hi bounds.
21516 while test "x$ac_lo" != "x$ac_hi"; do
21517 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21518 cat >conftest.$ac_ext <<_ACEOF
21519 /* confdefs.h. */
21520 _ACEOF
21521 cat confdefs.h >>conftest.$ac_ext
21522 cat >>conftest.$ac_ext <<_ACEOF
21523 /* end confdefs.h. */
21524 $ac_includes_default
21525 typedef size_t ac__type_sizeof_;
21526 int
21527 main ()
21528 {
21529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21530 test_array [0] = 0
21531
21532 ;
21533 return 0;
21534 }
21535 _ACEOF
21536 rm -f conftest.$ac_objext
21537 if { (ac_try="$ac_compile"
21538 case "(($ac_try" in
21539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21540 *) ac_try_echo=$ac_try;;
21541 esac
21542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21543 (eval "$ac_compile") 2>conftest.er1
21544 ac_status=$?
21545 grep -v '^ *+' conftest.er1 >conftest.err
21546 rm -f conftest.er1
21547 cat conftest.err >&5
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); } && {
21550 test -z "$ac_c_werror_flag" ||
21551 test ! -s conftest.err
21552 } && test -s conftest.$ac_objext; then
21553 ac_hi=$ac_mid
21554 else
21555 echo "$as_me: failed program was:" >&5
21556 sed 's/^/| /' conftest.$ac_ext >&5
21557
21558 ac_lo=`expr '(' $ac_mid ')' + 1`
21559 fi
21560
21561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21562 done
21563 case $ac_lo in
21564 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21565 '') if test "$ac_cv_type_size_t" = yes; then
21566 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21567 See \`config.log' for more details." >&5
21568 echo "$as_me: error: cannot compute sizeof (size_t)
21569 See \`config.log' for more details." >&2;}
21570 { (exit 77); exit 77; }; }
21571 else
21572 ac_cv_sizeof_size_t=0
21573 fi ;;
21574 esac
21575 else
21576 cat >conftest.$ac_ext <<_ACEOF
21577 /* confdefs.h. */
21578 _ACEOF
21579 cat confdefs.h >>conftest.$ac_ext
21580 cat >>conftest.$ac_ext <<_ACEOF
21581 /* end confdefs.h. */
21582 $ac_includes_default
21583 typedef size_t ac__type_sizeof_;
21584 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21585 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21586 #include <stdio.h>
21587 #include <stdlib.h>
21588 int
21589 main ()
21590 {
21591
21592 FILE *f = fopen ("conftest.val", "w");
21593 if (! f)
21594 return 1;
21595 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21596 {
21597 long int i = longval ();
21598 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21599 return 1;
21600 fprintf (f, "%ld\n", i);
21601 }
21602 else
21603 {
21604 unsigned long int i = ulongval ();
21605 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21606 return 1;
21607 fprintf (f, "%lu\n", i);
21608 }
21609 return ferror (f) || fclose (f) != 0;
21610
21611 ;
21612 return 0;
21613 }
21614 _ACEOF
21615 rm -f conftest$ac_exeext
21616 if { (ac_try="$ac_link"
21617 case "(($ac_try" in
21618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21619 *) ac_try_echo=$ac_try;;
21620 esac
21621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21622 (eval "$ac_link") 2>&5
21623 ac_status=$?
21624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21626 { (case "(($ac_try" in
21627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21628 *) ac_try_echo=$ac_try;;
21629 esac
21630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21631 (eval "$ac_try") 2>&5
21632 ac_status=$?
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); }; }; then
21635 ac_cv_sizeof_size_t=`cat conftest.val`
21636 else
21637 echo "$as_me: program exited with status $ac_status" >&5
21638 echo "$as_me: failed program was:" >&5
21639 sed 's/^/| /' conftest.$ac_ext >&5
21640
21641 ( exit $ac_status )
21642 if test "$ac_cv_type_size_t" = yes; then
21643 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21644 See \`config.log' for more details." >&5
21645 echo "$as_me: error: cannot compute sizeof (size_t)
21646 See \`config.log' for more details." >&2;}
21647 { (exit 77); exit 77; }; }
21648 else
21649 ac_cv_sizeof_size_t=0
21650 fi
21651 fi
21652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21653 fi
21654 rm -f conftest.val
21655 fi
21656 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21657 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21658
21659
21660
21661 cat >>confdefs.h <<_ACEOF
21662 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21663 _ACEOF
21664
21665
21666
21667 case "${host}" in
21668 arm-*-linux* )
21669 { echo "$as_me:$LINENO: checking for long long" >&5
21670 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21671 if test "${ac_cv_type_long_long+set}" = set; then
21672 echo $ECHO_N "(cached) $ECHO_C" >&6
21673 else
21674 cat >conftest.$ac_ext <<_ACEOF
21675 /* confdefs.h. */
21676 _ACEOF
21677 cat confdefs.h >>conftest.$ac_ext
21678 cat >>conftest.$ac_ext <<_ACEOF
21679 /* end confdefs.h. */
21680 $ac_includes_default
21681 typedef long long ac__type_new_;
21682 int
21683 main ()
21684 {
21685 if ((ac__type_new_ *) 0)
21686 return 0;
21687 if (sizeof (ac__type_new_))
21688 return 0;
21689 ;
21690 return 0;
21691 }
21692 _ACEOF
21693 rm -f conftest.$ac_objext
21694 if { (ac_try="$ac_compile"
21695 case "(($ac_try" in
21696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21697 *) ac_try_echo=$ac_try;;
21698 esac
21699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21700 (eval "$ac_compile") 2>conftest.er1
21701 ac_status=$?
21702 grep -v '^ *+' conftest.er1 >conftest.err
21703 rm -f conftest.er1
21704 cat conftest.err >&5
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); } && {
21707 test -z "$ac_c_werror_flag" ||
21708 test ! -s conftest.err
21709 } && test -s conftest.$ac_objext; then
21710 ac_cv_type_long_long=yes
21711 else
21712 echo "$as_me: failed program was:" >&5
21713 sed 's/^/| /' conftest.$ac_ext >&5
21714
21715 ac_cv_type_long_long=no
21716 fi
21717
21718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21719 fi
21720 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21721 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21722
21723 # The cast to long int works around a bug in the HP C Compiler
21724 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21725 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21726 # This bug is HP SR number 8606223364.
21727 { echo "$as_me:$LINENO: checking size of long long" >&5
21728 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21729 if test "${ac_cv_sizeof_long_long+set}" = set; then
21730 echo $ECHO_N "(cached) $ECHO_C" >&6
21731 else
21732 if test "$cross_compiling" = yes; then
21733 # Depending upon the size, compute the lo and hi bounds.
21734 cat >conftest.$ac_ext <<_ACEOF
21735 /* confdefs.h. */
21736 _ACEOF
21737 cat confdefs.h >>conftest.$ac_ext
21738 cat >>conftest.$ac_ext <<_ACEOF
21739 /* end confdefs.h. */
21740 $ac_includes_default
21741 typedef long long ac__type_sizeof_;
21742 int
21743 main ()
21744 {
21745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21746 test_array [0] = 0
21747
21748 ;
21749 return 0;
21750 }
21751 _ACEOF
21752 rm -f conftest.$ac_objext
21753 if { (ac_try="$ac_compile"
21754 case "(($ac_try" in
21755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21756 *) ac_try_echo=$ac_try;;
21757 esac
21758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21759 (eval "$ac_compile") 2>conftest.er1
21760 ac_status=$?
21761 grep -v '^ *+' conftest.er1 >conftest.err
21762 rm -f conftest.er1
21763 cat conftest.err >&5
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); } && {
21766 test -z "$ac_c_werror_flag" ||
21767 test ! -s conftest.err
21768 } && test -s conftest.$ac_objext; then
21769 ac_lo=0 ac_mid=0
21770 while :; do
21771 cat >conftest.$ac_ext <<_ACEOF
21772 /* confdefs.h. */
21773 _ACEOF
21774 cat confdefs.h >>conftest.$ac_ext
21775 cat >>conftest.$ac_ext <<_ACEOF
21776 /* end confdefs.h. */
21777 $ac_includes_default
21778 typedef long long ac__type_sizeof_;
21779 int
21780 main ()
21781 {
21782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21783 test_array [0] = 0
21784
21785 ;
21786 return 0;
21787 }
21788 _ACEOF
21789 rm -f conftest.$ac_objext
21790 if { (ac_try="$ac_compile"
21791 case "(($ac_try" in
21792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21793 *) ac_try_echo=$ac_try;;
21794 esac
21795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21796 (eval "$ac_compile") 2>conftest.er1
21797 ac_status=$?
21798 grep -v '^ *+' conftest.er1 >conftest.err
21799 rm -f conftest.er1
21800 cat conftest.err >&5
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); } && {
21803 test -z "$ac_c_werror_flag" ||
21804 test ! -s conftest.err
21805 } && test -s conftest.$ac_objext; then
21806 ac_hi=$ac_mid; break
21807 else
21808 echo "$as_me: failed program was:" >&5
21809 sed 's/^/| /' conftest.$ac_ext >&5
21810
21811 ac_lo=`expr $ac_mid + 1`
21812 if test $ac_lo -le $ac_mid; then
21813 ac_lo= ac_hi=
21814 break
21815 fi
21816 ac_mid=`expr 2 '*' $ac_mid + 1`
21817 fi
21818
21819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21820 done
21821 else
21822 echo "$as_me: failed program was:" >&5
21823 sed 's/^/| /' conftest.$ac_ext >&5
21824
21825 cat >conftest.$ac_ext <<_ACEOF
21826 /* confdefs.h. */
21827 _ACEOF
21828 cat confdefs.h >>conftest.$ac_ext
21829 cat >>conftest.$ac_ext <<_ACEOF
21830 /* end confdefs.h. */
21831 $ac_includes_default
21832 typedef long long ac__type_sizeof_;
21833 int
21834 main ()
21835 {
21836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21837 test_array [0] = 0
21838
21839 ;
21840 return 0;
21841 }
21842 _ACEOF
21843 rm -f conftest.$ac_objext
21844 if { (ac_try="$ac_compile"
21845 case "(($ac_try" in
21846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21847 *) ac_try_echo=$ac_try;;
21848 esac
21849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21850 (eval "$ac_compile") 2>conftest.er1
21851 ac_status=$?
21852 grep -v '^ *+' conftest.er1 >conftest.err
21853 rm -f conftest.er1
21854 cat conftest.err >&5
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); } && {
21857 test -z "$ac_c_werror_flag" ||
21858 test ! -s conftest.err
21859 } && test -s conftest.$ac_objext; then
21860 ac_hi=-1 ac_mid=-1
21861 while :; do
21862 cat >conftest.$ac_ext <<_ACEOF
21863 /* confdefs.h. */
21864 _ACEOF
21865 cat confdefs.h >>conftest.$ac_ext
21866 cat >>conftest.$ac_ext <<_ACEOF
21867 /* end confdefs.h. */
21868 $ac_includes_default
21869 typedef long long ac__type_sizeof_;
21870 int
21871 main ()
21872 {
21873 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21874 test_array [0] = 0
21875
21876 ;
21877 return 0;
21878 }
21879 _ACEOF
21880 rm -f conftest.$ac_objext
21881 if { (ac_try="$ac_compile"
21882 case "(($ac_try" in
21883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21884 *) ac_try_echo=$ac_try;;
21885 esac
21886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21887 (eval "$ac_compile") 2>conftest.er1
21888 ac_status=$?
21889 grep -v '^ *+' conftest.er1 >conftest.err
21890 rm -f conftest.er1
21891 cat conftest.err >&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); } && {
21894 test -z "$ac_c_werror_flag" ||
21895 test ! -s conftest.err
21896 } && test -s conftest.$ac_objext; then
21897 ac_lo=$ac_mid; break
21898 else
21899 echo "$as_me: failed program was:" >&5
21900 sed 's/^/| /' conftest.$ac_ext >&5
21901
21902 ac_hi=`expr '(' $ac_mid ')' - 1`
21903 if test $ac_mid -le $ac_hi; then
21904 ac_lo= ac_hi=
21905 break
21906 fi
21907 ac_mid=`expr 2 '*' $ac_mid`
21908 fi
21909
21910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21911 done
21912 else
21913 echo "$as_me: failed program was:" >&5
21914 sed 's/^/| /' conftest.$ac_ext >&5
21915
21916 ac_lo= ac_hi=
21917 fi
21918
21919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21920 fi
21921
21922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21923 # Binary search between lo and hi bounds.
21924 while test "x$ac_lo" != "x$ac_hi"; do
21925 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21926 cat >conftest.$ac_ext <<_ACEOF
21927 /* confdefs.h. */
21928 _ACEOF
21929 cat confdefs.h >>conftest.$ac_ext
21930 cat >>conftest.$ac_ext <<_ACEOF
21931 /* end confdefs.h. */
21932 $ac_includes_default
21933 typedef long long ac__type_sizeof_;
21934 int
21935 main ()
21936 {
21937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21938 test_array [0] = 0
21939
21940 ;
21941 return 0;
21942 }
21943 _ACEOF
21944 rm -f conftest.$ac_objext
21945 if { (ac_try="$ac_compile"
21946 case "(($ac_try" in
21947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21948 *) ac_try_echo=$ac_try;;
21949 esac
21950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21951 (eval "$ac_compile") 2>conftest.er1
21952 ac_status=$?
21953 grep -v '^ *+' conftest.er1 >conftest.err
21954 rm -f conftest.er1
21955 cat conftest.err >&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } && {
21958 test -z "$ac_c_werror_flag" ||
21959 test ! -s conftest.err
21960 } && test -s conftest.$ac_objext; then
21961 ac_hi=$ac_mid
21962 else
21963 echo "$as_me: failed program was:" >&5
21964 sed 's/^/| /' conftest.$ac_ext >&5
21965
21966 ac_lo=`expr '(' $ac_mid ')' + 1`
21967 fi
21968
21969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21970 done
21971 case $ac_lo in
21972 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21973 '') if test "$ac_cv_type_long_long" = yes; then
21974 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21975 See \`config.log' for more details." >&5
21976 echo "$as_me: error: cannot compute sizeof (long long)
21977 See \`config.log' for more details." >&2;}
21978 { (exit 77); exit 77; }; }
21979 else
21980 ac_cv_sizeof_long_long=0
21981 fi ;;
21982 esac
21983 else
21984 cat >conftest.$ac_ext <<_ACEOF
21985 /* confdefs.h. */
21986 _ACEOF
21987 cat confdefs.h >>conftest.$ac_ext
21988 cat >>conftest.$ac_ext <<_ACEOF
21989 /* end confdefs.h. */
21990 $ac_includes_default
21991 typedef long long ac__type_sizeof_;
21992 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21993 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21994 #include <stdio.h>
21995 #include <stdlib.h>
21996 int
21997 main ()
21998 {
21999
22000 FILE *f = fopen ("conftest.val", "w");
22001 if (! f)
22002 return 1;
22003 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22004 {
22005 long int i = longval ();
22006 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22007 return 1;
22008 fprintf (f, "%ld\n", i);
22009 }
22010 else
22011 {
22012 unsigned long int i = ulongval ();
22013 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22014 return 1;
22015 fprintf (f, "%lu\n", i);
22016 }
22017 return ferror (f) || fclose (f) != 0;
22018
22019 ;
22020 return 0;
22021 }
22022 _ACEOF
22023 rm -f conftest$ac_exeext
22024 if { (ac_try="$ac_link"
22025 case "(($ac_try" in
22026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22027 *) ac_try_echo=$ac_try;;
22028 esac
22029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22030 (eval "$ac_link") 2>&5
22031 ac_status=$?
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22034 { (case "(($ac_try" in
22035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22036 *) ac_try_echo=$ac_try;;
22037 esac
22038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22039 (eval "$ac_try") 2>&5
22040 ac_status=$?
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); }; }; then
22043 ac_cv_sizeof_long_long=`cat conftest.val`
22044 else
22045 echo "$as_me: program exited with status $ac_status" >&5
22046 echo "$as_me: failed program was:" >&5
22047 sed 's/^/| /' conftest.$ac_ext >&5
22048
22049 ( exit $ac_status )
22050 if test "$ac_cv_type_long_long" = yes; then
22051 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22052 See \`config.log' for more details." >&5
22053 echo "$as_me: error: cannot compute sizeof (long long)
22054 See \`config.log' for more details." >&2;}
22055 { (exit 77); exit 77; }; }
22056 else
22057 ac_cv_sizeof_long_long=0
22058 fi
22059 fi
22060 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22061 fi
22062 rm -f conftest.val
22063 fi
22064 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22065 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22066
22067
22068
22069 cat >>confdefs.h <<_ACEOF
22070 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22071 _ACEOF
22072
22073
22074 ;;
22075 *-hp-hpux* )
22076 { echo "$as_me:$LINENO: checking for long long" >&5
22077 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22078 if test "${ac_cv_type_long_long+set}" = set; then
22079 echo $ECHO_N "(cached) $ECHO_C" >&6
22080 else
22081 cat >conftest.$ac_ext <<_ACEOF
22082 /* confdefs.h. */
22083 _ACEOF
22084 cat confdefs.h >>conftest.$ac_ext
22085 cat >>conftest.$ac_ext <<_ACEOF
22086 /* end confdefs.h. */
22087 $ac_includes_default
22088 typedef long long ac__type_new_;
22089 int
22090 main ()
22091 {
22092 if ((ac__type_new_ *) 0)
22093 return 0;
22094 if (sizeof (ac__type_new_))
22095 return 0;
22096 ;
22097 return 0;
22098 }
22099 _ACEOF
22100 rm -f conftest.$ac_objext
22101 if { (ac_try="$ac_compile"
22102 case "(($ac_try" in
22103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22104 *) ac_try_echo=$ac_try;;
22105 esac
22106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22107 (eval "$ac_compile") 2>conftest.er1
22108 ac_status=$?
22109 grep -v '^ *+' conftest.er1 >conftest.err
22110 rm -f conftest.er1
22111 cat conftest.err >&5
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); } && {
22114 test -z "$ac_c_werror_flag" ||
22115 test ! -s conftest.err
22116 } && test -s conftest.$ac_objext; then
22117 ac_cv_type_long_long=yes
22118 else
22119 echo "$as_me: failed program was:" >&5
22120 sed 's/^/| /' conftest.$ac_ext >&5
22121
22122 ac_cv_type_long_long=no
22123 fi
22124
22125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22126 fi
22127 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22128 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22129
22130 # The cast to long int works around a bug in the HP C Compiler
22131 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22132 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22133 # This bug is HP SR number 8606223364.
22134 { echo "$as_me:$LINENO: checking size of long long" >&5
22135 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22136 if test "${ac_cv_sizeof_long_long+set}" = set; then
22137 echo $ECHO_N "(cached) $ECHO_C" >&6
22138 else
22139 if test "$cross_compiling" = yes; then
22140 # Depending upon the size, compute the lo and hi bounds.
22141 cat >conftest.$ac_ext <<_ACEOF
22142 /* confdefs.h. */
22143 _ACEOF
22144 cat confdefs.h >>conftest.$ac_ext
22145 cat >>conftest.$ac_ext <<_ACEOF
22146 /* end confdefs.h. */
22147 $ac_includes_default
22148 typedef long long ac__type_sizeof_;
22149 int
22150 main ()
22151 {
22152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22153 test_array [0] = 0
22154
22155 ;
22156 return 0;
22157 }
22158 _ACEOF
22159 rm -f conftest.$ac_objext
22160 if { (ac_try="$ac_compile"
22161 case "(($ac_try" in
22162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22163 *) ac_try_echo=$ac_try;;
22164 esac
22165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22166 (eval "$ac_compile") 2>conftest.er1
22167 ac_status=$?
22168 grep -v '^ *+' conftest.er1 >conftest.err
22169 rm -f conftest.er1
22170 cat conftest.err >&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } && {
22173 test -z "$ac_c_werror_flag" ||
22174 test ! -s conftest.err
22175 } && test -s conftest.$ac_objext; then
22176 ac_lo=0 ac_mid=0
22177 while :; do
22178 cat >conftest.$ac_ext <<_ACEOF
22179 /* confdefs.h. */
22180 _ACEOF
22181 cat confdefs.h >>conftest.$ac_ext
22182 cat >>conftest.$ac_ext <<_ACEOF
22183 /* end confdefs.h. */
22184 $ac_includes_default
22185 typedef long long ac__type_sizeof_;
22186 int
22187 main ()
22188 {
22189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22190 test_array [0] = 0
22191
22192 ;
22193 return 0;
22194 }
22195 _ACEOF
22196 rm -f conftest.$ac_objext
22197 if { (ac_try="$ac_compile"
22198 case "(($ac_try" in
22199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22200 *) ac_try_echo=$ac_try;;
22201 esac
22202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22203 (eval "$ac_compile") 2>conftest.er1
22204 ac_status=$?
22205 grep -v '^ *+' conftest.er1 >conftest.err
22206 rm -f conftest.er1
22207 cat conftest.err >&5
22208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209 (exit $ac_status); } && {
22210 test -z "$ac_c_werror_flag" ||
22211 test ! -s conftest.err
22212 } && test -s conftest.$ac_objext; then
22213 ac_hi=$ac_mid; break
22214 else
22215 echo "$as_me: failed program was:" >&5
22216 sed 's/^/| /' conftest.$ac_ext >&5
22217
22218 ac_lo=`expr $ac_mid + 1`
22219 if test $ac_lo -le $ac_mid; then
22220 ac_lo= ac_hi=
22221 break
22222 fi
22223 ac_mid=`expr 2 '*' $ac_mid + 1`
22224 fi
22225
22226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22227 done
22228 else
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22231
22232 cat >conftest.$ac_ext <<_ACEOF
22233 /* confdefs.h. */
22234 _ACEOF
22235 cat confdefs.h >>conftest.$ac_ext
22236 cat >>conftest.$ac_ext <<_ACEOF
22237 /* end confdefs.h. */
22238 $ac_includes_default
22239 typedef long long ac__type_sizeof_;
22240 int
22241 main ()
22242 {
22243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22244 test_array [0] = 0
22245
22246 ;
22247 return 0;
22248 }
22249 _ACEOF
22250 rm -f conftest.$ac_objext
22251 if { (ac_try="$ac_compile"
22252 case "(($ac_try" in
22253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22254 *) ac_try_echo=$ac_try;;
22255 esac
22256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22257 (eval "$ac_compile") 2>conftest.er1
22258 ac_status=$?
22259 grep -v '^ *+' conftest.er1 >conftest.err
22260 rm -f conftest.er1
22261 cat conftest.err >&5
22262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263 (exit $ac_status); } && {
22264 test -z "$ac_c_werror_flag" ||
22265 test ! -s conftest.err
22266 } && test -s conftest.$ac_objext; then
22267 ac_hi=-1 ac_mid=-1
22268 while :; do
22269 cat >conftest.$ac_ext <<_ACEOF
22270 /* confdefs.h. */
22271 _ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 $ac_includes_default
22276 typedef long long ac__type_sizeof_;
22277 int
22278 main ()
22279 {
22280 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22281 test_array [0] = 0
22282
22283 ;
22284 return 0;
22285 }
22286 _ACEOF
22287 rm -f conftest.$ac_objext
22288 if { (ac_try="$ac_compile"
22289 case "(($ac_try" in
22290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22291 *) ac_try_echo=$ac_try;;
22292 esac
22293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22294 (eval "$ac_compile") 2>conftest.er1
22295 ac_status=$?
22296 grep -v '^ *+' conftest.er1 >conftest.err
22297 rm -f conftest.er1
22298 cat conftest.err >&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); } && {
22301 test -z "$ac_c_werror_flag" ||
22302 test ! -s conftest.err
22303 } && test -s conftest.$ac_objext; then
22304 ac_lo=$ac_mid; break
22305 else
22306 echo "$as_me: failed program was:" >&5
22307 sed 's/^/| /' conftest.$ac_ext >&5
22308
22309 ac_hi=`expr '(' $ac_mid ')' - 1`
22310 if test $ac_mid -le $ac_hi; then
22311 ac_lo= ac_hi=
22312 break
22313 fi
22314 ac_mid=`expr 2 '*' $ac_mid`
22315 fi
22316
22317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22318 done
22319 else
22320 echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.$ac_ext >&5
22322
22323 ac_lo= ac_hi=
22324 fi
22325
22326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22327 fi
22328
22329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22330 # Binary search between lo and hi bounds.
22331 while test "x$ac_lo" != "x$ac_hi"; do
22332 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22333 cat >conftest.$ac_ext <<_ACEOF
22334 /* confdefs.h. */
22335 _ACEOF
22336 cat confdefs.h >>conftest.$ac_ext
22337 cat >>conftest.$ac_ext <<_ACEOF
22338 /* end confdefs.h. */
22339 $ac_includes_default
22340 typedef long long ac__type_sizeof_;
22341 int
22342 main ()
22343 {
22344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22345 test_array [0] = 0
22346
22347 ;
22348 return 0;
22349 }
22350 _ACEOF
22351 rm -f conftest.$ac_objext
22352 if { (ac_try="$ac_compile"
22353 case "(($ac_try" in
22354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22355 *) ac_try_echo=$ac_try;;
22356 esac
22357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22358 (eval "$ac_compile") 2>conftest.er1
22359 ac_status=$?
22360 grep -v '^ *+' conftest.er1 >conftest.err
22361 rm -f conftest.er1
22362 cat conftest.err >&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); } && {
22365 test -z "$ac_c_werror_flag" ||
22366 test ! -s conftest.err
22367 } && test -s conftest.$ac_objext; then
22368 ac_hi=$ac_mid
22369 else
22370 echo "$as_me: failed program was:" >&5
22371 sed 's/^/| /' conftest.$ac_ext >&5
22372
22373 ac_lo=`expr '(' $ac_mid ')' + 1`
22374 fi
22375
22376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22377 done
22378 case $ac_lo in
22379 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22380 '') if test "$ac_cv_type_long_long" = yes; then
22381 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22382 See \`config.log' for more details." >&5
22383 echo "$as_me: error: cannot compute sizeof (long long)
22384 See \`config.log' for more details." >&2;}
22385 { (exit 77); exit 77; }; }
22386 else
22387 ac_cv_sizeof_long_long=0
22388 fi ;;
22389 esac
22390 else
22391 cat >conftest.$ac_ext <<_ACEOF
22392 /* confdefs.h. */
22393 _ACEOF
22394 cat confdefs.h >>conftest.$ac_ext
22395 cat >>conftest.$ac_ext <<_ACEOF
22396 /* end confdefs.h. */
22397 $ac_includes_default
22398 typedef long long ac__type_sizeof_;
22399 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22400 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22401 #include <stdio.h>
22402 #include <stdlib.h>
22403 int
22404 main ()
22405 {
22406
22407 FILE *f = fopen ("conftest.val", "w");
22408 if (! f)
22409 return 1;
22410 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22411 {
22412 long int i = longval ();
22413 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22414 return 1;
22415 fprintf (f, "%ld\n", i);
22416 }
22417 else
22418 {
22419 unsigned long int i = ulongval ();
22420 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22421 return 1;
22422 fprintf (f, "%lu\n", i);
22423 }
22424 return ferror (f) || fclose (f) != 0;
22425
22426 ;
22427 return 0;
22428 }
22429 _ACEOF
22430 rm -f conftest$ac_exeext
22431 if { (ac_try="$ac_link"
22432 case "(($ac_try" in
22433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22434 *) ac_try_echo=$ac_try;;
22435 esac
22436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22437 (eval "$ac_link") 2>&5
22438 ac_status=$?
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22441 { (case "(($ac_try" in
22442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22443 *) ac_try_echo=$ac_try;;
22444 esac
22445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22446 (eval "$ac_try") 2>&5
22447 ac_status=$?
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); }; }; then
22450 ac_cv_sizeof_long_long=`cat conftest.val`
22451 else
22452 echo "$as_me: program exited with status $ac_status" >&5
22453 echo "$as_me: failed program was:" >&5
22454 sed 's/^/| /' conftest.$ac_ext >&5
22455
22456 ( exit $ac_status )
22457 if test "$ac_cv_type_long_long" = yes; then
22458 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22459 See \`config.log' for more details." >&5
22460 echo "$as_me: error: cannot compute sizeof (long long)
22461 See \`config.log' for more details." >&2;}
22462 { (exit 77); exit 77; }; }
22463 else
22464 ac_cv_sizeof_long_long=0
22465 fi
22466 fi
22467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22468 fi
22469 rm -f conftest.val
22470 fi
22471 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22472 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22473
22474
22475
22476 cat >>confdefs.h <<_ACEOF
22477 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22478 _ACEOF
22479
22480
22481 if test "$ac_cv_sizeof_long_long" != 0; then
22482 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22483 fi
22484 ;;
22485 * )
22486 { echo "$as_me:$LINENO: checking for long long" >&5
22487 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22488 if test "${ac_cv_type_long_long+set}" = set; then
22489 echo $ECHO_N "(cached) $ECHO_C" >&6
22490 else
22491 cat >conftest.$ac_ext <<_ACEOF
22492 /* confdefs.h. */
22493 _ACEOF
22494 cat confdefs.h >>conftest.$ac_ext
22495 cat >>conftest.$ac_ext <<_ACEOF
22496 /* end confdefs.h. */
22497 $ac_includes_default
22498 typedef long long ac__type_new_;
22499 int
22500 main ()
22501 {
22502 if ((ac__type_new_ *) 0)
22503 return 0;
22504 if (sizeof (ac__type_new_))
22505 return 0;
22506 ;
22507 return 0;
22508 }
22509 _ACEOF
22510 rm -f conftest.$ac_objext
22511 if { (ac_try="$ac_compile"
22512 case "(($ac_try" in
22513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22514 *) ac_try_echo=$ac_try;;
22515 esac
22516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22517 (eval "$ac_compile") 2>conftest.er1
22518 ac_status=$?
22519 grep -v '^ *+' conftest.er1 >conftest.err
22520 rm -f conftest.er1
22521 cat conftest.err >&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } && {
22524 test -z "$ac_c_werror_flag" ||
22525 test ! -s conftest.err
22526 } && test -s conftest.$ac_objext; then
22527 ac_cv_type_long_long=yes
22528 else
22529 echo "$as_me: failed program was:" >&5
22530 sed 's/^/| /' conftest.$ac_ext >&5
22531
22532 ac_cv_type_long_long=no
22533 fi
22534
22535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22536 fi
22537 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22538 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22539
22540 # The cast to long int works around a bug in the HP C Compiler
22541 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22542 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22543 # This bug is HP SR number 8606223364.
22544 { echo "$as_me:$LINENO: checking size of long long" >&5
22545 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22546 if test "${ac_cv_sizeof_long_long+set}" = set; then
22547 echo $ECHO_N "(cached) $ECHO_C" >&6
22548 else
22549 if test "$cross_compiling" = yes; then
22550 # Depending upon the size, compute the lo and hi bounds.
22551 cat >conftest.$ac_ext <<_ACEOF
22552 /* confdefs.h. */
22553 _ACEOF
22554 cat confdefs.h >>conftest.$ac_ext
22555 cat >>conftest.$ac_ext <<_ACEOF
22556 /* end confdefs.h. */
22557 $ac_includes_default
22558 typedef long long ac__type_sizeof_;
22559 int
22560 main ()
22561 {
22562 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22563 test_array [0] = 0
22564
22565 ;
22566 return 0;
22567 }
22568 _ACEOF
22569 rm -f conftest.$ac_objext
22570 if { (ac_try="$ac_compile"
22571 case "(($ac_try" in
22572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22573 *) ac_try_echo=$ac_try;;
22574 esac
22575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22576 (eval "$ac_compile") 2>conftest.er1
22577 ac_status=$?
22578 grep -v '^ *+' conftest.er1 >conftest.err
22579 rm -f conftest.er1
22580 cat conftest.err >&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); } && {
22583 test -z "$ac_c_werror_flag" ||
22584 test ! -s conftest.err
22585 } && test -s conftest.$ac_objext; then
22586 ac_lo=0 ac_mid=0
22587 while :; do
22588 cat >conftest.$ac_ext <<_ACEOF
22589 /* confdefs.h. */
22590 _ACEOF
22591 cat confdefs.h >>conftest.$ac_ext
22592 cat >>conftest.$ac_ext <<_ACEOF
22593 /* end confdefs.h. */
22594 $ac_includes_default
22595 typedef long long ac__type_sizeof_;
22596 int
22597 main ()
22598 {
22599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22600 test_array [0] = 0
22601
22602 ;
22603 return 0;
22604 }
22605 _ACEOF
22606 rm -f conftest.$ac_objext
22607 if { (ac_try="$ac_compile"
22608 case "(($ac_try" in
22609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22610 *) ac_try_echo=$ac_try;;
22611 esac
22612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22613 (eval "$ac_compile") 2>conftest.er1
22614 ac_status=$?
22615 grep -v '^ *+' conftest.er1 >conftest.err
22616 rm -f conftest.er1
22617 cat conftest.err >&5
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); } && {
22620 test -z "$ac_c_werror_flag" ||
22621 test ! -s conftest.err
22622 } && test -s conftest.$ac_objext; then
22623 ac_hi=$ac_mid; break
22624 else
22625 echo "$as_me: failed program was:" >&5
22626 sed 's/^/| /' conftest.$ac_ext >&5
22627
22628 ac_lo=`expr $ac_mid + 1`
22629 if test $ac_lo -le $ac_mid; then
22630 ac_lo= ac_hi=
22631 break
22632 fi
22633 ac_mid=`expr 2 '*' $ac_mid + 1`
22634 fi
22635
22636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22637 done
22638 else
22639 echo "$as_me: failed program was:" >&5
22640 sed 's/^/| /' conftest.$ac_ext >&5
22641
22642 cat >conftest.$ac_ext <<_ACEOF
22643 /* confdefs.h. */
22644 _ACEOF
22645 cat confdefs.h >>conftest.$ac_ext
22646 cat >>conftest.$ac_ext <<_ACEOF
22647 /* end confdefs.h. */
22648 $ac_includes_default
22649 typedef long long ac__type_sizeof_;
22650 int
22651 main ()
22652 {
22653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22654 test_array [0] = 0
22655
22656 ;
22657 return 0;
22658 }
22659 _ACEOF
22660 rm -f conftest.$ac_objext
22661 if { (ac_try="$ac_compile"
22662 case "(($ac_try" in
22663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22664 *) ac_try_echo=$ac_try;;
22665 esac
22666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22667 (eval "$ac_compile") 2>conftest.er1
22668 ac_status=$?
22669 grep -v '^ *+' conftest.er1 >conftest.err
22670 rm -f conftest.er1
22671 cat conftest.err >&5
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); } && {
22674 test -z "$ac_c_werror_flag" ||
22675 test ! -s conftest.err
22676 } && test -s conftest.$ac_objext; then
22677 ac_hi=-1 ac_mid=-1
22678 while :; do
22679 cat >conftest.$ac_ext <<_ACEOF
22680 /* confdefs.h. */
22681 _ACEOF
22682 cat confdefs.h >>conftest.$ac_ext
22683 cat >>conftest.$ac_ext <<_ACEOF
22684 /* end confdefs.h. */
22685 $ac_includes_default
22686 typedef long long ac__type_sizeof_;
22687 int
22688 main ()
22689 {
22690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22691 test_array [0] = 0
22692
22693 ;
22694 return 0;
22695 }
22696 _ACEOF
22697 rm -f conftest.$ac_objext
22698 if { (ac_try="$ac_compile"
22699 case "(($ac_try" in
22700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22701 *) ac_try_echo=$ac_try;;
22702 esac
22703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22704 (eval "$ac_compile") 2>conftest.er1
22705 ac_status=$?
22706 grep -v '^ *+' conftest.er1 >conftest.err
22707 rm -f conftest.er1
22708 cat conftest.err >&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); } && {
22711 test -z "$ac_c_werror_flag" ||
22712 test ! -s conftest.err
22713 } && test -s conftest.$ac_objext; then
22714 ac_lo=$ac_mid; break
22715 else
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.$ac_ext >&5
22718
22719 ac_hi=`expr '(' $ac_mid ')' - 1`
22720 if test $ac_mid -le $ac_hi; then
22721 ac_lo= ac_hi=
22722 break
22723 fi
22724 ac_mid=`expr 2 '*' $ac_mid`
22725 fi
22726
22727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22728 done
22729 else
22730 echo "$as_me: failed program was:" >&5
22731 sed 's/^/| /' conftest.$ac_ext >&5
22732
22733 ac_lo= ac_hi=
22734 fi
22735
22736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22737 fi
22738
22739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22740 # Binary search between lo and hi bounds.
22741 while test "x$ac_lo" != "x$ac_hi"; do
22742 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22743 cat >conftest.$ac_ext <<_ACEOF
22744 /* confdefs.h. */
22745 _ACEOF
22746 cat confdefs.h >>conftest.$ac_ext
22747 cat >>conftest.$ac_ext <<_ACEOF
22748 /* end confdefs.h. */
22749 $ac_includes_default
22750 typedef long long ac__type_sizeof_;
22751 int
22752 main ()
22753 {
22754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22755 test_array [0] = 0
22756
22757 ;
22758 return 0;
22759 }
22760 _ACEOF
22761 rm -f conftest.$ac_objext
22762 if { (ac_try="$ac_compile"
22763 case "(($ac_try" in
22764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22765 *) ac_try_echo=$ac_try;;
22766 esac
22767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22768 (eval "$ac_compile") 2>conftest.er1
22769 ac_status=$?
22770 grep -v '^ *+' conftest.er1 >conftest.err
22771 rm -f conftest.er1
22772 cat conftest.err >&5
22773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774 (exit $ac_status); } && {
22775 test -z "$ac_c_werror_flag" ||
22776 test ! -s conftest.err
22777 } && test -s conftest.$ac_objext; then
22778 ac_hi=$ac_mid
22779 else
22780 echo "$as_me: failed program was:" >&5
22781 sed 's/^/| /' conftest.$ac_ext >&5
22782
22783 ac_lo=`expr '(' $ac_mid ')' + 1`
22784 fi
22785
22786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22787 done
22788 case $ac_lo in
22789 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22790 '') if test "$ac_cv_type_long_long" = yes; then
22791 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22792 See \`config.log' for more details." >&5
22793 echo "$as_me: error: cannot compute sizeof (long long)
22794 See \`config.log' for more details." >&2;}
22795 { (exit 77); exit 77; }; }
22796 else
22797 ac_cv_sizeof_long_long=0
22798 fi ;;
22799 esac
22800 else
22801 cat >conftest.$ac_ext <<_ACEOF
22802 /* confdefs.h. */
22803 _ACEOF
22804 cat confdefs.h >>conftest.$ac_ext
22805 cat >>conftest.$ac_ext <<_ACEOF
22806 /* end confdefs.h. */
22807 $ac_includes_default
22808 typedef long long ac__type_sizeof_;
22809 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22810 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22811 #include <stdio.h>
22812 #include <stdlib.h>
22813 int
22814 main ()
22815 {
22816
22817 FILE *f = fopen ("conftest.val", "w");
22818 if (! f)
22819 return 1;
22820 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22821 {
22822 long int i = longval ();
22823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22824 return 1;
22825 fprintf (f, "%ld\n", i);
22826 }
22827 else
22828 {
22829 unsigned long int i = ulongval ();
22830 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22831 return 1;
22832 fprintf (f, "%lu\n", i);
22833 }
22834 return ferror (f) || fclose (f) != 0;
22835
22836 ;
22837 return 0;
22838 }
22839 _ACEOF
22840 rm -f conftest$ac_exeext
22841 if { (ac_try="$ac_link"
22842 case "(($ac_try" in
22843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22844 *) ac_try_echo=$ac_try;;
22845 esac
22846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22847 (eval "$ac_link") 2>&5
22848 ac_status=$?
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22851 { (case "(($ac_try" in
22852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22853 *) ac_try_echo=$ac_try;;
22854 esac
22855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22856 (eval "$ac_try") 2>&5
22857 ac_status=$?
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); }; }; then
22860 ac_cv_sizeof_long_long=`cat conftest.val`
22861 else
22862 echo "$as_me: program exited with status $ac_status" >&5
22863 echo "$as_me: failed program was:" >&5
22864 sed 's/^/| /' conftest.$ac_ext >&5
22865
22866 ( exit $ac_status )
22867 if test "$ac_cv_type_long_long" = yes; then
22868 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22869 See \`config.log' for more details." >&5
22870 echo "$as_me: error: cannot compute sizeof (long long)
22871 See \`config.log' for more details." >&2;}
22872 { (exit 77); exit 77; }; }
22873 else
22874 ac_cv_sizeof_long_long=0
22875 fi
22876 fi
22877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22878 fi
22879 rm -f conftest.val
22880 fi
22881 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22882 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22883
22884
22885
22886 cat >>confdefs.h <<_ACEOF
22887 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22888 _ACEOF
22889
22890
22891 esac
22892
22893 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22894 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22895 if test "${ac_cv_type_wchar_t+set}" = set; then
22896 echo $ECHO_N "(cached) $ECHO_C" >&6
22897 else
22898 cat >conftest.$ac_ext <<_ACEOF
22899 /* confdefs.h. */
22900 _ACEOF
22901 cat confdefs.h >>conftest.$ac_ext
22902 cat >>conftest.$ac_ext <<_ACEOF
22903 /* end confdefs.h. */
22904
22905 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22906 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22907 # error "fake wchar_t"
22908 #endif
22909 #ifdef HAVE_WCHAR_H
22910 # ifdef __CYGWIN__
22911 # include <stddef.h>
22912 # endif
22913 # include <wchar.h>
22914 #endif
22915 #ifdef HAVE_STDLIB_H
22916 # include <stdlib.h>
22917 #endif
22918 #include <stdio.h>
22919
22920
22921
22922 typedef wchar_t ac__type_new_;
22923 int
22924 main ()
22925 {
22926 if ((ac__type_new_ *) 0)
22927 return 0;
22928 if (sizeof (ac__type_new_))
22929 return 0;
22930 ;
22931 return 0;
22932 }
22933 _ACEOF
22934 rm -f conftest.$ac_objext
22935 if { (ac_try="$ac_compile"
22936 case "(($ac_try" in
22937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22938 *) ac_try_echo=$ac_try;;
22939 esac
22940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22941 (eval "$ac_compile") 2>conftest.er1
22942 ac_status=$?
22943 grep -v '^ *+' conftest.er1 >conftest.err
22944 rm -f conftest.er1
22945 cat conftest.err >&5
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); } && {
22948 test -z "$ac_c_werror_flag" ||
22949 test ! -s conftest.err
22950 } && test -s conftest.$ac_objext; then
22951 ac_cv_type_wchar_t=yes
22952 else
22953 echo "$as_me: failed program was:" >&5
22954 sed 's/^/| /' conftest.$ac_ext >&5
22955
22956 ac_cv_type_wchar_t=no
22957 fi
22958
22959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22960 fi
22961 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22962 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22963
22964 # The cast to long int works around a bug in the HP C Compiler
22965 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22966 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22967 # This bug is HP SR number 8606223364.
22968 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22969 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22970 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22971 echo $ECHO_N "(cached) $ECHO_C" >&6
22972 else
22973 if test "$cross_compiling" = yes; then
22974 # Depending upon the size, compute the lo and hi bounds.
22975 cat >conftest.$ac_ext <<_ACEOF
22976 /* confdefs.h. */
22977 _ACEOF
22978 cat confdefs.h >>conftest.$ac_ext
22979 cat >>conftest.$ac_ext <<_ACEOF
22980 /* end confdefs.h. */
22981
22982 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22983 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22984 # error "fake wchar_t"
22985 #endif
22986 #ifdef HAVE_WCHAR_H
22987 # ifdef __CYGWIN__
22988 # include <stddef.h>
22989 # endif
22990 # include <wchar.h>
22991 #endif
22992 #ifdef HAVE_STDLIB_H
22993 # include <stdlib.h>
22994 #endif
22995 #include <stdio.h>
22996
22997
22998
22999 typedef wchar_t ac__type_sizeof_;
23000 int
23001 main ()
23002 {
23003 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23004 test_array [0] = 0
23005
23006 ;
23007 return 0;
23008 }
23009 _ACEOF
23010 rm -f conftest.$ac_objext
23011 if { (ac_try="$ac_compile"
23012 case "(($ac_try" in
23013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23014 *) ac_try_echo=$ac_try;;
23015 esac
23016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23017 (eval "$ac_compile") 2>conftest.er1
23018 ac_status=$?
23019 grep -v '^ *+' conftest.er1 >conftest.err
23020 rm -f conftest.er1
23021 cat conftest.err >&5
23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023 (exit $ac_status); } && {
23024 test -z "$ac_c_werror_flag" ||
23025 test ! -s conftest.err
23026 } && test -s conftest.$ac_objext; then
23027 ac_lo=0 ac_mid=0
23028 while :; do
23029 cat >conftest.$ac_ext <<_ACEOF
23030 /* confdefs.h. */
23031 _ACEOF
23032 cat confdefs.h >>conftest.$ac_ext
23033 cat >>conftest.$ac_ext <<_ACEOF
23034 /* end confdefs.h. */
23035
23036 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23037 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23038 # error "fake wchar_t"
23039 #endif
23040 #ifdef HAVE_WCHAR_H
23041 # ifdef __CYGWIN__
23042 # include <stddef.h>
23043 # endif
23044 # include <wchar.h>
23045 #endif
23046 #ifdef HAVE_STDLIB_H
23047 # include <stdlib.h>
23048 #endif
23049 #include <stdio.h>
23050
23051
23052
23053 typedef wchar_t ac__type_sizeof_;
23054 int
23055 main ()
23056 {
23057 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23058 test_array [0] = 0
23059
23060 ;
23061 return 0;
23062 }
23063 _ACEOF
23064 rm -f conftest.$ac_objext
23065 if { (ac_try="$ac_compile"
23066 case "(($ac_try" in
23067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23068 *) ac_try_echo=$ac_try;;
23069 esac
23070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23071 (eval "$ac_compile") 2>conftest.er1
23072 ac_status=$?
23073 grep -v '^ *+' conftest.er1 >conftest.err
23074 rm -f conftest.er1
23075 cat conftest.err >&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); } && {
23078 test -z "$ac_c_werror_flag" ||
23079 test ! -s conftest.err
23080 } && test -s conftest.$ac_objext; then
23081 ac_hi=$ac_mid; break
23082 else
23083 echo "$as_me: failed program was:" >&5
23084 sed 's/^/| /' conftest.$ac_ext >&5
23085
23086 ac_lo=`expr $ac_mid + 1`
23087 if test $ac_lo -le $ac_mid; then
23088 ac_lo= ac_hi=
23089 break
23090 fi
23091 ac_mid=`expr 2 '*' $ac_mid + 1`
23092 fi
23093
23094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23095 done
23096 else
23097 echo "$as_me: failed program was:" >&5
23098 sed 's/^/| /' conftest.$ac_ext >&5
23099
23100 cat >conftest.$ac_ext <<_ACEOF
23101 /* confdefs.h. */
23102 _ACEOF
23103 cat confdefs.h >>conftest.$ac_ext
23104 cat >>conftest.$ac_ext <<_ACEOF
23105 /* end confdefs.h. */
23106
23107 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23108 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23109 # error "fake wchar_t"
23110 #endif
23111 #ifdef HAVE_WCHAR_H
23112 # ifdef __CYGWIN__
23113 # include <stddef.h>
23114 # endif
23115 # include <wchar.h>
23116 #endif
23117 #ifdef HAVE_STDLIB_H
23118 # include <stdlib.h>
23119 #endif
23120 #include <stdio.h>
23121
23122
23123
23124 typedef wchar_t ac__type_sizeof_;
23125 int
23126 main ()
23127 {
23128 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23129 test_array [0] = 0
23130
23131 ;
23132 return 0;
23133 }
23134 _ACEOF
23135 rm -f conftest.$ac_objext
23136 if { (ac_try="$ac_compile"
23137 case "(($ac_try" in
23138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23139 *) ac_try_echo=$ac_try;;
23140 esac
23141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23142 (eval "$ac_compile") 2>conftest.er1
23143 ac_status=$?
23144 grep -v '^ *+' conftest.er1 >conftest.err
23145 rm -f conftest.er1
23146 cat conftest.err >&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); } && {
23149 test -z "$ac_c_werror_flag" ||
23150 test ! -s conftest.err
23151 } && test -s conftest.$ac_objext; then
23152 ac_hi=-1 ac_mid=-1
23153 while :; do
23154 cat >conftest.$ac_ext <<_ACEOF
23155 /* confdefs.h. */
23156 _ACEOF
23157 cat confdefs.h >>conftest.$ac_ext
23158 cat >>conftest.$ac_ext <<_ACEOF
23159 /* end confdefs.h. */
23160
23161 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23162 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23163 # error "fake wchar_t"
23164 #endif
23165 #ifdef HAVE_WCHAR_H
23166 # ifdef __CYGWIN__
23167 # include <stddef.h>
23168 # endif
23169 # include <wchar.h>
23170 #endif
23171 #ifdef HAVE_STDLIB_H
23172 # include <stdlib.h>
23173 #endif
23174 #include <stdio.h>
23175
23176
23177
23178 typedef wchar_t ac__type_sizeof_;
23179 int
23180 main ()
23181 {
23182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23183 test_array [0] = 0
23184
23185 ;
23186 return 0;
23187 }
23188 _ACEOF
23189 rm -f conftest.$ac_objext
23190 if { (ac_try="$ac_compile"
23191 case "(($ac_try" in
23192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23193 *) ac_try_echo=$ac_try;;
23194 esac
23195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23196 (eval "$ac_compile") 2>conftest.er1
23197 ac_status=$?
23198 grep -v '^ *+' conftest.er1 >conftest.err
23199 rm -f conftest.er1
23200 cat conftest.err >&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); } && {
23203 test -z "$ac_c_werror_flag" ||
23204 test ! -s conftest.err
23205 } && test -s conftest.$ac_objext; then
23206 ac_lo=$ac_mid; break
23207 else
23208 echo "$as_me: failed program was:" >&5
23209 sed 's/^/| /' conftest.$ac_ext >&5
23210
23211 ac_hi=`expr '(' $ac_mid ')' - 1`
23212 if test $ac_mid -le $ac_hi; then
23213 ac_lo= ac_hi=
23214 break
23215 fi
23216 ac_mid=`expr 2 '*' $ac_mid`
23217 fi
23218
23219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23220 done
23221 else
23222 echo "$as_me: failed program was:" >&5
23223 sed 's/^/| /' conftest.$ac_ext >&5
23224
23225 ac_lo= ac_hi=
23226 fi
23227
23228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23229 fi
23230
23231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23232 # Binary search between lo and hi bounds.
23233 while test "x$ac_lo" != "x$ac_hi"; do
23234 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23235 cat >conftest.$ac_ext <<_ACEOF
23236 /* confdefs.h. */
23237 _ACEOF
23238 cat confdefs.h >>conftest.$ac_ext
23239 cat >>conftest.$ac_ext <<_ACEOF
23240 /* end confdefs.h. */
23241
23242 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23243 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23244 # error "fake wchar_t"
23245 #endif
23246 #ifdef HAVE_WCHAR_H
23247 # ifdef __CYGWIN__
23248 # include <stddef.h>
23249 # endif
23250 # include <wchar.h>
23251 #endif
23252 #ifdef HAVE_STDLIB_H
23253 # include <stdlib.h>
23254 #endif
23255 #include <stdio.h>
23256
23257
23258
23259 typedef wchar_t ac__type_sizeof_;
23260 int
23261 main ()
23262 {
23263 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23264 test_array [0] = 0
23265
23266 ;
23267 return 0;
23268 }
23269 _ACEOF
23270 rm -f conftest.$ac_objext
23271 if { (ac_try="$ac_compile"
23272 case "(($ac_try" in
23273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23274 *) ac_try_echo=$ac_try;;
23275 esac
23276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23277 (eval "$ac_compile") 2>conftest.er1
23278 ac_status=$?
23279 grep -v '^ *+' conftest.er1 >conftest.err
23280 rm -f conftest.er1
23281 cat conftest.err >&5
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); } && {
23284 test -z "$ac_c_werror_flag" ||
23285 test ! -s conftest.err
23286 } && test -s conftest.$ac_objext; then
23287 ac_hi=$ac_mid
23288 else
23289 echo "$as_me: failed program was:" >&5
23290 sed 's/^/| /' conftest.$ac_ext >&5
23291
23292 ac_lo=`expr '(' $ac_mid ')' + 1`
23293 fi
23294
23295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23296 done
23297 case $ac_lo in
23298 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23299 '') if test "$ac_cv_type_wchar_t" = yes; then
23300 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23301 See \`config.log' for more details." >&5
23302 echo "$as_me: error: cannot compute sizeof (wchar_t)
23303 See \`config.log' for more details." >&2;}
23304 { (exit 77); exit 77; }; }
23305 else
23306 ac_cv_sizeof_wchar_t=0
23307 fi ;;
23308 esac
23309 else
23310 cat >conftest.$ac_ext <<_ACEOF
23311 /* confdefs.h. */
23312 _ACEOF
23313 cat confdefs.h >>conftest.$ac_ext
23314 cat >>conftest.$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23316
23317 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23318 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23319 # error "fake wchar_t"
23320 #endif
23321 #ifdef HAVE_WCHAR_H
23322 # ifdef __CYGWIN__
23323 # include <stddef.h>
23324 # endif
23325 # include <wchar.h>
23326 #endif
23327 #ifdef HAVE_STDLIB_H
23328 # include <stdlib.h>
23329 #endif
23330 #include <stdio.h>
23331
23332
23333
23334 typedef wchar_t ac__type_sizeof_;
23335 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23336 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23337 #include <stdio.h>
23338 #include <stdlib.h>
23339 int
23340 main ()
23341 {
23342
23343 FILE *f = fopen ("conftest.val", "w");
23344 if (! f)
23345 return 1;
23346 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23347 {
23348 long int i = longval ();
23349 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23350 return 1;
23351 fprintf (f, "%ld\n", i);
23352 }
23353 else
23354 {
23355 unsigned long int i = ulongval ();
23356 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23357 return 1;
23358 fprintf (f, "%lu\n", i);
23359 }
23360 return ferror (f) || fclose (f) != 0;
23361
23362 ;
23363 return 0;
23364 }
23365 _ACEOF
23366 rm -f conftest$ac_exeext
23367 if { (ac_try="$ac_link"
23368 case "(($ac_try" in
23369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23370 *) ac_try_echo=$ac_try;;
23371 esac
23372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23373 (eval "$ac_link") 2>&5
23374 ac_status=$?
23375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23377 { (case "(($ac_try" in
23378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23379 *) ac_try_echo=$ac_try;;
23380 esac
23381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23382 (eval "$ac_try") 2>&5
23383 ac_status=$?
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); }; }; then
23386 ac_cv_sizeof_wchar_t=`cat conftest.val`
23387 else
23388 echo "$as_me: program exited with status $ac_status" >&5
23389 echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.$ac_ext >&5
23391
23392 ( exit $ac_status )
23393 if test "$ac_cv_type_wchar_t" = yes; then
23394 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23395 See \`config.log' for more details." >&5
23396 echo "$as_me: error: cannot compute sizeof (wchar_t)
23397 See \`config.log' for more details." >&2;}
23398 { (exit 77); exit 77; }; }
23399 else
23400 ac_cv_sizeof_wchar_t=0
23401 fi
23402 fi
23403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23404 fi
23405 rm -f conftest.val
23406 fi
23407 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23408 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23409
23410
23411
23412 cat >>confdefs.h <<_ACEOF
23413 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23414 _ACEOF
23415
23416
23417 if test "$ac_cv_sizeof_wchar_t" != 0; then
23418 wxUSE_WCHAR_T=yes
23419 else
23420 wxUSE_WCHAR_T=no
23421 fi
23422
23423 { echo "$as_me:$LINENO: checking for va_copy" >&5
23424 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23425 if test "${wx_cv_func_va_copy+set}" = set; then
23426 echo $ECHO_N "(cached) $ECHO_C" >&6
23427 else
23428
23429 ac_ext=cpp
23430 ac_cpp='$CXXCPP $CPPFLAGS'
23431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23434
23435 cat >conftest.$ac_ext <<_ACEOF
23436
23437 #include <stdarg.h>
23438 void foo(char *f, ...)
23439 {
23440 va_list ap1, ap2;
23441 va_start(ap1, f);
23442 va_copy(ap2, ap1);
23443 va_end(ap2);
23444 va_end(ap1);
23445 }
23446 int main()
23447 {
23448 foo("hi", 17);
23449 return 0;
23450 }
23451 _ACEOF
23452 rm -f conftest.$ac_objext conftest$ac_exeext
23453 if { (ac_try="$ac_link"
23454 case "(($ac_try" in
23455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23456 *) ac_try_echo=$ac_try;;
23457 esac
23458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23459 (eval "$ac_link") 2>conftest.er1
23460 ac_status=$?
23461 grep -v '^ *+' conftest.er1 >conftest.err
23462 rm -f conftest.er1
23463 cat conftest.err >&5
23464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465 (exit $ac_status); } && {
23466 test -z "$ac_cxx_werror_flag" ||
23467 test ! -s conftest.err
23468 } && test -s conftest$ac_exeext &&
23469 $as_test_x conftest$ac_exeext; then
23470 wx_cv_func_va_copy=yes
23471 else
23472 echo "$as_me: failed program was:" >&5
23473 sed 's/^/| /' conftest.$ac_ext >&5
23474
23475 wx_cv_func_va_copy=no
23476
23477 fi
23478
23479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23480 conftest$ac_exeext conftest.$ac_ext
23481 ac_ext=c
23482 ac_cpp='$CPP $CPPFLAGS'
23483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23486
23487
23488
23489 fi
23490 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23491 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23492
23493 if test $wx_cv_func_va_copy = "yes"; then
23494 cat >>confdefs.h <<\_ACEOF
23495 #define HAVE_VA_COPY 1
23496 _ACEOF
23497
23498 else
23499 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23500 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23501 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23502 echo $ECHO_N "(cached) $ECHO_C" >&6
23503 else
23504
23505 if test "$cross_compiling" = yes; then
23506 wx_cv_type_va_list_lvalue=yes
23507
23508 else
23509 cat >conftest.$ac_ext <<_ACEOF
23510
23511 #include <stdarg.h>
23512 int foo(char *f, ...)
23513 {
23514 va_list ap1, ap2;
23515 va_start(ap1, f);
23516 ap2 = ap1;
23517 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23518 return 1;
23519 va_end(ap2);
23520 va_end(ap1);
23521 return 0;
23522 }
23523 int main()
23524 {
23525 return foo("hi", 17);
23526 }
23527 _ACEOF
23528 rm -f conftest$ac_exeext
23529 if { (ac_try="$ac_link"
23530 case "(($ac_try" in
23531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23532 *) ac_try_echo=$ac_try;;
23533 esac
23534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23535 (eval "$ac_link") 2>&5
23536 ac_status=$?
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23539 { (case "(($ac_try" in
23540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23541 *) ac_try_echo=$ac_try;;
23542 esac
23543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23544 (eval "$ac_try") 2>&5
23545 ac_status=$?
23546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23547 (exit $ac_status); }; }; then
23548 wx_cv_type_va_list_lvalue=yes
23549 else
23550 echo "$as_me: program exited with status $ac_status" >&5
23551 echo "$as_me: failed program was:" >&5
23552 sed 's/^/| /' conftest.$ac_ext >&5
23553
23554 ( exit $ac_status )
23555 wx_cv_type_va_list_lvalue=no
23556 fi
23557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23558 fi
23559
23560
23561
23562
23563 fi
23564 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23565 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23566
23567 if test $wx_cv_type_va_list_lvalue != "yes"; then
23568 cat >>confdefs.h <<\_ACEOF
23569 #define VA_LIST_IS_ARRAY 1
23570 _ACEOF
23571
23572 fi
23573 fi
23574
23575 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23576
23577 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23578 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23579 if test "${wx_cv_have_variadic_macros+set}" = set; then
23580 echo $ECHO_N "(cached) $ECHO_C" >&6
23581 else
23582
23583 ac_ext=cpp
23584 ac_cpp='$CXXCPP $CPPFLAGS'
23585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23588
23589 cat >conftest.$ac_ext <<_ACEOF
23590 /* confdefs.h. */
23591 _ACEOF
23592 cat confdefs.h >>conftest.$ac_ext
23593 cat >>conftest.$ac_ext <<_ACEOF
23594 /* end confdefs.h. */
23595
23596 #include <stdio.h>
23597 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23598
23599 int
23600 main ()
23601 {
23602
23603 test("%s %d %p", "test", 1, 0);
23604
23605
23606 ;
23607 return 0;
23608 }
23609 _ACEOF
23610 rm -f conftest.$ac_objext
23611 if { (ac_try="$ac_compile"
23612 case "(($ac_try" in
23613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23614 *) ac_try_echo=$ac_try;;
23615 esac
23616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23617 (eval "$ac_compile") 2>conftest.er1
23618 ac_status=$?
23619 grep -v '^ *+' conftest.er1 >conftest.err
23620 rm -f conftest.er1
23621 cat conftest.err >&5
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); } && {
23624 test -z "$ac_cxx_werror_flag" ||
23625 test ! -s conftest.err
23626 } && test -s conftest.$ac_objext; then
23627 wx_cv_have_variadic_macros=yes
23628 else
23629 echo "$as_me: failed program was:" >&5
23630 sed 's/^/| /' conftest.$ac_ext >&5
23631
23632 wx_cv_have_variadic_macros=no
23633
23634 fi
23635
23636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23637 ac_ext=c
23638 ac_cpp='$CPP $CPPFLAGS'
23639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23642
23643
23644
23645 fi
23646 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23647 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23648
23649 if test $wx_cv_have_variadic_macros = "yes"; then
23650 cat >>confdefs.h <<\_ACEOF
23651 #define HAVE_VARIADIC_MACROS 1
23652 _ACEOF
23653
23654 fi
23655
23656 fi
23657
23658 LARGEFILE_CPPFLAGS=
23659 # Check whether --enable-largefile was given.
23660 if test "${enable_largefile+set}" = set; then
23661 enableval=$enable_largefile;
23662 fi
23663
23664 if test "$enable_largefile" != no; then
23665 wx_largefile=no
23666
23667 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23668 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23669 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23670 echo $ECHO_N "(cached) $ECHO_C" >&6
23671 else
23672
23673 cat >conftest.$ac_ext <<_ACEOF
23674 /* confdefs.h. */
23675 _ACEOF
23676 cat confdefs.h >>conftest.$ac_ext
23677 cat >>conftest.$ac_ext <<_ACEOF
23678 /* end confdefs.h. */
23679 #define _FILE_OFFSET_BITS 64
23680 #include <sys/types.h>
23681 int
23682 main ()
23683 {
23684 typedef struct {
23685 unsigned int field: sizeof(off_t) == 8;
23686 } wxlf;
23687
23688 ;
23689 return 0;
23690 }
23691 _ACEOF
23692 rm -f conftest.$ac_objext
23693 if { (ac_try="$ac_compile"
23694 case "(($ac_try" in
23695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23696 *) ac_try_echo=$ac_try;;
23697 esac
23698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23699 (eval "$ac_compile") 2>conftest.er1
23700 ac_status=$?
23701 grep -v '^ *+' conftest.er1 >conftest.err
23702 rm -f conftest.er1
23703 cat conftest.err >&5
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); } && {
23706 test -z "$ac_c_werror_flag" ||
23707 test ! -s conftest.err
23708 } && test -s conftest.$ac_objext; then
23709 ac_cv_sys_file_offset_bits=64
23710 else
23711 echo "$as_me: failed program was:" >&5
23712 sed 's/^/| /' conftest.$ac_ext >&5
23713
23714 ac_cv_sys_file_offset_bits=no
23715 fi
23716
23717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23718
23719
23720 fi
23721 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23722 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23723
23724 if test "$ac_cv_sys_file_offset_bits" != no; then
23725 wx_largefile=yes
23726 cat >>confdefs.h <<_ACEOF
23727 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23728 _ACEOF
23729
23730 fi
23731
23732 if test "x$wx_largefile" != "xyes"; then
23733
23734 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23735 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23736 if test "${ac_cv_sys_large_files+set}" = set; then
23737 echo $ECHO_N "(cached) $ECHO_C" >&6
23738 else
23739
23740 cat >conftest.$ac_ext <<_ACEOF
23741 /* confdefs.h. */
23742 _ACEOF
23743 cat confdefs.h >>conftest.$ac_ext
23744 cat >>conftest.$ac_ext <<_ACEOF
23745 /* end confdefs.h. */
23746 #define _LARGE_FILES 1
23747 #include <sys/types.h>
23748 int
23749 main ()
23750 {
23751 typedef struct {
23752 unsigned int field: sizeof(off_t) == 8;
23753 } wxlf;
23754
23755 ;
23756 return 0;
23757 }
23758 _ACEOF
23759 rm -f conftest.$ac_objext
23760 if { (ac_try="$ac_compile"
23761 case "(($ac_try" in
23762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23763 *) ac_try_echo=$ac_try;;
23764 esac
23765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23766 (eval "$ac_compile") 2>conftest.er1
23767 ac_status=$?
23768 grep -v '^ *+' conftest.er1 >conftest.err
23769 rm -f conftest.er1
23770 cat conftest.err >&5
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); } && {
23773 test -z "$ac_c_werror_flag" ||
23774 test ! -s conftest.err
23775 } && test -s conftest.$ac_objext; then
23776 ac_cv_sys_large_files=1
23777 else
23778 echo "$as_me: failed program was:" >&5
23779 sed 's/^/| /' conftest.$ac_ext >&5
23780
23781 ac_cv_sys_large_files=no
23782 fi
23783
23784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23785
23786
23787 fi
23788 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23789 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23790
23791 if test "$ac_cv_sys_large_files" != no; then
23792 wx_largefile=yes
23793 cat >>confdefs.h <<_ACEOF
23794 #define _LARGE_FILES $ac_cv_sys_large_files
23795 _ACEOF
23796
23797 fi
23798
23799 fi
23800
23801 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23802 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23803 if test "x$wx_largefile" = "xyes"; then
23804 cat >>confdefs.h <<\_ACEOF
23805 #define HAVE_LARGEFILE_SUPPORT 1
23806 _ACEOF
23807
23808 fi
23809 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23810 echo "${ECHO_T}$wx_largefile" >&6; }
23811 fi
23812
23813 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23814 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23815 elif test "$ac_cv_sys_large_files" = 1; then
23816 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23817 fi
23818
23819 if test -n "$LARGEFILE_CPPFLAGS"; then
23820 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23821
23822 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23823 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23824 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23825 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23826 echo $ECHO_N "(cached) $ECHO_C" >&6
23827 else
23828
23829 ac_ext=cpp
23830 ac_cpp='$CXXCPP $CPPFLAGS'
23831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23834
23835 cat >conftest.$ac_ext <<_ACEOF
23836 /* confdefs.h. */
23837 _ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841
23842 int
23843 main ()
23844 {
23845
23846 #ifndef __STDC_EXT__
23847 choke me
23848 #endif
23849
23850 ;
23851 return 0;
23852 }
23853 _ACEOF
23854 rm -f conftest.$ac_objext
23855 if { (ac_try="$ac_compile"
23856 case "(($ac_try" in
23857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23858 *) ac_try_echo=$ac_try;;
23859 esac
23860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23861 (eval "$ac_compile") 2>conftest.er1
23862 ac_status=$?
23863 grep -v '^ *+' conftest.er1 >conftest.err
23864 rm -f conftest.er1
23865 cat conftest.err >&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } && {
23868 test -z "$ac_cxx_werror_flag" ||
23869 test ! -s conftest.err
23870 } && test -s conftest.$ac_objext; then
23871 wx_cv_STDC_EXT_required=no
23872 else
23873 echo "$as_me: failed program was:" >&5
23874 sed 's/^/| /' conftest.$ac_ext >&5
23875
23876 wx_cv_STDC_EXT_required=yes
23877
23878 fi
23879
23880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23881 ac_ext=c
23882 ac_cpp='$CPP $CPPFLAGS'
23883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23886
23887
23888
23889 fi
23890 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23891 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23892 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23893 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23894 fi
23895 fi
23896 fi
23897
23898 ac_ext=cpp
23899 ac_cpp='$CXXCPP $CPPFLAGS'
23900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23903
23904 old_CPPFLAGS="$CPPFLAGS"
23905 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23906 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23907 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23908 if test "${ac_cv_sys_largefile_source+set}" = set; then
23909 echo $ECHO_N "(cached) $ECHO_C" >&6
23910 else
23911 while :; do
23912 cat >conftest.$ac_ext <<_ACEOF
23913 /* confdefs.h. */
23914 _ACEOF
23915 cat confdefs.h >>conftest.$ac_ext
23916 cat >>conftest.$ac_ext <<_ACEOF
23917 /* end confdefs.h. */
23918 #include <sys/types.h> /* for off_t */
23919 #include <stdio.h>
23920 int
23921 main ()
23922 {
23923 int (*fp) (FILE *, off_t, int) = fseeko;
23924 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23925 ;
23926 return 0;
23927 }
23928 _ACEOF
23929 rm -f conftest.$ac_objext conftest$ac_exeext
23930 if { (ac_try="$ac_link"
23931 case "(($ac_try" in
23932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23933 *) ac_try_echo=$ac_try;;
23934 esac
23935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23936 (eval "$ac_link") 2>conftest.er1
23937 ac_status=$?
23938 grep -v '^ *+' conftest.er1 >conftest.err
23939 rm -f conftest.er1
23940 cat conftest.err >&5
23941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23942 (exit $ac_status); } && {
23943 test -z "$ac_cxx_werror_flag" ||
23944 test ! -s conftest.err
23945 } && test -s conftest$ac_exeext &&
23946 $as_test_x conftest$ac_exeext; then
23947 ac_cv_sys_largefile_source=no; break
23948 else
23949 echo "$as_me: failed program was:" >&5
23950 sed 's/^/| /' conftest.$ac_ext >&5
23951
23952
23953 fi
23954
23955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23956 conftest$ac_exeext conftest.$ac_ext
23957 cat >conftest.$ac_ext <<_ACEOF
23958 /* confdefs.h. */
23959 _ACEOF
23960 cat confdefs.h >>conftest.$ac_ext
23961 cat >>conftest.$ac_ext <<_ACEOF
23962 /* end confdefs.h. */
23963 #define _LARGEFILE_SOURCE 1
23964 #include <sys/types.h> /* for off_t */
23965 #include <stdio.h>
23966 int
23967 main ()
23968 {
23969 int (*fp) (FILE *, off_t, int) = fseeko;
23970 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23971 ;
23972 return 0;
23973 }
23974 _ACEOF
23975 rm -f conftest.$ac_objext conftest$ac_exeext
23976 if { (ac_try="$ac_link"
23977 case "(($ac_try" in
23978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23979 *) ac_try_echo=$ac_try;;
23980 esac
23981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23982 (eval "$ac_link") 2>conftest.er1
23983 ac_status=$?
23984 grep -v '^ *+' conftest.er1 >conftest.err
23985 rm -f conftest.er1
23986 cat conftest.err >&5
23987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23988 (exit $ac_status); } && {
23989 test -z "$ac_cxx_werror_flag" ||
23990 test ! -s conftest.err
23991 } && test -s conftest$ac_exeext &&
23992 $as_test_x conftest$ac_exeext; then
23993 ac_cv_sys_largefile_source=1; break
23994 else
23995 echo "$as_me: failed program was:" >&5
23996 sed 's/^/| /' conftest.$ac_ext >&5
23997
23998
23999 fi
24000
24001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24002 conftest$ac_exeext conftest.$ac_ext
24003 ac_cv_sys_largefile_source=unknown
24004 break
24005 done
24006 fi
24007 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24008 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24009 case $ac_cv_sys_largefile_source in #(
24010 no | unknown) ;;
24011 *)
24012 cat >>confdefs.h <<_ACEOF
24013 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24014 _ACEOF
24015 ;;
24016 esac
24017 rm -f conftest*
24018
24019 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24020 # in glibc 2.1.3, but that breaks too many other things.
24021 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24022 if test $ac_cv_sys_largefile_source != unknown; then
24023
24024 cat >>confdefs.h <<\_ACEOF
24025 #define HAVE_FSEEKO 1
24026 _ACEOF
24027
24028 fi
24029
24030 CPPFLAGS="$old_CPPFLAGS"
24031 ac_ext=c
24032 ac_cpp='$CPP $CPPFLAGS'
24033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24036
24037 if test "$ac_cv_sys_largefile_source" != no; then
24038 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24039 fi
24040
24041 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24042 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24043 if test "${ac_cv_c_bigendian+set}" = set; then
24044 echo $ECHO_N "(cached) $ECHO_C" >&6
24045 else
24046 ac_cv_c_bigendian=unknown
24047 # See if sys/param.h defines the BYTE_ORDER macro.
24048 cat >conftest.$ac_ext <<_ACEOF
24049 /* confdefs.h. */
24050 _ACEOF
24051 cat confdefs.h >>conftest.$ac_ext
24052 cat >>conftest.$ac_ext <<_ACEOF
24053 /* end confdefs.h. */
24054 #include <sys/types.h>
24055 #include <sys/param.h>
24056 int
24057 main ()
24058 {
24059
24060 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24061 bogus endian macros
24062 #endif
24063 ;
24064 return 0;
24065 }
24066 _ACEOF
24067 rm -f conftest.$ac_objext
24068 if { (ac_try="$ac_compile"
24069 case "(($ac_try" in
24070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24071 *) ac_try_echo=$ac_try;;
24072 esac
24073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24074 (eval "$ac_compile") 2>conftest.er1
24075 ac_status=$?
24076 grep -v '^ *+' conftest.er1 >conftest.err
24077 rm -f conftest.er1
24078 cat conftest.err >&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); } && {
24081 test -z "$ac_c_werror_flag" ||
24082 test ! -s conftest.err
24083 } && test -s conftest.$ac_objext; then
24084 # It does; now see whether it defined to BIG_ENDIAN or not.
24085 cat >conftest.$ac_ext <<_ACEOF
24086 /* confdefs.h. */
24087 _ACEOF
24088 cat confdefs.h >>conftest.$ac_ext
24089 cat >>conftest.$ac_ext <<_ACEOF
24090 /* end confdefs.h. */
24091 #include <sys/types.h>
24092 #include <sys/param.h>
24093 int
24094 main ()
24095 {
24096
24097 #if BYTE_ORDER != BIG_ENDIAN
24098 not big endian
24099 #endif
24100 ;
24101 return 0;
24102 }
24103 _ACEOF
24104 rm -f conftest.$ac_objext
24105 if { (ac_try="$ac_compile"
24106 case "(($ac_try" in
24107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24108 *) ac_try_echo=$ac_try;;
24109 esac
24110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24111 (eval "$ac_compile") 2>conftest.er1
24112 ac_status=$?
24113 grep -v '^ *+' conftest.er1 >conftest.err
24114 rm -f conftest.er1
24115 cat conftest.err >&5
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); } && {
24118 test -z "$ac_c_werror_flag" ||
24119 test ! -s conftest.err
24120 } && test -s conftest.$ac_objext; then
24121 ac_cv_c_bigendian=yes
24122 else
24123 echo "$as_me: failed program was:" >&5
24124 sed 's/^/| /' conftest.$ac_ext >&5
24125
24126 ac_cv_c_bigendian=no
24127 fi
24128
24129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24130 else
24131 echo "$as_me: failed program was:" >&5
24132 sed 's/^/| /' conftest.$ac_ext >&5
24133
24134
24135 fi
24136
24137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24138 if test $ac_cv_c_bigendian = unknown; then
24139 if test "$cross_compiling" = yes; then
24140 ac_cv_c_bigendian=unknown
24141 else
24142 cat >conftest.$ac_ext <<_ACEOF
24143 /* confdefs.h. */
24144 _ACEOF
24145 cat confdefs.h >>conftest.$ac_ext
24146 cat >>conftest.$ac_ext <<_ACEOF
24147 /* end confdefs.h. */
24148 main () {
24149 /* Are we little or big endian? From Harbison&Steele. */
24150 union
24151 {
24152 long l;
24153 char c[sizeof (long)];
24154 } u;
24155 u.l = 1;
24156 exit (u.c[sizeof (long) - 1] == 1);
24157 }
24158 _ACEOF
24159 rm -f conftest$ac_exeext
24160 if { (ac_try="$ac_link"
24161 case "(($ac_try" in
24162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24163 *) ac_try_echo=$ac_try;;
24164 esac
24165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24166 (eval "$ac_link") 2>&5
24167 ac_status=$?
24168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24170 { (case "(($ac_try" in
24171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24172 *) ac_try_echo=$ac_try;;
24173 esac
24174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24175 (eval "$ac_try") 2>&5
24176 ac_status=$?
24177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24178 (exit $ac_status); }; }; then
24179 ac_cv_c_bigendian=no
24180 else
24181 echo "$as_me: program exited with status $ac_status" >&5
24182 echo "$as_me: failed program was:" >&5
24183 sed 's/^/| /' conftest.$ac_ext >&5
24184
24185 ( exit $ac_status )
24186 ac_cv_c_bigendian=yes
24187 fi
24188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24189 fi
24190
24191
24192 fi
24193 fi
24194 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24195 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24196 if test $ac_cv_c_bigendian = unknown; then
24197 { 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
24198 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;}
24199 fi
24200 if test $ac_cv_c_bigendian = yes; then
24201 cat >>confdefs.h <<\_ACEOF
24202 #define WORDS_BIGENDIAN 1
24203 _ACEOF
24204
24205 fi
24206
24207
24208
24209
24210 ac_ext=cpp
24211 ac_cpp='$CXXCPP $CPPFLAGS'
24212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24215
24216
24217
24218 for ac_header in iostream
24219 do
24220 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24221 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24223 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24224 echo $ECHO_N "(cached) $ECHO_C" >&6
24225 else
24226 cat >conftest.$ac_ext <<_ACEOF
24227 /* confdefs.h. */
24228 _ACEOF
24229 cat confdefs.h >>conftest.$ac_ext
24230 cat >>conftest.$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24232
24233
24234 #include <$ac_header>
24235 _ACEOF
24236 rm -f conftest.$ac_objext
24237 if { (ac_try="$ac_compile"
24238 case "(($ac_try" in
24239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24240 *) ac_try_echo=$ac_try;;
24241 esac
24242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24243 (eval "$ac_compile") 2>conftest.er1
24244 ac_status=$?
24245 grep -v '^ *+' conftest.er1 >conftest.err
24246 rm -f conftest.er1
24247 cat conftest.err >&5
24248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24249 (exit $ac_status); } && {
24250 test -z "$ac_cxx_werror_flag" ||
24251 test ! -s conftest.err
24252 } && test -s conftest.$ac_objext; then
24253 eval "$as_ac_Header=yes"
24254 else
24255 echo "$as_me: failed program was:" >&5
24256 sed 's/^/| /' conftest.$ac_ext >&5
24257
24258 eval "$as_ac_Header=no"
24259 fi
24260
24261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24262 fi
24263 ac_res=`eval echo '${'$as_ac_Header'}'`
24264 { echo "$as_me:$LINENO: result: $ac_res" >&5
24265 echo "${ECHO_T}$ac_res" >&6; }
24266 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24267 cat >>confdefs.h <<_ACEOF
24268 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24269 _ACEOF
24270
24271 fi
24272
24273 done
24274
24275
24276 if test "$ac_cv_header_iostream" = "yes" ; then
24277 :
24278 else
24279 cat >>confdefs.h <<\_ACEOF
24280 #define wxUSE_IOSTREAMH 1
24281 _ACEOF
24282
24283 fi
24284
24285 ac_ext=c
24286 ac_cpp='$CPP $CPPFLAGS'
24287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24290
24291
24292
24293
24294 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24295 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24296 if test "${wx_cv_explicit+set}" = set; then
24297 echo $ECHO_N "(cached) $ECHO_C" >&6
24298 else
24299
24300
24301 ac_ext=cpp
24302 ac_cpp='$CXXCPP $CPPFLAGS'
24303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24306
24307
24308 cat >conftest.$ac_ext <<_ACEOF
24309 /* confdefs.h. */
24310 _ACEOF
24311 cat confdefs.h >>conftest.$ac_ext
24312 cat >>conftest.$ac_ext <<_ACEOF
24313 /* end confdefs.h. */
24314
24315 class Foo { public: explicit Foo(int) {} };
24316
24317 int
24318 main ()
24319 {
24320
24321 return 0;
24322
24323 ;
24324 return 0;
24325 }
24326 _ACEOF
24327 rm -f conftest.$ac_objext
24328 if { (ac_try="$ac_compile"
24329 case "(($ac_try" in
24330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24331 *) ac_try_echo=$ac_try;;
24332 esac
24333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24334 (eval "$ac_compile") 2>conftest.er1
24335 ac_status=$?
24336 grep -v '^ *+' conftest.er1 >conftest.err
24337 rm -f conftest.er1
24338 cat conftest.err >&5
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); } && {
24341 test -z "$ac_cxx_werror_flag" ||
24342 test ! -s conftest.err
24343 } && test -s conftest.$ac_objext; then
24344
24345 cat >conftest.$ac_ext <<_ACEOF
24346 /* confdefs.h. */
24347 _ACEOF
24348 cat confdefs.h >>conftest.$ac_ext
24349 cat >>conftest.$ac_ext <<_ACEOF
24350 /* end confdefs.h. */
24351
24352 class Foo { public: explicit Foo(int) {} };
24353 static void TakeFoo(const Foo& foo) { }
24354
24355 int
24356 main ()
24357 {
24358
24359 TakeFoo(17);
24360 return 0;
24361
24362 ;
24363 return 0;
24364 }
24365 _ACEOF
24366 rm -f conftest.$ac_objext
24367 if { (ac_try="$ac_compile"
24368 case "(($ac_try" in
24369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24370 *) ac_try_echo=$ac_try;;
24371 esac
24372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24373 (eval "$ac_compile") 2>conftest.er1
24374 ac_status=$?
24375 grep -v '^ *+' conftest.er1 >conftest.err
24376 rm -f conftest.er1
24377 cat conftest.err >&5
24378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24379 (exit $ac_status); } && {
24380 test -z "$ac_cxx_werror_flag" ||
24381 test ! -s conftest.err
24382 } && test -s conftest.$ac_objext; then
24383 wx_cv_explicit=no
24384 else
24385 echo "$as_me: failed program was:" >&5
24386 sed 's/^/| /' conftest.$ac_ext >&5
24387
24388 wx_cv_explicit=yes
24389
24390 fi
24391
24392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24393
24394 else
24395 echo "$as_me: failed program was:" >&5
24396 sed 's/^/| /' conftest.$ac_ext >&5
24397
24398 wx_cv_explicit=no
24399
24400 fi
24401
24402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24403
24404 ac_ext=c
24405 ac_cpp='$CPP $CPPFLAGS'
24406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24409
24410
24411 fi
24412 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24413 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24414
24415 if test "$wx_cv_explicit" = "yes"; then
24416 cat >>confdefs.h <<\_ACEOF
24417 #define HAVE_EXPLICIT 1
24418 _ACEOF
24419
24420 fi
24421
24422
24423 if test "x$SUNCXX" = xyes; then
24424 CXXFLAGS="-features=tmplife $CXXFLAGS"
24425 fi
24426
24427 if test "x$SUNCC" = xyes; then
24428 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24429 fi
24430
24431 if test "x$SGICC" = "xyes"; then
24432 CFLAGS="-woff 3970 $CFLAGS"
24433 fi
24434 if test "x$SGICXX" = "xyes"; then
24435 CXXFLAGS="-woff 3970 $CXXFLAGS"
24436 fi
24437
24438 if test "x$HPCC" = "xyes"; then
24439 CFLAGS="+W 2011,2450 $CFLAGS"
24440 fi
24441 if test "x$HPCXX" = "xyes"; then
24442 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24443 fi
24444
24445 if test "x$COMPAQCXX" = "xyes"; then
24446 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24447 fi
24448
24449 ac_ext=cpp
24450 ac_cpp='$CXXCPP $CPPFLAGS'
24451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24454
24455
24456 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24457 if test "$wxUSE_UNICODE" = "yes"; then
24458 std_string="std::wstring"
24459 char_type="wchar_t"
24460 else
24461 std_string="std::string"
24462 char_type="char"
24463 fi
24464
24465 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24466 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24467 if test "${wx_cv_class_stdstring+set}" = set; then
24468 echo $ECHO_N "(cached) $ECHO_C" >&6
24469 else
24470
24471 cat >conftest.$ac_ext <<_ACEOF
24472 /* confdefs.h. */
24473 _ACEOF
24474 cat confdefs.h >>conftest.$ac_ext
24475 cat >>conftest.$ac_ext <<_ACEOF
24476 /* end confdefs.h. */
24477 #include <string>
24478 int
24479 main ()
24480 {
24481 $std_string foo;
24482 ;
24483 return 0;
24484 }
24485 _ACEOF
24486 rm -f conftest.$ac_objext
24487 if { (ac_try="$ac_compile"
24488 case "(($ac_try" in
24489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24490 *) ac_try_echo=$ac_try;;
24491 esac
24492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24493 (eval "$ac_compile") 2>conftest.er1
24494 ac_status=$?
24495 grep -v '^ *+' conftest.er1 >conftest.err
24496 rm -f conftest.er1
24497 cat conftest.err >&5
24498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24499 (exit $ac_status); } && {
24500 test -z "$ac_cxx_werror_flag" ||
24501 test ! -s conftest.err
24502 } && test -s conftest.$ac_objext; then
24503 wx_cv_class_stdstring=yes
24504 else
24505 echo "$as_me: failed program was:" >&5
24506 sed 's/^/| /' conftest.$ac_ext >&5
24507
24508 wx_cv_class_stdstring=no
24509
24510 fi
24511
24512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24513
24514
24515 fi
24516 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24517 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24518
24519 if test "$wx_cv_class_stdstring" = yes; then
24520 if test "$wxUSE_UNICODE" = "yes"; then
24521 cat >>confdefs.h <<\_ACEOF
24522 #define HAVE_STD_WSTRING 1
24523 _ACEOF
24524
24525 fi
24526 else
24527 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24528 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24529 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24530 echo $ECHO_N "(cached) $ECHO_C" >&6
24531 else
24532
24533 cat >conftest.$ac_ext <<_ACEOF
24534 /* confdefs.h. */
24535 _ACEOF
24536 cat confdefs.h >>conftest.$ac_ext
24537 cat >>conftest.$ac_ext <<_ACEOF
24538 /* end confdefs.h. */
24539
24540 #ifdef HAVE_WCHAR_H
24541 # ifdef __CYGWIN__
24542 # include <stddef.h>
24543 # endif
24544 # include <wchar.h>
24545 #endif
24546 #ifdef HAVE_STDLIB_H
24547 # include <stdlib.h>
24548 #endif
24549 #include <stdio.h>
24550 #include <string>
24551
24552 int
24553 main ()
24554 {
24555 std::basic_string<$char_type> foo;
24556 const $char_type* dummy = foo.c_str();
24557 ;
24558 return 0;
24559 }
24560 _ACEOF
24561 rm -f conftest.$ac_objext
24562 if { (ac_try="$ac_compile"
24563 case "(($ac_try" in
24564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24565 *) ac_try_echo=$ac_try;;
24566 esac
24567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24568 (eval "$ac_compile") 2>conftest.er1
24569 ac_status=$?
24570 grep -v '^ *+' conftest.er1 >conftest.err
24571 rm -f conftest.er1
24572 cat conftest.err >&5
24573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24574 (exit $ac_status); } && {
24575 test -z "$ac_cxx_werror_flag" ||
24576 test ! -s conftest.err
24577 } && test -s conftest.$ac_objext; then
24578 wx_cv_class_stdbasicstring=yes
24579 else
24580 echo "$as_me: failed program was:" >&5
24581 sed 's/^/| /' conftest.$ac_ext >&5
24582
24583 wx_cv_class_stdbasicstring=no
24584
24585 fi
24586
24587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24588
24589
24590 fi
24591 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24592 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24593
24594 if test "$wx_cv_class_stdbasicstring" != yes; then
24595 if test "$wxUSE_STL" = "yes"; then
24596 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24597 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24598 { (exit 1); exit 1; }; }
24599 elif test "$wxUSE_STD_STRING" = "yes"; then
24600 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24601 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24602 { (exit 1); exit 1; }; }
24603 else
24604 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24605 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24606 wxUSE_STD_STRING=no
24607 fi
24608 fi
24609 fi
24610 fi
24611
24612 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24613 { echo "$as_me:$LINENO: checking for std::istream" >&5
24614 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24615 if test "${ac_cv_type_std__istream+set}" = set; then
24616 echo $ECHO_N "(cached) $ECHO_C" >&6
24617 else
24618 cat >conftest.$ac_ext <<_ACEOF
24619 /* confdefs.h. */
24620 _ACEOF
24621 cat confdefs.h >>conftest.$ac_ext
24622 cat >>conftest.$ac_ext <<_ACEOF
24623 /* end confdefs.h. */
24624 #include <iostream>
24625
24626 typedef std::istream ac__type_new_;
24627 int
24628 main ()
24629 {
24630 if ((ac__type_new_ *) 0)
24631 return 0;
24632 if (sizeof (ac__type_new_))
24633 return 0;
24634 ;
24635 return 0;
24636 }
24637 _ACEOF
24638 rm -f conftest.$ac_objext
24639 if { (ac_try="$ac_compile"
24640 case "(($ac_try" in
24641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24642 *) ac_try_echo=$ac_try;;
24643 esac
24644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24645 (eval "$ac_compile") 2>conftest.er1
24646 ac_status=$?
24647 grep -v '^ *+' conftest.er1 >conftest.err
24648 rm -f conftest.er1
24649 cat conftest.err >&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } && {
24652 test -z "$ac_cxx_werror_flag" ||
24653 test ! -s conftest.err
24654 } && test -s conftest.$ac_objext; then
24655 ac_cv_type_std__istream=yes
24656 else
24657 echo "$as_me: failed program was:" >&5
24658 sed 's/^/| /' conftest.$ac_ext >&5
24659
24660 ac_cv_type_std__istream=no
24661 fi
24662
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24664 fi
24665 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24666 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24667 if test $ac_cv_type_std__istream = yes; then
24668
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE_STD__ISTREAM 1
24671 _ACEOF
24672
24673
24674 else
24675 wxUSE_STD_IOSTREAM=no
24676 fi
24677 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24678 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24679 if test "${ac_cv_type_std__ostream+set}" = set; then
24680 echo $ECHO_N "(cached) $ECHO_C" >&6
24681 else
24682 cat >conftest.$ac_ext <<_ACEOF
24683 /* confdefs.h. */
24684 _ACEOF
24685 cat confdefs.h >>conftest.$ac_ext
24686 cat >>conftest.$ac_ext <<_ACEOF
24687 /* end confdefs.h. */
24688 #include <iostream>
24689
24690 typedef std::ostream ac__type_new_;
24691 int
24692 main ()
24693 {
24694 if ((ac__type_new_ *) 0)
24695 return 0;
24696 if (sizeof (ac__type_new_))
24697 return 0;
24698 ;
24699 return 0;
24700 }
24701 _ACEOF
24702 rm -f conftest.$ac_objext
24703 if { (ac_try="$ac_compile"
24704 case "(($ac_try" in
24705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24706 *) ac_try_echo=$ac_try;;
24707 esac
24708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24709 (eval "$ac_compile") 2>conftest.er1
24710 ac_status=$?
24711 grep -v '^ *+' conftest.er1 >conftest.err
24712 rm -f conftest.er1
24713 cat conftest.err >&5
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); } && {
24716 test -z "$ac_cxx_werror_flag" ||
24717 test ! -s conftest.err
24718 } && test -s conftest.$ac_objext; then
24719 ac_cv_type_std__ostream=yes
24720 else
24721 echo "$as_me: failed program was:" >&5
24722 sed 's/^/| /' conftest.$ac_ext >&5
24723
24724 ac_cv_type_std__ostream=no
24725 fi
24726
24727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24728 fi
24729 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24730 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24731 if test $ac_cv_type_std__ostream = yes; then
24732
24733 cat >>confdefs.h <<_ACEOF
24734 #define HAVE_STD__OSTREAM 1
24735 _ACEOF
24736
24737
24738 else
24739 wxUSE_STD_IOSTREAM=no
24740 fi
24741
24742
24743 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24744 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24745 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24746 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24747 { (exit 1); exit 1; }; }
24748 else
24749 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24750 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24751 fi
24752 fi
24753 fi
24754
24755 if test "$wxUSE_STL" = "yes"; then
24756 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24757 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24758 if test "${wx_cv_lib_stl+set}" = set; then
24759 echo $ECHO_N "(cached) $ECHO_C" >&6
24760 else
24761 cat >conftest.$ac_ext <<_ACEOF
24762 /* confdefs.h. */
24763 _ACEOF
24764 cat confdefs.h >>conftest.$ac_ext
24765 cat >>conftest.$ac_ext <<_ACEOF
24766 /* end confdefs.h. */
24767 #include <string>
24768 #include <functional>
24769 #include <algorithm>
24770 #include <vector>
24771 #include <list>
24772 int
24773 main ()
24774 {
24775 std::vector<int> moo;
24776 std::list<int> foo;
24777 std::vector<int>::iterator it =
24778 std::find_if(moo.begin(), moo.end(),
24779 std::bind2nd(std::less<int>(), 3));
24780 ;
24781 return 0;
24782 }
24783 _ACEOF
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24789 esac
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24792 ac_status=$?
24793 grep -v '^ *+' conftest.er1 >conftest.err
24794 rm -f conftest.er1
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_cxx_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 wx_cv_lib_stl=yes
24802 else
24803 echo "$as_me: failed program was:" >&5
24804 sed 's/^/| /' conftest.$ac_ext >&5
24805
24806 wx_cv_lib_stl=no
24807
24808 fi
24809
24810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24811
24812 fi
24813 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24814 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24815
24816 if test "$wx_cv_lib_stl" != yes; then
24817 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24818 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24819 { (exit 1); exit 1; }; }
24820 fi
24821
24822 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24823 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24824 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24825 echo $ECHO_N "(cached) $ECHO_C" >&6
24826 else
24827 cat >conftest.$ac_ext <<_ACEOF
24828 /* confdefs.h. */
24829 _ACEOF
24830 cat confdefs.h >>conftest.$ac_ext
24831 cat >>conftest.$ac_ext <<_ACEOF
24832 /* end confdefs.h. */
24833 #include <string>
24834 int
24835 main ()
24836 {
24837 std::string foo, bar;
24838 foo.compare(bar);
24839 foo.compare(1, 1, bar);
24840 foo.compare(1, 1, bar, 1, 1);
24841 foo.compare("");
24842 foo.compare(1, 1, "");
24843 foo.compare(1, 1, "", 2);
24844 ;
24845 return 0;
24846 }
24847 _ACEOF
24848 rm -f conftest.$ac_objext
24849 if { (ac_try="$ac_compile"
24850 case "(($ac_try" in
24851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24852 *) ac_try_echo=$ac_try;;
24853 esac
24854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24855 (eval "$ac_compile") 2>conftest.er1
24856 ac_status=$?
24857 grep -v '^ *+' conftest.er1 >conftest.err
24858 rm -f conftest.er1
24859 cat conftest.err >&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); } && {
24862 test -z "$ac_cxx_werror_flag" ||
24863 test ! -s conftest.err
24864 } && test -s conftest.$ac_objext; then
24865 wx_cv_func_stdstring_compare=yes
24866 else
24867 echo "$as_me: failed program was:" >&5
24868 sed 's/^/| /' conftest.$ac_ext >&5
24869
24870 wx_cv_func_stdstring_compare=no
24871
24872 fi
24873
24874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24875
24876 fi
24877 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24878 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24879
24880 if test "$wx_cv_func_stdstring_compare" = yes; then
24881 cat >>confdefs.h <<\_ACEOF
24882 #define HAVE_STD_STRING_COMPARE 1
24883 _ACEOF
24884
24885 fi
24886
24887 if test "$wx_cv_class_gnuhashmapset" = yes; then
24888 cat >>confdefs.h <<\_ACEOF
24889 #define HAVE_EXT_HASH_MAP 1
24890 _ACEOF
24891
24892 cat >>confdefs.h <<\_ACEOF
24893 #define HAVE_GNU_CXX_HASH_MAP 1
24894 _ACEOF
24895
24896 fi
24897
24898 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24899 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24900 if test "${ac_cv_header_unordered_map+set}" = set; then
24901 echo $ECHO_N "(cached) $ECHO_C" >&6
24902 else
24903 cat >conftest.$ac_ext <<_ACEOF
24904 /* confdefs.h. */
24905 _ACEOF
24906 cat confdefs.h >>conftest.$ac_ext
24907 cat >>conftest.$ac_ext <<_ACEOF
24908 /* end confdefs.h. */
24909
24910
24911
24912 #include <unordered_map>
24913 _ACEOF
24914 rm -f conftest.$ac_objext
24915 if { (ac_try="$ac_compile"
24916 case "(($ac_try" in
24917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24918 *) ac_try_echo=$ac_try;;
24919 esac
24920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24921 (eval "$ac_compile") 2>conftest.er1
24922 ac_status=$?
24923 grep -v '^ *+' conftest.er1 >conftest.err
24924 rm -f conftest.er1
24925 cat conftest.err >&5
24926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24927 (exit $ac_status); } && {
24928 test -z "$ac_cxx_werror_flag" ||
24929 test ! -s conftest.err
24930 } && test -s conftest.$ac_objext; then
24931 ac_cv_header_unordered_map=yes
24932 else
24933 echo "$as_me: failed program was:" >&5
24934 sed 's/^/| /' conftest.$ac_ext >&5
24935
24936 ac_cv_header_unordered_map=no
24937 fi
24938
24939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24940 fi
24941 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24942 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24943 if test $ac_cv_header_unordered_map = yes; then
24944 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24945 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24946 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24947 echo $ECHO_N "(cached) $ECHO_C" >&6
24948 else
24949 cat >conftest.$ac_ext <<_ACEOF
24950 /* confdefs.h. */
24951 _ACEOF
24952 cat confdefs.h >>conftest.$ac_ext
24953 cat >>conftest.$ac_ext <<_ACEOF
24954 /* end confdefs.h. */
24955 #include <unordered_map>
24956 #include <unordered_set>
24957 int
24958 main ()
24959 {
24960 std::unordered_map<double*, char*> test1;
24961 std::unordered_set<char*> test2;
24962 ;
24963 return 0;
24964 }
24965 _ACEOF
24966 rm -f conftest.$ac_objext
24967 if { (ac_try="$ac_compile"
24968 case "(($ac_try" in
24969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24970 *) ac_try_echo=$ac_try;;
24971 esac
24972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24973 (eval "$ac_compile") 2>conftest.er1
24974 ac_status=$?
24975 grep -v '^ *+' conftest.er1 >conftest.err
24976 rm -f conftest.er1
24977 cat conftest.err >&5
24978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24979 (exit $ac_status); } && {
24980 test -z "$ac_cxx_werror_flag" ||
24981 test ! -s conftest.err
24982 } && test -s conftest.$ac_objext; then
24983 wx_cv_class_stdunorderedmapset=yes
24984 else
24985 echo "$as_me: failed program was:" >&5
24986 sed 's/^/| /' conftest.$ac_ext >&5
24987
24988 wx_cv_class_stdunorderedmapset=no
24989 fi
24990
24991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24992
24993
24994 fi
24995 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24996 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24997 fi
24998
24999
25000
25001 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25002 cat >>confdefs.h <<\_ACEOF
25003 #define HAVE_STD_UNORDERED_MAP 1
25004 _ACEOF
25005
25006 cat >>confdefs.h <<\_ACEOF
25007 #define HAVE_STD_UNORDERED_SET 1
25008 _ACEOF
25009
25010 else
25011 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25012 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25013 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25014 echo $ECHO_N "(cached) $ECHO_C" >&6
25015 else
25016 cat >conftest.$ac_ext <<_ACEOF
25017 /* confdefs.h. */
25018 _ACEOF
25019 cat confdefs.h >>conftest.$ac_ext
25020 cat >>conftest.$ac_ext <<_ACEOF
25021 /* end confdefs.h. */
25022
25023
25024
25025 #include <tr1/unordered_map>
25026 _ACEOF
25027 rm -f conftest.$ac_objext
25028 if { (ac_try="$ac_compile"
25029 case "(($ac_try" in
25030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25031 *) ac_try_echo=$ac_try;;
25032 esac
25033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25034 (eval "$ac_compile") 2>conftest.er1
25035 ac_status=$?
25036 grep -v '^ *+' conftest.er1 >conftest.err
25037 rm -f conftest.er1
25038 cat conftest.err >&5
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); } && {
25041 test -z "$ac_cxx_werror_flag" ||
25042 test ! -s conftest.err
25043 } && test -s conftest.$ac_objext; then
25044 ac_cv_header_tr1_unordered_map=yes
25045 else
25046 echo "$as_me: failed program was:" >&5
25047 sed 's/^/| /' conftest.$ac_ext >&5
25048
25049 ac_cv_header_tr1_unordered_map=no
25050 fi
25051
25052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25053 fi
25054 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25055 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25056 if test $ac_cv_header_tr1_unordered_map = yes; then
25057 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25058 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25059 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25060 echo $ECHO_N "(cached) $ECHO_C" >&6
25061 else
25062 cat >conftest.$ac_ext <<_ACEOF
25063 /* confdefs.h. */
25064 _ACEOF
25065 cat confdefs.h >>conftest.$ac_ext
25066 cat >>conftest.$ac_ext <<_ACEOF
25067 /* end confdefs.h. */
25068 #include <tr1/unordered_map>
25069 #include <tr1/unordered_set>
25070 int
25071 main ()
25072 {
25073 std::tr1::unordered_map<double*, char*> test1;
25074 std::tr1::unordered_set<char*> test2;
25075 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25076 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25077 #endif
25078 ;
25079 return 0;
25080 }
25081 _ACEOF
25082 rm -f conftest.$ac_objext
25083 if { (ac_try="$ac_compile"
25084 case "(($ac_try" in
25085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25086 *) ac_try_echo=$ac_try;;
25087 esac
25088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25089 (eval "$ac_compile") 2>conftest.er1
25090 ac_status=$?
25091 grep -v '^ *+' conftest.er1 >conftest.err
25092 rm -f conftest.er1
25093 cat conftest.err >&5
25094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25095 (exit $ac_status); } && {
25096 test -z "$ac_cxx_werror_flag" ||
25097 test ! -s conftest.err
25098 } && test -s conftest.$ac_objext; then
25099 wx_cv_class_tr1unorderedmapset=yes
25100 else
25101 echo "$as_me: failed program was:" >&5
25102 sed 's/^/| /' conftest.$ac_ext >&5
25103
25104 wx_cv_class_tr1unorderedmapset=no
25105 fi
25106
25107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25108
25109
25110 fi
25111 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25112 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25113 fi
25114
25115
25116
25117 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25118 cat >>confdefs.h <<\_ACEOF
25119 #define HAVE_TR1_UNORDERED_MAP 1
25120 _ACEOF
25121
25122 cat >>confdefs.h <<\_ACEOF
25123 #define HAVE_TR1_UNORDERED_SET 1
25124 _ACEOF
25125
25126 else
25127 { echo "$as_me:$LINENO: checking for hash_map" >&5
25128 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25129 if test "${ac_cv_header_hash_map+set}" = set; then
25130 echo $ECHO_N "(cached) $ECHO_C" >&6
25131 else
25132 cat >conftest.$ac_ext <<_ACEOF
25133 /* confdefs.h. */
25134 _ACEOF
25135 cat confdefs.h >>conftest.$ac_ext
25136 cat >>conftest.$ac_ext <<_ACEOF
25137 /* end confdefs.h. */
25138
25139
25140
25141 #include <hash_map>
25142 _ACEOF
25143 rm -f conftest.$ac_objext
25144 if { (ac_try="$ac_compile"
25145 case "(($ac_try" in
25146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25147 *) ac_try_echo=$ac_try;;
25148 esac
25149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25150 (eval "$ac_compile") 2>conftest.er1
25151 ac_status=$?
25152 grep -v '^ *+' conftest.er1 >conftest.err
25153 rm -f conftest.er1
25154 cat conftest.err >&5
25155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25156 (exit $ac_status); } && {
25157 test -z "$ac_cxx_werror_flag" ||
25158 test ! -s conftest.err
25159 } && test -s conftest.$ac_objext; then
25160 ac_cv_header_hash_map=yes
25161 else
25162 echo "$as_me: failed program was:" >&5
25163 sed 's/^/| /' conftest.$ac_ext >&5
25164
25165 ac_cv_header_hash_map=no
25166 fi
25167
25168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25169 fi
25170 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25171 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25172 if test $ac_cv_header_hash_map = yes; then
25173 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25174 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25175 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25176 echo $ECHO_N "(cached) $ECHO_C" >&6
25177 else
25178 cat >conftest.$ac_ext <<_ACEOF
25179 /* confdefs.h. */
25180 _ACEOF
25181 cat confdefs.h >>conftest.$ac_ext
25182 cat >>conftest.$ac_ext <<_ACEOF
25183 /* end confdefs.h. */
25184 #include <hash_map>
25185 #include <hash_set>
25186 int
25187 main ()
25188 {
25189 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25190 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25191 ;
25192 return 0;
25193 }
25194 _ACEOF
25195 rm -f conftest.$ac_objext
25196 if { (ac_try="$ac_compile"
25197 case "(($ac_try" in
25198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25199 *) ac_try_echo=$ac_try;;
25200 esac
25201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25202 (eval "$ac_compile") 2>conftest.er1
25203 ac_status=$?
25204 grep -v '^ *+' conftest.er1 >conftest.err
25205 rm -f conftest.er1
25206 cat conftest.err >&5
25207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208 (exit $ac_status); } && {
25209 test -z "$ac_cxx_werror_flag" ||
25210 test ! -s conftest.err
25211 } && test -s conftest.$ac_objext; then
25212 wx_cv_class_stdhashmapset=yes
25213 else
25214 echo "$as_me: failed program was:" >&5
25215 sed 's/^/| /' conftest.$ac_ext >&5
25216
25217 wx_cv_class_stdhashmapset=no
25218 fi
25219
25220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25221
25222
25223 fi
25224 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25225 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25226 fi
25227
25228
25229
25230 if test "$wx_cv_class_stdhashmapset" = yes; then
25231 cat >>confdefs.h <<\_ACEOF
25232 #define HAVE_HASH_MAP 1
25233 _ACEOF
25234
25235 cat >>confdefs.h <<\_ACEOF
25236 #define HAVE_STD_HASH_MAP 1
25237 _ACEOF
25238
25239 fi
25240
25241 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25242 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25243 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25244 echo $ECHO_N "(cached) $ECHO_C" >&6
25245 else
25246 cat >conftest.$ac_ext <<_ACEOF
25247 /* confdefs.h. */
25248 _ACEOF
25249 cat confdefs.h >>conftest.$ac_ext
25250 cat >>conftest.$ac_ext <<_ACEOF
25251 /* end confdefs.h. */
25252
25253
25254
25255 #include <ext/hash_map>
25256 _ACEOF
25257 rm -f conftest.$ac_objext
25258 if { (ac_try="$ac_compile"
25259 case "(($ac_try" in
25260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25261 *) ac_try_echo=$ac_try;;
25262 esac
25263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25264 (eval "$ac_compile") 2>conftest.er1
25265 ac_status=$?
25266 grep -v '^ *+' conftest.er1 >conftest.err
25267 rm -f conftest.er1
25268 cat conftest.err >&5
25269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270 (exit $ac_status); } && {
25271 test -z "$ac_cxx_werror_flag" ||
25272 test ! -s conftest.err
25273 } && test -s conftest.$ac_objext; then
25274 ac_cv_header_ext_hash_map=yes
25275 else
25276 echo "$as_me: failed program was:" >&5
25277 sed 's/^/| /' conftest.$ac_ext >&5
25278
25279 ac_cv_header_ext_hash_map=no
25280 fi
25281
25282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25283 fi
25284 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25285 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25286 if test $ac_cv_header_ext_hash_map = yes; then
25287 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25288 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25289 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25290 echo $ECHO_N "(cached) $ECHO_C" >&6
25291 else
25292 cat >conftest.$ac_ext <<_ACEOF
25293 /* confdefs.h. */
25294 _ACEOF
25295 cat confdefs.h >>conftest.$ac_ext
25296 cat >>conftest.$ac_ext <<_ACEOF
25297 /* end confdefs.h. */
25298 #include <ext/hash_map>
25299 #include <ext/hash_set>
25300 int
25301 main ()
25302 {
25303 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25304 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25305 ;
25306 return 0;
25307 }
25308 _ACEOF
25309 rm -f conftest.$ac_objext
25310 if { (ac_try="$ac_compile"
25311 case "(($ac_try" in
25312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25313 *) ac_try_echo=$ac_try;;
25314 esac
25315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25316 (eval "$ac_compile") 2>conftest.er1
25317 ac_status=$?
25318 grep -v '^ *+' conftest.er1 >conftest.err
25319 rm -f conftest.er1
25320 cat conftest.err >&5
25321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322 (exit $ac_status); } && {
25323 test -z "$ac_cxx_werror_flag" ||
25324 test ! -s conftest.err
25325 } && test -s conftest.$ac_objext; then
25326 wx_cv_class_gnuhashmapset=yes
25327 else
25328 echo "$as_me: failed program was:" >&5
25329 sed 's/^/| /' conftest.$ac_ext >&5
25330
25331 wx_cv_class_gnuhashmapset=no
25332 fi
25333
25334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25335
25336
25337 fi
25338 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25339 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25340 fi
25341
25342
25343
25344 fi
25345 fi
25346 fi
25347
25348
25349
25350 if test -n "$GCC"; then
25351 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25352 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25353 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25354 echo $ECHO_N "(cached) $ECHO_C" >&6
25355 else
25356
25357 cat >conftest.$ac_ext <<_ACEOF
25358 /* confdefs.h. */
25359 _ACEOF
25360 cat confdefs.h >>conftest.$ac_ext
25361 cat >>conftest.$ac_ext <<_ACEOF
25362 /* end confdefs.h. */
25363
25364 int
25365 main ()
25366 {
25367
25368 unsigned int value=0;
25369 /* wxAtomicInc doesn't use return value here */
25370 __sync_fetch_and_add(&value, 2);
25371 __sync_sub_and_fetch(&value, 1);
25372 /* but wxAtomicDec does, so mimic that: */
25373 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25374
25375 ;
25376 return 0;
25377 }
25378 _ACEOF
25379 rm -f conftest.$ac_objext conftest$ac_exeext
25380 if { (ac_try="$ac_link"
25381 case "(($ac_try" in
25382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25383 *) ac_try_echo=$ac_try;;
25384 esac
25385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25386 (eval "$ac_link") 2>conftest.er1
25387 ac_status=$?
25388 grep -v '^ *+' conftest.er1 >conftest.err
25389 rm -f conftest.er1
25390 cat conftest.err >&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); } && {
25393 test -z "$ac_cxx_werror_flag" ||
25394 test ! -s conftest.err
25395 } && test -s conftest$ac_exeext &&
25396 $as_test_x conftest$ac_exeext; then
25397 wx_cv_cc_gcc_atomic_builtins=yes
25398 else
25399 echo "$as_me: failed program was:" >&5
25400 sed 's/^/| /' conftest.$ac_ext >&5
25401
25402 wx_cv_cc_gcc_atomic_builtins=no
25403 fi
25404
25405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25406 conftest$ac_exeext conftest.$ac_ext
25407
25408 fi
25409
25410 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25411 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25412 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25413 cat >>confdefs.h <<\_ACEOF
25414 #define HAVE_GCC_ATOMIC_BUILTINS 1
25415 _ACEOF
25416
25417 fi
25418 fi
25419
25420
25421 ac_ext=c
25422 ac_cpp='$CPP $CPPFLAGS'
25423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25426
25427
25428
25429 SEARCH_INCLUDE="\
25430 /usr/local/include \
25431 /usr/local/X11/include \
25432 /usr/local/include/X11 \
25433 /usr/local/X11R7/include \
25434 /usr/local/X11R6/include \
25435 /usr/local/include/X11R7 \
25436 /usr/local/include/X11R6 \
25437 \
25438 /usr/Motif-2.1/include \
25439 /usr/Motif-1.2/include \
25440 /usr/include/Motif1.2 \
25441 \
25442 /usr/dt/include \
25443 /usr/openwin/include \
25444 \
25445 /usr/include/Xm \
25446 \
25447 /usr/X11R7/include \
25448 /usr/X11R6/include \
25449 /usr/X11R6.4/include \
25450 \
25451 /usr/include/X11R7 \
25452 /usr/include/X11R6 \
25453 \
25454 /usr/X11/include \
25455 /usr/include/X11 \
25456 \
25457 /usr/XFree86/include/X11 \
25458 /usr/pkg/include \
25459 \
25460 /usr/local/X1R5/include \
25461 /usr/local/include/X11R5 \
25462 /usr/X11R5/include \
25463 /usr/include/X11R5 \
25464 \
25465 /usr/local/X11R4/include \
25466 /usr/local/include/X11R4 \
25467 /usr/X11R4/include \
25468 /usr/include/X11R4 \
25469 \
25470 /usr/openwin/share/include"
25471
25472 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25473 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25474
25475 case "${host}" in
25476 *-*-irix6* )
25477 if test "${wx_cv_std_libpath+set}" = set; then
25478 echo $ECHO_N "(cached) $ECHO_C" >&6
25479 else
25480
25481 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25482 for e in a so sl dylib dll.a; do
25483 libc="$d/libc.$e"
25484 if test -f $libc; then
25485 save_LIBS="$LIBS"
25486 LIBS="$libc"
25487 cat >conftest.$ac_ext <<_ACEOF
25488 int main() { return 0; }
25489 _ACEOF
25490 rm -f conftest.$ac_objext conftest$ac_exeext
25491 if { (ac_try="$ac_link"
25492 case "(($ac_try" in
25493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25494 *) ac_try_echo=$ac_try;;
25495 esac
25496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25497 (eval "$ac_link") 2>conftest.er1
25498 ac_status=$?
25499 grep -v '^ *+' conftest.er1 >conftest.err
25500 rm -f conftest.er1
25501 cat conftest.err >&5
25502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25503 (exit $ac_status); } && {
25504 test -z "$ac_c_werror_flag" ||
25505 test ! -s conftest.err
25506 } && test -s conftest$ac_exeext &&
25507 $as_test_x conftest$ac_exeext; then
25508 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25509 else
25510 echo "$as_me: failed program was:" >&5
25511 sed 's/^/| /' conftest.$ac_ext >&5
25512
25513
25514 fi
25515
25516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25517 conftest$ac_exeext conftest.$ac_ext
25518 LIBS="$save_LIBS"
25519 if test "x$wx_cv_std_libpath" != "x"; then
25520 break 2
25521 fi
25522 fi
25523 done
25524 done
25525 if test "x$wx_cv_std_libpath" = "x"; then
25526 wx_cv_std_libpath="lib"
25527 fi
25528
25529
25530 fi
25531
25532 ;;
25533
25534 *-*-solaris2* )
25535 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25536 wx_cv_std_libpath="lib/64"
25537 else
25538 wx_cv_std_libpath="lib"
25539 fi
25540 ;;
25541
25542 *-*-linux* )
25543 if test "$ac_cv_sizeof_void_p" = 8 -a \
25544 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25545 wx_cv_std_libpath="lib64"
25546 else
25547 wx_cv_std_libpath="lib"
25548 fi
25549 ;;
25550
25551 *)
25552 wx_cv_std_libpath="lib";
25553 ;;
25554 esac
25555
25556 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25557 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25558
25559 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25560
25561 if test "$build" != "$host" -a "$GCC" = yes; then
25562 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25563 cross_root=`dirname $cross_root`
25564 cross_root=`dirname $cross_root`
25565
25566 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25567 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25568 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25569
25570 if test -z "$PKG_CONFIG_PATH"; then
25571 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25572 export PKG_CONFIG_PATH
25573 fi
25574
25575 if test -z "$x_includes" -o "$x_includes" = NONE; then
25576
25577 ac_find_includes=
25578 for ac_dir in $SEARCH_INCLUDE /usr/include;
25579 do
25580 if test -f "$ac_dir/X11/Intrinsic.h"; then
25581 ac_find_includes=$ac_dir
25582 break
25583 fi
25584 done
25585
25586 x_includes=$ac_find_includes
25587 fi
25588 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25589
25590 ac_find_libraries=
25591 for ac_dir in $SEARCH_LIB;
25592 do
25593 for ac_extension in a so sl dylib dll.a; do
25594 if test -f "$ac_dir/libXt.$ac_extension"; then
25595 ac_find_libraries=$ac_dir
25596 break 2
25597 fi
25598 done
25599 done
25600
25601 x_libraries=$ac_find_libraries
25602 fi
25603 fi
25604 fi
25605
25606
25607 cat >confcache <<\_ACEOF
25608 # This file is a shell script that caches the results of configure
25609 # tests run on this system so they can be shared between configure
25610 # scripts and configure runs, see configure's option --config-cache.
25611 # It is not useful on other systems. If it contains results you don't
25612 # want to keep, you may remove or edit it.
25613 #
25614 # config.status only pays attention to the cache file if you give it
25615 # the --recheck option to rerun configure.
25616 #
25617 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25618 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25619 # following values.
25620
25621 _ACEOF
25622
25623 # The following way of writing the cache mishandles newlines in values,
25624 # but we know of no workaround that is simple, portable, and efficient.
25625 # So, we kill variables containing newlines.
25626 # Ultrix sh set writes to stderr and can't be redirected directly,
25627 # and sets the high bit in the cache file unless we assign to the vars.
25628 (
25629 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25630 eval ac_val=\$$ac_var
25631 case $ac_val in #(
25632 *${as_nl}*)
25633 case $ac_var in #(
25634 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25635 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25636 esac
25637 case $ac_var in #(
25638 _ | IFS | as_nl) ;; #(
25639 *) $as_unset $ac_var ;;
25640 esac ;;
25641 esac
25642 done
25643
25644 (set) 2>&1 |
25645 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25646 *${as_nl}ac_space=\ *)
25647 # `set' does not quote correctly, so add quotes (double-quote
25648 # substitution turns \\\\ into \\, and sed turns \\ into \).
25649 sed -n \
25650 "s/'/'\\\\''/g;
25651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25652 ;; #(
25653 *)
25654 # `set' quotes correctly as required by POSIX, so do not add quotes.
25655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25656 ;;
25657 esac |
25658 sort
25659 ) |
25660 sed '
25661 /^ac_cv_env_/b end
25662 t clear
25663 :clear
25664 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25665 t end
25666 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25667 :end' >>confcache
25668 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25669 if test -w "$cache_file"; then
25670 test "x$cache_file" != "x/dev/null" &&
25671 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25672 echo "$as_me: updating cache $cache_file" >&6;}
25673 cat confcache >$cache_file
25674 else
25675 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25676 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25677 fi
25678 fi
25679 rm -f confcache
25680
25681 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25682 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25683 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25684 if test "${wx_cv_lib_glibc21+set}" = set; then
25685 echo $ECHO_N "(cached) $ECHO_C" >&6
25686 else
25687
25688 cat >conftest.$ac_ext <<_ACEOF
25689 /* confdefs.h. */
25690 _ACEOF
25691 cat confdefs.h >>conftest.$ac_ext
25692 cat >>conftest.$ac_ext <<_ACEOF
25693 /* end confdefs.h. */
25694 #include <features.h>
25695 int
25696 main ()
25697 {
25698
25699 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25700 not glibc 2.1
25701 #endif
25702
25703 ;
25704 return 0;
25705 }
25706 _ACEOF
25707 rm -f conftest.$ac_objext
25708 if { (ac_try="$ac_compile"
25709 case "(($ac_try" in
25710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25711 *) ac_try_echo=$ac_try;;
25712 esac
25713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25714 (eval "$ac_compile") 2>conftest.er1
25715 ac_status=$?
25716 grep -v '^ *+' conftest.er1 >conftest.err
25717 rm -f conftest.er1
25718 cat conftest.err >&5
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); } && {
25721 test -z "$ac_c_werror_flag" ||
25722 test ! -s conftest.err
25723 } && test -s conftest.$ac_objext; then
25724
25725 wx_cv_lib_glibc21=yes
25726
25727 else
25728 echo "$as_me: failed program was:" >&5
25729 sed 's/^/| /' conftest.$ac_ext >&5
25730
25731
25732 wx_cv_lib_glibc21=no
25733
25734
25735 fi
25736
25737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25738
25739 fi
25740 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25741 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25742 if test "$wx_cv_lib_glibc21" = "yes"; then
25743 cat >>confdefs.h <<\_ACEOF
25744 #define wxHAVE_GLIBC2 1
25745 _ACEOF
25746
25747 fi
25748 fi
25749
25750 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25751 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25752 cat >>confdefs.h <<\_ACEOF
25753 #define _GNU_SOURCE 1
25754 _ACEOF
25755
25756 fi
25757 fi
25758
25759 have_cos=0
25760 have_floor=0
25761
25762 for ac_func in cos
25763 do
25764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25765 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25767 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25768 echo $ECHO_N "(cached) $ECHO_C" >&6
25769 else
25770 cat >conftest.$ac_ext <<_ACEOF
25771 /* confdefs.h. */
25772 _ACEOF
25773 cat confdefs.h >>conftest.$ac_ext
25774 cat >>conftest.$ac_ext <<_ACEOF
25775 /* end confdefs.h. */
25776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25778 #define $ac_func innocuous_$ac_func
25779
25780 /* System header to define __stub macros and hopefully few prototypes,
25781 which can conflict with char $ac_func (); below.
25782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25783 <limits.h> exists even on freestanding compilers. */
25784
25785 #ifdef __STDC__
25786 # include <limits.h>
25787 #else
25788 # include <assert.h>
25789 #endif
25790
25791 #undef $ac_func
25792
25793 /* Override any GCC internal prototype to avoid an error.
25794 Use char because int might match the return type of a GCC
25795 builtin and then its argument prototype would still apply. */
25796 #ifdef __cplusplus
25797 extern "C"
25798 #endif
25799 char $ac_func ();
25800 /* The GNU C library defines this for functions which it implements
25801 to always fail with ENOSYS. Some functions are actually named
25802 something starting with __ and the normal name is an alias. */
25803 #if defined __stub_$ac_func || defined __stub___$ac_func
25804 choke me
25805 #endif
25806
25807 int
25808 main ()
25809 {
25810 return $ac_func ();
25811 ;
25812 return 0;
25813 }
25814 _ACEOF
25815 rm -f conftest.$ac_objext conftest$ac_exeext
25816 if { (ac_try="$ac_link"
25817 case "(($ac_try" in
25818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25819 *) ac_try_echo=$ac_try;;
25820 esac
25821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25822 (eval "$ac_link") 2>conftest.er1
25823 ac_status=$?
25824 grep -v '^ *+' conftest.er1 >conftest.err
25825 rm -f conftest.er1
25826 cat conftest.err >&5
25827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25828 (exit $ac_status); } && {
25829 test -z "$ac_c_werror_flag" ||
25830 test ! -s conftest.err
25831 } && test -s conftest$ac_exeext &&
25832 $as_test_x conftest$ac_exeext; then
25833 eval "$as_ac_var=yes"
25834 else
25835 echo "$as_me: failed program was:" >&5
25836 sed 's/^/| /' conftest.$ac_ext >&5
25837
25838 eval "$as_ac_var=no"
25839 fi
25840
25841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25842 conftest$ac_exeext conftest.$ac_ext
25843 fi
25844 ac_res=`eval echo '${'$as_ac_var'}'`
25845 { echo "$as_me:$LINENO: result: $ac_res" >&5
25846 echo "${ECHO_T}$ac_res" >&6; }
25847 if test `eval echo '${'$as_ac_var'}'` = yes; then
25848 cat >>confdefs.h <<_ACEOF
25849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25850 _ACEOF
25851 have_cos=1
25852 fi
25853 done
25854
25855
25856 for ac_func in floor
25857 do
25858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25859 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25861 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25862 echo $ECHO_N "(cached) $ECHO_C" >&6
25863 else
25864 cat >conftest.$ac_ext <<_ACEOF
25865 /* confdefs.h. */
25866 _ACEOF
25867 cat confdefs.h >>conftest.$ac_ext
25868 cat >>conftest.$ac_ext <<_ACEOF
25869 /* end confdefs.h. */
25870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25872 #define $ac_func innocuous_$ac_func
25873
25874 /* System header to define __stub macros and hopefully few prototypes,
25875 which can conflict with char $ac_func (); below.
25876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25877 <limits.h> exists even on freestanding compilers. */
25878
25879 #ifdef __STDC__
25880 # include <limits.h>
25881 #else
25882 # include <assert.h>
25883 #endif
25884
25885 #undef $ac_func
25886
25887 /* Override any GCC internal prototype to avoid an error.
25888 Use char because int might match the return type of a GCC
25889 builtin and then its argument prototype would still apply. */
25890 #ifdef __cplusplus
25891 extern "C"
25892 #endif
25893 char $ac_func ();
25894 /* The GNU C library defines this for functions which it implements
25895 to always fail with ENOSYS. Some functions are actually named
25896 something starting with __ and the normal name is an alias. */
25897 #if defined __stub_$ac_func || defined __stub___$ac_func
25898 choke me
25899 #endif
25900
25901 int
25902 main ()
25903 {
25904 return $ac_func ();
25905 ;
25906 return 0;
25907 }
25908 _ACEOF
25909 rm -f conftest.$ac_objext conftest$ac_exeext
25910 if { (ac_try="$ac_link"
25911 case "(($ac_try" in
25912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25913 *) ac_try_echo=$ac_try;;
25914 esac
25915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25916 (eval "$ac_link") 2>conftest.er1
25917 ac_status=$?
25918 grep -v '^ *+' conftest.er1 >conftest.err
25919 rm -f conftest.er1
25920 cat conftest.err >&5
25921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922 (exit $ac_status); } && {
25923 test -z "$ac_c_werror_flag" ||
25924 test ! -s conftest.err
25925 } && test -s conftest$ac_exeext &&
25926 $as_test_x conftest$ac_exeext; then
25927 eval "$as_ac_var=yes"
25928 else
25929 echo "$as_me: failed program was:" >&5
25930 sed 's/^/| /' conftest.$ac_ext >&5
25931
25932 eval "$as_ac_var=no"
25933 fi
25934
25935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25936 conftest$ac_exeext conftest.$ac_ext
25937 fi
25938 ac_res=`eval echo '${'$as_ac_var'}'`
25939 { echo "$as_me:$LINENO: result: $ac_res" >&5
25940 echo "${ECHO_T}$ac_res" >&6; }
25941 if test `eval echo '${'$as_ac_var'}'` = yes; then
25942 cat >>confdefs.h <<_ACEOF
25943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25944 _ACEOF
25945 have_floor=1
25946 fi
25947 done
25948
25949 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25950 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25951 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25952 { echo "$as_me:$LINENO: result: yes" >&5
25953 echo "${ECHO_T}yes" >&6; }
25954 else
25955 { echo "$as_me:$LINENO: result: no" >&5
25956 echo "${ECHO_T}no" >&6; }
25957 LIBS="$LIBS -lm"
25958 # use different functions to avoid configure caching
25959 have_sin=0
25960 have_ceil=0
25961
25962 for ac_func in sin
25963 do
25964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25965 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25967 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25968 echo $ECHO_N "(cached) $ECHO_C" >&6
25969 else
25970 cat >conftest.$ac_ext <<_ACEOF
25971 /* confdefs.h. */
25972 _ACEOF
25973 cat confdefs.h >>conftest.$ac_ext
25974 cat >>conftest.$ac_ext <<_ACEOF
25975 /* end confdefs.h. */
25976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25978 #define $ac_func innocuous_$ac_func
25979
25980 /* System header to define __stub macros and hopefully few prototypes,
25981 which can conflict with char $ac_func (); below.
25982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25983 <limits.h> exists even on freestanding compilers. */
25984
25985 #ifdef __STDC__
25986 # include <limits.h>
25987 #else
25988 # include <assert.h>
25989 #endif
25990
25991 #undef $ac_func
25992
25993 /* Override any GCC internal prototype to avoid an error.
25994 Use char because int might match the return type of a GCC
25995 builtin and then its argument prototype would still apply. */
25996 #ifdef __cplusplus
25997 extern "C"
25998 #endif
25999 char $ac_func ();
26000 /* The GNU C library defines this for functions which it implements
26001 to always fail with ENOSYS. Some functions are actually named
26002 something starting with __ and the normal name is an alias. */
26003 #if defined __stub_$ac_func || defined __stub___$ac_func
26004 choke me
26005 #endif
26006
26007 int
26008 main ()
26009 {
26010 return $ac_func ();
26011 ;
26012 return 0;
26013 }
26014 _ACEOF
26015 rm -f conftest.$ac_objext conftest$ac_exeext
26016 if { (ac_try="$ac_link"
26017 case "(($ac_try" in
26018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26019 *) ac_try_echo=$ac_try;;
26020 esac
26021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26022 (eval "$ac_link") 2>conftest.er1
26023 ac_status=$?
26024 grep -v '^ *+' conftest.er1 >conftest.err
26025 rm -f conftest.er1
26026 cat conftest.err >&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); } && {
26029 test -z "$ac_c_werror_flag" ||
26030 test ! -s conftest.err
26031 } && test -s conftest$ac_exeext &&
26032 $as_test_x conftest$ac_exeext; then
26033 eval "$as_ac_var=yes"
26034 else
26035 echo "$as_me: failed program was:" >&5
26036 sed 's/^/| /' conftest.$ac_ext >&5
26037
26038 eval "$as_ac_var=no"
26039 fi
26040
26041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26042 conftest$ac_exeext conftest.$ac_ext
26043 fi
26044 ac_res=`eval echo '${'$as_ac_var'}'`
26045 { echo "$as_me:$LINENO: result: $ac_res" >&5
26046 echo "${ECHO_T}$ac_res" >&6; }
26047 if test `eval echo '${'$as_ac_var'}'` = yes; then
26048 cat >>confdefs.h <<_ACEOF
26049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26050 _ACEOF
26051 have_sin=1
26052 fi
26053 done
26054
26055
26056 for ac_func in ceil
26057 do
26058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26059 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26061 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26063 else
26064 cat >conftest.$ac_ext <<_ACEOF
26065 /* confdefs.h. */
26066 _ACEOF
26067 cat confdefs.h >>conftest.$ac_ext
26068 cat >>conftest.$ac_ext <<_ACEOF
26069 /* end confdefs.h. */
26070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26072 #define $ac_func innocuous_$ac_func
26073
26074 /* System header to define __stub macros and hopefully few prototypes,
26075 which can conflict with char $ac_func (); below.
26076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26077 <limits.h> exists even on freestanding compilers. */
26078
26079 #ifdef __STDC__
26080 # include <limits.h>
26081 #else
26082 # include <assert.h>
26083 #endif
26084
26085 #undef $ac_func
26086
26087 /* Override any GCC internal prototype to avoid an error.
26088 Use char because int might match the return type of a GCC
26089 builtin and then its argument prototype would still apply. */
26090 #ifdef __cplusplus
26091 extern "C"
26092 #endif
26093 char $ac_func ();
26094 /* The GNU C library defines this for functions which it implements
26095 to always fail with ENOSYS. Some functions are actually named
26096 something starting with __ and the normal name is an alias. */
26097 #if defined __stub_$ac_func || defined __stub___$ac_func
26098 choke me
26099 #endif
26100
26101 int
26102 main ()
26103 {
26104 return $ac_func ();
26105 ;
26106 return 0;
26107 }
26108 _ACEOF
26109 rm -f conftest.$ac_objext conftest$ac_exeext
26110 if { (ac_try="$ac_link"
26111 case "(($ac_try" in
26112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26113 *) ac_try_echo=$ac_try;;
26114 esac
26115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26116 (eval "$ac_link") 2>conftest.er1
26117 ac_status=$?
26118 grep -v '^ *+' conftest.er1 >conftest.err
26119 rm -f conftest.er1
26120 cat conftest.err >&5
26121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26122 (exit $ac_status); } && {
26123 test -z "$ac_c_werror_flag" ||
26124 test ! -s conftest.err
26125 } && test -s conftest$ac_exeext &&
26126 $as_test_x conftest$ac_exeext; then
26127 eval "$as_ac_var=yes"
26128 else
26129 echo "$as_me: failed program was:" >&5
26130 sed 's/^/| /' conftest.$ac_ext >&5
26131
26132 eval "$as_ac_var=no"
26133 fi
26134
26135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26136 conftest$ac_exeext conftest.$ac_ext
26137 fi
26138 ac_res=`eval echo '${'$as_ac_var'}'`
26139 { echo "$as_me:$LINENO: result: $ac_res" >&5
26140 echo "${ECHO_T}$ac_res" >&6; }
26141 if test `eval echo '${'$as_ac_var'}'` = yes; then
26142 cat >>confdefs.h <<_ACEOF
26143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26144 _ACEOF
26145 have_ceil=1
26146 fi
26147 done
26148
26149 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26150 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26151 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26152 { echo "$as_me:$LINENO: result: yes" >&5
26153 echo "${ECHO_T}yes" >&6; }
26154 else
26155 { echo "$as_me:$LINENO: result: no" >&5
26156 echo "${ECHO_T}no" >&6; }
26157 # not sure we should warn the user, crash, etc.
26158 fi
26159 fi
26160
26161 ac_ext=cpp
26162 ac_cpp='$CXXCPP $CPPFLAGS'
26163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26166
26167 if test "wxUSE_UNICODE" = "yes"; then
26168
26169 for wx_func in wcstoull
26170 do
26171 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26172 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26173 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26174 echo $ECHO_N "(cached) $ECHO_C" >&6
26175 else
26176
26177 cat >conftest.$ac_ext <<_ACEOF
26178
26179 /* confdefs.h. */
26180 _ACEOF
26181 cat confdefs.h >>conftest.$ac_ext
26182 cat >>conftest.$ac_ext <<_ACEOF
26183 /* end confdefs.h. */
26184
26185
26186 $ac_includes_default
26187
26188 int
26189 main ()
26190 {
26191
26192 #ifndef $wx_func
26193 &$wx_func;
26194 #endif
26195
26196
26197 ;
26198 return 0;
26199 }
26200
26201 _ACEOF
26202 rm -f conftest.$ac_objext conftest$ac_exeext
26203 if { (ac_try="$ac_link"
26204 case "(($ac_try" in
26205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26206 *) ac_try_echo=$ac_try;;
26207 esac
26208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26209 (eval "$ac_link") 2>conftest.er1
26210 ac_status=$?
26211 grep -v '^ *+' conftest.er1 >conftest.err
26212 rm -f conftest.er1
26213 cat conftest.err >&5
26214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26215 (exit $ac_status); } && {
26216 test -z "$ac_cxx_werror_flag" ||
26217 test ! -s conftest.err
26218 } && test -s conftest$ac_exeext &&
26219 $as_test_x conftest$ac_exeext; then
26220 eval wx_cv_func_$wx_func=yes
26221 else
26222 echo "$as_me: failed program was:" >&5
26223 sed 's/^/| /' conftest.$ac_ext >&5
26224
26225 eval wx_cv_func_$wx_func=no
26226 fi
26227
26228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26229 conftest$ac_exeext conftest.$ac_ext
26230
26231 fi
26232 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26233 { echo "$as_me:$LINENO: result: $ac_res" >&5
26234 echo "${ECHO_T}$ac_res" >&6; }
26235
26236 if eval test \$wx_cv_func_$wx_func = yes
26237 then
26238 cat >>confdefs.h <<_ACEOF
26239 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26240 _ACEOF
26241
26242
26243 else
26244 :
26245
26246 fi
26247 done
26248
26249 else
26250
26251 for wx_func in strtoull
26252 do
26253 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26254 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26255 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26256 echo $ECHO_N "(cached) $ECHO_C" >&6
26257 else
26258
26259 cat >conftest.$ac_ext <<_ACEOF
26260
26261 /* confdefs.h. */
26262 _ACEOF
26263 cat confdefs.h >>conftest.$ac_ext
26264 cat >>conftest.$ac_ext <<_ACEOF
26265 /* end confdefs.h. */
26266
26267
26268 $ac_includes_default
26269
26270 int
26271 main ()
26272 {
26273
26274 #ifndef $wx_func
26275 &$wx_func;
26276 #endif
26277
26278
26279 ;
26280 return 0;
26281 }
26282
26283 _ACEOF
26284 rm -f conftest.$ac_objext conftest$ac_exeext
26285 if { (ac_try="$ac_link"
26286 case "(($ac_try" in
26287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26288 *) ac_try_echo=$ac_try;;
26289 esac
26290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26291 (eval "$ac_link") 2>conftest.er1
26292 ac_status=$?
26293 grep -v '^ *+' conftest.er1 >conftest.err
26294 rm -f conftest.er1
26295 cat conftest.err >&5
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); } && {
26298 test -z "$ac_cxx_werror_flag" ||
26299 test ! -s conftest.err
26300 } && test -s conftest$ac_exeext &&
26301 $as_test_x conftest$ac_exeext; then
26302 eval wx_cv_func_$wx_func=yes
26303 else
26304 echo "$as_me: failed program was:" >&5
26305 sed 's/^/| /' conftest.$ac_ext >&5
26306
26307 eval wx_cv_func_$wx_func=no
26308 fi
26309
26310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26311 conftest$ac_exeext conftest.$ac_ext
26312
26313 fi
26314 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26315 { echo "$as_me:$LINENO: result: $ac_res" >&5
26316 echo "${ECHO_T}$ac_res" >&6; }
26317
26318 if eval test \$wx_cv_func_$wx_func = yes
26319 then
26320 cat >>confdefs.h <<_ACEOF
26321 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26322 _ACEOF
26323
26324
26325 else
26326 :
26327
26328 fi
26329 done
26330
26331 fi
26332 ac_ext=c
26333 ac_cpp='$CPP $CPPFLAGS'
26334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26337
26338
26339
26340
26341 if test "$wxUSE_REGEX" != "no"; then
26342 cat >>confdefs.h <<\_ACEOF
26343 #define wxUSE_REGEX 1
26344 _ACEOF
26345
26346
26347 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26348 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26349 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26350 wxUSE_REGEX=builtin
26351 fi
26352
26353 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26354 { echo "$as_me:$LINENO: checking for regex.h" >&5
26355 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26356 if test "${ac_cv_header_regex_h+set}" = set; then
26357 echo $ECHO_N "(cached) $ECHO_C" >&6
26358 else
26359 cat >conftest.$ac_ext <<_ACEOF
26360 /* confdefs.h. */
26361 _ACEOF
26362 cat confdefs.h >>conftest.$ac_ext
26363 cat >>conftest.$ac_ext <<_ACEOF
26364 /* end confdefs.h. */
26365
26366
26367 #include <regex.h>
26368 _ACEOF
26369 rm -f conftest.$ac_objext
26370 if { (ac_try="$ac_compile"
26371 case "(($ac_try" in
26372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26373 *) ac_try_echo=$ac_try;;
26374 esac
26375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26376 (eval "$ac_compile") 2>conftest.er1
26377 ac_status=$?
26378 grep -v '^ *+' conftest.er1 >conftest.err
26379 rm -f conftest.er1
26380 cat conftest.err >&5
26381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382 (exit $ac_status); } && {
26383 test -z "$ac_c_werror_flag" ||
26384 test ! -s conftest.err
26385 } && test -s conftest.$ac_objext; then
26386 ac_cv_header_regex_h=yes
26387 else
26388 echo "$as_me: failed program was:" >&5
26389 sed 's/^/| /' conftest.$ac_ext >&5
26390
26391 ac_cv_header_regex_h=no
26392 fi
26393
26394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26395 fi
26396 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26397 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26398 if test $ac_cv_header_regex_h = yes; then
26399
26400
26401 for ac_func in regcomp re_search
26402 do
26403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26404 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26406 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26407 echo $ECHO_N "(cached) $ECHO_C" >&6
26408 else
26409 cat >conftest.$ac_ext <<_ACEOF
26410 /* confdefs.h. */
26411 _ACEOF
26412 cat confdefs.h >>conftest.$ac_ext
26413 cat >>conftest.$ac_ext <<_ACEOF
26414 /* end confdefs.h. */
26415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26417 #define $ac_func innocuous_$ac_func
26418
26419 /* System header to define __stub macros and hopefully few prototypes,
26420 which can conflict with char $ac_func (); below.
26421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26422 <limits.h> exists even on freestanding compilers. */
26423
26424 #ifdef __STDC__
26425 # include <limits.h>
26426 #else
26427 # include <assert.h>
26428 #endif
26429
26430 #undef $ac_func
26431
26432 /* Override any GCC internal prototype to avoid an error.
26433 Use char because int might match the return type of a GCC
26434 builtin and then its argument prototype would still apply. */
26435 #ifdef __cplusplus
26436 extern "C"
26437 #endif
26438 char $ac_func ();
26439 /* The GNU C library defines this for functions which it implements
26440 to always fail with ENOSYS. Some functions are actually named
26441 something starting with __ and the normal name is an alias. */
26442 #if defined __stub_$ac_func || defined __stub___$ac_func
26443 choke me
26444 #endif
26445
26446 int
26447 main ()
26448 {
26449 return $ac_func ();
26450 ;
26451 return 0;
26452 }
26453 _ACEOF
26454 rm -f conftest.$ac_objext conftest$ac_exeext
26455 if { (ac_try="$ac_link"
26456 case "(($ac_try" in
26457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26458 *) ac_try_echo=$ac_try;;
26459 esac
26460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26461 (eval "$ac_link") 2>conftest.er1
26462 ac_status=$?
26463 grep -v '^ *+' conftest.er1 >conftest.err
26464 rm -f conftest.er1
26465 cat conftest.err >&5
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); } && {
26468 test -z "$ac_c_werror_flag" ||
26469 test ! -s conftest.err
26470 } && test -s conftest$ac_exeext &&
26471 $as_test_x conftest$ac_exeext; then
26472 eval "$as_ac_var=yes"
26473 else
26474 echo "$as_me: failed program was:" >&5
26475 sed 's/^/| /' conftest.$ac_ext >&5
26476
26477 eval "$as_ac_var=no"
26478 fi
26479
26480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26481 conftest$ac_exeext conftest.$ac_ext
26482 fi
26483 ac_res=`eval echo '${'$as_ac_var'}'`
26484 { echo "$as_me:$LINENO: result: $ac_res" >&5
26485 echo "${ECHO_T}$ac_res" >&6; }
26486 if test `eval echo '${'$as_ac_var'}'` = yes; then
26487 cat >>confdefs.h <<_ACEOF
26488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26489 _ACEOF
26490
26491 fi
26492 done
26493
26494 fi
26495
26496
26497
26498 if test "x$ac_cv_func_regcomp" != "xyes"; then
26499 if test "$wxUSE_REGEX" = "sys" ; then
26500 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26501 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26502 { (exit 1); exit 1; }; }
26503 else
26504 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26505 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26506 wxUSE_REGEX=builtin
26507 fi
26508 else
26509 wxUSE_REGEX=sys
26510 cat >>confdefs.h <<\_ACEOF
26511 #define WX_NO_REGEX_ADVANCED 1
26512 _ACEOF
26513
26514 fi
26515 fi
26516 fi
26517
26518
26519 ZLIB_LINK=
26520 if test "$wxUSE_ZLIB" != "no" ; then
26521 cat >>confdefs.h <<\_ACEOF
26522 #define wxUSE_ZLIB 1
26523 _ACEOF
26524
26525
26526 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26527 if test "$USE_DARWIN" = 1; then
26528 system_zlib_h_ok="yes"
26529 else
26530 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26531 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26532 if test "${ac_cv_header_zlib_h+set}" = set; then
26533 echo $ECHO_N "(cached) $ECHO_C" >&6
26534 else
26535 if test "$cross_compiling" = yes; then
26536 unset ac_cv_header_zlib_h
26537
26538 else
26539 cat >conftest.$ac_ext <<_ACEOF
26540 /* confdefs.h. */
26541 _ACEOF
26542 cat confdefs.h >>conftest.$ac_ext
26543 cat >>conftest.$ac_ext <<_ACEOF
26544 /* end confdefs.h. */
26545
26546 #include <zlib.h>
26547 #include <stdio.h>
26548
26549 int main()
26550 {
26551 FILE *f=fopen("conftestval", "w");
26552 if (!f) exit(1);
26553 fprintf(f, "%s",
26554 ZLIB_VERSION[0] == '1' &&
26555 (ZLIB_VERSION[2] > '1' ||
26556 (ZLIB_VERSION[2] == '1' &&
26557 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26558 exit(0);
26559 }
26560
26561 _ACEOF
26562 rm -f conftest$ac_exeext
26563 if { (ac_try="$ac_link"
26564 case "(($ac_try" in
26565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26566 *) ac_try_echo=$ac_try;;
26567 esac
26568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26569 (eval "$ac_link") 2>&5
26570 ac_status=$?
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26573 { (case "(($ac_try" in
26574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26575 *) ac_try_echo=$ac_try;;
26576 esac
26577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26578 (eval "$ac_try") 2>&5
26579 ac_status=$?
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); }; }; then
26582 ac_cv_header_zlib_h=`cat conftestval`
26583 else
26584 echo "$as_me: program exited with status $ac_status" >&5
26585 echo "$as_me: failed program was:" >&5
26586 sed 's/^/| /' conftest.$ac_ext >&5
26587
26588 ( exit $ac_status )
26589 ac_cv_header_zlib_h=no
26590 fi
26591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26592 fi
26593
26594
26595
26596 fi
26597 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26598 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26599 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26600 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26601 if test "${ac_cv_header_zlib_h+set}" = set; then
26602 echo $ECHO_N "(cached) $ECHO_C" >&6
26603 else
26604 cat >conftest.$ac_ext <<_ACEOF
26605 /* confdefs.h. */
26606 _ACEOF
26607 cat confdefs.h >>conftest.$ac_ext
26608 cat >>conftest.$ac_ext <<_ACEOF
26609 /* end confdefs.h. */
26610
26611
26612 #include <zlib.h>
26613 _ACEOF
26614 rm -f conftest.$ac_objext
26615 if { (ac_try="$ac_compile"
26616 case "(($ac_try" in
26617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26618 *) ac_try_echo=$ac_try;;
26619 esac
26620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26621 (eval "$ac_compile") 2>conftest.er1
26622 ac_status=$?
26623 grep -v '^ *+' conftest.er1 >conftest.err
26624 rm -f conftest.er1
26625 cat conftest.err >&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); } && {
26628 test -z "$ac_c_werror_flag" ||
26629 test ! -s conftest.err
26630 } && test -s conftest.$ac_objext; then
26631 ac_cv_header_zlib_h=yes
26632 else
26633 echo "$as_me: failed program was:" >&5
26634 sed 's/^/| /' conftest.$ac_ext >&5
26635
26636 ac_cv_header_zlib_h=no
26637 fi
26638
26639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26640 fi
26641 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26642 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26643
26644
26645
26646 system_zlib_h_ok=$ac_cv_header_zlib_h
26647 fi
26648
26649 if test "$system_zlib_h_ok" = "yes"; then
26650 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26651 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26652 if test "${ac_cv_lib_z_deflate+set}" = set; then
26653 echo $ECHO_N "(cached) $ECHO_C" >&6
26654 else
26655 ac_check_lib_save_LIBS=$LIBS
26656 LIBS="-lz $LIBS"
26657 cat >conftest.$ac_ext <<_ACEOF
26658 /* confdefs.h. */
26659 _ACEOF
26660 cat confdefs.h >>conftest.$ac_ext
26661 cat >>conftest.$ac_ext <<_ACEOF
26662 /* end confdefs.h. */
26663
26664 /* Override any GCC internal prototype to avoid an error.
26665 Use char because int might match the return type of a GCC
26666 builtin and then its argument prototype would still apply. */
26667 #ifdef __cplusplus
26668 extern "C"
26669 #endif
26670 char deflate ();
26671 int
26672 main ()
26673 {
26674 return deflate ();
26675 ;
26676 return 0;
26677 }
26678 _ACEOF
26679 rm -f conftest.$ac_objext conftest$ac_exeext
26680 if { (ac_try="$ac_link"
26681 case "(($ac_try" in
26682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26683 *) ac_try_echo=$ac_try;;
26684 esac
26685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26686 (eval "$ac_link") 2>conftest.er1
26687 ac_status=$?
26688 grep -v '^ *+' conftest.er1 >conftest.err
26689 rm -f conftest.er1
26690 cat conftest.err >&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); } && {
26693 test -z "$ac_c_werror_flag" ||
26694 test ! -s conftest.err
26695 } && test -s conftest$ac_exeext &&
26696 $as_test_x conftest$ac_exeext; then
26697 ac_cv_lib_z_deflate=yes
26698 else
26699 echo "$as_me: failed program was:" >&5
26700 sed 's/^/| /' conftest.$ac_ext >&5
26701
26702 ac_cv_lib_z_deflate=no
26703 fi
26704
26705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26706 conftest$ac_exeext conftest.$ac_ext
26707 LIBS=$ac_check_lib_save_LIBS
26708 fi
26709 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26710 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26711 if test $ac_cv_lib_z_deflate = yes; then
26712 ZLIB_LINK=" -lz"
26713 fi
26714
26715 fi
26716
26717 if test "x$ZLIB_LINK" = "x" ; then
26718 if test "$wxUSE_ZLIB" = "sys" ; then
26719 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26720 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26721 { (exit 1); exit 1; }; }
26722 else
26723 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26724 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26725 wxUSE_ZLIB=builtin
26726 fi
26727 else
26728 wxUSE_ZLIB=sys
26729 fi
26730 fi
26731 fi
26732
26733
26734 PNG_LINK=
26735 if test "$wxUSE_LIBPNG" != "no" ; then
26736 cat >>confdefs.h <<\_ACEOF
26737 #define wxUSE_LIBPNG 1
26738 _ACEOF
26739
26740
26741 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26742 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26743 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26744 wxUSE_LIBPNG=sys
26745 fi
26746
26747 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26748 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26749 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26750 wxUSE_LIBPNG=builtin
26751 fi
26752
26753 if test "$wxUSE_MGL" != 1 ; then
26754 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26755 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26756 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26757 if test "${ac_cv_header_png_h+set}" = set; then
26758 echo $ECHO_N "(cached) $ECHO_C" >&6
26759 else
26760 if test "$cross_compiling" = yes; then
26761 unset ac_cv_header_png_h
26762
26763 else
26764 cat >conftest.$ac_ext <<_ACEOF
26765 /* confdefs.h. */
26766 _ACEOF
26767 cat confdefs.h >>conftest.$ac_ext
26768 cat >>conftest.$ac_ext <<_ACEOF
26769 /* end confdefs.h. */
26770
26771 #include <png.h>
26772 #include <stdio.h>
26773
26774 int main()
26775 {
26776 FILE *f=fopen("conftestval", "w");
26777 if (!f) exit(1);
26778 fprintf(f, "%s",
26779 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26780 exit(0);
26781 }
26782
26783 _ACEOF
26784 rm -f conftest$ac_exeext
26785 if { (ac_try="$ac_link"
26786 case "(($ac_try" in
26787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26788 *) ac_try_echo=$ac_try;;
26789 esac
26790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26791 (eval "$ac_link") 2>&5
26792 ac_status=$?
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26795 { (case "(($ac_try" in
26796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26797 *) ac_try_echo=$ac_try;;
26798 esac
26799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26800 (eval "$ac_try") 2>&5
26801 ac_status=$?
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); }; }; then
26804 ac_cv_header_png_h=`cat conftestval`
26805 else
26806 echo "$as_me: program exited with status $ac_status" >&5
26807 echo "$as_me: failed program was:" >&5
26808 sed 's/^/| /' conftest.$ac_ext >&5
26809
26810 ( exit $ac_status )
26811 ac_cv_header_png_h=no
26812 fi
26813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26814 fi
26815
26816
26817
26818 fi
26819 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26820 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26821 { echo "$as_me:$LINENO: checking for png.h" >&5
26822 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26823 if test "${ac_cv_header_png_h+set}" = set; then
26824 echo $ECHO_N "(cached) $ECHO_C" >&6
26825 else
26826 cat >conftest.$ac_ext <<_ACEOF
26827 /* confdefs.h. */
26828 _ACEOF
26829 cat confdefs.h >>conftest.$ac_ext
26830 cat >>conftest.$ac_ext <<_ACEOF
26831 /* end confdefs.h. */
26832
26833
26834 #include <png.h>
26835 _ACEOF
26836 rm -f conftest.$ac_objext
26837 if { (ac_try="$ac_compile"
26838 case "(($ac_try" in
26839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26840 *) ac_try_echo=$ac_try;;
26841 esac
26842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26843 (eval "$ac_compile") 2>conftest.er1
26844 ac_status=$?
26845 grep -v '^ *+' conftest.er1 >conftest.err
26846 rm -f conftest.er1
26847 cat conftest.err >&5
26848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849 (exit $ac_status); } && {
26850 test -z "$ac_c_werror_flag" ||
26851 test ! -s conftest.err
26852 } && test -s conftest.$ac_objext; then
26853 ac_cv_header_png_h=yes
26854 else
26855 echo "$as_me: failed program was:" >&5
26856 sed 's/^/| /' conftest.$ac_ext >&5
26857
26858 ac_cv_header_png_h=no
26859 fi
26860
26861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26862 fi
26863 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26864 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26865
26866
26867
26868 if test "$ac_cv_header_png_h" = "yes"; then
26869 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26870 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26871 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26872 echo $ECHO_N "(cached) $ECHO_C" >&6
26873 else
26874 ac_check_lib_save_LIBS=$LIBS
26875 LIBS="-lpng -lz -lm $LIBS"
26876 cat >conftest.$ac_ext <<_ACEOF
26877 /* confdefs.h. */
26878 _ACEOF
26879 cat confdefs.h >>conftest.$ac_ext
26880 cat >>conftest.$ac_ext <<_ACEOF
26881 /* end confdefs.h. */
26882
26883 /* Override any GCC internal prototype to avoid an error.
26884 Use char because int might match the return type of a GCC
26885 builtin and then its argument prototype would still apply. */
26886 #ifdef __cplusplus
26887 extern "C"
26888 #endif
26889 char png_check_sig ();
26890 int
26891 main ()
26892 {
26893 return png_check_sig ();
26894 ;
26895 return 0;
26896 }
26897 _ACEOF
26898 rm -f conftest.$ac_objext conftest$ac_exeext
26899 if { (ac_try="$ac_link"
26900 case "(($ac_try" in
26901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26902 *) ac_try_echo=$ac_try;;
26903 esac
26904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26905 (eval "$ac_link") 2>conftest.er1
26906 ac_status=$?
26907 grep -v '^ *+' conftest.er1 >conftest.err
26908 rm -f conftest.er1
26909 cat conftest.err >&5
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); } && {
26912 test -z "$ac_c_werror_flag" ||
26913 test ! -s conftest.err
26914 } && test -s conftest$ac_exeext &&
26915 $as_test_x conftest$ac_exeext; then
26916 ac_cv_lib_png_png_check_sig=yes
26917 else
26918 echo "$as_me: failed program was:" >&5
26919 sed 's/^/| /' conftest.$ac_ext >&5
26920
26921 ac_cv_lib_png_png_check_sig=no
26922 fi
26923
26924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26925 conftest$ac_exeext conftest.$ac_ext
26926 LIBS=$ac_check_lib_save_LIBS
26927 fi
26928 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26929 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26930 if test $ac_cv_lib_png_png_check_sig = yes; then
26931 PNG_LINK=" -lpng -lz"
26932 fi
26933
26934 fi
26935
26936 if test "x$PNG_LINK" = "x" ; then
26937 if test "$wxUSE_LIBPNG" = "sys" ; then
26938 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26939 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26940 { (exit 1); exit 1; }; }
26941 else
26942 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26943 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26944 wxUSE_LIBPNG=builtin
26945 fi
26946 else
26947 wxUSE_LIBPNG=sys
26948 fi
26949 fi
26950 fi
26951 fi
26952
26953
26954 JPEG_LINK=
26955 if test "$wxUSE_LIBJPEG" != "no" ; then
26956 cat >>confdefs.h <<\_ACEOF
26957 #define wxUSE_LIBJPEG 1
26958 _ACEOF
26959
26960
26961 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26962 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26963 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26964 wxUSE_LIBJPEG=sys
26965 fi
26966
26967 if test "$wxUSE_MGL" != 1 ; then
26968 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26969 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26970 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26971 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26972 echo $ECHO_N "(cached) $ECHO_C" >&6
26973 else
26974 cat >conftest.$ac_ext <<_ACEOF
26975 /* confdefs.h. */
26976 _ACEOF
26977 cat confdefs.h >>conftest.$ac_ext
26978 cat >>conftest.$ac_ext <<_ACEOF
26979 /* end confdefs.h. */
26980
26981 #undef HAVE_STDLIB_H
26982 #include <stdio.h>
26983 #include <jpeglib.h>
26984
26985 int
26986 main ()
26987 {
26988
26989
26990 ;
26991 return 0;
26992 }
26993 _ACEOF
26994 rm -f conftest.$ac_objext
26995 if { (ac_try="$ac_compile"
26996 case "(($ac_try" in
26997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26998 *) ac_try_echo=$ac_try;;
26999 esac
27000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27001 (eval "$ac_compile") 2>conftest.er1
27002 ac_status=$?
27003 grep -v '^ *+' conftest.er1 >conftest.err
27004 rm -f conftest.er1
27005 cat conftest.err >&5
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); } && {
27008 test -z "$ac_c_werror_flag" ||
27009 test ! -s conftest.err
27010 } && test -s conftest.$ac_objext; then
27011 ac_cv_header_jpeglib_h=yes
27012 else
27013 echo "$as_me: failed program was:" >&5
27014 sed 's/^/| /' conftest.$ac_ext >&5
27015
27016 ac_cv_header_jpeglib_h=no
27017
27018 fi
27019
27020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27021
27022 fi
27023
27024 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27025 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27026
27027 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27028 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27029 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27030 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27031 echo $ECHO_N "(cached) $ECHO_C" >&6
27032 else
27033 ac_check_lib_save_LIBS=$LIBS
27034 LIBS="-ljpeg $LIBS"
27035 cat >conftest.$ac_ext <<_ACEOF
27036 /* confdefs.h. */
27037 _ACEOF
27038 cat confdefs.h >>conftest.$ac_ext
27039 cat >>conftest.$ac_ext <<_ACEOF
27040 /* end confdefs.h. */
27041
27042 /* Override any GCC internal prototype to avoid an error.
27043 Use char because int might match the return type of a GCC
27044 builtin and then its argument prototype would still apply. */
27045 #ifdef __cplusplus
27046 extern "C"
27047 #endif
27048 char jpeg_read_header ();
27049 int
27050 main ()
27051 {
27052 return jpeg_read_header ();
27053 ;
27054 return 0;
27055 }
27056 _ACEOF
27057 rm -f conftest.$ac_objext conftest$ac_exeext
27058 if { (ac_try="$ac_link"
27059 case "(($ac_try" in
27060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27061 *) ac_try_echo=$ac_try;;
27062 esac
27063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27064 (eval "$ac_link") 2>conftest.er1
27065 ac_status=$?
27066 grep -v '^ *+' conftest.er1 >conftest.err
27067 rm -f conftest.er1
27068 cat conftest.err >&5
27069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27070 (exit $ac_status); } && {
27071 test -z "$ac_c_werror_flag" ||
27072 test ! -s conftest.err
27073 } && test -s conftest$ac_exeext &&
27074 $as_test_x conftest$ac_exeext; then
27075 ac_cv_lib_jpeg_jpeg_read_header=yes
27076 else
27077 echo "$as_me: failed program was:" >&5
27078 sed 's/^/| /' conftest.$ac_ext >&5
27079
27080 ac_cv_lib_jpeg_jpeg_read_header=no
27081 fi
27082
27083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27084 conftest$ac_exeext conftest.$ac_ext
27085 LIBS=$ac_check_lib_save_LIBS
27086 fi
27087 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27088 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27089 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27090 JPEG_LINK=" -ljpeg"
27091 fi
27092
27093 fi
27094
27095 if test "x$JPEG_LINK" = "x" ; then
27096 if test "$wxUSE_LIBJPEG" = "sys" ; then
27097 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27098 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27099 { (exit 1); exit 1; }; }
27100 else
27101 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27102 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27103 wxUSE_LIBJPEG=builtin
27104 fi
27105 else
27106 wxUSE_LIBJPEG=sys
27107
27108 if test "$wxUSE_MSW" = 1; then
27109 { echo "$as_me:$LINENO: checking for boolean" >&5
27110 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27111 if test "${ac_cv_type_boolean+set}" = set; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27113 else
27114 cat >conftest.$ac_ext <<_ACEOF
27115 /* confdefs.h. */
27116 _ACEOF
27117 cat confdefs.h >>conftest.$ac_ext
27118 cat >>conftest.$ac_ext <<_ACEOF
27119 /* end confdefs.h. */
27120 #include <windows.h>
27121
27122 typedef boolean ac__type_new_;
27123 int
27124 main ()
27125 {
27126 if ((ac__type_new_ *) 0)
27127 return 0;
27128 if (sizeof (ac__type_new_))
27129 return 0;
27130 ;
27131 return 0;
27132 }
27133 _ACEOF
27134 rm -f conftest.$ac_objext
27135 if { (ac_try="$ac_compile"
27136 case "(($ac_try" in
27137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27138 *) ac_try_echo=$ac_try;;
27139 esac
27140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27141 (eval "$ac_compile") 2>conftest.er1
27142 ac_status=$?
27143 grep -v '^ *+' conftest.er1 >conftest.err
27144 rm -f conftest.er1
27145 cat conftest.err >&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); } && {
27148 test -z "$ac_c_werror_flag" ||
27149 test ! -s conftest.err
27150 } && test -s conftest.$ac_objext; then
27151 ac_cv_type_boolean=yes
27152 else
27153 echo "$as_me: failed program was:" >&5
27154 sed 's/^/| /' conftest.$ac_ext >&5
27155
27156 ac_cv_type_boolean=no
27157 fi
27158
27159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27160 fi
27161 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27162 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27163 if test $ac_cv_type_boolean = yes; then
27164
27165 cat >>confdefs.h <<_ACEOF
27166 #define HAVE_BOOLEAN 1
27167 _ACEOF
27168
27169
27170 { echo "$as_me:$LINENO: checking for boolean" >&5
27171 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27172 if test "${ac_cv_type_boolean+set}" = set; then
27173 echo $ECHO_N "(cached) $ECHO_C" >&6
27174 else
27175 cat >conftest.$ac_ext <<_ACEOF
27176 /* confdefs.h. */
27177 _ACEOF
27178 cat confdefs.h >>conftest.$ac_ext
27179 cat >>conftest.$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27181
27182 #undef HAVE_BOOLEAN
27183 #include <stdio.h>
27184 #include <jpeglib.h>
27185
27186
27187 typedef boolean ac__type_new_;
27188 int
27189 main ()
27190 {
27191 if ((ac__type_new_ *) 0)
27192 return 0;
27193 if (sizeof (ac__type_new_))
27194 return 0;
27195 ;
27196 return 0;
27197 }
27198 _ACEOF
27199 rm -f conftest.$ac_objext
27200 if { (ac_try="$ac_compile"
27201 case "(($ac_try" in
27202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27203 *) ac_try_echo=$ac_try;;
27204 esac
27205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27206 (eval "$ac_compile") 2>conftest.er1
27207 ac_status=$?
27208 grep -v '^ *+' conftest.er1 >conftest.err
27209 rm -f conftest.er1
27210 cat conftest.err >&5
27211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212 (exit $ac_status); } && {
27213 test -z "$ac_c_werror_flag" ||
27214 test ! -s conftest.err
27215 } && test -s conftest.$ac_objext; then
27216 ac_cv_type_boolean=yes
27217 else
27218 echo "$as_me: failed program was:" >&5
27219 sed 's/^/| /' conftest.$ac_ext >&5
27220
27221 ac_cv_type_boolean=no
27222 fi
27223
27224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27225 fi
27226 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27227 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27228
27229 # The cast to long int works around a bug in the HP C Compiler
27230 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27231 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27232 # This bug is HP SR number 8606223364.
27233 { echo "$as_me:$LINENO: checking size of boolean" >&5
27234 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27235 if test "${ac_cv_sizeof_boolean+set}" = set; then
27236 echo $ECHO_N "(cached) $ECHO_C" >&6
27237 else
27238 if test "$cross_compiling" = yes; then
27239 # Depending upon the size, compute the lo and hi bounds.
27240 cat >conftest.$ac_ext <<_ACEOF
27241 /* confdefs.h. */
27242 _ACEOF
27243 cat confdefs.h >>conftest.$ac_ext
27244 cat >>conftest.$ac_ext <<_ACEOF
27245 /* end confdefs.h. */
27246
27247 #undef HAVE_BOOLEAN
27248 #include <stdio.h>
27249 #include <jpeglib.h>
27250
27251
27252 typedef boolean ac__type_sizeof_;
27253 int
27254 main ()
27255 {
27256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27257 test_array [0] = 0
27258
27259 ;
27260 return 0;
27261 }
27262 _ACEOF
27263 rm -f conftest.$ac_objext
27264 if { (ac_try="$ac_compile"
27265 case "(($ac_try" in
27266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27267 *) ac_try_echo=$ac_try;;
27268 esac
27269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27270 (eval "$ac_compile") 2>conftest.er1
27271 ac_status=$?
27272 grep -v '^ *+' conftest.er1 >conftest.err
27273 rm -f conftest.er1
27274 cat conftest.err >&5
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); } && {
27277 test -z "$ac_c_werror_flag" ||
27278 test ! -s conftest.err
27279 } && test -s conftest.$ac_objext; then
27280 ac_lo=0 ac_mid=0
27281 while :; do
27282 cat >conftest.$ac_ext <<_ACEOF
27283 /* confdefs.h. */
27284 _ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27288
27289 #undef HAVE_BOOLEAN
27290 #include <stdio.h>
27291 #include <jpeglib.h>
27292
27293
27294 typedef boolean ac__type_sizeof_;
27295 int
27296 main ()
27297 {
27298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27299 test_array [0] = 0
27300
27301 ;
27302 return 0;
27303 }
27304 _ACEOF
27305 rm -f conftest.$ac_objext
27306 if { (ac_try="$ac_compile"
27307 case "(($ac_try" in
27308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27309 *) ac_try_echo=$ac_try;;
27310 esac
27311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27312 (eval "$ac_compile") 2>conftest.er1
27313 ac_status=$?
27314 grep -v '^ *+' conftest.er1 >conftest.err
27315 rm -f conftest.er1
27316 cat conftest.err >&5
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); } && {
27319 test -z "$ac_c_werror_flag" ||
27320 test ! -s conftest.err
27321 } && test -s conftest.$ac_objext; then
27322 ac_hi=$ac_mid; break
27323 else
27324 echo "$as_me: failed program was:" >&5
27325 sed 's/^/| /' conftest.$ac_ext >&5
27326
27327 ac_lo=`expr $ac_mid + 1`
27328 if test $ac_lo -le $ac_mid; then
27329 ac_lo= ac_hi=
27330 break
27331 fi
27332 ac_mid=`expr 2 '*' $ac_mid + 1`
27333 fi
27334
27335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27336 done
27337 else
27338 echo "$as_me: failed program was:" >&5
27339 sed 's/^/| /' conftest.$ac_ext >&5
27340
27341 cat >conftest.$ac_ext <<_ACEOF
27342 /* confdefs.h. */
27343 _ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347
27348 #undef HAVE_BOOLEAN
27349 #include <stdio.h>
27350 #include <jpeglib.h>
27351
27352
27353 typedef boolean ac__type_sizeof_;
27354 int
27355 main ()
27356 {
27357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27358 test_array [0] = 0
27359
27360 ;
27361 return 0;
27362 }
27363 _ACEOF
27364 rm -f conftest.$ac_objext
27365 if { (ac_try="$ac_compile"
27366 case "(($ac_try" in
27367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27368 *) ac_try_echo=$ac_try;;
27369 esac
27370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27371 (eval "$ac_compile") 2>conftest.er1
27372 ac_status=$?
27373 grep -v '^ *+' conftest.er1 >conftest.err
27374 rm -f conftest.er1
27375 cat conftest.err >&5
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); } && {
27378 test -z "$ac_c_werror_flag" ||
27379 test ! -s conftest.err
27380 } && test -s conftest.$ac_objext; then
27381 ac_hi=-1 ac_mid=-1
27382 while :; do
27383 cat >conftest.$ac_ext <<_ACEOF
27384 /* confdefs.h. */
27385 _ACEOF
27386 cat confdefs.h >>conftest.$ac_ext
27387 cat >>conftest.$ac_ext <<_ACEOF
27388 /* end confdefs.h. */
27389
27390 #undef HAVE_BOOLEAN
27391 #include <stdio.h>
27392 #include <jpeglib.h>
27393
27394
27395 typedef boolean ac__type_sizeof_;
27396 int
27397 main ()
27398 {
27399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27400 test_array [0] = 0
27401
27402 ;
27403 return 0;
27404 }
27405 _ACEOF
27406 rm -f conftest.$ac_objext
27407 if { (ac_try="$ac_compile"
27408 case "(($ac_try" in
27409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27410 *) ac_try_echo=$ac_try;;
27411 esac
27412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27413 (eval "$ac_compile") 2>conftest.er1
27414 ac_status=$?
27415 grep -v '^ *+' conftest.er1 >conftest.err
27416 rm -f conftest.er1
27417 cat conftest.err >&5
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); } && {
27420 test -z "$ac_c_werror_flag" ||
27421 test ! -s conftest.err
27422 } && test -s conftest.$ac_objext; then
27423 ac_lo=$ac_mid; break
27424 else
27425 echo "$as_me: failed program was:" >&5
27426 sed 's/^/| /' conftest.$ac_ext >&5
27427
27428 ac_hi=`expr '(' $ac_mid ')' - 1`
27429 if test $ac_mid -le $ac_hi; then
27430 ac_lo= ac_hi=
27431 break
27432 fi
27433 ac_mid=`expr 2 '*' $ac_mid`
27434 fi
27435
27436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27437 done
27438 else
27439 echo "$as_me: failed program was:" >&5
27440 sed 's/^/| /' conftest.$ac_ext >&5
27441
27442 ac_lo= ac_hi=
27443 fi
27444
27445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27446 fi
27447
27448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27449 # Binary search between lo and hi bounds.
27450 while test "x$ac_lo" != "x$ac_hi"; do
27451 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27452 cat >conftest.$ac_ext <<_ACEOF
27453 /* confdefs.h. */
27454 _ACEOF
27455 cat confdefs.h >>conftest.$ac_ext
27456 cat >>conftest.$ac_ext <<_ACEOF
27457 /* end confdefs.h. */
27458
27459 #undef HAVE_BOOLEAN
27460 #include <stdio.h>
27461 #include <jpeglib.h>
27462
27463
27464 typedef boolean ac__type_sizeof_;
27465 int
27466 main ()
27467 {
27468 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27469 test_array [0] = 0
27470
27471 ;
27472 return 0;
27473 }
27474 _ACEOF
27475 rm -f conftest.$ac_objext
27476 if { (ac_try="$ac_compile"
27477 case "(($ac_try" in
27478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27479 *) ac_try_echo=$ac_try;;
27480 esac
27481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27482 (eval "$ac_compile") 2>conftest.er1
27483 ac_status=$?
27484 grep -v '^ *+' conftest.er1 >conftest.err
27485 rm -f conftest.er1
27486 cat conftest.err >&5
27487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27488 (exit $ac_status); } && {
27489 test -z "$ac_c_werror_flag" ||
27490 test ! -s conftest.err
27491 } && test -s conftest.$ac_objext; then
27492 ac_hi=$ac_mid
27493 else
27494 echo "$as_me: failed program was:" >&5
27495 sed 's/^/| /' conftest.$ac_ext >&5
27496
27497 ac_lo=`expr '(' $ac_mid ')' + 1`
27498 fi
27499
27500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27501 done
27502 case $ac_lo in
27503 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27504 '') if test "$ac_cv_type_boolean" = yes; then
27505 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27506 See \`config.log' for more details." >&5
27507 echo "$as_me: error: cannot compute sizeof (boolean)
27508 See \`config.log' for more details." >&2;}
27509 { (exit 77); exit 77; }; }
27510 else
27511 ac_cv_sizeof_boolean=0
27512 fi ;;
27513 esac
27514 else
27515 cat >conftest.$ac_ext <<_ACEOF
27516 /* confdefs.h. */
27517 _ACEOF
27518 cat confdefs.h >>conftest.$ac_ext
27519 cat >>conftest.$ac_ext <<_ACEOF
27520 /* end confdefs.h. */
27521
27522 #undef HAVE_BOOLEAN
27523 #include <stdio.h>
27524 #include <jpeglib.h>
27525
27526
27527 typedef boolean ac__type_sizeof_;
27528 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27529 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27530 #include <stdio.h>
27531 #include <stdlib.h>
27532 int
27533 main ()
27534 {
27535
27536 FILE *f = fopen ("conftest.val", "w");
27537 if (! f)
27538 return 1;
27539 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27540 {
27541 long int i = longval ();
27542 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27543 return 1;
27544 fprintf (f, "%ld\n", i);
27545 }
27546 else
27547 {
27548 unsigned long int i = ulongval ();
27549 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27550 return 1;
27551 fprintf (f, "%lu\n", i);
27552 }
27553 return ferror (f) || fclose (f) != 0;
27554
27555 ;
27556 return 0;
27557 }
27558 _ACEOF
27559 rm -f conftest$ac_exeext
27560 if { (ac_try="$ac_link"
27561 case "(($ac_try" in
27562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27563 *) ac_try_echo=$ac_try;;
27564 esac
27565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27566 (eval "$ac_link") 2>&5
27567 ac_status=$?
27568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27570 { (case "(($ac_try" in
27571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27572 *) ac_try_echo=$ac_try;;
27573 esac
27574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27575 (eval "$ac_try") 2>&5
27576 ac_status=$?
27577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27578 (exit $ac_status); }; }; then
27579 ac_cv_sizeof_boolean=`cat conftest.val`
27580 else
27581 echo "$as_me: program exited with status $ac_status" >&5
27582 echo "$as_me: failed program was:" >&5
27583 sed 's/^/| /' conftest.$ac_ext >&5
27584
27585 ( exit $ac_status )
27586 if test "$ac_cv_type_boolean" = yes; then
27587 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27588 See \`config.log' for more details." >&5
27589 echo "$as_me: error: cannot compute sizeof (boolean)
27590 See \`config.log' for more details." >&2;}
27591 { (exit 77); exit 77; }; }
27592 else
27593 ac_cv_sizeof_boolean=0
27594 fi
27595 fi
27596 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27597 fi
27598 rm -f conftest.val
27599 fi
27600 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27601 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27602
27603
27604
27605 cat >>confdefs.h <<_ACEOF
27606 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27607 _ACEOF
27608
27609
27610 cat >>confdefs.h <<_ACEOF
27611 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27612 _ACEOF
27613
27614
27615 fi
27616
27617 fi
27618 fi
27619 fi
27620 fi
27621 fi
27622
27623
27624 TIFF_LINK=
27625 TIFF_PREREQ_LINKS=-lm
27626 if test "$wxUSE_LIBTIFF" != "no" ; then
27627 cat >>confdefs.h <<\_ACEOF
27628 #define wxUSE_LIBTIFF 1
27629 _ACEOF
27630
27631
27632 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27633 if test "$wxUSE_LIBJPEG" = "sys"; then
27634 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27635 fi
27636 if test "$wxUSE_ZLIB" = "sys"; then
27637 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27638 fi
27639 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27640 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27641 if test "${ac_cv_header_tiffio_h+set}" = set; then
27642 echo $ECHO_N "(cached) $ECHO_C" >&6
27643 else
27644 cat >conftest.$ac_ext <<_ACEOF
27645 /* confdefs.h. */
27646 _ACEOF
27647 cat confdefs.h >>conftest.$ac_ext
27648 cat >>conftest.$ac_ext <<_ACEOF
27649 /* end confdefs.h. */
27650
27651
27652
27653 #include <tiffio.h>
27654 _ACEOF
27655 rm -f conftest.$ac_objext
27656 if { (ac_try="$ac_compile"
27657 case "(($ac_try" in
27658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27659 *) ac_try_echo=$ac_try;;
27660 esac
27661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27662 (eval "$ac_compile") 2>conftest.er1
27663 ac_status=$?
27664 grep -v '^ *+' conftest.er1 >conftest.err
27665 rm -f conftest.er1
27666 cat conftest.err >&5
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); } && {
27669 test -z "$ac_c_werror_flag" ||
27670 test ! -s conftest.err
27671 } && test -s conftest.$ac_objext; then
27672 ac_cv_header_tiffio_h=yes
27673 else
27674 echo "$as_me: failed program was:" >&5
27675 sed 's/^/| /' conftest.$ac_ext >&5
27676
27677 ac_cv_header_tiffio_h=no
27678 fi
27679
27680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27681 fi
27682 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27683 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27684 if test $ac_cv_header_tiffio_h = yes; then
27685
27686 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27687 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27688 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27689 echo $ECHO_N "(cached) $ECHO_C" >&6
27690 else
27691 ac_check_lib_save_LIBS=$LIBS
27692 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27693 cat >conftest.$ac_ext <<_ACEOF
27694 /* confdefs.h. */
27695 _ACEOF
27696 cat confdefs.h >>conftest.$ac_ext
27697 cat >>conftest.$ac_ext <<_ACEOF
27698 /* end confdefs.h. */
27699
27700 /* Override any GCC internal prototype to avoid an error.
27701 Use char because int might match the return type of a GCC
27702 builtin and then its argument prototype would still apply. */
27703 #ifdef __cplusplus
27704 extern "C"
27705 #endif
27706 char TIFFError ();
27707 int
27708 main ()
27709 {
27710 return TIFFError ();
27711 ;
27712 return 0;
27713 }
27714 _ACEOF
27715 rm -f conftest.$ac_objext conftest$ac_exeext
27716 if { (ac_try="$ac_link"
27717 case "(($ac_try" in
27718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27719 *) ac_try_echo=$ac_try;;
27720 esac
27721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27722 (eval "$ac_link") 2>conftest.er1
27723 ac_status=$?
27724 grep -v '^ *+' conftest.er1 >conftest.err
27725 rm -f conftest.er1
27726 cat conftest.err >&5
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); } && {
27729 test -z "$ac_c_werror_flag" ||
27730 test ! -s conftest.err
27731 } && test -s conftest$ac_exeext &&
27732 $as_test_x conftest$ac_exeext; then
27733 ac_cv_lib_tiff_TIFFError=yes
27734 else
27735 echo "$as_me: failed program was:" >&5
27736 sed 's/^/| /' conftest.$ac_ext >&5
27737
27738 ac_cv_lib_tiff_TIFFError=no
27739 fi
27740
27741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27742 conftest$ac_exeext conftest.$ac_ext
27743 LIBS=$ac_check_lib_save_LIBS
27744 fi
27745 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27746 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27747 if test $ac_cv_lib_tiff_TIFFError = yes; then
27748 TIFF_LINK=" -ltiff"
27749 fi
27750
27751
27752 fi
27753
27754
27755
27756 if test "x$TIFF_LINK" = "x" ; then
27757 if test "$wxUSE_LIBTIFF" = "sys" ; then
27758 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27759 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27760 { (exit 1); exit 1; }; }
27761 else
27762 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27763 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27764 wxUSE_LIBTIFF=builtin
27765 fi
27766 else
27767 wxUSE_LIBTIFF=sys
27768 fi
27769 fi
27770 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27771 if test "$wxUSE_LIBJPEG" = "no"; then
27772 ac_configure_args="$ac_configure_args --disable-jpeg"
27773 fi
27774 subdirs="$subdirs src/tiff"
27775
27776 fi
27777 fi
27778
27779
27780 if test "$wxUSE_WCHAR_T" != "yes"; then
27781 if test "$wxUSE_EXPAT" != "no"; then
27782 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27783 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27784 wxUSE_EXPAT=no
27785 fi
27786 if test "$wxUSE_XML" != "no"; then
27787 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27788 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27789 wxUSE_XML=no
27790 fi
27791 fi
27792
27793 if test "$wxUSE_EXPAT" != "no"; then
27794 wxUSE_XML=yes
27795 cat >>confdefs.h <<\_ACEOF
27796 #define wxUSE_EXPAT 1
27797 _ACEOF
27798
27799 cat >>confdefs.h <<\_ACEOF
27800 #define wxUSE_XML 1
27801 _ACEOF
27802
27803
27804 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27805 { echo "$as_me:$LINENO: checking for expat.h" >&5
27806 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27807 if test "${ac_cv_header_expat_h+set}" = set; then
27808 echo $ECHO_N "(cached) $ECHO_C" >&6
27809 else
27810 cat >conftest.$ac_ext <<_ACEOF
27811 /* confdefs.h. */
27812 _ACEOF
27813 cat confdefs.h >>conftest.$ac_ext
27814 cat >>conftest.$ac_ext <<_ACEOF
27815 /* end confdefs.h. */
27816
27817
27818 #include <expat.h>
27819 _ACEOF
27820 rm -f conftest.$ac_objext
27821 if { (ac_try="$ac_compile"
27822 case "(($ac_try" in
27823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27824 *) ac_try_echo=$ac_try;;
27825 esac
27826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27827 (eval "$ac_compile") 2>conftest.er1
27828 ac_status=$?
27829 grep -v '^ *+' conftest.er1 >conftest.err
27830 rm -f conftest.er1
27831 cat conftest.err >&5
27832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27833 (exit $ac_status); } && {
27834 test -z "$ac_c_werror_flag" ||
27835 test ! -s conftest.err
27836 } && test -s conftest.$ac_objext; then
27837 ac_cv_header_expat_h=yes
27838 else
27839 echo "$as_me: failed program was:" >&5
27840 sed 's/^/| /' conftest.$ac_ext >&5
27841
27842 ac_cv_header_expat_h=no
27843 fi
27844
27845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27846 fi
27847 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27848 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27849 if test $ac_cv_header_expat_h = yes; then
27850 found_expat_h=1
27851 fi
27852
27853
27854 if test "x$found_expat_h" = "x1"; then
27855 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27856 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27857 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27858 echo $ECHO_N "(cached) $ECHO_C" >&6
27859 else
27860
27861 ac_ext=cpp
27862 ac_cpp='$CXXCPP $CPPFLAGS'
27863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27866
27867 cat >conftest.$ac_ext <<_ACEOF
27868 /* confdefs.h. */
27869 _ACEOF
27870 cat confdefs.h >>conftest.$ac_ext
27871 cat >>conftest.$ac_ext <<_ACEOF
27872 /* end confdefs.h. */
27873 #include <expat.h>
27874 int
27875 main ()
27876 {
27877
27878 ;
27879 return 0;
27880 }
27881 _ACEOF
27882 rm -f conftest.$ac_objext
27883 if { (ac_try="$ac_compile"
27884 case "(($ac_try" in
27885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27886 *) ac_try_echo=$ac_try;;
27887 esac
27888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27889 (eval "$ac_compile") 2>conftest.er1
27890 ac_status=$?
27891 grep -v '^ *+' conftest.er1 >conftest.err
27892 rm -f conftest.er1
27893 cat conftest.err >&5
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); } && {
27896 test -z "$ac_cxx_werror_flag" ||
27897 test ! -s conftest.err
27898 } && test -s conftest.$ac_objext; then
27899 wx_cv_expat_is_not_broken=yes
27900 else
27901 echo "$as_me: failed program was:" >&5
27902 sed 's/^/| /' conftest.$ac_ext >&5
27903
27904 wx_cv_expat_is_not_broken=no
27905
27906 fi
27907
27908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27909 ac_ext=c
27910 ac_cpp='$CPP $CPPFLAGS'
27911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27914
27915
27916
27917 fi
27918 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27919 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27920 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27921 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27922 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27923 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27924 echo $ECHO_N "(cached) $ECHO_C" >&6
27925 else
27926 ac_check_lib_save_LIBS=$LIBS
27927 LIBS="-lexpat $LIBS"
27928 cat >conftest.$ac_ext <<_ACEOF
27929 /* confdefs.h. */
27930 _ACEOF
27931 cat confdefs.h >>conftest.$ac_ext
27932 cat >>conftest.$ac_ext <<_ACEOF
27933 /* end confdefs.h. */
27934
27935 /* Override any GCC internal prototype to avoid an error.
27936 Use char because int might match the return type of a GCC
27937 builtin and then its argument prototype would still apply. */
27938 #ifdef __cplusplus
27939 extern "C"
27940 #endif
27941 char XML_ParserCreate ();
27942 int
27943 main ()
27944 {
27945 return XML_ParserCreate ();
27946 ;
27947 return 0;
27948 }
27949 _ACEOF
27950 rm -f conftest.$ac_objext conftest$ac_exeext
27951 if { (ac_try="$ac_link"
27952 case "(($ac_try" in
27953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27954 *) ac_try_echo=$ac_try;;
27955 esac
27956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27957 (eval "$ac_link") 2>conftest.er1
27958 ac_status=$?
27959 grep -v '^ *+' conftest.er1 >conftest.err
27960 rm -f conftest.er1
27961 cat conftest.err >&5
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); } && {
27964 test -z "$ac_c_werror_flag" ||
27965 test ! -s conftest.err
27966 } && test -s conftest$ac_exeext &&
27967 $as_test_x conftest$ac_exeext; then
27968 ac_cv_lib_expat_XML_ParserCreate=yes
27969 else
27970 echo "$as_me: failed program was:" >&5
27971 sed 's/^/| /' conftest.$ac_ext >&5
27972
27973 ac_cv_lib_expat_XML_ParserCreate=no
27974 fi
27975
27976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27977 conftest$ac_exeext conftest.$ac_ext
27978 LIBS=$ac_check_lib_save_LIBS
27979 fi
27980 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27981 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27982 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27983 EXPAT_LINK=" -lexpat"
27984 fi
27985
27986 fi
27987 fi
27988 if test "x$EXPAT_LINK" = "x" ; then
27989 if test "$wxUSE_EXPAT" = "sys" ; then
27990 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27991 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27992 { (exit 1); exit 1; }; }
27993 else
27994 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27995 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27996 wxUSE_EXPAT=builtin
27997 fi
27998 else
27999 wxUSE_EXPAT=sys
28000 fi
28001 fi
28002 if test "$wxUSE_EXPAT" = "builtin" ; then
28003 subdirs="$subdirs src/expat"
28004
28005 fi
28006 fi
28007
28008
28009
28010 if test "$wxUSE_LIBMSPACK" != "no"; then
28011 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28012 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28013 if test "${ac_cv_header_mspack_h+set}" = set; then
28014 echo $ECHO_N "(cached) $ECHO_C" >&6
28015 else
28016 cat >conftest.$ac_ext <<_ACEOF
28017 /* confdefs.h. */
28018 _ACEOF
28019 cat confdefs.h >>conftest.$ac_ext
28020 cat >>conftest.$ac_ext <<_ACEOF
28021 /* end confdefs.h. */
28022
28023
28024 #include <mspack.h>
28025 _ACEOF
28026 rm -f conftest.$ac_objext
28027 if { (ac_try="$ac_compile"
28028 case "(($ac_try" in
28029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28030 *) ac_try_echo=$ac_try;;
28031 esac
28032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28033 (eval "$ac_compile") 2>conftest.er1
28034 ac_status=$?
28035 grep -v '^ *+' conftest.er1 >conftest.err
28036 rm -f conftest.er1
28037 cat conftest.err >&5
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); } && {
28040 test -z "$ac_c_werror_flag" ||
28041 test ! -s conftest.err
28042 } && test -s conftest.$ac_objext; then
28043 ac_cv_header_mspack_h=yes
28044 else
28045 echo "$as_me: failed program was:" >&5
28046 sed 's/^/| /' conftest.$ac_ext >&5
28047
28048 ac_cv_header_mspack_h=no
28049 fi
28050
28051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28052 fi
28053 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28054 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28055 if test $ac_cv_header_mspack_h = yes; then
28056 found_mspack_h=1
28057 fi
28058
28059
28060 if test "x$found_mspack_h" = "x1"; then
28061 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28062 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28063 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28064 echo $ECHO_N "(cached) $ECHO_C" >&6
28065 else
28066 ac_check_lib_save_LIBS=$LIBS
28067 LIBS="-lmspack $LIBS"
28068 cat >conftest.$ac_ext <<_ACEOF
28069 /* confdefs.h. */
28070 _ACEOF
28071 cat confdefs.h >>conftest.$ac_ext
28072 cat >>conftest.$ac_ext <<_ACEOF
28073 /* end confdefs.h. */
28074
28075 /* Override any GCC internal prototype to avoid an error.
28076 Use char because int might match the return type of a GCC
28077 builtin and then its argument prototype would still apply. */
28078 #ifdef __cplusplus
28079 extern "C"
28080 #endif
28081 char mspack_create_chm_decompressor ();
28082 int
28083 main ()
28084 {
28085 return mspack_create_chm_decompressor ();
28086 ;
28087 return 0;
28088 }
28089 _ACEOF
28090 rm -f conftest.$ac_objext conftest$ac_exeext
28091 if { (ac_try="$ac_link"
28092 case "(($ac_try" in
28093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28094 *) ac_try_echo=$ac_try;;
28095 esac
28096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28097 (eval "$ac_link") 2>conftest.er1
28098 ac_status=$?
28099 grep -v '^ *+' conftest.er1 >conftest.err
28100 rm -f conftest.er1
28101 cat conftest.err >&5
28102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28103 (exit $ac_status); } && {
28104 test -z "$ac_c_werror_flag" ||
28105 test ! -s conftest.err
28106 } && test -s conftest$ac_exeext &&
28107 $as_test_x conftest$ac_exeext; then
28108 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28109 else
28110 echo "$as_me: failed program was:" >&5
28111 sed 's/^/| /' conftest.$ac_ext >&5
28112
28113 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28114 fi
28115
28116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28117 conftest$ac_exeext conftest.$ac_ext
28118 LIBS=$ac_check_lib_save_LIBS
28119 fi
28120 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28121 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28122 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28123 MSPACK_LINK=" -lmspack"
28124 fi
28125
28126 fi
28127 if test "x$MSPACK_LINK" = "x" ; then
28128 wxUSE_LIBMSPACK=no
28129 fi
28130 fi
28131
28132 if test "$wxUSE_LIBMSPACK" != "no"; then
28133 cat >>confdefs.h <<\_ACEOF
28134 #define wxUSE_LIBMSPACK 1
28135 _ACEOF
28136
28137 fi
28138
28139
28140
28141 AFMINSTALL=
28142 WIN32INSTALL=
28143
28144 TOOLKIT=
28145 TOOLKIT_INCLUDE=
28146 WIDGET_SET=
28147
28148 if test "$USE_WIN32" = 1 ; then
28149
28150 for ac_header in w32api.h
28151 do
28152 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28153 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28156 echo $ECHO_N "(cached) $ECHO_C" >&6
28157 else
28158 cat >conftest.$ac_ext <<_ACEOF
28159 /* confdefs.h. */
28160 _ACEOF
28161 cat confdefs.h >>conftest.$ac_ext
28162 cat >>conftest.$ac_ext <<_ACEOF
28163 /* end confdefs.h. */
28164
28165
28166 #include <$ac_header>
28167 _ACEOF
28168 rm -f conftest.$ac_objext
28169 if { (ac_try="$ac_compile"
28170 case "(($ac_try" in
28171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28172 *) ac_try_echo=$ac_try;;
28173 esac
28174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28175 (eval "$ac_compile") 2>conftest.er1
28176 ac_status=$?
28177 grep -v '^ *+' conftest.er1 >conftest.err
28178 rm -f conftest.er1
28179 cat conftest.err >&5
28180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28181 (exit $ac_status); } && {
28182 test -z "$ac_c_werror_flag" ||
28183 test ! -s conftest.err
28184 } && test -s conftest.$ac_objext; then
28185 eval "$as_ac_Header=yes"
28186 else
28187 echo "$as_me: failed program was:" >&5
28188 sed 's/^/| /' conftest.$ac_ext >&5
28189
28190 eval "$as_ac_Header=no"
28191 fi
28192
28193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28194 fi
28195 ac_res=`eval echo '${'$as_ac_Header'}'`
28196 { echo "$as_me:$LINENO: result: $ac_res" >&5
28197 echo "${ECHO_T}$ac_res" >&6; }
28198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28199 cat >>confdefs.h <<_ACEOF
28200 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28201 _ACEOF
28202
28203 fi
28204
28205 done
28206
28207 { echo "$as_me:$LINENO: checking for windows.h" >&5
28208 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28209 if test "${ac_cv_header_windows_h+set}" = set; then
28210 echo $ECHO_N "(cached) $ECHO_C" >&6
28211 else
28212 cat >conftest.$ac_ext <<_ACEOF
28213 /* confdefs.h. */
28214 _ACEOF
28215 cat confdefs.h >>conftest.$ac_ext
28216 cat >>conftest.$ac_ext <<_ACEOF
28217 /* end confdefs.h. */
28218
28219
28220 #include <windows.h>
28221 _ACEOF
28222 rm -f conftest.$ac_objext
28223 if { (ac_try="$ac_compile"
28224 case "(($ac_try" in
28225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28226 *) ac_try_echo=$ac_try;;
28227 esac
28228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28229 (eval "$ac_compile") 2>conftest.er1
28230 ac_status=$?
28231 grep -v '^ *+' conftest.er1 >conftest.err
28232 rm -f conftest.er1
28233 cat conftest.err >&5
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); } && {
28236 test -z "$ac_c_werror_flag" ||
28237 test ! -s conftest.err
28238 } && test -s conftest.$ac_objext; then
28239 ac_cv_header_windows_h=yes
28240 else
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28243
28244 ac_cv_header_windows_h=no
28245 fi
28246
28247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28248 fi
28249 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28250 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28251 if test $ac_cv_header_windows_h = yes; then
28252 :
28253 else
28254
28255 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28256 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28257 { (exit 1); exit 1; }; }
28258
28259 fi
28260
28261
28262
28263 case "${host}" in
28264 x86_64-*-mingw32* )
28265 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28266 ;;
28267 * )
28268 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28269 ;;
28270 esac
28271 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28272 LIBS="$LIBS -loleacc"
28273 fi
28274
28275 case "${host}" in
28276 *-*-cygwin* )
28277 LIBS="$LIBS -lkernel32 -luser32"
28278 esac
28279
28280 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28281 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28282
28283 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28284
28285 WIN32INSTALL=win32install
28286
28287 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28288 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28289 if test "${ac_cv_header_pbt_h+set}" = set; then
28290 echo $ECHO_N "(cached) $ECHO_C" >&6
28291 else
28292 cat >conftest.$ac_ext <<_ACEOF
28293 /* confdefs.h. */
28294 _ACEOF
28295 cat confdefs.h >>conftest.$ac_ext
28296 cat >>conftest.$ac_ext <<_ACEOF
28297 /* end confdefs.h. */
28298
28299
28300 #include <pbt.h>
28301 _ACEOF
28302 rm -f conftest.$ac_objext
28303 if { (ac_try="$ac_compile"
28304 case "(($ac_try" in
28305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28306 *) ac_try_echo=$ac_try;;
28307 esac
28308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28309 (eval "$ac_compile") 2>conftest.er1
28310 ac_status=$?
28311 grep -v '^ *+' conftest.er1 >conftest.err
28312 rm -f conftest.er1
28313 cat conftest.err >&5
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); } && {
28316 test -z "$ac_c_werror_flag" ||
28317 test ! -s conftest.err
28318 } && test -s conftest.$ac_objext; then
28319 ac_cv_header_pbt_h=yes
28320 else
28321 echo "$as_me: failed program was:" >&5
28322 sed 's/^/| /' conftest.$ac_ext >&5
28323
28324 ac_cv_header_pbt_h=no
28325 fi
28326
28327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28328 fi
28329 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28330 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28331 if test $ac_cv_header_pbt_h = yes; then
28332 :
28333 else
28334 cat >>confdefs.h <<\_ACEOF
28335 #define NEED_PBT_H 1
28336 _ACEOF
28337
28338 fi
28339
28340
28341 fi
28342
28343 if test "$wxUSE_GUI" = "yes"; then
28344 USE_GUI=1
28345
28346 GUI_TK_LIBRARY=
28347
28348 WXGTK12=
28349 WXGTK127=
28350 WXGTK2=
28351 WXGPE=
28352
28353 if test "$wxUSE_COCOA" = 1 ; then
28354 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28355 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28356 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28357 wxUSE_PRINTING_ARCHITECTURE=no
28358 fi
28359 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28360 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28361 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28362 wxUSE_DRAG_AND_DROP=no
28363 fi
28364 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28365 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28366 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28367 wxUSE_DRAGIMAGE=no
28368 fi
28369 fi
28370
28371 if test "$wxUSE_MSW" = 1 ; then
28372 TOOLKIT=MSW
28373 GUIDIST=MSW_DIST
28374
28375 case "${host}" in
28376 *-*-mingw32* )
28377 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28378 esac
28379 fi
28380
28381 if test "$wxUSE_GTK" = 1; then
28382 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28383 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28384
28385 gtk_version_cached=1
28386 if test "${wx_cv_lib_gtk+set}" = set; then
28387 echo $ECHO_N "(cached) $ECHO_C" >&6
28388 else
28389
28390 gtk_version_cached=0
28391 { echo "$as_me:$LINENO: result: " >&5
28392 echo "${ECHO_T}" >&6; }
28393
28394 GTK_MODULES=
28395 if test "$wxUSE_THREADS" = "yes"; then
28396 GTK_MODULES=gthread
28397 fi
28398
28399 wx_cv_lib_gtk=
28400 if test "x$wxGTK_VERSION" != "x1"
28401 then
28402 case "${host}" in
28403 *-*-solaris2* )
28404 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28405 enable_gtktest=no
28406 fi
28407 esac
28408
28409 # Check whether --enable-gtktest was given.
28410 if test "${enable_gtktest+set}" = set; then
28411 enableval=$enable_gtktest;
28412 else
28413 enable_gtktest=yes
28414 fi
28415
28416
28417 pkg_config_args=gtk+-2.0
28418 for module in . $GTK_MODULES
28419 do
28420 case "$module" in
28421 gthread)
28422 pkg_config_args="$pkg_config_args gthread-2.0"
28423 ;;
28424 esac
28425 done
28426
28427 no_gtk=""
28428
28429 # Extract the first word of "pkg-config", so it can be a program name with args.
28430 set dummy pkg-config; ac_word=$2
28431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28433 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28434 echo $ECHO_N "(cached) $ECHO_C" >&6
28435 else
28436 case $PKG_CONFIG in
28437 [\\/]* | ?:[\\/]*)
28438 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28439 ;;
28440 *)
28441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28442 for as_dir in $PATH
28443 do
28444 IFS=$as_save_IFS
28445 test -z "$as_dir" && as_dir=.
28446 for ac_exec_ext in '' $ac_executable_extensions; do
28447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28448 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28450 break 2
28451 fi
28452 done
28453 done
28454 IFS=$as_save_IFS
28455
28456 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28457 ;;
28458 esac
28459 fi
28460 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28461 if test -n "$PKG_CONFIG"; then
28462 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28463 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28464 else
28465 { echo "$as_me:$LINENO: result: no" >&5
28466 echo "${ECHO_T}no" >&6; }
28467 fi
28468
28469
28470
28471 if test x$PKG_CONFIG != xno ; then
28472 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28473 :
28474 else
28475 echo "*** pkg-config too old; version 0.7 or better required."
28476 no_gtk=yes
28477 PKG_CONFIG=no
28478 fi
28479 else
28480 no_gtk=yes
28481 fi
28482
28483 min_gtk_version=2.4.0
28484 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28485 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28486
28487 if test x$PKG_CONFIG != xno ; then
28488 ## don't try to run the test against uninstalled libtool libs
28489 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28490 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28491 enable_gtktest=no
28492 fi
28493
28494 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28495 :
28496 else
28497 no_gtk=yes
28498 fi
28499 fi
28500
28501 if test x"$no_gtk" = x ; then
28502 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28503 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28504 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28505 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28506 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28507 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28508 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28509 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28510 if test "x$enable_gtktest" = "xyes" ; then
28511 ac_save_CFLAGS="$CFLAGS"
28512 ac_save_LIBS="$LIBS"
28513 CFLAGS="$CFLAGS $GTK_CFLAGS"
28514 LIBS="$GTK_LIBS $LIBS"
28515 rm -f conf.gtktest
28516 if test "$cross_compiling" = yes; then
28517 echo $ac_n "cross compiling; assumed OK... $ac_c"
28518 else
28519 cat >conftest.$ac_ext <<_ACEOF
28520 /* confdefs.h. */
28521 _ACEOF
28522 cat confdefs.h >>conftest.$ac_ext
28523 cat >>conftest.$ac_ext <<_ACEOF
28524 /* end confdefs.h. */
28525
28526 #include <gtk/gtk.h>
28527 #include <stdio.h>
28528 #include <stdlib.h>
28529
28530 int
28531 main ()
28532 {
28533 int major, minor, micro;
28534 char *tmp_version;
28535
28536 system ("touch conf.gtktest");
28537
28538 /* HP/UX 9 (%@#!) writes to sscanf strings */
28539 tmp_version = g_strdup("$min_gtk_version");
28540 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28541 printf("%s, bad version string\n", "$min_gtk_version");
28542 exit(1);
28543 }
28544
28545 if ((gtk_major_version != $gtk_config_major_version) ||
28546 (gtk_minor_version != $gtk_config_minor_version) ||
28547 (gtk_micro_version != $gtk_config_micro_version))
28548 {
28549 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28550 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28551 gtk_major_version, gtk_minor_version, gtk_micro_version);
28552 printf ("*** was found! If pkg-config was correct, then it is best\n");
28553 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28554 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28555 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28556 printf("*** required on your system.\n");
28557 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28558 printf("*** to point to the correct configuration files\n");
28559 }
28560 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28561 (gtk_minor_version != GTK_MINOR_VERSION) ||
28562 (gtk_micro_version != GTK_MICRO_VERSION))
28563 {
28564 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28565 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28566 printf("*** library (version %d.%d.%d)\n",
28567 gtk_major_version, gtk_minor_version, gtk_micro_version);
28568 }
28569 else
28570 {
28571 if ((gtk_major_version > major) ||
28572 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28573 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28574 {
28575 return 0;
28576 }
28577 else
28578 {
28579 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28580 gtk_major_version, gtk_minor_version, gtk_micro_version);
28581 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28582 major, minor, micro);
28583 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28584 printf("***\n");
28585 printf("*** If you have already installed a sufficiently new version, this error\n");
28586 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28587 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28588 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28589 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28590 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28591 printf("*** so that the correct libraries are found at run-time))\n");
28592 }
28593 }
28594 return 1;
28595 }
28596
28597 _ACEOF
28598 rm -f conftest$ac_exeext
28599 if { (ac_try="$ac_link"
28600 case "(($ac_try" in
28601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28602 *) ac_try_echo=$ac_try;;
28603 esac
28604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28605 (eval "$ac_link") 2>&5
28606 ac_status=$?
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28609 { (case "(($ac_try" in
28610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28611 *) ac_try_echo=$ac_try;;
28612 esac
28613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28614 (eval "$ac_try") 2>&5
28615 ac_status=$?
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); }; }; then
28618 :
28619 else
28620 echo "$as_me: program exited with status $ac_status" >&5
28621 echo "$as_me: failed program was:" >&5
28622 sed 's/^/| /' conftest.$ac_ext >&5
28623
28624 ( exit $ac_status )
28625 no_gtk=yes
28626 fi
28627 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28628 fi
28629
28630
28631 CFLAGS="$ac_save_CFLAGS"
28632 LIBS="$ac_save_LIBS"
28633 fi
28634 fi
28635 if test "x$no_gtk" = x ; then
28636 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28637 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28638 wx_cv_lib_gtk=2.0
28639 else
28640 { echo "$as_me:$LINENO: result: no" >&5
28641 echo "${ECHO_T}no" >&6; }
28642 if test "$PKG_CONFIG" = "no" ; then
28643 echo "*** A new enough version of pkg-config was not found."
28644 echo "*** See http://pkgconfig.sourceforge.net"
28645 else
28646 if test -f conf.gtktest ; then
28647 :
28648 else
28649 echo "*** Could not run GTK+ test program, checking why..."
28650 ac_save_CFLAGS="$CFLAGS"
28651 ac_save_LIBS="$LIBS"
28652 CFLAGS="$CFLAGS $GTK_CFLAGS"
28653 LIBS="$LIBS $GTK_LIBS"
28654 cat >conftest.$ac_ext <<_ACEOF
28655 /* confdefs.h. */
28656 _ACEOF
28657 cat confdefs.h >>conftest.$ac_ext
28658 cat >>conftest.$ac_ext <<_ACEOF
28659 /* end confdefs.h. */
28660
28661 #include <gtk/gtk.h>
28662 #include <stdio.h>
28663
28664 int
28665 main ()
28666 {
28667 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28668 ;
28669 return 0;
28670 }
28671 _ACEOF
28672 rm -f conftest.$ac_objext conftest$ac_exeext
28673 if { (ac_try="$ac_link"
28674 case "(($ac_try" in
28675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28676 *) ac_try_echo=$ac_try;;
28677 esac
28678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28679 (eval "$ac_link") 2>conftest.er1
28680 ac_status=$?
28681 grep -v '^ *+' conftest.er1 >conftest.err
28682 rm -f conftest.er1
28683 cat conftest.err >&5
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); } && {
28686 test -z "$ac_c_werror_flag" ||
28687 test ! -s conftest.err
28688 } && test -s conftest$ac_exeext &&
28689 $as_test_x conftest$ac_exeext; then
28690 echo "*** The test program compiled, but did not run. This usually means"
28691 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28692 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28693 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28694 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28695 echo "*** is required on your system"
28696 echo "***"
28697 echo "*** If you have an old version installed, it is best to remove it, although"
28698 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28699 else
28700 echo "$as_me: failed program was:" >&5
28701 sed 's/^/| /' conftest.$ac_ext >&5
28702
28703 echo "*** The test program failed to compile or link. See the file config.log for the"
28704 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28705 fi
28706
28707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28708 conftest$ac_exeext conftest.$ac_ext
28709 CFLAGS="$ac_save_CFLAGS"
28710 LIBS="$ac_save_LIBS"
28711 fi
28712 fi
28713 GTK_CFLAGS=""
28714 GTK_LIBS=""
28715 :
28716 fi
28717
28718
28719 rm -f conf.gtktest
28720
28721
28722 case "${host}" in
28723 *-*-solaris2* )
28724 if test "$wxUSE_SHARED" != "yes"; then
28725 GTK_LIBS="$GTK_LIBS -lX11"
28726 fi
28727 esac
28728 fi
28729
28730 if test -z "$wx_cv_lib_gtk"; then
28731 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28732
28733 # Check whether --with-gtk-prefix was given.
28734 if test "${with_gtk_prefix+set}" = set; then
28735 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28736 else
28737 gtk_config_prefix=""
28738 fi
28739
28740
28741 # Check whether --with-gtk-exec-prefix was given.
28742 if test "${with_gtk_exec_prefix+set}" = set; then
28743 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28744 else
28745 gtk_config_exec_prefix=""
28746 fi
28747
28748 # Check whether --enable-gtktest was given.
28749 if test "${enable_gtktest+set}" = set; then
28750 enableval=$enable_gtktest;
28751 else
28752 enable_gtktest=yes
28753 fi
28754
28755
28756 for module in . $GTK_MODULES
28757 do
28758 case "$module" in
28759 gthread)
28760 gtk_config_args="$gtk_config_args gthread"
28761 ;;
28762 esac
28763 done
28764
28765 if test x$gtk_config_exec_prefix != x ; then
28766 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28767 if test x${GTK_CONFIG+set} != xset ; then
28768 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28769 fi
28770 fi
28771 if test x$gtk_config_prefix != x ; then
28772 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28773 if test x${GTK_CONFIG+set} != xset ; then
28774 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28775 fi
28776 fi
28777
28778 # Extract the first word of "gtk-config", so it can be a program name with args.
28779 set dummy gtk-config; ac_word=$2
28780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28782 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28783 echo $ECHO_N "(cached) $ECHO_C" >&6
28784 else
28785 case $GTK_CONFIG in
28786 [\\/]* | ?:[\\/]*)
28787 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28788 ;;
28789 *)
28790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28791 for as_dir in $PATH
28792 do
28793 IFS=$as_save_IFS
28794 test -z "$as_dir" && as_dir=.
28795 for ac_exec_ext in '' $ac_executable_extensions; do
28796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28797 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28799 break 2
28800 fi
28801 done
28802 done
28803 IFS=$as_save_IFS
28804
28805 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28806 ;;
28807 esac
28808 fi
28809 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28810 if test -n "$GTK_CONFIG"; then
28811 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28812 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28813 else
28814 { echo "$as_me:$LINENO: result: no" >&5
28815 echo "${ECHO_T}no" >&6; }
28816 fi
28817
28818
28819 min_gtk_version=1.2.7
28820 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28821 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28822 no_gtk=""
28823 if test "$GTK_CONFIG" = "no" ; then
28824 no_gtk=yes
28825 else
28826 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28827 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28828 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28829 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28830 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28832 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28834 if test "x$enable_gtktest" = "xyes" ; then
28835 ac_save_CFLAGS="$CFLAGS"
28836 ac_save_LIBS="$LIBS"
28837 CFLAGS="$CFLAGS $GTK_CFLAGS"
28838 LIBS="$GTK_LIBS $LIBS"
28839 rm -f conf.gtktest
28840 if test "$cross_compiling" = yes; then
28841 echo $ac_n "cross compiling; assumed OK... $ac_c"
28842 else
28843 cat >conftest.$ac_ext <<_ACEOF
28844 /* confdefs.h. */
28845 _ACEOF
28846 cat confdefs.h >>conftest.$ac_ext
28847 cat >>conftest.$ac_ext <<_ACEOF
28848 /* end confdefs.h. */
28849
28850 #include <gtk/gtk.h>
28851 #include <stdio.h>
28852 #include <stdlib.h>
28853
28854 int
28855 main ()
28856 {
28857 int major, minor, micro;
28858 char *tmp_version;
28859
28860 system ("touch conf.gtktest");
28861
28862 /* HP/UX 9 (%@#!) writes to sscanf strings */
28863 tmp_version = g_strdup("$min_gtk_version");
28864 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28865 printf("%s, bad version string\n", "$min_gtk_version");
28866 exit(1);
28867 }
28868
28869 if ((gtk_major_version != $gtk_config_major_version) ||
28870 (gtk_minor_version != $gtk_config_minor_version) ||
28871 (gtk_micro_version != $gtk_config_micro_version))
28872 {
28873 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28874 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28875 gtk_major_version, gtk_minor_version, gtk_micro_version);
28876 printf ("*** was found! If gtk-config was correct, then it is best\n");
28877 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28878 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28879 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28880 printf("*** required on your system.\n");
28881 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28882 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28883 printf("*** before re-running configure\n");
28884 }
28885 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28886 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28887 (gtk_minor_version != GTK_MINOR_VERSION) ||
28888 (gtk_micro_version != GTK_MICRO_VERSION))
28889 {
28890 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28891 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28892 printf("*** library (version %d.%d.%d)\n",
28893 gtk_major_version, gtk_minor_version, gtk_micro_version);
28894 }
28895 #endif /* defined (GTK_MAJOR_VERSION) ... */
28896 else
28897 {
28898 if ((gtk_major_version > major) ||
28899 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28900 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28901 {
28902 return 0;
28903 }
28904 else
28905 {
28906 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28907 gtk_major_version, gtk_minor_version, gtk_micro_version);
28908 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28909 major, minor, micro);
28910 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28911 printf("***\n");
28912 printf("*** If you have already installed a sufficiently new version, this error\n");
28913 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28914 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28915 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28916 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28917 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28918 printf("*** so that the correct libraries are found at run-time))\n");
28919 }
28920 }
28921 return 1;
28922 }
28923
28924 _ACEOF
28925 rm -f conftest$ac_exeext
28926 if { (ac_try="$ac_link"
28927 case "(($ac_try" in
28928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28929 *) ac_try_echo=$ac_try;;
28930 esac
28931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28932 (eval "$ac_link") 2>&5
28933 ac_status=$?
28934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28935 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28936 { (case "(($ac_try" in
28937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28938 *) ac_try_echo=$ac_try;;
28939 esac
28940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28941 (eval "$ac_try") 2>&5
28942 ac_status=$?
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); }; }; then
28945 :
28946 else
28947 echo "$as_me: program exited with status $ac_status" >&5
28948 echo "$as_me: failed program was:" >&5
28949 sed 's/^/| /' conftest.$ac_ext >&5
28950
28951 ( exit $ac_status )
28952 no_gtk=yes
28953 fi
28954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28955 fi
28956
28957
28958 CFLAGS="$ac_save_CFLAGS"
28959 LIBS="$ac_save_LIBS"
28960 fi
28961 fi
28962 if test "x$no_gtk" = x ; then
28963 { echo "$as_me:$LINENO: result: yes" >&5
28964 echo "${ECHO_T}yes" >&6; }
28965 wx_cv_lib_gtk=1.2.7
28966 else
28967 { echo "$as_me:$LINENO: result: no" >&5
28968 echo "${ECHO_T}no" >&6; }
28969 if test "$GTK_CONFIG" = "no" ; then
28970 echo "*** The gtk-config script installed by GTK could not be found"
28971 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28972 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28973 echo "*** full path to gtk-config."
28974 else
28975 if test -f conf.gtktest ; then
28976 :
28977 else
28978 echo "*** Could not run GTK test program, checking why..."
28979 CFLAGS="$CFLAGS $GTK_CFLAGS"
28980 LIBS="$LIBS $GTK_LIBS"
28981 cat >conftest.$ac_ext <<_ACEOF
28982 /* confdefs.h. */
28983 _ACEOF
28984 cat confdefs.h >>conftest.$ac_ext
28985 cat >>conftest.$ac_ext <<_ACEOF
28986 /* end confdefs.h. */
28987
28988 #include <gtk/gtk.h>
28989 #include <stdio.h>
28990
28991 int
28992 main ()
28993 {
28994 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28995 ;
28996 return 0;
28997 }
28998 _ACEOF
28999 rm -f conftest.$ac_objext conftest$ac_exeext
29000 if { (ac_try="$ac_link"
29001 case "(($ac_try" in
29002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29003 *) ac_try_echo=$ac_try;;
29004 esac
29005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29006 (eval "$ac_link") 2>conftest.er1
29007 ac_status=$?
29008 grep -v '^ *+' conftest.er1 >conftest.err
29009 rm -f conftest.er1
29010 cat conftest.err >&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } && {
29013 test -z "$ac_c_werror_flag" ||
29014 test ! -s conftest.err
29015 } && test -s conftest$ac_exeext &&
29016 $as_test_x conftest$ac_exeext; then
29017 echo "*** The test program compiled, but did not run. This usually means"
29018 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29019 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29020 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29021 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29022 echo "*** is required on your system"
29023 echo "***"
29024 echo "*** If you have an old version installed, it is best to remove it, although"
29025 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29026 echo "***"
29027 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29028 echo "*** came with the system with the command"
29029 echo "***"
29030 echo "*** rpm --erase --nodeps gtk gtk-devel"
29031 else
29032 echo "$as_me: failed program was:" >&5
29033 sed 's/^/| /' conftest.$ac_ext >&5
29034
29035 echo "*** The test program failed to compile or link. See the file config.log for the"
29036 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29037 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29038 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29039 fi
29040
29041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29042 conftest$ac_exeext conftest.$ac_ext
29043 CFLAGS="$ac_save_CFLAGS"
29044 LIBS="$ac_save_LIBS"
29045 fi
29046 fi
29047 GTK_CFLAGS=""
29048 GTK_LIBS=""
29049 :
29050 fi
29051
29052
29053 rm -f conf.gtktest
29054
29055
29056 if test -z "$wx_cv_lib_gtk"; then
29057
29058 # Check whether --with-gtk-prefix was given.
29059 if test "${with_gtk_prefix+set}" = set; then
29060 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29061 else
29062 gtk_config_prefix=""
29063 fi
29064
29065
29066 # Check whether --with-gtk-exec-prefix was given.
29067 if test "${with_gtk_exec_prefix+set}" = set; then
29068 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29069 else
29070 gtk_config_exec_prefix=""
29071 fi
29072
29073 # Check whether --enable-gtktest was given.
29074 if test "${enable_gtktest+set}" = set; then
29075 enableval=$enable_gtktest;
29076 else
29077 enable_gtktest=yes
29078 fi
29079
29080
29081 for module in . $GTK_MODULES
29082 do
29083 case "$module" in
29084 gthread)
29085 gtk_config_args="$gtk_config_args gthread"
29086 ;;
29087 esac
29088 done
29089
29090 if test x$gtk_config_exec_prefix != x ; then
29091 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29092 if test x${GTK_CONFIG+set} != xset ; then
29093 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29094 fi
29095 fi
29096 if test x$gtk_config_prefix != x ; then
29097 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29098 if test x${GTK_CONFIG+set} != xset ; then
29099 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29100 fi
29101 fi
29102
29103 # Extract the first word of "gtk-config", so it can be a program name with args.
29104 set dummy gtk-config; ac_word=$2
29105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29107 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29108 echo $ECHO_N "(cached) $ECHO_C" >&6
29109 else
29110 case $GTK_CONFIG in
29111 [\\/]* | ?:[\\/]*)
29112 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29113 ;;
29114 *)
29115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29116 for as_dir in $PATH
29117 do
29118 IFS=$as_save_IFS
29119 test -z "$as_dir" && as_dir=.
29120 for ac_exec_ext in '' $ac_executable_extensions; do
29121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29122 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29124 break 2
29125 fi
29126 done
29127 done
29128 IFS=$as_save_IFS
29129
29130 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29131 ;;
29132 esac
29133 fi
29134 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29135 if test -n "$GTK_CONFIG"; then
29136 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29137 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29138 else
29139 { echo "$as_me:$LINENO: result: no" >&5
29140 echo "${ECHO_T}no" >&6; }
29141 fi
29142
29143
29144 min_gtk_version=1.2.3
29145 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29146 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29147 no_gtk=""
29148 if test "$GTK_CONFIG" = "no" ; then
29149 no_gtk=yes
29150 else
29151 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29152 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29153 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29154 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29155 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29156 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29157 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29158 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29159 if test "x$enable_gtktest" = "xyes" ; then
29160 ac_save_CFLAGS="$CFLAGS"
29161 ac_save_LIBS="$LIBS"
29162 CFLAGS="$CFLAGS $GTK_CFLAGS"
29163 LIBS="$GTK_LIBS $LIBS"
29164 rm -f conf.gtktest
29165 if test "$cross_compiling" = yes; then
29166 echo $ac_n "cross compiling; assumed OK... $ac_c"
29167 else
29168 cat >conftest.$ac_ext <<_ACEOF
29169 /* confdefs.h. */
29170 _ACEOF
29171 cat confdefs.h >>conftest.$ac_ext
29172 cat >>conftest.$ac_ext <<_ACEOF
29173 /* end confdefs.h. */
29174
29175 #include <gtk/gtk.h>
29176 #include <stdio.h>
29177 #include <stdlib.h>
29178
29179 int
29180 main ()
29181 {
29182 int major, minor, micro;
29183 char *tmp_version;
29184
29185 system ("touch conf.gtktest");
29186
29187 /* HP/UX 9 (%@#!) writes to sscanf strings */
29188 tmp_version = g_strdup("$min_gtk_version");
29189 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29190 printf("%s, bad version string\n", "$min_gtk_version");
29191 exit(1);
29192 }
29193
29194 if ((gtk_major_version != $gtk_config_major_version) ||
29195 (gtk_minor_version != $gtk_config_minor_version) ||
29196 (gtk_micro_version != $gtk_config_micro_version))
29197 {
29198 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29199 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29200 gtk_major_version, gtk_minor_version, gtk_micro_version);
29201 printf ("*** was found! If gtk-config was correct, then it is best\n");
29202 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29203 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29204 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29205 printf("*** required on your system.\n");
29206 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29207 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29208 printf("*** before re-running configure\n");
29209 }
29210 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29211 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29212 (gtk_minor_version != GTK_MINOR_VERSION) ||
29213 (gtk_micro_version != GTK_MICRO_VERSION))
29214 {
29215 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29216 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29217 printf("*** library (version %d.%d.%d)\n",
29218 gtk_major_version, gtk_minor_version, gtk_micro_version);
29219 }
29220 #endif /* defined (GTK_MAJOR_VERSION) ... */
29221 else
29222 {
29223 if ((gtk_major_version > major) ||
29224 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29225 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29226 {
29227 return 0;
29228 }
29229 else
29230 {
29231 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29232 gtk_major_version, gtk_minor_version, gtk_micro_version);
29233 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29234 major, minor, micro);
29235 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29236 printf("***\n");
29237 printf("*** If you have already installed a sufficiently new version, this error\n");
29238 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29239 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29240 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29241 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29242 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29243 printf("*** so that the correct libraries are found at run-time))\n");
29244 }
29245 }
29246 return 1;
29247 }
29248
29249 _ACEOF
29250 rm -f conftest$ac_exeext
29251 if { (ac_try="$ac_link"
29252 case "(($ac_try" in
29253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29254 *) ac_try_echo=$ac_try;;
29255 esac
29256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29257 (eval "$ac_link") 2>&5
29258 ac_status=$?
29259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29260 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29261 { (case "(($ac_try" in
29262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29263 *) ac_try_echo=$ac_try;;
29264 esac
29265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29266 (eval "$ac_try") 2>&5
29267 ac_status=$?
29268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29269 (exit $ac_status); }; }; then
29270 :
29271 else
29272 echo "$as_me: program exited with status $ac_status" >&5
29273 echo "$as_me: failed program was:" >&5
29274 sed 's/^/| /' conftest.$ac_ext >&5
29275
29276 ( exit $ac_status )
29277 no_gtk=yes
29278 fi
29279 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29280 fi
29281
29282
29283 CFLAGS="$ac_save_CFLAGS"
29284 LIBS="$ac_save_LIBS"
29285 fi
29286 fi
29287 if test "x$no_gtk" = x ; then
29288 { echo "$as_me:$LINENO: result: yes" >&5
29289 echo "${ECHO_T}yes" >&6; }
29290 wx_cv_lib_gtk=1.2.3
29291 else
29292 { echo "$as_me:$LINENO: result: no" >&5
29293 echo "${ECHO_T}no" >&6; }
29294 if test "$GTK_CONFIG" = "no" ; then
29295 echo "*** The gtk-config script installed by GTK could not be found"
29296 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29297 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29298 echo "*** full path to gtk-config."
29299 else
29300 if test -f conf.gtktest ; then
29301 :
29302 else
29303 echo "*** Could not run GTK test program, checking why..."
29304 CFLAGS="$CFLAGS $GTK_CFLAGS"
29305 LIBS="$LIBS $GTK_LIBS"
29306 cat >conftest.$ac_ext <<_ACEOF
29307 /* confdefs.h. */
29308 _ACEOF
29309 cat confdefs.h >>conftest.$ac_ext
29310 cat >>conftest.$ac_ext <<_ACEOF
29311 /* end confdefs.h. */
29312
29313 #include <gtk/gtk.h>
29314 #include <stdio.h>
29315
29316 int
29317 main ()
29318 {
29319 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29320 ;
29321 return 0;
29322 }
29323 _ACEOF
29324 rm -f conftest.$ac_objext conftest$ac_exeext
29325 if { (ac_try="$ac_link"
29326 case "(($ac_try" in
29327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29328 *) ac_try_echo=$ac_try;;
29329 esac
29330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29331 (eval "$ac_link") 2>conftest.er1
29332 ac_status=$?
29333 grep -v '^ *+' conftest.er1 >conftest.err
29334 rm -f conftest.er1
29335 cat conftest.err >&5
29336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29337 (exit $ac_status); } && {
29338 test -z "$ac_c_werror_flag" ||
29339 test ! -s conftest.err
29340 } && test -s conftest$ac_exeext &&
29341 $as_test_x conftest$ac_exeext; then
29342 echo "*** The test program compiled, but did not run. This usually means"
29343 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29344 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29345 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29346 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29347 echo "*** is required on your system"
29348 echo "***"
29349 echo "*** If you have an old version installed, it is best to remove it, although"
29350 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29351 echo "***"
29352 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29353 echo "*** came with the system with the command"
29354 echo "***"
29355 echo "*** rpm --erase --nodeps gtk gtk-devel"
29356 else
29357 echo "$as_me: failed program was:" >&5
29358 sed 's/^/| /' conftest.$ac_ext >&5
29359
29360 echo "*** The test program failed to compile or link. See the file config.log for the"
29361 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29362 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29363 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29364 fi
29365
29366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29367 conftest$ac_exeext conftest.$ac_ext
29368 CFLAGS="$ac_save_CFLAGS"
29369 LIBS="$ac_save_LIBS"
29370 fi
29371 fi
29372 GTK_CFLAGS=""
29373 GTK_LIBS=""
29374 :
29375 fi
29376
29377
29378 rm -f conf.gtktest
29379
29380 fi
29381 fi
29382 fi
29383
29384 if test -z "$wx_cv_lib_gtk"; then
29385 wx_cv_lib_gtk=none
29386 else
29387 wx_cv_cflags_gtk=$GTK_CFLAGS
29388 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29389 fi
29390
29391
29392 fi
29393
29394
29395 if test "$gtk_version_cached" = 1; then
29396 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29397 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29398 fi
29399
29400 case "$wx_cv_lib_gtk" in
29401 2.0) WXGTK2=1
29402 TOOLKIT_VERSION=2
29403 ;;
29404 1.2.7) WXGTK127=1
29405 WXGTK12=1
29406 ;;
29407 1.2.3) WXGTK12=1
29408 ;;
29409 *) { { echo "$as_me:$LINENO: error:
29410 The development files for GTK+ were not found. For GTK+ 2, please
29411 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29412 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29413 and that the version is 1.2.3 or above. Also check that the
29414 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29415 --libs' are in the LD_LIBRARY_PATH or equivalent.
29416 " >&5
29417 echo "$as_me: error:
29418 The development files for GTK+ were not found. For GTK+ 2, please
29419 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29420 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29421 and that the version is 1.2.3 or above. Also check that the
29422 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29423 --libs' are in the LD_LIBRARY_PATH or equivalent.
29424 " >&2;}
29425 { (exit 1); exit 1; }; }
29426 ;;
29427 esac
29428
29429 if test "$WXGTK2" = 1; then
29430 save_CFLAGS="$CFLAGS"
29431 save_LIBS="$LIBS"
29432 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29433 LIBS="$LIBS $wx_cv_libs_gtk"
29434
29435 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29436 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29437 cat >conftest.$ac_ext <<_ACEOF
29438 /* confdefs.h. */
29439 _ACEOF
29440 cat confdefs.h >>conftest.$ac_ext
29441 cat >>conftest.$ac_ext <<_ACEOF
29442 /* end confdefs.h. */
29443
29444 #include <gtk/gtk.h>
29445
29446 int
29447 main ()
29448 {
29449
29450 #if !GTK_CHECK_VERSION(2,10,0)
29451 Not GTK+ 2.10
29452 #endif
29453
29454 ;
29455 return 0;
29456 }
29457 _ACEOF
29458 rm -f conftest.$ac_objext
29459 if { (ac_try="$ac_compile"
29460 case "(($ac_try" in
29461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29462 *) ac_try_echo=$ac_try;;
29463 esac
29464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29465 (eval "$ac_compile") 2>conftest.er1
29466 ac_status=$?
29467 grep -v '^ *+' conftest.er1 >conftest.err
29468 rm -f conftest.er1
29469 cat conftest.err >&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } && {
29472 test -z "$ac_c_werror_flag" ||
29473 test ! -s conftest.err
29474 } && test -s conftest.$ac_objext; then
29475
29476 cat >>confdefs.h <<\_ACEOF
29477 #define __WXGTK210__ 1
29478 _ACEOF
29479
29480 cat >>confdefs.h <<\_ACEOF
29481 #define __WXGTK26__ 1
29482 _ACEOF
29483
29484 { echo "$as_me:$LINENO: result: yes" >&5
29485 echo "${ECHO_T}yes" >&6; }
29486 ac_wxgtk210=1
29487
29488 else
29489 echo "$as_me: failed program was:" >&5
29490 sed 's/^/| /' conftest.$ac_ext >&5
29491
29492
29493 { echo "$as_me:$LINENO: result: no" >&5
29494 echo "${ECHO_T}no" >&6; }
29495 ac_wxgtk210=0
29496
29497 fi
29498
29499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29500
29501 if test "$ac_wxgtk210" = 0; then
29502 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29503 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29504 cat >conftest.$ac_ext <<_ACEOF
29505 /* confdefs.h. */
29506 _ACEOF
29507 cat confdefs.h >>conftest.$ac_ext
29508 cat >>conftest.$ac_ext <<_ACEOF
29509 /* end confdefs.h. */
29510
29511 #include <gtk/gtk.h>
29512
29513 int
29514 main ()
29515 {
29516
29517 #if !GTK_CHECK_VERSION(2,6,0)
29518 Not GTK+ 2.6
29519 #endif
29520
29521 ;
29522 return 0;
29523 }
29524 _ACEOF
29525 rm -f conftest.$ac_objext
29526 if { (ac_try="$ac_compile"
29527 case "(($ac_try" in
29528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29529 *) ac_try_echo=$ac_try;;
29530 esac
29531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29532 (eval "$ac_compile") 2>conftest.er1
29533 ac_status=$?
29534 grep -v '^ *+' conftest.er1 >conftest.err
29535 rm -f conftest.er1
29536 cat conftest.err >&5
29537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538 (exit $ac_status); } && {
29539 test -z "$ac_c_werror_flag" ||
29540 test ! -s conftest.err
29541 } && test -s conftest.$ac_objext; then
29542
29543 cat >>confdefs.h <<\_ACEOF
29544 #define __WXGTK26__ 1
29545 _ACEOF
29546
29547 { echo "$as_me:$LINENO: result: yes" >&5
29548 echo "${ECHO_T}yes" >&6; }
29549 ac_wxgtk26=1
29550
29551 else
29552 echo "$as_me: failed program was:" >&5
29553 sed 's/^/| /' conftest.$ac_ext >&5
29554
29555
29556 { echo "$as_me:$LINENO: result: no" >&5
29557 echo "${ECHO_T}no" >&6; }
29558 ac_wxgtk26=0
29559
29560 fi
29561
29562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29563 fi
29564
29565 CFLAGS="$save_CFLAGS"
29566 LIBS="$save_LIBS"
29567 else
29568 if test "$wxUSE_UNICODE" = "yes"; then
29569 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29570 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29571 wxUSE_UNICODE=no
29572 fi
29573
29574 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29575 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29576 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29577 echo $ECHO_N "(cached) $ECHO_C" >&6
29578 else
29579 ac_check_lib_save_LIBS=$LIBS
29580 LIBS="-lgdk $LIBS"
29581 cat >conftest.$ac_ext <<_ACEOF
29582 /* confdefs.h. */
29583 _ACEOF
29584 cat confdefs.h >>conftest.$ac_ext
29585 cat >>conftest.$ac_ext <<_ACEOF
29586 /* end confdefs.h. */
29587
29588 /* Override any GCC internal prototype to avoid an error.
29589 Use char because int might match the return type of a GCC
29590 builtin and then its argument prototype would still apply. */
29591 #ifdef __cplusplus
29592 extern "C"
29593 #endif
29594 char gdk_im_open ();
29595 int
29596 main ()
29597 {
29598 return gdk_im_open ();
29599 ;
29600 return 0;
29601 }
29602 _ACEOF
29603 rm -f conftest.$ac_objext conftest$ac_exeext
29604 if { (ac_try="$ac_link"
29605 case "(($ac_try" in
29606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29607 *) ac_try_echo=$ac_try;;
29608 esac
29609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29610 (eval "$ac_link") 2>conftest.er1
29611 ac_status=$?
29612 grep -v '^ *+' conftest.er1 >conftest.err
29613 rm -f conftest.er1
29614 cat conftest.err >&5
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); } && {
29617 test -z "$ac_c_werror_flag" ||
29618 test ! -s conftest.err
29619 } && test -s conftest$ac_exeext &&
29620 $as_test_x conftest$ac_exeext; then
29621 ac_cv_lib_gdk_gdk_im_open=yes
29622 else
29623 echo "$as_me: failed program was:" >&5
29624 sed 's/^/| /' conftest.$ac_ext >&5
29625
29626 ac_cv_lib_gdk_gdk_im_open=no
29627 fi
29628
29629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29630 conftest$ac_exeext conftest.$ac_ext
29631 LIBS=$ac_check_lib_save_LIBS
29632 fi
29633 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29634 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29635 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29636 cat >>confdefs.h <<\_ACEOF
29637 #define HAVE_XIM 1
29638 _ACEOF
29639
29640 fi
29641
29642
29643 if test "$USE_DARWIN" != 1; then
29644
29645 for ac_func in poll
29646 do
29647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29648 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29650 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29651 echo $ECHO_N "(cached) $ECHO_C" >&6
29652 else
29653 cat >conftest.$ac_ext <<_ACEOF
29654 /* confdefs.h. */
29655 _ACEOF
29656 cat confdefs.h >>conftest.$ac_ext
29657 cat >>conftest.$ac_ext <<_ACEOF
29658 /* end confdefs.h. */
29659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29661 #define $ac_func innocuous_$ac_func
29662
29663 /* System header to define __stub macros and hopefully few prototypes,
29664 which can conflict with char $ac_func (); below.
29665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29666 <limits.h> exists even on freestanding compilers. */
29667
29668 #ifdef __STDC__
29669 # include <limits.h>
29670 #else
29671 # include <assert.h>
29672 #endif
29673
29674 #undef $ac_func
29675
29676 /* Override any GCC internal prototype to avoid an error.
29677 Use char because int might match the return type of a GCC
29678 builtin and then its argument prototype would still apply. */
29679 #ifdef __cplusplus
29680 extern "C"
29681 #endif
29682 char $ac_func ();
29683 /* The GNU C library defines this for functions which it implements
29684 to always fail with ENOSYS. Some functions are actually named
29685 something starting with __ and the normal name is an alias. */
29686 #if defined __stub_$ac_func || defined __stub___$ac_func
29687 choke me
29688 #endif
29689
29690 int
29691 main ()
29692 {
29693 return $ac_func ();
29694 ;
29695 return 0;
29696 }
29697 _ACEOF
29698 rm -f conftest.$ac_objext conftest$ac_exeext
29699 if { (ac_try="$ac_link"
29700 case "(($ac_try" in
29701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29702 *) ac_try_echo=$ac_try;;
29703 esac
29704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29705 (eval "$ac_link") 2>conftest.er1
29706 ac_status=$?
29707 grep -v '^ *+' conftest.er1 >conftest.err
29708 rm -f conftest.er1
29709 cat conftest.err >&5
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); } && {
29712 test -z "$ac_c_werror_flag" ||
29713 test ! -s conftest.err
29714 } && test -s conftest$ac_exeext &&
29715 $as_test_x conftest$ac_exeext; then
29716 eval "$as_ac_var=yes"
29717 else
29718 echo "$as_me: failed program was:" >&5
29719 sed 's/^/| /' conftest.$ac_ext >&5
29720
29721 eval "$as_ac_var=no"
29722 fi
29723
29724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29725 conftest$ac_exeext conftest.$ac_ext
29726 fi
29727 ac_res=`eval echo '${'$as_ac_var'}'`
29728 { echo "$as_me:$LINENO: result: $ac_res" >&5
29729 echo "${ECHO_T}$ac_res" >&6; }
29730 if test `eval echo '${'$as_ac_var'}'` = yes; then
29731 cat >>confdefs.h <<_ACEOF
29732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29733 _ACEOF
29734
29735 fi
29736 done
29737
29738 fi
29739 fi
29740
29741 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29742 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29743
29744 AFMINSTALL=afminstall
29745 TOOLKIT=GTK
29746 GUIDIST=GTK_DIST
29747
29748 if test "$wxUSE_GPE" = "yes"; then
29749 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29750 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29751
29752 ac_find_libraries=
29753 for ac_dir in $SEARCH_LIB;
29754 do
29755 for ac_extension in a so sl dylib dll.a; do
29756 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29757 ac_find_libraries=$ac_dir
29758 break 2
29759 fi
29760 done
29761 done
29762
29763 if test "$ac_find_libraries" != "" ; then
29764
29765 if test "$ac_find_libraries" = "default location"; then
29766 ac_path_to_link=""
29767 else
29768 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29769 result=$?
29770 if test $result = 0; then
29771 ac_path_to_link=""
29772 else
29773 ac_path_to_link=" -L$ac_find_libraries"
29774 fi
29775 fi
29776
29777 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29778 WXGPE=1
29779 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29780 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29781 else
29782 { echo "$as_me:$LINENO: result: not found" >&5
29783 echo "${ECHO_T}not found" >&6; }
29784 fi
29785
29786 fi
29787 fi
29788
29789 if test "$wxUSE_MGL" = 1; then
29790 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29791 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29792 if test "x$MGL_ROOT" = x ; then
29793 { echo "$as_me:$LINENO: result: not found" >&5
29794 echo "${ECHO_T}not found" >&6; }
29795 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29796 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29797 { (exit 1); exit 1; }; }
29798 else
29799 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29800 echo "${ECHO_T}$MGL_ROOT" >&6; }
29801 fi
29802
29803 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29804 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29805 case "${host}" in
29806 *-*-linux* )
29807 if test "x$wxUSE_SHARED" = xyes ; then
29808 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29809 else
29810 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29811 fi
29812 ;;
29813 *-pc-msdosdjgpp )
29814 mgl_os_candidates="dos32/dj2"
29815 ;;
29816 *)
29817 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29818 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29819 { (exit 1); exit 1; }; }
29820 esac
29821
29822 mgl_lib_type=""
29823 mgl_os=""
29824
29825 for mgl_os_i in $mgl_os_candidates ; do
29826 if test "x$mgl_os" = x ; then
29827 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29828 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29829 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29830 mgl_lib_type=debug
29831 mgl_os=$mgl_os_i
29832 fi
29833 fi
29834 if test "x$mgl_lib_type" = x ; then
29835 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29836 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29837 mgl_lib_type=release
29838 mgl_os=$mgl_os_i
29839 fi
29840 fi
29841 fi
29842 done
29843
29844 if test "x$mgl_os" = x ; then
29845 { echo "$as_me:$LINENO: result: not found" >&5
29846 echo "${ECHO_T}not found" >&6; }
29847 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29848 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29849 { (exit 1); exit 1; }; }
29850 fi
29851 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29852 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29853
29854 wxUSE_UNIVERSAL="yes"
29855
29856 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29857 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29858
29859 AFMINSTALL=afminstall
29860 TOOLKIT=MGL
29861 GUIDIST=MGL_DIST
29862 fi
29863
29864 if test "$wxUSE_DFB" = 1; then
29865
29866
29867 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29868 if test -n "$ac_tool_prefix"; then
29869 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29870 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29873 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29874 echo $ECHO_N "(cached) $ECHO_C" >&6
29875 else
29876 case $PKG_CONFIG in
29877 [\\/]* | ?:[\\/]*)
29878 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29879 ;;
29880 *)
29881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29882 for as_dir in $PATH
29883 do
29884 IFS=$as_save_IFS
29885 test -z "$as_dir" && as_dir=.
29886 for ac_exec_ext in '' $ac_executable_extensions; do
29887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29888 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29890 break 2
29891 fi
29892 done
29893 done
29894 IFS=$as_save_IFS
29895
29896 ;;
29897 esac
29898 fi
29899 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29900 if test -n "$PKG_CONFIG"; then
29901 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29902 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29903 else
29904 { echo "$as_me:$LINENO: result: no" >&5
29905 echo "${ECHO_T}no" >&6; }
29906 fi
29907
29908
29909 fi
29910 if test -z "$ac_cv_path_PKG_CONFIG"; then
29911 ac_pt_PKG_CONFIG=$PKG_CONFIG
29912 # Extract the first word of "pkg-config", so it can be a program name with args.
29913 set dummy pkg-config; ac_word=$2
29914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29916 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29917 echo $ECHO_N "(cached) $ECHO_C" >&6
29918 else
29919 case $ac_pt_PKG_CONFIG in
29920 [\\/]* | ?:[\\/]*)
29921 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29922 ;;
29923 *)
29924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29925 for as_dir in $PATH
29926 do
29927 IFS=$as_save_IFS
29928 test -z "$as_dir" && as_dir=.
29929 for ac_exec_ext in '' $ac_executable_extensions; do
29930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29931 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29933 break 2
29934 fi
29935 done
29936 done
29937 IFS=$as_save_IFS
29938
29939 ;;
29940 esac
29941 fi
29942 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29943 if test -n "$ac_pt_PKG_CONFIG"; then
29944 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29945 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29946 else
29947 { echo "$as_me:$LINENO: result: no" >&5
29948 echo "${ECHO_T}no" >&6; }
29949 fi
29950
29951 if test "x$ac_pt_PKG_CONFIG" = x; then
29952 PKG_CONFIG=""
29953 else
29954 case $cross_compiling:$ac_tool_warned in
29955 yes:)
29956 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29957 whose name does not start with the host triplet. If you think this
29958 configuration is useful to you, please write to autoconf@gnu.org." >&5
29959 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29960 whose name does not start with the host triplet. If you think this
29961 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29962 ac_tool_warned=yes ;;
29963 esac
29964 PKG_CONFIG=$ac_pt_PKG_CONFIG
29965 fi
29966 else
29967 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29968 fi
29969
29970 fi
29971 if test -n "$PKG_CONFIG"; then
29972 _pkg_min_version=0.9.0
29973 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29974 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29975 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29976 { echo "$as_me:$LINENO: result: yes" >&5
29977 echo "${ECHO_T}yes" >&6; }
29978 else
29979 { echo "$as_me:$LINENO: result: no" >&5
29980 echo "${ECHO_T}no" >&6; }
29981 PKG_CONFIG=""
29982 fi
29983
29984 fi
29985
29986
29987 pkg_failed=no
29988 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29989 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29990
29991 if test -n "$PKG_CONFIG"; then
29992 if test -n "$DIRECTFB_CFLAGS"; then
29993 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29994 else
29995 if test -n "$PKG_CONFIG" && \
29996 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29997 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29998 ac_status=$?
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); }; then
30001 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30002 else
30003 pkg_failed=yes
30004 fi
30005 fi
30006 else
30007 pkg_failed=untried
30008 fi
30009 if test -n "$PKG_CONFIG"; then
30010 if test -n "$DIRECTFB_LIBS"; then
30011 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30012 else
30013 if test -n "$PKG_CONFIG" && \
30014 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30015 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30016 ac_status=$?
30017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30018 (exit $ac_status); }; then
30019 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30020 else
30021 pkg_failed=yes
30022 fi
30023 fi
30024 else
30025 pkg_failed=untried
30026 fi
30027
30028
30029
30030 if test $pkg_failed = yes; then
30031
30032 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30033 _pkg_short_errors_supported=yes
30034 else
30035 _pkg_short_errors_supported=no
30036 fi
30037 if test $_pkg_short_errors_supported = yes; then
30038 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30039 else
30040 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30041 fi
30042 # Put the nasty error message in config.log where it belongs
30043 echo "$DIRECTFB_PKG_ERRORS" >&5
30044
30045
30046 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30047 echo "$as_me: error: DirectFB not found." >&2;}
30048 { (exit 1); exit 1; }; }
30049
30050
30051 elif test $pkg_failed = untried; then
30052
30053 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30054 echo "$as_me: error: DirectFB not found." >&2;}
30055 { (exit 1); exit 1; }; }
30056
30057
30058 else
30059 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30060 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30061 { echo "$as_me:$LINENO: result: yes" >&5
30062 echo "${ECHO_T}yes" >&6; }
30063
30064 wxUSE_UNIVERSAL="yes"
30065 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30066 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30067 TOOLKIT=DFB
30068 GUIDIST=DFB_DIST
30069
30070 fi
30071 fi
30072
30073 if test "$wxUSE_MICROWIN" = 1; then
30074 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30075 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30076 if test "x$MICROWINDOWS" = x ; then
30077 { echo "$as_me:$LINENO: result: not found" >&5
30078 echo "${ECHO_T}not found" >&6; }
30079 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30080 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30081 { (exit 1); exit 1; }; }
30082 else
30083 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30084 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30085 fi
30086
30087 if test -f $MICROWINDOWS/lib/libmwin.a; then
30088 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30089 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30090 else
30091 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30092 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30093 { (exit 1); exit 1; }; }
30094 fi
30095
30096 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30097 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30098
30099 wxUSE_UNIVERSAL="yes"
30100
30101 AFMINSTALL=afminstall
30102 TOOLKIT=MICROWIN
30103 GUIDIST=MICROWIN_DIST
30104
30105 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30106 fi
30107
30108 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30109 { echo "$as_me:$LINENO: checking for X" >&5
30110 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30111
30112
30113 # Check whether --with-x was given.
30114 if test "${with_x+set}" = set; then
30115 withval=$with_x;
30116 fi
30117
30118 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30119 if test "x$with_x" = xno; then
30120 # The user explicitly disabled X.
30121 have_x=disabled
30122 else
30123 case $x_includes,$x_libraries in #(
30124 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30125 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30126 { (exit 1); exit 1; }; };; #(
30127 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30128 echo $ECHO_N "(cached) $ECHO_C" >&6
30129 else
30130 # One or both of the vars are not set, and there is no cached value.
30131 ac_x_includes=no ac_x_libraries=no
30132 rm -f -r conftest.dir
30133 if mkdir conftest.dir; then
30134 cd conftest.dir
30135 cat >Imakefile <<'_ACEOF'
30136 incroot:
30137 @echo incroot='${INCROOT}'
30138 usrlibdir:
30139 @echo usrlibdir='${USRLIBDIR}'
30140 libdir:
30141 @echo libdir='${LIBDIR}'
30142 _ACEOF
30143 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30144 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30145 for ac_var in incroot usrlibdir libdir; do
30146 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30147 done
30148 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30149 for ac_extension in a so sl; do
30150 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30151 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30152 ac_im_usrlibdir=$ac_im_libdir; break
30153 fi
30154 done
30155 # Screen out bogus values from the imake configuration. They are
30156 # bogus both because they are the default anyway, and because
30157 # using them would break gcc on systems where it needs fixed includes.
30158 case $ac_im_incroot in
30159 /usr/include) ac_x_includes= ;;
30160 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30161 esac
30162 case $ac_im_usrlibdir in
30163 /usr/lib | /lib) ;;
30164 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30165 esac
30166 fi
30167 cd ..
30168 rm -f -r conftest.dir
30169 fi
30170
30171 # Standard set of common directories for X headers.
30172 # Check X11 before X11Rn because it is often a symlink to the current release.
30173 ac_x_header_dirs='
30174 /usr/X11/include
30175 /usr/X11R6/include
30176 /usr/X11R5/include
30177 /usr/X11R4/include
30178
30179 /usr/include/X11
30180 /usr/include/X11R6
30181 /usr/include/X11R5
30182 /usr/include/X11R4
30183
30184 /usr/local/X11/include
30185 /usr/local/X11R6/include
30186 /usr/local/X11R5/include
30187 /usr/local/X11R4/include
30188
30189 /usr/local/include/X11
30190 /usr/local/include/X11R6
30191 /usr/local/include/X11R5
30192 /usr/local/include/X11R4
30193
30194 /usr/X386/include
30195 /usr/x386/include
30196 /usr/XFree86/include/X11
30197
30198 /usr/include
30199 /usr/local/include
30200 /usr/unsupported/include
30201 /usr/athena/include
30202 /usr/local/x11r5/include
30203 /usr/lpp/Xamples/include
30204
30205 /usr/openwin/include
30206 /usr/openwin/share/include'
30207
30208 if test "$ac_x_includes" = no; then
30209 # Guess where to find include files, by looking for Xlib.h.
30210 # First, try using that file with no special directory specified.
30211 cat >conftest.$ac_ext <<_ACEOF
30212 /* confdefs.h. */
30213 _ACEOF
30214 cat confdefs.h >>conftest.$ac_ext
30215 cat >>conftest.$ac_ext <<_ACEOF
30216 /* end confdefs.h. */
30217 #include <X11/Xlib.h>
30218 _ACEOF
30219 if { (ac_try="$ac_cpp conftest.$ac_ext"
30220 case "(($ac_try" in
30221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30222 *) ac_try_echo=$ac_try;;
30223 esac
30224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30225 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30226 ac_status=$?
30227 grep -v '^ *+' conftest.er1 >conftest.err
30228 rm -f conftest.er1
30229 cat conftest.err >&5
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); } >/dev/null && {
30232 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30233 test ! -s conftest.err
30234 }; then
30235 # We can compile using X headers with no special include directory.
30236 ac_x_includes=
30237 else
30238 echo "$as_me: failed program was:" >&5
30239 sed 's/^/| /' conftest.$ac_ext >&5
30240
30241 for ac_dir in $ac_x_header_dirs; do
30242 if test -r "$ac_dir/X11/Xlib.h"; then
30243 ac_x_includes=$ac_dir
30244 break
30245 fi
30246 done
30247 fi
30248
30249 rm -f conftest.err conftest.$ac_ext
30250 fi # $ac_x_includes = no
30251
30252 if test "$ac_x_libraries" = no; then
30253 # Check for the libraries.
30254 # See if we find them without any special options.
30255 # Don't add to $LIBS permanently.
30256 ac_save_LIBS=$LIBS
30257 LIBS="-lX11 $LIBS"
30258 cat >conftest.$ac_ext <<_ACEOF
30259 /* confdefs.h. */
30260 _ACEOF
30261 cat confdefs.h >>conftest.$ac_ext
30262 cat >>conftest.$ac_ext <<_ACEOF
30263 /* end confdefs.h. */
30264 #include <X11/Xlib.h>
30265 int
30266 main ()
30267 {
30268 XrmInitialize ()
30269 ;
30270 return 0;
30271 }
30272 _ACEOF
30273 rm -f conftest.$ac_objext conftest$ac_exeext
30274 if { (ac_try="$ac_link"
30275 case "(($ac_try" in
30276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30277 *) ac_try_echo=$ac_try;;
30278 esac
30279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30280 (eval "$ac_link") 2>conftest.er1
30281 ac_status=$?
30282 grep -v '^ *+' conftest.er1 >conftest.err
30283 rm -f conftest.er1
30284 cat conftest.err >&5
30285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30286 (exit $ac_status); } && {
30287 test -z "$ac_c_werror_flag" ||
30288 test ! -s conftest.err
30289 } && test -s conftest$ac_exeext &&
30290 $as_test_x conftest$ac_exeext; then
30291 LIBS=$ac_save_LIBS
30292 # We can link X programs with no special library path.
30293 ac_x_libraries=
30294 else
30295 echo "$as_me: failed program was:" >&5
30296 sed 's/^/| /' conftest.$ac_ext >&5
30297
30298 LIBS=$ac_save_LIBS
30299 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30300 do
30301 # Don't even attempt the hair of trying to link an X program!
30302 for ac_extension in a so sl; do
30303 if test -r "$ac_dir/libX11.$ac_extension"; then
30304 ac_x_libraries=$ac_dir
30305 break 2
30306 fi
30307 done
30308 done
30309 fi
30310
30311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30312 conftest$ac_exeext conftest.$ac_ext
30313 fi # $ac_x_libraries = no
30314
30315 case $ac_x_includes,$ac_x_libraries in #(
30316 no,* | *,no | *\'*)
30317 # Didn't find X, or a directory has "'" in its name.
30318 ac_cv_have_x="have_x=no";; #(
30319 *)
30320 # Record where we found X for the cache.
30321 ac_cv_have_x="have_x=yes\
30322 ac_x_includes='$ac_x_includes'\
30323 ac_x_libraries='$ac_x_libraries'"
30324 esac
30325 fi
30326 ;; #(
30327 *) have_x=yes;;
30328 esac
30329 eval "$ac_cv_have_x"
30330 fi # $with_x != no
30331
30332 if test "$have_x" != yes; then
30333 { echo "$as_me:$LINENO: result: $have_x" >&5
30334 echo "${ECHO_T}$have_x" >&6; }
30335 no_x=yes
30336 else
30337 # If each of the values was on the command line, it overrides each guess.
30338 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30339 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30340 # Update the cache value to reflect the command line values.
30341 ac_cv_have_x="have_x=yes\
30342 ac_x_includes='$x_includes'\
30343 ac_x_libraries='$x_libraries'"
30344 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30345 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30346 fi
30347
30348 if test "$no_x" = yes; then
30349 # Not all programs may use this symbol, but it does not hurt to define it.
30350
30351 cat >>confdefs.h <<\_ACEOF
30352 #define X_DISPLAY_MISSING 1
30353 _ACEOF
30354
30355 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30356 else
30357 if test -n "$x_includes"; then
30358 X_CFLAGS="$X_CFLAGS -I$x_includes"
30359 fi
30360
30361 # It would also be nice to do this for all -L options, not just this one.
30362 if test -n "$x_libraries"; then
30363 X_LIBS="$X_LIBS -L$x_libraries"
30364 # For Solaris; some versions of Sun CC require a space after -R and
30365 # others require no space. Words are not sufficient . . . .
30366 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30367 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30368 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30369 ac_xsave_c_werror_flag=$ac_c_werror_flag
30370 ac_c_werror_flag=yes
30371 cat >conftest.$ac_ext <<_ACEOF
30372 /* confdefs.h. */
30373 _ACEOF
30374 cat confdefs.h >>conftest.$ac_ext
30375 cat >>conftest.$ac_ext <<_ACEOF
30376 /* end confdefs.h. */
30377
30378 int
30379 main ()
30380 {
30381
30382 ;
30383 return 0;
30384 }
30385 _ACEOF
30386 rm -f conftest.$ac_objext conftest$ac_exeext
30387 if { (ac_try="$ac_link"
30388 case "(($ac_try" in
30389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30390 *) ac_try_echo=$ac_try;;
30391 esac
30392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30393 (eval "$ac_link") 2>conftest.er1
30394 ac_status=$?
30395 grep -v '^ *+' conftest.er1 >conftest.err
30396 rm -f conftest.er1
30397 cat conftest.err >&5
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); } && {
30400 test -z "$ac_c_werror_flag" ||
30401 test ! -s conftest.err
30402 } && test -s conftest$ac_exeext &&
30403 $as_test_x conftest$ac_exeext; then
30404 { echo "$as_me:$LINENO: result: no" >&5
30405 echo "${ECHO_T}no" >&6; }
30406 X_LIBS="$X_LIBS -R$x_libraries"
30407 else
30408 echo "$as_me: failed program was:" >&5
30409 sed 's/^/| /' conftest.$ac_ext >&5
30410
30411 LIBS="$ac_xsave_LIBS -R $x_libraries"
30412 cat >conftest.$ac_ext <<_ACEOF
30413 /* confdefs.h. */
30414 _ACEOF
30415 cat confdefs.h >>conftest.$ac_ext
30416 cat >>conftest.$ac_ext <<_ACEOF
30417 /* end confdefs.h. */
30418
30419 int
30420 main ()
30421 {
30422
30423 ;
30424 return 0;
30425 }
30426 _ACEOF
30427 rm -f conftest.$ac_objext conftest$ac_exeext
30428 if { (ac_try="$ac_link"
30429 case "(($ac_try" in
30430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30431 *) ac_try_echo=$ac_try;;
30432 esac
30433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30434 (eval "$ac_link") 2>conftest.er1
30435 ac_status=$?
30436 grep -v '^ *+' conftest.er1 >conftest.err
30437 rm -f conftest.er1
30438 cat conftest.err >&5
30439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30440 (exit $ac_status); } && {
30441 test -z "$ac_c_werror_flag" ||
30442 test ! -s conftest.err
30443 } && test -s conftest$ac_exeext &&
30444 $as_test_x conftest$ac_exeext; then
30445 { echo "$as_me:$LINENO: result: yes" >&5
30446 echo "${ECHO_T}yes" >&6; }
30447 X_LIBS="$X_LIBS -R $x_libraries"
30448 else
30449 echo "$as_me: failed program was:" >&5
30450 sed 's/^/| /' conftest.$ac_ext >&5
30451
30452 { echo "$as_me:$LINENO: result: neither works" >&5
30453 echo "${ECHO_T}neither works" >&6; }
30454 fi
30455
30456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30457 conftest$ac_exeext conftest.$ac_ext
30458 fi
30459
30460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30461 conftest$ac_exeext conftest.$ac_ext
30462 ac_c_werror_flag=$ac_xsave_c_werror_flag
30463 LIBS=$ac_xsave_LIBS
30464 fi
30465
30466 # Check for system-dependent libraries X programs must link with.
30467 # Do this before checking for the system-independent R6 libraries
30468 # (-lICE), since we may need -lsocket or whatever for X linking.
30469
30470 if test "$ISC" = yes; then
30471 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30472 else
30473 # Martyn Johnson says this is needed for Ultrix, if the X
30474 # libraries were built with DECnet support. And Karl Berry says
30475 # the Alpha needs dnet_stub (dnet does not exist).
30476 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30477 cat >conftest.$ac_ext <<_ACEOF
30478 /* confdefs.h. */
30479 _ACEOF
30480 cat confdefs.h >>conftest.$ac_ext
30481 cat >>conftest.$ac_ext <<_ACEOF
30482 /* end confdefs.h. */
30483
30484 /* Override any GCC internal prototype to avoid an error.
30485 Use char because int might match the return type of a GCC
30486 builtin and then its argument prototype would still apply. */
30487 #ifdef __cplusplus
30488 extern "C"
30489 #endif
30490 char XOpenDisplay ();
30491 int
30492 main ()
30493 {
30494 return XOpenDisplay ();
30495 ;
30496 return 0;
30497 }
30498 _ACEOF
30499 rm -f conftest.$ac_objext conftest$ac_exeext
30500 if { (ac_try="$ac_link"
30501 case "(($ac_try" in
30502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30503 *) ac_try_echo=$ac_try;;
30504 esac
30505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30506 (eval "$ac_link") 2>conftest.er1
30507 ac_status=$?
30508 grep -v '^ *+' conftest.er1 >conftest.err
30509 rm -f conftest.er1
30510 cat conftest.err >&5
30511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30512 (exit $ac_status); } && {
30513 test -z "$ac_c_werror_flag" ||
30514 test ! -s conftest.err
30515 } && test -s conftest$ac_exeext &&
30516 $as_test_x conftest$ac_exeext; then
30517 :
30518 else
30519 echo "$as_me: failed program was:" >&5
30520 sed 's/^/| /' conftest.$ac_ext >&5
30521
30522 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30523 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30524 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30525 echo $ECHO_N "(cached) $ECHO_C" >&6
30526 else
30527 ac_check_lib_save_LIBS=$LIBS
30528 LIBS="-ldnet $LIBS"
30529 cat >conftest.$ac_ext <<_ACEOF
30530 /* confdefs.h. */
30531 _ACEOF
30532 cat confdefs.h >>conftest.$ac_ext
30533 cat >>conftest.$ac_ext <<_ACEOF
30534 /* end confdefs.h. */
30535
30536 /* Override any GCC internal prototype to avoid an error.
30537 Use char because int might match the return type of a GCC
30538 builtin and then its argument prototype would still apply. */
30539 #ifdef __cplusplus
30540 extern "C"
30541 #endif
30542 char dnet_ntoa ();
30543 int
30544 main ()
30545 {
30546 return dnet_ntoa ();
30547 ;
30548 return 0;
30549 }
30550 _ACEOF
30551 rm -f conftest.$ac_objext conftest$ac_exeext
30552 if { (ac_try="$ac_link"
30553 case "(($ac_try" in
30554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30555 *) ac_try_echo=$ac_try;;
30556 esac
30557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30558 (eval "$ac_link") 2>conftest.er1
30559 ac_status=$?
30560 grep -v '^ *+' conftest.er1 >conftest.err
30561 rm -f conftest.er1
30562 cat conftest.err >&5
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); } && {
30565 test -z "$ac_c_werror_flag" ||
30566 test ! -s conftest.err
30567 } && test -s conftest$ac_exeext &&
30568 $as_test_x conftest$ac_exeext; then
30569 ac_cv_lib_dnet_dnet_ntoa=yes
30570 else
30571 echo "$as_me: failed program was:" >&5
30572 sed 's/^/| /' conftest.$ac_ext >&5
30573
30574 ac_cv_lib_dnet_dnet_ntoa=no
30575 fi
30576
30577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30578 conftest$ac_exeext conftest.$ac_ext
30579 LIBS=$ac_check_lib_save_LIBS
30580 fi
30581 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30582 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30583 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30584 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30585 fi
30586
30587 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30588 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30589 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30590 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30591 echo $ECHO_N "(cached) $ECHO_C" >&6
30592 else
30593 ac_check_lib_save_LIBS=$LIBS
30594 LIBS="-ldnet_stub $LIBS"
30595 cat >conftest.$ac_ext <<_ACEOF
30596 /* confdefs.h. */
30597 _ACEOF
30598 cat confdefs.h >>conftest.$ac_ext
30599 cat >>conftest.$ac_ext <<_ACEOF
30600 /* end confdefs.h. */
30601
30602 /* Override any GCC internal prototype to avoid an error.
30603 Use char because int might match the return type of a GCC
30604 builtin and then its argument prototype would still apply. */
30605 #ifdef __cplusplus
30606 extern "C"
30607 #endif
30608 char dnet_ntoa ();
30609 int
30610 main ()
30611 {
30612 return dnet_ntoa ();
30613 ;
30614 return 0;
30615 }
30616 _ACEOF
30617 rm -f conftest.$ac_objext conftest$ac_exeext
30618 if { (ac_try="$ac_link"
30619 case "(($ac_try" in
30620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30621 *) ac_try_echo=$ac_try;;
30622 esac
30623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30624 (eval "$ac_link") 2>conftest.er1
30625 ac_status=$?
30626 grep -v '^ *+' conftest.er1 >conftest.err
30627 rm -f conftest.er1
30628 cat conftest.err >&5
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); } && {
30631 test -z "$ac_c_werror_flag" ||
30632 test ! -s conftest.err
30633 } && test -s conftest$ac_exeext &&
30634 $as_test_x conftest$ac_exeext; then
30635 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30636 else
30637 echo "$as_me: failed program was:" >&5
30638 sed 's/^/| /' conftest.$ac_ext >&5
30639
30640 ac_cv_lib_dnet_stub_dnet_ntoa=no
30641 fi
30642
30643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30644 conftest$ac_exeext conftest.$ac_ext
30645 LIBS=$ac_check_lib_save_LIBS
30646 fi
30647 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30648 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30649 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30650 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30651 fi
30652
30653 fi
30654 fi
30655
30656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30657 conftest$ac_exeext conftest.$ac_ext
30658 LIBS="$ac_xsave_LIBS"
30659
30660 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30661 # to get the SysV transport functions.
30662 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30663 # needs -lnsl.
30664 # The nsl library prevents programs from opening the X display
30665 # on Irix 5.2, according to T.E. Dickey.
30666 # The functions gethostbyname, getservbyname, and inet_addr are
30667 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30668 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30669 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30670 if test "${ac_cv_func_gethostbyname+set}" = set; then
30671 echo $ECHO_N "(cached) $ECHO_C" >&6
30672 else
30673 cat >conftest.$ac_ext <<_ACEOF
30674 /* confdefs.h. */
30675 _ACEOF
30676 cat confdefs.h >>conftest.$ac_ext
30677 cat >>conftest.$ac_ext <<_ACEOF
30678 /* end confdefs.h. */
30679 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30681 #define gethostbyname innocuous_gethostbyname
30682
30683 /* System header to define __stub macros and hopefully few prototypes,
30684 which can conflict with char gethostbyname (); below.
30685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30686 <limits.h> exists even on freestanding compilers. */
30687
30688 #ifdef __STDC__
30689 # include <limits.h>
30690 #else
30691 # include <assert.h>
30692 #endif
30693
30694 #undef gethostbyname
30695
30696 /* Override any GCC internal prototype to avoid an error.
30697 Use char because int might match the return type of a GCC
30698 builtin and then its argument prototype would still apply. */
30699 #ifdef __cplusplus
30700 extern "C"
30701 #endif
30702 char gethostbyname ();
30703 /* The GNU C library defines this for functions which it implements
30704 to always fail with ENOSYS. Some functions are actually named
30705 something starting with __ and the normal name is an alias. */
30706 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30707 choke me
30708 #endif
30709
30710 int
30711 main ()
30712 {
30713 return gethostbyname ();
30714 ;
30715 return 0;
30716 }
30717 _ACEOF
30718 rm -f conftest.$ac_objext conftest$ac_exeext
30719 if { (ac_try="$ac_link"
30720 case "(($ac_try" in
30721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30722 *) ac_try_echo=$ac_try;;
30723 esac
30724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30725 (eval "$ac_link") 2>conftest.er1
30726 ac_status=$?
30727 grep -v '^ *+' conftest.er1 >conftest.err
30728 rm -f conftest.er1
30729 cat conftest.err >&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); } && {
30732 test -z "$ac_c_werror_flag" ||
30733 test ! -s conftest.err
30734 } && test -s conftest$ac_exeext &&
30735 $as_test_x conftest$ac_exeext; then
30736 ac_cv_func_gethostbyname=yes
30737 else
30738 echo "$as_me: failed program was:" >&5
30739 sed 's/^/| /' conftest.$ac_ext >&5
30740
30741 ac_cv_func_gethostbyname=no
30742 fi
30743
30744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30745 conftest$ac_exeext conftest.$ac_ext
30746 fi
30747 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30748 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30749
30750 if test $ac_cv_func_gethostbyname = no; then
30751 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30752 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30753 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30754 echo $ECHO_N "(cached) $ECHO_C" >&6
30755 else
30756 ac_check_lib_save_LIBS=$LIBS
30757 LIBS="-lnsl $LIBS"
30758 cat >conftest.$ac_ext <<_ACEOF
30759 /* confdefs.h. */
30760 _ACEOF
30761 cat confdefs.h >>conftest.$ac_ext
30762 cat >>conftest.$ac_ext <<_ACEOF
30763 /* end confdefs.h. */
30764
30765 /* Override any GCC internal prototype to avoid an error.
30766 Use char because int might match the return type of a GCC
30767 builtin and then its argument prototype would still apply. */
30768 #ifdef __cplusplus
30769 extern "C"
30770 #endif
30771 char gethostbyname ();
30772 int
30773 main ()
30774 {
30775 return gethostbyname ();
30776 ;
30777 return 0;
30778 }
30779 _ACEOF
30780 rm -f conftest.$ac_objext conftest$ac_exeext
30781 if { (ac_try="$ac_link"
30782 case "(($ac_try" in
30783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30784 *) ac_try_echo=$ac_try;;
30785 esac
30786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30787 (eval "$ac_link") 2>conftest.er1
30788 ac_status=$?
30789 grep -v '^ *+' conftest.er1 >conftest.err
30790 rm -f conftest.er1
30791 cat conftest.err >&5
30792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30793 (exit $ac_status); } && {
30794 test -z "$ac_c_werror_flag" ||
30795 test ! -s conftest.err
30796 } && test -s conftest$ac_exeext &&
30797 $as_test_x conftest$ac_exeext; then
30798 ac_cv_lib_nsl_gethostbyname=yes
30799 else
30800 echo "$as_me: failed program was:" >&5
30801 sed 's/^/| /' conftest.$ac_ext >&5
30802
30803 ac_cv_lib_nsl_gethostbyname=no
30804 fi
30805
30806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30807 conftest$ac_exeext conftest.$ac_ext
30808 LIBS=$ac_check_lib_save_LIBS
30809 fi
30810 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30811 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30812 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30813 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30814 fi
30815
30816 if test $ac_cv_lib_nsl_gethostbyname = no; then
30817 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30818 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30819 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30820 echo $ECHO_N "(cached) $ECHO_C" >&6
30821 else
30822 ac_check_lib_save_LIBS=$LIBS
30823 LIBS="-lbsd $LIBS"
30824 cat >conftest.$ac_ext <<_ACEOF
30825 /* confdefs.h. */
30826 _ACEOF
30827 cat confdefs.h >>conftest.$ac_ext
30828 cat >>conftest.$ac_ext <<_ACEOF
30829 /* end confdefs.h. */
30830
30831 /* Override any GCC internal prototype to avoid an error.
30832 Use char because int might match the return type of a GCC
30833 builtin and then its argument prototype would still apply. */
30834 #ifdef __cplusplus
30835 extern "C"
30836 #endif
30837 char gethostbyname ();
30838 int
30839 main ()
30840 {
30841 return gethostbyname ();
30842 ;
30843 return 0;
30844 }
30845 _ACEOF
30846 rm -f conftest.$ac_objext conftest$ac_exeext
30847 if { (ac_try="$ac_link"
30848 case "(($ac_try" in
30849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30850 *) ac_try_echo=$ac_try;;
30851 esac
30852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30853 (eval "$ac_link") 2>conftest.er1
30854 ac_status=$?
30855 grep -v '^ *+' conftest.er1 >conftest.err
30856 rm -f conftest.er1
30857 cat conftest.err >&5
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); } && {
30860 test -z "$ac_c_werror_flag" ||
30861 test ! -s conftest.err
30862 } && test -s conftest$ac_exeext &&
30863 $as_test_x conftest$ac_exeext; then
30864 ac_cv_lib_bsd_gethostbyname=yes
30865 else
30866 echo "$as_me: failed program was:" >&5
30867 sed 's/^/| /' conftest.$ac_ext >&5
30868
30869 ac_cv_lib_bsd_gethostbyname=no
30870 fi
30871
30872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30873 conftest$ac_exeext conftest.$ac_ext
30874 LIBS=$ac_check_lib_save_LIBS
30875 fi
30876 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30877 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30878 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30879 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30880 fi
30881
30882 fi
30883 fi
30884
30885 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30886 # socket/setsockopt and other routines are undefined under SCO ODT
30887 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30888 # on later versions), says Simon Leinen: it contains gethostby*
30889 # variants that don't use the name server (or something). -lsocket
30890 # must be given before -lnsl if both are needed. We assume that
30891 # if connect needs -lnsl, so does gethostbyname.
30892 { echo "$as_me:$LINENO: checking for connect" >&5
30893 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30894 if test "${ac_cv_func_connect+set}" = set; then
30895 echo $ECHO_N "(cached) $ECHO_C" >&6
30896 else
30897 cat >conftest.$ac_ext <<_ACEOF
30898 /* confdefs.h. */
30899 _ACEOF
30900 cat confdefs.h >>conftest.$ac_ext
30901 cat >>conftest.$ac_ext <<_ACEOF
30902 /* end confdefs.h. */
30903 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30905 #define connect innocuous_connect
30906
30907 /* System header to define __stub macros and hopefully few prototypes,
30908 which can conflict with char connect (); below.
30909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30910 <limits.h> exists even on freestanding compilers. */
30911
30912 #ifdef __STDC__
30913 # include <limits.h>
30914 #else
30915 # include <assert.h>
30916 #endif
30917
30918 #undef connect
30919
30920 /* Override any GCC internal prototype to avoid an error.
30921 Use char because int might match the return type of a GCC
30922 builtin and then its argument prototype would still apply. */
30923 #ifdef __cplusplus
30924 extern "C"
30925 #endif
30926 char connect ();
30927 /* The GNU C library defines this for functions which it implements
30928 to always fail with ENOSYS. Some functions are actually named
30929 something starting with __ and the normal name is an alias. */
30930 #if defined __stub_connect || defined __stub___connect
30931 choke me
30932 #endif
30933
30934 int
30935 main ()
30936 {
30937 return connect ();
30938 ;
30939 return 0;
30940 }
30941 _ACEOF
30942 rm -f conftest.$ac_objext conftest$ac_exeext
30943 if { (ac_try="$ac_link"
30944 case "(($ac_try" in
30945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30946 *) ac_try_echo=$ac_try;;
30947 esac
30948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30949 (eval "$ac_link") 2>conftest.er1
30950 ac_status=$?
30951 grep -v '^ *+' conftest.er1 >conftest.err
30952 rm -f conftest.er1
30953 cat conftest.err >&5
30954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955 (exit $ac_status); } && {
30956 test -z "$ac_c_werror_flag" ||
30957 test ! -s conftest.err
30958 } && test -s conftest$ac_exeext &&
30959 $as_test_x conftest$ac_exeext; then
30960 ac_cv_func_connect=yes
30961 else
30962 echo "$as_me: failed program was:" >&5
30963 sed 's/^/| /' conftest.$ac_ext >&5
30964
30965 ac_cv_func_connect=no
30966 fi
30967
30968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30969 conftest$ac_exeext conftest.$ac_ext
30970 fi
30971 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30972 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30973
30974 if test $ac_cv_func_connect = no; then
30975 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30976 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30977 if test "${ac_cv_lib_socket_connect+set}" = set; then
30978 echo $ECHO_N "(cached) $ECHO_C" >&6
30979 else
30980 ac_check_lib_save_LIBS=$LIBS
30981 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30982 cat >conftest.$ac_ext <<_ACEOF
30983 /* confdefs.h. */
30984 _ACEOF
30985 cat confdefs.h >>conftest.$ac_ext
30986 cat >>conftest.$ac_ext <<_ACEOF
30987 /* end confdefs.h. */
30988
30989 /* Override any GCC internal prototype to avoid an error.
30990 Use char because int might match the return type of a GCC
30991 builtin and then its argument prototype would still apply. */
30992 #ifdef __cplusplus
30993 extern "C"
30994 #endif
30995 char connect ();
30996 int
30997 main ()
30998 {
30999 return connect ();
31000 ;
31001 return 0;
31002 }
31003 _ACEOF
31004 rm -f conftest.$ac_objext conftest$ac_exeext
31005 if { (ac_try="$ac_link"
31006 case "(($ac_try" in
31007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31008 *) ac_try_echo=$ac_try;;
31009 esac
31010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31011 (eval "$ac_link") 2>conftest.er1
31012 ac_status=$?
31013 grep -v '^ *+' conftest.er1 >conftest.err
31014 rm -f conftest.er1
31015 cat conftest.err >&5
31016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31017 (exit $ac_status); } && {
31018 test -z "$ac_c_werror_flag" ||
31019 test ! -s conftest.err
31020 } && test -s conftest$ac_exeext &&
31021 $as_test_x conftest$ac_exeext; then
31022 ac_cv_lib_socket_connect=yes
31023 else
31024 echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.$ac_ext >&5
31026
31027 ac_cv_lib_socket_connect=no
31028 fi
31029
31030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31031 conftest$ac_exeext conftest.$ac_ext
31032 LIBS=$ac_check_lib_save_LIBS
31033 fi
31034 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31035 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31036 if test $ac_cv_lib_socket_connect = yes; then
31037 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31038 fi
31039
31040 fi
31041
31042 # Guillermo Gomez says -lposix is necessary on A/UX.
31043 { echo "$as_me:$LINENO: checking for remove" >&5
31044 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31045 if test "${ac_cv_func_remove+set}" = set; then
31046 echo $ECHO_N "(cached) $ECHO_C" >&6
31047 else
31048 cat >conftest.$ac_ext <<_ACEOF
31049 /* confdefs.h. */
31050 _ACEOF
31051 cat confdefs.h >>conftest.$ac_ext
31052 cat >>conftest.$ac_ext <<_ACEOF
31053 /* end confdefs.h. */
31054 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31056 #define remove innocuous_remove
31057
31058 /* System header to define __stub macros and hopefully few prototypes,
31059 which can conflict with char remove (); below.
31060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31061 <limits.h> exists even on freestanding compilers. */
31062
31063 #ifdef __STDC__
31064 # include <limits.h>
31065 #else
31066 # include <assert.h>
31067 #endif
31068
31069 #undef remove
31070
31071 /* Override any GCC internal prototype to avoid an error.
31072 Use char because int might match the return type of a GCC
31073 builtin and then its argument prototype would still apply. */
31074 #ifdef __cplusplus
31075 extern "C"
31076 #endif
31077 char remove ();
31078 /* The GNU C library defines this for functions which it implements
31079 to always fail with ENOSYS. Some functions are actually named
31080 something starting with __ and the normal name is an alias. */
31081 #if defined __stub_remove || defined __stub___remove
31082 choke me
31083 #endif
31084
31085 int
31086 main ()
31087 {
31088 return remove ();
31089 ;
31090 return 0;
31091 }
31092 _ACEOF
31093 rm -f conftest.$ac_objext conftest$ac_exeext
31094 if { (ac_try="$ac_link"
31095 case "(($ac_try" in
31096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31097 *) ac_try_echo=$ac_try;;
31098 esac
31099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31100 (eval "$ac_link") 2>conftest.er1
31101 ac_status=$?
31102 grep -v '^ *+' conftest.er1 >conftest.err
31103 rm -f conftest.er1
31104 cat conftest.err >&5
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); } && {
31107 test -z "$ac_c_werror_flag" ||
31108 test ! -s conftest.err
31109 } && test -s conftest$ac_exeext &&
31110 $as_test_x conftest$ac_exeext; then
31111 ac_cv_func_remove=yes
31112 else
31113 echo "$as_me: failed program was:" >&5
31114 sed 's/^/| /' conftest.$ac_ext >&5
31115
31116 ac_cv_func_remove=no
31117 fi
31118
31119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31120 conftest$ac_exeext conftest.$ac_ext
31121 fi
31122 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31123 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31124
31125 if test $ac_cv_func_remove = no; then
31126 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31127 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31128 if test "${ac_cv_lib_posix_remove+set}" = set; then
31129 echo $ECHO_N "(cached) $ECHO_C" >&6
31130 else
31131 ac_check_lib_save_LIBS=$LIBS
31132 LIBS="-lposix $LIBS"
31133 cat >conftest.$ac_ext <<_ACEOF
31134 /* confdefs.h. */
31135 _ACEOF
31136 cat confdefs.h >>conftest.$ac_ext
31137 cat >>conftest.$ac_ext <<_ACEOF
31138 /* end confdefs.h. */
31139
31140 /* Override any GCC internal prototype to avoid an error.
31141 Use char because int might match the return type of a GCC
31142 builtin and then its argument prototype would still apply. */
31143 #ifdef __cplusplus
31144 extern "C"
31145 #endif
31146 char remove ();
31147 int
31148 main ()
31149 {
31150 return remove ();
31151 ;
31152 return 0;
31153 }
31154 _ACEOF
31155 rm -f conftest.$ac_objext conftest$ac_exeext
31156 if { (ac_try="$ac_link"
31157 case "(($ac_try" in
31158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31159 *) ac_try_echo=$ac_try;;
31160 esac
31161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31162 (eval "$ac_link") 2>conftest.er1
31163 ac_status=$?
31164 grep -v '^ *+' conftest.er1 >conftest.err
31165 rm -f conftest.er1
31166 cat conftest.err >&5
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); } && {
31169 test -z "$ac_c_werror_flag" ||
31170 test ! -s conftest.err
31171 } && test -s conftest$ac_exeext &&
31172 $as_test_x conftest$ac_exeext; then
31173 ac_cv_lib_posix_remove=yes
31174 else
31175 echo "$as_me: failed program was:" >&5
31176 sed 's/^/| /' conftest.$ac_ext >&5
31177
31178 ac_cv_lib_posix_remove=no
31179 fi
31180
31181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31182 conftest$ac_exeext conftest.$ac_ext
31183 LIBS=$ac_check_lib_save_LIBS
31184 fi
31185 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31186 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31187 if test $ac_cv_lib_posix_remove = yes; then
31188 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31189 fi
31190
31191 fi
31192
31193 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31194 { echo "$as_me:$LINENO: checking for shmat" >&5
31195 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31196 if test "${ac_cv_func_shmat+set}" = set; then
31197 echo $ECHO_N "(cached) $ECHO_C" >&6
31198 else
31199 cat >conftest.$ac_ext <<_ACEOF
31200 /* confdefs.h. */
31201 _ACEOF
31202 cat confdefs.h >>conftest.$ac_ext
31203 cat >>conftest.$ac_ext <<_ACEOF
31204 /* end confdefs.h. */
31205 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31207 #define shmat innocuous_shmat
31208
31209 /* System header to define __stub macros and hopefully few prototypes,
31210 which can conflict with char shmat (); below.
31211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31212 <limits.h> exists even on freestanding compilers. */
31213
31214 #ifdef __STDC__
31215 # include <limits.h>
31216 #else
31217 # include <assert.h>
31218 #endif
31219
31220 #undef shmat
31221
31222 /* Override any GCC internal prototype to avoid an error.
31223 Use char because int might match the return type of a GCC
31224 builtin and then its argument prototype would still apply. */
31225 #ifdef __cplusplus
31226 extern "C"
31227 #endif
31228 char shmat ();
31229 /* The GNU C library defines this for functions which it implements
31230 to always fail with ENOSYS. Some functions are actually named
31231 something starting with __ and the normal name is an alias. */
31232 #if defined __stub_shmat || defined __stub___shmat
31233 choke me
31234 #endif
31235
31236 int
31237 main ()
31238 {
31239 return shmat ();
31240 ;
31241 return 0;
31242 }
31243 _ACEOF
31244 rm -f conftest.$ac_objext conftest$ac_exeext
31245 if { (ac_try="$ac_link"
31246 case "(($ac_try" in
31247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31248 *) ac_try_echo=$ac_try;;
31249 esac
31250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31251 (eval "$ac_link") 2>conftest.er1
31252 ac_status=$?
31253 grep -v '^ *+' conftest.er1 >conftest.err
31254 rm -f conftest.er1
31255 cat conftest.err >&5
31256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31257 (exit $ac_status); } && {
31258 test -z "$ac_c_werror_flag" ||
31259 test ! -s conftest.err
31260 } && test -s conftest$ac_exeext &&
31261 $as_test_x conftest$ac_exeext; then
31262 ac_cv_func_shmat=yes
31263 else
31264 echo "$as_me: failed program was:" >&5
31265 sed 's/^/| /' conftest.$ac_ext >&5
31266
31267 ac_cv_func_shmat=no
31268 fi
31269
31270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31271 conftest$ac_exeext conftest.$ac_ext
31272 fi
31273 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31274 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31275
31276 if test $ac_cv_func_shmat = no; then
31277 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31278 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31279 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31280 echo $ECHO_N "(cached) $ECHO_C" >&6
31281 else
31282 ac_check_lib_save_LIBS=$LIBS
31283 LIBS="-lipc $LIBS"
31284 cat >conftest.$ac_ext <<_ACEOF
31285 /* confdefs.h. */
31286 _ACEOF
31287 cat confdefs.h >>conftest.$ac_ext
31288 cat >>conftest.$ac_ext <<_ACEOF
31289 /* end confdefs.h. */
31290
31291 /* Override any GCC internal prototype to avoid an error.
31292 Use char because int might match the return type of a GCC
31293 builtin and then its argument prototype would still apply. */
31294 #ifdef __cplusplus
31295 extern "C"
31296 #endif
31297 char shmat ();
31298 int
31299 main ()
31300 {
31301 return shmat ();
31302 ;
31303 return 0;
31304 }
31305 _ACEOF
31306 rm -f conftest.$ac_objext conftest$ac_exeext
31307 if { (ac_try="$ac_link"
31308 case "(($ac_try" in
31309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31310 *) ac_try_echo=$ac_try;;
31311 esac
31312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31313 (eval "$ac_link") 2>conftest.er1
31314 ac_status=$?
31315 grep -v '^ *+' conftest.er1 >conftest.err
31316 rm -f conftest.er1
31317 cat conftest.err >&5
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); } && {
31320 test -z "$ac_c_werror_flag" ||
31321 test ! -s conftest.err
31322 } && test -s conftest$ac_exeext &&
31323 $as_test_x conftest$ac_exeext; then
31324 ac_cv_lib_ipc_shmat=yes
31325 else
31326 echo "$as_me: failed program was:" >&5
31327 sed 's/^/| /' conftest.$ac_ext >&5
31328
31329 ac_cv_lib_ipc_shmat=no
31330 fi
31331
31332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31333 conftest$ac_exeext conftest.$ac_ext
31334 LIBS=$ac_check_lib_save_LIBS
31335 fi
31336 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31337 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31338 if test $ac_cv_lib_ipc_shmat = yes; then
31339 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31340 fi
31341
31342 fi
31343 fi
31344
31345 # Check for libraries that X11R6 Xt/Xaw programs need.
31346 ac_save_LDFLAGS=$LDFLAGS
31347 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31348 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31349 # check for ICE first), but we must link in the order -lSM -lICE or
31350 # we get undefined symbols. So assume we have SM if we have ICE.
31351 # These have to be linked with before -lX11, unlike the other
31352 # libraries we check for below, so use a different variable.
31353 # John Interrante, Karl Berry
31354 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31355 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31356 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31357 echo $ECHO_N "(cached) $ECHO_C" >&6
31358 else
31359 ac_check_lib_save_LIBS=$LIBS
31360 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31361 cat >conftest.$ac_ext <<_ACEOF
31362 /* confdefs.h. */
31363 _ACEOF
31364 cat confdefs.h >>conftest.$ac_ext
31365 cat >>conftest.$ac_ext <<_ACEOF
31366 /* end confdefs.h. */
31367
31368 /* Override any GCC internal prototype to avoid an error.
31369 Use char because int might match the return type of a GCC
31370 builtin and then its argument prototype would still apply. */
31371 #ifdef __cplusplus
31372 extern "C"
31373 #endif
31374 char IceConnectionNumber ();
31375 int
31376 main ()
31377 {
31378 return IceConnectionNumber ();
31379 ;
31380 return 0;
31381 }
31382 _ACEOF
31383 rm -f conftest.$ac_objext conftest$ac_exeext
31384 if { (ac_try="$ac_link"
31385 case "(($ac_try" in
31386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31387 *) ac_try_echo=$ac_try;;
31388 esac
31389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31390 (eval "$ac_link") 2>conftest.er1
31391 ac_status=$?
31392 grep -v '^ *+' conftest.er1 >conftest.err
31393 rm -f conftest.er1
31394 cat conftest.err >&5
31395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31396 (exit $ac_status); } && {
31397 test -z "$ac_c_werror_flag" ||
31398 test ! -s conftest.err
31399 } && test -s conftest$ac_exeext &&
31400 $as_test_x conftest$ac_exeext; then
31401 ac_cv_lib_ICE_IceConnectionNumber=yes
31402 else
31403 echo "$as_me: failed program was:" >&5
31404 sed 's/^/| /' conftest.$ac_ext >&5
31405
31406 ac_cv_lib_ICE_IceConnectionNumber=no
31407 fi
31408
31409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31410 conftest$ac_exeext conftest.$ac_ext
31411 LIBS=$ac_check_lib_save_LIBS
31412 fi
31413 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31414 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31415 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31416 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31417 fi
31418
31419 LDFLAGS=$ac_save_LDFLAGS
31420
31421 fi
31422
31423
31424 if test "$no_x" = "yes"; then
31425 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31426 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31427 { (exit 1); exit 1; }; }
31428 fi
31429
31430 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31431 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31432 AFMINSTALL=afminstall
31433 COMPILED_X_PROGRAM=0
31434
31435 fi
31436
31437 if test "$wxUSE_X11" = 1; then
31438 if test "$wxUSE_NANOX" = "yes"; then
31439 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31440 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31441 if test "x$MICROWIN" = x ; then
31442 { echo "$as_me:$LINENO: result: not found" >&5
31443 echo "${ECHO_T}not found" >&6; }
31444 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31445 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31446 { (exit 1); exit 1; }; }
31447 else
31448 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31449 echo "${ECHO_T}$MICROWIN" >&6; }
31450 cat >>confdefs.h <<\_ACEOF
31451 #define wxUSE_NANOX 1
31452 _ACEOF
31453
31454 fi
31455 fi
31456
31457 if test "$wxUSE_UNICODE" = "yes"; then
31458
31459
31460 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31461 if test -n "$ac_tool_prefix"; then
31462 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31463 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31466 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31467 echo $ECHO_N "(cached) $ECHO_C" >&6
31468 else
31469 case $PKG_CONFIG in
31470 [\\/]* | ?:[\\/]*)
31471 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31472 ;;
31473 *)
31474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31475 for as_dir in $PATH
31476 do
31477 IFS=$as_save_IFS
31478 test -z "$as_dir" && as_dir=.
31479 for ac_exec_ext in '' $ac_executable_extensions; do
31480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31481 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31483 break 2
31484 fi
31485 done
31486 done
31487 IFS=$as_save_IFS
31488
31489 ;;
31490 esac
31491 fi
31492 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31493 if test -n "$PKG_CONFIG"; then
31494 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31495 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31496 else
31497 { echo "$as_me:$LINENO: result: no" >&5
31498 echo "${ECHO_T}no" >&6; }
31499 fi
31500
31501
31502 fi
31503 if test -z "$ac_cv_path_PKG_CONFIG"; then
31504 ac_pt_PKG_CONFIG=$PKG_CONFIG
31505 # Extract the first word of "pkg-config", so it can be a program name with args.
31506 set dummy pkg-config; ac_word=$2
31507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31509 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31510 echo $ECHO_N "(cached) $ECHO_C" >&6
31511 else
31512 case $ac_pt_PKG_CONFIG in
31513 [\\/]* | ?:[\\/]*)
31514 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31515 ;;
31516 *)
31517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31518 for as_dir in $PATH
31519 do
31520 IFS=$as_save_IFS
31521 test -z "$as_dir" && as_dir=.
31522 for ac_exec_ext in '' $ac_executable_extensions; do
31523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31524 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31526 break 2
31527 fi
31528 done
31529 done
31530 IFS=$as_save_IFS
31531
31532 ;;
31533 esac
31534 fi
31535 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31536 if test -n "$ac_pt_PKG_CONFIG"; then
31537 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31538 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31539 else
31540 { echo "$as_me:$LINENO: result: no" >&5
31541 echo "${ECHO_T}no" >&6; }
31542 fi
31543
31544 if test "x$ac_pt_PKG_CONFIG" = x; then
31545 PKG_CONFIG=""
31546 else
31547 case $cross_compiling:$ac_tool_warned in
31548 yes:)
31549 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31550 whose name does not start with the host triplet. If you think this
31551 configuration is useful to you, please write to autoconf@gnu.org." >&5
31552 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31553 whose name does not start with the host triplet. If you think this
31554 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31555 ac_tool_warned=yes ;;
31556 esac
31557 PKG_CONFIG=$ac_pt_PKG_CONFIG
31558 fi
31559 else
31560 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31561 fi
31562
31563 fi
31564 if test -n "$PKG_CONFIG"; then
31565 _pkg_min_version=0.9.0
31566 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31567 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31568 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31569 { echo "$as_me:$LINENO: result: yes" >&5
31570 echo "${ECHO_T}yes" >&6; }
31571 else
31572 { echo "$as_me:$LINENO: result: no" >&5
31573 echo "${ECHO_T}no" >&6; }
31574 PKG_CONFIG=""
31575 fi
31576
31577 fi
31578
31579
31580 pkg_failed=no
31581 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31582 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31583
31584 if test -n "$PKG_CONFIG"; then
31585 if test -n "$PANGOX_CFLAGS"; then
31586 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31587 else
31588 if test -n "$PKG_CONFIG" && \
31589 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31590 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31591 ac_status=$?
31592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31593 (exit $ac_status); }; then
31594 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31595 else
31596 pkg_failed=yes
31597 fi
31598 fi
31599 else
31600 pkg_failed=untried
31601 fi
31602 if test -n "$PKG_CONFIG"; then
31603 if test -n "$PANGOX_LIBS"; then
31604 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31605 else
31606 if test -n "$PKG_CONFIG" && \
31607 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31608 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31609 ac_status=$?
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); }; then
31612 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31613 else
31614 pkg_failed=yes
31615 fi
31616 fi
31617 else
31618 pkg_failed=untried
31619 fi
31620
31621
31622
31623 if test $pkg_failed = yes; then
31624
31625 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31626 _pkg_short_errors_supported=yes
31627 else
31628 _pkg_short_errors_supported=no
31629 fi
31630 if test $_pkg_short_errors_supported = yes; then
31631 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31632 else
31633 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31634 fi
31635 # Put the nasty error message in config.log where it belongs
31636 echo "$PANGOX_PKG_ERRORS" >&5
31637
31638
31639 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31640 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31641 { (exit 1); exit 1; }; }
31642
31643
31644 elif test $pkg_failed = untried; then
31645
31646 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31647 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31648 { (exit 1); exit 1; }; }
31649
31650
31651 else
31652 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31653 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31654 { echo "$as_me:$LINENO: result: yes" >&5
31655 echo "${ECHO_T}yes" >&6; }
31656
31657 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31658 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31659 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31660
31661 fi
31662
31663 pkg_failed=no
31664 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31665 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31666
31667 if test -n "$PKG_CONFIG"; then
31668 if test -n "$PANGOFT2_CFLAGS"; then
31669 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31670 else
31671 if test -n "$PKG_CONFIG" && \
31672 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31673 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31674 ac_status=$?
31675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31676 (exit $ac_status); }; then
31677 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31678 else
31679 pkg_failed=yes
31680 fi
31681 fi
31682 else
31683 pkg_failed=untried
31684 fi
31685 if test -n "$PKG_CONFIG"; then
31686 if test -n "$PANGOFT2_LIBS"; then
31687 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31688 else
31689 if test -n "$PKG_CONFIG" && \
31690 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31691 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31692 ac_status=$?
31693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31694 (exit $ac_status); }; then
31695 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31696 else
31697 pkg_failed=yes
31698 fi
31699 fi
31700 else
31701 pkg_failed=untried
31702 fi
31703
31704
31705
31706 if test $pkg_failed = yes; then
31707
31708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31709 _pkg_short_errors_supported=yes
31710 else
31711 _pkg_short_errors_supported=no
31712 fi
31713 if test $_pkg_short_errors_supported = yes; then
31714 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31715 else
31716 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31717 fi
31718 # Put the nasty error message in config.log where it belongs
31719 echo "$PANGOFT2_PKG_ERRORS" >&5
31720
31721
31722 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31723 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31724 wxUSE_PRINTING_ARCHITECTURE="no"
31725
31726
31727 elif test $pkg_failed = untried; then
31728
31729 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31730 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31731 wxUSE_PRINTING_ARCHITECTURE="no"
31732
31733
31734 else
31735 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31736 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31737 { echo "$as_me:$LINENO: result: yes" >&5
31738 echo "${ECHO_T}yes" >&6; }
31739
31740 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31741 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31742 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31743
31744 fi
31745
31746 pkg_failed=no
31747 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31748 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31749
31750 if test -n "$PKG_CONFIG"; then
31751 if test -n "$PANGOXFT_CFLAGS"; then
31752 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31753 else
31754 if test -n "$PKG_CONFIG" && \
31755 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31756 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31757 ac_status=$?
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); }; then
31760 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31761 else
31762 pkg_failed=yes
31763 fi
31764 fi
31765 else
31766 pkg_failed=untried
31767 fi
31768 if test -n "$PKG_CONFIG"; then
31769 if test -n "$PANGOXFT_LIBS"; then
31770 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31771 else
31772 if test -n "$PKG_CONFIG" && \
31773 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31774 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31775 ac_status=$?
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); }; then
31778 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31779 else
31780 pkg_failed=yes
31781 fi
31782 fi
31783 else
31784 pkg_failed=untried
31785 fi
31786
31787
31788
31789 if test $pkg_failed = yes; then
31790
31791 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31792 _pkg_short_errors_supported=yes
31793 else
31794 _pkg_short_errors_supported=no
31795 fi
31796 if test $_pkg_short_errors_supported = yes; then
31797 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31798 else
31799 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31800 fi
31801 # Put the nasty error message in config.log where it belongs
31802 echo "$PANGOXFT_PKG_ERRORS" >&5
31803
31804
31805 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31806 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31807
31808
31809 elif test $pkg_failed = untried; then
31810
31811 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31812 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31813
31814
31815 else
31816 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31817 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31818 { echo "$as_me:$LINENO: result: yes" >&5
31819 echo "${ECHO_T}yes" >&6; }
31820
31821 cat >>confdefs.h <<\_ACEOF
31822 #define HAVE_PANGO_XFT 1
31823 _ACEOF
31824
31825 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31826 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31827 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31828
31829 fi
31830 save_LIBS="$LIBS"
31831 LIBS="$LIBS $PANGOX_LIBS"
31832
31833 for ac_func in pango_font_family_is_monospace
31834 do
31835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31836 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31838 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31839 echo $ECHO_N "(cached) $ECHO_C" >&6
31840 else
31841 cat >conftest.$ac_ext <<_ACEOF
31842 /* confdefs.h. */
31843 _ACEOF
31844 cat confdefs.h >>conftest.$ac_ext
31845 cat >>conftest.$ac_ext <<_ACEOF
31846 /* end confdefs.h. */
31847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31849 #define $ac_func innocuous_$ac_func
31850
31851 /* System header to define __stub macros and hopefully few prototypes,
31852 which can conflict with char $ac_func (); below.
31853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31854 <limits.h> exists even on freestanding compilers. */
31855
31856 #ifdef __STDC__
31857 # include <limits.h>
31858 #else
31859 # include <assert.h>
31860 #endif
31861
31862 #undef $ac_func
31863
31864 /* Override any GCC internal prototype to avoid an error.
31865 Use char because int might match the return type of a GCC
31866 builtin and then its argument prototype would still apply. */
31867 #ifdef __cplusplus
31868 extern "C"
31869 #endif
31870 char $ac_func ();
31871 /* The GNU C library defines this for functions which it implements
31872 to always fail with ENOSYS. Some functions are actually named
31873 something starting with __ and the normal name is an alias. */
31874 #if defined __stub_$ac_func || defined __stub___$ac_func
31875 choke me
31876 #endif
31877
31878 int
31879 main ()
31880 {
31881 return $ac_func ();
31882 ;
31883 return 0;
31884 }
31885 _ACEOF
31886 rm -f conftest.$ac_objext conftest$ac_exeext
31887 if { (ac_try="$ac_link"
31888 case "(($ac_try" in
31889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31890 *) ac_try_echo=$ac_try;;
31891 esac
31892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31893 (eval "$ac_link") 2>conftest.er1
31894 ac_status=$?
31895 grep -v '^ *+' conftest.er1 >conftest.err
31896 rm -f conftest.er1
31897 cat conftest.err >&5
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); } && {
31900 test -z "$ac_c_werror_flag" ||
31901 test ! -s conftest.err
31902 } && test -s conftest$ac_exeext &&
31903 $as_test_x conftest$ac_exeext; then
31904 eval "$as_ac_var=yes"
31905 else
31906 echo "$as_me: failed program was:" >&5
31907 sed 's/^/| /' conftest.$ac_ext >&5
31908
31909 eval "$as_ac_var=no"
31910 fi
31911
31912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31913 conftest$ac_exeext conftest.$ac_ext
31914 fi
31915 ac_res=`eval echo '${'$as_ac_var'}'`
31916 { echo "$as_me:$LINENO: result: $ac_res" >&5
31917 echo "${ECHO_T}$ac_res" >&6; }
31918 if test `eval echo '${'$as_ac_var'}'` = yes; then
31919 cat >>confdefs.h <<_ACEOF
31920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31921 _ACEOF
31922
31923 fi
31924 done
31925
31926 LIBS="$save_LIBS"
31927 fi
31928
31929 wxUSE_UNIVERSAL="yes"
31930
31931 if test "$wxUSE_NANOX" = "yes"; then
31932 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31933 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"
31934 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31935 else
31936 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31937 fi
31938
31939 TOOLKIT=X11
31940 GUIDIST=X11_DIST
31941 fi
31942
31943 if test "$wxUSE_MOTIF" = 1; then
31944 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31945 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31946
31947 ac_find_includes=
31948 for ac_dir in $SEARCH_INCLUDE /usr/include;
31949 do
31950 if test -f "$ac_dir/Xm/Xm.h"; then
31951 ac_find_includes=$ac_dir
31952 break
31953 fi
31954 done
31955
31956 if test "$ac_find_includes" != "" ; then
31957 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31958 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31959
31960 if test "x$ac_find_includes" = "x/usr/include"; then
31961 ac_path_to_include=""
31962 else
31963 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31964 result=$?
31965 if test $result = 0; then
31966 ac_path_to_include=""
31967 else
31968 ac_path_to_include=" -I$ac_find_includes"
31969 fi
31970 fi
31971
31972 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31973 else
31974 save_CFLAGS=$CFLAGS
31975 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31976
31977 cat >conftest.$ac_ext <<_ACEOF
31978 /* confdefs.h. */
31979 _ACEOF
31980 cat confdefs.h >>conftest.$ac_ext
31981 cat >>conftest.$ac_ext <<_ACEOF
31982 /* end confdefs.h. */
31983
31984 #include <Xm/Xm.h>
31985
31986 int
31987 main ()
31988 {
31989
31990 int version;
31991 version = xmUseVersion;
31992
31993 ;
31994 return 0;
31995 }
31996 _ACEOF
31997 rm -f conftest.$ac_objext
31998 if { (ac_try="$ac_compile"
31999 case "(($ac_try" in
32000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32001 *) ac_try_echo=$ac_try;;
32002 esac
32003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32004 (eval "$ac_compile") 2>conftest.er1
32005 ac_status=$?
32006 grep -v '^ *+' conftest.er1 >conftest.err
32007 rm -f conftest.er1
32008 cat conftest.err >&5
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); } && {
32011 test -z "$ac_c_werror_flag" ||
32012 test ! -s conftest.err
32013 } && test -s conftest.$ac_objext; then
32014
32015 { echo "$as_me:$LINENO: result: found in default search path" >&5
32016 echo "${ECHO_T}found in default search path" >&6; }
32017 COMPILED_X_PROGRAM=1
32018
32019 else
32020 echo "$as_me: failed program was:" >&5
32021 sed 's/^/| /' conftest.$ac_ext >&5
32022
32023
32024 { echo "$as_me:$LINENO: result: no" >&5
32025 echo "${ECHO_T}no" >&6; }
32026 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32027 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32028 { (exit 1); exit 1; }; }
32029
32030
32031 fi
32032
32033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32034
32035 CFLAGS=$save_CFLAGS
32036 fi
32037
32038
32039 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32040 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32041
32042 ac_find_libraries=
32043 for ac_dir in $SEARCH_LIB;
32044 do
32045 for ac_extension in a so sl dylib dll.a; do
32046 if test -f "$ac_dir/libXm.$ac_extension"; then
32047 ac_find_libraries=$ac_dir
32048 break 2
32049 fi
32050 done
32051 done
32052
32053
32054 if test "x$ac_find_libraries" != "x" ; then
32055 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32056 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32057
32058
32059 if test "$ac_find_libraries" = "default location"; then
32060 ac_path_to_link=""
32061 else
32062 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32063 result=$?
32064 if test $result = 0; then
32065 ac_path_to_link=""
32066 else
32067 ac_path_to_link=" -L$ac_find_libraries"
32068 fi
32069 fi
32070
32071 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32072 else
32073 save_CFLAGS=$CFLAGS
32074 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32075 save_LIBS="$LIBS"
32076 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32077
32078 cat >conftest.$ac_ext <<_ACEOF
32079 /* confdefs.h. */
32080 _ACEOF
32081 cat confdefs.h >>conftest.$ac_ext
32082 cat >>conftest.$ac_ext <<_ACEOF
32083 /* end confdefs.h. */
32084
32085 #include <Xm/Xm.h>
32086
32087 int
32088 main ()
32089 {
32090
32091 int version;
32092 version = xmUseVersion;
32093
32094 ;
32095 return 0;
32096 }
32097 _ACEOF
32098 rm -f conftest.$ac_objext conftest$ac_exeext
32099 if { (ac_try="$ac_link"
32100 case "(($ac_try" in
32101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32102 *) ac_try_echo=$ac_try;;
32103 esac
32104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32105 (eval "$ac_link") 2>conftest.er1
32106 ac_status=$?
32107 grep -v '^ *+' conftest.er1 >conftest.err
32108 rm -f conftest.er1
32109 cat conftest.err >&5
32110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32111 (exit $ac_status); } && {
32112 test -z "$ac_c_werror_flag" ||
32113 test ! -s conftest.err
32114 } && test -s conftest$ac_exeext &&
32115 $as_test_x conftest$ac_exeext; then
32116
32117 { echo "$as_me:$LINENO: result: found in default search path" >&5
32118 echo "${ECHO_T}found in default search path" >&6; }
32119 COMPILED_X_PROGRAM=1
32120
32121 else
32122 echo "$as_me: failed program was:" >&5
32123 sed 's/^/| /' conftest.$ac_ext >&5
32124
32125
32126 { echo "$as_me:$LINENO: result: no" >&5
32127 echo "${ECHO_T}no" >&6; }
32128 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32129 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32130 { (exit 1); exit 1; }; }
32131
32132
32133 fi
32134
32135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32136 conftest$ac_exeext conftest.$ac_ext
32137
32138 CFLAGS=$save_CFLAGS
32139 LIBS="$save_LIBS"
32140 fi
32141
32142 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32143 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32144 libp_link=""
32145 libsm_ice_link=""
32146 libs_found=0
32147 for libp in "" " -lXp"; do
32148 if test "$libs_found" = 0; then
32149 for libsm_ice in "" " -lSM -lICE"; do
32150 if test "$libs_found" = 0; then
32151 save_LIBS="$LIBS"
32152 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32153 save_CFLAGS=$CFLAGS
32154 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32155
32156 cat >conftest.$ac_ext <<_ACEOF
32157 /* confdefs.h. */
32158 _ACEOF
32159 cat confdefs.h >>conftest.$ac_ext
32160 cat >>conftest.$ac_ext <<_ACEOF
32161 /* end confdefs.h. */
32162
32163 #include <Xm/Xm.h>
32164 #include <Xm/List.h>
32165
32166 int
32167 main ()
32168 {
32169
32170 XmString string = NULL;
32171 Widget w = NULL;
32172 int position = 0;
32173 XmListAddItem(w, string, position);
32174
32175 ;
32176 return 0;
32177 }
32178 _ACEOF
32179 rm -f conftest.$ac_objext conftest$ac_exeext
32180 if { (ac_try="$ac_link"
32181 case "(($ac_try" in
32182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32183 *) ac_try_echo=$ac_try;;
32184 esac
32185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32186 (eval "$ac_link") 2>conftest.er1
32187 ac_status=$?
32188 grep -v '^ *+' conftest.er1 >conftest.err
32189 rm -f conftest.er1
32190 cat conftest.err >&5
32191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32192 (exit $ac_status); } && {
32193 test -z "$ac_c_werror_flag" ||
32194 test ! -s conftest.err
32195 } && test -s conftest$ac_exeext &&
32196 $as_test_x conftest$ac_exeext; then
32197
32198 libp_link="$libp"
32199 libsm_ice_link="$libsm_ice"
32200 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32201 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32202 libs_found=1
32203
32204 else
32205 echo "$as_me: failed program was:" >&5
32206 sed 's/^/| /' conftest.$ac_ext >&5
32207
32208
32209
32210 fi
32211
32212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32213 conftest$ac_exeext conftest.$ac_ext
32214
32215 LIBS="$save_LIBS"
32216 CFLAGS=$save_CFLAGS
32217 fi
32218 done
32219 fi
32220 done
32221
32222 if test "$libs_found" = 0; then
32223 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32224 echo "${ECHO_T}can't find the right libraries" >&6; }
32225 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32226 echo "$as_me: error: can't link a simple motif program" >&2;}
32227 { (exit 1); exit 1; }; }
32228 fi
32229
32230 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32231 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32232 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32233 echo $ECHO_N "(cached) $ECHO_C" >&6
32234 else
32235 ac_check_lib_save_LIBS=$LIBS
32236 LIBS="-lSgm $LIBS"
32237 cat >conftest.$ac_ext <<_ACEOF
32238 /* confdefs.h. */
32239 _ACEOF
32240 cat confdefs.h >>conftest.$ac_ext
32241 cat >>conftest.$ac_ext <<_ACEOF
32242 /* end confdefs.h. */
32243
32244 /* Override any GCC internal prototype to avoid an error.
32245 Use char because int might match the return type of a GCC
32246 builtin and then its argument prototype would still apply. */
32247 #ifdef __cplusplus
32248 extern "C"
32249 #endif
32250 char SgCreateList ();
32251 int
32252 main ()
32253 {
32254 return SgCreateList ();
32255 ;
32256 return 0;
32257 }
32258 _ACEOF
32259 rm -f conftest.$ac_objext conftest$ac_exeext
32260 if { (ac_try="$ac_link"
32261 case "(($ac_try" in
32262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32263 *) ac_try_echo=$ac_try;;
32264 esac
32265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32266 (eval "$ac_link") 2>conftest.er1
32267 ac_status=$?
32268 grep -v '^ *+' conftest.er1 >conftest.err
32269 rm -f conftest.er1
32270 cat conftest.err >&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); } && {
32273 test -z "$ac_c_werror_flag" ||
32274 test ! -s conftest.err
32275 } && test -s conftest$ac_exeext &&
32276 $as_test_x conftest$ac_exeext; then
32277 ac_cv_lib_Sgm_SgCreateList=yes
32278 else
32279 echo "$as_me: failed program was:" >&5
32280 sed 's/^/| /' conftest.$ac_ext >&5
32281
32282 ac_cv_lib_Sgm_SgCreateList=no
32283 fi
32284
32285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32286 conftest$ac_exeext conftest.$ac_ext
32287 LIBS=$ac_check_lib_save_LIBS
32288 fi
32289 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32290 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32291 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32292 libsgm_link=" -lSgm"
32293 fi
32294
32295
32296 save_CFLAGS=$CFLAGS
32297 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32298
32299 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32300 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32301 if test "${wx_cv_lib_motif2+set}" = set; then
32302 echo $ECHO_N "(cached) $ECHO_C" >&6
32303 else
32304 cat >conftest.$ac_ext <<_ACEOF
32305 /* confdefs.h. */
32306 _ACEOF
32307 cat confdefs.h >>conftest.$ac_ext
32308 cat >>conftest.$ac_ext <<_ACEOF
32309 /* end confdefs.h. */
32310
32311 #include <Xm/Xm.h>
32312
32313 int
32314 main ()
32315 {
32316
32317 #if XmVersion < 2000
32318 Not Motif 2
32319 #endif
32320
32321 ;
32322 return 0;
32323 }
32324 _ACEOF
32325 rm -f conftest.$ac_objext
32326 if { (ac_try="$ac_compile"
32327 case "(($ac_try" in
32328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32329 *) ac_try_echo=$ac_try;;
32330 esac
32331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32332 (eval "$ac_compile") 2>conftest.er1
32333 ac_status=$?
32334 grep -v '^ *+' conftest.er1 >conftest.err
32335 rm -f conftest.er1
32336 cat conftest.err >&5
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); } && {
32339 test -z "$ac_c_werror_flag" ||
32340 test ! -s conftest.err
32341 } && test -s conftest.$ac_objext; then
32342 wx_cv_lib_motif2="yes"
32343 else
32344 echo "$as_me: failed program was:" >&5
32345 sed 's/^/| /' conftest.$ac_ext >&5
32346
32347 wx_cv_lib_motif2="no"
32348 fi
32349
32350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32351 fi
32352 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32353 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32354 if test "$wx_cv_lib_motif2" = "yes"; then
32355 cat >>confdefs.h <<\_ACEOF
32356 #define __WXMOTIF20__ 1
32357 _ACEOF
32358
32359 else
32360 cat >>confdefs.h <<\_ACEOF
32361 #define __WXMOTIF20__ 0
32362 _ACEOF
32363
32364 fi
32365
32366 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32367 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32368 if test "${wx_cv_lib_lesstif+set}" = set; then
32369 echo $ECHO_N "(cached) $ECHO_C" >&6
32370 else
32371 cat >conftest.$ac_ext <<_ACEOF
32372 /* confdefs.h. */
32373 _ACEOF
32374 cat confdefs.h >>conftest.$ac_ext
32375 cat >>conftest.$ac_ext <<_ACEOF
32376 /* end confdefs.h. */
32377
32378 #include <Xm/Xm.h>
32379
32380 int
32381 main ()
32382 {
32383
32384 #if !defined(LesstifVersion) || LesstifVersion <= 0
32385 Not Lesstif
32386 #endif
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_lib_lesstif="yes"
32410 else
32411 echo "$as_me: failed program was:" >&5
32412 sed 's/^/| /' conftest.$ac_ext >&5
32413
32414 wx_cv_lib_lesstif="no"
32415 fi
32416
32417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32418
32419 fi
32420 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32421 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32422 if test "$wx_cv_lib_lesstif" = "yes"; then
32423 cat >>confdefs.h <<\_ACEOF
32424 #define __WXLESSTIF__ 1
32425 _ACEOF
32426
32427 else
32428 cat >>confdefs.h <<\_ACEOF
32429 #define __WXLESSTIF__ 0
32430 _ACEOF
32431
32432 fi
32433
32434 CFLAGS=$save_CFLAGS
32435
32436 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32437 TOOLKIT=MOTIF
32438 GUIDIST=MOTIF_DIST
32439 fi
32440
32441 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32442 if test "$wxUSE_LIBXPM" = "sys"; then
32443 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32444 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32445
32446 ac_find_libraries=
32447 for ac_dir in $SEARCH_LIB;
32448 do
32449 for ac_extension in a so sl dylib dll.a; do
32450 if test -f "$ac_dir/libXpm.$ac_extension"; then
32451 ac_find_libraries=$ac_dir
32452 break 2
32453 fi
32454 done
32455 done
32456
32457 if test "$ac_find_libraries" != "" ; then
32458
32459 if test "$ac_find_libraries" = "default location"; then
32460 ac_path_to_link=""
32461 else
32462 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32463 result=$?
32464 if test $result = 0; then
32465 ac_path_to_link=""
32466 else
32467 ac_path_to_link=" -L$ac_find_libraries"
32468 fi
32469 fi
32470
32471 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32472 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32473 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32474
32475 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32476 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32477 if test "${wx_cv_x11_xpm_h+set}" = set; then
32478 echo $ECHO_N "(cached) $ECHO_C" >&6
32479 else
32480
32481 save_CFLAGS=$CFLAGS
32482 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32483
32484 cat >conftest.$ac_ext <<_ACEOF
32485 /* confdefs.h. */
32486 _ACEOF
32487 cat confdefs.h >>conftest.$ac_ext
32488 cat >>conftest.$ac_ext <<_ACEOF
32489 /* end confdefs.h. */
32490
32491 #include <X11/xpm.h>
32492
32493 int
32494 main ()
32495 {
32496
32497 int version;
32498 version = XpmLibraryVersion();
32499
32500 ;
32501 return 0;
32502 }
32503 _ACEOF
32504 rm -f conftest.$ac_objext
32505 if { (ac_try="$ac_compile"
32506 case "(($ac_try" in
32507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32508 *) ac_try_echo=$ac_try;;
32509 esac
32510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32511 (eval "$ac_compile") 2>conftest.er1
32512 ac_status=$?
32513 grep -v '^ *+' conftest.er1 >conftest.err
32514 rm -f conftest.er1
32515 cat conftest.err >&5
32516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32517 (exit $ac_status); } && {
32518 test -z "$ac_c_werror_flag" ||
32519 test ! -s conftest.err
32520 } && test -s conftest.$ac_objext; then
32521 wx_cv_x11_xpm_h=yes
32522 else
32523 echo "$as_me: failed program was:" >&5
32524 sed 's/^/| /' conftest.$ac_ext >&5
32525
32526 wx_cv_x11_xpm_h=no
32527
32528 fi
32529
32530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32531
32532 CFLAGS=$save_CFLAGS
32533
32534
32535 fi
32536 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32537 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32538
32539 if test $wx_cv_x11_xpm_h = "yes"; then
32540 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32541 cat >>confdefs.h <<\_ACEOF
32542 #define wxHAVE_LIB_XPM 1
32543 _ACEOF
32544
32545 else
32546 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32547 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32548 fi
32549 fi
32550
32551 fi
32552
32553 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32554 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32555 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32556 echo $ECHO_N "(cached) $ECHO_C" >&6
32557 else
32558 ac_check_lib_save_LIBS=$LIBS
32559 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32560 cat >conftest.$ac_ext <<_ACEOF
32561 /* confdefs.h. */
32562 _ACEOF
32563 cat confdefs.h >>conftest.$ac_ext
32564 cat >>conftest.$ac_ext <<_ACEOF
32565 /* end confdefs.h. */
32566
32567 /* Override any GCC internal prototype to avoid an error.
32568 Use char because int might match the return type of a GCC
32569 builtin and then its argument prototype would still apply. */
32570 #ifdef __cplusplus
32571 extern "C"
32572 #endif
32573 char XShapeQueryExtension ();
32574 int
32575 main ()
32576 {
32577 return XShapeQueryExtension ();
32578 ;
32579 return 0;
32580 }
32581 _ACEOF
32582 rm -f conftest.$ac_objext conftest$ac_exeext
32583 if { (ac_try="$ac_link"
32584 case "(($ac_try" in
32585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32586 *) ac_try_echo=$ac_try;;
32587 esac
32588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32589 (eval "$ac_link") 2>conftest.er1
32590 ac_status=$?
32591 grep -v '^ *+' conftest.er1 >conftest.err
32592 rm -f conftest.er1
32593 cat conftest.err >&5
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); } && {
32596 test -z "$ac_c_werror_flag" ||
32597 test ! -s conftest.err
32598 } && test -s conftest$ac_exeext &&
32599 $as_test_x conftest$ac_exeext; then
32600 ac_cv_lib_Xext_XShapeQueryExtension=yes
32601 else
32602 echo "$as_me: failed program was:" >&5
32603 sed 's/^/| /' conftest.$ac_ext >&5
32604
32605 ac_cv_lib_Xext_XShapeQueryExtension=no
32606 fi
32607
32608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32609 conftest$ac_exeext conftest.$ac_ext
32610 LIBS=$ac_check_lib_save_LIBS
32611 fi
32612 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32613 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32614 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32615
32616 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32617 wxHAVE_XEXT_LIB=1
32618
32619 fi
32620
32621
32622 if test "$wxHAVE_XEXT_LIB" = 1; then
32623 save_CFLAGS="$CFLAGS"
32624 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32625
32626 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32627 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32628 cat >conftest.$ac_ext <<_ACEOF
32629 /* confdefs.h. */
32630 _ACEOF
32631 cat confdefs.h >>conftest.$ac_ext
32632 cat >>conftest.$ac_ext <<_ACEOF
32633 /* end confdefs.h. */
32634
32635 #include <X11/Xlib.h>
32636 #include <X11/extensions/shape.h>
32637
32638 int
32639 main ()
32640 {
32641
32642 int dummy1, dummy2;
32643 XShapeQueryExtension((Display*)NULL,
32644 (int*)NULL, (int*)NULL);
32645
32646 ;
32647 return 0;
32648 }
32649 _ACEOF
32650 rm -f conftest.$ac_objext
32651 if { (ac_try="$ac_compile"
32652 case "(($ac_try" in
32653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32654 *) ac_try_echo=$ac_try;;
32655 esac
32656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32657 (eval "$ac_compile") 2>conftest.er1
32658 ac_status=$?
32659 grep -v '^ *+' conftest.er1 >conftest.err
32660 rm -f conftest.er1
32661 cat conftest.err >&5
32662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32663 (exit $ac_status); } && {
32664 test -z "$ac_c_werror_flag" ||
32665 test ! -s conftest.err
32666 } && test -s conftest.$ac_objext; then
32667
32668 cat >>confdefs.h <<\_ACEOF
32669 #define HAVE_XSHAPE 1
32670 _ACEOF
32671
32672 { echo "$as_me:$LINENO: result: found" >&5
32673 echo "${ECHO_T}found" >&6; }
32674
32675 else
32676 echo "$as_me: failed program was:" >&5
32677 sed 's/^/| /' conftest.$ac_ext >&5
32678
32679
32680 { echo "$as_me:$LINENO: result: not found" >&5
32681 echo "${ECHO_T}not found" >&6; }
32682
32683 fi
32684
32685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32686 CFLAGS="$save_CFLAGS"
32687
32688 fi
32689 fi
32690
32691 if test "$wxUSE_OSX_CARBON" = 1; then
32692 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32693 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32694 if test "$GCC" = yes; then
32695 { echo "$as_me:$LINENO: result: gcc" >&5
32696 echo "${ECHO_T}gcc" >&6; }
32697 CPPFLAGS_PASCAL="-fpascal-strings"
32698 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32699 { echo "$as_me:$LINENO: result: xlc" >&5
32700 echo "${ECHO_T}xlc" >&6; }
32701 CPPFLAGS_PASCAL="-qmacpstr"
32702 else
32703 { echo "$as_me:$LINENO: result: none" >&5
32704 echo "${ECHO_T}none" >&6; }
32705 fi
32706
32707 if test "x$wxUSE_UNIX" = "xyes"; then
32708 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32709 else
32710 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32711 fi
32712
32713 TOOLKIT=OSX_CARBON
32714 GUIDIST=OSX_CARBON_DIST
32715 WXBASEPORT="_carbon"
32716 fi
32717
32718 if test "$wxUSE_OSX_COCOA" = 1; then
32719 TOOLKIT=OSX_COCOA
32720 GUIDIST=OSX_COCOA_DIST
32721 fi
32722
32723 if test "$wxUSE_COCOA" = 1; then
32724 TOOLKIT=COCOA
32725 GUIDIST=COCOA_DIST
32726 fi
32727
32728 if test "$wxUSE_PM" = 1; then
32729 TOOLKIT=PM
32730 GUIDIST=PM_DIST
32731 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32732 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32733 if test "${wx_cv_spbcdata+set}" = set; then
32734 echo $ECHO_N "(cached) $ECHO_C" >&6
32735 else
32736
32737 cat >conftest.$ac_ext <<_ACEOF
32738 /* confdefs.h. */
32739 _ACEOF
32740 cat confdefs.h >>conftest.$ac_ext
32741 cat >>conftest.$ac_ext <<_ACEOF
32742 /* end confdefs.h. */
32743
32744 #define INCL_PM
32745 #include <os2.h>
32746
32747 int
32748 main ()
32749 {
32750
32751 SPBCDATA test;
32752
32753 ;
32754 return 0;
32755 }
32756 _ACEOF
32757 rm -f conftest.$ac_objext
32758 if { (ac_try="$ac_compile"
32759 case "(($ac_try" in
32760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32761 *) ac_try_echo=$ac_try;;
32762 esac
32763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32764 (eval "$ac_compile") 2>conftest.er1
32765 ac_status=$?
32766 grep -v '^ *+' conftest.er1 >conftest.err
32767 rm -f conftest.er1
32768 cat conftest.err >&5
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); } && {
32771 test -z "$ac_c_werror_flag" ||
32772 test ! -s conftest.err
32773 } && test -s conftest.$ac_objext; then
32774 wx_cv_spbcdata=yes
32775 else
32776 echo "$as_me: failed program was:" >&5
32777 sed 's/^/| /' conftest.$ac_ext >&5
32778
32779 wx_cv_spbcdata=no
32780
32781 fi
32782
32783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32784
32785
32786 fi
32787 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32788 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32789
32790 if test $wx_cv_spbcdata = "yes"; then
32791 cat >>confdefs.h <<\_ACEOF
32792 #define HAVE_SPBCDATA 1
32793 _ACEOF
32794
32795 fi
32796 fi
32797
32798 if test "$TOOLKIT" = "PM" ; then
32799 TOOLKIT_DIR="os2"
32800 else
32801 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32802 fi
32803
32804 if test "$wxUSE_UNIVERSAL" = "yes"; then
32805 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32806 WIDGET_SET=univ
32807 fi
32808
32809 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32810 DISTDIR="wx\$(TOOLKIT)"
32811 else
32812 USE_GUI=0
32813
32814 TOOLKIT_DIR="base"
32815
32816 if test "$USE_WIN32" = 1 ; then
32817 TOOLKIT="MSW"
32818 fi
32819
32820 GUIDIST="BASE_DIST"
32821 DISTDIR="wxBase"
32822 fi
32823
32824
32825
32826 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32827 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32828 wxUSE_UNICODE_UTF8=yes
32829 elif test "$USE_OS2" = 1 ; then
32830 wxUSE_UNICODE_UTF8=yes
32831 else
32832 wxUSE_UNICODE_UTF8=no
32833 fi
32834 fi
32835
32836
32837 if test "$wxUSE_GUI" = "yes"; then
32838 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32839
32840 for ac_header in X11/Xlib.h
32841 do
32842 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32843 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32845 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32846 echo $ECHO_N "(cached) $ECHO_C" >&6
32847 else
32848 cat >conftest.$ac_ext <<_ACEOF
32849 /* confdefs.h. */
32850 _ACEOF
32851 cat confdefs.h >>conftest.$ac_ext
32852 cat >>conftest.$ac_ext <<_ACEOF
32853 /* end confdefs.h. */
32854
32855
32856 #include <$ac_header>
32857 _ACEOF
32858 rm -f conftest.$ac_objext
32859 if { (ac_try="$ac_compile"
32860 case "(($ac_try" in
32861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32862 *) ac_try_echo=$ac_try;;
32863 esac
32864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32865 (eval "$ac_compile") 2>conftest.er1
32866 ac_status=$?
32867 grep -v '^ *+' conftest.er1 >conftest.err
32868 rm -f conftest.er1
32869 cat conftest.err >&5
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); } && {
32872 test -z "$ac_c_werror_flag" ||
32873 test ! -s conftest.err
32874 } && test -s conftest.$ac_objext; then
32875 eval "$as_ac_Header=yes"
32876 else
32877 echo "$as_me: failed program was:" >&5
32878 sed 's/^/| /' conftest.$ac_ext >&5
32879
32880 eval "$as_ac_Header=no"
32881 fi
32882
32883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32884 fi
32885 ac_res=`eval echo '${'$as_ac_Header'}'`
32886 { echo "$as_me:$LINENO: result: $ac_res" >&5
32887 echo "${ECHO_T}$ac_res" >&6; }
32888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32889 cat >>confdefs.h <<_ACEOF
32890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32891 _ACEOF
32892
32893 fi
32894
32895 done
32896
32897
32898 for ac_header in X11/XKBlib.h
32899 do
32900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32901 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32904 echo $ECHO_N "(cached) $ECHO_C" >&6
32905 else
32906 cat >conftest.$ac_ext <<_ACEOF
32907 /* confdefs.h. */
32908 _ACEOF
32909 cat confdefs.h >>conftest.$ac_ext
32910 cat >>conftest.$ac_ext <<_ACEOF
32911 /* end confdefs.h. */
32912
32913 #if HAVE_X11_XLIB_H
32914 #include <X11/Xlib.h>
32915 #endif
32916
32917
32918 #include <$ac_header>
32919 _ACEOF
32920 rm -f conftest.$ac_objext
32921 if { (ac_try="$ac_compile"
32922 case "(($ac_try" in
32923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32924 *) ac_try_echo=$ac_try;;
32925 esac
32926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32927 (eval "$ac_compile") 2>conftest.er1
32928 ac_status=$?
32929 grep -v '^ *+' conftest.er1 >conftest.err
32930 rm -f conftest.er1
32931 cat conftest.err >&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); } && {
32934 test -z "$ac_c_werror_flag" ||
32935 test ! -s conftest.err
32936 } && test -s conftest.$ac_objext; then
32937 eval "$as_ac_Header=yes"
32938 else
32939 echo "$as_me: failed program was:" >&5
32940 sed 's/^/| /' conftest.$ac_ext >&5
32941
32942 eval "$as_ac_Header=no"
32943 fi
32944
32945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32946 fi
32947 ac_res=`eval echo '${'$as_ac_Header'}'`
32948 { echo "$as_me:$LINENO: result: $ac_res" >&5
32949 echo "${ECHO_T}$ac_res" >&6; }
32950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32951 cat >>confdefs.h <<_ACEOF
32952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32953 _ACEOF
32954
32955 fi
32956
32957 done
32958
32959 fi
32960 fi
32961
32962
32963
32964 if test "$wxUSE_DISPLAY" = "yes"; then
32965 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32966 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32967 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32968
32969 ac_find_libraries=
32970 for ac_dir in $SEARCH_LIB;
32971 do
32972 for ac_extension in a so sl dylib dll.a; do
32973 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32974 ac_find_libraries=$ac_dir
32975 break 2
32976 fi
32977 done
32978 done
32979
32980 if test "$ac_find_libraries" != "" ; then
32981
32982 if test "$ac_find_libraries" = "default location"; then
32983 ac_path_to_link=""
32984 else
32985 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32986 result=$?
32987 if test $result = 0; then
32988 ac_path_to_link=""
32989 else
32990 ac_path_to_link=" -L$ac_find_libraries"
32991 fi
32992 fi
32993
32994 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32995 LDFLAGS="$LDFLAGS $ac_path_to_link"
32996 fi
32997 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32998 { echo "$as_me:$LINENO: result: yes" >&5
32999 echo "${ECHO_T}yes" >&6; }
33000
33001 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33002 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33003
33004 ac_find_libraries=
33005 for ac_dir in $SEARCH_LIB;
33006 do
33007 for ac_extension in a so sl dylib dll.a; do
33008 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33009 ac_find_libraries=$ac_dir
33010 break 2
33011 fi
33012 done
33013 done
33014
33015 if test "$ac_find_libraries" != "" ; then
33016 { echo "$as_me:$LINENO: result: yes" >&5
33017 echo "${ECHO_T}yes" >&6; }
33018
33019 for ac_header in X11/extensions/xf86vmode.h
33020 do
33021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33022 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33025 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 else
33027 cat >conftest.$ac_ext <<_ACEOF
33028 /* confdefs.h. */
33029 _ACEOF
33030 cat confdefs.h >>conftest.$ac_ext
33031 cat >>conftest.$ac_ext <<_ACEOF
33032 /* end confdefs.h. */
33033
33034 #if HAVE_X11_XLIB_H
33035 #include <X11/Xlib.h>
33036 #endif
33037
33038
33039 #include <$ac_header>
33040 _ACEOF
33041 rm -f conftest.$ac_objext
33042 if { (ac_try="$ac_compile"
33043 case "(($ac_try" in
33044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33045 *) ac_try_echo=$ac_try;;
33046 esac
33047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33048 (eval "$ac_compile") 2>conftest.er1
33049 ac_status=$?
33050 grep -v '^ *+' conftest.er1 >conftest.err
33051 rm -f conftest.er1
33052 cat conftest.err >&5
33053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33054 (exit $ac_status); } && {
33055 test -z "$ac_c_werror_flag" ||
33056 test ! -s conftest.err
33057 } && test -s conftest.$ac_objext; then
33058 eval "$as_ac_Header=yes"
33059 else
33060 echo "$as_me: failed program was:" >&5
33061 sed 's/^/| /' conftest.$ac_ext >&5
33062
33063 eval "$as_ac_Header=no"
33064 fi
33065
33066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33067 fi
33068 ac_res=`eval echo '${'$as_ac_Header'}'`
33069 { echo "$as_me:$LINENO: result: $ac_res" >&5
33070 echo "${ECHO_T}$ac_res" >&6; }
33071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33072 cat >>confdefs.h <<_ACEOF
33073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33074 _ACEOF
33075
33076 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33077
33078 fi
33079
33080 done
33081
33082 else
33083 { echo "$as_me:$LINENO: result: no" >&5
33084 echo "${ECHO_T}no" >&6; }
33085 fi
33086
33087 else
33088 { echo "$as_me:$LINENO: result: no" >&5
33089 echo "${ECHO_T}no" >&6; }
33090 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33091 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33092 wxUSE_DISPLAY="no"
33093 fi
33094 elif test "$wxUSE_MSW" = 1; then
33095 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33096 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33097 if test "${ac_cv_header_ddraw_h+set}" = set; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33099 else
33100 cat >conftest.$ac_ext <<_ACEOF
33101 /* confdefs.h. */
33102 _ACEOF
33103 cat confdefs.h >>conftest.$ac_ext
33104 cat >>conftest.$ac_ext <<_ACEOF
33105 /* end confdefs.h. */
33106 #include <windows.h>
33107
33108 #include <ddraw.h>
33109 _ACEOF
33110 rm -f conftest.$ac_objext
33111 if { (ac_try="$ac_compile"
33112 case "(($ac_try" in
33113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33114 *) ac_try_echo=$ac_try;;
33115 esac
33116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33117 (eval "$ac_compile") 2>conftest.er1
33118 ac_status=$?
33119 grep -v '^ *+' conftest.er1 >conftest.err
33120 rm -f conftest.er1
33121 cat conftest.err >&5
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); } && {
33124 test -z "$ac_c_werror_flag" ||
33125 test ! -s conftest.err
33126 } && test -s conftest.$ac_objext; then
33127 ac_cv_header_ddraw_h=yes
33128 else
33129 echo "$as_me: failed program was:" >&5
33130 sed 's/^/| /' conftest.$ac_ext >&5
33131
33132 ac_cv_header_ddraw_h=no
33133 fi
33134
33135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33136 fi
33137 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33138 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33139
33140
33141 fi
33142 fi
33143
33144 if test "$wxUSE_DETECT_SM" = "yes"; then
33145 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33146 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33147 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33148
33149 ac_find_libraries=
33150 for ac_dir in $SEARCH_LIB;
33151 do
33152 for ac_extension in a so sl dylib dll.a; do
33153 if test -f "$ac_dir/libSM.$ac_extension"; then
33154 ac_find_libraries=$ac_dir
33155 break 2
33156 fi
33157 done
33158 done
33159
33160 if test "$ac_find_libraries" != "" ; then
33161
33162 if test "$ac_find_libraries" = "default location"; then
33163 ac_path_to_link=""
33164 else
33165 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33166 result=$?
33167 if test $result = 0; then
33168 ac_path_to_link=""
33169 else
33170 ac_path_to_link=" -L$ac_find_libraries"
33171 fi
33172 fi
33173
33174 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33175 LDFLAGS="$LDFLAGS $ac_path_to_link"
33176 fi
33177 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33178 { echo "$as_me:$LINENO: result: yes" >&5
33179 echo "${ECHO_T}yes" >&6; }
33180 else
33181 { echo "$as_me:$LINENO: result: no" >&5
33182 echo "${ECHO_T}no" >&6; }
33183 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33184 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33185 wxUSE_DETECT_SM="no"
33186 fi
33187 else
33188 wxUSE_DETECT_SM="no"
33189 fi
33190 fi
33191
33192
33193
33194 USE_OPENGL=0
33195 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33196
33197
33198 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33199 OPENGL_LIBS="-framework OpenGL -framework AGL"
33200 elif test "$wxUSE_MSW" = 1; then
33201 OPENGL_LIBS="-lopengl32 -lglu32"
33202 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33203
33204 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33205 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33206
33207 ac_find_includes=
33208 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33209 do
33210 if test -f "$ac_dir/GL/gl.h"; then
33211 ac_find_includes=$ac_dir
33212 break
33213 fi
33214 done
33215
33216 if test "$ac_find_includes" != "" ; then
33217 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33218 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33219
33220 if test "x$ac_find_includes" = "x/usr/include"; then
33221 ac_path_to_include=""
33222 else
33223 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33224 result=$?
33225 if test $result = 0; then
33226 ac_path_to_include=""
33227 else
33228 ac_path_to_include=" -I$ac_find_includes"
33229 fi
33230 fi
33231
33232 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33233 else
33234 { echo "$as_me:$LINENO: result: not found" >&5
33235 echo "${ECHO_T}not found" >&6; }
33236 fi
33237
33238 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33239 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33240 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33241 echo $ECHO_N "(cached) $ECHO_C" >&6
33242 else
33243 cat >conftest.$ac_ext <<_ACEOF
33244 /* confdefs.h. */
33245 _ACEOF
33246 cat confdefs.h >>conftest.$ac_ext
33247 cat >>conftest.$ac_ext <<_ACEOF
33248 /* end confdefs.h. */
33249
33250
33251 #include <GL/gl.h>
33252 _ACEOF
33253 rm -f conftest.$ac_objext
33254 if { (ac_try="$ac_compile"
33255 case "(($ac_try" in
33256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33257 *) ac_try_echo=$ac_try;;
33258 esac
33259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33260 (eval "$ac_compile") 2>conftest.er1
33261 ac_status=$?
33262 grep -v '^ *+' conftest.er1 >conftest.err
33263 rm -f conftest.er1
33264 cat conftest.err >&5
33265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33266 (exit $ac_status); } && {
33267 test -z "$ac_c_werror_flag" ||
33268 test ! -s conftest.err
33269 } && test -s conftest.$ac_objext; then
33270 ac_cv_header_GL_gl_h=yes
33271 else
33272 echo "$as_me: failed program was:" >&5
33273 sed 's/^/| /' conftest.$ac_ext >&5
33274
33275 ac_cv_header_GL_gl_h=no
33276 fi
33277
33278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33279 fi
33280 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33281 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33282 if test $ac_cv_header_GL_gl_h = yes; then
33283
33284 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33285 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33286 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33287 echo $ECHO_N "(cached) $ECHO_C" >&6
33288 else
33289 cat >conftest.$ac_ext <<_ACEOF
33290 /* confdefs.h. */
33291 _ACEOF
33292 cat confdefs.h >>conftest.$ac_ext
33293 cat >>conftest.$ac_ext <<_ACEOF
33294 /* end confdefs.h. */
33295
33296
33297 #include <GL/glu.h>
33298 _ACEOF
33299 rm -f conftest.$ac_objext
33300 if { (ac_try="$ac_compile"
33301 case "(($ac_try" in
33302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33303 *) ac_try_echo=$ac_try;;
33304 esac
33305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33306 (eval "$ac_compile") 2>conftest.er1
33307 ac_status=$?
33308 grep -v '^ *+' conftest.er1 >conftest.err
33309 rm -f conftest.er1
33310 cat conftest.err >&5
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); } && {
33313 test -z "$ac_c_werror_flag" ||
33314 test ! -s conftest.err
33315 } && test -s conftest.$ac_objext; then
33316 ac_cv_header_GL_glu_h=yes
33317 else
33318 echo "$as_me: failed program was:" >&5
33319 sed 's/^/| /' conftest.$ac_ext >&5
33320
33321 ac_cv_header_GL_glu_h=no
33322 fi
33323
33324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33325 fi
33326 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33327 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33328 if test $ac_cv_header_GL_glu_h = yes; then
33329
33330 found_gl=0
33331
33332 { echo "$as_me:$LINENO: checking for -lGL" >&5
33333 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33334
33335 ac_find_libraries=
33336 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33337 do
33338 for ac_extension in a so sl dylib dll.a; do
33339 if test -f "$ac_dir/libGL.$ac_extension"; then
33340 ac_find_libraries=$ac_dir
33341 break 2
33342 fi
33343 done
33344 done
33345
33346 if test "$ac_find_libraries" != "" ; then
33347 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33348 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33349
33350
33351 if test "$ac_find_libraries" = "default location"; then
33352 ac_path_to_link=""
33353 else
33354 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33355 result=$?
33356 if test $result = 0; then
33357 ac_path_to_link=""
33358 else
33359 ac_path_to_link=" -L$ac_find_libraries"
33360 fi
33361 fi
33362
33363 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33364 LDFLAGS_GL="$ac_path_to_link"
33365 fi
33366
33367 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33368 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33369
33370 ac_find_libraries=
33371 for ac_dir in $SEARCH_LIB;
33372 do
33373 for ac_extension in a so sl dylib dll.a; do
33374 if test -f "$ac_dir/libGLU.$ac_extension"; then
33375 ac_find_libraries=$ac_dir
33376 break 2
33377 fi
33378 done
33379 done
33380
33381 if test "$ac_find_libraries" != "" ; then
33382
33383 if test "$ac_find_libraries" = "default location"; then
33384 ac_path_to_link=""
33385 else
33386 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33387 result=$?
33388 if test $result = 0; then
33389 ac_path_to_link=""
33390 else
33391 ac_path_to_link=" -L$ac_find_libraries"
33392 fi
33393 fi
33394
33395 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33396 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33397 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33398 fi
33399
33400 found_gl=1
33401 OPENGL_LIBS="-lGL -lGLU"
33402 { echo "$as_me:$LINENO: result: yes" >&5
33403 echo "${ECHO_T}yes" >&6; }
33404 else
33405 { echo "$as_me:$LINENO: result: no" >&5
33406 echo "${ECHO_T}no" >&6; }
33407 fi
33408 else
33409 { echo "$as_me:$LINENO: result: no" >&5
33410 echo "${ECHO_T}no" >&6; }
33411 fi
33412
33413 if test "$found_gl" != 1; then
33414 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33415 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33416
33417 ac_find_libraries=
33418 for ac_dir in $SEARCH_LIB;
33419 do
33420 for ac_extension in a so sl dylib dll.a; do
33421 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33422 ac_find_libraries=$ac_dir
33423 break 2
33424 fi
33425 done
33426 done
33427
33428 if test "$ac_find_libraries" != "" ; then
33429
33430 if test "$ac_find_libraries" = "default location"; then
33431 ac_path_to_link=""
33432 else
33433 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33434 result=$?
33435 if test $result = 0; then
33436 ac_path_to_link=""
33437 else
33438 ac_path_to_link=" -L$ac_find_libraries"
33439 fi
33440 fi
33441
33442 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33443 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33444 { echo "$as_me:$LINENO: result: yes" >&5
33445 echo "${ECHO_T}yes" >&6; }
33446 else
33447 { echo "$as_me:$LINENO: result: no" >&5
33448 echo "${ECHO_T}no" >&6; }
33449 fi
33450 fi
33451
33452 fi
33453
33454
33455
33456 fi
33457
33458
33459
33460 if test "x$OPENGL_LIBS" = "x"; then
33461 if test "$wxUSE_OPENGL" = "yes"; then
33462 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33463 echo "$as_me: error: OpenGL libraries not available" >&2;}
33464 { (exit 1); exit 1; }; }
33465 else
33466 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33467 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33468 wxUSE_OPENGL=no
33469 USE_OPENGL=0
33470 fi
33471 fi
33472 else
33473 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33474 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33475 wxUSE_OPENGL="no"
33476 fi
33477
33478 if test "$wxUSE_OPENGL" = "auto"; then
33479 wxUSE_OPENGL=yes
33480 fi
33481
33482 if test "$wxUSE_OPENGL" = "yes"; then
33483 USE_OPENGL=1
33484 cat >>confdefs.h <<\_ACEOF
33485 #define wxUSE_OPENGL 1
33486 _ACEOF
33487
33488 cat >>confdefs.h <<\_ACEOF
33489 #define wxUSE_GLCANVAS 1
33490 _ACEOF
33491
33492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33493 fi
33494 fi
33495
33496
33497 if test -n "$TOOLKIT" ; then
33498 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33499 fi
33500
33501
33502
33503 if test "$wxUSE_SHARED" = "yes"; then
33504 case "${host}" in
33505 *-pc-msdosdjgpp )
33506 wxUSE_SHARED=no
33507 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33508 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33509 ;;
33510 esac
33511 fi
33512
33513 if test "$wxUSE_SHARED" = "yes"; then
33514
33515
33516 case "${host}" in
33517 *-*-cygwin* | *-*-mingw* )
33518 wx_cv_version_script=no
33519 ;;
33520
33521 *)
33522 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33523 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33524 if test "${wx_cv_version_script+set}" = set; then
33525 echo $ECHO_N "(cached) $ECHO_C" >&6
33526 else
33527
33528 echo "VER_1 { *; };" >conftest.sym
33529 echo "int main() { return 0; }" >conftest.cpp
33530
33531 if { ac_try='
33532 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33533 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33535 (eval $ac_try) 2>&5
33536 ac_status=$?
33537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538 (exit $ac_status); }; } ; then
33539 if test -s conftest.stderr ; then
33540 wx_cv_version_script=no
33541 else
33542 wx_cv_version_script=yes
33543 fi
33544 else
33545 wx_cv_version_script=no
33546 fi
33547
33548 if test $wx_cv_version_script = yes
33549 then
33550 echo "struct B { virtual ~B() { } }; \
33551 struct D : public B { }; \
33552 void F() { D d; }" > conftest.cpp
33553
33554 if { ac_try='
33555 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33556 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33558 (eval $ac_try) 2>&5
33559 ac_status=$?
33560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33561 (exit $ac_status); }; } &&
33562 { ac_try='
33563 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33564 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33566 (eval $ac_try) 2>&5
33567 ac_status=$?
33568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33569 (exit $ac_status); }; }
33570 then
33571 if { ac_try='
33572 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33573 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33575 (eval $ac_try) 2>&5
33576 ac_status=$?
33577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578 (exit $ac_status); }; }
33579 then
33580 wx_cv_version_script=yes
33581 else
33582 wx_cv_version_script=no
33583 fi
33584 fi
33585 fi
33586
33587 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33588 rm -f conftest1.output conftest2.output conftest3.output
33589
33590 fi
33591 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33592 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33593
33594 if test $wx_cv_version_script = yes ; then
33595 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33596 fi
33597 ;;
33598 esac
33599
33600
33601 if test "$wxUSE_VISIBILITY" != "no"; then
33602
33603
33604 if test -n "$GCC"; then
33605 CFLAGS_VISIBILITY="-fvisibility=hidden"
33606 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33607 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33608 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33609 if test "${wx_cv_cc_visibility+set}" = set; then
33610 echo $ECHO_N "(cached) $ECHO_C" >&6
33611 else
33612
33613 wx_save_CXXFLAGS="$CXXFLAGS"
33614 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33615 ac_ext=cpp
33616 ac_cpp='$CXXCPP $CPPFLAGS'
33617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33620
33621 cat >conftest.$ac_ext <<_ACEOF
33622 /* confdefs.h. */
33623 _ACEOF
33624 cat confdefs.h >>conftest.$ac_ext
33625 cat >>conftest.$ac_ext <<_ACEOF
33626 /* end confdefs.h. */
33627
33628 /* we need gcc >= 4.0, older versions with visibility support
33629 didn't have class visibility: */
33630 #if defined(__GNUC__) && __GNUC__ < 4
33631 error this gcc is too old;
33632 #endif
33633
33634 /* visibility only makes sense for ELF shared libs: */
33635 #if !defined(__ELF__) && !defined(__APPLE__)
33636 error this platform has no visibility;
33637 #endif
33638
33639 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33640 extern __attribute__((__visibility__("default"))) int exportedvar;
33641 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33642 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33643 class __attribute__((__visibility__("default"))) Foo {
33644 Foo() {}
33645 };
33646
33647 int
33648 main ()
33649 {
33650
33651 ;
33652 return 0;
33653 }
33654 _ACEOF
33655 rm -f conftest.$ac_objext
33656 if { (ac_try="$ac_compile"
33657 case "(($ac_try" in
33658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33659 *) ac_try_echo=$ac_try;;
33660 esac
33661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33662 (eval "$ac_compile") 2>conftest.er1
33663 ac_status=$?
33664 grep -v '^ *+' conftest.er1 >conftest.err
33665 rm -f conftest.er1
33666 cat conftest.err >&5
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); } && {
33669 test -z "$ac_cxx_werror_flag" ||
33670 test ! -s conftest.err
33671 } && test -s conftest.$ac_objext; then
33672 wx_cv_cc_visibility=yes
33673 else
33674 echo "$as_me: failed program was:" >&5
33675 sed 's/^/| /' conftest.$ac_ext >&5
33676
33677 wx_cv_cc_visibility=no
33678 fi
33679
33680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33681 ac_ext=c
33682 ac_cpp='$CPP $CPPFLAGS'
33683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33686
33687 CXXFLAGS="$wx_save_CXXFLAGS"
33688 fi
33689
33690 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33691 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33692 if test $wx_cv_cc_visibility = yes; then
33693 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33694 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33695 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33696 echo $ECHO_N "(cached) $ECHO_C" >&6
33697 else
33698
33699 wx_save_CXXFLAGS="$CXXFLAGS"
33700 wx_save_LDFLAGS="$LDFLAGS"
33701 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33702 LDFLAGS="$LDFLAGS -shared -fPIC"
33703 ac_ext=cpp
33704 ac_cpp='$CXXCPP $CPPFLAGS'
33705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33708
33709 cat >conftest.$ac_ext <<_ACEOF
33710 /* confdefs.h. */
33711 _ACEOF
33712 cat confdefs.h >>conftest.$ac_ext
33713 cat >>conftest.$ac_ext <<_ACEOF
33714 /* end confdefs.h. */
33715
33716 #include <string>
33717
33718 int
33719 main ()
33720 {
33721
33722 std::string s("hello");
33723 return s.length();
33724
33725 ;
33726 return 0;
33727 }
33728 _ACEOF
33729 rm -f conftest.$ac_objext conftest$ac_exeext
33730 if { (ac_try="$ac_link"
33731 case "(($ac_try" in
33732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33733 *) ac_try_echo=$ac_try;;
33734 esac
33735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33736 (eval "$ac_link") 2>conftest.er1
33737 ac_status=$?
33738 grep -v '^ *+' conftest.er1 >conftest.err
33739 rm -f conftest.er1
33740 cat conftest.err >&5
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); } && {
33743 test -z "$ac_cxx_werror_flag" ||
33744 test ! -s conftest.err
33745 } && test -s conftest$ac_exeext &&
33746 $as_test_x conftest$ac_exeext; then
33747 wx_cv_cc_broken_libstdcxx_visibility=no
33748 else
33749 echo "$as_me: failed program was:" >&5
33750 sed 's/^/| /' conftest.$ac_ext >&5
33751
33752 wx_cv_cc_broken_libstdcxx_visibility=yes
33753 fi
33754
33755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33756 conftest$ac_exeext conftest.$ac_ext
33757 ac_ext=c
33758 ac_cpp='$CPP $CPPFLAGS'
33759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33762
33763 CXXFLAGS="$wx_save_CXXFLAGS"
33764 LDFLAGS="$wx_save_LDFLAGS"
33765 fi
33766
33767 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33768 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33769
33770 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33771 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33772 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33773 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33774 echo $ECHO_N "(cached) $ECHO_C" >&6
33775 else
33776
33777 ac_ext=cpp
33778 ac_cpp='$CXXCPP $CPPFLAGS'
33779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33782
33783 cat >conftest.$ac_ext <<_ACEOF
33784 /* confdefs.h. */
33785 _ACEOF
33786 cat confdefs.h >>conftest.$ac_ext
33787 cat >>conftest.$ac_ext <<_ACEOF
33788 /* end confdefs.h. */
33789
33790 #pragma GCC visibility push(default)
33791 #include <string>
33792 #pragma GCC visibility pop
33793
33794 int
33795 main ()
33796 {
33797
33798 std::string s("hello");
33799 return s.length();
33800
33801 ;
33802 return 0;
33803 }
33804 _ACEOF
33805 rm -f conftest.$ac_objext conftest$ac_exeext
33806 if { (ac_try="$ac_link"
33807 case "(($ac_try" in
33808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33809 *) ac_try_echo=$ac_try;;
33810 esac
33811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33812 (eval "$ac_link") 2>conftest.er1
33813 ac_status=$?
33814 grep -v '^ *+' conftest.er1 >conftest.err
33815 rm -f conftest.er1
33816 cat conftest.err >&5
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); } && {
33819 test -z "$ac_cxx_werror_flag" ||
33820 test ! -s conftest.err
33821 } && test -s conftest$ac_exeext &&
33822 $as_test_x conftest$ac_exeext; then
33823 wx_cv_cc_visibility_workaround=no
33824 else
33825 echo "$as_me: failed program was:" >&5
33826 sed 's/^/| /' conftest.$ac_ext >&5
33827
33828 wx_cv_cc_visibility_workaround=yes
33829 fi
33830
33831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33832 conftest$ac_exeext conftest.$ac_ext
33833 ac_ext=c
33834 ac_cpp='$CPP $CPPFLAGS'
33835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33838
33839
33840 fi
33841
33842 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33843 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33844
33845 if test $wx_cv_cc_visibility_workaround = no; then
33846 wx_cv_cc_visibility=no
33847 fi
33848 fi
33849 fi
33850
33851 if test $wx_cv_cc_visibility = yes; then
33852 cat >>confdefs.h <<\_ACEOF
33853 #define HAVE_VISIBILITY 1
33854 _ACEOF
33855
33856 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33857 cat >>confdefs.h <<\_ACEOF
33858 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33859 _ACEOF
33860
33861 fi
33862 else
33863 CFLAGS_VISIBILITY=""
33864 CXXFLAGS_VISIBILITY=""
33865 fi
33866
33867
33868 fi
33869
33870 fi
33871
33872 if test "x$SUNCXX" = xyes; then
33873 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33874 WXCONFIG_RPATH="-R\$libdir"
33875 else
33876 case "${host}" in
33877 *-*-linux* | *-*-gnu* )
33878 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33879 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33880 ;;
33881
33882 *-*-solaris2* )
33883
33884 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33885
33886 saveLdflags="$LDFLAGS"
33887 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33888 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33889 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33890 cat >conftest.$ac_ext <<_ACEOF
33891 /* confdefs.h. */
33892 _ACEOF
33893 cat confdefs.h >>conftest.$ac_ext
33894 cat >>conftest.$ac_ext <<_ACEOF
33895 /* end confdefs.h. */
33896
33897 int
33898 main ()
33899 {
33900
33901 ;
33902 return 0;
33903 }
33904 _ACEOF
33905 rm -f conftest.$ac_objext conftest$ac_exeext
33906 if { (ac_try="$ac_link"
33907 case "(($ac_try" in
33908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33909 *) ac_try_echo=$ac_try;;
33910 esac
33911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33912 (eval "$ac_link") 2>conftest.er1
33913 ac_status=$?
33914 grep -v '^ *+' conftest.er1 >conftest.err
33915 rm -f conftest.er1
33916 cat conftest.err >&5
33917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918 (exit $ac_status); } && {
33919 test -z "$ac_c_werror_flag" ||
33920 test ! -s conftest.err
33921 } && test -s conftest$ac_exeext &&
33922 $as_test_x conftest$ac_exeext; then
33923
33924 { echo "$as_me:$LINENO: result: yes" >&5
33925 echo "${ECHO_T}yes" >&6; }
33926 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33927 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33928
33929 else
33930 echo "$as_me: failed program was:" >&5
33931 sed 's/^/| /' conftest.$ac_ext >&5
33932
33933
33934 { echo "$as_me:$LINENO: result: no" >&5
33935 echo "${ECHO_T}no" >&6; }
33936 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33937 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33938 LDFLAGS="$saveLdflags -Wl,-R,/"
33939 cat >conftest.$ac_ext <<_ACEOF
33940 /* confdefs.h. */
33941 _ACEOF
33942 cat confdefs.h >>conftest.$ac_ext
33943 cat >>conftest.$ac_ext <<_ACEOF
33944 /* end confdefs.h. */
33945
33946 int
33947 main ()
33948 {
33949
33950 ;
33951 return 0;
33952 }
33953 _ACEOF
33954 rm -f conftest.$ac_objext conftest$ac_exeext
33955 if { (ac_try="$ac_link"
33956 case "(($ac_try" in
33957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33958 *) ac_try_echo=$ac_try;;
33959 esac
33960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33961 (eval "$ac_link") 2>conftest.er1
33962 ac_status=$?
33963 grep -v '^ *+' conftest.er1 >conftest.err
33964 rm -f conftest.er1
33965 cat conftest.err >&5
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); } && {
33968 test -z "$ac_c_werror_flag" ||
33969 test ! -s conftest.err
33970 } && test -s conftest$ac_exeext &&
33971 $as_test_x conftest$ac_exeext; then
33972
33973 { echo "$as_me:$LINENO: result: yes" >&5
33974 echo "${ECHO_T}yes" >&6; }
33975 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33976 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33977
33978 else
33979 echo "$as_me: failed program was:" >&5
33980 sed 's/^/| /' conftest.$ac_ext >&5
33981
33982
33983 { echo "$as_me:$LINENO: result: no" >&5
33984 echo "${ECHO_T}no" >&6; }
33985
33986 fi
33987
33988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33989 conftest$ac_exeext conftest.$ac_ext
33990
33991 fi
33992
33993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33994 conftest$ac_exeext conftest.$ac_ext
33995 LDFLAGS="$saveLdflags"
33996 ;;
33997
33998 *-*-darwin* )
33999 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34000 if test "$install_name_tool" -a -x "$install_name_tool"; then
34001 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34002 cat <<EOF >change-install-names
34003 #!/bin/sh
34004 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34005 for i in \${libnames} ; do
34006 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34007 for dep in \${libnames} ; do
34008 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34009 done
34010 done
34011 EOF
34012 chmod +x change-install-names
34013 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34014 fi
34015
34016 HEADER_PAD_OPTION="-headerpad_max_install_names"
34017 ;;
34018
34019 *-*-cygwin* | *-*-mingw32* )
34020 ;;
34021
34022 *-*-hpux* )
34023 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34024 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34025 ;;
34026
34027 esac
34028 fi
34029
34030 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34031
34032 if test $wxUSE_RPATH = "no"; then
34033 SAMPLES_RPATH_FLAG=''
34034 DYLIB_PATH_POSTLINK=''
34035 WXCONFIG_RPATH=''
34036 fi
34037
34038 SHARED=1
34039
34040 else
34041
34042 config_linkage_component="-static"
34043 SHARED=0
34044
34045 fi
34046
34047
34048 UNICODE=0
34049 lib_unicode_suffix=
34050 WX_CHARTYPE="ansi"
34051 if test "$wxUSE_UNICODE" = "yes"; then
34052 lib_unicode_suffix=u
34053 WX_CHARTYPE="unicode"
34054 UNICODE=1
34055 fi
34056
34057 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34058 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34059
34060 DEBUG_INFO=0
34061 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34062 DEBUG_INFO=1
34063 fi
34064
34065 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34066
34067 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34068
34069 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34070
34071
34072 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34073 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34074 else
34075 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34076 fi
34077 if test "${TOOLKIT_DIR}" = "os2"; then
34078 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34079 else
34080 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34081 fi
34082
34083
34084
34085 if test "$wxUSE_COCOA" = 1; then
34086
34087 ac_ext=c
34088 ac_cpp='$CPP $CPPFLAGS'
34089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34092
34093 ac_ext=m
34094
34095 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34096 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34097 cat >conftest.$ac_ext <<_ACEOF
34098 /* confdefs.h. */
34099 _ACEOF
34100 cat confdefs.h >>conftest.$ac_ext
34101 cat >>conftest.$ac_ext <<_ACEOF
34102 /* end confdefs.h. */
34103 #include <AppKit/NSEvent.h>
34104 #include <CoreFoundation/CoreFoundation.h>
34105
34106 int
34107 main ()
34108 {
34109
34110 ;
34111 return 0;
34112 }
34113 _ACEOF
34114 rm -f conftest.$ac_objext
34115 if { (ac_try="$ac_compile"
34116 case "(($ac_try" in
34117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34118 *) ac_try_echo=$ac_try;;
34119 esac
34120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34121 (eval "$ac_compile") 2>conftest.er1
34122 ac_status=$?
34123 grep -v '^ *+' conftest.er1 >conftest.err
34124 rm -f conftest.er1
34125 cat conftest.err >&5
34126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34127 (exit $ac_status); } && {
34128 test -z "$ac_c_werror_flag" ||
34129 test ! -s conftest.err
34130 } && test -s conftest.$ac_objext; then
34131 { echo "$as_me:$LINENO: result: no" >&5
34132 echo "${ECHO_T}no" >&6; }
34133 else
34134 echo "$as_me: failed program was:" >&5
34135 sed 's/^/| /' conftest.$ac_ext >&5
34136
34137 { echo "$as_me:$LINENO: result: yes" >&5
34138 echo "${ECHO_T}yes" >&6; }
34139 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34140 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34141 cat >conftest.$ac_ext <<_ACEOF
34142 /* confdefs.h. */
34143 _ACEOF
34144 cat confdefs.h >>conftest.$ac_ext
34145 cat >>conftest.$ac_ext <<_ACEOF
34146 /* end confdefs.h. */
34147 #define __Point__ 1
34148 #include <AppKit/NSEvent.h>
34149 #include <CoreFoundation/CoreFoundation.h>
34150
34151 int
34152 main ()
34153 {
34154
34155 ;
34156 return 0;
34157 }
34158 _ACEOF
34159 rm -f conftest.$ac_objext
34160 if { (ac_try="$ac_compile"
34161 case "(($ac_try" in
34162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34163 *) ac_try_echo=$ac_try;;
34164 esac
34165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34166 (eval "$ac_compile") 2>conftest.er1
34167 ac_status=$?
34168 grep -v '^ *+' conftest.er1 >conftest.err
34169 rm -f conftest.er1
34170 cat conftest.err >&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); } && {
34173 test -z "$ac_c_werror_flag" ||
34174 test ! -s conftest.err
34175 } && test -s conftest.$ac_objext; then
34176 { echo "$as_me:$LINENO: result: yes" >&5
34177 echo "${ECHO_T}yes" >&6; }
34178 cat >>confdefs.h <<\_ACEOF
34179 #define __Point__ 1
34180 _ACEOF
34181
34182
34183 else
34184 echo "$as_me: failed program was:" >&5
34185 sed 's/^/| /' conftest.$ac_ext >&5
34186
34187 { { echo "$as_me:$LINENO: error: no
34188 See \`config.log' for more details." >&5
34189 echo "$as_me: error: no
34190 See \`config.log' for more details." >&2;}
34191 { (exit 1); exit 1; }; }
34192
34193 fi
34194
34195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34196
34197 fi
34198
34199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34200 ac_ext=c
34201 ac_cpp='$CPP $CPPFLAGS'
34202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34205
34206 fi
34207
34208
34209 { echo "$as_me:$LINENO: checking for mode_t" >&5
34210 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34211 if test "${ac_cv_type_mode_t+set}" = set; then
34212 echo $ECHO_N "(cached) $ECHO_C" >&6
34213 else
34214 cat >conftest.$ac_ext <<_ACEOF
34215 /* confdefs.h. */
34216 _ACEOF
34217 cat confdefs.h >>conftest.$ac_ext
34218 cat >>conftest.$ac_ext <<_ACEOF
34219 /* end confdefs.h. */
34220 $ac_includes_default
34221 typedef mode_t ac__type_new_;
34222 int
34223 main ()
34224 {
34225 if ((ac__type_new_ *) 0)
34226 return 0;
34227 if (sizeof (ac__type_new_))
34228 return 0;
34229 ;
34230 return 0;
34231 }
34232 _ACEOF
34233 rm -f conftest.$ac_objext
34234 if { (ac_try="$ac_compile"
34235 case "(($ac_try" in
34236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34237 *) ac_try_echo=$ac_try;;
34238 esac
34239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34240 (eval "$ac_compile") 2>conftest.er1
34241 ac_status=$?
34242 grep -v '^ *+' conftest.er1 >conftest.err
34243 rm -f conftest.er1
34244 cat conftest.err >&5
34245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34246 (exit $ac_status); } && {
34247 test -z "$ac_c_werror_flag" ||
34248 test ! -s conftest.err
34249 } && test -s conftest.$ac_objext; then
34250 ac_cv_type_mode_t=yes
34251 else
34252 echo "$as_me: failed program was:" >&5
34253 sed 's/^/| /' conftest.$ac_ext >&5
34254
34255 ac_cv_type_mode_t=no
34256 fi
34257
34258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34259 fi
34260 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34261 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34262 if test $ac_cv_type_mode_t = yes; then
34263 :
34264 else
34265
34266 cat >>confdefs.h <<_ACEOF
34267 #define mode_t int
34268 _ACEOF
34269
34270 fi
34271
34272 { echo "$as_me:$LINENO: checking for off_t" >&5
34273 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34274 if test "${ac_cv_type_off_t+set}" = set; then
34275 echo $ECHO_N "(cached) $ECHO_C" >&6
34276 else
34277 cat >conftest.$ac_ext <<_ACEOF
34278 /* confdefs.h. */
34279 _ACEOF
34280 cat confdefs.h >>conftest.$ac_ext
34281 cat >>conftest.$ac_ext <<_ACEOF
34282 /* end confdefs.h. */
34283 $ac_includes_default
34284 typedef off_t ac__type_new_;
34285 int
34286 main ()
34287 {
34288 if ((ac__type_new_ *) 0)
34289 return 0;
34290 if (sizeof (ac__type_new_))
34291 return 0;
34292 ;
34293 return 0;
34294 }
34295 _ACEOF
34296 rm -f conftest.$ac_objext
34297 if { (ac_try="$ac_compile"
34298 case "(($ac_try" in
34299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34300 *) ac_try_echo=$ac_try;;
34301 esac
34302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34303 (eval "$ac_compile") 2>conftest.er1
34304 ac_status=$?
34305 grep -v '^ *+' conftest.er1 >conftest.err
34306 rm -f conftest.er1
34307 cat conftest.err >&5
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); } && {
34310 test -z "$ac_c_werror_flag" ||
34311 test ! -s conftest.err
34312 } && test -s conftest.$ac_objext; then
34313 ac_cv_type_off_t=yes
34314 else
34315 echo "$as_me: failed program was:" >&5
34316 sed 's/^/| /' conftest.$ac_ext >&5
34317
34318 ac_cv_type_off_t=no
34319 fi
34320
34321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34322 fi
34323 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34324 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34325 if test $ac_cv_type_off_t = yes; then
34326 :
34327 else
34328
34329 cat >>confdefs.h <<_ACEOF
34330 #define off_t long int
34331 _ACEOF
34332
34333 fi
34334
34335 { echo "$as_me:$LINENO: checking for pid_t" >&5
34336 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34337 if test "${ac_cv_type_pid_t+set}" = set; then
34338 echo $ECHO_N "(cached) $ECHO_C" >&6
34339 else
34340 cat >conftest.$ac_ext <<_ACEOF
34341 /* confdefs.h. */
34342 _ACEOF
34343 cat confdefs.h >>conftest.$ac_ext
34344 cat >>conftest.$ac_ext <<_ACEOF
34345 /* end confdefs.h. */
34346 $ac_includes_default
34347 typedef pid_t ac__type_new_;
34348 int
34349 main ()
34350 {
34351 if ((ac__type_new_ *) 0)
34352 return 0;
34353 if (sizeof (ac__type_new_))
34354 return 0;
34355 ;
34356 return 0;
34357 }
34358 _ACEOF
34359 rm -f conftest.$ac_objext
34360 if { (ac_try="$ac_compile"
34361 case "(($ac_try" in
34362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34363 *) ac_try_echo=$ac_try;;
34364 esac
34365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34366 (eval "$ac_compile") 2>conftest.er1
34367 ac_status=$?
34368 grep -v '^ *+' conftest.er1 >conftest.err
34369 rm -f conftest.er1
34370 cat conftest.err >&5
34371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372 (exit $ac_status); } && {
34373 test -z "$ac_c_werror_flag" ||
34374 test ! -s conftest.err
34375 } && test -s conftest.$ac_objext; then
34376 ac_cv_type_pid_t=yes
34377 else
34378 echo "$as_me: failed program was:" >&5
34379 sed 's/^/| /' conftest.$ac_ext >&5
34380
34381 ac_cv_type_pid_t=no
34382 fi
34383
34384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34385 fi
34386 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34387 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34388 if test $ac_cv_type_pid_t = yes; then
34389 :
34390 else
34391
34392 cat >>confdefs.h <<_ACEOF
34393 #define pid_t int
34394 _ACEOF
34395
34396 fi
34397
34398 { echo "$as_me:$LINENO: checking for size_t" >&5
34399 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34400 if test "${ac_cv_type_size_t+set}" = set; then
34401 echo $ECHO_N "(cached) $ECHO_C" >&6
34402 else
34403 cat >conftest.$ac_ext <<_ACEOF
34404 /* confdefs.h. */
34405 _ACEOF
34406 cat confdefs.h >>conftest.$ac_ext
34407 cat >>conftest.$ac_ext <<_ACEOF
34408 /* end confdefs.h. */
34409 $ac_includes_default
34410 typedef size_t ac__type_new_;
34411 int
34412 main ()
34413 {
34414 if ((ac__type_new_ *) 0)
34415 return 0;
34416 if (sizeof (ac__type_new_))
34417 return 0;
34418 ;
34419 return 0;
34420 }
34421 _ACEOF
34422 rm -f conftest.$ac_objext
34423 if { (ac_try="$ac_compile"
34424 case "(($ac_try" in
34425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34426 *) ac_try_echo=$ac_try;;
34427 esac
34428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34429 (eval "$ac_compile") 2>conftest.er1
34430 ac_status=$?
34431 grep -v '^ *+' conftest.er1 >conftest.err
34432 rm -f conftest.er1
34433 cat conftest.err >&5
34434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34435 (exit $ac_status); } && {
34436 test -z "$ac_c_werror_flag" ||
34437 test ! -s conftest.err
34438 } && test -s conftest.$ac_objext; then
34439 ac_cv_type_size_t=yes
34440 else
34441 echo "$as_me: failed program was:" >&5
34442 sed 's/^/| /' conftest.$ac_ext >&5
34443
34444 ac_cv_type_size_t=no
34445 fi
34446
34447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34448 fi
34449 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34450 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34451 if test $ac_cv_type_size_t = yes; then
34452 :
34453 else
34454
34455 cat >>confdefs.h <<_ACEOF
34456 #define size_t unsigned int
34457 _ACEOF
34458
34459 fi
34460
34461
34462 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34463 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34464 if test "${ac_cv_type_ssize_t+set}" = set; then
34465 echo $ECHO_N "(cached) $ECHO_C" >&6
34466 else
34467 cat >conftest.$ac_ext <<_ACEOF
34468 /* confdefs.h. */
34469 _ACEOF
34470 cat confdefs.h >>conftest.$ac_ext
34471 cat >>conftest.$ac_ext <<_ACEOF
34472 /* end confdefs.h. */
34473 $ac_includes_default
34474 typedef ssize_t ac__type_new_;
34475 int
34476 main ()
34477 {
34478 if ((ac__type_new_ *) 0)
34479 return 0;
34480 if (sizeof (ac__type_new_))
34481 return 0;
34482 ;
34483 return 0;
34484 }
34485 _ACEOF
34486 rm -f conftest.$ac_objext
34487 if { (ac_try="$ac_compile"
34488 case "(($ac_try" in
34489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34490 *) ac_try_echo=$ac_try;;
34491 esac
34492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34493 (eval "$ac_compile") 2>conftest.er1
34494 ac_status=$?
34495 grep -v '^ *+' conftest.er1 >conftest.err
34496 rm -f conftest.er1
34497 cat conftest.err >&5
34498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34499 (exit $ac_status); } && {
34500 test -z "$ac_c_werror_flag" ||
34501 test ! -s conftest.err
34502 } && test -s conftest.$ac_objext; then
34503 ac_cv_type_ssize_t=yes
34504 else
34505 echo "$as_me: failed program was:" >&5
34506 sed 's/^/| /' conftest.$ac_ext >&5
34507
34508 ac_cv_type_ssize_t=no
34509 fi
34510
34511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34512 fi
34513 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34514 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34515 if test $ac_cv_type_ssize_t = yes; then
34516
34517 cat >>confdefs.h <<_ACEOF
34518 #define HAVE_SSIZE_T 1
34519 _ACEOF
34520
34521
34522 fi
34523
34524
34525 ac_ext=cpp
34526 ac_cpp='$CXXCPP $CPPFLAGS'
34527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34530 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34531 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34532 if test "${wx_cv_size_t_is_uint+set}" = set; then
34533 echo $ECHO_N "(cached) $ECHO_C" >&6
34534 else
34535
34536 cat >conftest.$ac_ext <<_ACEOF
34537 /* confdefs.h. */
34538 _ACEOF
34539 cat confdefs.h >>conftest.$ac_ext
34540 cat >>conftest.$ac_ext <<_ACEOF
34541 /* end confdefs.h. */
34542 #include <stddef.h>
34543 int
34544 main ()
34545 {
34546
34547 return 0; }
34548
34549 struct Foo { void foo(size_t); void foo(unsigned int); };
34550
34551 int bar() {
34552
34553 ;
34554 return 0;
34555 }
34556 _ACEOF
34557 rm -f conftest.$ac_objext
34558 if { (ac_try="$ac_compile"
34559 case "(($ac_try" in
34560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34561 *) ac_try_echo=$ac_try;;
34562 esac
34563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34564 (eval "$ac_compile") 2>conftest.er1
34565 ac_status=$?
34566 grep -v '^ *+' conftest.er1 >conftest.err
34567 rm -f conftest.er1
34568 cat conftest.err >&5
34569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34570 (exit $ac_status); } && {
34571 test -z "$ac_cxx_werror_flag" ||
34572 test ! -s conftest.err
34573 } && test -s conftest.$ac_objext; then
34574 wx_cv_size_t_is_uint=no
34575 else
34576 echo "$as_me: failed program was:" >&5
34577 sed 's/^/| /' conftest.$ac_ext >&5
34578
34579 wx_cv_size_t_is_uint=yes
34580
34581 fi
34582
34583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34584
34585
34586 fi
34587 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34588 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34589
34590 if test "$wx_cv_size_t_is_uint" = "yes"; then
34591 cat >>confdefs.h <<\_ACEOF
34592 #define wxSIZE_T_IS_UINT 1
34593 _ACEOF
34594
34595 else
34596 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34597 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34598 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34599 echo $ECHO_N "(cached) $ECHO_C" >&6
34600 else
34601 cat >conftest.$ac_ext <<_ACEOF
34602 /* confdefs.h. */
34603 _ACEOF
34604 cat confdefs.h >>conftest.$ac_ext
34605 cat >>conftest.$ac_ext <<_ACEOF
34606 /* end confdefs.h. */
34607 #include <stddef.h>
34608 int
34609 main ()
34610 {
34611
34612 return 0; }
34613
34614 struct Foo { void foo(size_t); void foo(unsigned long); };
34615
34616 int bar() {
34617
34618 ;
34619 return 0;
34620 }
34621 _ACEOF
34622 rm -f conftest.$ac_objext
34623 if { (ac_try="$ac_compile"
34624 case "(($ac_try" in
34625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34626 *) ac_try_echo=$ac_try;;
34627 esac
34628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34629 (eval "$ac_compile") 2>conftest.er1
34630 ac_status=$?
34631 grep -v '^ *+' conftest.er1 >conftest.err
34632 rm -f conftest.er1
34633 cat conftest.err >&5
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); } && {
34636 test -z "$ac_cxx_werror_flag" ||
34637 test ! -s conftest.err
34638 } && test -s conftest.$ac_objext; then
34639 wx_cv_size_t_is_ulong=no
34640 else
34641 echo "$as_me: failed program was:" >&5
34642 sed 's/^/| /' conftest.$ac_ext >&5
34643
34644 wx_cv_size_t_is_ulong=yes
34645
34646 fi
34647
34648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34649
34650 fi
34651 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34652 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34653
34654 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34655 cat >>confdefs.h <<\_ACEOF
34656 #define wxSIZE_T_IS_ULONG 1
34657 _ACEOF
34658
34659 fi
34660 fi
34661
34662 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34663 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34664 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34665 echo $ECHO_N "(cached) $ECHO_C" >&6
34666 else
34667 cat >conftest.$ac_ext <<_ACEOF
34668 /* confdefs.h. */
34669 _ACEOF
34670 cat confdefs.h >>conftest.$ac_ext
34671 cat >>conftest.$ac_ext <<_ACEOF
34672 /* end confdefs.h. */
34673 #include <wchar.h>
34674 int
34675 main ()
34676 {
34677
34678 return 0; }
34679
34680 struct Foo { void foo(wchar_t);
34681 void foo(unsigned short);
34682 void foo(unsigned int);
34683 void foo(unsigned long); };
34684
34685 int bar() {
34686
34687 ;
34688 return 0;
34689 }
34690 _ACEOF
34691 rm -f conftest.$ac_objext
34692 if { (ac_try="$ac_compile"
34693 case "(($ac_try" in
34694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34695 *) ac_try_echo=$ac_try;;
34696 esac
34697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34698 (eval "$ac_compile") 2>conftest.er1
34699 ac_status=$?
34700 grep -v '^ *+' conftest.er1 >conftest.err
34701 rm -f conftest.er1
34702 cat conftest.err >&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); } && {
34705 test -z "$ac_cxx_werror_flag" ||
34706 test ! -s conftest.err
34707 } && test -s conftest.$ac_objext; then
34708 wx_cv_wchar_t_is_separate_type=yes
34709 else
34710 echo "$as_me: failed program was:" >&5
34711 sed 's/^/| /' conftest.$ac_ext >&5
34712
34713 wx_cv_wchar_t_is_separate_type=no
34714
34715 fi
34716
34717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34718
34719 fi
34720 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34721 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34722
34723 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34724 cat >>confdefs.h <<\_ACEOF
34725 #define wxWCHAR_T_IS_REAL_TYPE 1
34726 _ACEOF
34727
34728 else
34729 cat >>confdefs.h <<\_ACEOF
34730 #define wxWCHAR_T_IS_REAL_TYPE 0
34731 _ACEOF
34732
34733 fi
34734
34735 ac_ext=c
34736 ac_cpp='$CPP $CPPFLAGS'
34737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34740
34741
34742 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34743 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34744 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34745 echo $ECHO_N "(cached) $ECHO_C" >&6
34746 else
34747
34748 cat >conftest.$ac_ext <<_ACEOF
34749 /* confdefs.h. */
34750 _ACEOF
34751 cat confdefs.h >>conftest.$ac_ext
34752 cat >>conftest.$ac_ext <<_ACEOF
34753 /* end confdefs.h. */
34754 #include <pwd.h>
34755 int
34756 main ()
34757 {
34758
34759 char *p;
34760 struct passwd *pw;
34761 p = pw->pw_gecos;
34762
34763 ;
34764 return 0;
34765 }
34766 _ACEOF
34767 rm -f conftest.$ac_objext
34768 if { (ac_try="$ac_compile"
34769 case "(($ac_try" in
34770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34771 *) ac_try_echo=$ac_try;;
34772 esac
34773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34774 (eval "$ac_compile") 2>conftest.er1
34775 ac_status=$?
34776 grep -v '^ *+' conftest.er1 >conftest.err
34777 rm -f conftest.er1
34778 cat conftest.err >&5
34779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34780 (exit $ac_status); } && {
34781 test -z "$ac_c_werror_flag" ||
34782 test ! -s conftest.err
34783 } && test -s conftest.$ac_objext; then
34784
34785 wx_cv_struct_pw_gecos=yes
34786
34787 else
34788 echo "$as_me: failed program was:" >&5
34789 sed 's/^/| /' conftest.$ac_ext >&5
34790
34791
34792 wx_cv_struct_pw_gecos=no
34793
34794
34795 fi
34796
34797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34798
34799
34800 fi
34801 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34802 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34803
34804 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34805 cat >>confdefs.h <<\_ACEOF
34806 #define HAVE_PW_GECOS 1
34807 _ACEOF
34808
34809 fi
34810
34811
34812 if test "$wxUSE_WCHAR_T" = "yes"; then
34813 cat >>confdefs.h <<\_ACEOF
34814 #define wxUSE_WCHAR_T 1
34815 _ACEOF
34816
34817
34818 WCSLEN_FOUND=0
34819 WCHAR_LINK=
34820
34821 for ac_func in wcslen
34822 do
34823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34824 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34826 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34827 echo $ECHO_N "(cached) $ECHO_C" >&6
34828 else
34829 cat >conftest.$ac_ext <<_ACEOF
34830 /* confdefs.h. */
34831 _ACEOF
34832 cat confdefs.h >>conftest.$ac_ext
34833 cat >>conftest.$ac_ext <<_ACEOF
34834 /* end confdefs.h. */
34835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34837 #define $ac_func innocuous_$ac_func
34838
34839 /* System header to define __stub macros and hopefully few prototypes,
34840 which can conflict with char $ac_func (); below.
34841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34842 <limits.h> exists even on freestanding compilers. */
34843
34844 #ifdef __STDC__
34845 # include <limits.h>
34846 #else
34847 # include <assert.h>
34848 #endif
34849
34850 #undef $ac_func
34851
34852 /* Override any GCC internal prototype to avoid an error.
34853 Use char because int might match the return type of a GCC
34854 builtin and then its argument prototype would still apply. */
34855 #ifdef __cplusplus
34856 extern "C"
34857 #endif
34858 char $ac_func ();
34859 /* The GNU C library defines this for functions which it implements
34860 to always fail with ENOSYS. Some functions are actually named
34861 something starting with __ and the normal name is an alias. */
34862 #if defined __stub_$ac_func || defined __stub___$ac_func
34863 choke me
34864 #endif
34865
34866 int
34867 main ()
34868 {
34869 return $ac_func ();
34870 ;
34871 return 0;
34872 }
34873 _ACEOF
34874 rm -f conftest.$ac_objext conftest$ac_exeext
34875 if { (ac_try="$ac_link"
34876 case "(($ac_try" in
34877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34878 *) ac_try_echo=$ac_try;;
34879 esac
34880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34881 (eval "$ac_link") 2>conftest.er1
34882 ac_status=$?
34883 grep -v '^ *+' conftest.er1 >conftest.err
34884 rm -f conftest.er1
34885 cat conftest.err >&5
34886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34887 (exit $ac_status); } && {
34888 test -z "$ac_c_werror_flag" ||
34889 test ! -s conftest.err
34890 } && test -s conftest$ac_exeext &&
34891 $as_test_x conftest$ac_exeext; then
34892 eval "$as_ac_var=yes"
34893 else
34894 echo "$as_me: failed program was:" >&5
34895 sed 's/^/| /' conftest.$ac_ext >&5
34896
34897 eval "$as_ac_var=no"
34898 fi
34899
34900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34901 conftest$ac_exeext conftest.$ac_ext
34902 fi
34903 ac_res=`eval echo '${'$as_ac_var'}'`
34904 { echo "$as_me:$LINENO: result: $ac_res" >&5
34905 echo "${ECHO_T}$ac_res" >&6; }
34906 if test `eval echo '${'$as_ac_var'}'` = yes; then
34907 cat >>confdefs.h <<_ACEOF
34908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34909 _ACEOF
34910 WCSLEN_FOUND=1
34911 fi
34912 done
34913
34914
34915 if test "$WCSLEN_FOUND" = 0; then
34916 if test "$TOOLKIT" = "MSW"; then
34917 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34918 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34919 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34920 echo $ECHO_N "(cached) $ECHO_C" >&6
34921 else
34922 ac_check_lib_save_LIBS=$LIBS
34923 LIBS="-lmsvcrt $LIBS"
34924 cat >conftest.$ac_ext <<_ACEOF
34925 /* confdefs.h. */
34926 _ACEOF
34927 cat confdefs.h >>conftest.$ac_ext
34928 cat >>conftest.$ac_ext <<_ACEOF
34929 /* end confdefs.h. */
34930
34931 /* Override any GCC internal prototype to avoid an error.
34932 Use char because int might match the return type of a GCC
34933 builtin and then its argument prototype would still apply. */
34934 #ifdef __cplusplus
34935 extern "C"
34936 #endif
34937 char wcslen ();
34938 int
34939 main ()
34940 {
34941 return wcslen ();
34942 ;
34943 return 0;
34944 }
34945 _ACEOF
34946 rm -f conftest.$ac_objext conftest$ac_exeext
34947 if { (ac_try="$ac_link"
34948 case "(($ac_try" in
34949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34950 *) ac_try_echo=$ac_try;;
34951 esac
34952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34953 (eval "$ac_link") 2>conftest.er1
34954 ac_status=$?
34955 grep -v '^ *+' conftest.er1 >conftest.err
34956 rm -f conftest.er1
34957 cat conftest.err >&5
34958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34959 (exit $ac_status); } && {
34960 test -z "$ac_c_werror_flag" ||
34961 test ! -s conftest.err
34962 } && test -s conftest$ac_exeext &&
34963 $as_test_x conftest$ac_exeext; then
34964 ac_cv_lib_msvcrt_wcslen=yes
34965 else
34966 echo "$as_me: failed program was:" >&5
34967 sed 's/^/| /' conftest.$ac_ext >&5
34968
34969 ac_cv_lib_msvcrt_wcslen=no
34970 fi
34971
34972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34973 conftest$ac_exeext conftest.$ac_ext
34974 LIBS=$ac_check_lib_save_LIBS
34975 fi
34976 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34977 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34978 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34979 WCHAR_OK=1
34980 fi
34981
34982 else
34983 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34984 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34985 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34986 echo $ECHO_N "(cached) $ECHO_C" >&6
34987 else
34988 ac_check_lib_save_LIBS=$LIBS
34989 LIBS="-lw $LIBS"
34990 cat >conftest.$ac_ext <<_ACEOF
34991 /* confdefs.h. */
34992 _ACEOF
34993 cat confdefs.h >>conftest.$ac_ext
34994 cat >>conftest.$ac_ext <<_ACEOF
34995 /* end confdefs.h. */
34996
34997 /* Override any GCC internal prototype to avoid an error.
34998 Use char because int might match the return type of a GCC
34999 builtin and then its argument prototype would still apply. */
35000 #ifdef __cplusplus
35001 extern "C"
35002 #endif
35003 char wcslen ();
35004 int
35005 main ()
35006 {
35007 return wcslen ();
35008 ;
35009 return 0;
35010 }
35011 _ACEOF
35012 rm -f conftest.$ac_objext conftest$ac_exeext
35013 if { (ac_try="$ac_link"
35014 case "(($ac_try" in
35015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35016 *) ac_try_echo=$ac_try;;
35017 esac
35018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35019 (eval "$ac_link") 2>conftest.er1
35020 ac_status=$?
35021 grep -v '^ *+' conftest.er1 >conftest.err
35022 rm -f conftest.er1
35023 cat conftest.err >&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); } && {
35026 test -z "$ac_c_werror_flag" ||
35027 test ! -s conftest.err
35028 } && test -s conftest$ac_exeext &&
35029 $as_test_x conftest$ac_exeext; then
35030 ac_cv_lib_w_wcslen=yes
35031 else
35032 echo "$as_me: failed program was:" >&5
35033 sed 's/^/| /' conftest.$ac_ext >&5
35034
35035 ac_cv_lib_w_wcslen=no
35036 fi
35037
35038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35039 conftest$ac_exeext conftest.$ac_ext
35040 LIBS=$ac_check_lib_save_LIBS
35041 fi
35042 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35043 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35044 if test $ac_cv_lib_w_wcslen = yes; then
35045
35046 WCHAR_LINK=" -lw"
35047 WCSLEN_FOUND=1
35048
35049 fi
35050
35051 fi
35052 fi
35053
35054 if test "$WCSLEN_FOUND" = 1; then
35055 cat >>confdefs.h <<\_ACEOF
35056 #define HAVE_WCSLEN 1
35057 _ACEOF
35058
35059 fi
35060
35061
35062
35063
35064
35065
35066 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35067 do
35068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35069 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35071 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35073 else
35074 cat >conftest.$ac_ext <<_ACEOF
35075 /* confdefs.h. */
35076 _ACEOF
35077 cat confdefs.h >>conftest.$ac_ext
35078 cat >>conftest.$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35082 #define $ac_func innocuous_$ac_func
35083
35084 /* System header to define __stub macros and hopefully few prototypes,
35085 which can conflict with char $ac_func (); below.
35086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35087 <limits.h> exists even on freestanding compilers. */
35088
35089 #ifdef __STDC__
35090 # include <limits.h>
35091 #else
35092 # include <assert.h>
35093 #endif
35094
35095 #undef $ac_func
35096
35097 /* Override any GCC internal prototype to avoid an error.
35098 Use char because int might match the return type of a GCC
35099 builtin and then its argument prototype would still apply. */
35100 #ifdef __cplusplus
35101 extern "C"
35102 #endif
35103 char $ac_func ();
35104 /* The GNU C library defines this for functions which it implements
35105 to always fail with ENOSYS. Some functions are actually named
35106 something starting with __ and the normal name is an alias. */
35107 #if defined __stub_$ac_func || defined __stub___$ac_func
35108 choke me
35109 #endif
35110
35111 int
35112 main ()
35113 {
35114 return $ac_func ();
35115 ;
35116 return 0;
35117 }
35118 _ACEOF
35119 rm -f conftest.$ac_objext conftest$ac_exeext
35120 if { (ac_try="$ac_link"
35121 case "(($ac_try" in
35122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35123 *) ac_try_echo=$ac_try;;
35124 esac
35125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35126 (eval "$ac_link") 2>conftest.er1
35127 ac_status=$?
35128 grep -v '^ *+' conftest.er1 >conftest.err
35129 rm -f conftest.er1
35130 cat conftest.err >&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); } && {
35133 test -z "$ac_c_werror_flag" ||
35134 test ! -s conftest.err
35135 } && test -s conftest$ac_exeext &&
35136 $as_test_x conftest$ac_exeext; then
35137 eval "$as_ac_var=yes"
35138 else
35139 echo "$as_me: failed program was:" >&5
35140 sed 's/^/| /' conftest.$ac_ext >&5
35141
35142 eval "$as_ac_var=no"
35143 fi
35144
35145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35146 conftest$ac_exeext conftest.$ac_ext
35147 fi
35148 ac_res=`eval echo '${'$as_ac_var'}'`
35149 { echo "$as_me:$LINENO: result: $ac_res" >&5
35150 echo "${ECHO_T}$ac_res" >&6; }
35151 if test `eval echo '${'$as_ac_var'}'` = yes; then
35152 cat >>confdefs.h <<_ACEOF
35153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35154 _ACEOF
35155
35156 fi
35157 done
35158
35159
35160 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35161 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35162 fi
35163
35164 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35165 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35166 if test "${ac_cv_type_mbstate_t+set}" = set; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35168 else
35169 cat >conftest.$ac_ext <<_ACEOF
35170 /* confdefs.h. */
35171 _ACEOF
35172 cat confdefs.h >>conftest.$ac_ext
35173 cat >>conftest.$ac_ext <<_ACEOF
35174 /* end confdefs.h. */
35175 #include <wchar.h>
35176
35177 typedef mbstate_t ac__type_new_;
35178 int
35179 main ()
35180 {
35181 if ((ac__type_new_ *) 0)
35182 return 0;
35183 if (sizeof (ac__type_new_))
35184 return 0;
35185 ;
35186 return 0;
35187 }
35188 _ACEOF
35189 rm -f conftest.$ac_objext
35190 if { (ac_try="$ac_compile"
35191 case "(($ac_try" in
35192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35193 *) ac_try_echo=$ac_try;;
35194 esac
35195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35196 (eval "$ac_compile") 2>conftest.er1
35197 ac_status=$?
35198 grep -v '^ *+' conftest.er1 >conftest.err
35199 rm -f conftest.er1
35200 cat conftest.err >&5
35201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35202 (exit $ac_status); } && {
35203 test -z "$ac_c_werror_flag" ||
35204 test ! -s conftest.err
35205 } && test -s conftest.$ac_objext; then
35206 ac_cv_type_mbstate_t=yes
35207 else
35208 echo "$as_me: failed program was:" >&5
35209 sed 's/^/| /' conftest.$ac_ext >&5
35210
35211 ac_cv_type_mbstate_t=no
35212 fi
35213
35214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35215 fi
35216 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35217 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35218 if test $ac_cv_type_mbstate_t = yes; then
35219
35220 cat >>confdefs.h <<_ACEOF
35221 #define HAVE_MBSTATE_T 1
35222 _ACEOF
35223
35224
35225 for ac_func in wcsrtombs
35226 do
35227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35228 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35230 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35231 echo $ECHO_N "(cached) $ECHO_C" >&6
35232 else
35233 cat >conftest.$ac_ext <<_ACEOF
35234 /* confdefs.h. */
35235 _ACEOF
35236 cat confdefs.h >>conftest.$ac_ext
35237 cat >>conftest.$ac_ext <<_ACEOF
35238 /* end confdefs.h. */
35239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35241 #define $ac_func innocuous_$ac_func
35242
35243 /* System header to define __stub macros and hopefully few prototypes,
35244 which can conflict with char $ac_func (); below.
35245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35246 <limits.h> exists even on freestanding compilers. */
35247
35248 #ifdef __STDC__
35249 # include <limits.h>
35250 #else
35251 # include <assert.h>
35252 #endif
35253
35254 #undef $ac_func
35255
35256 /* Override any GCC internal prototype to avoid an error.
35257 Use char because int might match the return type of a GCC
35258 builtin and then its argument prototype would still apply. */
35259 #ifdef __cplusplus
35260 extern "C"
35261 #endif
35262 char $ac_func ();
35263 /* The GNU C library defines this for functions which it implements
35264 to always fail with ENOSYS. Some functions are actually named
35265 something starting with __ and the normal name is an alias. */
35266 #if defined __stub_$ac_func || defined __stub___$ac_func
35267 choke me
35268 #endif
35269
35270 int
35271 main ()
35272 {
35273 return $ac_func ();
35274 ;
35275 return 0;
35276 }
35277 _ACEOF
35278 rm -f conftest.$ac_objext conftest$ac_exeext
35279 if { (ac_try="$ac_link"
35280 case "(($ac_try" in
35281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35282 *) ac_try_echo=$ac_try;;
35283 esac
35284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35285 (eval "$ac_link") 2>conftest.er1
35286 ac_status=$?
35287 grep -v '^ *+' conftest.er1 >conftest.err
35288 rm -f conftest.er1
35289 cat conftest.err >&5
35290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35291 (exit $ac_status); } && {
35292 test -z "$ac_c_werror_flag" ||
35293 test ! -s conftest.err
35294 } && test -s conftest$ac_exeext &&
35295 $as_test_x conftest$ac_exeext; then
35296 eval "$as_ac_var=yes"
35297 else
35298 echo "$as_me: failed program was:" >&5
35299 sed 's/^/| /' conftest.$ac_ext >&5
35300
35301 eval "$as_ac_var=no"
35302 fi
35303
35304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35305 conftest$ac_exeext conftest.$ac_ext
35306 fi
35307 ac_res=`eval echo '${'$as_ac_var'}'`
35308 { echo "$as_me:$LINENO: result: $ac_res" >&5
35309 echo "${ECHO_T}$ac_res" >&6; }
35310 if test `eval echo '${'$as_ac_var'}'` = yes; then
35311 cat >>confdefs.h <<_ACEOF
35312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35313 _ACEOF
35314
35315 fi
35316 done
35317
35318 fi
35319
35320 else
35321 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35322 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35323 fi
35324
35325
35326
35327
35328 for ac_func in snprintf vsnprintf vsscanf
35329 do
35330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35331 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35333 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35334 echo $ECHO_N "(cached) $ECHO_C" >&6
35335 else
35336 cat >conftest.$ac_ext <<_ACEOF
35337 /* confdefs.h. */
35338 _ACEOF
35339 cat confdefs.h >>conftest.$ac_ext
35340 cat >>conftest.$ac_ext <<_ACEOF
35341 /* end confdefs.h. */
35342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35344 #define $ac_func innocuous_$ac_func
35345
35346 /* System header to define __stub macros and hopefully few prototypes,
35347 which can conflict with char $ac_func (); below.
35348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35349 <limits.h> exists even on freestanding compilers. */
35350
35351 #ifdef __STDC__
35352 # include <limits.h>
35353 #else
35354 # include <assert.h>
35355 #endif
35356
35357 #undef $ac_func
35358
35359 /* Override any GCC internal prototype to avoid an error.
35360 Use char because int might match the return type of a GCC
35361 builtin and then its argument prototype would still apply. */
35362 #ifdef __cplusplus
35363 extern "C"
35364 #endif
35365 char $ac_func ();
35366 /* The GNU C library defines this for functions which it implements
35367 to always fail with ENOSYS. Some functions are actually named
35368 something starting with __ and the normal name is an alias. */
35369 #if defined __stub_$ac_func || defined __stub___$ac_func
35370 choke me
35371 #endif
35372
35373 int
35374 main ()
35375 {
35376 return $ac_func ();
35377 ;
35378 return 0;
35379 }
35380 _ACEOF
35381 rm -f conftest.$ac_objext conftest$ac_exeext
35382 if { (ac_try="$ac_link"
35383 case "(($ac_try" in
35384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35385 *) ac_try_echo=$ac_try;;
35386 esac
35387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35388 (eval "$ac_link") 2>conftest.er1
35389 ac_status=$?
35390 grep -v '^ *+' conftest.er1 >conftest.err
35391 rm -f conftest.er1
35392 cat conftest.err >&5
35393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35394 (exit $ac_status); } && {
35395 test -z "$ac_c_werror_flag" ||
35396 test ! -s conftest.err
35397 } && test -s conftest$ac_exeext &&
35398 $as_test_x conftest$ac_exeext; then
35399 eval "$as_ac_var=yes"
35400 else
35401 echo "$as_me: failed program was:" >&5
35402 sed 's/^/| /' conftest.$ac_ext >&5
35403
35404 eval "$as_ac_var=no"
35405 fi
35406
35407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35408 conftest$ac_exeext conftest.$ac_ext
35409 fi
35410 ac_res=`eval echo '${'$as_ac_var'}'`
35411 { echo "$as_me:$LINENO: result: $ac_res" >&5
35412 echo "${ECHO_T}$ac_res" >&6; }
35413 if test `eval echo '${'$as_ac_var'}'` = yes; then
35414 cat >>confdefs.h <<_ACEOF
35415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35416 _ACEOF
35417
35418 fi
35419 done
35420
35421
35422 ac_ext=cpp
35423 ac_cpp='$CXXCPP $CPPFLAGS'
35424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35427
35428 if test "$ac_cv_func_vsnprintf" = "yes"; then
35429 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35430 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35431 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35432 echo $ECHO_N "(cached) $ECHO_C" >&6
35433 else
35434
35435 cat >conftest.$ac_ext <<_ACEOF
35436 /* confdefs.h. */
35437 _ACEOF
35438 cat confdefs.h >>conftest.$ac_ext
35439 cat >>conftest.$ac_ext <<_ACEOF
35440 /* end confdefs.h. */
35441
35442 #include <stdio.h>
35443 #include <stdarg.h>
35444 #ifdef __MSL__
35445 #if __MSL__ >= 0x6000
35446 namespace std {}
35447 using namespace std;
35448 #endif
35449 #endif
35450
35451 int
35452 main ()
35453 {
35454
35455 char *buf;
35456 va_list ap;
35457 vsnprintf(buf, 10u, "%s", ap);
35458
35459 ;
35460 return 0;
35461 }
35462 _ACEOF
35463 rm -f conftest.$ac_objext
35464 if { (ac_try="$ac_compile"
35465 case "(($ac_try" in
35466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35467 *) ac_try_echo=$ac_try;;
35468 esac
35469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35470 (eval "$ac_compile") 2>conftest.er1
35471 ac_status=$?
35472 grep -v '^ *+' conftest.er1 >conftest.err
35473 rm -f conftest.er1
35474 cat conftest.err >&5
35475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35476 (exit $ac_status); } && {
35477 test -z "$ac_cxx_werror_flag" ||
35478 test ! -s conftest.err
35479 } && test -s conftest.$ac_objext; then
35480 wx_cv_func_vsnprintf_decl=yes
35481 else
35482 echo "$as_me: failed program was:" >&5
35483 sed 's/^/| /' conftest.$ac_ext >&5
35484
35485 wx_cv_func_vsnprintf_decl=no
35486
35487 fi
35488
35489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35490
35491
35492 fi
35493 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35494 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35495
35496 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35497 cat >>confdefs.h <<\_ACEOF
35498 #define HAVE_VSNPRINTF_DECL 1
35499 _ACEOF
35500
35501
35502 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35503 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35504 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35505 echo $ECHO_N "(cached) $ECHO_C" >&6
35506 else
35507
35508 cat >conftest.$ac_ext <<_ACEOF
35509 /* confdefs.h. */
35510 _ACEOF
35511 cat confdefs.h >>conftest.$ac_ext
35512 cat >>conftest.$ac_ext <<_ACEOF
35513 /* end confdefs.h. */
35514
35515 #include <stdio.h>
35516 #include <stdarg.h>
35517 #ifdef __MSL__
35518 #if __MSL__ >= 0x6000
35519 namespace std {}
35520 using namespace std;
35521 #endif
35522 #endif
35523
35524 int
35525 main ()
35526 {
35527
35528 char *buf;
35529 va_list ap;
35530 const char *fmt = "%s";
35531 vsnprintf(buf, 10u, fmt, ap);
35532
35533 ;
35534 return 0;
35535 }
35536 _ACEOF
35537 rm -f conftest.$ac_objext
35538 if { (ac_try="$ac_compile"
35539 case "(($ac_try" in
35540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35541 *) ac_try_echo=$ac_try;;
35542 esac
35543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35544 (eval "$ac_compile") 2>conftest.er1
35545 ac_status=$?
35546 grep -v '^ *+' conftest.er1 >conftest.err
35547 rm -f conftest.er1
35548 cat conftest.err >&5
35549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35550 (exit $ac_status); } && {
35551 test -z "$ac_cxx_werror_flag" ||
35552 test ! -s conftest.err
35553 } && test -s conftest.$ac_objext; then
35554 wx_cv_func_broken_vsnprintf_decl=no
35555 else
35556 echo "$as_me: failed program was:" >&5
35557 sed 's/^/| /' conftest.$ac_ext >&5
35558
35559 wx_cv_func_broken_vsnprintf_decl=yes
35560
35561 fi
35562
35563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35564
35565
35566 fi
35567 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35568 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35569
35570 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35571 cat >>confdefs.h <<\_ACEOF
35572 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35573 _ACEOF
35574
35575 fi
35576 fi
35577 fi
35578
35579 if test "$ac_cv_func_snprintf" = "yes"; then
35580 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35581 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35582 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35583 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 else
35585
35586 cat >conftest.$ac_ext <<_ACEOF
35587 /* confdefs.h. */
35588 _ACEOF
35589 cat confdefs.h >>conftest.$ac_ext
35590 cat >>conftest.$ac_ext <<_ACEOF
35591 /* end confdefs.h. */
35592
35593 #include <stdio.h>
35594 #include <stdarg.h>
35595 #ifdef __MSL__
35596 #if __MSL__ >= 0x6000
35597 namespace std {}
35598 using namespace std;
35599 #endif
35600 #endif
35601
35602 int
35603 main ()
35604 {
35605
35606 char *buf;
35607 snprintf(buf, 10u, "%s", "wx");
35608
35609 ;
35610 return 0;
35611 }
35612 _ACEOF
35613 rm -f conftest.$ac_objext
35614 if { (ac_try="$ac_compile"
35615 case "(($ac_try" in
35616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35617 *) ac_try_echo=$ac_try;;
35618 esac
35619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35620 (eval "$ac_compile") 2>conftest.er1
35621 ac_status=$?
35622 grep -v '^ *+' conftest.er1 >conftest.err
35623 rm -f conftest.er1
35624 cat conftest.err >&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); } && {
35627 test -z "$ac_cxx_werror_flag" ||
35628 test ! -s conftest.err
35629 } && test -s conftest.$ac_objext; then
35630 wx_cv_func_snprintf_decl=yes
35631 else
35632 echo "$as_me: failed program was:" >&5
35633 sed 's/^/| /' conftest.$ac_ext >&5
35634
35635 wx_cv_func_snprintf_decl=no
35636
35637 fi
35638
35639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35640
35641
35642 fi
35643 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35644 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35645
35646 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35647 cat >>confdefs.h <<\_ACEOF
35648 #define HAVE_SNPRINTF_DECL 1
35649 _ACEOF
35650
35651 fi
35652
35653 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35654
35655 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35656 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35657 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35658 echo $ECHO_N "(cached) $ECHO_C" >&6
35659 else
35660
35661 if test "$cross_compiling" = yes; then
35662
35663 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35664 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35665 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35666 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35667 wx_cv_func_snprintf_pos_params=no
35668
35669
35670 else
35671 cat >conftest.$ac_ext <<_ACEOF
35672 /* confdefs.h. */
35673 _ACEOF
35674 cat confdefs.h >>conftest.$ac_ext
35675 cat >>conftest.$ac_ext <<_ACEOF
35676 /* end confdefs.h. */
35677
35678 #include <stdio.h>
35679
35680 int main (void)
35681 {
35682 char buffer[128];
35683 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35684 if (strcmp ("2 3 1", buffer) == 0)
35685 exit (0);
35686 exit (1);
35687 }
35688
35689 _ACEOF
35690 rm -f conftest$ac_exeext
35691 if { (ac_try="$ac_link"
35692 case "(($ac_try" in
35693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35694 *) ac_try_echo=$ac_try;;
35695 esac
35696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35697 (eval "$ac_link") 2>&5
35698 ac_status=$?
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35701 { (case "(($ac_try" in
35702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35703 *) ac_try_echo=$ac_try;;
35704 esac
35705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35706 (eval "$ac_try") 2>&5
35707 ac_status=$?
35708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35709 (exit $ac_status); }; }; then
35710 wx_cv_func_snprintf_pos_params=no
35711 else
35712 echo "$as_me: program exited with status $ac_status" >&5
35713 echo "$as_me: failed program was:" >&5
35714 sed 's/^/| /' conftest.$ac_ext >&5
35715
35716 ( exit $ac_status )
35717 wx_cv_func_snprintf_pos_params=yes
35718 fi
35719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35720 fi
35721
35722
35723
35724
35725 fi
35726 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35727 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35728
35729 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35730 cat >>confdefs.h <<\_ACEOF
35731 #define HAVE_UNIX98_PRINTF 1
35732 _ACEOF
35733
35734 fi
35735 fi
35736 fi
35737
35738 if test "$ac_cv_func_vsscanf" = "yes"; then
35739 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35740 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35741 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35742 echo $ECHO_N "(cached) $ECHO_C" >&6
35743 else
35744
35745 cat >conftest.$ac_ext <<_ACEOF
35746 /* confdefs.h. */
35747 _ACEOF
35748 cat confdefs.h >>conftest.$ac_ext
35749 cat >>conftest.$ac_ext <<_ACEOF
35750 /* end confdefs.h. */
35751
35752 #include <stdio.h>
35753 #include <stdarg.h>
35754 #ifdef __MSL__
35755 #if __MSL__ >= 0x6000
35756 namespace std {}
35757 using namespace std;
35758 #endif
35759 #endif
35760
35761 int
35762 main ()
35763 {
35764
35765 char *buf;
35766 va_list args;
35767 vsscanf(buf, "%s", args);
35768
35769 ;
35770 return 0;
35771 }
35772 _ACEOF
35773 rm -f conftest.$ac_objext
35774 if { (ac_try="$ac_compile"
35775 case "(($ac_try" in
35776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35777 *) ac_try_echo=$ac_try;;
35778 esac
35779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35780 (eval "$ac_compile") 2>conftest.er1
35781 ac_status=$?
35782 grep -v '^ *+' conftest.er1 >conftest.err
35783 rm -f conftest.er1
35784 cat conftest.err >&5
35785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35786 (exit $ac_status); } && {
35787 test -z "$ac_cxx_werror_flag" ||
35788 test ! -s conftest.err
35789 } && test -s conftest.$ac_objext; then
35790 wx_cv_func_vsscanf_decl=yes
35791 else
35792 echo "$as_me: failed program was:" >&5
35793 sed 's/^/| /' conftest.$ac_ext >&5
35794
35795 wx_cv_func_vsscanf_decl=no
35796
35797 fi
35798
35799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35800
35801
35802 fi
35803 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35804 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35805
35806 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35807 cat >>confdefs.h <<\_ACEOF
35808 #define HAVE_VSSCANF_DECL 1
35809 _ACEOF
35810
35811 fi
35812 fi
35813 ac_ext=c
35814 ac_cpp='$CPP $CPPFLAGS'
35815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35818
35819
35820 if test "$wxUSE_UNICODE" = yes; then
35821
35822 wchar_headers="#include <stdio.h>
35823 #include <wchar.h>"
35824 case "${host}" in
35825 *-*-solaris2* )
35826
35827 for ac_header in widec.h
35828 do
35829 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35830 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35833 echo $ECHO_N "(cached) $ECHO_C" >&6
35834 else
35835 cat >conftest.$ac_ext <<_ACEOF
35836 /* confdefs.h. */
35837 _ACEOF
35838 cat confdefs.h >>conftest.$ac_ext
35839 cat >>conftest.$ac_ext <<_ACEOF
35840 /* end confdefs.h. */
35841 $ac_includes_default
35842
35843 #include <$ac_header>
35844 _ACEOF
35845 rm -f conftest.$ac_objext
35846 if { (ac_try="$ac_compile"
35847 case "(($ac_try" in
35848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35849 *) ac_try_echo=$ac_try;;
35850 esac
35851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35852 (eval "$ac_compile") 2>conftest.er1
35853 ac_status=$?
35854 grep -v '^ *+' conftest.er1 >conftest.err
35855 rm -f conftest.er1
35856 cat conftest.err >&5
35857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35858 (exit $ac_status); } && {
35859 test -z "$ac_c_werror_flag" ||
35860 test ! -s conftest.err
35861 } && test -s conftest.$ac_objext; then
35862 eval "$as_ac_Header=yes"
35863 else
35864 echo "$as_me: failed program was:" >&5
35865 sed 's/^/| /' conftest.$ac_ext >&5
35866
35867 eval "$as_ac_Header=no"
35868 fi
35869
35870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35871 fi
35872 ac_res=`eval echo '${'$as_ac_Header'}'`
35873 { echo "$as_me:$LINENO: result: $ac_res" >&5
35874 echo "${ECHO_T}$ac_res" >&6; }
35875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35876 cat >>confdefs.h <<_ACEOF
35877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35878 _ACEOF
35879
35880 fi
35881
35882 done
35883
35884 if test "$ac_cv_header_widec_h" = "yes"; then
35885 wchar_headers="$wchar_headers
35886 #include <widec.h>"
35887 fi
35888 esac
35889
35890
35891 for wx_func in putws fputws wprintf vswprintf vswscanf
35892 do
35893 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35894 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35895 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35896 echo $ECHO_N "(cached) $ECHO_C" >&6
35897 else
35898
35899 cat >conftest.$ac_ext <<_ACEOF
35900
35901 /* confdefs.h. */
35902 _ACEOF
35903 cat confdefs.h >>conftest.$ac_ext
35904 cat >>conftest.$ac_ext <<_ACEOF
35905 /* end confdefs.h. */
35906
35907 $wchar_headers
35908 $ac_includes_default
35909
35910 int
35911 main ()
35912 {
35913
35914 #ifndef $wx_func
35915 &$wx_func;
35916 #endif
35917
35918
35919 ;
35920 return 0;
35921 }
35922
35923 _ACEOF
35924 rm -f conftest.$ac_objext conftest$ac_exeext
35925 if { (ac_try="$ac_link"
35926 case "(($ac_try" in
35927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35928 *) ac_try_echo=$ac_try;;
35929 esac
35930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35931 (eval "$ac_link") 2>conftest.er1
35932 ac_status=$?
35933 grep -v '^ *+' conftest.er1 >conftest.err
35934 rm -f conftest.er1
35935 cat conftest.err >&5
35936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937 (exit $ac_status); } && {
35938 test -z "$ac_c_werror_flag" ||
35939 test ! -s conftest.err
35940 } && test -s conftest$ac_exeext &&
35941 $as_test_x conftest$ac_exeext; then
35942 eval wx_cv_func_$wx_func=yes
35943 else
35944 echo "$as_me: failed program was:" >&5
35945 sed 's/^/| /' conftest.$ac_ext >&5
35946
35947 eval wx_cv_func_$wx_func=no
35948 fi
35949
35950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35951 conftest$ac_exeext conftest.$ac_ext
35952
35953 fi
35954 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35955 { echo "$as_me:$LINENO: result: $ac_res" >&5
35956 echo "${ECHO_T}$ac_res" >&6; }
35957
35958 if eval test \$wx_cv_func_$wx_func = yes
35959 then
35960 cat >>confdefs.h <<_ACEOF
35961 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35962 _ACEOF
35963
35964
35965 else
35966 :
35967
35968 fi
35969 done
35970
35971
35972 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35973 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35974 cat >conftest.$ac_ext <<_ACEOF
35975 /* confdefs.h. */
35976 _ACEOF
35977 cat confdefs.h >>conftest.$ac_ext
35978 cat >>conftest.$ac_ext <<_ACEOF
35979 /* end confdefs.h. */
35980 #include <wchar.h>
35981 int
35982 main ()
35983 {
35984 &_vsnwprintf;
35985 ;
35986 return 0;
35987 }
35988 _ACEOF
35989 rm -f conftest.$ac_objext
35990 if { (ac_try="$ac_compile"
35991 case "(($ac_try" in
35992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35993 *) ac_try_echo=$ac_try;;
35994 esac
35995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35996 (eval "$ac_compile") 2>conftest.er1
35997 ac_status=$?
35998 grep -v '^ *+' conftest.er1 >conftest.err
35999 rm -f conftest.er1
36000 cat conftest.err >&5
36001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36002 (exit $ac_status); } && {
36003 test -z "$ac_c_werror_flag" ||
36004 test ! -s conftest.err
36005 } && test -s conftest.$ac_objext; then
36006 { echo "$as_me:$LINENO: result: yes" >&5
36007 echo "${ECHO_T}yes" >&6; }
36008 cat >>confdefs.h <<\_ACEOF
36009 #define HAVE__VSNWPRINTF 1
36010 _ACEOF
36011
36012 else
36013 echo "$as_me: failed program was:" >&5
36014 sed 's/^/| /' conftest.$ac_ext >&5
36015
36016 { echo "$as_me:$LINENO: result: no" >&5
36017 echo "${ECHO_T}no" >&6; }
36018 fi
36019
36020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36021 fi
36022
36023 if test "$wxUSE_FILE" = "yes"; then
36024
36025 for wx_func in fsync
36026 do
36027 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36028 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36029 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36030 echo $ECHO_N "(cached) $ECHO_C" >&6
36031 else
36032
36033 cat >conftest.$ac_ext <<_ACEOF
36034
36035 /* confdefs.h. */
36036 _ACEOF
36037 cat confdefs.h >>conftest.$ac_ext
36038 cat >>conftest.$ac_ext <<_ACEOF
36039 /* end confdefs.h. */
36040
36041
36042 $ac_includes_default
36043
36044 int
36045 main ()
36046 {
36047
36048 #ifndef $wx_func
36049 &$wx_func;
36050 #endif
36051
36052
36053 ;
36054 return 0;
36055 }
36056
36057 _ACEOF
36058 rm -f conftest.$ac_objext conftest$ac_exeext
36059 if { (ac_try="$ac_link"
36060 case "(($ac_try" in
36061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36062 *) ac_try_echo=$ac_try;;
36063 esac
36064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36065 (eval "$ac_link") 2>conftest.er1
36066 ac_status=$?
36067 grep -v '^ *+' conftest.er1 >conftest.err
36068 rm -f conftest.er1
36069 cat conftest.err >&5
36070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36071 (exit $ac_status); } && {
36072 test -z "$ac_c_werror_flag" ||
36073 test ! -s conftest.err
36074 } && test -s conftest$ac_exeext &&
36075 $as_test_x conftest$ac_exeext; then
36076 eval wx_cv_func_$wx_func=yes
36077 else
36078 echo "$as_me: failed program was:" >&5
36079 sed 's/^/| /' conftest.$ac_ext >&5
36080
36081 eval wx_cv_func_$wx_func=no
36082 fi
36083
36084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36085 conftest$ac_exeext conftest.$ac_ext
36086
36087 fi
36088 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36089 { echo "$as_me:$LINENO: result: $ac_res" >&5
36090 echo "${ECHO_T}$ac_res" >&6; }
36091
36092 if eval test \$wx_cv_func_$wx_func = yes
36093 then
36094 cat >>confdefs.h <<_ACEOF
36095 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36096 _ACEOF
36097
36098
36099 else
36100 :
36101
36102 fi
36103 done
36104
36105 fi
36106
36107 ac_ext=cpp
36108 ac_cpp='$CXXCPP $CPPFLAGS'
36109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36112
36113
36114 for wx_func in round
36115 do
36116 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36117 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36118 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36119 echo $ECHO_N "(cached) $ECHO_C" >&6
36120 else
36121
36122 cat >conftest.$ac_ext <<_ACEOF
36123
36124 /* confdefs.h. */
36125 _ACEOF
36126 cat confdefs.h >>conftest.$ac_ext
36127 cat >>conftest.$ac_ext <<_ACEOF
36128 /* end confdefs.h. */
36129
36130 #include <math.h>
36131 $ac_includes_default
36132
36133 int
36134 main ()
36135 {
36136
36137 #ifndef $wx_func
36138 &$wx_func;
36139 #endif
36140
36141
36142 ;
36143 return 0;
36144 }
36145
36146 _ACEOF
36147 rm -f conftest.$ac_objext conftest$ac_exeext
36148 if { (ac_try="$ac_link"
36149 case "(($ac_try" in
36150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36151 *) ac_try_echo=$ac_try;;
36152 esac
36153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36154 (eval "$ac_link") 2>conftest.er1
36155 ac_status=$?
36156 grep -v '^ *+' conftest.er1 >conftest.err
36157 rm -f conftest.er1
36158 cat conftest.err >&5
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); } && {
36161 test -z "$ac_cxx_werror_flag" ||
36162 test ! -s conftest.err
36163 } && test -s conftest$ac_exeext &&
36164 $as_test_x conftest$ac_exeext; then
36165 eval wx_cv_func_$wx_func=yes
36166 else
36167 echo "$as_me: failed program was:" >&5
36168 sed 's/^/| /' conftest.$ac_ext >&5
36169
36170 eval wx_cv_func_$wx_func=no
36171 fi
36172
36173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36174 conftest$ac_exeext conftest.$ac_ext
36175
36176 fi
36177 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36178 { echo "$as_me:$LINENO: result: $ac_res" >&5
36179 echo "${ECHO_T}$ac_res" >&6; }
36180
36181 if eval test \$wx_cv_func_$wx_func = yes
36182 then
36183 cat >>confdefs.h <<_ACEOF
36184 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36185 _ACEOF
36186
36187
36188 else
36189 :
36190
36191 fi
36192 done
36193
36194 ac_ext=c
36195 ac_cpp='$CPP $CPPFLAGS'
36196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36199
36200
36201 if test "$TOOLKIT" != "MSW"; then
36202
36203 if test "$wxUSE_LIBICONV" != "no" ; then
36204
36205
36206
36207 # Check whether --with-libiconv-prefix was given.
36208 if test "${with_libiconv_prefix+set}" = set; then
36209 withval=$with_libiconv_prefix;
36210 for dir in `echo "$withval" | tr : ' '`; do
36211 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36212 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36213 done
36214
36215 fi
36216
36217
36218 { echo "$as_me:$LINENO: checking for iconv" >&5
36219 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36220 if test "${am_cv_func_iconv+set}" = set; then
36221 echo $ECHO_N "(cached) $ECHO_C" >&6
36222 else
36223
36224 am_cv_func_iconv="no, consider installing GNU libiconv"
36225 am_cv_lib_iconv=no
36226 cat >conftest.$ac_ext <<_ACEOF
36227 /* confdefs.h. */
36228 _ACEOF
36229 cat confdefs.h >>conftest.$ac_ext
36230 cat >>conftest.$ac_ext <<_ACEOF
36231 /* end confdefs.h. */
36232 #include <stdlib.h>
36233 #include <iconv.h>
36234 int
36235 main ()
36236 {
36237 iconv_t cd = iconv_open("","");
36238 iconv(cd,NULL,NULL,NULL,NULL);
36239 iconv_close(cd);
36240 ;
36241 return 0;
36242 }
36243 _ACEOF
36244 rm -f conftest.$ac_objext conftest$ac_exeext
36245 if { (ac_try="$ac_link"
36246 case "(($ac_try" in
36247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36248 *) ac_try_echo=$ac_try;;
36249 esac
36250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36251 (eval "$ac_link") 2>conftest.er1
36252 ac_status=$?
36253 grep -v '^ *+' conftest.er1 >conftest.err
36254 rm -f conftest.er1
36255 cat conftest.err >&5
36256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36257 (exit $ac_status); } && {
36258 test -z "$ac_c_werror_flag" ||
36259 test ! -s conftest.err
36260 } && test -s conftest$ac_exeext &&
36261 $as_test_x conftest$ac_exeext; then
36262 am_cv_func_iconv=yes
36263 else
36264 echo "$as_me: failed program was:" >&5
36265 sed 's/^/| /' conftest.$ac_ext >&5
36266
36267
36268 fi
36269
36270 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36271 conftest$ac_exeext conftest.$ac_ext
36272 if test "$am_cv_func_iconv" != yes; then
36273 am_save_LIBS="$LIBS"
36274 LIBS="$LIBS -liconv"
36275 cat >conftest.$ac_ext <<_ACEOF
36276 /* confdefs.h. */
36277 _ACEOF
36278 cat confdefs.h >>conftest.$ac_ext
36279 cat >>conftest.$ac_ext <<_ACEOF
36280 /* end confdefs.h. */
36281 #include <stdlib.h>
36282 #include <iconv.h>
36283 int
36284 main ()
36285 {
36286 iconv_t cd = iconv_open("","");
36287 iconv(cd,NULL,NULL,NULL,NULL);
36288 iconv_close(cd);
36289 ;
36290 return 0;
36291 }
36292 _ACEOF
36293 rm -f conftest.$ac_objext conftest$ac_exeext
36294 if { (ac_try="$ac_link"
36295 case "(($ac_try" in
36296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36297 *) ac_try_echo=$ac_try;;
36298 esac
36299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36300 (eval "$ac_link") 2>conftest.er1
36301 ac_status=$?
36302 grep -v '^ *+' conftest.er1 >conftest.err
36303 rm -f conftest.er1
36304 cat conftest.err >&5
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); } && {
36307 test -z "$ac_c_werror_flag" ||
36308 test ! -s conftest.err
36309 } && test -s conftest$ac_exeext &&
36310 $as_test_x conftest$ac_exeext; then
36311 am_cv_lib_iconv=yes
36312 am_cv_func_iconv=yes
36313 else
36314 echo "$as_me: failed program was:" >&5
36315 sed 's/^/| /' conftest.$ac_ext >&5
36316
36317
36318 fi
36319
36320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36321 conftest$ac_exeext conftest.$ac_ext
36322 LIBS="$am_save_LIBS"
36323 fi
36324
36325 fi
36326 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36327 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36328 if test "$am_cv_func_iconv" = yes; then
36329
36330 cat >>confdefs.h <<\_ACEOF
36331 #define HAVE_ICONV 1
36332 _ACEOF
36333
36334 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36335 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36336 if test "${wx_cv_func_iconv_const+set}" = set; then
36337 echo $ECHO_N "(cached) $ECHO_C" >&6
36338 else
36339 cat >conftest.$ac_ext <<_ACEOF
36340 /* confdefs.h. */
36341 _ACEOF
36342 cat confdefs.h >>conftest.$ac_ext
36343 cat >>conftest.$ac_ext <<_ACEOF
36344 /* end confdefs.h. */
36345
36346 #include <stdlib.h>
36347 #include <iconv.h>
36348 extern
36349 #ifdef __cplusplus
36350 "C"
36351 #endif
36352 #if defined(__STDC__) || defined(__cplusplus)
36353 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36354 #else
36355 size_t iconv();
36356 #endif
36357
36358 int
36359 main ()
36360 {
36361
36362 ;
36363 return 0;
36364 }
36365 _ACEOF
36366 rm -f conftest.$ac_objext
36367 if { (ac_try="$ac_compile"
36368 case "(($ac_try" in
36369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36370 *) ac_try_echo=$ac_try;;
36371 esac
36372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36373 (eval "$ac_compile") 2>conftest.er1
36374 ac_status=$?
36375 grep -v '^ *+' conftest.er1 >conftest.err
36376 rm -f conftest.er1
36377 cat conftest.err >&5
36378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36379 (exit $ac_status); } && {
36380 test -z "$ac_c_werror_flag" ||
36381 test ! -s conftest.err
36382 } && test -s conftest.$ac_objext; then
36383 wx_cv_func_iconv_const="no"
36384 else
36385 echo "$as_me: failed program was:" >&5
36386 sed 's/^/| /' conftest.$ac_ext >&5
36387
36388 wx_cv_func_iconv_const="yes"
36389
36390 fi
36391
36392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36393
36394 fi
36395 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36396 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36397
36398 iconv_const=
36399 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36400 iconv_const="const"
36401 fi
36402
36403
36404 cat >>confdefs.h <<_ACEOF
36405 #define ICONV_CONST $iconv_const
36406 _ACEOF
36407
36408 fi
36409 LIBICONV=
36410 if test "$am_cv_lib_iconv" = yes; then
36411 LIBICONV="-liconv"
36412 fi
36413
36414
36415 LIBS="$LIBICONV $LIBS"
36416 fi
36417
36418 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36419
36420 for ac_func in sigaction
36421 do
36422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36423 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36425 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36426 echo $ECHO_N "(cached) $ECHO_C" >&6
36427 else
36428 cat >conftest.$ac_ext <<_ACEOF
36429 /* confdefs.h. */
36430 _ACEOF
36431 cat confdefs.h >>conftest.$ac_ext
36432 cat >>conftest.$ac_ext <<_ACEOF
36433 /* end confdefs.h. */
36434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36436 #define $ac_func innocuous_$ac_func
36437
36438 /* System header to define __stub macros and hopefully few prototypes,
36439 which can conflict with char $ac_func (); below.
36440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36441 <limits.h> exists even on freestanding compilers. */
36442
36443 #ifdef __STDC__
36444 # include <limits.h>
36445 #else
36446 # include <assert.h>
36447 #endif
36448
36449 #undef $ac_func
36450
36451 /* Override any GCC internal prototype to avoid an error.
36452 Use char because int might match the return type of a GCC
36453 builtin and then its argument prototype would still apply. */
36454 #ifdef __cplusplus
36455 extern "C"
36456 #endif
36457 char $ac_func ();
36458 /* The GNU C library defines this for functions which it implements
36459 to always fail with ENOSYS. Some functions are actually named
36460 something starting with __ and the normal name is an alias. */
36461 #if defined __stub_$ac_func || defined __stub___$ac_func
36462 choke me
36463 #endif
36464
36465 int
36466 main ()
36467 {
36468 return $ac_func ();
36469 ;
36470 return 0;
36471 }
36472 _ACEOF
36473 rm -f conftest.$ac_objext conftest$ac_exeext
36474 if { (ac_try="$ac_link"
36475 case "(($ac_try" in
36476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36477 *) ac_try_echo=$ac_try;;
36478 esac
36479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36480 (eval "$ac_link") 2>conftest.er1
36481 ac_status=$?
36482 grep -v '^ *+' conftest.er1 >conftest.err
36483 rm -f conftest.er1
36484 cat conftest.err >&5
36485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36486 (exit $ac_status); } && {
36487 test -z "$ac_c_werror_flag" ||
36488 test ! -s conftest.err
36489 } && test -s conftest$ac_exeext &&
36490 $as_test_x conftest$ac_exeext; then
36491 eval "$as_ac_var=yes"
36492 else
36493 echo "$as_me: failed program was:" >&5
36494 sed 's/^/| /' conftest.$ac_ext >&5
36495
36496 eval "$as_ac_var=no"
36497 fi
36498
36499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36500 conftest$ac_exeext conftest.$ac_ext
36501 fi
36502 ac_res=`eval echo '${'$as_ac_var'}'`
36503 { echo "$as_me:$LINENO: result: $ac_res" >&5
36504 echo "${ECHO_T}$ac_res" >&6; }
36505 if test `eval echo '${'$as_ac_var'}'` = yes; then
36506 cat >>confdefs.h <<_ACEOF
36507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36508 _ACEOF
36509
36510 fi
36511 done
36512
36513
36514 if test "$ac_cv_func_sigaction" = "no"; then
36515 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36516 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36517 wxUSE_ON_FATAL_EXCEPTION=no
36518 fi
36519
36520 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36521 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36522 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36523 if test "${wx_cv_type_sa_handler+set}" = set; then
36524 echo $ECHO_N "(cached) $ECHO_C" >&6
36525 else
36526
36527 ac_ext=cpp
36528 ac_cpp='$CXXCPP $CPPFLAGS'
36529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36532
36533 cat >conftest.$ac_ext <<_ACEOF
36534 /* confdefs.h. */
36535 _ACEOF
36536 cat confdefs.h >>conftest.$ac_ext
36537 cat >>conftest.$ac_ext <<_ACEOF
36538 /* end confdefs.h. */
36539 #include <signal.h>
36540 int
36541 main ()
36542 {
36543
36544 extern void testSigHandler(int);
36545
36546 struct sigaction sa;
36547 sa.sa_handler = testSigHandler;
36548
36549 ;
36550 return 0;
36551 }
36552 _ACEOF
36553 rm -f conftest.$ac_objext
36554 if { (ac_try="$ac_compile"
36555 case "(($ac_try" in
36556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36557 *) ac_try_echo=$ac_try;;
36558 esac
36559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36560 (eval "$ac_compile") 2>conftest.er1
36561 ac_status=$?
36562 grep -v '^ *+' conftest.er1 >conftest.err
36563 rm -f conftest.er1
36564 cat conftest.err >&5
36565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36566 (exit $ac_status); } && {
36567 test -z "$ac_cxx_werror_flag" ||
36568 test ! -s conftest.err
36569 } && test -s conftest.$ac_objext; then
36570
36571 wx_cv_type_sa_handler=int
36572
36573 else
36574 echo "$as_me: failed program was:" >&5
36575 sed 's/^/| /' conftest.$ac_ext >&5
36576
36577
36578 wx_cv_type_sa_handler=void
36579
36580 fi
36581
36582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36583 ac_ext=c
36584 ac_cpp='$CPP $CPPFLAGS'
36585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36588
36589
36590 fi
36591 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36592 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36593
36594 cat >>confdefs.h <<_ACEOF
36595 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36596 _ACEOF
36597
36598 fi
36599 fi
36600
36601 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36602 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36603 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36604 if test "${wx_cv_func_backtrace+set}" = set; then
36605 echo $ECHO_N "(cached) $ECHO_C" >&6
36606 else
36607
36608 ac_ext=cpp
36609 ac_cpp='$CXXCPP $CPPFLAGS'
36610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36613
36614 cat >conftest.$ac_ext <<_ACEOF
36615 /* confdefs.h. */
36616 _ACEOF
36617 cat confdefs.h >>conftest.$ac_ext
36618 cat >>conftest.$ac_ext <<_ACEOF
36619 /* end confdefs.h. */
36620 #include <execinfo.h>
36621 int
36622 main ()
36623 {
36624
36625 void *trace[1];
36626 char **messages;
36627
36628 backtrace(trace, 1);
36629 messages = backtrace_symbols(trace, 1);
36630
36631 ;
36632 return 0;
36633 }
36634 _ACEOF
36635 rm -f conftest.$ac_objext
36636 if { (ac_try="$ac_compile"
36637 case "(($ac_try" in
36638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36639 *) ac_try_echo=$ac_try;;
36640 esac
36641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36642 (eval "$ac_compile") 2>conftest.er1
36643 ac_status=$?
36644 grep -v '^ *+' conftest.er1 >conftest.err
36645 rm -f conftest.er1
36646 cat conftest.err >&5
36647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36648 (exit $ac_status); } && {
36649 test -z "$ac_cxx_werror_flag" ||
36650 test ! -s conftest.err
36651 } && test -s conftest.$ac_objext; then
36652 wx_cv_func_backtrace=yes
36653 else
36654 echo "$as_me: failed program was:" >&5
36655 sed 's/^/| /' conftest.$ac_ext >&5
36656
36657 wx_cv_func_backtrace=no
36658
36659 fi
36660
36661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36662 ac_ext=c
36663 ac_cpp='$CPP $CPPFLAGS'
36664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36667
36668
36669
36670 fi
36671 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36672 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36673
36674
36675 if test "$wx_cv_func_backtrace" = "no"; then
36676 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36677 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36678 wxUSE_STACKWALKER=no
36679 else
36680 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36681 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36682 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36683 echo $ECHO_N "(cached) $ECHO_C" >&6
36684 else
36685
36686 ac_ext=cpp
36687 ac_cpp='$CXXCPP $CPPFLAGS'
36688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36691
36692 cat >conftest.$ac_ext <<_ACEOF
36693 /* confdefs.h. */
36694 _ACEOF
36695 cat confdefs.h >>conftest.$ac_ext
36696 cat >>conftest.$ac_ext <<_ACEOF
36697 /* end confdefs.h. */
36698 #include <cxxabi.h>
36699 int
36700 main ()
36701 {
36702
36703 int rc;
36704 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36705
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_cxx_werror_flag" ||
36725 test ! -s conftest.err
36726 } && test -s conftest$ac_exeext &&
36727 $as_test_x conftest$ac_exeext; then
36728 wx_cv_func_cxa_demangle=yes
36729 else
36730 echo "$as_me: failed program was:" >&5
36731 sed 's/^/| /' conftest.$ac_ext >&5
36732
36733 wx_cv_func_cxa_demangle=no
36734
36735 fi
36736
36737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36738 conftest$ac_exeext conftest.$ac_ext
36739 ac_ext=c
36740 ac_cpp='$CPP $CPPFLAGS'
36741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36744
36745
36746
36747 fi
36748 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36749 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36750
36751 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36752 cat >>confdefs.h <<\_ACEOF
36753 #define HAVE_CXA_DEMANGLE 1
36754 _ACEOF
36755
36756 fi
36757 fi
36758 fi
36759
36760 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36761 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36762 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36763 wxUSE_STACKWALKER=no
36764 fi
36765
36766
36767
36768
36769 for ac_func in mkstemp mktemp
36770 do
36771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36772 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36774 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36775 echo $ECHO_N "(cached) $ECHO_C" >&6
36776 else
36777 cat >conftest.$ac_ext <<_ACEOF
36778 /* confdefs.h. */
36779 _ACEOF
36780 cat confdefs.h >>conftest.$ac_ext
36781 cat >>conftest.$ac_ext <<_ACEOF
36782 /* end confdefs.h. */
36783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36785 #define $ac_func innocuous_$ac_func
36786
36787 /* System header to define __stub macros and hopefully few prototypes,
36788 which can conflict with char $ac_func (); below.
36789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36790 <limits.h> exists even on freestanding compilers. */
36791
36792 #ifdef __STDC__
36793 # include <limits.h>
36794 #else
36795 # include <assert.h>
36796 #endif
36797
36798 #undef $ac_func
36799
36800 /* Override any GCC internal prototype to avoid an error.
36801 Use char because int might match the return type of a GCC
36802 builtin and then its argument prototype would still apply. */
36803 #ifdef __cplusplus
36804 extern "C"
36805 #endif
36806 char $ac_func ();
36807 /* The GNU C library defines this for functions which it implements
36808 to always fail with ENOSYS. Some functions are actually named
36809 something starting with __ and the normal name is an alias. */
36810 #if defined __stub_$ac_func || defined __stub___$ac_func
36811 choke me
36812 #endif
36813
36814 int
36815 main ()
36816 {
36817 return $ac_func ();
36818 ;
36819 return 0;
36820 }
36821 _ACEOF
36822 rm -f conftest.$ac_objext conftest$ac_exeext
36823 if { (ac_try="$ac_link"
36824 case "(($ac_try" in
36825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36826 *) ac_try_echo=$ac_try;;
36827 esac
36828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36829 (eval "$ac_link") 2>conftest.er1
36830 ac_status=$?
36831 grep -v '^ *+' conftest.er1 >conftest.err
36832 rm -f conftest.er1
36833 cat conftest.err >&5
36834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36835 (exit $ac_status); } && {
36836 test -z "$ac_c_werror_flag" ||
36837 test ! -s conftest.err
36838 } && test -s conftest$ac_exeext &&
36839 $as_test_x conftest$ac_exeext; then
36840 eval "$as_ac_var=yes"
36841 else
36842 echo "$as_me: failed program was:" >&5
36843 sed 's/^/| /' conftest.$ac_ext >&5
36844
36845 eval "$as_ac_var=no"
36846 fi
36847
36848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36849 conftest$ac_exeext conftest.$ac_ext
36850 fi
36851 ac_res=`eval echo '${'$as_ac_var'}'`
36852 { echo "$as_me:$LINENO: result: $ac_res" >&5
36853 echo "${ECHO_T}$ac_res" >&6; }
36854 if test `eval echo '${'$as_ac_var'}'` = yes; then
36855 cat >>confdefs.h <<_ACEOF
36856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36857 _ACEOF
36858 break
36859 fi
36860 done
36861
36862
36863 { echo "$as_me:$LINENO: checking for statfs" >&5
36864 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36865 if test "${wx_cv_func_statfs+set}" = set; then
36866 echo $ECHO_N "(cached) $ECHO_C" >&6
36867 else
36868 cat >conftest.$ac_ext <<_ACEOF
36869 /* confdefs.h. */
36870 _ACEOF
36871 cat confdefs.h >>conftest.$ac_ext
36872 cat >>conftest.$ac_ext <<_ACEOF
36873 /* end confdefs.h. */
36874
36875 #if defined(__BSD__)
36876 #include <sys/param.h>
36877 #include <sys/mount.h>
36878 #else
36879 #include <sys/vfs.h>
36880 #endif
36881
36882 int
36883 main ()
36884 {
36885
36886 long l;
36887 struct statfs fs;
36888 statfs("/", &fs);
36889 l = fs.f_bsize;
36890 l += fs.f_blocks;
36891 l += fs.f_bavail;
36892
36893 ;
36894 return 0;
36895 }
36896 _ACEOF
36897 rm -f conftest.$ac_objext
36898 if { (ac_try="$ac_compile"
36899 case "(($ac_try" in
36900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36901 *) ac_try_echo=$ac_try;;
36902 esac
36903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36904 (eval "$ac_compile") 2>conftest.er1
36905 ac_status=$?
36906 grep -v '^ *+' conftest.er1 >conftest.err
36907 rm -f conftest.er1
36908 cat conftest.err >&5
36909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36910 (exit $ac_status); } && {
36911 test -z "$ac_c_werror_flag" ||
36912 test ! -s conftest.err
36913 } && test -s conftest.$ac_objext; then
36914 wx_cv_func_statfs=yes
36915 else
36916 echo "$as_me: failed program was:" >&5
36917 sed 's/^/| /' conftest.$ac_ext >&5
36918
36919 wx_cv_func_statfs=no
36920
36921 fi
36922
36923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36924
36925 fi
36926 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36927 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36928
36929 if test "$wx_cv_func_statfs" = "yes"; then
36930 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36931 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36932 if test "${wx_cv_func_statfs_decl+set}" = set; then
36933 echo $ECHO_N "(cached) $ECHO_C" >&6
36934 else
36935 ac_ext=cpp
36936 ac_cpp='$CXXCPP $CPPFLAGS'
36937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36940
36941 cat >conftest.$ac_ext <<_ACEOF
36942 /* confdefs.h. */
36943 _ACEOF
36944 cat confdefs.h >>conftest.$ac_ext
36945 cat >>conftest.$ac_ext <<_ACEOF
36946 /* end confdefs.h. */
36947
36948 #if defined(__BSD__)
36949 #include <sys/param.h>
36950 #include <sys/mount.h>
36951 #else
36952 #include <sys/vfs.h>
36953 #endif
36954
36955 int
36956 main ()
36957 {
36958
36959 struct statfs fs;
36960 statfs("", &fs);
36961
36962 ;
36963 return 0;
36964 }
36965 _ACEOF
36966 rm -f conftest.$ac_objext
36967 if { (ac_try="$ac_compile"
36968 case "(($ac_try" in
36969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36970 *) ac_try_echo=$ac_try;;
36971 esac
36972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36973 (eval "$ac_compile") 2>conftest.er1
36974 ac_status=$?
36975 grep -v '^ *+' conftest.er1 >conftest.err
36976 rm -f conftest.er1
36977 cat conftest.err >&5
36978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36979 (exit $ac_status); } && {
36980 test -z "$ac_cxx_werror_flag" ||
36981 test ! -s conftest.err
36982 } && test -s conftest.$ac_objext; then
36983 wx_cv_func_statfs_decl=yes
36984 else
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36987
36988 wx_cv_func_statfs_decl=no
36989
36990 fi
36991
36992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36993 ac_ext=c
36994 ac_cpp='$CPP $CPPFLAGS'
36995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36998
36999
37000 fi
37001 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37002 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37003
37004 if test "$wx_cv_func_statfs_decl" = "yes"; then
37005 cat >>confdefs.h <<\_ACEOF
37006 #define HAVE_STATFS_DECL 1
37007 _ACEOF
37008
37009 fi
37010
37011 wx_cv_type_statvfs_t="struct statfs"
37012 cat >>confdefs.h <<\_ACEOF
37013 #define HAVE_STATFS 1
37014 _ACEOF
37015
37016 else
37017 { echo "$as_me:$LINENO: checking for statvfs" >&5
37018 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37019 if test "${wx_cv_func_statvfs+set}" = set; then
37020 echo $ECHO_N "(cached) $ECHO_C" >&6
37021 else
37022 cat >conftest.$ac_ext <<_ACEOF
37023 /* confdefs.h. */
37024 _ACEOF
37025 cat confdefs.h >>conftest.$ac_ext
37026 cat >>conftest.$ac_ext <<_ACEOF
37027 /* end confdefs.h. */
37028
37029 #include <stddef.h>
37030 #include <sys/statvfs.h>
37031
37032 int
37033 main ()
37034 {
37035
37036 statvfs("/", NULL);
37037
37038 ;
37039 return 0;
37040 }
37041 _ACEOF
37042 rm -f conftest.$ac_objext
37043 if { (ac_try="$ac_compile"
37044 case "(($ac_try" in
37045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37046 *) ac_try_echo=$ac_try;;
37047 esac
37048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37049 (eval "$ac_compile") 2>conftest.er1
37050 ac_status=$?
37051 grep -v '^ *+' conftest.er1 >conftest.err
37052 rm -f conftest.er1
37053 cat conftest.err >&5
37054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055 (exit $ac_status); } && {
37056 test -z "$ac_c_werror_flag" ||
37057 test ! -s conftest.err
37058 } && test -s conftest.$ac_objext; then
37059 wx_cv_func_statvfs=yes
37060 else
37061 echo "$as_me: failed program was:" >&5
37062 sed 's/^/| /' conftest.$ac_ext >&5
37063
37064 wx_cv_func_statvfs=no
37065
37066 fi
37067
37068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37069
37070 fi
37071 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37072 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37073
37074 if test "$wx_cv_func_statvfs" = "yes"; then
37075 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37076 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37077 if test "${wx_cv_type_statvfs_t+set}" = set; then
37078 echo $ECHO_N "(cached) $ECHO_C" >&6
37079 else
37080 ac_ext=cpp
37081 ac_cpp='$CXXCPP $CPPFLAGS'
37082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37085
37086 cat >conftest.$ac_ext <<_ACEOF
37087 /* confdefs.h. */
37088 _ACEOF
37089 cat confdefs.h >>conftest.$ac_ext
37090 cat >>conftest.$ac_ext <<_ACEOF
37091 /* end confdefs.h. */
37092
37093 #include <sys/statvfs.h>
37094
37095 int
37096 main ()
37097 {
37098
37099 long l;
37100 statvfs_t fs;
37101 statvfs("/", &fs);
37102 l = fs.f_bsize;
37103 l += fs.f_blocks;
37104 l += fs.f_bavail;
37105
37106 ;
37107 return 0;
37108 }
37109 _ACEOF
37110 rm -f conftest.$ac_objext
37111 if { (ac_try="$ac_compile"
37112 case "(($ac_try" in
37113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37114 *) ac_try_echo=$ac_try;;
37115 esac
37116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37117 (eval "$ac_compile") 2>conftest.er1
37118 ac_status=$?
37119 grep -v '^ *+' conftest.er1 >conftest.err
37120 rm -f conftest.er1
37121 cat conftest.err >&5
37122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37123 (exit $ac_status); } && {
37124 test -z "$ac_cxx_werror_flag" ||
37125 test ! -s conftest.err
37126 } && test -s conftest.$ac_objext; then
37127 wx_cv_type_statvfs_t=statvfs_t
37128 else
37129 echo "$as_me: failed program was:" >&5
37130 sed 's/^/| /' conftest.$ac_ext >&5
37131
37132
37133 cat >conftest.$ac_ext <<_ACEOF
37134 /* confdefs.h. */
37135 _ACEOF
37136 cat confdefs.h >>conftest.$ac_ext
37137 cat >>conftest.$ac_ext <<_ACEOF
37138 /* end confdefs.h. */
37139
37140 #include <sys/statvfs.h>
37141
37142 int
37143 main ()
37144 {
37145
37146 long l;
37147 struct statvfs fs;
37148 statvfs("/", &fs);
37149 l = fs.f_bsize;
37150 l += fs.f_blocks;
37151 l += fs.f_bavail;
37152
37153 ;
37154 return 0;
37155 }
37156 _ACEOF
37157 rm -f conftest.$ac_objext
37158 if { (ac_try="$ac_compile"
37159 case "(($ac_try" in
37160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37161 *) ac_try_echo=$ac_try;;
37162 esac
37163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37164 (eval "$ac_compile") 2>conftest.er1
37165 ac_status=$?
37166 grep -v '^ *+' conftest.er1 >conftest.err
37167 rm -f conftest.er1
37168 cat conftest.err >&5
37169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37170 (exit $ac_status); } && {
37171 test -z "$ac_cxx_werror_flag" ||
37172 test ! -s conftest.err
37173 } && test -s conftest.$ac_objext; then
37174 wx_cv_type_statvfs_t="struct statvfs"
37175 else
37176 echo "$as_me: failed program was:" >&5
37177 sed 's/^/| /' conftest.$ac_ext >&5
37178
37179 wx_cv_type_statvfs_t="unknown"
37180
37181 fi
37182
37183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37184
37185
37186 fi
37187
37188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37189 ac_ext=c
37190 ac_cpp='$CPP $CPPFLAGS'
37191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37194
37195
37196 fi
37197 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37198 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37199
37200 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37201 cat >>confdefs.h <<\_ACEOF
37202 #define HAVE_STATVFS 1
37203 _ACEOF
37204
37205 fi
37206 else
37207 wx_cv_type_statvfs_t="unknown"
37208 fi
37209 fi
37210
37211 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37212 cat >>confdefs.h <<_ACEOF
37213 #define WX_STATFS_T $wx_cv_type_statvfs_t
37214 _ACEOF
37215
37216 else
37217 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37218 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37219 fi
37220
37221 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37222
37223
37224 for ac_func in fcntl flock
37225 do
37226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37229 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37230 echo $ECHO_N "(cached) $ECHO_C" >&6
37231 else
37232 cat >conftest.$ac_ext <<_ACEOF
37233 /* confdefs.h. */
37234 _ACEOF
37235 cat confdefs.h >>conftest.$ac_ext
37236 cat >>conftest.$ac_ext <<_ACEOF
37237 /* end confdefs.h. */
37238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37240 #define $ac_func innocuous_$ac_func
37241
37242 /* System header to define __stub macros and hopefully few prototypes,
37243 which can conflict with char $ac_func (); below.
37244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37245 <limits.h> exists even on freestanding compilers. */
37246
37247 #ifdef __STDC__
37248 # include <limits.h>
37249 #else
37250 # include <assert.h>
37251 #endif
37252
37253 #undef $ac_func
37254
37255 /* Override any GCC internal prototype to avoid an error.
37256 Use char because int might match the return type of a GCC
37257 builtin and then its argument prototype would still apply. */
37258 #ifdef __cplusplus
37259 extern "C"
37260 #endif
37261 char $ac_func ();
37262 /* The GNU C library defines this for functions which it implements
37263 to always fail with ENOSYS. Some functions are actually named
37264 something starting with __ and the normal name is an alias. */
37265 #if defined __stub_$ac_func || defined __stub___$ac_func
37266 choke me
37267 #endif
37268
37269 int
37270 main ()
37271 {
37272 return $ac_func ();
37273 ;
37274 return 0;
37275 }
37276 _ACEOF
37277 rm -f conftest.$ac_objext conftest$ac_exeext
37278 if { (ac_try="$ac_link"
37279 case "(($ac_try" in
37280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37281 *) ac_try_echo=$ac_try;;
37282 esac
37283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37284 (eval "$ac_link") 2>conftest.er1
37285 ac_status=$?
37286 grep -v '^ *+' conftest.er1 >conftest.err
37287 rm -f conftest.er1
37288 cat conftest.err >&5
37289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37290 (exit $ac_status); } && {
37291 test -z "$ac_c_werror_flag" ||
37292 test ! -s conftest.err
37293 } && test -s conftest$ac_exeext &&
37294 $as_test_x conftest$ac_exeext; then
37295 eval "$as_ac_var=yes"
37296 else
37297 echo "$as_me: failed program was:" >&5
37298 sed 's/^/| /' conftest.$ac_ext >&5
37299
37300 eval "$as_ac_var=no"
37301 fi
37302
37303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37304 conftest$ac_exeext conftest.$ac_ext
37305 fi
37306 ac_res=`eval echo '${'$as_ac_var'}'`
37307 { echo "$as_me:$LINENO: result: $ac_res" >&5
37308 echo "${ECHO_T}$ac_res" >&6; }
37309 if test `eval echo '${'$as_ac_var'}'` = yes; then
37310 cat >>confdefs.h <<_ACEOF
37311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37312 _ACEOF
37313 break
37314 fi
37315 done
37316
37317
37318 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37319 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37320 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37321 wxUSE_SNGLINST_CHECKER=no
37322 fi
37323 fi
37324
37325
37326
37327 for ac_func in setenv putenv
37328 do
37329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37330 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37332 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37333 echo $ECHO_N "(cached) $ECHO_C" >&6
37334 else
37335 cat >conftest.$ac_ext <<_ACEOF
37336 /* confdefs.h. */
37337 _ACEOF
37338 cat confdefs.h >>conftest.$ac_ext
37339 cat >>conftest.$ac_ext <<_ACEOF
37340 /* end confdefs.h. */
37341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37343 #define $ac_func innocuous_$ac_func
37344
37345 /* System header to define __stub macros and hopefully few prototypes,
37346 which can conflict with char $ac_func (); below.
37347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37348 <limits.h> exists even on freestanding compilers. */
37349
37350 #ifdef __STDC__
37351 # include <limits.h>
37352 #else
37353 # include <assert.h>
37354 #endif
37355
37356 #undef $ac_func
37357
37358 /* Override any GCC internal prototype to avoid an error.
37359 Use char because int might match the return type of a GCC
37360 builtin and then its argument prototype would still apply. */
37361 #ifdef __cplusplus
37362 extern "C"
37363 #endif
37364 char $ac_func ();
37365 /* The GNU C library defines this for functions which it implements
37366 to always fail with ENOSYS. Some functions are actually named
37367 something starting with __ and the normal name is an alias. */
37368 #if defined __stub_$ac_func || defined __stub___$ac_func
37369 choke me
37370 #endif
37371
37372 int
37373 main ()
37374 {
37375 return $ac_func ();
37376 ;
37377 return 0;
37378 }
37379 _ACEOF
37380 rm -f conftest.$ac_objext conftest$ac_exeext
37381 if { (ac_try="$ac_link"
37382 case "(($ac_try" in
37383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37384 *) ac_try_echo=$ac_try;;
37385 esac
37386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37387 (eval "$ac_link") 2>conftest.er1
37388 ac_status=$?
37389 grep -v '^ *+' conftest.er1 >conftest.err
37390 rm -f conftest.er1
37391 cat conftest.err >&5
37392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37393 (exit $ac_status); } && {
37394 test -z "$ac_c_werror_flag" ||
37395 test ! -s conftest.err
37396 } && test -s conftest$ac_exeext &&
37397 $as_test_x conftest$ac_exeext; then
37398 eval "$as_ac_var=yes"
37399 else
37400 echo "$as_me: failed program was:" >&5
37401 sed 's/^/| /' conftest.$ac_ext >&5
37402
37403 eval "$as_ac_var=no"
37404 fi
37405
37406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37407 conftest$ac_exeext conftest.$ac_ext
37408 fi
37409 ac_res=`eval echo '${'$as_ac_var'}'`
37410 { echo "$as_me:$LINENO: result: $ac_res" >&5
37411 echo "${ECHO_T}$ac_res" >&6; }
37412 if test `eval echo '${'$as_ac_var'}'` = yes; then
37413 cat >>confdefs.h <<_ACEOF
37414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37415 _ACEOF
37416 break
37417 fi
37418 done
37419
37420 if test "$ac_cv_func_setenv" = "yes"; then
37421
37422 for ac_func in unsetenv
37423 do
37424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37425 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37427 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37428 echo $ECHO_N "(cached) $ECHO_C" >&6
37429 else
37430 cat >conftest.$ac_ext <<_ACEOF
37431 /* confdefs.h. */
37432 _ACEOF
37433 cat confdefs.h >>conftest.$ac_ext
37434 cat >>conftest.$ac_ext <<_ACEOF
37435 /* end confdefs.h. */
37436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37438 #define $ac_func innocuous_$ac_func
37439
37440 /* System header to define __stub macros and hopefully few prototypes,
37441 which can conflict with char $ac_func (); below.
37442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37443 <limits.h> exists even on freestanding compilers. */
37444
37445 #ifdef __STDC__
37446 # include <limits.h>
37447 #else
37448 # include <assert.h>
37449 #endif
37450
37451 #undef $ac_func
37452
37453 /* Override any GCC internal prototype to avoid an error.
37454 Use char because int might match the return type of a GCC
37455 builtin and then its argument prototype would still apply. */
37456 #ifdef __cplusplus
37457 extern "C"
37458 #endif
37459 char $ac_func ();
37460 /* The GNU C library defines this for functions which it implements
37461 to always fail with ENOSYS. Some functions are actually named
37462 something starting with __ and the normal name is an alias. */
37463 #if defined __stub_$ac_func || defined __stub___$ac_func
37464 choke me
37465 #endif
37466
37467 int
37468 main ()
37469 {
37470 return $ac_func ();
37471 ;
37472 return 0;
37473 }
37474 _ACEOF
37475 rm -f conftest.$ac_objext conftest$ac_exeext
37476 if { (ac_try="$ac_link"
37477 case "(($ac_try" in
37478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37479 *) ac_try_echo=$ac_try;;
37480 esac
37481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37482 (eval "$ac_link") 2>conftest.er1
37483 ac_status=$?
37484 grep -v '^ *+' conftest.er1 >conftest.err
37485 rm -f conftest.er1
37486 cat conftest.err >&5
37487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37488 (exit $ac_status); } && {
37489 test -z "$ac_c_werror_flag" ||
37490 test ! -s conftest.err
37491 } && test -s conftest$ac_exeext &&
37492 $as_test_x conftest$ac_exeext; then
37493 eval "$as_ac_var=yes"
37494 else
37495 echo "$as_me: failed program was:" >&5
37496 sed 's/^/| /' conftest.$ac_ext >&5
37497
37498 eval "$as_ac_var=no"
37499 fi
37500
37501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37502 conftest$ac_exeext conftest.$ac_ext
37503 fi
37504 ac_res=`eval echo '${'$as_ac_var'}'`
37505 { echo "$as_me:$LINENO: result: $ac_res" >&5
37506 echo "${ECHO_T}$ac_res" >&6; }
37507 if test `eval echo '${'$as_ac_var'}'` = yes; then
37508 cat >>confdefs.h <<_ACEOF
37509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37510 _ACEOF
37511
37512 fi
37513 done
37514
37515 fi
37516
37517 HAVE_SOME_SLEEP_FUNC=0
37518 if test "$USE_BEOS" = 1; then
37519 cat >>confdefs.h <<\_ACEOF
37520 #define HAVE_SLEEP 1
37521 _ACEOF
37522
37523 HAVE_SOME_SLEEP_FUNC=1
37524 fi
37525
37526 if test "$USE_DARWIN" = 1; then
37527 cat >>confdefs.h <<\_ACEOF
37528 #define HAVE_USLEEP 1
37529 _ACEOF
37530
37531 HAVE_SOME_SLEEP_FUNC=1
37532 fi
37533
37534 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37535 POSIX4_LINK=
37536
37537 for ac_func in nanosleep
37538 do
37539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37542 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37543 echo $ECHO_N "(cached) $ECHO_C" >&6
37544 else
37545 cat >conftest.$ac_ext <<_ACEOF
37546 /* confdefs.h. */
37547 _ACEOF
37548 cat confdefs.h >>conftest.$ac_ext
37549 cat >>conftest.$ac_ext <<_ACEOF
37550 /* end confdefs.h. */
37551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37553 #define $ac_func innocuous_$ac_func
37554
37555 /* System header to define __stub macros and hopefully few prototypes,
37556 which can conflict with char $ac_func (); below.
37557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37558 <limits.h> exists even on freestanding compilers. */
37559
37560 #ifdef __STDC__
37561 # include <limits.h>
37562 #else
37563 # include <assert.h>
37564 #endif
37565
37566 #undef $ac_func
37567
37568 /* Override any GCC internal prototype to avoid an error.
37569 Use char because int might match the return type of a GCC
37570 builtin and then its argument prototype would still apply. */
37571 #ifdef __cplusplus
37572 extern "C"
37573 #endif
37574 char $ac_func ();
37575 /* The GNU C library defines this for functions which it implements
37576 to always fail with ENOSYS. Some functions are actually named
37577 something starting with __ and the normal name is an alias. */
37578 #if defined __stub_$ac_func || defined __stub___$ac_func
37579 choke me
37580 #endif
37581
37582 int
37583 main ()
37584 {
37585 return $ac_func ();
37586 ;
37587 return 0;
37588 }
37589 _ACEOF
37590 rm -f conftest.$ac_objext conftest$ac_exeext
37591 if { (ac_try="$ac_link"
37592 case "(($ac_try" in
37593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37594 *) ac_try_echo=$ac_try;;
37595 esac
37596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37597 (eval "$ac_link") 2>conftest.er1
37598 ac_status=$?
37599 grep -v '^ *+' conftest.er1 >conftest.err
37600 rm -f conftest.er1
37601 cat conftest.err >&5
37602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37603 (exit $ac_status); } && {
37604 test -z "$ac_c_werror_flag" ||
37605 test ! -s conftest.err
37606 } && test -s conftest$ac_exeext &&
37607 $as_test_x conftest$ac_exeext; then
37608 eval "$as_ac_var=yes"
37609 else
37610 echo "$as_me: failed program was:" >&5
37611 sed 's/^/| /' conftest.$ac_ext >&5
37612
37613 eval "$as_ac_var=no"
37614 fi
37615
37616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37617 conftest$ac_exeext conftest.$ac_ext
37618 fi
37619 ac_res=`eval echo '${'$as_ac_var'}'`
37620 { echo "$as_me:$LINENO: result: $ac_res" >&5
37621 echo "${ECHO_T}$ac_res" >&6; }
37622 if test `eval echo '${'$as_ac_var'}'` = yes; then
37623 cat >>confdefs.h <<_ACEOF
37624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37625 _ACEOF
37626 cat >>confdefs.h <<\_ACEOF
37627 #define HAVE_NANOSLEEP 1
37628 _ACEOF
37629
37630 else
37631
37632 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37633 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37634 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37635 echo $ECHO_N "(cached) $ECHO_C" >&6
37636 else
37637 ac_check_lib_save_LIBS=$LIBS
37638 LIBS="-lposix4 $LIBS"
37639 cat >conftest.$ac_ext <<_ACEOF
37640 /* confdefs.h. */
37641 _ACEOF
37642 cat confdefs.h >>conftest.$ac_ext
37643 cat >>conftest.$ac_ext <<_ACEOF
37644 /* end confdefs.h. */
37645
37646 /* Override any GCC internal prototype to avoid an error.
37647 Use char because int might match the return type of a GCC
37648 builtin and then its argument prototype would still apply. */
37649 #ifdef __cplusplus
37650 extern "C"
37651 #endif
37652 char nanosleep ();
37653 int
37654 main ()
37655 {
37656 return nanosleep ();
37657 ;
37658 return 0;
37659 }
37660 _ACEOF
37661 rm -f conftest.$ac_objext conftest$ac_exeext
37662 if { (ac_try="$ac_link"
37663 case "(($ac_try" in
37664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37665 *) ac_try_echo=$ac_try;;
37666 esac
37667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37668 (eval "$ac_link") 2>conftest.er1
37669 ac_status=$?
37670 grep -v '^ *+' conftest.er1 >conftest.err
37671 rm -f conftest.er1
37672 cat conftest.err >&5
37673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37674 (exit $ac_status); } && {
37675 test -z "$ac_c_werror_flag" ||
37676 test ! -s conftest.err
37677 } && test -s conftest$ac_exeext &&
37678 $as_test_x conftest$ac_exeext; then
37679 ac_cv_lib_posix4_nanosleep=yes
37680 else
37681 echo "$as_me: failed program was:" >&5
37682 sed 's/^/| /' conftest.$ac_ext >&5
37683
37684 ac_cv_lib_posix4_nanosleep=no
37685 fi
37686
37687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37688 conftest$ac_exeext conftest.$ac_ext
37689 LIBS=$ac_check_lib_save_LIBS
37690 fi
37691 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37692 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37693 if test $ac_cv_lib_posix4_nanosleep = yes; then
37694
37695 cat >>confdefs.h <<\_ACEOF
37696 #define HAVE_NANOSLEEP 1
37697 _ACEOF
37698
37699 POSIX4_LINK=" -lposix4"
37700
37701 else
37702
37703
37704 for wx_func in usleep
37705 do
37706 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37707 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37708 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37709 echo $ECHO_N "(cached) $ECHO_C" >&6
37710 else
37711
37712 cat >conftest.$ac_ext <<_ACEOF
37713
37714 /* confdefs.h. */
37715 _ACEOF
37716 cat confdefs.h >>conftest.$ac_ext
37717 cat >>conftest.$ac_ext <<_ACEOF
37718 /* end confdefs.h. */
37719
37720
37721 $ac_includes_default
37722
37723 int
37724 main ()
37725 {
37726
37727 #ifndef $wx_func
37728 &$wx_func;
37729 #endif
37730
37731
37732 ;
37733 return 0;
37734 }
37735
37736 _ACEOF
37737 rm -f conftest.$ac_objext conftest$ac_exeext
37738 if { (ac_try="$ac_link"
37739 case "(($ac_try" in
37740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37741 *) ac_try_echo=$ac_try;;
37742 esac
37743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37744 (eval "$ac_link") 2>conftest.er1
37745 ac_status=$?
37746 grep -v '^ *+' conftest.er1 >conftest.err
37747 rm -f conftest.er1
37748 cat conftest.err >&5
37749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37750 (exit $ac_status); } && {
37751 test -z "$ac_c_werror_flag" ||
37752 test ! -s conftest.err
37753 } && test -s conftest$ac_exeext &&
37754 $as_test_x conftest$ac_exeext; then
37755 eval wx_cv_func_$wx_func=yes
37756 else
37757 echo "$as_me: failed program was:" >&5
37758 sed 's/^/| /' conftest.$ac_ext >&5
37759
37760 eval wx_cv_func_$wx_func=no
37761 fi
37762
37763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37764 conftest$ac_exeext conftest.$ac_ext
37765
37766 fi
37767 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37768 { echo "$as_me:$LINENO: result: $ac_res" >&5
37769 echo "${ECHO_T}$ac_res" >&6; }
37770
37771 if eval test \$wx_cv_func_$wx_func = yes
37772 then
37773 cat >>confdefs.h <<_ACEOF
37774 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37775 _ACEOF
37776
37777
37778 else
37779 :
37780 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37781 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37782
37783 fi
37784 done
37785
37786
37787
37788 fi
37789
37790
37791
37792 fi
37793 done
37794
37795 fi
37796
37797
37798 for wx_func in uname
37799 do
37800 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37801 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37802 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37803 echo $ECHO_N "(cached) $ECHO_C" >&6
37804 else
37805
37806 cat >conftest.$ac_ext <<_ACEOF
37807
37808 /* confdefs.h. */
37809 _ACEOF
37810 cat confdefs.h >>conftest.$ac_ext
37811 cat >>conftest.$ac_ext <<_ACEOF
37812 /* end confdefs.h. */
37813
37814 #include <sys/utsname.h>
37815 $ac_includes_default
37816
37817 int
37818 main ()
37819 {
37820
37821 #ifndef $wx_func
37822 &$wx_func;
37823 #endif
37824
37825
37826 ;
37827 return 0;
37828 }
37829
37830 _ACEOF
37831 rm -f conftest.$ac_objext conftest$ac_exeext
37832 if { (ac_try="$ac_link"
37833 case "(($ac_try" in
37834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37835 *) ac_try_echo=$ac_try;;
37836 esac
37837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37838 (eval "$ac_link") 2>conftest.er1
37839 ac_status=$?
37840 grep -v '^ *+' conftest.er1 >conftest.err
37841 rm -f conftest.er1
37842 cat conftest.err >&5
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); } && {
37845 test -z "$ac_c_werror_flag" ||
37846 test ! -s conftest.err
37847 } && test -s conftest$ac_exeext &&
37848 $as_test_x conftest$ac_exeext; then
37849 eval wx_cv_func_$wx_func=yes
37850 else
37851 echo "$as_me: failed program was:" >&5
37852 sed 's/^/| /' conftest.$ac_ext >&5
37853
37854 eval wx_cv_func_$wx_func=no
37855 fi
37856
37857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37858 conftest$ac_exeext conftest.$ac_ext
37859
37860 fi
37861 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37862 { echo "$as_me:$LINENO: result: $ac_res" >&5
37863 echo "${ECHO_T}$ac_res" >&6; }
37864
37865 if eval test \$wx_cv_func_$wx_func = yes
37866 then
37867 cat >>confdefs.h <<_ACEOF
37868 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37869 _ACEOF
37870
37871
37872 else
37873 :
37874
37875 fi
37876 done
37877
37878 if test "$wx_cv_func_uname" != yes; then
37879
37880 for wx_func in gethostname
37881 do
37882 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37883 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37884 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37885 echo $ECHO_N "(cached) $ECHO_C" >&6
37886 else
37887
37888 cat >conftest.$ac_ext <<_ACEOF
37889
37890 /* confdefs.h. */
37891 _ACEOF
37892 cat confdefs.h >>conftest.$ac_ext
37893 cat >>conftest.$ac_ext <<_ACEOF
37894 /* end confdefs.h. */
37895
37896
37897 $ac_includes_default
37898
37899 int
37900 main ()
37901 {
37902
37903 #ifndef $wx_func
37904 &$wx_func;
37905 #endif
37906
37907
37908 ;
37909 return 0;
37910 }
37911
37912 _ACEOF
37913 rm -f conftest.$ac_objext conftest$ac_exeext
37914 if { (ac_try="$ac_link"
37915 case "(($ac_try" in
37916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37917 *) ac_try_echo=$ac_try;;
37918 esac
37919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37920 (eval "$ac_link") 2>conftest.er1
37921 ac_status=$?
37922 grep -v '^ *+' conftest.er1 >conftest.err
37923 rm -f conftest.er1
37924 cat conftest.err >&5
37925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37926 (exit $ac_status); } && {
37927 test -z "$ac_c_werror_flag" ||
37928 test ! -s conftest.err
37929 } && test -s conftest$ac_exeext &&
37930 $as_test_x conftest$ac_exeext; then
37931 eval wx_cv_func_$wx_func=yes
37932 else
37933 echo "$as_me: failed program was:" >&5
37934 sed 's/^/| /' conftest.$ac_ext >&5
37935
37936 eval wx_cv_func_$wx_func=no
37937 fi
37938
37939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37940 conftest$ac_exeext conftest.$ac_ext
37941
37942 fi
37943 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37944 { echo "$as_me:$LINENO: result: $ac_res" >&5
37945 echo "${ECHO_T}$ac_res" >&6; }
37946
37947 if eval test \$wx_cv_func_$wx_func = yes
37948 then
37949 cat >>confdefs.h <<_ACEOF
37950 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37951 _ACEOF
37952
37953
37954 else
37955 :
37956
37957 fi
37958 done
37959
37960 fi
37961
37962
37963 for wx_func in strtok_r
37964 do
37965 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37966 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37967 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37968 echo $ECHO_N "(cached) $ECHO_C" >&6
37969 else
37970
37971 cat >conftest.$ac_ext <<_ACEOF
37972
37973 /* confdefs.h. */
37974 _ACEOF
37975 cat confdefs.h >>conftest.$ac_ext
37976 cat >>conftest.$ac_ext <<_ACEOF
37977 /* end confdefs.h. */
37978
37979 #define _REENTRANT
37980 $ac_includes_default
37981
37982 int
37983 main ()
37984 {
37985
37986 #ifndef $wx_func
37987 &$wx_func;
37988 #endif
37989
37990
37991 ;
37992 return 0;
37993 }
37994
37995 _ACEOF
37996 rm -f conftest.$ac_objext conftest$ac_exeext
37997 if { (ac_try="$ac_link"
37998 case "(($ac_try" in
37999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38000 *) ac_try_echo=$ac_try;;
38001 esac
38002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38003 (eval "$ac_link") 2>conftest.er1
38004 ac_status=$?
38005 grep -v '^ *+' conftest.er1 >conftest.err
38006 rm -f conftest.er1
38007 cat conftest.err >&5
38008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38009 (exit $ac_status); } && {
38010 test -z "$ac_c_werror_flag" ||
38011 test ! -s conftest.err
38012 } && test -s conftest$ac_exeext &&
38013 $as_test_x conftest$ac_exeext; then
38014 eval wx_cv_func_$wx_func=yes
38015 else
38016 echo "$as_me: failed program was:" >&5
38017 sed 's/^/| /' conftest.$ac_ext >&5
38018
38019 eval wx_cv_func_$wx_func=no
38020 fi
38021
38022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38023 conftest$ac_exeext conftest.$ac_ext
38024
38025 fi
38026 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38027 { echo "$as_me:$LINENO: result: $ac_res" >&5
38028 echo "${ECHO_T}$ac_res" >&6; }
38029
38030 if eval test \$wx_cv_func_$wx_func = yes
38031 then
38032 cat >>confdefs.h <<_ACEOF
38033 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38034 _ACEOF
38035
38036
38037 else
38038 :
38039
38040 fi
38041 done
38042
38043
38044 INET_LINK=
38045
38046 for ac_func in inet_addr
38047 do
38048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38049 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38051 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38052 echo $ECHO_N "(cached) $ECHO_C" >&6
38053 else
38054 cat >conftest.$ac_ext <<_ACEOF
38055 /* confdefs.h. */
38056 _ACEOF
38057 cat confdefs.h >>conftest.$ac_ext
38058 cat >>conftest.$ac_ext <<_ACEOF
38059 /* end confdefs.h. */
38060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38062 #define $ac_func innocuous_$ac_func
38063
38064 /* System header to define __stub macros and hopefully few prototypes,
38065 which can conflict with char $ac_func (); below.
38066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38067 <limits.h> exists even on freestanding compilers. */
38068
38069 #ifdef __STDC__
38070 # include <limits.h>
38071 #else
38072 # include <assert.h>
38073 #endif
38074
38075 #undef $ac_func
38076
38077 /* Override any GCC internal prototype to avoid an error.
38078 Use char because int might match the return type of a GCC
38079 builtin and then its argument prototype would still apply. */
38080 #ifdef __cplusplus
38081 extern "C"
38082 #endif
38083 char $ac_func ();
38084 /* The GNU C library defines this for functions which it implements
38085 to always fail with ENOSYS. Some functions are actually named
38086 something starting with __ and the normal name is an alias. */
38087 #if defined __stub_$ac_func || defined __stub___$ac_func
38088 choke me
38089 #endif
38090
38091 int
38092 main ()
38093 {
38094 return $ac_func ();
38095 ;
38096 return 0;
38097 }
38098 _ACEOF
38099 rm -f conftest.$ac_objext conftest$ac_exeext
38100 if { (ac_try="$ac_link"
38101 case "(($ac_try" in
38102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38103 *) ac_try_echo=$ac_try;;
38104 esac
38105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38106 (eval "$ac_link") 2>conftest.er1
38107 ac_status=$?
38108 grep -v '^ *+' conftest.er1 >conftest.err
38109 rm -f conftest.er1
38110 cat conftest.err >&5
38111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38112 (exit $ac_status); } && {
38113 test -z "$ac_c_werror_flag" ||
38114 test ! -s conftest.err
38115 } && test -s conftest$ac_exeext &&
38116 $as_test_x conftest$ac_exeext; then
38117 eval "$as_ac_var=yes"
38118 else
38119 echo "$as_me: failed program was:" >&5
38120 sed 's/^/| /' conftest.$ac_ext >&5
38121
38122 eval "$as_ac_var=no"
38123 fi
38124
38125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38126 conftest$ac_exeext conftest.$ac_ext
38127 fi
38128 ac_res=`eval echo '${'$as_ac_var'}'`
38129 { echo "$as_me:$LINENO: result: $ac_res" >&5
38130 echo "${ECHO_T}$ac_res" >&6; }
38131 if test `eval echo '${'$as_ac_var'}'` = yes; then
38132 cat >>confdefs.h <<_ACEOF
38133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38134 _ACEOF
38135 cat >>confdefs.h <<\_ACEOF
38136 #define HAVE_INET_ADDR 1
38137 _ACEOF
38138
38139 else
38140
38141 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38142 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38143 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38144 echo $ECHO_N "(cached) $ECHO_C" >&6
38145 else
38146 ac_check_lib_save_LIBS=$LIBS
38147 LIBS="-lnsl $LIBS"
38148 cat >conftest.$ac_ext <<_ACEOF
38149 /* confdefs.h. */
38150 _ACEOF
38151 cat confdefs.h >>conftest.$ac_ext
38152 cat >>conftest.$ac_ext <<_ACEOF
38153 /* end confdefs.h. */
38154
38155 /* Override any GCC internal prototype to avoid an error.
38156 Use char because int might match the return type of a GCC
38157 builtin and then its argument prototype would still apply. */
38158 #ifdef __cplusplus
38159 extern "C"
38160 #endif
38161 char inet_addr ();
38162 int
38163 main ()
38164 {
38165 return inet_addr ();
38166 ;
38167 return 0;
38168 }
38169 _ACEOF
38170 rm -f conftest.$ac_objext conftest$ac_exeext
38171 if { (ac_try="$ac_link"
38172 case "(($ac_try" in
38173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38174 *) ac_try_echo=$ac_try;;
38175 esac
38176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38177 (eval "$ac_link") 2>conftest.er1
38178 ac_status=$?
38179 grep -v '^ *+' conftest.er1 >conftest.err
38180 rm -f conftest.er1
38181 cat conftest.err >&5
38182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38183 (exit $ac_status); } && {
38184 test -z "$ac_c_werror_flag" ||
38185 test ! -s conftest.err
38186 } && test -s conftest$ac_exeext &&
38187 $as_test_x conftest$ac_exeext; then
38188 ac_cv_lib_nsl_inet_addr=yes
38189 else
38190 echo "$as_me: failed program was:" >&5
38191 sed 's/^/| /' conftest.$ac_ext >&5
38192
38193 ac_cv_lib_nsl_inet_addr=no
38194 fi
38195
38196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38197 conftest$ac_exeext conftest.$ac_ext
38198 LIBS=$ac_check_lib_save_LIBS
38199 fi
38200 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38201 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38202 if test $ac_cv_lib_nsl_inet_addr = yes; then
38203 INET_LINK="nsl"
38204 else
38205
38206 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38207 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38208 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38209 echo $ECHO_N "(cached) $ECHO_C" >&6
38210 else
38211 ac_check_lib_save_LIBS=$LIBS
38212 LIBS="-lresolv $LIBS"
38213 cat >conftest.$ac_ext <<_ACEOF
38214 /* confdefs.h. */
38215 _ACEOF
38216 cat confdefs.h >>conftest.$ac_ext
38217 cat >>conftest.$ac_ext <<_ACEOF
38218 /* end confdefs.h. */
38219
38220 /* Override any GCC internal prototype to avoid an error.
38221 Use char because int might match the return type of a GCC
38222 builtin and then its argument prototype would still apply. */
38223 #ifdef __cplusplus
38224 extern "C"
38225 #endif
38226 char inet_addr ();
38227 int
38228 main ()
38229 {
38230 return inet_addr ();
38231 ;
38232 return 0;
38233 }
38234 _ACEOF
38235 rm -f conftest.$ac_objext conftest$ac_exeext
38236 if { (ac_try="$ac_link"
38237 case "(($ac_try" in
38238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38239 *) ac_try_echo=$ac_try;;
38240 esac
38241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38242 (eval "$ac_link") 2>conftest.er1
38243 ac_status=$?
38244 grep -v '^ *+' conftest.er1 >conftest.err
38245 rm -f conftest.er1
38246 cat conftest.err >&5
38247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38248 (exit $ac_status); } && {
38249 test -z "$ac_c_werror_flag" ||
38250 test ! -s conftest.err
38251 } && test -s conftest$ac_exeext &&
38252 $as_test_x conftest$ac_exeext; then
38253 ac_cv_lib_resolv_inet_addr=yes
38254 else
38255 echo "$as_me: failed program was:" >&5
38256 sed 's/^/| /' conftest.$ac_ext >&5
38257
38258 ac_cv_lib_resolv_inet_addr=no
38259 fi
38260
38261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38262 conftest$ac_exeext conftest.$ac_ext
38263 LIBS=$ac_check_lib_save_LIBS
38264 fi
38265 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38266 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38267 if test $ac_cv_lib_resolv_inet_addr = yes; then
38268 INET_LINK="resolv"
38269 else
38270
38271 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38272 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38273 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38274 echo $ECHO_N "(cached) $ECHO_C" >&6
38275 else
38276 ac_check_lib_save_LIBS=$LIBS
38277 LIBS="-lsocket $LIBS"
38278 cat >conftest.$ac_ext <<_ACEOF
38279 /* confdefs.h. */
38280 _ACEOF
38281 cat confdefs.h >>conftest.$ac_ext
38282 cat >>conftest.$ac_ext <<_ACEOF
38283 /* end confdefs.h. */
38284
38285 /* Override any GCC internal prototype to avoid an error.
38286 Use char because int might match the return type of a GCC
38287 builtin and then its argument prototype would still apply. */
38288 #ifdef __cplusplus
38289 extern "C"
38290 #endif
38291 char inet_addr ();
38292 int
38293 main ()
38294 {
38295 return inet_addr ();
38296 ;
38297 return 0;
38298 }
38299 _ACEOF
38300 rm -f conftest.$ac_objext conftest$ac_exeext
38301 if { (ac_try="$ac_link"
38302 case "(($ac_try" in
38303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38304 *) ac_try_echo=$ac_try;;
38305 esac
38306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38307 (eval "$ac_link") 2>conftest.er1
38308 ac_status=$?
38309 grep -v '^ *+' conftest.er1 >conftest.err
38310 rm -f conftest.er1
38311 cat conftest.err >&5
38312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38313 (exit $ac_status); } && {
38314 test -z "$ac_c_werror_flag" ||
38315 test ! -s conftest.err
38316 } && test -s conftest$ac_exeext &&
38317 $as_test_x conftest$ac_exeext; then
38318 ac_cv_lib_socket_inet_addr=yes
38319 else
38320 echo "$as_me: failed program was:" >&5
38321 sed 's/^/| /' conftest.$ac_ext >&5
38322
38323 ac_cv_lib_socket_inet_addr=no
38324 fi
38325
38326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38327 conftest$ac_exeext conftest.$ac_ext
38328 LIBS=$ac_check_lib_save_LIBS
38329 fi
38330 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38331 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38332 if test $ac_cv_lib_socket_inet_addr = yes; then
38333 INET_LINK="socket"
38334
38335 fi
38336
38337
38338
38339 fi
38340
38341
38342
38343 fi
38344
38345
38346
38347 fi
38348 done
38349
38350
38351
38352 for ac_func in inet_aton
38353 do
38354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38355 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38357 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38358 echo $ECHO_N "(cached) $ECHO_C" >&6
38359 else
38360 cat >conftest.$ac_ext <<_ACEOF
38361 /* confdefs.h. */
38362 _ACEOF
38363 cat confdefs.h >>conftest.$ac_ext
38364 cat >>conftest.$ac_ext <<_ACEOF
38365 /* end confdefs.h. */
38366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38368 #define $ac_func innocuous_$ac_func
38369
38370 /* System header to define __stub macros and hopefully few prototypes,
38371 which can conflict with char $ac_func (); below.
38372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38373 <limits.h> exists even on freestanding compilers. */
38374
38375 #ifdef __STDC__
38376 # include <limits.h>
38377 #else
38378 # include <assert.h>
38379 #endif
38380
38381 #undef $ac_func
38382
38383 /* Override any GCC internal prototype to avoid an error.
38384 Use char because int might match the return type of a GCC
38385 builtin and then its argument prototype would still apply. */
38386 #ifdef __cplusplus
38387 extern "C"
38388 #endif
38389 char $ac_func ();
38390 /* The GNU C library defines this for functions which it implements
38391 to always fail with ENOSYS. Some functions are actually named
38392 something starting with __ and the normal name is an alias. */
38393 #if defined __stub_$ac_func || defined __stub___$ac_func
38394 choke me
38395 #endif
38396
38397 int
38398 main ()
38399 {
38400 return $ac_func ();
38401 ;
38402 return 0;
38403 }
38404 _ACEOF
38405 rm -f conftest.$ac_objext conftest$ac_exeext
38406 if { (ac_try="$ac_link"
38407 case "(($ac_try" in
38408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38409 *) ac_try_echo=$ac_try;;
38410 esac
38411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38412 (eval "$ac_link") 2>conftest.er1
38413 ac_status=$?
38414 grep -v '^ *+' conftest.er1 >conftest.err
38415 rm -f conftest.er1
38416 cat conftest.err >&5
38417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418 (exit $ac_status); } && {
38419 test -z "$ac_c_werror_flag" ||
38420 test ! -s conftest.err
38421 } && test -s conftest$ac_exeext &&
38422 $as_test_x conftest$ac_exeext; then
38423 eval "$as_ac_var=yes"
38424 else
38425 echo "$as_me: failed program was:" >&5
38426 sed 's/^/| /' conftest.$ac_ext >&5
38427
38428 eval "$as_ac_var=no"
38429 fi
38430
38431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38432 conftest$ac_exeext conftest.$ac_ext
38433 fi
38434 ac_res=`eval echo '${'$as_ac_var'}'`
38435 { echo "$as_me:$LINENO: result: $ac_res" >&5
38436 echo "${ECHO_T}$ac_res" >&6; }
38437 if test `eval echo '${'$as_ac_var'}'` = yes; then
38438 cat >>confdefs.h <<_ACEOF
38439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38440 _ACEOF
38441 cat >>confdefs.h <<\_ACEOF
38442 #define HAVE_INET_ATON 1
38443 _ACEOF
38444
38445 else
38446
38447 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38448 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38449 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38450 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38451 echo $ECHO_N "(cached) $ECHO_C" >&6
38452 else
38453 ac_check_lib_save_LIBS=$LIBS
38454 LIBS="-l$INET_LINK $LIBS"
38455 cat >conftest.$ac_ext <<_ACEOF
38456 /* confdefs.h. */
38457 _ACEOF
38458 cat confdefs.h >>conftest.$ac_ext
38459 cat >>conftest.$ac_ext <<_ACEOF
38460 /* end confdefs.h. */
38461
38462 /* Override any GCC internal prototype to avoid an error.
38463 Use char because int might match the return type of a GCC
38464 builtin and then its argument prototype would still apply. */
38465 #ifdef __cplusplus
38466 extern "C"
38467 #endif
38468 char inet_aton ();
38469 int
38470 main ()
38471 {
38472 return inet_aton ();
38473 ;
38474 return 0;
38475 }
38476 _ACEOF
38477 rm -f conftest.$ac_objext conftest$ac_exeext
38478 if { (ac_try="$ac_link"
38479 case "(($ac_try" in
38480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38481 *) ac_try_echo=$ac_try;;
38482 esac
38483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38484 (eval "$ac_link") 2>conftest.er1
38485 ac_status=$?
38486 grep -v '^ *+' conftest.er1 >conftest.err
38487 rm -f conftest.er1
38488 cat conftest.err >&5
38489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38490 (exit $ac_status); } && {
38491 test -z "$ac_c_werror_flag" ||
38492 test ! -s conftest.err
38493 } && test -s conftest$ac_exeext &&
38494 $as_test_x conftest$ac_exeext; then
38495 eval "$as_ac_Lib=yes"
38496 else
38497 echo "$as_me: failed program was:" >&5
38498 sed 's/^/| /' conftest.$ac_ext >&5
38499
38500 eval "$as_ac_Lib=no"
38501 fi
38502
38503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38504 conftest$ac_exeext conftest.$ac_ext
38505 LIBS=$ac_check_lib_save_LIBS
38506 fi
38507 ac_res=`eval echo '${'$as_ac_Lib'}'`
38508 { echo "$as_me:$LINENO: result: $ac_res" >&5
38509 echo "${ECHO_T}$ac_res" >&6; }
38510 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38511 cat >>confdefs.h <<\_ACEOF
38512 #define HAVE_INET_ATON 1
38513 _ACEOF
38514
38515 fi
38516
38517
38518 fi
38519 done
38520
38521
38522 if test "x$INET_LINK" != "x"; then
38523 cat >>confdefs.h <<\_ACEOF
38524 #define HAVE_INET_ADDR 1
38525 _ACEOF
38526
38527 INET_LINK=" -l$INET_LINK"
38528 fi
38529
38530
38531 for wx_func in fdopen
38532 do
38533 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38534 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38535 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38536 echo $ECHO_N "(cached) $ECHO_C" >&6
38537 else
38538
38539 cat >conftest.$ac_ext <<_ACEOF
38540
38541 /* confdefs.h. */
38542 _ACEOF
38543 cat confdefs.h >>conftest.$ac_ext
38544 cat >>conftest.$ac_ext <<_ACEOF
38545 /* end confdefs.h. */
38546
38547
38548 $ac_includes_default
38549
38550 int
38551 main ()
38552 {
38553
38554 #ifndef $wx_func
38555 &$wx_func;
38556 #endif
38557
38558
38559 ;
38560 return 0;
38561 }
38562
38563 _ACEOF
38564 rm -f conftest.$ac_objext conftest$ac_exeext
38565 if { (ac_try="$ac_link"
38566 case "(($ac_try" in
38567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38568 *) ac_try_echo=$ac_try;;
38569 esac
38570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38571 (eval "$ac_link") 2>conftest.er1
38572 ac_status=$?
38573 grep -v '^ *+' conftest.er1 >conftest.err
38574 rm -f conftest.er1
38575 cat conftest.err >&5
38576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38577 (exit $ac_status); } && {
38578 test -z "$ac_c_werror_flag" ||
38579 test ! -s conftest.err
38580 } && test -s conftest$ac_exeext &&
38581 $as_test_x conftest$ac_exeext; then
38582 eval wx_cv_func_$wx_func=yes
38583 else
38584 echo "$as_me: failed program was:" >&5
38585 sed 's/^/| /' conftest.$ac_ext >&5
38586
38587 eval wx_cv_func_$wx_func=no
38588 fi
38589
38590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38591 conftest$ac_exeext conftest.$ac_ext
38592
38593 fi
38594 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38595 { echo "$as_me:$LINENO: result: $ac_res" >&5
38596 echo "${ECHO_T}$ac_res" >&6; }
38597
38598 if eval test \$wx_cv_func_$wx_func = yes
38599 then
38600 cat >>confdefs.h <<_ACEOF
38601 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38602 _ACEOF
38603
38604
38605 else
38606 :
38607
38608 fi
38609 done
38610
38611
38612 if test "$wxUSE_TARSTREAM" = "yes"; then
38613
38614 for wx_func in sysconf
38615 do
38616 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38617 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38618 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38619 echo $ECHO_N "(cached) $ECHO_C" >&6
38620 else
38621
38622 cat >conftest.$ac_ext <<_ACEOF
38623
38624 /* confdefs.h. */
38625 _ACEOF
38626 cat confdefs.h >>conftest.$ac_ext
38627 cat >>conftest.$ac_ext <<_ACEOF
38628 /* end confdefs.h. */
38629
38630
38631 $ac_includes_default
38632
38633 int
38634 main ()
38635 {
38636
38637 #ifndef $wx_func
38638 &$wx_func;
38639 #endif
38640
38641
38642 ;
38643 return 0;
38644 }
38645
38646 _ACEOF
38647 rm -f conftest.$ac_objext conftest$ac_exeext
38648 if { (ac_try="$ac_link"
38649 case "(($ac_try" in
38650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38651 *) ac_try_echo=$ac_try;;
38652 esac
38653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38654 (eval "$ac_link") 2>conftest.er1
38655 ac_status=$?
38656 grep -v '^ *+' conftest.er1 >conftest.err
38657 rm -f conftest.er1
38658 cat conftest.err >&5
38659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38660 (exit $ac_status); } && {
38661 test -z "$ac_c_werror_flag" ||
38662 test ! -s conftest.err
38663 } && test -s conftest$ac_exeext &&
38664 $as_test_x conftest$ac_exeext; then
38665 eval wx_cv_func_$wx_func=yes
38666 else
38667 echo "$as_me: failed program was:" >&5
38668 sed 's/^/| /' conftest.$ac_ext >&5
38669
38670 eval wx_cv_func_$wx_func=no
38671 fi
38672
38673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38674 conftest$ac_exeext conftest.$ac_ext
38675
38676 fi
38677 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38678 { echo "$as_me:$LINENO: result: $ac_res" >&5
38679 echo "${ECHO_T}$ac_res" >&6; }
38680
38681 if eval test \$wx_cv_func_$wx_func = yes
38682 then
38683 cat >>confdefs.h <<_ACEOF
38684 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38685 _ACEOF
38686
38687
38688 else
38689 :
38690
38691 fi
38692 done
38693
38694
38695
38696 for wx_func in getpwuid_r
38697 do
38698 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38699 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38700 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38701 echo $ECHO_N "(cached) $ECHO_C" >&6
38702 else
38703
38704 cat >conftest.$ac_ext <<_ACEOF
38705
38706 /* confdefs.h. */
38707 _ACEOF
38708 cat confdefs.h >>conftest.$ac_ext
38709 cat >>conftest.$ac_ext <<_ACEOF
38710 /* end confdefs.h. */
38711
38712
38713 #define _REENTRANT
38714 #include <pwd.h>
38715
38716 $ac_includes_default
38717
38718 int
38719 main ()
38720 {
38721
38722 #ifndef $wx_func
38723 &$wx_func;
38724 #endif
38725
38726 struct passwd pw, *ppw;
38727 char buf[1024];
38728 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38729
38730
38731 ;
38732 return 0;
38733 }
38734
38735 _ACEOF
38736 rm -f conftest.$ac_objext conftest$ac_exeext
38737 if { (ac_try="$ac_link"
38738 case "(($ac_try" in
38739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38740 *) ac_try_echo=$ac_try;;
38741 esac
38742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38743 (eval "$ac_link") 2>conftest.er1
38744 ac_status=$?
38745 grep -v '^ *+' conftest.er1 >conftest.err
38746 rm -f conftest.er1
38747 cat conftest.err >&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } && {
38750 test -z "$ac_c_werror_flag" ||
38751 test ! -s conftest.err
38752 } && test -s conftest$ac_exeext &&
38753 $as_test_x conftest$ac_exeext; then
38754 eval wx_cv_func_$wx_func=yes
38755 else
38756 echo "$as_me: failed program was:" >&5
38757 sed 's/^/| /' conftest.$ac_ext >&5
38758
38759 eval wx_cv_func_$wx_func=no
38760 fi
38761
38762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38763 conftest$ac_exeext conftest.$ac_ext
38764
38765 fi
38766 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38767 { echo "$as_me:$LINENO: result: $ac_res" >&5
38768 echo "${ECHO_T}$ac_res" >&6; }
38769
38770 if eval test \$wx_cv_func_$wx_func = yes
38771 then
38772 cat >>confdefs.h <<_ACEOF
38773 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38774 _ACEOF
38775
38776
38777 else
38778 :
38779
38780 fi
38781 done
38782
38783
38784
38785 for wx_func in getgrgid_r
38786 do
38787 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38788 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38789 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38790 echo $ECHO_N "(cached) $ECHO_C" >&6
38791 else
38792
38793 cat >conftest.$ac_ext <<_ACEOF
38794
38795 /* confdefs.h. */
38796 _ACEOF
38797 cat confdefs.h >>conftest.$ac_ext
38798 cat >>conftest.$ac_ext <<_ACEOF
38799 /* end confdefs.h. */
38800
38801
38802 #define _REENTRANT
38803 #include <grp.h>
38804
38805 $ac_includes_default
38806
38807 int
38808 main ()
38809 {
38810
38811 #ifndef $wx_func
38812 &$wx_func;
38813 #endif
38814
38815 struct group grp, *pgrp;
38816 char buf[1024];
38817 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38818
38819
38820 ;
38821 return 0;
38822 }
38823
38824 _ACEOF
38825 rm -f conftest.$ac_objext conftest$ac_exeext
38826 if { (ac_try="$ac_link"
38827 case "(($ac_try" in
38828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38829 *) ac_try_echo=$ac_try;;
38830 esac
38831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38832 (eval "$ac_link") 2>conftest.er1
38833 ac_status=$?
38834 grep -v '^ *+' conftest.er1 >conftest.err
38835 rm -f conftest.er1
38836 cat conftest.err >&5
38837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38838 (exit $ac_status); } && {
38839 test -z "$ac_c_werror_flag" ||
38840 test ! -s conftest.err
38841 } && test -s conftest$ac_exeext &&
38842 $as_test_x conftest$ac_exeext; then
38843 eval wx_cv_func_$wx_func=yes
38844 else
38845 echo "$as_me: failed program was:" >&5
38846 sed 's/^/| /' conftest.$ac_ext >&5
38847
38848 eval wx_cv_func_$wx_func=no
38849 fi
38850
38851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38852 conftest$ac_exeext conftest.$ac_ext
38853
38854 fi
38855 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38856 { echo "$as_me:$LINENO: result: $ac_res" >&5
38857 echo "${ECHO_T}$ac_res" >&6; }
38858
38859 if eval test \$wx_cv_func_$wx_func = yes
38860 then
38861 cat >>confdefs.h <<_ACEOF
38862 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38863 _ACEOF
38864
38865
38866 else
38867 :
38868
38869 fi
38870 done
38871
38872 fi
38873
38874 fi
38875
38876
38877
38878 cat >confcache <<\_ACEOF
38879 # This file is a shell script that caches the results of configure
38880 # tests run on this system so they can be shared between configure
38881 # scripts and configure runs, see configure's option --config-cache.
38882 # It is not useful on other systems. If it contains results you don't
38883 # want to keep, you may remove or edit it.
38884 #
38885 # config.status only pays attention to the cache file if you give it
38886 # the --recheck option to rerun configure.
38887 #
38888 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38889 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38890 # following values.
38891
38892 _ACEOF
38893
38894 # The following way of writing the cache mishandles newlines in values,
38895 # but we know of no workaround that is simple, portable, and efficient.
38896 # So, we kill variables containing newlines.
38897 # Ultrix sh set writes to stderr and can't be redirected directly,
38898 # and sets the high bit in the cache file unless we assign to the vars.
38899 (
38900 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38901 eval ac_val=\$$ac_var
38902 case $ac_val in #(
38903 *${as_nl}*)
38904 case $ac_var in #(
38905 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38906 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38907 esac
38908 case $ac_var in #(
38909 _ | IFS | as_nl) ;; #(
38910 *) $as_unset $ac_var ;;
38911 esac ;;
38912 esac
38913 done
38914
38915 (set) 2>&1 |
38916 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38917 *${as_nl}ac_space=\ *)
38918 # `set' does not quote correctly, so add quotes (double-quote
38919 # substitution turns \\\\ into \\, and sed turns \\ into \).
38920 sed -n \
38921 "s/'/'\\\\''/g;
38922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38923 ;; #(
38924 *)
38925 # `set' quotes correctly as required by POSIX, so do not add quotes.
38926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38927 ;;
38928 esac |
38929 sort
38930 ) |
38931 sed '
38932 /^ac_cv_env_/b end
38933 t clear
38934 :clear
38935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38936 t end
38937 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38938 :end' >>confcache
38939 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38940 if test -w "$cache_file"; then
38941 test "x$cache_file" != "x/dev/null" &&
38942 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38943 echo "$as_me: updating cache $cache_file" >&6;}
38944 cat confcache >$cache_file
38945 else
38946 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38947 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38948 fi
38949 fi
38950 rm -f confcache
38951
38952
38953 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38954
38955
38956 THREADS_LINK=
38957 THREADS_CFLAGS=
38958
38959 if test "$wxUSE_THREADS" = "yes" ; then
38960 if test "$USE_BEOS" = 1; then
38961 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38962 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38963 wxUSE_THREADS="no"
38964 fi
38965 fi
38966
38967 if test "$wxUSE_THREADS" = "yes" ; then
38968
38969
38970 THREAD_OPTS="-pthread"
38971 if test "x$SUNCXX" = xyes; then
38972 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38973 fi
38974
38975 case "${host}" in
38976 *-*-solaris2* | *-*-sunos4* )
38977 if test "x$GCC" = "xyes"; then
38978 THREAD_OPTS="-pthreads $THREAD_OPTS"
38979 fi
38980 ;;
38981 *-*-freebsd*)
38982 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38983 ;;
38984 *-*-darwin* | *-*-cygwin* )
38985 THREAD_OPTS=""
38986 ;;
38987 *-*-aix*)
38988 THREAD_OPTS="pthreads"
38989 ;;
38990 *-hp-hpux* )
38991 if test "x$GCC" = "xyes"; then
38992 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38993 THREAD_OPTS=""
38994 else
38995 THREAD_OPTS="-mt"
38996 fi
38997 ;;
38998
38999 *-*-irix* )
39000 if test "x$GCC" = "xyes"; then
39001 THREAD_OPTS=""
39002 fi
39003 ;;
39004
39005 *-*-*UnixWare*)
39006 if test "x$GCC" != "xyes"; then
39007 THREAD_OPTS="-Ethread"
39008 fi
39009 ;;
39010 esac
39011
39012 THREAD_OPTS="$THREAD_OPTS pthread none"
39013
39014 THREADS_OK=no
39015 for flag in $THREAD_OPTS; do
39016 case $flag in
39017 none)
39018 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39019 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39020 ;;
39021
39022 -*)
39023 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39024 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39025 THREADS_CFLAGS="$flag"
39026 ;;
39027
39028 *)
39029 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39030 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39031 THREADS_LINK="-l$flag"
39032 ;;
39033 esac
39034
39035 save_LIBS="$LIBS"
39036 save_CFLAGS="$CFLAGS"
39037 LIBS="$THREADS_LINK $LIBS"
39038 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39039
39040 cat >conftest.$ac_ext <<_ACEOF
39041 /* confdefs.h. */
39042 _ACEOF
39043 cat confdefs.h >>conftest.$ac_ext
39044 cat >>conftest.$ac_ext <<_ACEOF
39045 /* end confdefs.h. */
39046 #include <pthread.h>
39047 int
39048 main ()
39049 {
39050 pthread_create(0,0,0,0);
39051 ;
39052 return 0;
39053 }
39054 _ACEOF
39055 rm -f conftest.$ac_objext conftest$ac_exeext
39056 if { (ac_try="$ac_link"
39057 case "(($ac_try" in
39058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39059 *) ac_try_echo=$ac_try;;
39060 esac
39061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39062 (eval "$ac_link") 2>conftest.er1
39063 ac_status=$?
39064 grep -v '^ *+' conftest.er1 >conftest.err
39065 rm -f conftest.er1
39066 cat conftest.err >&5
39067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39068 (exit $ac_status); } && {
39069 test -z "$ac_c_werror_flag" ||
39070 test ! -s conftest.err
39071 } && test -s conftest$ac_exeext &&
39072 $as_test_x conftest$ac_exeext; then
39073 THREADS_OK=yes
39074 else
39075 echo "$as_me: failed program was:" >&5
39076 sed 's/^/| /' conftest.$ac_ext >&5
39077
39078
39079 fi
39080
39081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39082 conftest$ac_exeext conftest.$ac_ext
39083
39084 LIBS="$save_LIBS"
39085 CFLAGS="$save_CFLAGS"
39086
39087 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39088 echo "${ECHO_T}$THREADS_OK" >&6; }
39089 if test "x$THREADS_OK" = "xyes"; then
39090 break;
39091 fi
39092
39093 THREADS_LINK=""
39094 THREADS_CFLAGS=""
39095 done
39096
39097 if test "x$THREADS_OK" != "xyes"; then
39098 wxUSE_THREADS=no
39099 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39100 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39101 else
39102 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39103 LIBS="$THREADS_LINK $LIBS"
39104
39105 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39106 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39107 flag=no
39108 case "${host}" in
39109 *-aix*)
39110 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39111 flag="-D_THREAD_SAFE"
39112 ;;
39113 *-freebsd*)
39114 flag="-D_THREAD_SAFE"
39115 ;;
39116 *-hp-hpux* )
39117 flag="-D_REENTRANT"
39118 if test "x$GCC" != "xyes"; then
39119 flag="$flag -D_RWSTD_MULTI_THREAD"
39120 fi
39121 ;;
39122 *solaris* | alpha*-osf*)
39123 flag="-D_REENTRANT"
39124 ;;
39125 esac
39126 { echo "$as_me:$LINENO: result: ${flag}" >&5
39127 echo "${ECHO_T}${flag}" >&6; }
39128 if test "x$flag" != xno; then
39129 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39130 fi
39131
39132 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39133 fi
39134 fi
39135
39136 if test "$wxUSE_THREADS" = "yes" ; then
39137
39138 for ac_func in thr_setconcurrency
39139 do
39140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39141 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39143 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39144 echo $ECHO_N "(cached) $ECHO_C" >&6
39145 else
39146 cat >conftest.$ac_ext <<_ACEOF
39147 /* confdefs.h. */
39148 _ACEOF
39149 cat confdefs.h >>conftest.$ac_ext
39150 cat >>conftest.$ac_ext <<_ACEOF
39151 /* end confdefs.h. */
39152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39154 #define $ac_func innocuous_$ac_func
39155
39156 /* System header to define __stub macros and hopefully few prototypes,
39157 which can conflict with char $ac_func (); below.
39158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39159 <limits.h> exists even on freestanding compilers. */
39160
39161 #ifdef __STDC__
39162 # include <limits.h>
39163 #else
39164 # include <assert.h>
39165 #endif
39166
39167 #undef $ac_func
39168
39169 /* Override any GCC internal prototype to avoid an error.
39170 Use char because int might match the return type of a GCC
39171 builtin and then its argument prototype would still apply. */
39172 #ifdef __cplusplus
39173 extern "C"
39174 #endif
39175 char $ac_func ();
39176 /* The GNU C library defines this for functions which it implements
39177 to always fail with ENOSYS. Some functions are actually named
39178 something starting with __ and the normal name is an alias. */
39179 #if defined __stub_$ac_func || defined __stub___$ac_func
39180 choke me
39181 #endif
39182
39183 int
39184 main ()
39185 {
39186 return $ac_func ();
39187 ;
39188 return 0;
39189 }
39190 _ACEOF
39191 rm -f conftest.$ac_objext conftest$ac_exeext
39192 if { (ac_try="$ac_link"
39193 case "(($ac_try" in
39194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39195 *) ac_try_echo=$ac_try;;
39196 esac
39197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39198 (eval "$ac_link") 2>conftest.er1
39199 ac_status=$?
39200 grep -v '^ *+' conftest.er1 >conftest.err
39201 rm -f conftest.er1
39202 cat conftest.err >&5
39203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39204 (exit $ac_status); } && {
39205 test -z "$ac_c_werror_flag" ||
39206 test ! -s conftest.err
39207 } && test -s conftest$ac_exeext &&
39208 $as_test_x conftest$ac_exeext; then
39209 eval "$as_ac_var=yes"
39210 else
39211 echo "$as_me: failed program was:" >&5
39212 sed 's/^/| /' conftest.$ac_ext >&5
39213
39214 eval "$as_ac_var=no"
39215 fi
39216
39217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39218 conftest$ac_exeext conftest.$ac_ext
39219 fi
39220 ac_res=`eval echo '${'$as_ac_var'}'`
39221 { echo "$as_me:$LINENO: result: $ac_res" >&5
39222 echo "${ECHO_T}$ac_res" >&6; }
39223 if test `eval echo '${'$as_ac_var'}'` = yes; then
39224 cat >>confdefs.h <<_ACEOF
39225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39226 _ACEOF
39227
39228 fi
39229 done
39230
39231
39232 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39233 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39234 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39235 echo $ECHO_N "(cached) $ECHO_C" >&6
39236 else
39237
39238 ac_ext=cpp
39239 ac_cpp='$CXXCPP $CPPFLAGS'
39240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39243
39244 cat >conftest.$ac_ext <<_ACEOF
39245 /* confdefs.h. */
39246 _ACEOF
39247 cat confdefs.h >>conftest.$ac_ext
39248 cat >>conftest.$ac_ext <<_ACEOF
39249 /* end confdefs.h. */
39250 #include <pthread.h>
39251 void ThreadCleanupFunc(void *p);
39252
39253 int
39254 main ()
39255 {
39256
39257 void *p;
39258 pthread_cleanup_push(ThreadCleanupFunc, p);
39259 pthread_cleanup_pop(0);
39260
39261 ;
39262 return 0;
39263 }
39264 _ACEOF
39265 rm -f conftest.$ac_objext
39266 if { (ac_try="$ac_compile"
39267 case "(($ac_try" in
39268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39269 *) ac_try_echo=$ac_try;;
39270 esac
39271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39272 (eval "$ac_compile") 2>conftest.er1
39273 ac_status=$?
39274 grep -v '^ *+' conftest.er1 >conftest.err
39275 rm -f conftest.er1
39276 cat conftest.err >&5
39277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278 (exit $ac_status); } && {
39279 test -z "$ac_cxx_werror_flag" ||
39280 test ! -s conftest.err
39281 } && test -s conftest.$ac_objext; then
39282
39283 wx_cv_func_pthread_cleanup=yes
39284
39285 else
39286 echo "$as_me: failed program was:" >&5
39287 sed 's/^/| /' conftest.$ac_ext >&5
39288
39289
39290 wx_cv_func_pthread_cleanup=no
39291
39292
39293 fi
39294
39295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39296 ac_ext=c
39297 ac_cpp='$CPP $CPPFLAGS'
39298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39301
39302
39303 fi
39304 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39305 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39306 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39307 cat >>confdefs.h <<\_ACEOF
39308 #define wxHAVE_PTHREAD_CLEANUP 1
39309 _ACEOF
39310
39311 fi
39312
39313
39314 for ac_header in sched.h
39315 do
39316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39317 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39319 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39320 echo $ECHO_N "(cached) $ECHO_C" >&6
39321 else
39322 cat >conftest.$ac_ext <<_ACEOF
39323 /* confdefs.h. */
39324 _ACEOF
39325 cat confdefs.h >>conftest.$ac_ext
39326 cat >>conftest.$ac_ext <<_ACEOF
39327 /* end confdefs.h. */
39328 $ac_includes_default
39329
39330 #include <$ac_header>
39331 _ACEOF
39332 rm -f conftest.$ac_objext
39333 if { (ac_try="$ac_compile"
39334 case "(($ac_try" in
39335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39336 *) ac_try_echo=$ac_try;;
39337 esac
39338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39339 (eval "$ac_compile") 2>conftest.er1
39340 ac_status=$?
39341 grep -v '^ *+' conftest.er1 >conftest.err
39342 rm -f conftest.er1
39343 cat conftest.err >&5
39344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39345 (exit $ac_status); } && {
39346 test -z "$ac_c_werror_flag" ||
39347 test ! -s conftest.err
39348 } && test -s conftest.$ac_objext; then
39349 eval "$as_ac_Header=yes"
39350 else
39351 echo "$as_me: failed program was:" >&5
39352 sed 's/^/| /' conftest.$ac_ext >&5
39353
39354 eval "$as_ac_Header=no"
39355 fi
39356
39357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39358 fi
39359 ac_res=`eval echo '${'$as_ac_Header'}'`
39360 { echo "$as_me:$LINENO: result: $ac_res" >&5
39361 echo "${ECHO_T}$ac_res" >&6; }
39362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39363 cat >>confdefs.h <<_ACEOF
39364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39365 _ACEOF
39366
39367 fi
39368
39369 done
39370
39371 if test "$ac_cv_header_sched_h" = "yes"; then
39372 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39373 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39374 if test "${ac_cv_func_sched_yield+set}" = set; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39376 else
39377 cat >conftest.$ac_ext <<_ACEOF
39378 /* confdefs.h. */
39379 _ACEOF
39380 cat confdefs.h >>conftest.$ac_ext
39381 cat >>conftest.$ac_ext <<_ACEOF
39382 /* end confdefs.h. */
39383 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39385 #define sched_yield innocuous_sched_yield
39386
39387 /* System header to define __stub macros and hopefully few prototypes,
39388 which can conflict with char sched_yield (); below.
39389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39390 <limits.h> exists even on freestanding compilers. */
39391
39392 #ifdef __STDC__
39393 # include <limits.h>
39394 #else
39395 # include <assert.h>
39396 #endif
39397
39398 #undef sched_yield
39399
39400 /* Override any GCC internal prototype to avoid an error.
39401 Use char because int might match the return type of a GCC
39402 builtin and then its argument prototype would still apply. */
39403 #ifdef __cplusplus
39404 extern "C"
39405 #endif
39406 char sched_yield ();
39407 /* The GNU C library defines this for functions which it implements
39408 to always fail with ENOSYS. Some functions are actually named
39409 something starting with __ and the normal name is an alias. */
39410 #if defined __stub_sched_yield || defined __stub___sched_yield
39411 choke me
39412 #endif
39413
39414 int
39415 main ()
39416 {
39417 return sched_yield ();
39418 ;
39419 return 0;
39420 }
39421 _ACEOF
39422 rm -f conftest.$ac_objext conftest$ac_exeext
39423 if { (ac_try="$ac_link"
39424 case "(($ac_try" in
39425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39426 *) ac_try_echo=$ac_try;;
39427 esac
39428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39429 (eval "$ac_link") 2>conftest.er1
39430 ac_status=$?
39431 grep -v '^ *+' conftest.er1 >conftest.err
39432 rm -f conftest.er1
39433 cat conftest.err >&5
39434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39435 (exit $ac_status); } && {
39436 test -z "$ac_c_werror_flag" ||
39437 test ! -s conftest.err
39438 } && test -s conftest$ac_exeext &&
39439 $as_test_x conftest$ac_exeext; then
39440 ac_cv_func_sched_yield=yes
39441 else
39442 echo "$as_me: failed program was:" >&5
39443 sed 's/^/| /' conftest.$ac_ext >&5
39444
39445 ac_cv_func_sched_yield=no
39446 fi
39447
39448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39449 conftest$ac_exeext conftest.$ac_ext
39450 fi
39451 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39452 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39453 if test $ac_cv_func_sched_yield = yes; then
39454 cat >>confdefs.h <<\_ACEOF
39455 #define HAVE_SCHED_YIELD 1
39456 _ACEOF
39457
39458 else
39459
39460 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39461 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39462 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39463 echo $ECHO_N "(cached) $ECHO_C" >&6
39464 else
39465 ac_check_lib_save_LIBS=$LIBS
39466 LIBS="-lposix4 $LIBS"
39467 cat >conftest.$ac_ext <<_ACEOF
39468 /* confdefs.h. */
39469 _ACEOF
39470 cat confdefs.h >>conftest.$ac_ext
39471 cat >>conftest.$ac_ext <<_ACEOF
39472 /* end confdefs.h. */
39473
39474 /* Override any GCC internal prototype to avoid an error.
39475 Use char because int might match the return type of a GCC
39476 builtin and then its argument prototype would still apply. */
39477 #ifdef __cplusplus
39478 extern "C"
39479 #endif
39480 char sched_yield ();
39481 int
39482 main ()
39483 {
39484 return sched_yield ();
39485 ;
39486 return 0;
39487 }
39488 _ACEOF
39489 rm -f conftest.$ac_objext conftest$ac_exeext
39490 if { (ac_try="$ac_link"
39491 case "(($ac_try" in
39492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39493 *) ac_try_echo=$ac_try;;
39494 esac
39495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39496 (eval "$ac_link") 2>conftest.er1
39497 ac_status=$?
39498 grep -v '^ *+' conftest.er1 >conftest.err
39499 rm -f conftest.er1
39500 cat conftest.err >&5
39501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39502 (exit $ac_status); } && {
39503 test -z "$ac_c_werror_flag" ||
39504 test ! -s conftest.err
39505 } && test -s conftest$ac_exeext &&
39506 $as_test_x conftest$ac_exeext; then
39507 ac_cv_lib_posix4_sched_yield=yes
39508 else
39509 echo "$as_me: failed program was:" >&5
39510 sed 's/^/| /' conftest.$ac_ext >&5
39511
39512 ac_cv_lib_posix4_sched_yield=no
39513 fi
39514
39515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39516 conftest$ac_exeext conftest.$ac_ext
39517 LIBS=$ac_check_lib_save_LIBS
39518 fi
39519 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39520 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39521 if test $ac_cv_lib_posix4_sched_yield = yes; then
39522 cat >>confdefs.h <<\_ACEOF
39523 #define HAVE_SCHED_YIELD 1
39524 _ACEOF
39525 POSIX4_LINK=" -lposix4"
39526 else
39527 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39528 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39529
39530 fi
39531
39532
39533
39534 fi
39535
39536 fi
39537
39538 HAVE_PRIOR_FUNCS=0
39539 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39540 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39541 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39542 echo $ECHO_N "(cached) $ECHO_C" >&6
39543 else
39544 cat >conftest.$ac_ext <<_ACEOF
39545 /* confdefs.h. */
39546 _ACEOF
39547 cat confdefs.h >>conftest.$ac_ext
39548 cat >>conftest.$ac_ext <<_ACEOF
39549 /* end confdefs.h. */
39550 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39552 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39553
39554 /* System header to define __stub macros and hopefully few prototypes,
39555 which can conflict with char pthread_attr_getschedpolicy (); below.
39556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39557 <limits.h> exists even on freestanding compilers. */
39558
39559 #ifdef __STDC__
39560 # include <limits.h>
39561 #else
39562 # include <assert.h>
39563 #endif
39564
39565 #undef pthread_attr_getschedpolicy
39566
39567 /* Override any GCC internal prototype to avoid an error.
39568 Use char because int might match the return type of a GCC
39569 builtin and then its argument prototype would still apply. */
39570 #ifdef __cplusplus
39571 extern "C"
39572 #endif
39573 char pthread_attr_getschedpolicy ();
39574 /* The GNU C library defines this for functions which it implements
39575 to always fail with ENOSYS. Some functions are actually named
39576 something starting with __ and the normal name is an alias. */
39577 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39578 choke me
39579 #endif
39580
39581 int
39582 main ()
39583 {
39584 return pthread_attr_getschedpolicy ();
39585 ;
39586 return 0;
39587 }
39588 _ACEOF
39589 rm -f conftest.$ac_objext conftest$ac_exeext
39590 if { (ac_try="$ac_link"
39591 case "(($ac_try" in
39592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39593 *) ac_try_echo=$ac_try;;
39594 esac
39595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39596 (eval "$ac_link") 2>conftest.er1
39597 ac_status=$?
39598 grep -v '^ *+' conftest.er1 >conftest.err
39599 rm -f conftest.er1
39600 cat conftest.err >&5
39601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39602 (exit $ac_status); } && {
39603 test -z "$ac_c_werror_flag" ||
39604 test ! -s conftest.err
39605 } && test -s conftest$ac_exeext &&
39606 $as_test_x conftest$ac_exeext; then
39607 ac_cv_func_pthread_attr_getschedpolicy=yes
39608 else
39609 echo "$as_me: failed program was:" >&5
39610 sed 's/^/| /' conftest.$ac_ext >&5
39611
39612 ac_cv_func_pthread_attr_getschedpolicy=no
39613 fi
39614
39615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39616 conftest$ac_exeext conftest.$ac_ext
39617 fi
39618 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39619 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39620 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39621 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39622 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39623 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39624 echo $ECHO_N "(cached) $ECHO_C" >&6
39625 else
39626 cat >conftest.$ac_ext <<_ACEOF
39627 /* confdefs.h. */
39628 _ACEOF
39629 cat confdefs.h >>conftest.$ac_ext
39630 cat >>conftest.$ac_ext <<_ACEOF
39631 /* end confdefs.h. */
39632 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39634 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39635
39636 /* System header to define __stub macros and hopefully few prototypes,
39637 which can conflict with char pthread_attr_setschedparam (); below.
39638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39639 <limits.h> exists even on freestanding compilers. */
39640
39641 #ifdef __STDC__
39642 # include <limits.h>
39643 #else
39644 # include <assert.h>
39645 #endif
39646
39647 #undef pthread_attr_setschedparam
39648
39649 /* Override any GCC internal prototype to avoid an error.
39650 Use char because int might match the return type of a GCC
39651 builtin and then its argument prototype would still apply. */
39652 #ifdef __cplusplus
39653 extern "C"
39654 #endif
39655 char pthread_attr_setschedparam ();
39656 /* The GNU C library defines this for functions which it implements
39657 to always fail with ENOSYS. Some functions are actually named
39658 something starting with __ and the normal name is an alias. */
39659 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39660 choke me
39661 #endif
39662
39663 int
39664 main ()
39665 {
39666 return pthread_attr_setschedparam ();
39667 ;
39668 return 0;
39669 }
39670 _ACEOF
39671 rm -f conftest.$ac_objext conftest$ac_exeext
39672 if { (ac_try="$ac_link"
39673 case "(($ac_try" in
39674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39675 *) ac_try_echo=$ac_try;;
39676 esac
39677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39678 (eval "$ac_link") 2>conftest.er1
39679 ac_status=$?
39680 grep -v '^ *+' conftest.er1 >conftest.err
39681 rm -f conftest.er1
39682 cat conftest.err >&5
39683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39684 (exit $ac_status); } && {
39685 test -z "$ac_c_werror_flag" ||
39686 test ! -s conftest.err
39687 } && test -s conftest$ac_exeext &&
39688 $as_test_x conftest$ac_exeext; then
39689 ac_cv_func_pthread_attr_setschedparam=yes
39690 else
39691 echo "$as_me: failed program was:" >&5
39692 sed 's/^/| /' conftest.$ac_ext >&5
39693
39694 ac_cv_func_pthread_attr_setschedparam=no
39695 fi
39696
39697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39698 conftest$ac_exeext conftest.$ac_ext
39699 fi
39700 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39701 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39702 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39703 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39704 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39705 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39706 echo $ECHO_N "(cached) $ECHO_C" >&6
39707 else
39708 cat >conftest.$ac_ext <<_ACEOF
39709 /* confdefs.h. */
39710 _ACEOF
39711 cat confdefs.h >>conftest.$ac_ext
39712 cat >>conftest.$ac_ext <<_ACEOF
39713 /* end confdefs.h. */
39714 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39716 #define sched_get_priority_max innocuous_sched_get_priority_max
39717
39718 /* System header to define __stub macros and hopefully few prototypes,
39719 which can conflict with char sched_get_priority_max (); below.
39720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39721 <limits.h> exists even on freestanding compilers. */
39722
39723 #ifdef __STDC__
39724 # include <limits.h>
39725 #else
39726 # include <assert.h>
39727 #endif
39728
39729 #undef sched_get_priority_max
39730
39731 /* Override any GCC internal prototype to avoid an error.
39732 Use char because int might match the return type of a GCC
39733 builtin and then its argument prototype would still apply. */
39734 #ifdef __cplusplus
39735 extern "C"
39736 #endif
39737 char sched_get_priority_max ();
39738 /* The GNU C library defines this for functions which it implements
39739 to always fail with ENOSYS. Some functions are actually named
39740 something starting with __ and the normal name is an alias. */
39741 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39742 choke me
39743 #endif
39744
39745 int
39746 main ()
39747 {
39748 return sched_get_priority_max ();
39749 ;
39750 return 0;
39751 }
39752 _ACEOF
39753 rm -f conftest.$ac_objext conftest$ac_exeext
39754 if { (ac_try="$ac_link"
39755 case "(($ac_try" in
39756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39757 *) ac_try_echo=$ac_try;;
39758 esac
39759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39760 (eval "$ac_link") 2>conftest.er1
39761 ac_status=$?
39762 grep -v '^ *+' conftest.er1 >conftest.err
39763 rm -f conftest.er1
39764 cat conftest.err >&5
39765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39766 (exit $ac_status); } && {
39767 test -z "$ac_c_werror_flag" ||
39768 test ! -s conftest.err
39769 } && test -s conftest$ac_exeext &&
39770 $as_test_x conftest$ac_exeext; then
39771 ac_cv_func_sched_get_priority_max=yes
39772 else
39773 echo "$as_me: failed program was:" >&5
39774 sed 's/^/| /' conftest.$ac_ext >&5
39775
39776 ac_cv_func_sched_get_priority_max=no
39777 fi
39778
39779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39780 conftest$ac_exeext conftest.$ac_ext
39781 fi
39782 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39783 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39784 if test $ac_cv_func_sched_get_priority_max = yes; then
39785 HAVE_PRIOR_FUNCS=1
39786 else
39787 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39788 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39789 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39790 echo $ECHO_N "(cached) $ECHO_C" >&6
39791 else
39792 ac_check_lib_save_LIBS=$LIBS
39793 LIBS="-lposix4 $LIBS"
39794 cat >conftest.$ac_ext <<_ACEOF
39795 /* confdefs.h. */
39796 _ACEOF
39797 cat confdefs.h >>conftest.$ac_ext
39798 cat >>conftest.$ac_ext <<_ACEOF
39799 /* end confdefs.h. */
39800
39801 /* Override any GCC internal prototype to avoid an error.
39802 Use char because int might match the return type of a GCC
39803 builtin and then its argument prototype would still apply. */
39804 #ifdef __cplusplus
39805 extern "C"
39806 #endif
39807 char sched_get_priority_max ();
39808 int
39809 main ()
39810 {
39811 return sched_get_priority_max ();
39812 ;
39813 return 0;
39814 }
39815 _ACEOF
39816 rm -f conftest.$ac_objext conftest$ac_exeext
39817 if { (ac_try="$ac_link"
39818 case "(($ac_try" in
39819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39820 *) ac_try_echo=$ac_try;;
39821 esac
39822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39823 (eval "$ac_link") 2>conftest.er1
39824 ac_status=$?
39825 grep -v '^ *+' conftest.er1 >conftest.err
39826 rm -f conftest.er1
39827 cat conftest.err >&5
39828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39829 (exit $ac_status); } && {
39830 test -z "$ac_c_werror_flag" ||
39831 test ! -s conftest.err
39832 } && test -s conftest$ac_exeext &&
39833 $as_test_x conftest$ac_exeext; then
39834 ac_cv_lib_posix4_sched_get_priority_max=yes
39835 else
39836 echo "$as_me: failed program was:" >&5
39837 sed 's/^/| /' conftest.$ac_ext >&5
39838
39839 ac_cv_lib_posix4_sched_get_priority_max=no
39840 fi
39841
39842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39843 conftest$ac_exeext conftest.$ac_ext
39844 LIBS=$ac_check_lib_save_LIBS
39845 fi
39846 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39847 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39848 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39849
39850 HAVE_PRIOR_FUNCS=1
39851 POSIX4_LINK=" -lposix4"
39852
39853 fi
39854
39855
39856 fi
39857
39858
39859 fi
39860
39861
39862 fi
39863
39864
39865 if test "$HAVE_PRIOR_FUNCS" = 1; then
39866 cat >>confdefs.h <<\_ACEOF
39867 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39868 _ACEOF
39869
39870 else
39871 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39872 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39873 fi
39874
39875 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39876 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39877 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39878 echo $ECHO_N "(cached) $ECHO_C" >&6
39879 else
39880 cat >conftest.$ac_ext <<_ACEOF
39881 /* confdefs.h. */
39882 _ACEOF
39883 cat confdefs.h >>conftest.$ac_ext
39884 cat >>conftest.$ac_ext <<_ACEOF
39885 /* end confdefs.h. */
39886 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39888 #define pthread_cancel innocuous_pthread_cancel
39889
39890 /* System header to define __stub macros and hopefully few prototypes,
39891 which can conflict with char pthread_cancel (); below.
39892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39893 <limits.h> exists even on freestanding compilers. */
39894
39895 #ifdef __STDC__
39896 # include <limits.h>
39897 #else
39898 # include <assert.h>
39899 #endif
39900
39901 #undef pthread_cancel
39902
39903 /* Override any GCC internal prototype to avoid an error.
39904 Use char because int might match the return type of a GCC
39905 builtin and then its argument prototype would still apply. */
39906 #ifdef __cplusplus
39907 extern "C"
39908 #endif
39909 char pthread_cancel ();
39910 /* The GNU C library defines this for functions which it implements
39911 to always fail with ENOSYS. Some functions are actually named
39912 something starting with __ and the normal name is an alias. */
39913 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39914 choke me
39915 #endif
39916
39917 int
39918 main ()
39919 {
39920 return pthread_cancel ();
39921 ;
39922 return 0;
39923 }
39924 _ACEOF
39925 rm -f conftest.$ac_objext conftest$ac_exeext
39926 if { (ac_try="$ac_link"
39927 case "(($ac_try" in
39928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39929 *) ac_try_echo=$ac_try;;
39930 esac
39931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39932 (eval "$ac_link") 2>conftest.er1
39933 ac_status=$?
39934 grep -v '^ *+' conftest.er1 >conftest.err
39935 rm -f conftest.er1
39936 cat conftest.err >&5
39937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39938 (exit $ac_status); } && {
39939 test -z "$ac_c_werror_flag" ||
39940 test ! -s conftest.err
39941 } && test -s conftest$ac_exeext &&
39942 $as_test_x conftest$ac_exeext; then
39943 ac_cv_func_pthread_cancel=yes
39944 else
39945 echo "$as_me: failed program was:" >&5
39946 sed 's/^/| /' conftest.$ac_ext >&5
39947
39948 ac_cv_func_pthread_cancel=no
39949 fi
39950
39951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39952 conftest$ac_exeext conftest.$ac_ext
39953 fi
39954 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39955 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39956 if test $ac_cv_func_pthread_cancel = yes; then
39957 cat >>confdefs.h <<\_ACEOF
39958 #define HAVE_PTHREAD_CANCEL 1
39959 _ACEOF
39960
39961 else
39962 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39963 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39964 fi
39965
39966
39967 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39968 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39969 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39970 echo $ECHO_N "(cached) $ECHO_C" >&6
39971 else
39972 cat >conftest.$ac_ext <<_ACEOF
39973 /* confdefs.h. */
39974 _ACEOF
39975 cat confdefs.h >>conftest.$ac_ext
39976 cat >>conftest.$ac_ext <<_ACEOF
39977 /* end confdefs.h. */
39978 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39980 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39981
39982 /* System header to define __stub macros and hopefully few prototypes,
39983 which can conflict with char pthread_mutex_timedlock (); below.
39984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39985 <limits.h> exists even on freestanding compilers. */
39986
39987 #ifdef __STDC__
39988 # include <limits.h>
39989 #else
39990 # include <assert.h>
39991 #endif
39992
39993 #undef pthread_mutex_timedlock
39994
39995 /* Override any GCC internal prototype to avoid an error.
39996 Use char because int might match the return type of a GCC
39997 builtin and then its argument prototype would still apply. */
39998 #ifdef __cplusplus
39999 extern "C"
40000 #endif
40001 char pthread_mutex_timedlock ();
40002 /* The GNU C library defines this for functions which it implements
40003 to always fail with ENOSYS. Some functions are actually named
40004 something starting with __ and the normal name is an alias. */
40005 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40006 choke me
40007 #endif
40008
40009 int
40010 main ()
40011 {
40012 return pthread_mutex_timedlock ();
40013 ;
40014 return 0;
40015 }
40016 _ACEOF
40017 rm -f conftest.$ac_objext conftest$ac_exeext
40018 if { (ac_try="$ac_link"
40019 case "(($ac_try" in
40020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40021 *) ac_try_echo=$ac_try;;
40022 esac
40023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40024 (eval "$ac_link") 2>conftest.er1
40025 ac_status=$?
40026 grep -v '^ *+' conftest.er1 >conftest.err
40027 rm -f conftest.er1
40028 cat conftest.err >&5
40029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40030 (exit $ac_status); } && {
40031 test -z "$ac_c_werror_flag" ||
40032 test ! -s conftest.err
40033 } && test -s conftest$ac_exeext &&
40034 $as_test_x conftest$ac_exeext; then
40035 ac_cv_func_pthread_mutex_timedlock=yes
40036 else
40037 echo "$as_me: failed program was:" >&5
40038 sed 's/^/| /' conftest.$ac_ext >&5
40039
40040 ac_cv_func_pthread_mutex_timedlock=no
40041 fi
40042
40043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40044 conftest$ac_exeext conftest.$ac_ext
40045 fi
40046 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40047 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40048 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40049 cat >>confdefs.h <<\_ACEOF
40050 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40051 _ACEOF
40052
40053 else
40054 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40055 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40056 fi
40057
40058
40059 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40060 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40061 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40062 echo $ECHO_N "(cached) $ECHO_C" >&6
40063 else
40064 cat >conftest.$ac_ext <<_ACEOF
40065 /* confdefs.h. */
40066 _ACEOF
40067 cat confdefs.h >>conftest.$ac_ext
40068 cat >>conftest.$ac_ext <<_ACEOF
40069 /* end confdefs.h. */
40070 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40072 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40073
40074 /* System header to define __stub macros and hopefully few prototypes,
40075 which can conflict with char pthread_attr_setstacksize (); below.
40076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40077 <limits.h> exists even on freestanding compilers. */
40078
40079 #ifdef __STDC__
40080 # include <limits.h>
40081 #else
40082 # include <assert.h>
40083 #endif
40084
40085 #undef pthread_attr_setstacksize
40086
40087 /* Override any GCC internal prototype to avoid an error.
40088 Use char because int might match the return type of a GCC
40089 builtin and then its argument prototype would still apply. */
40090 #ifdef __cplusplus
40091 extern "C"
40092 #endif
40093 char pthread_attr_setstacksize ();
40094 /* The GNU C library defines this for functions which it implements
40095 to always fail with ENOSYS. Some functions are actually named
40096 something starting with __ and the normal name is an alias. */
40097 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40098 choke me
40099 #endif
40100
40101 int
40102 main ()
40103 {
40104 return pthread_attr_setstacksize ();
40105 ;
40106 return 0;
40107 }
40108 _ACEOF
40109 rm -f conftest.$ac_objext conftest$ac_exeext
40110 if { (ac_try="$ac_link"
40111 case "(($ac_try" in
40112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40113 *) ac_try_echo=$ac_try;;
40114 esac
40115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40116 (eval "$ac_link") 2>conftest.er1
40117 ac_status=$?
40118 grep -v '^ *+' conftest.er1 >conftest.err
40119 rm -f conftest.er1
40120 cat conftest.err >&5
40121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122 (exit $ac_status); } && {
40123 test -z "$ac_c_werror_flag" ||
40124 test ! -s conftest.err
40125 } && test -s conftest$ac_exeext &&
40126 $as_test_x conftest$ac_exeext; then
40127 ac_cv_func_pthread_attr_setstacksize=yes
40128 else
40129 echo "$as_me: failed program was:" >&5
40130 sed 's/^/| /' conftest.$ac_ext >&5
40131
40132 ac_cv_func_pthread_attr_setstacksize=no
40133 fi
40134
40135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40136 conftest$ac_exeext conftest.$ac_ext
40137 fi
40138 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40139 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40140 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40141 cat >>confdefs.h <<\_ACEOF
40142 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40143 _ACEOF
40144
40145 fi
40146
40147
40148
40149 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40150 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40151 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40152 echo $ECHO_N "(cached) $ECHO_C" >&6
40153 else
40154
40155 cat >conftest.$ac_ext <<_ACEOF
40156 /* confdefs.h. */
40157 _ACEOF
40158 cat confdefs.h >>conftest.$ac_ext
40159 cat >>conftest.$ac_ext <<_ACEOF
40160 /* end confdefs.h. */
40161 #include <pthread.h>
40162 int
40163 main ()
40164 {
40165
40166 pthread_mutexattr_t attr;
40167 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40168
40169 ;
40170 return 0;
40171 }
40172 _ACEOF
40173 rm -f conftest.$ac_objext
40174 if { (ac_try="$ac_compile"
40175 case "(($ac_try" in
40176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40177 *) ac_try_echo=$ac_try;;
40178 esac
40179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40180 (eval "$ac_compile") 2>conftest.er1
40181 ac_status=$?
40182 grep -v '^ *+' conftest.er1 >conftest.err
40183 rm -f conftest.er1
40184 cat conftest.err >&5
40185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40186 (exit $ac_status); } && {
40187 test -z "$ac_c_werror_flag" ||
40188 test ! -s conftest.err
40189 } && test -s conftest.$ac_objext; then
40190 wx_cv_type_pthread_mutexattr_t=yes
40191 else
40192 echo "$as_me: failed program was:" >&5
40193 sed 's/^/| /' conftest.$ac_ext >&5
40194
40195 wx_cv_type_pthread_mutexattr_t=no
40196
40197 fi
40198
40199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40200
40201 fi
40202 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40203 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40204
40205 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40206 cat >>confdefs.h <<\_ACEOF
40207 #define HAVE_PTHREAD_MUTEXATTR_T 1
40208 _ACEOF
40209
40210
40211 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40212 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40213 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40214 echo $ECHO_N "(cached) $ECHO_C" >&6
40215 else
40216
40217 cat >conftest.$ac_ext <<_ACEOF
40218 /* confdefs.h. */
40219 _ACEOF
40220 cat confdefs.h >>conftest.$ac_ext
40221 cat >>conftest.$ac_ext <<_ACEOF
40222 /* end confdefs.h. */
40223 #include <pthread.h>
40224 int
40225 main ()
40226 {
40227
40228 pthread_mutexattr_t attr;
40229 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40230
40231 ;
40232 return 0;
40233 }
40234 _ACEOF
40235 rm -f conftest.$ac_objext
40236 if { (ac_try="$ac_compile"
40237 case "(($ac_try" in
40238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40239 *) ac_try_echo=$ac_try;;
40240 esac
40241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40242 (eval "$ac_compile") 2>conftest.er1
40243 ac_status=$?
40244 grep -v '^ *+' conftest.er1 >conftest.err
40245 rm -f conftest.er1
40246 cat conftest.err >&5
40247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40248 (exit $ac_status); } && {
40249 test -z "$ac_c_werror_flag" ||
40250 test ! -s conftest.err
40251 } && test -s conftest.$ac_objext; then
40252 wx_cv_func_pthread_mutexattr_settype_decl=yes
40253 else
40254 echo "$as_me: failed program was:" >&5
40255 sed 's/^/| /' conftest.$ac_ext >&5
40256
40257 wx_cv_func_pthread_mutexattr_settype_decl=no
40258
40259 fi
40260
40261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40262
40263 fi
40264 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40265 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40266 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40267 cat >>confdefs.h <<\_ACEOF
40268 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40269 _ACEOF
40270
40271 fi
40272 else
40273 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40274 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40275 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40276 echo $ECHO_N "(cached) $ECHO_C" >&6
40277 else
40278
40279 cat >conftest.$ac_ext <<_ACEOF
40280 /* confdefs.h. */
40281 _ACEOF
40282 cat confdefs.h >>conftest.$ac_ext
40283 cat >>conftest.$ac_ext <<_ACEOF
40284 /* end confdefs.h. */
40285 #include <pthread.h>
40286 int
40287 main ()
40288 {
40289
40290 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40291
40292 ;
40293 return 0;
40294 }
40295 _ACEOF
40296 rm -f conftest.$ac_objext
40297 if { (ac_try="$ac_compile"
40298 case "(($ac_try" in
40299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40300 *) ac_try_echo=$ac_try;;
40301 esac
40302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40303 (eval "$ac_compile") 2>conftest.er1
40304 ac_status=$?
40305 grep -v '^ *+' conftest.er1 >conftest.err
40306 rm -f conftest.er1
40307 cat conftest.err >&5
40308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40309 (exit $ac_status); } && {
40310 test -z "$ac_c_werror_flag" ||
40311 test ! -s conftest.err
40312 } && test -s conftest.$ac_objext; then
40313
40314 wx_cv_type_pthread_rec_mutex_init=yes
40315
40316 else
40317 echo "$as_me: failed program was:" >&5
40318 sed 's/^/| /' conftest.$ac_ext >&5
40319
40320
40321 wx_cv_type_pthread_rec_mutex_init=no
40322
40323
40324 fi
40325
40326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40327
40328 fi
40329 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40330 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40331 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40332 cat >>confdefs.h <<\_ACEOF
40333 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40334 _ACEOF
40335
40336 else
40337 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40338 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40339 fi
40340 fi
40341
40342 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40343 if test "$USE_NETBSD" = 1; then
40344 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40345 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40346 wxUSE_COMPILER_TLS=no
40347 else
40348 wxUSE_COMPILER_TLS=yes
40349 fi
40350 fi
40351
40352 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40353 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40354 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40355 if test "${wx_cv_cc___thread+set}" = set; then
40356 echo $ECHO_N "(cached) $ECHO_C" >&6
40357 else
40358
40359 cat >conftest.$ac_ext <<_ACEOF
40360 /* confdefs.h. */
40361 _ACEOF
40362 cat confdefs.h >>conftest.$ac_ext
40363 cat >>conftest.$ac_ext <<_ACEOF
40364 /* end confdefs.h. */
40365 #include <pthread.h>
40366 int
40367 main ()
40368 {
40369
40370 static __thread int n = 0;
40371 static __thread int *p = 0;
40372
40373 ;
40374 return 0;
40375 }
40376 _ACEOF
40377 rm -f conftest.$ac_objext
40378 if { (ac_try="$ac_compile"
40379 case "(($ac_try" in
40380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40381 *) ac_try_echo=$ac_try;;
40382 esac
40383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40384 (eval "$ac_compile") 2>conftest.er1
40385 ac_status=$?
40386 grep -v '^ *+' conftest.er1 >conftest.err
40387 rm -f conftest.er1
40388 cat conftest.err >&5
40389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40390 (exit $ac_status); } && {
40391 test -z "$ac_c_werror_flag" ||
40392 test ! -s conftest.err
40393 } && test -s conftest.$ac_objext; then
40394 wx_cv_cc___thread=yes
40395 else
40396 echo "$as_me: failed program was:" >&5
40397 sed 's/^/| /' conftest.$ac_ext >&5
40398
40399 wx_cv_cc___thread=no
40400
40401 fi
40402
40403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40404
40405
40406 fi
40407 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40408 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40409
40410 if test "$wx_cv_cc___thread" = "yes"; then
40411
40412 GXX_VERSION=""
40413
40414
40415
40416 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40417 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40418
40419 if test "x$GCC" = "xyes" ; then
40420
40421 if test -z "" ; then
40422
40423 ax_gcc_option_test="int main()
40424 {
40425 return 0;
40426 }"
40427
40428 else
40429
40430 ax_gcc_option_test=""
40431
40432 fi
40433
40434
40435 # Dump the test program to file
40436 cat <<EOF > conftest.c
40437 $ax_gcc_option_test
40438 EOF
40439
40440 # Dump back the file to the log, useful for debugging purposes
40441 { ac_try='cat conftest.c 1>&5'
40442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40443 (eval $ac_try) 2>&5
40444 ac_status=$?
40445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40446 (exit $ac_status); }; }
40447
40448 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40450 (eval $ac_try) 2>&5
40451 ac_status=$?
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); }; } ; then
40454
40455 { echo "$as_me:$LINENO: result: yes" >&5
40456 echo "${ECHO_T}yes" >&6; }
40457
40458 ax_gcc_version_option=yes
40459
40460
40461 else
40462
40463 { echo "$as_me:$LINENO: result: no" >&5
40464 echo "${ECHO_T}no" >&6; }
40465
40466 ax_gcc_version_option=no
40467
40468
40469 fi
40470
40471
40472 else
40473
40474 { echo "$as_me:$LINENO: result: no gcc available" >&5
40475 echo "${ECHO_T}no gcc available" >&6; }
40476
40477 fi
40478
40479
40480 if test "x$GXX" = "xyes"; then
40481
40482 if test "x$ax_gxx_version_option" != "no"; then
40483
40484 { echo "$as_me:$LINENO: checking gxx version" >&5
40485 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40486 if test "${ax_cv_gxx_version+set}" = set; then
40487 echo $ECHO_N "(cached) $ECHO_C" >&6
40488 else
40489
40490 ax_cv_gxx_version="`$CXX -dumpversion`"
40491 if test "x$ax_cv_gxx_version" = "x"; then
40492
40493 ax_cv_gxx_version=""
40494
40495 fi
40496
40497
40498 fi
40499 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40500 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40501 GXX_VERSION=$ax_cv_gxx_version
40502
40503 fi
40504
40505
40506 fi
40507
40508
40509
40510 if test -n "$ax_cv_gxx_version"; then
40511 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40512 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40513 case "$ax_cv_gxx_version" in
40514 1.* | 2.* | 3.* )
40515 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40516 echo "${ECHO_T}no, it's broken" >&6; }
40517 wx_cv_cc___thread=no
40518 ;;
40519 *)
40520 { echo "$as_me:$LINENO: result: yes, it works" >&5
40521 echo "${ECHO_T}yes, it works" >&6; }
40522 ;;
40523 esac
40524 fi
40525 fi
40526
40527 if test "$wx_cv_cc___thread" = "yes"; then
40528 cat >>confdefs.h <<\_ACEOF
40529 #define HAVE___THREAD_KEYWORD 1
40530 _ACEOF
40531
40532 fi
40533 fi
40534 fi
40535
40536 else
40537 if test "$wxUSE_THREADS" = "yes" ; then
40538 case "${host}" in
40539 x86_64-*-mingw32* )
40540 ;;
40541 *-*-mingw32* )
40542 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40543 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40544 if test "${wx_cv_cflags_mthread+set}" = set; then
40545 echo $ECHO_N "(cached) $ECHO_C" >&6
40546 else
40547
40548 CFLAGS_OLD="$CFLAGS"
40549 CFLAGS="-mthreads $CFLAGS"
40550 cat >conftest.$ac_ext <<_ACEOF
40551 /* confdefs.h. */
40552 _ACEOF
40553 cat confdefs.h >>conftest.$ac_ext
40554 cat >>conftest.$ac_ext <<_ACEOF
40555 /* end confdefs.h. */
40556
40557 int
40558 main ()
40559 {
40560
40561 ;
40562 return 0;
40563 }
40564 _ACEOF
40565 rm -f conftest.$ac_objext
40566 if { (ac_try="$ac_compile"
40567 case "(($ac_try" in
40568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40569 *) ac_try_echo=$ac_try;;
40570 esac
40571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40572 (eval "$ac_compile") 2>conftest.er1
40573 ac_status=$?
40574 grep -v '^ *+' conftest.er1 >conftest.err
40575 rm -f conftest.er1
40576 cat conftest.err >&5
40577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40578 (exit $ac_status); } && {
40579 test -z "$ac_c_werror_flag" ||
40580 test ! -s conftest.err
40581 } && test -s conftest.$ac_objext; then
40582 wx_cv_cflags_mthread=yes
40583 else
40584 echo "$as_me: failed program was:" >&5
40585 sed 's/^/| /' conftest.$ac_ext >&5
40586
40587 wx_cv_cflags_mthread=no
40588
40589 fi
40590
40591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40592
40593
40594 fi
40595 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40596 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40597
40598 if test "$wx_cv_cflags_mthread" = "yes"; then
40599 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40600 LDFLAGS="$LDFLAGS -mthreads"
40601 else
40602 CFLAGS="$CFLAGS_OLD"
40603 fi
40604 ;;
40605 *-pc-os2*emx )
40606 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40607 LDFLAGS="$LDFLAGS -Zmt"
40608 ;;
40609 esac
40610 fi
40611 fi
40612
40613 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40614 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40615 if test "${ac_cv_func_localtime_r+set}" = set; then
40616 echo $ECHO_N "(cached) $ECHO_C" >&6
40617 else
40618 cat >conftest.$ac_ext <<_ACEOF
40619 /* confdefs.h. */
40620 _ACEOF
40621 cat confdefs.h >>conftest.$ac_ext
40622 cat >>conftest.$ac_ext <<_ACEOF
40623 /* end confdefs.h. */
40624 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40626 #define localtime_r innocuous_localtime_r
40627
40628 /* System header to define __stub macros and hopefully few prototypes,
40629 which can conflict with char localtime_r (); below.
40630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40631 <limits.h> exists even on freestanding compilers. */
40632
40633 #ifdef __STDC__
40634 # include <limits.h>
40635 #else
40636 # include <assert.h>
40637 #endif
40638
40639 #undef localtime_r
40640
40641 /* Override any GCC internal prototype to avoid an error.
40642 Use char because int might match the return type of a GCC
40643 builtin and then its argument prototype would still apply. */
40644 #ifdef __cplusplus
40645 extern "C"
40646 #endif
40647 char localtime_r ();
40648 /* The GNU C library defines this for functions which it implements
40649 to always fail with ENOSYS. Some functions are actually named
40650 something starting with __ and the normal name is an alias. */
40651 #if defined __stub_localtime_r || defined __stub___localtime_r
40652 choke me
40653 #endif
40654
40655 int
40656 main ()
40657 {
40658 return localtime_r ();
40659 ;
40660 return 0;
40661 }
40662 _ACEOF
40663 rm -f conftest.$ac_objext conftest$ac_exeext
40664 if { (ac_try="$ac_link"
40665 case "(($ac_try" in
40666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40667 *) ac_try_echo=$ac_try;;
40668 esac
40669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40670 (eval "$ac_link") 2>conftest.er1
40671 ac_status=$?
40672 grep -v '^ *+' conftest.er1 >conftest.err
40673 rm -f conftest.er1
40674 cat conftest.err >&5
40675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40676 (exit $ac_status); } && {
40677 test -z "$ac_c_werror_flag" ||
40678 test ! -s conftest.err
40679 } && test -s conftest$ac_exeext &&
40680 $as_test_x conftest$ac_exeext; then
40681 ac_cv_func_localtime_r=yes
40682 else
40683 echo "$as_me: failed program was:" >&5
40684 sed 's/^/| /' conftest.$ac_ext >&5
40685
40686 ac_cv_func_localtime_r=no
40687 fi
40688
40689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40690 conftest$ac_exeext conftest.$ac_ext
40691 fi
40692 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40693 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40694 if test $ac_cv_func_localtime_r = yes; then
40695 cat >>confdefs.h <<\_ACEOF
40696 #define HAVE_LOCALTIME_R 1
40697 _ACEOF
40698
40699 fi
40700
40701 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40702 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40703 if test "${ac_cv_func_gmtime_r+set}" = set; then
40704 echo $ECHO_N "(cached) $ECHO_C" >&6
40705 else
40706 cat >conftest.$ac_ext <<_ACEOF
40707 /* confdefs.h. */
40708 _ACEOF
40709 cat confdefs.h >>conftest.$ac_ext
40710 cat >>conftest.$ac_ext <<_ACEOF
40711 /* end confdefs.h. */
40712 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40714 #define gmtime_r innocuous_gmtime_r
40715
40716 /* System header to define __stub macros and hopefully few prototypes,
40717 which can conflict with char gmtime_r (); below.
40718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40719 <limits.h> exists even on freestanding compilers. */
40720
40721 #ifdef __STDC__
40722 # include <limits.h>
40723 #else
40724 # include <assert.h>
40725 #endif
40726
40727 #undef gmtime_r
40728
40729 /* Override any GCC internal prototype to avoid an error.
40730 Use char because int might match the return type of a GCC
40731 builtin and then its argument prototype would still apply. */
40732 #ifdef __cplusplus
40733 extern "C"
40734 #endif
40735 char gmtime_r ();
40736 /* The GNU C library defines this for functions which it implements
40737 to always fail with ENOSYS. Some functions are actually named
40738 something starting with __ and the normal name is an alias. */
40739 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40740 choke me
40741 #endif
40742
40743 int
40744 main ()
40745 {
40746 return gmtime_r ();
40747 ;
40748 return 0;
40749 }
40750 _ACEOF
40751 rm -f conftest.$ac_objext conftest$ac_exeext
40752 if { (ac_try="$ac_link"
40753 case "(($ac_try" in
40754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40755 *) ac_try_echo=$ac_try;;
40756 esac
40757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40758 (eval "$ac_link") 2>conftest.er1
40759 ac_status=$?
40760 grep -v '^ *+' conftest.er1 >conftest.err
40761 rm -f conftest.er1
40762 cat conftest.err >&5
40763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40764 (exit $ac_status); } && {
40765 test -z "$ac_c_werror_flag" ||
40766 test ! -s conftest.err
40767 } && test -s conftest$ac_exeext &&
40768 $as_test_x conftest$ac_exeext; then
40769 ac_cv_func_gmtime_r=yes
40770 else
40771 echo "$as_me: failed program was:" >&5
40772 sed 's/^/| /' conftest.$ac_ext >&5
40773
40774 ac_cv_func_gmtime_r=no
40775 fi
40776
40777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40778 conftest$ac_exeext conftest.$ac_ext
40779 fi
40780 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40781 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40782 if test $ac_cv_func_gmtime_r = yes; then
40783 cat >>confdefs.h <<\_ACEOF
40784 #define HAVE_GMTIME_R 1
40785 _ACEOF
40786
40787 fi
40788
40789
40790
40791
40792 ac_ext=c
40793 ac_cpp='$CPP $CPPFLAGS'
40794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40797
40798 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40799 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40800
40801 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40802 echo $ECHO_N "(cached) $ECHO_C" >&6
40803 else
40804
40805
40806 ################################################################
40807
40808 ac_cv_func_which_gethostbyname_r=unknown
40809
40810 #
40811 # ONE ARGUMENT (sanity check)
40812 #
40813
40814 # This should fail, as there is no variant of gethostbyname_r() that takes
40815 # a single argument. If it actually compiles, then we can assume that
40816 # netdb.h is not declaring the function, and the compiler is thereby
40817 # assuming an implicit prototype. In which case, we're out of luck.
40818 #
40819 cat >conftest.$ac_ext <<_ACEOF
40820 /* confdefs.h. */
40821 _ACEOF
40822 cat confdefs.h >>conftest.$ac_ext
40823 cat >>conftest.$ac_ext <<_ACEOF
40824 /* end confdefs.h. */
40825 #include <netdb.h>
40826 int
40827 main ()
40828 {
40829
40830 char *name = "www.gnu.org";
40831 (void)gethostbyname_r(name) /* ; */
40832
40833 ;
40834 return 0;
40835 }
40836 _ACEOF
40837 rm -f conftest.$ac_objext
40838 if { (ac_try="$ac_compile"
40839 case "(($ac_try" in
40840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40841 *) ac_try_echo=$ac_try;;
40842 esac
40843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40844 (eval "$ac_compile") 2>conftest.er1
40845 ac_status=$?
40846 grep -v '^ *+' conftest.er1 >conftest.err
40847 rm -f conftest.er1
40848 cat conftest.err >&5
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); } && {
40851 test -z "$ac_c_werror_flag" ||
40852 test ! -s conftest.err
40853 } && test -s conftest.$ac_objext; then
40854 ac_cv_func_which_gethostbyname_r=no
40855 else
40856 echo "$as_me: failed program was:" >&5
40857 sed 's/^/| /' conftest.$ac_ext >&5
40858
40859
40860 fi
40861
40862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40863
40864 #
40865 # SIX ARGUMENTS
40866 # (e.g. Linux)
40867 #
40868
40869 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40870
40871 cat >conftest.$ac_ext <<_ACEOF
40872 /* confdefs.h. */
40873 _ACEOF
40874 cat confdefs.h >>conftest.$ac_ext
40875 cat >>conftest.$ac_ext <<_ACEOF
40876 /* end confdefs.h. */
40877 #include <netdb.h>
40878 int
40879 main ()
40880 {
40881
40882 char *name = "www.gnu.org";
40883 struct hostent ret, *retp;
40884 char buf[1024];
40885 int buflen = 1024;
40886 int my_h_errno;
40887 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40888
40889 ;
40890 return 0;
40891 }
40892 _ACEOF
40893 rm -f conftest.$ac_objext
40894 if { (ac_try="$ac_compile"
40895 case "(($ac_try" in
40896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40897 *) ac_try_echo=$ac_try;;
40898 esac
40899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40900 (eval "$ac_compile") 2>conftest.er1
40901 ac_status=$?
40902 grep -v '^ *+' conftest.er1 >conftest.err
40903 rm -f conftest.er1
40904 cat conftest.err >&5
40905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40906 (exit $ac_status); } && {
40907 test -z "$ac_c_werror_flag" ||
40908 test ! -s conftest.err
40909 } && test -s conftest.$ac_objext; then
40910 ac_cv_func_which_gethostbyname_r=six
40911 else
40912 echo "$as_me: failed program was:" >&5
40913 sed 's/^/| /' conftest.$ac_ext >&5
40914
40915
40916 fi
40917
40918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40919
40920 fi
40921
40922 #
40923 # FIVE ARGUMENTS
40924 # (e.g. Solaris)
40925 #
40926
40927 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40928
40929 cat >conftest.$ac_ext <<_ACEOF
40930 /* confdefs.h. */
40931 _ACEOF
40932 cat confdefs.h >>conftest.$ac_ext
40933 cat >>conftest.$ac_ext <<_ACEOF
40934 /* end confdefs.h. */
40935 #include <netdb.h>
40936 int
40937 main ()
40938 {
40939
40940 char *name = "www.gnu.org";
40941 struct hostent ret;
40942 char buf[1024];
40943 int buflen = 1024;
40944 int my_h_errno;
40945 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40946
40947 ;
40948 return 0;
40949 }
40950 _ACEOF
40951 rm -f conftest.$ac_objext
40952 if { (ac_try="$ac_compile"
40953 case "(($ac_try" in
40954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40955 *) ac_try_echo=$ac_try;;
40956 esac
40957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40958 (eval "$ac_compile") 2>conftest.er1
40959 ac_status=$?
40960 grep -v '^ *+' conftest.er1 >conftest.err
40961 rm -f conftest.er1
40962 cat conftest.err >&5
40963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40964 (exit $ac_status); } && {
40965 test -z "$ac_c_werror_flag" ||
40966 test ! -s conftest.err
40967 } && test -s conftest.$ac_objext; then
40968 ac_cv_func_which_gethostbyname_r=five
40969 else
40970 echo "$as_me: failed program was:" >&5
40971 sed 's/^/| /' conftest.$ac_ext >&5
40972
40973
40974 fi
40975
40976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40977
40978 fi
40979
40980 #
40981 # THREE ARGUMENTS
40982 # (e.g. AIX, HP-UX, Tru64)
40983 #
40984
40985 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40986
40987 cat >conftest.$ac_ext <<_ACEOF
40988 /* confdefs.h. */
40989 _ACEOF
40990 cat confdefs.h >>conftest.$ac_ext
40991 cat >>conftest.$ac_ext <<_ACEOF
40992 /* end confdefs.h. */
40993 #include <netdb.h>
40994 int
40995 main ()
40996 {
40997
40998 char *name = "www.gnu.org";
40999 struct hostent ret;
41000 struct hostent_data data;
41001 (void)gethostbyname_r(name, &ret, &data) /* ; */
41002
41003 ;
41004 return 0;
41005 }
41006 _ACEOF
41007 rm -f conftest.$ac_objext
41008 if { (ac_try="$ac_compile"
41009 case "(($ac_try" in
41010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41011 *) ac_try_echo=$ac_try;;
41012 esac
41013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41014 (eval "$ac_compile") 2>conftest.er1
41015 ac_status=$?
41016 grep -v '^ *+' conftest.er1 >conftest.err
41017 rm -f conftest.er1
41018 cat conftest.err >&5
41019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41020 (exit $ac_status); } && {
41021 test -z "$ac_c_werror_flag" ||
41022 test ! -s conftest.err
41023 } && test -s conftest.$ac_objext; then
41024 ac_cv_func_which_gethostbyname_r=three
41025 else
41026 echo "$as_me: failed program was:" >&5
41027 sed 's/^/| /' conftest.$ac_ext >&5
41028
41029
41030 fi
41031
41032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41033
41034 fi
41035
41036 ################################################################
41037
41038
41039 fi
41040
41041 case "$ac_cv_func_which_gethostbyname_r" in
41042 three)
41043 { echo "$as_me:$LINENO: result: three" >&5
41044 echo "${ECHO_T}three" >&6; }
41045 cat >>confdefs.h <<\_ACEOF
41046 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41047 _ACEOF
41048
41049 ;;
41050
41051 five)
41052 { echo "$as_me:$LINENO: result: five" >&5
41053 echo "${ECHO_T}five" >&6; }
41054 cat >>confdefs.h <<\_ACEOF
41055 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41056 _ACEOF
41057
41058 ;;
41059
41060 six)
41061 { echo "$as_me:$LINENO: result: six" >&5
41062 echo "${ECHO_T}six" >&6; }
41063 cat >>confdefs.h <<\_ACEOF
41064 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41065 _ACEOF
41066
41067 ;;
41068
41069 no)
41070 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41071 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41072 ;;
41073
41074 unknown)
41075 { echo "$as_me:$LINENO: result: can't tell" >&5
41076 echo "${ECHO_T}can't tell" >&6; }
41077 ;;
41078
41079 *)
41080 { { echo "$as_me:$LINENO: error: internal error" >&5
41081 echo "$as_me: error: internal error" >&2;}
41082 { (exit 1); exit 1; }; }
41083 ;;
41084 esac
41085
41086 ac_ext=c
41087 ac_cpp='$CPP $CPPFLAGS'
41088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41091
41092
41093
41094 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41095 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41096 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41097 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41098 if test "${ac_cv_func_gethostbyname+set}" = set; then
41099 echo $ECHO_N "(cached) $ECHO_C" >&6
41100 else
41101 cat >conftest.$ac_ext <<_ACEOF
41102 /* confdefs.h. */
41103 _ACEOF
41104 cat confdefs.h >>conftest.$ac_ext
41105 cat >>conftest.$ac_ext <<_ACEOF
41106 /* end confdefs.h. */
41107 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41109 #define gethostbyname innocuous_gethostbyname
41110
41111 /* System header to define __stub macros and hopefully few prototypes,
41112 which can conflict with char gethostbyname (); below.
41113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41114 <limits.h> exists even on freestanding compilers. */
41115
41116 #ifdef __STDC__
41117 # include <limits.h>
41118 #else
41119 # include <assert.h>
41120 #endif
41121
41122 #undef gethostbyname
41123
41124 /* Override any GCC internal prototype to avoid an error.
41125 Use char because int might match the return type of a GCC
41126 builtin and then its argument prototype would still apply. */
41127 #ifdef __cplusplus
41128 extern "C"
41129 #endif
41130 char gethostbyname ();
41131 /* The GNU C library defines this for functions which it implements
41132 to always fail with ENOSYS. Some functions are actually named
41133 something starting with __ and the normal name is an alias. */
41134 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41135 choke me
41136 #endif
41137
41138 int
41139 main ()
41140 {
41141 return gethostbyname ();
41142 ;
41143 return 0;
41144 }
41145 _ACEOF
41146 rm -f conftest.$ac_objext conftest$ac_exeext
41147 if { (ac_try="$ac_link"
41148 case "(($ac_try" in
41149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41150 *) ac_try_echo=$ac_try;;
41151 esac
41152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41153 (eval "$ac_link") 2>conftest.er1
41154 ac_status=$?
41155 grep -v '^ *+' conftest.er1 >conftest.err
41156 rm -f conftest.er1
41157 cat conftest.err >&5
41158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41159 (exit $ac_status); } && {
41160 test -z "$ac_c_werror_flag" ||
41161 test ! -s conftest.err
41162 } && test -s conftest$ac_exeext &&
41163 $as_test_x conftest$ac_exeext; then
41164 ac_cv_func_gethostbyname=yes
41165 else
41166 echo "$as_me: failed program was:" >&5
41167 sed 's/^/| /' conftest.$ac_ext >&5
41168
41169 ac_cv_func_gethostbyname=no
41170 fi
41171
41172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41173 conftest$ac_exeext conftest.$ac_ext
41174 fi
41175 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41176 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41177 if test $ac_cv_func_gethostbyname = yes; then
41178 cat >>confdefs.h <<\_ACEOF
41179 #define HAVE_GETHOSTBYNAME 1
41180 _ACEOF
41181
41182 fi
41183
41184 fi
41185
41186 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41187 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41188 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41189 echo $ECHO_N "(cached) $ECHO_C" >&6
41190 else
41191
41192 ac_ext=cpp
41193 ac_cpp='$CXXCPP $CPPFLAGS'
41194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41197
41198
41199 cat >conftest.$ac_ext <<_ACEOF
41200 /* confdefs.h. */
41201 _ACEOF
41202 cat confdefs.h >>conftest.$ac_ext
41203 cat >>conftest.$ac_ext <<_ACEOF
41204 /* end confdefs.h. */
41205 #include <netdb.h>
41206 int
41207 main ()
41208 {
41209
41210 char *name;
41211 char *proto;
41212 struct servent *se, *res;
41213 char buffer[2048];
41214 int buflen = 2048;
41215 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41216
41217 ;
41218 return 0;
41219 }
41220 _ACEOF
41221 rm -f conftest.$ac_objext
41222 if { (ac_try="$ac_compile"
41223 case "(($ac_try" in
41224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41225 *) ac_try_echo=$ac_try;;
41226 esac
41227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41228 (eval "$ac_compile") 2>conftest.er1
41229 ac_status=$?
41230 grep -v '^ *+' conftest.er1 >conftest.err
41231 rm -f conftest.er1
41232 cat conftest.err >&5
41233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41234 (exit $ac_status); } && {
41235 test -z "$ac_cxx_werror_flag" ||
41236 test ! -s conftest.err
41237 } && test -s conftest.$ac_objext; then
41238 ac_cv_func_which_getservbyname_r=six
41239 else
41240 echo "$as_me: failed program was:" >&5
41241 sed 's/^/| /' conftest.$ac_ext >&5
41242
41243
41244 cat >conftest.$ac_ext <<_ACEOF
41245 /* confdefs.h. */
41246 _ACEOF
41247 cat confdefs.h >>conftest.$ac_ext
41248 cat >>conftest.$ac_ext <<_ACEOF
41249 /* end confdefs.h. */
41250 #include <netdb.h>
41251 int
41252 main ()
41253 {
41254
41255 char *name;
41256 char *proto;
41257 struct servent *se;
41258 char buffer[2048];
41259 int buflen = 2048;
41260 (void) getservbyname_r(name, proto, se, buffer, buflen)
41261
41262 ;
41263 return 0;
41264 }
41265 _ACEOF
41266 rm -f conftest.$ac_objext
41267 if { (ac_try="$ac_compile"
41268 case "(($ac_try" in
41269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41270 *) ac_try_echo=$ac_try;;
41271 esac
41272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41273 (eval "$ac_compile") 2>conftest.er1
41274 ac_status=$?
41275 grep -v '^ *+' conftest.er1 >conftest.err
41276 rm -f conftest.er1
41277 cat conftest.err >&5
41278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41279 (exit $ac_status); } && {
41280 test -z "$ac_cxx_werror_flag" ||
41281 test ! -s conftest.err
41282 } && test -s conftest.$ac_objext; then
41283 ac_cv_func_which_getservbyname_r=five
41284 else
41285 echo "$as_me: failed program was:" >&5
41286 sed 's/^/| /' conftest.$ac_ext >&5
41287
41288
41289 cat >conftest.$ac_ext <<_ACEOF
41290 /* confdefs.h. */
41291 _ACEOF
41292 cat confdefs.h >>conftest.$ac_ext
41293 cat >>conftest.$ac_ext <<_ACEOF
41294 /* end confdefs.h. */
41295 #include <netdb.h>
41296 int
41297 main ()
41298 {
41299
41300 char *name;
41301 char *proto;
41302 struct servent *se;
41303 struct servent_data data;
41304 (void) getservbyname_r(name, proto, se, &data);
41305
41306 ;
41307 return 0;
41308 }
41309 _ACEOF
41310 rm -f conftest.$ac_objext
41311 if { (ac_try="$ac_compile"
41312 case "(($ac_try" in
41313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41314 *) ac_try_echo=$ac_try;;
41315 esac
41316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41317 (eval "$ac_compile") 2>conftest.er1
41318 ac_status=$?
41319 grep -v '^ *+' conftest.er1 >conftest.err
41320 rm -f conftest.er1
41321 cat conftest.err >&5
41322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41323 (exit $ac_status); } && {
41324 test -z "$ac_cxx_werror_flag" ||
41325 test ! -s conftest.err
41326 } && test -s conftest.$ac_objext; then
41327 ac_cv_func_which_getservbyname_r=four
41328 else
41329 echo "$as_me: failed program was:" >&5
41330 sed 's/^/| /' conftest.$ac_ext >&5
41331
41332 ac_cv_func_which_getservbyname_r=no
41333
41334 fi
41335
41336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41337
41338
41339 fi
41340
41341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41342
41343
41344 fi
41345
41346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41347 ac_ext=c
41348 ac_cpp='$CPP $CPPFLAGS'
41349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41352
41353
41354
41355 fi
41356 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41357 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41358
41359 if test $ac_cv_func_which_getservbyname_r = six; then
41360 cat >>confdefs.h <<\_ACEOF
41361 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41362 _ACEOF
41363
41364 elif test $ac_cv_func_which_getservbyname_r = five; then
41365 cat >>confdefs.h <<\_ACEOF
41366 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41367 _ACEOF
41368
41369 elif test $ac_cv_func_which_getservbyname_r = four; then
41370 cat >>confdefs.h <<\_ACEOF
41371 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41372 _ACEOF
41373
41374 fi
41375
41376
41377 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41378 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41379
41380 for ac_func in getservbyname
41381 do
41382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41383 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41385 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41386 echo $ECHO_N "(cached) $ECHO_C" >&6
41387 else
41388 cat >conftest.$ac_ext <<_ACEOF
41389 /* confdefs.h. */
41390 _ACEOF
41391 cat confdefs.h >>conftest.$ac_ext
41392 cat >>conftest.$ac_ext <<_ACEOF
41393 /* end confdefs.h. */
41394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41396 #define $ac_func innocuous_$ac_func
41397
41398 /* System header to define __stub macros and hopefully few prototypes,
41399 which can conflict with char $ac_func (); below.
41400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41401 <limits.h> exists even on freestanding compilers. */
41402
41403 #ifdef __STDC__
41404 # include <limits.h>
41405 #else
41406 # include <assert.h>
41407 #endif
41408
41409 #undef $ac_func
41410
41411 /* Override any GCC internal prototype to avoid an error.
41412 Use char because int might match the return type of a GCC
41413 builtin and then its argument prototype would still apply. */
41414 #ifdef __cplusplus
41415 extern "C"
41416 #endif
41417 char $ac_func ();
41418 /* The GNU C library defines this for functions which it implements
41419 to always fail with ENOSYS. Some functions are actually named
41420 something starting with __ and the normal name is an alias. */
41421 #if defined __stub_$ac_func || defined __stub___$ac_func
41422 choke me
41423 #endif
41424
41425 int
41426 main ()
41427 {
41428 return $ac_func ();
41429 ;
41430 return 0;
41431 }
41432 _ACEOF
41433 rm -f conftest.$ac_objext conftest$ac_exeext
41434 if { (ac_try="$ac_link"
41435 case "(($ac_try" in
41436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41437 *) ac_try_echo=$ac_try;;
41438 esac
41439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41440 (eval "$ac_link") 2>conftest.er1
41441 ac_status=$?
41442 grep -v '^ *+' conftest.er1 >conftest.err
41443 rm -f conftest.er1
41444 cat conftest.err >&5
41445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41446 (exit $ac_status); } && {
41447 test -z "$ac_c_werror_flag" ||
41448 test ! -s conftest.err
41449 } && test -s conftest$ac_exeext &&
41450 $as_test_x conftest$ac_exeext; then
41451 eval "$as_ac_var=yes"
41452 else
41453 echo "$as_me: failed program was:" >&5
41454 sed 's/^/| /' conftest.$ac_ext >&5
41455
41456 eval "$as_ac_var=no"
41457 fi
41458
41459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41460 conftest$ac_exeext conftest.$ac_ext
41461 fi
41462 ac_res=`eval echo '${'$as_ac_var'}'`
41463 { echo "$as_me:$LINENO: result: $ac_res" >&5
41464 echo "${ECHO_T}$ac_res" >&6; }
41465 if test `eval echo '${'$as_ac_var'}'` = yes; then
41466 cat >>confdefs.h <<_ACEOF
41467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41468 _ACEOF
41469 cat >>confdefs.h <<\_ACEOF
41470 #define HAVE_GETSERVBYNAME 1
41471 _ACEOF
41472
41473 fi
41474 done
41475
41476 fi
41477
41478 if test "$wxUSE_THREADS" = "yes"; then
41479 cat >>confdefs.h <<\_ACEOF
41480 #define wxUSE_THREADS 1
41481 _ACEOF
41482
41483
41484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41485 else
41486 if test "$wx_cv_func_strtok_r" = "yes"; then
41487 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41488 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41489 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41490 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41491 { echo "$as_me:$LINENO: result: yes" >&5
41492 echo "${ECHO_T}yes" >&6; }
41493 else
41494 { echo "$as_me:$LINENO: result: no" >&5
41495 echo "${ECHO_T}no" >&6; }
41496 fi
41497 fi
41498 fi
41499
41500 if test "$WXGTK2" = 1 ; then
41501 cat >>confdefs.h <<_ACEOF
41502 #define __WXGTK20__ $WXGTK2
41503 _ACEOF
41504
41505 WXGTK12=1
41506 fi
41507
41508 if test "$WXGTK12" = 1 ; then
41509 cat >>confdefs.h <<_ACEOF
41510 #define __WXGTK12__ $WXGTK12
41511 _ACEOF
41512
41513 fi
41514
41515 if test "$WXGTK127" = 1 ; then
41516 cat >>confdefs.h <<_ACEOF
41517 #define __WXGTK127__ $WXGTK127
41518 _ACEOF
41519
41520 fi
41521
41522 if test "$WXGPE" = 1 ; then
41523 cat >>confdefs.h <<_ACEOF
41524 #define __WXGPE__ $WXGPE
41525 _ACEOF
41526
41527 fi
41528
41529 DEBUG_CFLAGS=
41530 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41531 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41532 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41533 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41534 DEBUG_CFLAGS="-g"
41535 fi
41536
41537 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41538 wxUSE_DEBUG_INFO=yes
41539 if test "$GCC" = yes; then
41540 DEBUG_CFLAGS="-ggdb"
41541 fi
41542 fi
41543
41544 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41545 if test "$wxUSE_GTK" = 1 ; then
41546 if test "x$wxGTK_VERSION" = "x1" ; then
41547 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41548 fi
41549 fi
41550 fi
41551
41552 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41553 cat >>confdefs.h <<\_ACEOF
41554 #define wxUSE_MEMORY_TRACING 1
41555 _ACEOF
41556
41557 cat >>confdefs.h <<\_ACEOF
41558 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41559 _ACEOF
41560
41561 cat >>confdefs.h <<\_ACEOF
41562 #define wxUSE_DEBUG_NEW_ALWAYS 1
41563 _ACEOF
41564
41565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41566 fi
41567
41568 if test "$wxUSE_DMALLOC" = "yes" ; then
41569 DMALLOC_LIBS="-ldmallocthcxx"
41570 fi
41571
41572 PROFILE_FLAGS=
41573 if test "$wxUSE_PROFILE" = "yes" ; then
41574 PROFILE_FLAGS=" -pg"
41575 fi
41576
41577 if test "$GCC" = "yes" ; then
41578 if test "$wxUSE_NO_RTTI" = "yes" ; then
41579 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41580 fi
41581 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41582 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41583 fi
41584 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41585 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41586 fi
41587
41588 case "${host}" in
41589 powerpc*-*-aix* )
41590 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41591 ;;
41592 *-hppa* )
41593 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41594 ;;
41595 esac
41596 fi
41597
41598 OPTIMISE_CFLAGS=
41599 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41600 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41601 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41602 else
41603 if test "$wxUSE_OPTIMISE" = "no" ; then
41604 if test "$GCC" = yes ; then
41605 OPTIMISE_CFLAGS="-O0"
41606 fi
41607 else
41608 if test "$GCC" = yes ; then
41609 case "${host}" in
41610 *-pc-os2_emx | *-pc-os2-emx )
41611 OPTIMISE_CFLAGS="-O2"
41612 ;;
41613 *)
41614 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41615 ;;
41616 esac
41617 else
41618 OPTIMISE_CFLAGS="-O"
41619 fi
41620 fi
41621 fi
41622
41623
41624 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41625 cat >>confdefs.h <<\_ACEOF
41626 #define WXWIN_COMPATIBILITY_2_6 1
41627 _ACEOF
41628
41629
41630 WXWIN_COMPATIBILITY_2_8="yes"
41631 fi
41632
41633 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41634 cat >>confdefs.h <<\_ACEOF
41635 #define WXWIN_COMPATIBILITY_2_8 1
41636 _ACEOF
41637
41638 fi
41639
41640
41641 if test "$wxUSE_GUI" = "yes"; then
41642 cat >>confdefs.h <<\_ACEOF
41643 #define wxUSE_GUI 1
41644 _ACEOF
41645
41646
41647 fi
41648
41649
41650 if test "$wxUSE_UNIX" = "yes"; then
41651 cat >>confdefs.h <<\_ACEOF
41652 #define wxUSE_UNIX 1
41653 _ACEOF
41654
41655 fi
41656
41657
41658 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41659
41660 HAVE_DL_FUNCS=0
41661 HAVE_SHL_FUNCS=0
41662 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41663 if test "$USE_DOS" = 1; then
41664 HAVE_DL_FUNCS=0
41665 else
41666
41667 for ac_func in dlopen
41668 do
41669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41670 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41672 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41673 echo $ECHO_N "(cached) $ECHO_C" >&6
41674 else
41675 cat >conftest.$ac_ext <<_ACEOF
41676 /* confdefs.h. */
41677 _ACEOF
41678 cat confdefs.h >>conftest.$ac_ext
41679 cat >>conftest.$ac_ext <<_ACEOF
41680 /* end confdefs.h. */
41681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41683 #define $ac_func innocuous_$ac_func
41684
41685 /* System header to define __stub macros and hopefully few prototypes,
41686 which can conflict with char $ac_func (); below.
41687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41688 <limits.h> exists even on freestanding compilers. */
41689
41690 #ifdef __STDC__
41691 # include <limits.h>
41692 #else
41693 # include <assert.h>
41694 #endif
41695
41696 #undef $ac_func
41697
41698 /* Override any GCC internal prototype to avoid an error.
41699 Use char because int might match the return type of a GCC
41700 builtin and then its argument prototype would still apply. */
41701 #ifdef __cplusplus
41702 extern "C"
41703 #endif
41704 char $ac_func ();
41705 /* The GNU C library defines this for functions which it implements
41706 to always fail with ENOSYS. Some functions are actually named
41707 something starting with __ and the normal name is an alias. */
41708 #if defined __stub_$ac_func || defined __stub___$ac_func
41709 choke me
41710 #endif
41711
41712 int
41713 main ()
41714 {
41715 return $ac_func ();
41716 ;
41717 return 0;
41718 }
41719 _ACEOF
41720 rm -f conftest.$ac_objext conftest$ac_exeext
41721 if { (ac_try="$ac_link"
41722 case "(($ac_try" in
41723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41724 *) ac_try_echo=$ac_try;;
41725 esac
41726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41727 (eval "$ac_link") 2>conftest.er1
41728 ac_status=$?
41729 grep -v '^ *+' conftest.er1 >conftest.err
41730 rm -f conftest.er1
41731 cat conftest.err >&5
41732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41733 (exit $ac_status); } && {
41734 test -z "$ac_c_werror_flag" ||
41735 test ! -s conftest.err
41736 } && test -s conftest$ac_exeext &&
41737 $as_test_x conftest$ac_exeext; then
41738 eval "$as_ac_var=yes"
41739 else
41740 echo "$as_me: failed program was:" >&5
41741 sed 's/^/| /' conftest.$ac_ext >&5
41742
41743 eval "$as_ac_var=no"
41744 fi
41745
41746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41747 conftest$ac_exeext conftest.$ac_ext
41748 fi
41749 ac_res=`eval echo '${'$as_ac_var'}'`
41750 { echo "$as_me:$LINENO: result: $ac_res" >&5
41751 echo "${ECHO_T}$ac_res" >&6; }
41752 if test `eval echo '${'$as_ac_var'}'` = yes; then
41753 cat >>confdefs.h <<_ACEOF
41754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41755 _ACEOF
41756
41757 cat >>confdefs.h <<\_ACEOF
41758 #define HAVE_DLOPEN 1
41759 _ACEOF
41760
41761 HAVE_DL_FUNCS=1
41762
41763 else
41764
41765 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41766 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41767 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41768 echo $ECHO_N "(cached) $ECHO_C" >&6
41769 else
41770 ac_check_lib_save_LIBS=$LIBS
41771 LIBS="-ldl $LIBS"
41772 cat >conftest.$ac_ext <<_ACEOF
41773 /* confdefs.h. */
41774 _ACEOF
41775 cat confdefs.h >>conftest.$ac_ext
41776 cat >>conftest.$ac_ext <<_ACEOF
41777 /* end confdefs.h. */
41778
41779 /* Override any GCC internal prototype to avoid an error.
41780 Use char because int might match the return type of a GCC
41781 builtin and then its argument prototype would still apply. */
41782 #ifdef __cplusplus
41783 extern "C"
41784 #endif
41785 char dlopen ();
41786 int
41787 main ()
41788 {
41789 return dlopen ();
41790 ;
41791 return 0;
41792 }
41793 _ACEOF
41794 rm -f conftest.$ac_objext conftest$ac_exeext
41795 if { (ac_try="$ac_link"
41796 case "(($ac_try" in
41797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41798 *) ac_try_echo=$ac_try;;
41799 esac
41800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41801 (eval "$ac_link") 2>conftest.er1
41802 ac_status=$?
41803 grep -v '^ *+' conftest.er1 >conftest.err
41804 rm -f conftest.er1
41805 cat conftest.err >&5
41806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41807 (exit $ac_status); } && {
41808 test -z "$ac_c_werror_flag" ||
41809 test ! -s conftest.err
41810 } && test -s conftest$ac_exeext &&
41811 $as_test_x conftest$ac_exeext; then
41812 ac_cv_lib_dl_dlopen=yes
41813 else
41814 echo "$as_me: failed program was:" >&5
41815 sed 's/^/| /' conftest.$ac_ext >&5
41816
41817 ac_cv_lib_dl_dlopen=no
41818 fi
41819
41820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41821 conftest$ac_exeext conftest.$ac_ext
41822 LIBS=$ac_check_lib_save_LIBS
41823 fi
41824 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41825 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41826 if test $ac_cv_lib_dl_dlopen = yes; then
41827
41828 cat >>confdefs.h <<\_ACEOF
41829 #define HAVE_DLOPEN 1
41830 _ACEOF
41831
41832 HAVE_DL_FUNCS=1
41833 DL_LINK=" -ldl$DL_LINK"
41834
41835 else
41836
41837
41838 for ac_func in shl_load
41839 do
41840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41841 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41843 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41844 echo $ECHO_N "(cached) $ECHO_C" >&6
41845 else
41846 cat >conftest.$ac_ext <<_ACEOF
41847 /* confdefs.h. */
41848 _ACEOF
41849 cat confdefs.h >>conftest.$ac_ext
41850 cat >>conftest.$ac_ext <<_ACEOF
41851 /* end confdefs.h. */
41852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41854 #define $ac_func innocuous_$ac_func
41855
41856 /* System header to define __stub macros and hopefully few prototypes,
41857 which can conflict with char $ac_func (); below.
41858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41859 <limits.h> exists even on freestanding compilers. */
41860
41861 #ifdef __STDC__
41862 # include <limits.h>
41863 #else
41864 # include <assert.h>
41865 #endif
41866
41867 #undef $ac_func
41868
41869 /* Override any GCC internal prototype to avoid an error.
41870 Use char because int might match the return type of a GCC
41871 builtin and then its argument prototype would still apply. */
41872 #ifdef __cplusplus
41873 extern "C"
41874 #endif
41875 char $ac_func ();
41876 /* The GNU C library defines this for functions which it implements
41877 to always fail with ENOSYS. Some functions are actually named
41878 something starting with __ and the normal name is an alias. */
41879 #if defined __stub_$ac_func || defined __stub___$ac_func
41880 choke me
41881 #endif
41882
41883 int
41884 main ()
41885 {
41886 return $ac_func ();
41887 ;
41888 return 0;
41889 }
41890 _ACEOF
41891 rm -f conftest.$ac_objext conftest$ac_exeext
41892 if { (ac_try="$ac_link"
41893 case "(($ac_try" in
41894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41895 *) ac_try_echo=$ac_try;;
41896 esac
41897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41898 (eval "$ac_link") 2>conftest.er1
41899 ac_status=$?
41900 grep -v '^ *+' conftest.er1 >conftest.err
41901 rm -f conftest.er1
41902 cat conftest.err >&5
41903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41904 (exit $ac_status); } && {
41905 test -z "$ac_c_werror_flag" ||
41906 test ! -s conftest.err
41907 } && test -s conftest$ac_exeext &&
41908 $as_test_x conftest$ac_exeext; then
41909 eval "$as_ac_var=yes"
41910 else
41911 echo "$as_me: failed program was:" >&5
41912 sed 's/^/| /' conftest.$ac_ext >&5
41913
41914 eval "$as_ac_var=no"
41915 fi
41916
41917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41918 conftest$ac_exeext conftest.$ac_ext
41919 fi
41920 ac_res=`eval echo '${'$as_ac_var'}'`
41921 { echo "$as_me:$LINENO: result: $ac_res" >&5
41922 echo "${ECHO_T}$ac_res" >&6; }
41923 if test `eval echo '${'$as_ac_var'}'` = yes; then
41924 cat >>confdefs.h <<_ACEOF
41925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41926 _ACEOF
41927
41928 cat >>confdefs.h <<\_ACEOF
41929 #define HAVE_SHL_LOAD 1
41930 _ACEOF
41931
41932 HAVE_SHL_FUNCS=1
41933
41934 else
41935
41936 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41937 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41938 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41939 echo $ECHO_N "(cached) $ECHO_C" >&6
41940 else
41941 ac_check_lib_save_LIBS=$LIBS
41942 LIBS="-lshl_load $LIBS"
41943 cat >conftest.$ac_ext <<_ACEOF
41944 /* confdefs.h. */
41945 _ACEOF
41946 cat confdefs.h >>conftest.$ac_ext
41947 cat >>conftest.$ac_ext <<_ACEOF
41948 /* end confdefs.h. */
41949
41950 /* Override any GCC internal prototype to avoid an error.
41951 Use char because int might match the return type of a GCC
41952 builtin and then its argument prototype would still apply. */
41953 #ifdef __cplusplus
41954 extern "C"
41955 #endif
41956 char dld ();
41957 int
41958 main ()
41959 {
41960 return dld ();
41961 ;
41962 return 0;
41963 }
41964 _ACEOF
41965 rm -f conftest.$ac_objext conftest$ac_exeext
41966 if { (ac_try="$ac_link"
41967 case "(($ac_try" in
41968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41969 *) ac_try_echo=$ac_try;;
41970 esac
41971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41972 (eval "$ac_link") 2>conftest.er1
41973 ac_status=$?
41974 grep -v '^ *+' conftest.er1 >conftest.err
41975 rm -f conftest.er1
41976 cat conftest.err >&5
41977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41978 (exit $ac_status); } && {
41979 test -z "$ac_c_werror_flag" ||
41980 test ! -s conftest.err
41981 } && test -s conftest$ac_exeext &&
41982 $as_test_x conftest$ac_exeext; then
41983 ac_cv_lib_shl_load_dld=yes
41984 else
41985 echo "$as_me: failed program was:" >&5
41986 sed 's/^/| /' conftest.$ac_ext >&5
41987
41988 ac_cv_lib_shl_load_dld=no
41989 fi
41990
41991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41992 conftest$ac_exeext conftest.$ac_ext
41993 LIBS=$ac_check_lib_save_LIBS
41994 fi
41995 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41996 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41997 if test $ac_cv_lib_shl_load_dld = yes; then
41998
41999 HAVE_SHL_FUNCS=1
42000 DL_LINK=" -ldld$DL_LINK"
42001
42002 fi
42003
42004
42005 fi
42006 done
42007
42008
42009 fi
42010
42011
42012 fi
42013 done
42014
42015
42016 if test "$HAVE_DL_FUNCS" = 1; then
42017
42018 for ac_func in dlerror
42019 do
42020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42024 echo $ECHO_N "(cached) $ECHO_C" >&6
42025 else
42026 cat >conftest.$ac_ext <<_ACEOF
42027 /* confdefs.h. */
42028 _ACEOF
42029 cat confdefs.h >>conftest.$ac_ext
42030 cat >>conftest.$ac_ext <<_ACEOF
42031 /* end confdefs.h. */
42032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42034 #define $ac_func innocuous_$ac_func
42035
42036 /* System header to define __stub macros and hopefully few prototypes,
42037 which can conflict with char $ac_func (); below.
42038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42039 <limits.h> exists even on freestanding compilers. */
42040
42041 #ifdef __STDC__
42042 # include <limits.h>
42043 #else
42044 # include <assert.h>
42045 #endif
42046
42047 #undef $ac_func
42048
42049 /* Override any GCC internal prototype to avoid an error.
42050 Use char because int might match the return type of a GCC
42051 builtin and then its argument prototype would still apply. */
42052 #ifdef __cplusplus
42053 extern "C"
42054 #endif
42055 char $ac_func ();
42056 /* The GNU C library defines this for functions which it implements
42057 to always fail with ENOSYS. Some functions are actually named
42058 something starting with __ and the normal name is an alias. */
42059 #if defined __stub_$ac_func || defined __stub___$ac_func
42060 choke me
42061 #endif
42062
42063 int
42064 main ()
42065 {
42066 return $ac_func ();
42067 ;
42068 return 0;
42069 }
42070 _ACEOF
42071 rm -f conftest.$ac_objext conftest$ac_exeext
42072 if { (ac_try="$ac_link"
42073 case "(($ac_try" in
42074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42075 *) ac_try_echo=$ac_try;;
42076 esac
42077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42078 (eval "$ac_link") 2>conftest.er1
42079 ac_status=$?
42080 grep -v '^ *+' conftest.er1 >conftest.err
42081 rm -f conftest.er1
42082 cat conftest.err >&5
42083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42084 (exit $ac_status); } && {
42085 test -z "$ac_c_werror_flag" ||
42086 test ! -s conftest.err
42087 } && test -s conftest$ac_exeext &&
42088 $as_test_x conftest$ac_exeext; then
42089 eval "$as_ac_var=yes"
42090 else
42091 echo "$as_me: failed program was:" >&5
42092 sed 's/^/| /' conftest.$ac_ext >&5
42093
42094 eval "$as_ac_var=no"
42095 fi
42096
42097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42098 conftest$ac_exeext conftest.$ac_ext
42099 fi
42100 ac_res=`eval echo '${'$as_ac_var'}'`
42101 { echo "$as_me:$LINENO: result: $ac_res" >&5
42102 echo "${ECHO_T}$ac_res" >&6; }
42103 if test `eval echo '${'$as_ac_var'}'` = yes; then
42104 cat >>confdefs.h <<_ACEOF
42105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42106 _ACEOF
42107 cat >>confdefs.h <<\_ACEOF
42108 #define HAVE_DLERROR 1
42109 _ACEOF
42110
42111 else
42112
42113 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42114 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42115 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42116 echo $ECHO_N "(cached) $ECHO_C" >&6
42117 else
42118 ac_check_lib_save_LIBS=$LIBS
42119 LIBS="-ldl $LIBS"
42120 cat >conftest.$ac_ext <<_ACEOF
42121 /* confdefs.h. */
42122 _ACEOF
42123 cat confdefs.h >>conftest.$ac_ext
42124 cat >>conftest.$ac_ext <<_ACEOF
42125 /* end confdefs.h. */
42126
42127 /* Override any GCC internal prototype to avoid an error.
42128 Use char because int might match the return type of a GCC
42129 builtin and then its argument prototype would still apply. */
42130 #ifdef __cplusplus
42131 extern "C"
42132 #endif
42133 char dlerror ();
42134 int
42135 main ()
42136 {
42137 return dlerror ();
42138 ;
42139 return 0;
42140 }
42141 _ACEOF
42142 rm -f conftest.$ac_objext conftest$ac_exeext
42143 if { (ac_try="$ac_link"
42144 case "(($ac_try" in
42145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42146 *) ac_try_echo=$ac_try;;
42147 esac
42148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42149 (eval "$ac_link") 2>conftest.er1
42150 ac_status=$?
42151 grep -v '^ *+' conftest.er1 >conftest.err
42152 rm -f conftest.er1
42153 cat conftest.err >&5
42154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42155 (exit $ac_status); } && {
42156 test -z "$ac_c_werror_flag" ||
42157 test ! -s conftest.err
42158 } && test -s conftest$ac_exeext &&
42159 $as_test_x conftest$ac_exeext; then
42160 ac_cv_lib_dl_dlerror=yes
42161 else
42162 echo "$as_me: failed program was:" >&5
42163 sed 's/^/| /' conftest.$ac_ext >&5
42164
42165 ac_cv_lib_dl_dlerror=no
42166 fi
42167
42168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42169 conftest$ac_exeext conftest.$ac_ext
42170 LIBS=$ac_check_lib_save_LIBS
42171 fi
42172 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42173 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42174 if test $ac_cv_lib_dl_dlerror = yes; then
42175 cat >>confdefs.h <<\_ACEOF
42176 #define HAVE_DLERROR 1
42177 _ACEOF
42178
42179 fi
42180
42181
42182
42183 fi
42184 done
42185
42186 fi
42187 fi
42188
42189 if test "$USE_DARWIN" = 1; then
42190 HAVE_DL_FUNCS=1
42191 fi
42192
42193 if test "$HAVE_DL_FUNCS" = 0; then
42194 if test "$HAVE_SHL_FUNCS" = 0; then
42195 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42196 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42197 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42198 wxUSE_DYNAMIC_LOADER=no
42199 wxUSE_DYNLIB_CLASS=no
42200 else
42201 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42202 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42203 fi
42204 fi
42205 fi
42206 fi
42207 fi
42208
42209 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42210 cat >>confdefs.h <<\_ACEOF
42211 #define wxUSE_DYNAMIC_LOADER 1
42212 _ACEOF
42213
42214 fi
42215 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42216 cat >>confdefs.h <<\_ACEOF
42217 #define wxUSE_DYNLIB_CLASS 1
42218 _ACEOF
42219
42220 fi
42221
42222
42223
42224 if test "$wxUSE_PLUGINS" = "yes" ; then
42225 if test "$wxUSE_SHARED" = "no" ; then
42226 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42227 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42228 wxUSE_PLUGINS=no
42229 fi
42230 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42231 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42232 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42233 wxUSE_PLUGINS=no
42234 fi
42235 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42236 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42237 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42238 wxUSE_PLUGINS=no
42239 fi
42240 if test "$wxUSE_PLUGINS" = "yes" ; then
42241 cat >>confdefs.h <<\_ACEOF
42242 #define wxUSE_PLUGINS 1
42243 _ACEOF
42244
42245 fi
42246 fi
42247
42248
42249 if test "$wxUSE_STL" = "yes"; then
42250 cat >>confdefs.h <<\_ACEOF
42251 #define wxUSE_STL 1
42252 _ACEOF
42253
42254 fi
42255
42256 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42257 cat >>confdefs.h <<\_ACEOF
42258 #define wxUSE_EXTENDED_RTTI 1
42259 _ACEOF
42260
42261 fi
42262
42263 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42264 cat >>confdefs.h <<\_ACEOF
42265 #define wxUSE_APPLE_IEEE 1
42266 _ACEOF
42267
42268 fi
42269
42270 if test "$wxUSE_TIMER" = "yes"; then
42271 cat >>confdefs.h <<\_ACEOF
42272 #define wxUSE_TIMER 1
42273 _ACEOF
42274
42275 fi
42276
42277 if test "$USE_UNIX" = 1 ; then
42278 if test "$wxUSE_MGL" != 1; then
42279 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42280 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42281 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42282 echo $ECHO_N "(cached) $ECHO_C" >&6
42283 else
42284
42285 cat >conftest.$ac_ext <<_ACEOF
42286 /* confdefs.h. */
42287 _ACEOF
42288 cat confdefs.h >>conftest.$ac_ext
42289 cat >>conftest.$ac_ext <<_ACEOF
42290 /* end confdefs.h. */
42291
42292 #include <sys/ioctl.h>
42293 #include <sys/soundcard.h>
42294
42295 int
42296 main ()
42297 {
42298
42299 ioctl(0, SNDCTL_DSP_SPEED, 0);
42300
42301 ;
42302 return 0;
42303 }
42304 _ACEOF
42305 rm -f conftest.$ac_objext conftest$ac_exeext
42306 if { (ac_try="$ac_link"
42307 case "(($ac_try" in
42308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42309 *) ac_try_echo=$ac_try;;
42310 esac
42311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42312 (eval "$ac_link") 2>conftest.er1
42313 ac_status=$?
42314 grep -v '^ *+' conftest.er1 >conftest.err
42315 rm -f conftest.er1
42316 cat conftest.err >&5
42317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42318 (exit $ac_status); } && {
42319 test -z "$ac_c_werror_flag" ||
42320 test ! -s conftest.err
42321 } && test -s conftest$ac_exeext &&
42322 $as_test_x conftest$ac_exeext; then
42323 ac_cv_header_sys_soundcard=yes
42324 else
42325 echo "$as_me: failed program was:" >&5
42326 sed 's/^/| /' conftest.$ac_ext >&5
42327
42328
42329 saveLibs="$LIBS"
42330 LIBS="$saveLibs -lossaudio"
42331 cat >conftest.$ac_ext <<_ACEOF
42332 /* confdefs.h. */
42333 _ACEOF
42334 cat confdefs.h >>conftest.$ac_ext
42335 cat >>conftest.$ac_ext <<_ACEOF
42336 /* end confdefs.h. */
42337
42338 #include <sys/ioctl.h>
42339 #include <sys/soundcard.h>
42340
42341 int
42342 main ()
42343 {
42344
42345 ioctl(0, SNDCTL_DSP_SPEED, 0);
42346
42347 ;
42348 return 0;
42349 }
42350 _ACEOF
42351 rm -f conftest.$ac_objext conftest$ac_exeext
42352 if { (ac_try="$ac_link"
42353 case "(($ac_try" in
42354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42355 *) ac_try_echo=$ac_try;;
42356 esac
42357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42358 (eval "$ac_link") 2>conftest.er1
42359 ac_status=$?
42360 grep -v '^ *+' conftest.er1 >conftest.err
42361 rm -f conftest.er1
42362 cat conftest.err >&5
42363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42364 (exit $ac_status); } && {
42365 test -z "$ac_c_werror_flag" ||
42366 test ! -s conftest.err
42367 } && test -s conftest$ac_exeext &&
42368 $as_test_x conftest$ac_exeext; then
42369 ac_cv_header_sys_soundcard=yes
42370 else
42371 echo "$as_me: failed program was:" >&5
42372 sed 's/^/| /' conftest.$ac_ext >&5
42373
42374
42375 LIBS="$saveLibs"
42376 ac_cv_header_sys_soundcard=no
42377
42378
42379 fi
42380
42381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42382 conftest$ac_exeext conftest.$ac_ext
42383
42384
42385 fi
42386
42387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42388 conftest$ac_exeext conftest.$ac_ext
42389
42390 fi
42391 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42392 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42393 fi
42394
42395 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42396 cat >>confdefs.h <<\_ACEOF
42397 #define HAVE_SYS_SOUNDCARD_H 1
42398 _ACEOF
42399
42400 fi
42401 fi
42402
42403 WITH_PLUGIN_SDL=0
42404 if test "$wxUSE_SOUND" = "yes"; then
42405 if test "$USE_UNIX" = 1 ; then
42406 if test "$wxUSE_LIBSDL" != "no"; then
42407
42408 # Check whether --with-sdl-prefix was given.
42409 if test "${with_sdl_prefix+set}" = set; then
42410 withval=$with_sdl_prefix; sdl_prefix="$withval"
42411 else
42412 sdl_prefix=""
42413 fi
42414
42415
42416 # Check whether --with-sdl-exec-prefix was given.
42417 if test "${with_sdl_exec_prefix+set}" = set; then
42418 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42419 else
42420 sdl_exec_prefix=""
42421 fi
42422
42423 # Check whether --enable-sdltest was given.
42424 if test "${enable_sdltest+set}" = set; then
42425 enableval=$enable_sdltest;
42426 else
42427 enable_sdltest=yes
42428 fi
42429
42430
42431 if test x$sdl_exec_prefix != x ; then
42432 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42433 if test x${SDL_CONFIG+set} != xset ; then
42434 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42435 fi
42436 fi
42437 if test x$sdl_prefix != x ; then
42438 sdl_args="$sdl_args --prefix=$sdl_prefix"
42439 if test x${SDL_CONFIG+set} != xset ; then
42440 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42441 fi
42442 fi
42443
42444 if test "x$prefix" != xNONE; then
42445 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42446 fi
42447 # Extract the first word of "sdl-config", so it can be a program name with args.
42448 set dummy sdl-config; ac_word=$2
42449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42451 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42452 echo $ECHO_N "(cached) $ECHO_C" >&6
42453 else
42454 case $SDL_CONFIG in
42455 [\\/]* | ?:[\\/]*)
42456 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42457 ;;
42458 *)
42459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42460 for as_dir in $PATH
42461 do
42462 IFS=$as_save_IFS
42463 test -z "$as_dir" && as_dir=.
42464 for ac_exec_ext in '' $ac_executable_extensions; do
42465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42466 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42468 break 2
42469 fi
42470 done
42471 done
42472 IFS=$as_save_IFS
42473
42474 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42475 ;;
42476 esac
42477 fi
42478 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42479 if test -n "$SDL_CONFIG"; then
42480 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42481 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42482 else
42483 { echo "$as_me:$LINENO: result: no" >&5
42484 echo "${ECHO_T}no" >&6; }
42485 fi
42486
42487
42488 min_sdl_version=1.2.0
42489 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42490 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42491 no_sdl=""
42492 if test "$SDL_CONFIG" = "no" ; then
42493 no_sdl=yes
42494 else
42495 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42496 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42497
42498 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42500 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42501 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42502 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42503 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42504 if test "x$enable_sdltest" = "xyes" ; then
42505 ac_save_CFLAGS="$CFLAGS"
42506 ac_save_CXXFLAGS="$CXXFLAGS"
42507 ac_save_LIBS="$LIBS"
42508 CFLAGS="$CFLAGS $SDL_CFLAGS"
42509 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42510 LIBS="$LIBS $SDL_LIBS"
42511 rm -f conf.sdltest
42512 if test "$cross_compiling" = yes; then
42513 echo $ac_n "cross compiling; assumed OK... $ac_c"
42514 else
42515 cat >conftest.$ac_ext <<_ACEOF
42516 /* confdefs.h. */
42517 _ACEOF
42518 cat confdefs.h >>conftest.$ac_ext
42519 cat >>conftest.$ac_ext <<_ACEOF
42520 /* end confdefs.h. */
42521
42522 #include <stdio.h>
42523 #include <stdlib.h>
42524 #include <string.h>
42525 #include "SDL.h"
42526
42527 char*
42528 my_strdup (char *str)
42529 {
42530 char *new_str;
42531
42532 if (str)
42533 {
42534 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42535 strcpy (new_str, str);
42536 }
42537 else
42538 new_str = NULL;
42539
42540 return new_str;
42541 }
42542
42543 int main (int argc, char *argv[])
42544 {
42545 int major, minor, micro;
42546 char *tmp_version;
42547
42548 /* This hangs on some systems (?)
42549 system ("touch conf.sdltest");
42550 */
42551 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42552
42553 /* HP/UX 9 (%@#!) writes to sscanf strings */
42554 tmp_version = my_strdup("$min_sdl_version");
42555 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42556 printf("%s, bad version string\n", "$min_sdl_version");
42557 exit(1);
42558 }
42559
42560 if (($sdl_major_version > major) ||
42561 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42562 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42563 {
42564 return 0;
42565 }
42566 else
42567 {
42568 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42569 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42570 printf("*** best to upgrade to the required version.\n");
42571 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42572 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42573 printf("*** config.cache before re-running configure\n");
42574 return 1;
42575 }
42576 }
42577
42578
42579 _ACEOF
42580 rm -f conftest$ac_exeext
42581 if { (ac_try="$ac_link"
42582 case "(($ac_try" in
42583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42584 *) ac_try_echo=$ac_try;;
42585 esac
42586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42587 (eval "$ac_link") 2>&5
42588 ac_status=$?
42589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42590 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42591 { (case "(($ac_try" in
42592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42593 *) ac_try_echo=$ac_try;;
42594 esac
42595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42596 (eval "$ac_try") 2>&5
42597 ac_status=$?
42598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42599 (exit $ac_status); }; }; then
42600 :
42601 else
42602 echo "$as_me: program exited with status $ac_status" >&5
42603 echo "$as_me: failed program was:" >&5
42604 sed 's/^/| /' conftest.$ac_ext >&5
42605
42606 ( exit $ac_status )
42607 no_sdl=yes
42608 fi
42609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42610 fi
42611
42612
42613 CFLAGS="$ac_save_CFLAGS"
42614 CXXFLAGS="$ac_save_CXXFLAGS"
42615 LIBS="$ac_save_LIBS"
42616 fi
42617 fi
42618 if test "x$no_sdl" = x ; then
42619 { echo "$as_me:$LINENO: result: yes" >&5
42620 echo "${ECHO_T}yes" >&6; }
42621
42622 EXTRALIBS_SDL="$SDL_LIBS"
42623 CFLAGS="$SDL_CFLAGS $CFLAGS"
42624 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42625 cat >>confdefs.h <<\_ACEOF
42626 #define wxUSE_LIBSDL 1
42627 _ACEOF
42628
42629
42630 else
42631 { echo "$as_me:$LINENO: result: no" >&5
42632 echo "${ECHO_T}no" >&6; }
42633 if test "$SDL_CONFIG" = "no" ; then
42634 echo "*** The sdl-config script installed by SDL could not be found"
42635 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42636 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42637 echo "*** full path to sdl-config."
42638 else
42639 if test -f conf.sdltest ; then
42640 :
42641 else
42642 echo "*** Could not run SDL test program, checking why..."
42643 CFLAGS="$CFLAGS $SDL_CFLAGS"
42644 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42645 LIBS="$LIBS $SDL_LIBS"
42646 cat >conftest.$ac_ext <<_ACEOF
42647 /* confdefs.h. */
42648 _ACEOF
42649 cat confdefs.h >>conftest.$ac_ext
42650 cat >>conftest.$ac_ext <<_ACEOF
42651 /* end confdefs.h. */
42652
42653 #include <stdio.h>
42654 #include "SDL.h"
42655
42656 int main(int argc, char *argv[])
42657 { return 0; }
42658 #undef main
42659 #define main K_and_R_C_main
42660
42661 int
42662 main ()
42663 {
42664 return 0;
42665 ;
42666 return 0;
42667 }
42668 _ACEOF
42669 rm -f conftest.$ac_objext conftest$ac_exeext
42670 if { (ac_try="$ac_link"
42671 case "(($ac_try" in
42672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42673 *) ac_try_echo=$ac_try;;
42674 esac
42675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42676 (eval "$ac_link") 2>conftest.er1
42677 ac_status=$?
42678 grep -v '^ *+' conftest.er1 >conftest.err
42679 rm -f conftest.er1
42680 cat conftest.err >&5
42681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42682 (exit $ac_status); } && {
42683 test -z "$ac_c_werror_flag" ||
42684 test ! -s conftest.err
42685 } && test -s conftest$ac_exeext &&
42686 $as_test_x conftest$ac_exeext; then
42687 echo "*** The test program compiled, but did not run. This usually means"
42688 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42689 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42690 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42691 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42692 echo "*** is required on your system"
42693 echo "***"
42694 echo "*** If you have an old version installed, it is best to remove it, although"
42695 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42696 else
42697 echo "$as_me: failed program was:" >&5
42698 sed 's/^/| /' conftest.$ac_ext >&5
42699
42700 echo "*** The test program failed to compile or link. See the file config.log for the"
42701 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42702 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42703 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42704 fi
42705
42706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42707 conftest$ac_exeext conftest.$ac_ext
42708 CFLAGS="$ac_save_CFLAGS"
42709 CXXFLAGS="$ac_save_CXXFLAGS"
42710 LIBS="$ac_save_LIBS"
42711 fi
42712 fi
42713 SDL_CFLAGS=""
42714 SDL_LIBS=""
42715 wxUSE_LIBSDL="no"
42716 fi
42717
42718
42719 rm -f conf.sdltest
42720
42721 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42722 WITH_PLUGIN_SDL=1
42723 fi
42724 fi
42725 else
42726 if test "$wxUSE_MGL" = 1; then
42727 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42728 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42729 wxUSE_SOUND="no"
42730 fi
42731 fi
42732 fi
42733
42734 if test "$wxUSE_SOUND" = "yes"; then
42735 cat >>confdefs.h <<\_ACEOF
42736 #define wxUSE_SOUND 1
42737 _ACEOF
42738
42739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42740 fi
42741
42742 if test "$WXGTK2" = 1; then
42743
42744
42745 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42746 if test -n "$ac_tool_prefix"; then
42747 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42748 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42751 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42752 echo $ECHO_N "(cached) $ECHO_C" >&6
42753 else
42754 case $PKG_CONFIG in
42755 [\\/]* | ?:[\\/]*)
42756 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42757 ;;
42758 *)
42759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42760 for as_dir in $PATH
42761 do
42762 IFS=$as_save_IFS
42763 test -z "$as_dir" && as_dir=.
42764 for ac_exec_ext in '' $ac_executable_extensions; do
42765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42766 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42768 break 2
42769 fi
42770 done
42771 done
42772 IFS=$as_save_IFS
42773
42774 ;;
42775 esac
42776 fi
42777 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42778 if test -n "$PKG_CONFIG"; then
42779 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42780 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42781 else
42782 { echo "$as_me:$LINENO: result: no" >&5
42783 echo "${ECHO_T}no" >&6; }
42784 fi
42785
42786
42787 fi
42788 if test -z "$ac_cv_path_PKG_CONFIG"; then
42789 ac_pt_PKG_CONFIG=$PKG_CONFIG
42790 # Extract the first word of "pkg-config", so it can be a program name with args.
42791 set dummy pkg-config; ac_word=$2
42792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42794 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42795 echo $ECHO_N "(cached) $ECHO_C" >&6
42796 else
42797 case $ac_pt_PKG_CONFIG in
42798 [\\/]* | ?:[\\/]*)
42799 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42800 ;;
42801 *)
42802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42803 for as_dir in $PATH
42804 do
42805 IFS=$as_save_IFS
42806 test -z "$as_dir" && as_dir=.
42807 for ac_exec_ext in '' $ac_executable_extensions; do
42808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42809 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42811 break 2
42812 fi
42813 done
42814 done
42815 IFS=$as_save_IFS
42816
42817 ;;
42818 esac
42819 fi
42820 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42821 if test -n "$ac_pt_PKG_CONFIG"; then
42822 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42823 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42824 else
42825 { echo "$as_me:$LINENO: result: no" >&5
42826 echo "${ECHO_T}no" >&6; }
42827 fi
42828
42829 if test "x$ac_pt_PKG_CONFIG" = x; then
42830 PKG_CONFIG=""
42831 else
42832 case $cross_compiling:$ac_tool_warned in
42833 yes:)
42834 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42835 whose name does not start with the host triplet. If you think this
42836 configuration is useful to you, please write to autoconf@gnu.org." >&5
42837 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42838 whose name does not start with the host triplet. If you think this
42839 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42840 ac_tool_warned=yes ;;
42841 esac
42842 PKG_CONFIG=$ac_pt_PKG_CONFIG
42843 fi
42844 else
42845 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42846 fi
42847
42848 fi
42849 if test -n "$PKG_CONFIG"; then
42850 _pkg_min_version=0.9.0
42851 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42852 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42853 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42854 { echo "$as_me:$LINENO: result: yes" >&5
42855 echo "${ECHO_T}yes" >&6; }
42856 else
42857 { echo "$as_me:$LINENO: result: no" >&5
42858 echo "${ECHO_T}no" >&6; }
42859 PKG_CONFIG=""
42860 fi
42861
42862 fi
42863
42864 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42865
42866 if test "$wxUSE_GTKPRINT" = "yes" ; then
42867
42868
42869 pkg_failed=no
42870 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42871 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42872
42873 if test -n "$PKG_CONFIG"; then
42874 if test -n "$GTKPRINT_CFLAGS"; then
42875 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42876 else
42877 if test -n "$PKG_CONFIG" && \
42878 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42879 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42880 ac_status=$?
42881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42882 (exit $ac_status); }; then
42883 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42884 else
42885 pkg_failed=yes
42886 fi
42887 fi
42888 else
42889 pkg_failed=untried
42890 fi
42891 if test -n "$PKG_CONFIG"; then
42892 if test -n "$GTKPRINT_LIBS"; then
42893 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42894 else
42895 if test -n "$PKG_CONFIG" && \
42896 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42897 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42898 ac_status=$?
42899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42900 (exit $ac_status); }; then
42901 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42902 else
42903 pkg_failed=yes
42904 fi
42905 fi
42906 else
42907 pkg_failed=untried
42908 fi
42909
42910
42911
42912 if test $pkg_failed = yes; then
42913
42914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42915 _pkg_short_errors_supported=yes
42916 else
42917 _pkg_short_errors_supported=no
42918 fi
42919 if test $_pkg_short_errors_supported = yes; then
42920 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42921 else
42922 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42923 fi
42924 # Put the nasty error message in config.log where it belongs
42925 echo "$GTKPRINT_PKG_ERRORS" >&5
42926
42927
42928 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42929 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42930 wxUSE_GTKPRINT="no"
42931
42932
42933 elif test $pkg_failed = untried; then
42934
42935 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42936 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42937 wxUSE_GTKPRINT="no"
42938
42939
42940 else
42941 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42942 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42943 { echo "$as_me:$LINENO: result: yes" >&5
42944 echo "${ECHO_T}yes" >&6; }
42945
42946 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42947 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42948 cat >>confdefs.h <<\_ACEOF
42949 #define wxUSE_GTKPRINT 1
42950 _ACEOF
42951
42952
42953 fi
42954 fi
42955
42956 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42957
42958
42959 pkg_failed=no
42960 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42961 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42962
42963 if test -n "$PKG_CONFIG"; then
42964 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42965 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42966 else
42967 if test -n "$PKG_CONFIG" && \
42968 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42969 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42970 ac_status=$?
42971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972 (exit $ac_status); }; then
42973 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42974 else
42975 pkg_failed=yes
42976 fi
42977 fi
42978 else
42979 pkg_failed=untried
42980 fi
42981 if test -n "$PKG_CONFIG"; then
42982 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42983 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42984 else
42985 if test -n "$PKG_CONFIG" && \
42986 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42987 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42988 ac_status=$?
42989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42990 (exit $ac_status); }; then
42991 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42992 else
42993 pkg_failed=yes
42994 fi
42995 fi
42996 else
42997 pkg_failed=untried
42998 fi
42999
43000
43001
43002 if test $pkg_failed = yes; then
43003
43004 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43005 _pkg_short_errors_supported=yes
43006 else
43007 _pkg_short_errors_supported=no
43008 fi
43009 if test $_pkg_short_errors_supported = yes; then
43010 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43011 else
43012 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43013 fi
43014 # Put the nasty error message in config.log where it belongs
43015 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43016
43017
43018 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43019 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43020 wxUSE_LIBGNOMEPRINT="no"
43021
43022
43023 elif test $pkg_failed = untried; then
43024
43025 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43026 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43027 wxUSE_LIBGNOMEPRINT="no"
43028
43029
43030 else
43031 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43032 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43033 { echo "$as_me:$LINENO: result: yes" >&5
43034 echo "${ECHO_T}yes" >&6; }
43035
43036 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43037 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43038 cat >>confdefs.h <<\_ACEOF
43039 #define wxUSE_LIBGNOMEPRINT 1
43040 _ACEOF
43041
43042
43043 fi
43044 fi
43045 fi
43046
43047 if test "$wxUSE_MIMETYPE" = "yes" ; then
43048 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43049
43050
43051 pkg_failed=no
43052 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43053 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43054
43055 if test -n "$PKG_CONFIG"; then
43056 if test -n "$GNOMEVFS_CFLAGS"; then
43057 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43058 else
43059 if test -n "$PKG_CONFIG" && \
43060 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43061 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43062 ac_status=$?
43063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43064 (exit $ac_status); }; then
43065 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43066 else
43067 pkg_failed=yes
43068 fi
43069 fi
43070 else
43071 pkg_failed=untried
43072 fi
43073 if test -n "$PKG_CONFIG"; then
43074 if test -n "$GNOMEVFS_LIBS"; then
43075 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43076 else
43077 if test -n "$PKG_CONFIG" && \
43078 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43079 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43080 ac_status=$?
43081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43082 (exit $ac_status); }; then
43083 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43084 else
43085 pkg_failed=yes
43086 fi
43087 fi
43088 else
43089 pkg_failed=untried
43090 fi
43091
43092
43093
43094 if test $pkg_failed = yes; then
43095
43096 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43097 _pkg_short_errors_supported=yes
43098 else
43099 _pkg_short_errors_supported=no
43100 fi
43101 if test $_pkg_short_errors_supported = yes; then
43102 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43103 else
43104 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43105 fi
43106 # Put the nasty error message in config.log where it belongs
43107 echo "$GNOMEVFS_PKG_ERRORS" >&5
43108
43109
43110 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43111 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43112 wxUSE_LIBGNOMEVFS="no"
43113
43114
43115 elif test $pkg_failed = untried; then
43116
43117 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43118 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43119 wxUSE_LIBGNOMEVFS="no"
43120
43121
43122 else
43123 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43124 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43125 { echo "$as_me:$LINENO: result: yes" >&5
43126 echo "${ECHO_T}yes" >&6; }
43127
43128 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43129 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43130 cat >>confdefs.h <<\_ACEOF
43131 #define wxUSE_LIBGNOMEVFS 1
43132 _ACEOF
43133
43134
43135 fi
43136 fi
43137 fi
43138
43139 if test "$wxUSE_LIBHILDON" = "yes" ; then
43140
43141 pkg_failed=no
43142 { echo "$as_me:$LINENO: checking for HILDON" >&5
43143 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43144
43145 if test -n "$PKG_CONFIG"; then
43146 if test -n "$HILDON_CFLAGS"; then
43147 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43148 else
43149 if test -n "$PKG_CONFIG" && \
43150 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43151 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43152 ac_status=$?
43153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43154 (exit $ac_status); }; then
43155 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43156 else
43157 pkg_failed=yes
43158 fi
43159 fi
43160 else
43161 pkg_failed=untried
43162 fi
43163 if test -n "$PKG_CONFIG"; then
43164 if test -n "$HILDON_LIBS"; then
43165 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43166 else
43167 if test -n "$PKG_CONFIG" && \
43168 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43169 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43170 ac_status=$?
43171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43172 (exit $ac_status); }; then
43173 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43174 else
43175 pkg_failed=yes
43176 fi
43177 fi
43178 else
43179 pkg_failed=untried
43180 fi
43181
43182
43183
43184 if test $pkg_failed = yes; then
43185
43186 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43187 _pkg_short_errors_supported=yes
43188 else
43189 _pkg_short_errors_supported=no
43190 fi
43191 if test $_pkg_short_errors_supported = yes; then
43192 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43193 else
43194 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43195 fi
43196 # Put the nasty error message in config.log where it belongs
43197 echo "$HILDON_PKG_ERRORS" >&5
43198
43199
43200 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43201 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43202 wxUSE_LIBHILDON="no"
43203
43204
43205 elif test $pkg_failed = untried; then
43206
43207 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43208 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43209 wxUSE_LIBHILDON="no"
43210
43211
43212 else
43213 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43214 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43215 { echo "$as_me:$LINENO: result: yes" >&5
43216 echo "${ECHO_T}yes" >&6; }
43217
43218 EXTRALIBS_HILDON="$HILDON_LIBS"
43219 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43220 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43221 cat >>confdefs.h <<\_ACEOF
43222 #define wxUSE_LIBHILDON 1
43223 _ACEOF
43224
43225
43226 fi
43227 fi
43228 fi
43229
43230 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43231 cat >>confdefs.h <<\_ACEOF
43232 #define wxUSE_CMDLINE_PARSER 1
43233 _ACEOF
43234
43235 fi
43236
43237 if test "$wxUSE_STOPWATCH" = "yes"; then
43238 cat >>confdefs.h <<\_ACEOF
43239 #define wxUSE_STOPWATCH 1
43240 _ACEOF
43241
43242 fi
43243
43244 if test "$wxUSE_DATETIME" = "yes"; then
43245 cat >>confdefs.h <<\_ACEOF
43246 #define wxUSE_DATETIME 1
43247 _ACEOF
43248
43249 fi
43250
43251 if test "$wxUSE_FILE" = "yes"; then
43252 cat >>confdefs.h <<\_ACEOF
43253 #define wxUSE_FILE 1
43254 _ACEOF
43255
43256 fi
43257
43258 if test "$wxUSE_FFILE" = "yes"; then
43259 cat >>confdefs.h <<\_ACEOF
43260 #define wxUSE_FFILE 1
43261 _ACEOF
43262
43263 fi
43264
43265 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43266 if test "$wxUSE_STREAMS" != yes; then
43267 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43268 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43269 wxUSE_ARCHIVE_STREAMS=no
43270 else
43271 cat >>confdefs.h <<\_ACEOF
43272 #define wxUSE_ARCHIVE_STREAMS 1
43273 _ACEOF
43274
43275 fi
43276 fi
43277
43278 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43279 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43280 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43281 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43282 elif test "$wxUSE_ZLIB" = "no"; then
43283 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43284 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43285 else
43286 cat >>confdefs.h <<\_ACEOF
43287 #define wxUSE_ZIPSTREAM 1
43288 _ACEOF
43289
43290 fi
43291 fi
43292
43293 if test "$wxUSE_TARSTREAM" = "yes"; then
43294 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43295 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43296 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43297 else
43298 cat >>confdefs.h <<\_ACEOF
43299 #define wxUSE_TARSTREAM 1
43300 _ACEOF
43301
43302 fi
43303 fi
43304
43305 if test "$wxUSE_FILESYSTEM" = "yes"; then
43306 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43307 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43308 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43309 wxUSE_FILESYSTEM=no
43310 else
43311 cat >>confdefs.h <<\_ACEOF
43312 #define wxUSE_FILESYSTEM 1
43313 _ACEOF
43314
43315 fi
43316 fi
43317
43318 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43319 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43320 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43321 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43322 else
43323 cat >>confdefs.h <<\_ACEOF
43324 #define wxUSE_FS_ARCHIVE 1
43325 _ACEOF
43326
43327 fi
43328 fi
43329
43330 if test "$wxUSE_FS_ZIP" = "yes"; then
43331 if test "$wxUSE_FS_ARCHIVE" != yes; then
43332 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43333 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43334 else
43335 cat >>confdefs.h <<\_ACEOF
43336 #define wxUSE_FS_ZIP 1
43337 _ACEOF
43338
43339 fi
43340 fi
43341
43342 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43343 if test "$USE_UNIX" != 1; then
43344 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43345 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43346 wxUSE_ON_FATAL_EXCEPTION=no
43347 else
43348 cat >>confdefs.h <<\_ACEOF
43349 #define wxUSE_ON_FATAL_EXCEPTION 1
43350 _ACEOF
43351
43352 fi
43353 fi
43354
43355 if test "$wxUSE_STACKWALKER" = "yes"; then
43356 cat >>confdefs.h <<\_ACEOF
43357 #define wxUSE_STACKWALKER 1
43358 _ACEOF
43359
43360 fi
43361
43362 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43363 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43364 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43365 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43366 wxUSE_DEBUGREPORT=no
43367 else
43368 cat >>confdefs.h <<\_ACEOF
43369 #define wxUSE_DEBUGREPORT 1
43370 _ACEOF
43371
43372 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43374 fi
43375 fi
43376 fi
43377
43378 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43379 cat >>confdefs.h <<\_ACEOF
43380 #define wxUSE_SNGLINST_CHECKER 1
43381 _ACEOF
43382
43383 fi
43384
43385 if test "$wxUSE_BUSYINFO" = "yes"; then
43386 cat >>confdefs.h <<\_ACEOF
43387 #define wxUSE_BUSYINFO 1
43388 _ACEOF
43389
43390 fi
43391
43392 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43393 cat >>confdefs.h <<\_ACEOF
43394 #define wxUSE_STD_IOSTREAM 1
43395 _ACEOF
43396
43397 fi
43398
43399 if test "$wxUSE_STD_STRING" = "yes"; then
43400 cat >>confdefs.h <<\_ACEOF
43401 #define wxUSE_STD_STRING 1
43402 _ACEOF
43403
43404 fi
43405
43406 if test "$wxUSE_STDPATHS" = "yes"; then
43407 cat >>confdefs.h <<\_ACEOF
43408 #define wxUSE_STDPATHS 1
43409 _ACEOF
43410
43411 fi
43412
43413 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43414 cat >>confdefs.h <<\_ACEOF
43415 #define wxUSE_TEXTBUFFER 1
43416 _ACEOF
43417
43418 fi
43419
43420 if test "$wxUSE_TEXTFILE" = "yes"; then
43421 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43422 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43423 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43424 else
43425 cat >>confdefs.h <<\_ACEOF
43426 #define wxUSE_TEXTFILE 1
43427 _ACEOF
43428
43429 fi
43430 fi
43431
43432 if test "$wxUSE_CONFIG" = "yes" ; then
43433 if test "$wxUSE_TEXTFILE" != "yes"; then
43434 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43435 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43436 else
43437 cat >>confdefs.h <<\_ACEOF
43438 #define wxUSE_CONFIG 1
43439 _ACEOF
43440
43441 cat >>confdefs.h <<\_ACEOF
43442 #define wxUSE_CONFIG_NATIVE 1
43443 _ACEOF
43444
43445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43446 fi
43447 fi
43448
43449 if test "$wxUSE_INTL" = "yes" ; then
43450 if test "$wxUSE_FILE" != "yes"; then
43451 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43452 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43453 else
43454 cat >>confdefs.h <<\_ACEOF
43455 #define wxUSE_INTL 1
43456 _ACEOF
43457
43458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43459 GUIDIST="$GUIDIST INTL_DIST"
43460 fi
43461 fi
43462
43463 if test "$wxUSE_XLOCALE" = "yes" ; then
43464 cat >>confdefs.h <<\_ACEOF
43465 #define wxUSE_XLOCALE 1
43466 _ACEOF
43467
43468 { echo "$as_me:$LINENO: checking for locale_t" >&5
43469 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43470 if test "${ac_cv_type_locale_t+set}" = set; then
43471 echo $ECHO_N "(cached) $ECHO_C" >&6
43472 else
43473 cat >conftest.$ac_ext <<_ACEOF
43474 /* confdefs.h. */
43475 _ACEOF
43476 cat confdefs.h >>conftest.$ac_ext
43477 cat >>conftest.$ac_ext <<_ACEOF
43478 /* end confdefs.h. */
43479 #include <xlocale.h>
43480 #include <locale.h>
43481
43482 typedef locale_t ac__type_new_;
43483 int
43484 main ()
43485 {
43486 if ((ac__type_new_ *) 0)
43487 return 0;
43488 if (sizeof (ac__type_new_))
43489 return 0;
43490 ;
43491 return 0;
43492 }
43493 _ACEOF
43494 rm -f conftest.$ac_objext
43495 if { (ac_try="$ac_compile"
43496 case "(($ac_try" in
43497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43498 *) ac_try_echo=$ac_try;;
43499 esac
43500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43501 (eval "$ac_compile") 2>conftest.er1
43502 ac_status=$?
43503 grep -v '^ *+' conftest.er1 >conftest.err
43504 rm -f conftest.er1
43505 cat conftest.err >&5
43506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43507 (exit $ac_status); } && {
43508 test -z "$ac_c_werror_flag" ||
43509 test ! -s conftest.err
43510 } && test -s conftest.$ac_objext; then
43511 ac_cv_type_locale_t=yes
43512 else
43513 echo "$as_me: failed program was:" >&5
43514 sed 's/^/| /' conftest.$ac_ext >&5
43515
43516 ac_cv_type_locale_t=no
43517 fi
43518
43519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43520 fi
43521 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43522 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43523 if test $ac_cv_type_locale_t = yes; then
43524
43525 cat >>confdefs.h <<_ACEOF
43526 #define HAVE_LOCALE_T 1
43527 _ACEOF
43528
43529
43530 fi
43531
43532 fi
43533
43534 if test "$wxUSE_LOG" = "yes"; then
43535 cat >>confdefs.h <<\_ACEOF
43536 #define wxUSE_LOG 1
43537 _ACEOF
43538
43539
43540 if test "$wxUSE_LOGGUI" = "yes"; then
43541 cat >>confdefs.h <<\_ACEOF
43542 #define wxUSE_LOGGUI 1
43543 _ACEOF
43544
43545 fi
43546
43547 if test "$wxUSE_LOGWINDOW" = "yes"; then
43548 cat >>confdefs.h <<\_ACEOF
43549 #define wxUSE_LOGWINDOW 1
43550 _ACEOF
43551
43552 fi
43553
43554 if test "$wxUSE_LOGDIALOG" = "yes"; then
43555 cat >>confdefs.h <<\_ACEOF
43556 #define wxUSE_LOG_DIALOG 1
43557 _ACEOF
43558
43559 fi
43560
43561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43562 fi
43563
43564 if test "$wxUSE_LONGLONG" = "yes"; then
43565 cat >>confdefs.h <<\_ACEOF
43566 #define wxUSE_LONGLONG 1
43567 _ACEOF
43568
43569 fi
43570
43571 if test "$wxUSE_GEOMETRY" = "yes"; then
43572 cat >>confdefs.h <<\_ACEOF
43573 #define wxUSE_GEOMETRY 1
43574 _ACEOF
43575
43576 fi
43577
43578 if test "$wxUSE_BASE64" = "yes"; then
43579 cat >>confdefs.h <<\_ACEOF
43580 #define wxUSE_BASE64 1
43581 _ACEOF
43582
43583 fi
43584
43585 if test "$wxUSE_STREAMS" = "yes" ; then
43586 cat >>confdefs.h <<\_ACEOF
43587 #define wxUSE_STREAMS 1
43588 _ACEOF
43589
43590 fi
43591
43592 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43593 cat >>confdefs.h <<\_ACEOF
43594 #define wxUSE_PRINTF_POS_PARAMS 1
43595 _ACEOF
43596
43597 fi
43598
43599 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43600 cat >>confdefs.h <<\_ACEOF
43601 #define wxUSE_OBJC_UNIQUIFYING 1
43602 _ACEOF
43603
43604 fi
43605
43606
43607 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43608 cat >>confdefs.h <<\_ACEOF
43609 #define wxUSE_CONSOLE_EVENTLOOP 1
43610 _ACEOF
43611
43612
43613 if test "$wxUSE_UNIX" = "yes"; then
43614 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43615 cat >>confdefs.h <<\_ACEOF
43616 #define wxUSE_SELECT_DISPATCHER 1
43617 _ACEOF
43618
43619 fi
43620
43621 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43622
43623 for ac_header in sys/epoll.h
43624 do
43625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43629 echo $ECHO_N "(cached) $ECHO_C" >&6
43630 else
43631 cat >conftest.$ac_ext <<_ACEOF
43632 /* confdefs.h. */
43633 _ACEOF
43634 cat confdefs.h >>conftest.$ac_ext
43635 cat >>conftest.$ac_ext <<_ACEOF
43636 /* end confdefs.h. */
43637 $ac_includes_default
43638
43639 #include <$ac_header>
43640 _ACEOF
43641 rm -f conftest.$ac_objext
43642 if { (ac_try="$ac_compile"
43643 case "(($ac_try" in
43644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43645 *) ac_try_echo=$ac_try;;
43646 esac
43647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43648 (eval "$ac_compile") 2>conftest.er1
43649 ac_status=$?
43650 grep -v '^ *+' conftest.er1 >conftest.err
43651 rm -f conftest.er1
43652 cat conftest.err >&5
43653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43654 (exit $ac_status); } && {
43655 test -z "$ac_c_werror_flag" ||
43656 test ! -s conftest.err
43657 } && test -s conftest.$ac_objext; then
43658 eval "$as_ac_Header=yes"
43659 else
43660 echo "$as_me: failed program was:" >&5
43661 sed 's/^/| /' conftest.$ac_ext >&5
43662
43663 eval "$as_ac_Header=no"
43664 fi
43665
43666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43667 fi
43668 ac_res=`eval echo '${'$as_ac_Header'}'`
43669 { echo "$as_me:$LINENO: result: $ac_res" >&5
43670 echo "${ECHO_T}$ac_res" >&6; }
43671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43672 cat >>confdefs.h <<_ACEOF
43673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43674 _ACEOF
43675
43676 fi
43677
43678 done
43679
43680 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43681 cat >>confdefs.h <<\_ACEOF
43682 #define wxUSE_EPOLL_DISPATCHER 1
43683 _ACEOF
43684
43685 else
43686 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43687 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43688 fi
43689 fi
43690 fi
43691 fi
43692
43693
43694
43695
43696 for ac_func in gettimeofday ftime
43697 do
43698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43701 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43702 echo $ECHO_N "(cached) $ECHO_C" >&6
43703 else
43704 cat >conftest.$ac_ext <<_ACEOF
43705 /* confdefs.h. */
43706 _ACEOF
43707 cat confdefs.h >>conftest.$ac_ext
43708 cat >>conftest.$ac_ext <<_ACEOF
43709 /* end confdefs.h. */
43710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43712 #define $ac_func innocuous_$ac_func
43713
43714 /* System header to define __stub macros and hopefully few prototypes,
43715 which can conflict with char $ac_func (); below.
43716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43717 <limits.h> exists even on freestanding compilers. */
43718
43719 #ifdef __STDC__
43720 # include <limits.h>
43721 #else
43722 # include <assert.h>
43723 #endif
43724
43725 #undef $ac_func
43726
43727 /* Override any GCC internal prototype to avoid an error.
43728 Use char because int might match the return type of a GCC
43729 builtin and then its argument prototype would still apply. */
43730 #ifdef __cplusplus
43731 extern "C"
43732 #endif
43733 char $ac_func ();
43734 /* The GNU C library defines this for functions which it implements
43735 to always fail with ENOSYS. Some functions are actually named
43736 something starting with __ and the normal name is an alias. */
43737 #if defined __stub_$ac_func || defined __stub___$ac_func
43738 choke me
43739 #endif
43740
43741 int
43742 main ()
43743 {
43744 return $ac_func ();
43745 ;
43746 return 0;
43747 }
43748 _ACEOF
43749 rm -f conftest.$ac_objext conftest$ac_exeext
43750 if { (ac_try="$ac_link"
43751 case "(($ac_try" in
43752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43753 *) ac_try_echo=$ac_try;;
43754 esac
43755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43756 (eval "$ac_link") 2>conftest.er1
43757 ac_status=$?
43758 grep -v '^ *+' conftest.er1 >conftest.err
43759 rm -f conftest.er1
43760 cat conftest.err >&5
43761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43762 (exit $ac_status); } && {
43763 test -z "$ac_c_werror_flag" ||
43764 test ! -s conftest.err
43765 } && test -s conftest$ac_exeext &&
43766 $as_test_x conftest$ac_exeext; then
43767 eval "$as_ac_var=yes"
43768 else
43769 echo "$as_me: failed program was:" >&5
43770 sed 's/^/| /' conftest.$ac_ext >&5
43771
43772 eval "$as_ac_var=no"
43773 fi
43774
43775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43776 conftest$ac_exeext conftest.$ac_ext
43777 fi
43778 ac_res=`eval echo '${'$as_ac_var'}'`
43779 { echo "$as_me:$LINENO: result: $ac_res" >&5
43780 echo "${ECHO_T}$ac_res" >&6; }
43781 if test `eval echo '${'$as_ac_var'}'` = yes; then
43782 cat >>confdefs.h <<_ACEOF
43783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43784 _ACEOF
43785 break
43786 fi
43787 done
43788
43789
43790 if test "$ac_cv_func_gettimeofday" = "yes"; then
43791 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43792 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43793 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43794 echo $ECHO_N "(cached) $ECHO_C" >&6
43795 else
43796
43797 cat >conftest.$ac_ext <<_ACEOF
43798 /* confdefs.h. */
43799 _ACEOF
43800 cat confdefs.h >>conftest.$ac_ext
43801 cat >>conftest.$ac_ext <<_ACEOF
43802 /* end confdefs.h. */
43803
43804 #include <sys/time.h>
43805 #include <unistd.h>
43806
43807 int
43808 main ()
43809 {
43810
43811 struct timeval tv;
43812 gettimeofday(&tv, NULL);
43813
43814 ;
43815 return 0;
43816 }
43817 _ACEOF
43818 rm -f conftest.$ac_objext
43819 if { (ac_try="$ac_compile"
43820 case "(($ac_try" in
43821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43822 *) ac_try_echo=$ac_try;;
43823 esac
43824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43825 (eval "$ac_compile") 2>conftest.er1
43826 ac_status=$?
43827 grep -v '^ *+' conftest.er1 >conftest.err
43828 rm -f conftest.er1
43829 cat conftest.err >&5
43830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43831 (exit $ac_status); } && {
43832 test -z "$ac_c_werror_flag" ||
43833 test ! -s conftest.err
43834 } && test -s conftest.$ac_objext; then
43835 wx_cv_func_gettimeofday_has_2_args=yes
43836 else
43837 echo "$as_me: failed program was:" >&5
43838 sed 's/^/| /' conftest.$ac_ext >&5
43839
43840 cat >conftest.$ac_ext <<_ACEOF
43841 /* confdefs.h. */
43842 _ACEOF
43843 cat confdefs.h >>conftest.$ac_ext
43844 cat >>conftest.$ac_ext <<_ACEOF
43845 /* end confdefs.h. */
43846
43847 #include <sys/time.h>
43848 #include <unistd.h>
43849
43850 int
43851 main ()
43852 {
43853
43854 struct timeval tv;
43855 gettimeofday(&tv);
43856
43857 ;
43858 return 0;
43859 }
43860 _ACEOF
43861 rm -f conftest.$ac_objext
43862 if { (ac_try="$ac_compile"
43863 case "(($ac_try" in
43864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43865 *) ac_try_echo=$ac_try;;
43866 esac
43867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43868 (eval "$ac_compile") 2>conftest.er1
43869 ac_status=$?
43870 grep -v '^ *+' conftest.er1 >conftest.err
43871 rm -f conftest.er1
43872 cat conftest.err >&5
43873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43874 (exit $ac_status); } && {
43875 test -z "$ac_c_werror_flag" ||
43876 test ! -s conftest.err
43877 } && test -s conftest.$ac_objext; then
43878 wx_cv_func_gettimeofday_has_2_args=no
43879 else
43880 echo "$as_me: failed program was:" >&5
43881 sed 's/^/| /' conftest.$ac_ext >&5
43882
43883
43884 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43885 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43886 wx_cv_func_gettimeofday_has_2_args=unknown
43887
43888
43889 fi
43890
43891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43892
43893 fi
43894
43895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43896
43897 fi
43898 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43899 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43900
43901 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43902 cat >>confdefs.h <<\_ACEOF
43903 #define WX_GETTIMEOFDAY_NO_TZ 1
43904 _ACEOF
43905
43906 fi
43907 fi
43908
43909 if test "$wxUSE_DATETIME" = "yes"; then
43910 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43911 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43912 if test "${wx_cv_var_timezone+set}" = set; then
43913 echo $ECHO_N "(cached) $ECHO_C" >&6
43914 else
43915
43916 ac_ext=cpp
43917 ac_cpp='$CXXCPP $CPPFLAGS'
43918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43921
43922 cat >conftest.$ac_ext <<_ACEOF
43923 /* confdefs.h. */
43924 _ACEOF
43925 cat confdefs.h >>conftest.$ac_ext
43926 cat >>conftest.$ac_ext <<_ACEOF
43927 /* end confdefs.h. */
43928
43929 #include <time.h>
43930
43931 int
43932 main ()
43933 {
43934
43935 int tz;
43936 tz = timezone;
43937
43938 ;
43939 return 0;
43940 }
43941 _ACEOF
43942 rm -f conftest.$ac_objext
43943 if { (ac_try="$ac_compile"
43944 case "(($ac_try" in
43945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43946 *) ac_try_echo=$ac_try;;
43947 esac
43948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43949 (eval "$ac_compile") 2>conftest.er1
43950 ac_status=$?
43951 grep -v '^ *+' conftest.er1 >conftest.err
43952 rm -f conftest.er1
43953 cat conftest.err >&5
43954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43955 (exit $ac_status); } && {
43956 test -z "$ac_cxx_werror_flag" ||
43957 test ! -s conftest.err
43958 } && test -s conftest.$ac_objext; then
43959
43960 wx_cv_var_timezone=timezone
43961
43962 else
43963 echo "$as_me: failed program was:" >&5
43964 sed 's/^/| /' conftest.$ac_ext >&5
43965
43966
43967 cat >conftest.$ac_ext <<_ACEOF
43968 /* confdefs.h. */
43969 _ACEOF
43970 cat confdefs.h >>conftest.$ac_ext
43971 cat >>conftest.$ac_ext <<_ACEOF
43972 /* end confdefs.h. */
43973
43974 #include <time.h>
43975
43976 int
43977 main ()
43978 {
43979
43980 int tz;
43981 tz = _timezone;
43982
43983 ;
43984 return 0;
43985 }
43986 _ACEOF
43987 rm -f conftest.$ac_objext
43988 if { (ac_try="$ac_compile"
43989 case "(($ac_try" in
43990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43991 *) ac_try_echo=$ac_try;;
43992 esac
43993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43994 (eval "$ac_compile") 2>conftest.er1
43995 ac_status=$?
43996 grep -v '^ *+' conftest.er1 >conftest.err
43997 rm -f conftest.er1
43998 cat conftest.err >&5
43999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44000 (exit $ac_status); } && {
44001 test -z "$ac_cxx_werror_flag" ||
44002 test ! -s conftest.err
44003 } && test -s conftest.$ac_objext; then
44004
44005 wx_cv_var_timezone=_timezone
44006
44007 else
44008 echo "$as_me: failed program was:" >&5
44009 sed 's/^/| /' conftest.$ac_ext >&5
44010
44011
44012 cat >conftest.$ac_ext <<_ACEOF
44013 /* confdefs.h. */
44014 _ACEOF
44015 cat confdefs.h >>conftest.$ac_ext
44016 cat >>conftest.$ac_ext <<_ACEOF
44017 /* end confdefs.h. */
44018
44019 #include <time.h>
44020
44021 int
44022 main ()
44023 {
44024
44025 int tz;
44026 tz = __timezone;
44027
44028 ;
44029 return 0;
44030 }
44031 _ACEOF
44032 rm -f conftest.$ac_objext
44033 if { (ac_try="$ac_compile"
44034 case "(($ac_try" in
44035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44036 *) ac_try_echo=$ac_try;;
44037 esac
44038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44039 (eval "$ac_compile") 2>conftest.er1
44040 ac_status=$?
44041 grep -v '^ *+' conftest.er1 >conftest.err
44042 rm -f conftest.er1
44043 cat conftest.err >&5
44044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44045 (exit $ac_status); } && {
44046 test -z "$ac_cxx_werror_flag" ||
44047 test ! -s conftest.err
44048 } && test -s conftest.$ac_objext; then
44049
44050 wx_cv_var_timezone=__timezone
44051
44052 else
44053 echo "$as_me: failed program was:" >&5
44054 sed 's/^/| /' conftest.$ac_ext >&5
44055
44056
44057 if test "$USE_DOS" = 0 ; then
44058 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44059 echo "$as_me: WARNING: no timezone variable" >&2;}
44060 fi
44061
44062
44063 fi
44064
44065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44066
44067
44068 fi
44069
44070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44071
44072
44073 fi
44074
44075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44076 ac_ext=c
44077 ac_cpp='$CPP $CPPFLAGS'
44078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44081
44082
44083
44084 fi
44085 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44086 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44087
44088 if test "x$wx_cv_var_timezone" != x ; then
44089 cat >>confdefs.h <<_ACEOF
44090 #define WX_TIMEZONE $wx_cv_var_timezone
44091 _ACEOF
44092
44093 fi
44094
44095
44096 for ac_func in localtime
44097 do
44098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44099 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44101 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44102 echo $ECHO_N "(cached) $ECHO_C" >&6
44103 else
44104 cat >conftest.$ac_ext <<_ACEOF
44105 /* confdefs.h. */
44106 _ACEOF
44107 cat confdefs.h >>conftest.$ac_ext
44108 cat >>conftest.$ac_ext <<_ACEOF
44109 /* end confdefs.h. */
44110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44112 #define $ac_func innocuous_$ac_func
44113
44114 /* System header to define __stub macros and hopefully few prototypes,
44115 which can conflict with char $ac_func (); below.
44116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44117 <limits.h> exists even on freestanding compilers. */
44118
44119 #ifdef __STDC__
44120 # include <limits.h>
44121 #else
44122 # include <assert.h>
44123 #endif
44124
44125 #undef $ac_func
44126
44127 /* Override any GCC internal prototype to avoid an error.
44128 Use char because int might match the return type of a GCC
44129 builtin and then its argument prototype would still apply. */
44130 #ifdef __cplusplus
44131 extern "C"
44132 #endif
44133 char $ac_func ();
44134 /* The GNU C library defines this for functions which it implements
44135 to always fail with ENOSYS. Some functions are actually named
44136 something starting with __ and the normal name is an alias. */
44137 #if defined __stub_$ac_func || defined __stub___$ac_func
44138 choke me
44139 #endif
44140
44141 int
44142 main ()
44143 {
44144 return $ac_func ();
44145 ;
44146 return 0;
44147 }
44148 _ACEOF
44149 rm -f conftest.$ac_objext conftest$ac_exeext
44150 if { (ac_try="$ac_link"
44151 case "(($ac_try" in
44152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44153 *) ac_try_echo=$ac_try;;
44154 esac
44155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44156 (eval "$ac_link") 2>conftest.er1
44157 ac_status=$?
44158 grep -v '^ *+' conftest.er1 >conftest.err
44159 rm -f conftest.er1
44160 cat conftest.err >&5
44161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44162 (exit $ac_status); } && {
44163 test -z "$ac_c_werror_flag" ||
44164 test ! -s conftest.err
44165 } && test -s conftest$ac_exeext &&
44166 $as_test_x conftest$ac_exeext; then
44167 eval "$as_ac_var=yes"
44168 else
44169 echo "$as_me: failed program was:" >&5
44170 sed 's/^/| /' conftest.$ac_ext >&5
44171
44172 eval "$as_ac_var=no"
44173 fi
44174
44175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44176 conftest$ac_exeext conftest.$ac_ext
44177 fi
44178 ac_res=`eval echo '${'$as_ac_var'}'`
44179 { echo "$as_me:$LINENO: result: $ac_res" >&5
44180 echo "${ECHO_T}$ac_res" >&6; }
44181 if test `eval echo '${'$as_ac_var'}'` = yes; then
44182 cat >>confdefs.h <<_ACEOF
44183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44184 _ACEOF
44185
44186 fi
44187 done
44188
44189
44190 if test "$ac_cv_func_localtime" = "yes"; then
44191 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44192 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44193 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44194 echo $ECHO_N "(cached) $ECHO_C" >&6
44195 else
44196
44197 cat >conftest.$ac_ext <<_ACEOF
44198 /* confdefs.h. */
44199 _ACEOF
44200 cat confdefs.h >>conftest.$ac_ext
44201 cat >>conftest.$ac_ext <<_ACEOF
44202 /* end confdefs.h. */
44203
44204 #include <time.h>
44205
44206 int
44207 main ()
44208 {
44209
44210 struct tm tm;
44211 tm.tm_gmtoff++;
44212
44213 ;
44214 return 0;
44215 }
44216 _ACEOF
44217 rm -f conftest.$ac_objext
44218 if { (ac_try="$ac_compile"
44219 case "(($ac_try" in
44220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44221 *) ac_try_echo=$ac_try;;
44222 esac
44223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44224 (eval "$ac_compile") 2>conftest.er1
44225 ac_status=$?
44226 grep -v '^ *+' conftest.er1 >conftest.err
44227 rm -f conftest.er1
44228 cat conftest.err >&5
44229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44230 (exit $ac_status); } && {
44231 test -z "$ac_c_werror_flag" ||
44232 test ! -s conftest.err
44233 } && test -s conftest.$ac_objext; then
44234
44235 wx_cv_struct_tm_has_gmtoff=yes
44236
44237 else
44238 echo "$as_me: failed program was:" >&5
44239 sed 's/^/| /' conftest.$ac_ext >&5
44240
44241 wx_cv_struct_tm_has_gmtoff=no
44242
44243 fi
44244
44245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44246
44247 fi
44248 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44249 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44250 fi
44251
44252 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44253 cat >>confdefs.h <<\_ACEOF
44254 #define WX_GMTOFF_IN_TM 1
44255 _ACEOF
44256
44257 fi
44258
44259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44260 fi
44261
44262
44263 if test "$wxUSE_SOCKETS" = "yes"; then
44264 if test "$wxUSE_MGL" = 1; then
44265 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44266 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44267 wxUSE_SOCKETS="no"
44268 fi
44269 fi
44270
44271 if test "$wxUSE_SOCKETS" = "yes"; then
44272 if test "$TOOLKIT" != "MSW"; then
44273 { echo "$as_me:$LINENO: checking for socket" >&5
44274 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44275 if test "${ac_cv_func_socket+set}" = set; then
44276 echo $ECHO_N "(cached) $ECHO_C" >&6
44277 else
44278 cat >conftest.$ac_ext <<_ACEOF
44279 /* confdefs.h. */
44280 _ACEOF
44281 cat confdefs.h >>conftest.$ac_ext
44282 cat >>conftest.$ac_ext <<_ACEOF
44283 /* end confdefs.h. */
44284 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44286 #define socket innocuous_socket
44287
44288 /* System header to define __stub macros and hopefully few prototypes,
44289 which can conflict with char socket (); below.
44290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44291 <limits.h> exists even on freestanding compilers. */
44292
44293 #ifdef __STDC__
44294 # include <limits.h>
44295 #else
44296 # include <assert.h>
44297 #endif
44298
44299 #undef socket
44300
44301 /* Override any GCC internal prototype to avoid an error.
44302 Use char because int might match the return type of a GCC
44303 builtin and then its argument prototype would still apply. */
44304 #ifdef __cplusplus
44305 extern "C"
44306 #endif
44307 char socket ();
44308 /* The GNU C library defines this for functions which it implements
44309 to always fail with ENOSYS. Some functions are actually named
44310 something starting with __ and the normal name is an alias. */
44311 #if defined __stub_socket || defined __stub___socket
44312 choke me
44313 #endif
44314
44315 int
44316 main ()
44317 {
44318 return socket ();
44319 ;
44320 return 0;
44321 }
44322 _ACEOF
44323 rm -f conftest.$ac_objext conftest$ac_exeext
44324 if { (ac_try="$ac_link"
44325 case "(($ac_try" in
44326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44327 *) ac_try_echo=$ac_try;;
44328 esac
44329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44330 (eval "$ac_link") 2>conftest.er1
44331 ac_status=$?
44332 grep -v '^ *+' conftest.er1 >conftest.err
44333 rm -f conftest.er1
44334 cat conftest.err >&5
44335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44336 (exit $ac_status); } && {
44337 test -z "$ac_c_werror_flag" ||
44338 test ! -s conftest.err
44339 } && test -s conftest$ac_exeext &&
44340 $as_test_x conftest$ac_exeext; then
44341 ac_cv_func_socket=yes
44342 else
44343 echo "$as_me: failed program was:" >&5
44344 sed 's/^/| /' conftest.$ac_ext >&5
44345
44346 ac_cv_func_socket=no
44347 fi
44348
44349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44350 conftest$ac_exeext conftest.$ac_ext
44351 fi
44352 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44353 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44354 if test $ac_cv_func_socket = yes; then
44355 :
44356 else
44357
44358 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44359 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44360 if test "${ac_cv_lib_socket_socket+set}" = set; then
44361 echo $ECHO_N "(cached) $ECHO_C" >&6
44362 else
44363 ac_check_lib_save_LIBS=$LIBS
44364 LIBS="-lsocket $LIBS"
44365 cat >conftest.$ac_ext <<_ACEOF
44366 /* confdefs.h. */
44367 _ACEOF
44368 cat confdefs.h >>conftest.$ac_ext
44369 cat >>conftest.$ac_ext <<_ACEOF
44370 /* end confdefs.h. */
44371
44372 /* Override any GCC internal prototype to avoid an error.
44373 Use char because int might match the return type of a GCC
44374 builtin and then its argument prototype would still apply. */
44375 #ifdef __cplusplus
44376 extern "C"
44377 #endif
44378 char socket ();
44379 int
44380 main ()
44381 {
44382 return socket ();
44383 ;
44384 return 0;
44385 }
44386 _ACEOF
44387 rm -f conftest.$ac_objext conftest$ac_exeext
44388 if { (ac_try="$ac_link"
44389 case "(($ac_try" in
44390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44391 *) ac_try_echo=$ac_try;;
44392 esac
44393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44394 (eval "$ac_link") 2>conftest.er1
44395 ac_status=$?
44396 grep -v '^ *+' conftest.er1 >conftest.err
44397 rm -f conftest.er1
44398 cat conftest.err >&5
44399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44400 (exit $ac_status); } && {
44401 test -z "$ac_c_werror_flag" ||
44402 test ! -s conftest.err
44403 } && test -s conftest$ac_exeext &&
44404 $as_test_x conftest$ac_exeext; then
44405 ac_cv_lib_socket_socket=yes
44406 else
44407 echo "$as_me: failed program was:" >&5
44408 sed 's/^/| /' conftest.$ac_ext >&5
44409
44410 ac_cv_lib_socket_socket=no
44411 fi
44412
44413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44414 conftest$ac_exeext conftest.$ac_ext
44415 LIBS=$ac_check_lib_save_LIBS
44416 fi
44417 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44418 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44419 if test $ac_cv_lib_socket_socket = yes; then
44420 if test "$INET_LINK" != " -lsocket"; then
44421 INET_LINK="$INET_LINK -lsocket"
44422 fi
44423 else
44424
44425 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44426 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44427 wxUSE_SOCKETS=no
44428
44429
44430 fi
44431
44432
44433
44434 fi
44435
44436 fi
44437 fi
44438
44439 if test "$wxUSE_SOCKETS" = "yes" ; then
44440 if test "$TOOLKIT" != "MSW"; then
44441 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44442 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44443 if test "${wx_cv_type_getsockname3+set}" = set; then
44444 echo $ECHO_N "(cached) $ECHO_C" >&6
44445 else
44446
44447 ac_ext=cpp
44448 ac_cpp='$CXXCPP $CPPFLAGS'
44449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44452
44453 cat >conftest.$ac_ext <<_ACEOF
44454 /* confdefs.h. */
44455 _ACEOF
44456 cat confdefs.h >>conftest.$ac_ext
44457 cat >>conftest.$ac_ext <<_ACEOF
44458 /* end confdefs.h. */
44459
44460 #include <sys/types.h>
44461 #include <sys/socket.h>
44462
44463 int
44464 main ()
44465 {
44466
44467 socklen_t len;
44468 getsockname(0, 0, &len);
44469
44470 ;
44471 return 0;
44472 }
44473 _ACEOF
44474 rm -f conftest.$ac_objext
44475 if { (ac_try="$ac_compile"
44476 case "(($ac_try" in
44477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44478 *) ac_try_echo=$ac_try;;
44479 esac
44480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44481 (eval "$ac_compile") 2>conftest.er1
44482 ac_status=$?
44483 grep -v '^ *+' conftest.er1 >conftest.err
44484 rm -f conftest.er1
44485 cat conftest.err >&5
44486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44487 (exit $ac_status); } && {
44488 test -z "$ac_cxx_werror_flag" ||
44489 test ! -s conftest.err
44490 } && test -s conftest.$ac_objext; then
44491 wx_cv_type_getsockname3=socklen_t
44492 else
44493 echo "$as_me: failed program was:" >&5
44494 sed 's/^/| /' conftest.$ac_ext >&5
44495
44496
44497 CFLAGS_OLD="$CFLAGS"
44498 if test "$GCC" = yes ; then
44499 CFLAGS="-Werror $CFLAGS"
44500 fi
44501
44502 cat >conftest.$ac_ext <<_ACEOF
44503 /* confdefs.h. */
44504 _ACEOF
44505 cat confdefs.h >>conftest.$ac_ext
44506 cat >>conftest.$ac_ext <<_ACEOF
44507 /* end confdefs.h. */
44508
44509 #include <sys/types.h>
44510 #include <sys/socket.h>
44511
44512 int
44513 main ()
44514 {
44515
44516 size_t len;
44517 getsockname(0, 0, &len);
44518
44519 ;
44520 return 0;
44521 }
44522 _ACEOF
44523 rm -f conftest.$ac_objext
44524 if { (ac_try="$ac_compile"
44525 case "(($ac_try" in
44526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44527 *) ac_try_echo=$ac_try;;
44528 esac
44529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44530 (eval "$ac_compile") 2>conftest.er1
44531 ac_status=$?
44532 grep -v '^ *+' conftest.er1 >conftest.err
44533 rm -f conftest.er1
44534 cat conftest.err >&5
44535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44536 (exit $ac_status); } && {
44537 test -z "$ac_cxx_werror_flag" ||
44538 test ! -s conftest.err
44539 } && test -s conftest.$ac_objext; then
44540 wx_cv_type_getsockname3=size_t
44541 else
44542 echo "$as_me: failed program was:" >&5
44543 sed 's/^/| /' conftest.$ac_ext >&5
44544
44545 cat >conftest.$ac_ext <<_ACEOF
44546 /* confdefs.h. */
44547 _ACEOF
44548 cat confdefs.h >>conftest.$ac_ext
44549 cat >>conftest.$ac_ext <<_ACEOF
44550 /* end confdefs.h. */
44551
44552 #include <sys/types.h>
44553 #include <sys/socket.h>
44554
44555 int
44556 main ()
44557 {
44558
44559 int len;
44560 getsockname(0, 0, &len);
44561
44562 ;
44563 return 0;
44564 }
44565 _ACEOF
44566 rm -f conftest.$ac_objext
44567 if { (ac_try="$ac_compile"
44568 case "(($ac_try" in
44569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44570 *) ac_try_echo=$ac_try;;
44571 esac
44572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44573 (eval "$ac_compile") 2>conftest.er1
44574 ac_status=$?
44575 grep -v '^ *+' conftest.er1 >conftest.err
44576 rm -f conftest.er1
44577 cat conftest.err >&5
44578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44579 (exit $ac_status); } && {
44580 test -z "$ac_cxx_werror_flag" ||
44581 test ! -s conftest.err
44582 } && test -s conftest.$ac_objext; then
44583 wx_cv_type_getsockname3=int
44584 else
44585 echo "$as_me: failed program was:" >&5
44586 sed 's/^/| /' conftest.$ac_ext >&5
44587
44588 wx_cv_type_getsockname3=unknown
44589
44590 fi
44591
44592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44593
44594 fi
44595
44596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44597
44598 CFLAGS="$CFLAGS_OLD"
44599
44600
44601 fi
44602
44603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44604 ac_ext=c
44605 ac_cpp='$CPP $CPPFLAGS'
44606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44609
44610
44611 fi
44612 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44613 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44614
44615 if test "$wx_cv_type_getsockname3" = "unknown"; then
44616 wxUSE_SOCKETS=no
44617 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44618 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44619 else
44620 cat >>confdefs.h <<_ACEOF
44621 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44622 _ACEOF
44623
44624 fi
44625 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44626 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44627 if test "${wx_cv_type_getsockopt5+set}" = set; then
44628 echo $ECHO_N "(cached) $ECHO_C" >&6
44629 else
44630
44631 ac_ext=cpp
44632 ac_cpp='$CXXCPP $CPPFLAGS'
44633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44636
44637 cat >conftest.$ac_ext <<_ACEOF
44638 /* confdefs.h. */
44639 _ACEOF
44640 cat confdefs.h >>conftest.$ac_ext
44641 cat >>conftest.$ac_ext <<_ACEOF
44642 /* end confdefs.h. */
44643
44644 #include <sys/types.h>
44645 #include <sys/socket.h>
44646
44647 int
44648 main ()
44649 {
44650
44651 socklen_t len;
44652 getsockopt(0, 0, 0, 0, &len);
44653
44654 ;
44655 return 0;
44656 }
44657 _ACEOF
44658 rm -f conftest.$ac_objext
44659 if { (ac_try="$ac_compile"
44660 case "(($ac_try" in
44661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44662 *) ac_try_echo=$ac_try;;
44663 esac
44664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44665 (eval "$ac_compile") 2>conftest.er1
44666 ac_status=$?
44667 grep -v '^ *+' conftest.er1 >conftest.err
44668 rm -f conftest.er1
44669 cat conftest.err >&5
44670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44671 (exit $ac_status); } && {
44672 test -z "$ac_cxx_werror_flag" ||
44673 test ! -s conftest.err
44674 } && test -s conftest.$ac_objext; then
44675 wx_cv_type_getsockopt5=socklen_t
44676 else
44677 echo "$as_me: failed program was:" >&5
44678 sed 's/^/| /' conftest.$ac_ext >&5
44679
44680
44681 cat >conftest.$ac_ext <<_ACEOF
44682 /* confdefs.h. */
44683 _ACEOF
44684 cat confdefs.h >>conftest.$ac_ext
44685 cat >>conftest.$ac_ext <<_ACEOF
44686 /* end confdefs.h. */
44687
44688 #include <sys/types.h>
44689 #include <sys/socket.h>
44690
44691 int
44692 main ()
44693 {
44694
44695 size_t len;
44696 getsockopt(0, 0, 0, 0, &len);
44697
44698 ;
44699 return 0;
44700 }
44701 _ACEOF
44702 rm -f conftest.$ac_objext
44703 if { (ac_try="$ac_compile"
44704 case "(($ac_try" in
44705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44706 *) ac_try_echo=$ac_try;;
44707 esac
44708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44709 (eval "$ac_compile") 2>conftest.er1
44710 ac_status=$?
44711 grep -v '^ *+' conftest.er1 >conftest.err
44712 rm -f conftest.er1
44713 cat conftest.err >&5
44714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44715 (exit $ac_status); } && {
44716 test -z "$ac_cxx_werror_flag" ||
44717 test ! -s conftest.err
44718 } && test -s conftest.$ac_objext; then
44719 wx_cv_type_getsockopt5=size_t
44720 else
44721 echo "$as_me: failed program was:" >&5
44722 sed 's/^/| /' conftest.$ac_ext >&5
44723
44724 cat >conftest.$ac_ext <<_ACEOF
44725 /* confdefs.h. */
44726 _ACEOF
44727 cat confdefs.h >>conftest.$ac_ext
44728 cat >>conftest.$ac_ext <<_ACEOF
44729 /* end confdefs.h. */
44730
44731 #include <sys/types.h>
44732 #include <sys/socket.h>
44733
44734 int
44735 main ()
44736 {
44737
44738 int len;
44739 getsockopt(0, 0, 0, 0, &len);
44740
44741 ;
44742 return 0;
44743 }
44744 _ACEOF
44745 rm -f conftest.$ac_objext
44746 if { (ac_try="$ac_compile"
44747 case "(($ac_try" in
44748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44749 *) ac_try_echo=$ac_try;;
44750 esac
44751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44752 (eval "$ac_compile") 2>conftest.er1
44753 ac_status=$?
44754 grep -v '^ *+' conftest.er1 >conftest.err
44755 rm -f conftest.er1
44756 cat conftest.err >&5
44757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44758 (exit $ac_status); } && {
44759 test -z "$ac_cxx_werror_flag" ||
44760 test ! -s conftest.err
44761 } && test -s conftest.$ac_objext; then
44762 wx_cv_type_getsockopt5=int
44763 else
44764 echo "$as_me: failed program was:" >&5
44765 sed 's/^/| /' conftest.$ac_ext >&5
44766
44767 wx_cv_type_getsockopt5=unknown
44768
44769 fi
44770
44771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44772
44773 fi
44774
44775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44776
44777
44778 fi
44779
44780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44781 ac_ext=c
44782 ac_cpp='$CPP $CPPFLAGS'
44783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44786
44787
44788 fi
44789 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44790 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44791
44792 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44793 wxUSE_SOCKETS=no
44794 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44795 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44796 else
44797 cat >>confdefs.h <<_ACEOF
44798 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44799 _ACEOF
44800
44801 fi
44802 fi
44803 fi
44804
44805 if test "$wxUSE_SOCKETS" = "yes" ; then
44806 if test "$wxUSE_IPV6" = "yes"; then
44807 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44808 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44809 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44810 echo $ECHO_N "(cached) $ECHO_C" >&6
44811 else
44812
44813 cat >conftest.$ac_ext <<_ACEOF
44814 /* confdefs.h. */
44815 _ACEOF
44816 cat confdefs.h >>conftest.$ac_ext
44817 cat >>conftest.$ac_ext <<_ACEOF
44818 /* end confdefs.h. */
44819
44820 #include <sys/types.h>
44821 #include <sys/socket.h>
44822 #include <netinet/in.h>
44823
44824 int
44825 main ()
44826 {
44827
44828 struct sockaddr_in6 sa6;
44829
44830 ;
44831 return 0;
44832 }
44833 _ACEOF
44834 rm -f conftest.$ac_objext
44835 if { (ac_try="$ac_compile"
44836 case "(($ac_try" in
44837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44838 *) ac_try_echo=$ac_try;;
44839 esac
44840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44841 (eval "$ac_compile") 2>conftest.er1
44842 ac_status=$?
44843 grep -v '^ *+' conftest.er1 >conftest.err
44844 rm -f conftest.er1
44845 cat conftest.err >&5
44846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44847 (exit $ac_status); } && {
44848 test -z "$ac_c_werror_flag" ||
44849 test ! -s conftest.err
44850 } && test -s conftest.$ac_objext; then
44851 wx_cv_type_sockaddr_in6=yes
44852 else
44853 echo "$as_me: failed program was:" >&5
44854 sed 's/^/| /' conftest.$ac_ext >&5
44855
44856 wx_cv_type_sockaddr_in6=no
44857
44858 fi
44859
44860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44861
44862
44863 fi
44864 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44865 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44866
44867 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44868 cat >>confdefs.h <<\_ACEOF
44869 #define wxUSE_IPV6 1
44870 _ACEOF
44871
44872 else
44873 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44874 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44875 fi
44876 fi
44877
44878 cat >>confdefs.h <<\_ACEOF
44879 #define wxUSE_SOCKETS 1
44880 _ACEOF
44881
44882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44883 fi
44884
44885 if test "$wxUSE_PROTOCOL" = "yes"; then
44886 if test "$wxUSE_SOCKETS" != "yes"; then
44887 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44888 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44889 wxUSE_PROTOCOL=no
44890 fi
44891 fi
44892
44893 if test "$wxUSE_PROTOCOL" = "yes"; then
44894 cat >>confdefs.h <<\_ACEOF
44895 #define wxUSE_PROTOCOL 1
44896 _ACEOF
44897
44898
44899 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44900 cat >>confdefs.h <<\_ACEOF
44901 #define wxUSE_PROTOCOL_HTTP 1
44902 _ACEOF
44903
44904 fi
44905 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44906 cat >>confdefs.h <<\_ACEOF
44907 #define wxUSE_PROTOCOL_FTP 1
44908 _ACEOF
44909
44910 fi
44911 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44912 cat >>confdefs.h <<\_ACEOF
44913 #define wxUSE_PROTOCOL_FILE 1
44914 _ACEOF
44915
44916 fi
44917 else
44918 if test "$wxUSE_FS_INET" = "yes"; then
44919 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44920 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44921 wxUSE_FS_INET="no"
44922 fi
44923 fi
44924
44925 if test "$wxUSE_URL" = "yes"; then
44926 if test "$wxUSE_PROTOCOL" != "yes"; then
44927 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44928 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44929 wxUSE_URL=no
44930 fi
44931 if test "$wxUSE_URL" = "yes"; then
44932 cat >>confdefs.h <<\_ACEOF
44933 #define wxUSE_URL 1
44934 _ACEOF
44935
44936 fi
44937 fi
44938
44939 if test "$wxUSE_VARIANT" = "yes"; then
44940 cat >>confdefs.h <<\_ACEOF
44941 #define wxUSE_VARIANT 1
44942 _ACEOF
44943
44944 fi
44945
44946 if test "$wxUSE_FS_INET" = "yes"; then
44947 cat >>confdefs.h <<\_ACEOF
44948 #define wxUSE_FS_INET 1
44949 _ACEOF
44950
44951 fi
44952
44953
44954 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44955 wxUSE_JOYSTICK=no
44956
44957 if test "$TOOLKIT" = "MSW"; then
44958 wxUSE_JOYSTICK=yes
44959
44960 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44961 if test "$USE_DARWIN" = 1; then
44962 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44963 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44964 ac_ext=cpp
44965 ac_cpp='$CXXCPP $CPPFLAGS'
44966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44969
44970 cat >conftest.$ac_ext <<_ACEOF
44971 /* confdefs.h. */
44972 _ACEOF
44973 cat confdefs.h >>conftest.$ac_ext
44974 cat >>conftest.$ac_ext <<_ACEOF
44975 /* end confdefs.h. */
44976 #include <IOKit/hid/IOHIDLib.h>
44977 int
44978 main ()
44979 {
44980 IOHIDQueueInterface *qi = NULL;
44981 IOHIDCallbackFunction cb = NULL;
44982 qi->setEventCallout(NULL, cb, NULL, NULL);
44983 ;
44984 return 0;
44985 }
44986 _ACEOF
44987 rm -f conftest.$ac_objext
44988 if { (ac_try="$ac_compile"
44989 case "(($ac_try" in
44990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44991 *) ac_try_echo=$ac_try;;
44992 esac
44993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44994 (eval "$ac_compile") 2>conftest.er1
44995 ac_status=$?
44996 grep -v '^ *+' conftest.er1 >conftest.err
44997 rm -f conftest.er1
44998 cat conftest.err >&5
44999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45000 (exit $ac_status); } && {
45001 test -z "$ac_cxx_werror_flag" ||
45002 test ! -s conftest.err
45003 } && test -s conftest.$ac_objext; then
45004 wxUSE_JOYSTICK=yes
45005
45006 else
45007 echo "$as_me: failed program was:" >&5
45008 sed 's/^/| /' conftest.$ac_ext >&5
45009
45010
45011 fi
45012
45013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45014 ac_ext=c
45015 ac_cpp='$CPP $CPPFLAGS'
45016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45019
45020 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45021 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45022 fi
45023
45024 else
45025 if test "$wxUSE_MGL" != 1; then
45026
45027 for ac_header in linux/joystick.h
45028 do
45029 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45030 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45033 echo $ECHO_N "(cached) $ECHO_C" >&6
45034 else
45035 cat >conftest.$ac_ext <<_ACEOF
45036 /* confdefs.h. */
45037 _ACEOF
45038 cat confdefs.h >>conftest.$ac_ext
45039 cat >>conftest.$ac_ext <<_ACEOF
45040 /* end confdefs.h. */
45041 $ac_includes_default
45042
45043 #include <$ac_header>
45044 _ACEOF
45045 rm -f conftest.$ac_objext
45046 if { (ac_try="$ac_compile"
45047 case "(($ac_try" in
45048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45049 *) ac_try_echo=$ac_try;;
45050 esac
45051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45052 (eval "$ac_compile") 2>conftest.er1
45053 ac_status=$?
45054 grep -v '^ *+' conftest.er1 >conftest.err
45055 rm -f conftest.er1
45056 cat conftest.err >&5
45057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45058 (exit $ac_status); } && {
45059 test -z "$ac_c_werror_flag" ||
45060 test ! -s conftest.err
45061 } && test -s conftest.$ac_objext; then
45062 eval "$as_ac_Header=yes"
45063 else
45064 echo "$as_me: failed program was:" >&5
45065 sed 's/^/| /' conftest.$ac_ext >&5
45066
45067 eval "$as_ac_Header=no"
45068 fi
45069
45070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45071 fi
45072 ac_res=`eval echo '${'$as_ac_Header'}'`
45073 { echo "$as_me:$LINENO: result: $ac_res" >&5
45074 echo "${ECHO_T}$ac_res" >&6; }
45075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45076 cat >>confdefs.h <<_ACEOF
45077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45078 _ACEOF
45079 wxUSE_JOYSTICK=yes
45080 fi
45081
45082 done
45083
45084 fi
45085 fi
45086
45087 if test "$wxUSE_JOYSTICK" = "yes"; then
45088 cat >>confdefs.h <<\_ACEOF
45089 #define wxUSE_JOYSTICK 1
45090 _ACEOF
45091
45092 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45093 else
45094 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45095 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45096 fi
45097 fi
45098
45099
45100
45101 if test "$wxUSE_FONTENUM" = "yes" ; then
45102 cat >>confdefs.h <<\_ACEOF
45103 #define wxUSE_FONTENUM 1
45104 _ACEOF
45105
45106 fi
45107
45108 if test "$wxUSE_FONTMAP" = "yes" ; then
45109 cat >>confdefs.h <<\_ACEOF
45110 #define wxUSE_FONTMAP 1
45111 _ACEOF
45112
45113 fi
45114
45115 if test "$wxUSE_UNICODE" = "yes" ; then
45116 cat >>confdefs.h <<\_ACEOF
45117 #define wxUSE_UNICODE 1
45118 _ACEOF
45119
45120
45121 if test "$USE_WIN32" != 1; then
45122 wxUSE_UNICODE_MSLU=no
45123 fi
45124
45125 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45126 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45127 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45128 if test "${ac_cv_lib_unicows_main+set}" = set; then
45129 echo $ECHO_N "(cached) $ECHO_C" >&6
45130 else
45131 ac_check_lib_save_LIBS=$LIBS
45132 LIBS="-lunicows $LIBS"
45133 cat >conftest.$ac_ext <<_ACEOF
45134 /* confdefs.h. */
45135 _ACEOF
45136 cat confdefs.h >>conftest.$ac_ext
45137 cat >>conftest.$ac_ext <<_ACEOF
45138 /* end confdefs.h. */
45139
45140
45141 int
45142 main ()
45143 {
45144 return main ();
45145 ;
45146 return 0;
45147 }
45148 _ACEOF
45149 rm -f conftest.$ac_objext conftest$ac_exeext
45150 if { (ac_try="$ac_link"
45151 case "(($ac_try" in
45152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45153 *) ac_try_echo=$ac_try;;
45154 esac
45155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45156 (eval "$ac_link") 2>conftest.er1
45157 ac_status=$?
45158 grep -v '^ *+' conftest.er1 >conftest.err
45159 rm -f conftest.er1
45160 cat conftest.err >&5
45161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45162 (exit $ac_status); } && {
45163 test -z "$ac_c_werror_flag" ||
45164 test ! -s conftest.err
45165 } && test -s conftest$ac_exeext &&
45166 $as_test_x conftest$ac_exeext; then
45167 ac_cv_lib_unicows_main=yes
45168 else
45169 echo "$as_me: failed program was:" >&5
45170 sed 's/^/| /' conftest.$ac_ext >&5
45171
45172 ac_cv_lib_unicows_main=no
45173 fi
45174
45175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45176 conftest$ac_exeext conftest.$ac_ext
45177 LIBS=$ac_check_lib_save_LIBS
45178 fi
45179 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45180 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45181 if test $ac_cv_lib_unicows_main = yes; then
45182
45183 cat >>confdefs.h <<\_ACEOF
45184 #define wxUSE_UNICODE_MSLU 1
45185 _ACEOF
45186
45187
45188 else
45189
45190 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45191 Applications will only run on Windows NT/2000/XP!" >&5
45192 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45193 Applications will only run on Windows NT/2000/XP!" >&2;}
45194 wxUSE_UNICODE_MSLU=no
45195
45196 fi
45197
45198 fi
45199 fi
45200
45201 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45202 cat >>confdefs.h <<\_ACEOF
45203 #define wxUSE_UNICODE_UTF8 1
45204 _ACEOF
45205
45206
45207 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_UTF8_LOCALE_ONLY 1
45210 _ACEOF
45211
45212 fi
45213 fi
45214
45215
45216 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45217 cat >>confdefs.h <<\_ACEOF
45218 #define wxUSE_CONSTRAINTS 1
45219 _ACEOF
45220
45221 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45222 fi
45223
45224 if test "$wxUSE_MDI" = "yes"; then
45225 cat >>confdefs.h <<\_ACEOF
45226 #define wxUSE_MDI 1
45227 _ACEOF
45228
45229
45230 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_MDI_ARCHITECTURE 1
45233 _ACEOF
45234
45235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45236 fi
45237 fi
45238
45239 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45240 cat >>confdefs.h <<\_ACEOF
45241 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45242 _ACEOF
45243
45244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45245 fi
45246
45247 if test "$wxUSE_HELP" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_HELP 1
45250 _ACEOF
45251
45252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45253
45254 if test "$wxUSE_MSW" = 1; then
45255 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45256 cat >>confdefs.h <<\_ACEOF
45257 #define wxUSE_MS_HTML_HELP 1
45258 _ACEOF
45259
45260 fi
45261 fi
45262
45263 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45264 if test "$wxUSE_HTML" = "yes"; then
45265 cat >>confdefs.h <<\_ACEOF
45266 #define wxUSE_WXHTML_HELP 1
45267 _ACEOF
45268
45269 else
45270 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45271 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45272 wxUSE_WXHTML_HELP=no
45273 fi
45274 fi
45275 fi
45276
45277 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45278 cat >>confdefs.h <<\_ACEOF
45279 #define wxUSE_PRINTING_ARCHITECTURE 1
45280 _ACEOF
45281
45282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45283 fi
45284
45285 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45286 cat >>confdefs.h <<\_ACEOF
45287 #define wxUSE_POSTSCRIPT 1
45288 _ACEOF
45289
45290 fi
45291
45292 cat >>confdefs.h <<\_ACEOF
45293 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45294 _ACEOF
45295
45296
45297 if test "$wxUSE_SVG" = "yes"; then
45298 cat >>confdefs.h <<\_ACEOF
45299 #define wxUSE_SVG 1
45300 _ACEOF
45301
45302 fi
45303
45304
45305 if test "$wxUSE_METAFILE" = "yes"; then
45306 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45307 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45308 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45309 wxUSE_METAFILE=no
45310 fi
45311 fi
45312
45313
45314 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45315 -o "$wxUSE_CLIPBOARD" = "yes" \
45316 -o "$wxUSE_OLE" = "yes" \
45317 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45318 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45319 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45320 if test "${ac_cv_header_ole2_h+set}" = set; then
45321 echo $ECHO_N "(cached) $ECHO_C" >&6
45322 else
45323 cat >conftest.$ac_ext <<_ACEOF
45324 /* confdefs.h. */
45325 _ACEOF
45326 cat confdefs.h >>conftest.$ac_ext
45327 cat >>conftest.$ac_ext <<_ACEOF
45328 /* end confdefs.h. */
45329
45330
45331 #include <ole2.h>
45332 _ACEOF
45333 rm -f conftest.$ac_objext
45334 if { (ac_try="$ac_compile"
45335 case "(($ac_try" in
45336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45337 *) ac_try_echo=$ac_try;;
45338 esac
45339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45340 (eval "$ac_compile") 2>conftest.er1
45341 ac_status=$?
45342 grep -v '^ *+' conftest.er1 >conftest.err
45343 rm -f conftest.er1
45344 cat conftest.err >&5
45345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45346 (exit $ac_status); } && {
45347 test -z "$ac_c_werror_flag" ||
45348 test ! -s conftest.err
45349 } && test -s conftest.$ac_objext; then
45350 ac_cv_header_ole2_h=yes
45351 else
45352 echo "$as_me: failed program was:" >&5
45353 sed 's/^/| /' conftest.$ac_ext >&5
45354
45355 ac_cv_header_ole2_h=no
45356 fi
45357
45358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45359 fi
45360 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45361 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45362
45363
45364
45365 if test "$ac_cv_header_ole2_h" = "yes" ; then
45366 if test "$GCC" = yes ; then
45367 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45368 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45369 cat >conftest.$ac_ext <<_ACEOF
45370 /* confdefs.h. */
45371 _ACEOF
45372 cat confdefs.h >>conftest.$ac_ext
45373 cat >>conftest.$ac_ext <<_ACEOF
45374 /* end confdefs.h. */
45375 #include <windows.h>
45376 #include <ole2.h>
45377 int
45378 main ()
45379 {
45380
45381 ;
45382 return 0;
45383 }
45384 _ACEOF
45385 rm -f conftest.$ac_objext
45386 if { (ac_try="$ac_compile"
45387 case "(($ac_try" in
45388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45389 *) ac_try_echo=$ac_try;;
45390 esac
45391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45392 (eval "$ac_compile") 2>conftest.er1
45393 ac_status=$?
45394 grep -v '^ *+' conftest.er1 >conftest.err
45395 rm -f conftest.er1
45396 cat conftest.err >&5
45397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45398 (exit $ac_status); } && {
45399 test -z "$ac_c_werror_flag" ||
45400 test ! -s conftest.err
45401 } && test -s conftest.$ac_objext; then
45402 { echo "$as_me:$LINENO: result: no" >&5
45403 echo "${ECHO_T}no" >&6; }
45404 else
45405 echo "$as_me: failed program was:" >&5
45406 sed 's/^/| /' conftest.$ac_ext >&5
45407
45408 { echo "$as_me:$LINENO: result: yes" >&5
45409 echo "${ECHO_T}yes" >&6; }
45410 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45411 fi
45412
45413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45414 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45415 if test "$wxUSE_OLE" = "yes" ; then
45416 cat >>confdefs.h <<\_ACEOF
45417 #define wxUSE_OLE 1
45418 _ACEOF
45419
45420 cat >>confdefs.h <<\_ACEOF
45421 #define wxUSE_OLE_AUTOMATION 1
45422 _ACEOF
45423
45424 cat >>confdefs.h <<\_ACEOF
45425 #define wxUSE_ACTIVEX 1
45426 _ACEOF
45427
45428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45429 fi
45430 fi
45431
45432 if test "$wxUSE_DATAOBJ" = "yes" ; then
45433 cat >>confdefs.h <<\_ACEOF
45434 #define wxUSE_DATAOBJ 1
45435 _ACEOF
45436
45437 fi
45438 else
45439 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45440 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45441
45442 wxUSE_CLIPBOARD=no
45443 wxUSE_DRAG_AND_DROP=no
45444 wxUSE_DATAOBJ=no
45445 wxUSE_OLE=no
45446 fi
45447
45448 if test "$wxUSE_METAFILE" = "yes"; then
45449 cat >>confdefs.h <<\_ACEOF
45450 #define wxUSE_METAFILE 1
45451 _ACEOF
45452
45453
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_ENH_METAFILE 1
45456 _ACEOF
45457
45458 fi
45459 fi
45460
45461 if test "$wxUSE_IPC" = "yes"; then
45462 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45463 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45464 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45465 wxUSE_IPC=no
45466 fi
45467
45468 if test "$wxUSE_IPC" = "yes"; then
45469 cat >>confdefs.h <<\_ACEOF
45470 #define wxUSE_IPC 1
45471 _ACEOF
45472
45473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45474 fi
45475 fi
45476
45477 if test "$wxUSE_DATAOBJ" = "yes"; then
45478 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45479 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45480 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45481 wxUSE_DATAOBJ=no
45482 else
45483 cat >>confdefs.h <<\_ACEOF
45484 #define wxUSE_DATAOBJ 1
45485 _ACEOF
45486
45487 fi
45488 else
45489 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45490 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45491 wxUSE_CLIPBOARD=no
45492 wxUSE_DRAG_AND_DROP=no
45493 fi
45494
45495 if test "$wxUSE_CLIPBOARD" = "yes"; then
45496 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45497 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45498 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45499 wxUSE_CLIPBOARD=no
45500 fi
45501
45502 if test "$wxUSE_CLIPBOARD" = "yes"; then
45503 cat >>confdefs.h <<\_ACEOF
45504 #define wxUSE_CLIPBOARD 1
45505 _ACEOF
45506
45507 fi
45508 fi
45509
45510 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45511 if test "$wxUSE_GTK" = 1; then
45512 if test "$WXGTK12" != 1; then
45513 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45514 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45515 wxUSE_DRAG_AND_DROP=no
45516 fi
45517 fi
45518
45519 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45520 "$wxUSE_DFB" = 1; then
45521 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45522 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45523 wxUSE_DRAG_AND_DROP=no
45524 fi
45525
45526 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45527 cat >>confdefs.h <<\_ACEOF
45528 #define wxUSE_DRAG_AND_DROP 1
45529 _ACEOF
45530
45531 fi
45532
45533 fi
45534
45535 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45537 fi
45538
45539 if test "$wxUSE_CLIPBOARD" = "yes"; then
45540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45541 fi
45542
45543 if test "$wxUSE_SPLINES" = "yes" ; then
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_SPLINES 1
45546 _ACEOF
45547
45548 fi
45549
45550 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45551 cat >>confdefs.h <<\_ACEOF
45552 #define wxUSE_MOUSEWHEEL 1
45553 _ACEOF
45554
45555 fi
45556
45557
45558 USES_CONTROLS=0
45559 if test "$wxUSE_CONTROLS" = "yes"; then
45560 USES_CONTROLS=1
45561 fi
45562
45563 if test "$wxUSE_ACCEL" = "yes"; then
45564 cat >>confdefs.h <<\_ACEOF
45565 #define wxUSE_ACCEL 1
45566 _ACEOF
45567
45568 USES_CONTROLS=1
45569 fi
45570
45571 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_ANIMATIONCTRL 1
45574 _ACEOF
45575
45576 USES_CONTROLS=1
45577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45578 fi
45579
45580 if test "$wxUSE_BUTTON" = "yes"; then
45581 cat >>confdefs.h <<\_ACEOF
45582 #define wxUSE_BUTTON 1
45583 _ACEOF
45584
45585 USES_CONTROLS=1
45586 fi
45587
45588 if test "$wxUSE_BMPBUTTON" = "yes"; then
45589 cat >>confdefs.h <<\_ACEOF
45590 #define wxUSE_BMPBUTTON 1
45591 _ACEOF
45592
45593 USES_CONTROLS=1
45594 fi
45595
45596 if test "$wxUSE_CALCTRL" = "yes"; then
45597 cat >>confdefs.h <<\_ACEOF
45598 #define wxUSE_CALENDARCTRL 1
45599 _ACEOF
45600
45601 USES_CONTROLS=1
45602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45603 fi
45604
45605 if test "$wxUSE_CARET" = "yes"; then
45606 cat >>confdefs.h <<\_ACEOF
45607 #define wxUSE_CARET 1
45608 _ACEOF
45609
45610 USES_CONTROLS=1
45611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45612 fi
45613
45614 if test "$wxUSE_COLLPANE" = "yes"; then
45615 cat >>confdefs.h <<\_ACEOF
45616 #define wxUSE_COLLPANE 1
45617 _ACEOF
45618
45619 USES_CONTROLS=1
45620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45621 fi
45622
45623 if test "$wxUSE_COMBOBOX" = "yes"; then
45624 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_COMBOBOX 1
45626 _ACEOF
45627
45628 USES_CONTROLS=1
45629 fi
45630
45631 if test "$wxUSE_COMBOCTRL" = "yes"; then
45632 cat >>confdefs.h <<\_ACEOF
45633 #define wxUSE_COMBOCTRL 1
45634 _ACEOF
45635
45636 USES_CONTROLS=1
45637 fi
45638
45639 if test "$wxUSE_CHOICE" = "yes"; then
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_CHOICE 1
45642 _ACEOF
45643
45644 USES_CONTROLS=1
45645 fi
45646
45647 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45648 cat >>confdefs.h <<\_ACEOF
45649 #define wxUSE_CHOICEBOOK 1
45650 _ACEOF
45651
45652 USES_CONTROLS=1
45653 fi
45654
45655 if test "$wxUSE_CHECKBOX" = "yes"; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_CHECKBOX 1
45658 _ACEOF
45659
45660 USES_CONTROLS=1
45661 fi
45662
45663 if test "$wxUSE_CHECKLST" = "yes"; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_CHECKLISTBOX 1
45666 _ACEOF
45667
45668 USES_CONTROLS=1
45669 fi
45670
45671 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45672 cat >>confdefs.h <<\_ACEOF
45673 #define wxUSE_COLOURPICKERCTRL 1
45674 _ACEOF
45675
45676 USES_CONTROLS=1
45677 fi
45678
45679 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_DATEPICKCTRL 1
45682 _ACEOF
45683
45684 USES_CONTROLS=1
45685 fi
45686
45687 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_DIRPICKERCTRL 1
45690 _ACEOF
45691
45692 USES_CONTROLS=1
45693 fi
45694
45695 if test "$wxUSE_FILECTRL" = "yes"; then
45696 cat >>confdefs.h <<\_ACEOF
45697 #define wxUSE_FILECTRL 1
45698 _ACEOF
45699
45700 USES_CONTROLS=1
45701 fi
45702
45703 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45704 cat >>confdefs.h <<\_ACEOF
45705 #define wxUSE_FILEPICKERCTRL 1
45706 _ACEOF
45707
45708 USES_CONTROLS=1
45709 fi
45710
45711 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_FONTPICKERCTRL 1
45714 _ACEOF
45715
45716 USES_CONTROLS=1
45717 fi
45718
45719 if test "$wxUSE_DISPLAY" = "yes"; then
45720 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45721 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45722 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45723 wxUSE_DISPLAY=no
45724 else
45725 cat >>confdefs.h <<\_ACEOF
45726 #define wxUSE_DISPLAY 1
45727 _ACEOF
45728
45729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45730 fi
45731 fi
45732
45733 if test "$wxUSE_DETECT_SM" = "yes"; then
45734 cat >>confdefs.h <<\_ACEOF
45735 #define wxUSE_DETECT_SM 1
45736 _ACEOF
45737
45738 fi
45739
45740 if test "$wxUSE_GAUGE" = "yes"; then
45741 cat >>confdefs.h <<\_ACEOF
45742 #define wxUSE_GAUGE 1
45743 _ACEOF
45744
45745 USES_CONTROLS=1
45746 fi
45747
45748 if test "$wxUSE_GRID" = "yes"; then
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_GRID 1
45751 _ACEOF
45752
45753 USES_CONTROLS=1
45754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45755 fi
45756
45757 if test "$wxUSE_HEADERCTRL" = "yes"; then
45758 cat >>confdefs.h <<\_ACEOF
45759 #define wxUSE_HEADERCTRL 1
45760 _ACEOF
45761
45762 USES_CONTROLS=1
45763 fi
45764
45765 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45766 cat >>confdefs.h <<\_ACEOF
45767 #define wxUSE_HYPERLINKCTRL 1
45768 _ACEOF
45769
45770 USES_CONTROLS=1
45771 fi
45772
45773 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45774 cat >>confdefs.h <<\_ACEOF
45775 #define wxUSE_BITMAPCOMBOBOX 1
45776 _ACEOF
45777
45778 USES_CONTROLS=1
45779 fi
45780
45781 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45782 cat >>confdefs.h <<\_ACEOF
45783 #define wxUSE_DATAVIEWCTRL 1
45784 _ACEOF
45785
45786 USES_CONTROLS=1
45787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45788 fi
45789
45790 if test "$wxUSE_IMAGLIST" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_IMAGLIST 1
45793 _ACEOF
45794
45795 fi
45796
45797 if test "$wxUSE_LISTBOOK" = "yes"; then
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_LISTBOOK 1
45800 _ACEOF
45801
45802 USES_CONTROLS=1
45803 fi
45804
45805 if test "$wxUSE_LISTBOX" = "yes"; then
45806 cat >>confdefs.h <<\_ACEOF
45807 #define wxUSE_LISTBOX 1
45808 _ACEOF
45809
45810 USES_CONTROLS=1
45811 fi
45812
45813 if test "$wxUSE_LISTCTRL" = "yes"; then
45814 if test "$wxUSE_IMAGLIST" = "yes"; then
45815 cat >>confdefs.h <<\_ACEOF
45816 #define wxUSE_LISTCTRL 1
45817 _ACEOF
45818
45819 USES_CONTROLS=1
45820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45821 else
45822 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45823 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45824 fi
45825 fi
45826
45827 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_EDITABLELISTBOX 1
45830 _ACEOF
45831
45832 USES_CONTROLS=1
45833 fi
45834
45835 if test "$wxUSE_NOTEBOOK" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_NOTEBOOK 1
45838 _ACEOF
45839
45840 USES_CONTROLS=1
45841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45842 fi
45843
45844 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45845 cat >>confdefs.h <<\_ACEOF
45846 #define wxUSE_NOTIFICATION_MESSAGE 1
45847 _ACEOF
45848
45849 fi
45850
45851 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45852 cat >>confdefs.h <<\_ACEOF
45853 #define wxUSE_ODCOMBOBOX 1
45854 _ACEOF
45855
45856 USES_CONTROLS=1
45857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45858 fi
45859
45860 if test "$wxUSE_RADIOBOX" = "yes"; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_RADIOBOX 1
45863 _ACEOF
45864
45865 USES_CONTROLS=1
45866 fi
45867
45868 if test "$wxUSE_RADIOBTN" = "yes"; then
45869 cat >>confdefs.h <<\_ACEOF
45870 #define wxUSE_RADIOBTN 1
45871 _ACEOF
45872
45873 USES_CONTROLS=1
45874 fi
45875
45876 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_REARRANGECTRL 1
45879 _ACEOF
45880
45881 fi
45882
45883 if test "$wxUSE_SASH" = "yes"; then
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_SASH 1
45886 _ACEOF
45887
45888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45889 fi
45890
45891 if test "$wxUSE_SCROLLBAR" = "yes"; then
45892 cat >>confdefs.h <<\_ACEOF
45893 #define wxUSE_SCROLLBAR 1
45894 _ACEOF
45895
45896 USES_CONTROLS=1
45897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
45898 fi
45899
45900 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45901 cat >>confdefs.h <<\_ACEOF
45902 #define wxUSE_SEARCHCTRL 1
45903 _ACEOF
45904
45905 USES_CONTROLS=1
45906 fi
45907
45908 if test "$wxUSE_SLIDER" = "yes"; then
45909 cat >>confdefs.h <<\_ACEOF
45910 #define wxUSE_SLIDER 1
45911 _ACEOF
45912
45913 USES_CONTROLS=1
45914 fi
45915
45916 if test "$wxUSE_SPINBTN" = "yes"; then
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_SPINBTN 1
45919 _ACEOF
45920
45921 USES_CONTROLS=1
45922 fi
45923
45924 if test "$wxUSE_SPINCTRL" = "yes"; then
45925 cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_SPINCTRL 1
45927 _ACEOF
45928
45929 USES_CONTROLS=1
45930 fi
45931
45932 if test "$wxUSE_SPLITTER" = "yes"; then
45933 cat >>confdefs.h <<\_ACEOF
45934 #define wxUSE_SPLITTER 1
45935 _ACEOF
45936
45937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45938 fi
45939
45940 if test "$wxUSE_STATBMP" = "yes"; then
45941 cat >>confdefs.h <<\_ACEOF
45942 #define wxUSE_STATBMP 1
45943 _ACEOF
45944
45945 USES_CONTROLS=1
45946 fi
45947
45948 if test "$wxUSE_STATBOX" = "yes"; then
45949 cat >>confdefs.h <<\_ACEOF
45950 #define wxUSE_STATBOX 1
45951 _ACEOF
45952
45953 USES_CONTROLS=1
45954 fi
45955
45956 if test "$wxUSE_STATTEXT" = "yes"; then
45957 cat >>confdefs.h <<\_ACEOF
45958 #define wxUSE_STATTEXT 1
45959 _ACEOF
45960
45961 USES_CONTROLS=1
45962 fi
45963
45964 if test "$wxUSE_STATLINE" = "yes"; then
45965 cat >>confdefs.h <<\_ACEOF
45966 #define wxUSE_STATLINE 1
45967 _ACEOF
45968
45969 USES_CONTROLS=1
45970 fi
45971
45972 if test "$wxUSE_STATUSBAR" = "yes"; then
45973 cat >>confdefs.h <<\_ACEOF
45974 #define wxUSE_NATIVE_STATUSBAR 1
45975 _ACEOF
45976
45977 cat >>confdefs.h <<\_ACEOF
45978 #define wxUSE_STATUSBAR 1
45979 _ACEOF
45980
45981 USES_CONTROLS=1
45982
45983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45984 fi
45985
45986 if test "$wxUSE_TEXTCTRL" = "yes"; then
45987 cat >>confdefs.h <<\_ACEOF
45988 #define wxUSE_TEXTCTRL 1
45989 _ACEOF
45990
45991 USES_CONTROLS=1
45992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45993
45994 cat >>confdefs.h <<\_ACEOF
45995 #define wxUSE_RICHEDIT 1
45996 _ACEOF
45997
45998 cat >>confdefs.h <<\_ACEOF
45999 #define wxUSE_RICHEDIT2 1
46000 _ACEOF
46001
46002 fi
46003
46004 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46005 if test "$wxUSE_COCOA" = 1 ; then
46006 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46007 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46008 wxUSE_TOGGLEBTN=no
46009 fi
46010
46011 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46012 cat >>confdefs.h <<\_ACEOF
46013 #define wxUSE_TOGGLEBTN 1
46014 _ACEOF
46015
46016 USES_CONTROLS=1
46017 fi
46018 fi
46019
46020 if test "$wxUSE_TOOLBAR" = "yes"; then
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_TOOLBAR 1
46023 _ACEOF
46024
46025 USES_CONTROLS=1
46026
46027 if test "$wxUSE_UNIVERSAL" = "yes"; then
46028 wxUSE_TOOLBAR_NATIVE="no"
46029 else
46030 wxUSE_TOOLBAR_NATIVE="yes"
46031 cat >>confdefs.h <<\_ACEOF
46032 #define wxUSE_TOOLBAR_NATIVE 1
46033 _ACEOF
46034
46035 fi
46036
46037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46038 fi
46039
46040 if test "$wxUSE_TOOLTIPS" = "yes"; then
46041 if test "$wxUSE_MOTIF" = 1; then
46042 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46043 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46044 else
46045 if test "$wxUSE_UNIVERSAL" = "yes"; then
46046 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46047 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46048 else
46049 cat >>confdefs.h <<\_ACEOF
46050 #define wxUSE_TOOLTIPS 1
46051 _ACEOF
46052
46053 fi
46054 fi
46055 fi
46056
46057 if test "$wxUSE_TREEBOOK" = "yes"; then
46058 cat >>confdefs.h <<\_ACEOF
46059 #define wxUSE_TREEBOOK 1
46060 _ACEOF
46061
46062 USES_CONTROLS=1
46063 fi
46064
46065 if test "$wxUSE_TOOLBOOK" = "yes"; then
46066 cat >>confdefs.h <<\_ACEOF
46067 #define wxUSE_TOOLBOOK 1
46068 _ACEOF
46069
46070 USES_CONTROLS=1
46071 fi
46072
46073 if test "$wxUSE_TREECTRL" = "yes"; then
46074 if test "$wxUSE_IMAGLIST" = "yes"; then
46075 cat >>confdefs.h <<\_ACEOF
46076 #define wxUSE_TREECTRL 1
46077 _ACEOF
46078
46079 USES_CONTROLS=1
46080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46081 else
46082 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46083 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46084 fi
46085 fi
46086
46087 if test "$wxUSE_POPUPWIN" = "yes"; then
46088 if test "$wxUSE_COCOA" = 1 ; then
46089 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46090 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46091 else
46092 if test "$wxUSE_PM" = 1; then
46093 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46094 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46095 else
46096 cat >>confdefs.h <<\_ACEOF
46097 #define wxUSE_POPUPWIN 1
46098 _ACEOF
46099
46100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46101
46102 USES_CONTROLS=1
46103 fi
46104 fi
46105 fi
46106
46107 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46108 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46109 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46110 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46111 else
46112 cat >>confdefs.h <<\_ACEOF
46113 #define wxUSE_DIALUP_MANAGER 1
46114 _ACEOF
46115
46116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46117 fi
46118 fi
46119
46120 if test "$wxUSE_TIPWINDOW" = "yes"; then
46121 if test "$wxUSE_PM" = 1; then
46122 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46123 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46124 else
46125 cat >>confdefs.h <<\_ACEOF
46126 #define wxUSE_TIPWINDOW 1
46127 _ACEOF
46128
46129 fi
46130 fi
46131
46132 if test "$USES_CONTROLS" = 1; then
46133 cat >>confdefs.h <<\_ACEOF
46134 #define wxUSE_CONTROLS 1
46135 _ACEOF
46136
46137 fi
46138
46139
46140 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46141 cat >>confdefs.h <<\_ACEOF
46142 #define wxUSE_ACCESSIBILITY 1
46143 _ACEOF
46144
46145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46146 fi
46147
46148 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46149 cat >>confdefs.h <<\_ACEOF
46150 #define wxUSE_DRAGIMAGE 1
46151 _ACEOF
46152
46153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46154 fi
46155
46156 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46157 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46158 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46159 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46160 else
46161 cat >>confdefs.h <<\_ACEOF
46162 #define wxUSE_EXCEPTIONS 1
46163 _ACEOF
46164
46165 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46166 fi
46167 fi
46168
46169 USE_HTML=0
46170 if test "$wxUSE_HTML" = "yes"; then
46171 cat >>confdefs.h <<\_ACEOF
46172 #define wxUSE_HTML 1
46173 _ACEOF
46174
46175 USE_HTML=1
46176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46177 fi
46178 if test "$wxUSE_WEBKIT" = "yes"; then
46179 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46180 old_CPPFLAGS="$CPPFLAGS"
46181 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46182 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46183 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46184 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46185 echo $ECHO_N "(cached) $ECHO_C" >&6
46186 else
46187 cat >conftest.$ac_ext <<_ACEOF
46188 /* confdefs.h. */
46189 _ACEOF
46190 cat confdefs.h >>conftest.$ac_ext
46191 cat >>conftest.$ac_ext <<_ACEOF
46192 /* end confdefs.h. */
46193
46194 #include <Carbon/Carbon.h>
46195 #include <WebKit/WebKit.h>
46196
46197
46198 #include <WebKit/HIWebView.h>
46199 _ACEOF
46200 rm -f conftest.$ac_objext
46201 if { (ac_try="$ac_compile"
46202 case "(($ac_try" in
46203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46204 *) ac_try_echo=$ac_try;;
46205 esac
46206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46207 (eval "$ac_compile") 2>conftest.er1
46208 ac_status=$?
46209 grep -v '^ *+' conftest.er1 >conftest.err
46210 rm -f conftest.er1
46211 cat conftest.err >&5
46212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46213 (exit $ac_status); } && {
46214 test -z "$ac_c_werror_flag" ||
46215 test ! -s conftest.err
46216 } && test -s conftest.$ac_objext; then
46217 ac_cv_header_WebKit_HIWebView_h=yes
46218 else
46219 echo "$as_me: failed program was:" >&5
46220 sed 's/^/| /' conftest.$ac_ext >&5
46221
46222 ac_cv_header_WebKit_HIWebView_h=no
46223 fi
46224
46225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46226 fi
46227 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46228 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46229 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46230
46231 cat >>confdefs.h <<\_ACEOF
46232 #define wxUSE_WEBKIT 1
46233 _ACEOF
46234
46235 WEBKIT_LINK="-framework WebKit"
46236
46237 else
46238
46239 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46240 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46241 wxUSE_WEBKIT=no
46242
46243 fi
46244
46245
46246 CPPFLAGS="$old_CPPFLAGS"
46247 elif test "$wxUSE_COCOA" = 1; then
46248 cat >>confdefs.h <<\_ACEOF
46249 #define wxUSE_WEBKIT 1
46250 _ACEOF
46251
46252 else
46253 wxUSE_WEBKIT=no
46254 fi
46255 if test "$wxUSE_WEBKIT" = "yes"; then
46256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46257 fi
46258 fi
46259
46260 USE_XRC=0
46261 if test "$wxUSE_XRC" = "yes"; then
46262 if test "$wxUSE_XML" != "yes"; then
46263 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46264 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46265 wxUSE_XRC=no
46266 else
46267 cat >>confdefs.h <<\_ACEOF
46268 #define wxUSE_XRC 1
46269 _ACEOF
46270
46271 USE_XRC=1
46272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46273 fi
46274 fi
46275
46276 USE_AUI=0
46277 if test "$wxUSE_AUI" = "yes"; then
46278 cat >>confdefs.h <<\_ACEOF
46279 #define wxUSE_AUI 1
46280 _ACEOF
46281
46282 USE_AUI=1
46283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46284 fi
46285
46286 USE_PROPGRID=0
46287 if test "$wxUSE_PROPGRID" = "yes"; then
46288 cat >>confdefs.h <<\_ACEOF
46289 #define wxUSE_PROPGRID 1
46290 _ACEOF
46291
46292 USE_PROPGRID=1
46293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46294 fi
46295
46296 USE_RIBBON=0
46297 if test "$wxUSE_RIBBON" = "yes"; then
46298 cat >>confdefs.h <<\_ACEOF
46299 #define wxUSE_RIBBON 1
46300 _ACEOF
46301
46302 USE_RIBBON=1
46303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46304 fi
46305
46306 USE_STC=0
46307 if test "$wxUSE_STC" = "yes"; then
46308 cat >>confdefs.h <<\_ACEOF
46309 #define wxUSE_STC 1
46310 _ACEOF
46311
46312 USE_STC=1
46313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46314
46315 # Extract the first word of "python", so it can be a program name with args.
46316 set dummy python; ac_word=$2
46317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46319 if test "${ac_cv_path_PYTHON+set}" = set; then
46320 echo $ECHO_N "(cached) $ECHO_C" >&6
46321 else
46322 case $PYTHON in
46323 [\\/]* | ?:[\\/]*)
46324 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46325 ;;
46326 *)
46327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46328 for as_dir in $PATH
46329 do
46330 IFS=$as_save_IFS
46331 test -z "$as_dir" && as_dir=.
46332 for ac_exec_ext in '' $ac_executable_extensions; do
46333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46334 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46336 break 2
46337 fi
46338 done
46339 done
46340 IFS=$as_save_IFS
46341
46342 ;;
46343 esac
46344 fi
46345 PYTHON=$ac_cv_path_PYTHON
46346 if test -n "$PYTHON"; then
46347 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46348 echo "${ECHO_T}$PYTHON" >&6; }
46349 else
46350 { echo "$as_me:$LINENO: result: no" >&5
46351 echo "${ECHO_T}no" >&6; }
46352 fi
46353
46354
46355 if test "x$PYTHON" = "x"; then
46356 COND_PYTHON="#"
46357 fi
46358
46359 fi
46360
46361 if test "$wxUSE_MENUS" = "yes"; then
46362 cat >>confdefs.h <<\_ACEOF
46363 #define wxUSE_MENUS 1
46364 _ACEOF
46365
46366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46367 fi
46368
46369 if test "$wxUSE_METAFILE" = "yes"; then
46370 cat >>confdefs.h <<\_ACEOF
46371 #define wxUSE_METAFILE 1
46372 _ACEOF
46373
46374 fi
46375
46376 if test "$wxUSE_MIMETYPE" = "yes"; then
46377 cat >>confdefs.h <<\_ACEOF
46378 #define wxUSE_MIMETYPE 1
46379 _ACEOF
46380
46381 fi
46382
46383 if test "$wxUSE_MINIFRAME" = "yes"; then
46384 cat >>confdefs.h <<\_ACEOF
46385 #define wxUSE_MINIFRAME 1
46386 _ACEOF
46387
46388 fi
46389
46390 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46391 cat >>confdefs.h <<\_ACEOF
46392 #define wxUSE_SYSTEM_OPTIONS 1
46393 _ACEOF
46394
46395 fi
46396
46397 if test "$wxUSE_TASKBARICON" = "yes"; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define wxUSE_TASKBARICON 1
46400 _ACEOF
46401
46402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46403 fi
46404
46405
46406 if test "$wxUSE_VALIDATORS" = "yes"; then
46407 cat >>confdefs.h <<\_ACEOF
46408 #define wxUSE_VALIDATORS 1
46409 _ACEOF
46410
46411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46412 fi
46413
46414 if test "$wxUSE_PALETTE" = "yes" ; then
46415 if test "$wxUSE_DFB" = 1; then
46416 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46417 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46418 wxUSE_PALETTE=no
46419 else
46420 cat >>confdefs.h <<\_ACEOF
46421 #define wxUSE_PALETTE 1
46422 _ACEOF
46423
46424 fi
46425 fi
46426
46427 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46428 LIBS=" -lunicows $LIBS"
46429 fi
46430
46431 USE_RICHTEXT=0
46432 if test "$wxUSE_RICHTEXT" = "yes"; then
46433 cat >>confdefs.h <<\_ACEOF
46434 #define wxUSE_RICHTEXT 1
46435 _ACEOF
46436
46437 USE_RICHTEXT=1
46438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46439 fi
46440
46441
46442 if test "$wxUSE_IMAGE" = "yes" ; then
46443 cat >>confdefs.h <<\_ACEOF
46444 #define wxUSE_IMAGE 1
46445 _ACEOF
46446
46447
46448 if test "$wxUSE_GIF" = "yes" ; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_GIF 1
46451 _ACEOF
46452
46453 fi
46454
46455 if test "$wxUSE_PCX" = "yes" ; then
46456 cat >>confdefs.h <<\_ACEOF
46457 #define wxUSE_PCX 1
46458 _ACEOF
46459
46460 fi
46461
46462 if test "$wxUSE_TGA" = "yes" ; then
46463 cat >>confdefs.h <<\_ACEOF
46464 #define wxUSE_TGA 1
46465 _ACEOF
46466
46467 fi
46468
46469 if test "$wxUSE_IFF" = "yes" ; then
46470 cat >>confdefs.h <<\_ACEOF
46471 #define wxUSE_IFF 1
46472 _ACEOF
46473
46474 fi
46475
46476 if test "$wxUSE_PNM" = "yes" ; then
46477 cat >>confdefs.h <<\_ACEOF
46478 #define wxUSE_PNM 1
46479 _ACEOF
46480
46481 fi
46482
46483 if test "$wxUSE_XPM" = "yes" ; then
46484 cat >>confdefs.h <<\_ACEOF
46485 #define wxUSE_XPM 1
46486 _ACEOF
46487
46488 fi
46489
46490 if test "$wxUSE_ICO_CUR" = "yes" ; then
46491 cat >>confdefs.h <<\_ACEOF
46492 #define wxUSE_ICO_CUR 1
46493 _ACEOF
46494
46495 fi
46496 fi
46497
46498
46499 if test "$wxUSE_ABOUTDLG" = "yes"; then
46500 cat >>confdefs.h <<\_ACEOF
46501 #define wxUSE_ABOUTDLG 1
46502 _ACEOF
46503
46504 fi
46505
46506 if test "$wxUSE_CHOICEDLG" = "yes"; then
46507 cat >>confdefs.h <<\_ACEOF
46508 #define wxUSE_CHOICEDLG 1
46509 _ACEOF
46510
46511 fi
46512
46513 if test "$wxUSE_COLOURDLG" = "yes"; then
46514 cat >>confdefs.h <<\_ACEOF
46515 #define wxUSE_COLOURDLG 1
46516 _ACEOF
46517
46518 fi
46519
46520 if test "$wxUSE_FILEDLG" = "yes"; then
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_FILEDLG 1
46523 _ACEOF
46524
46525 fi
46526
46527 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46528 cat >>confdefs.h <<\_ACEOF
46529 #define wxUSE_FINDREPLDLG 1
46530 _ACEOF
46531
46532 fi
46533
46534 if test "$wxUSE_FONTDLG" = "yes"; then
46535 cat >>confdefs.h <<\_ACEOF
46536 #define wxUSE_FONTDLG 1
46537 _ACEOF
46538
46539 fi
46540
46541 if test "$wxUSE_DIRDLG" = "yes"; then
46542 if test "$wxUSE_TREECTRL" != "yes"; then
46543 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46544 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46545 else
46546 cat >>confdefs.h <<\_ACEOF
46547 #define wxUSE_DIRDLG 1
46548 _ACEOF
46549
46550 fi
46551 fi
46552
46553 if test "$wxUSE_MSGDLG" = "yes"; then
46554 cat >>confdefs.h <<\_ACEOF
46555 #define wxUSE_MSGDLG 1
46556 _ACEOF
46557
46558 fi
46559
46560 if test "$wxUSE_NUMBERDLG" = "yes"; then
46561 cat >>confdefs.h <<\_ACEOF
46562 #define wxUSE_NUMBERDLG 1
46563 _ACEOF
46564
46565 fi
46566
46567 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_PROGRESSDLG 1
46570 _ACEOF
46571
46572 fi
46573
46574 if test "$wxUSE_SPLASH" = "yes"; then
46575 cat >>confdefs.h <<\_ACEOF
46576 #define wxUSE_SPLASH 1
46577 _ACEOF
46578
46579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46580 fi
46581
46582 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_STARTUP_TIPS 1
46585 _ACEOF
46586
46587 fi
46588
46589 if test "$wxUSE_TEXTDLG" = "yes"; then
46590 cat >>confdefs.h <<\_ACEOF
46591 #define wxUSE_TEXTDLG 1
46592 _ACEOF
46593
46594 fi
46595
46596 if test "$wxUSE_WIZARDDLG" = "yes"; then
46597 cat >>confdefs.h <<\_ACEOF
46598 #define wxUSE_WIZARDDLG 1
46599 _ACEOF
46600
46601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46602 fi
46603
46604
46605 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46606 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46607 cat >>confdefs.h <<\_ACEOF
46608 #define wxUSE_OWNER_DRAWN 1
46609 _ACEOF
46610
46611 fi
46612 fi
46613
46614
46615 if test "$wxUSE_MSW" = 1 ; then
46616
46617 if test "$wxUSE_DC_CACHEING" = "yes"; then
46618 cat >>confdefs.h <<\_ACEOF
46619 #define wxUSE_DC_CACHEING 1
46620 _ACEOF
46621
46622 fi
46623
46624 if test "$wxUSE_DIB" = "yes"; then
46625 cat >>confdefs.h <<\_ACEOF
46626 #define wxUSE_WXDIB 1
46627 _ACEOF
46628
46629 fi
46630
46631 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46632 cat >>confdefs.h <<\_ACEOF
46633 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46634 _ACEOF
46635
46636 fi
46637
46638 if test "$wxUSE_UXTHEME" = "yes"; then
46639 cat >>confdefs.h <<\_ACEOF
46640 #define wxUSE_UXTHEME 1
46641 _ACEOF
46642
46643 fi
46644
46645 fi
46646
46647 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_AUTOID_MANAGEMENT 1
46650 _ACEOF
46651
46652 fi
46653
46654 if test "$USE_WIN32" = 1 ; then
46655 if test "$wxUSE_INICONF" = "yes"; then
46656 cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_INICONF 1
46658 _ACEOF
46659
46660 fi
46661
46662 if test "$wxUSE_REGKEY" = "yes"; then
46663 cat >>confdefs.h <<\_ACEOF
46664 #define wxUSE_REGKEY 1
46665 _ACEOF
46666
46667 fi
46668 fi
46669
46670
46671 if test "$wxUSE_MAC" = 1; then
46672 wxUSE_GRAPHICS_CONTEXT="yes"
46673 fi
46674
46675 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46676 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46677 cat >>confdefs.h <<\_ACEOF
46678 #define wxUSE_GRAPHICS_CONTEXT 1
46679 _ACEOF
46680
46681 elif test "$wxUSE_GTK" != 1; then
46682 cat >>confdefs.h <<\_ACEOF
46683 #define wxUSE_GRAPHICS_CONTEXT 1
46684 _ACEOF
46685
46686 else
46687
46688 pkg_failed=no
46689 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46690 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46691
46692 if test -n "$PKG_CONFIG"; then
46693 if test -n "$CAIRO_CFLAGS"; then
46694 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46695 else
46696 if test -n "$PKG_CONFIG" && \
46697 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46698 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46699 ac_status=$?
46700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46701 (exit $ac_status); }; then
46702 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46703 else
46704 pkg_failed=yes
46705 fi
46706 fi
46707 else
46708 pkg_failed=untried
46709 fi
46710 if test -n "$PKG_CONFIG"; then
46711 if test -n "$CAIRO_LIBS"; then
46712 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46713 else
46714 if test -n "$PKG_CONFIG" && \
46715 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46716 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46717 ac_status=$?
46718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46719 (exit $ac_status); }; then
46720 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46721 else
46722 pkg_failed=yes
46723 fi
46724 fi
46725 else
46726 pkg_failed=untried
46727 fi
46728
46729
46730
46731 if test $pkg_failed = yes; then
46732
46733 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46734 _pkg_short_errors_supported=yes
46735 else
46736 _pkg_short_errors_supported=no
46737 fi
46738 if test $_pkg_short_errors_supported = yes; then
46739 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46740 else
46741 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46742 fi
46743 # Put the nasty error message in config.log where it belongs
46744 echo "$CAIRO_PKG_ERRORS" >&5
46745
46746 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46747 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46748
46749 elif test $pkg_failed = untried; then
46750 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46751 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46752
46753 else
46754 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46755 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46756 { echo "$as_me:$LINENO: result: yes" >&5
46757 echo "${ECHO_T}yes" >&6; }
46758 cat >>confdefs.h <<\_ACEOF
46759 #define wxUSE_GRAPHICS_CONTEXT 1
46760 _ACEOF
46761
46762 fi
46763 fi
46764 fi
46765
46766
46767 USE_MEDIA=0
46768
46769 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46770 USE_MEDIA=1
46771
46772 if test "$wxUSE_GTK" = 1; then
46773 wxUSE_GSTREAMER="no"
46774
46775 GST_VERSION_MAJOR=0
46776 GST_VERSION_MINOR=10
46777 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46778
46779 if test "$wxUSE_GSTREAMER8" = "no"; then
46780
46781 pkg_failed=no
46782 { echo "$as_me:$LINENO: checking for GST" >&5
46783 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46784
46785 if test -n "$PKG_CONFIG"; then
46786 if test -n "$GST_CFLAGS"; then
46787 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46788 else
46789 if test -n "$PKG_CONFIG" && \
46790 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46791 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46792 ac_status=$?
46793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46794 (exit $ac_status); }; then
46795 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46796 else
46797 pkg_failed=yes
46798 fi
46799 fi
46800 else
46801 pkg_failed=untried
46802 fi
46803 if test -n "$PKG_CONFIG"; then
46804 if test -n "$GST_LIBS"; then
46805 pkg_cv_GST_LIBS="$GST_LIBS"
46806 else
46807 if test -n "$PKG_CONFIG" && \
46808 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46809 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46810 ac_status=$?
46811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46812 (exit $ac_status); }; then
46813 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46814 else
46815 pkg_failed=yes
46816 fi
46817 fi
46818 else
46819 pkg_failed=untried
46820 fi
46821
46822
46823
46824 if test $pkg_failed = yes; then
46825
46826 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46827 _pkg_short_errors_supported=yes
46828 else
46829 _pkg_short_errors_supported=no
46830 fi
46831 if test $_pkg_short_errors_supported = yes; then
46832 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46833 else
46834 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46835 fi
46836 # Put the nasty error message in config.log where it belongs
46837 echo "$GST_PKG_ERRORS" >&5
46838
46839
46840 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46841 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46842 GST_VERSION_MINOR=8
46843
46844
46845 elif test $pkg_failed = untried; then
46846
46847 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46848 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46849 GST_VERSION_MINOR=8
46850
46851
46852 else
46853 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46854 GST_LIBS=$pkg_cv_GST_LIBS
46855 { echo "$as_me:$LINENO: result: yes" >&5
46856 echo "${ECHO_T}yes" >&6; }
46857
46858 wxUSE_GSTREAMER="yes"
46859 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46860
46861 fi
46862 else
46863 GST_VERSION_MINOR=8
46864 fi
46865
46866 if test $GST_VERSION_MINOR = "8"; then
46867 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46868
46869 pkg_failed=no
46870 { echo "$as_me:$LINENO: checking for GST" >&5
46871 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46872
46873 if test -n "$PKG_CONFIG"; then
46874 if test -n "$GST_CFLAGS"; then
46875 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46876 else
46877 if test -n "$PKG_CONFIG" && \
46878 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46879 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46880 ac_status=$?
46881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46882 (exit $ac_status); }; then
46883 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46884 else
46885 pkg_failed=yes
46886 fi
46887 fi
46888 else
46889 pkg_failed=untried
46890 fi
46891 if test -n "$PKG_CONFIG"; then
46892 if test -n "$GST_LIBS"; then
46893 pkg_cv_GST_LIBS="$GST_LIBS"
46894 else
46895 if test -n "$PKG_CONFIG" && \
46896 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46897 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46898 ac_status=$?
46899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46900 (exit $ac_status); }; then
46901 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46902 else
46903 pkg_failed=yes
46904 fi
46905 fi
46906 else
46907 pkg_failed=untried
46908 fi
46909
46910
46911
46912 if test $pkg_failed = yes; then
46913
46914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46915 _pkg_short_errors_supported=yes
46916 else
46917 _pkg_short_errors_supported=no
46918 fi
46919 if test $_pkg_short_errors_supported = yes; then
46920 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46921 else
46922 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46923 fi
46924 # Put the nasty error message in config.log where it belongs
46925 echo "$GST_PKG_ERRORS" >&5
46926
46927
46928 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46929 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46930
46931 elif test $pkg_failed = untried; then
46932
46933 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46934 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46935
46936 else
46937 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46938 GST_LIBS=$pkg_cv_GST_LIBS
46939 { echo "$as_me:$LINENO: result: yes" >&5
46940 echo "${ECHO_T}yes" >&6; }
46941 wxUSE_GSTREAMER="yes"
46942 fi
46943 fi
46944
46945
46946 if test "$wxUSE_GSTREAMER" = "yes"; then
46947 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46948 EXTRALIBS_MEDIA="$GST_LIBS"
46949
46950 cat >>confdefs.h <<\_ACEOF
46951 #define wxUSE_GSTREAMER 1
46952 _ACEOF
46953
46954 else
46955 USE_MEDIA=0
46956 fi
46957 fi
46958
46959 if test $USE_MEDIA = 1; then
46960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46961 cat >>confdefs.h <<\_ACEOF
46962 #define wxUSE_MEDIACTRL 1
46963 _ACEOF
46964
46965 else
46966 if test "$wxUSE_MEDIACTRL" = "yes"; then
46967 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
46968 echo "$as_me: error: GStreamer not available" >&2;}
46969 { (exit 1); exit 1; }; }
46970 else
46971 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
46972 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
46973 fi
46974 fi
46975 fi
46976
46977
46978 if test "$cross_compiling" != "no"; then
46979 OSINFO="\"$host\""
46980 else
46981 OSINFO=`uname -s -r -m`
46982 OSINFO="\"$OSINFO\""
46983 fi
46984
46985 cat >>confdefs.h <<_ACEOF
46986 #define WXWIN_OS_DESCRIPTION $OSINFO
46987 _ACEOF
46988
46989
46990
46991 if test "x$prefix" != "xNONE"; then
46992 wxPREFIX=$prefix
46993 else
46994 wxPREFIX=$ac_default_prefix
46995 fi
46996
46997 cat >>confdefs.h <<_ACEOF
46998 #define wxINSTALL_PREFIX "$wxPREFIX"
46999 _ACEOF
47000
47001
47002
47003
47004 STD_BASE_LIBS="base"
47005 STD_GUI_LIBS=""
47006 BUILT_WX_LIBS="base"
47007 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47008
47009 if test "$wxUSE_SOCKETS" = "yes" ; then
47010 STD_BASE_LIBS="net $STD_BASE_LIBS"
47011 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47012 fi
47013 if test "$wxUSE_XML" = "yes" ; then
47014 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47015 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47016 fi
47017
47018 if test "$wxUSE_GUI" = "yes"; then
47019 STD_GUI_LIBS="adv core"
47020 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47021
47022 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47023 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47024 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47025 fi
47026 if test "$wxUSE_HTML" = "yes" ; then
47027 STD_GUI_LIBS="html $STD_GUI_LIBS"
47028 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47029 fi
47030 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47031 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47032 fi
47033 if test "$wxUSE_OPENGL" = "yes" ; then
47034 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47035 fi
47036 if test "$wxUSE_AUI" = "yes" ; then
47037 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47038 fi
47039 if test "$wxUSE_PROPGRID" = "yes" ; then
47040 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47041 fi
47042 if test "$wxUSE_RIBBON" = "yes" ; then
47043 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47044 fi
47045 if test "$wxUSE_RICHTEXT" = "yes" ; then
47046 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47047 fi
47048 if test "$wxUSE_STC" = "yes" ; then
47049 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47050 fi
47051 if test "$wxUSE_XRC" = "yes" ; then
47052 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47053 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47054 fi
47055 fi
47056
47057
47058
47059
47060
47061
47062
47063
47064 if test "$wxUSE_MAC" = 1 ; then
47065 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47066 if test "$USE_DARWIN" = 1; then
47067 LDFLAGS="$LDFLAGS -framework QuickTime"
47068 fi
47069 fi
47070 if test "$USE_DARWIN" = 1; then
47071 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47072 fi
47073 fi
47074 if test "$wxUSE_COCOA" = 1 ; then
47075 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47076 if test "$wxUSE_MEDIACTRL" = "yes"; then
47077 LDFLAGS="$LDFLAGS -framework QuickTime"
47078 fi
47079 fi
47080 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47081 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47082 fi
47083
47084 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47085
47086 if test "$wxUSE_GUI" = "yes"; then
47087
47088
47089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47090 erase event exec font image minimal render \
47091 shaped svg taborder vscroll widgets wrapsizer"
47092
47093 if test "$wxUSE_MONOLITHIC" != "yes"; then
47094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47095 fi
47096 if test "$TOOLKIT" = "MSW"; then
47097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47098 if test "$wxUSE_UNIVERSAL" != "yes"; then
47099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47100 fi
47101 fi
47102 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47104 fi
47105 else
47106 SAMPLES_SUBDIRS="console"
47107 if test "$wxUSE_SOCKETS" = "yes" ; then
47108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47109 fi
47110 if test "$wxUSE_IPC" = "yes" ; then
47111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47112 fi
47113 fi
47114
47115
47116 if test "x$INTELCC" = "xyes" ; then
47117 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47118 elif test "$GCC" = yes ; then
47119 CWARNINGS="-Wall -Wundef"
47120 fi
47121
47122 if test "x$INTELCXX" = "xyes" ; then
47123 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47124 elif test "$GXX" = yes ; then
47125 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47126 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47127 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47128 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47129 echo $ECHO_N "(cached) $ECHO_C" >&6
47130 else
47131 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47132
47133 ac_ext=cpp
47134 ac_cpp='$CXXCPP $CPPFLAGS'
47135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47138
47139 ac_save_CXXFLAGS="$CXXFLAGS"
47140 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47141 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47142 cat >conftest.$ac_ext <<_ACEOF
47143 /* confdefs.h. */
47144 _ACEOF
47145 cat confdefs.h >>conftest.$ac_ext
47146 cat >>conftest.$ac_ext <<_ACEOF
47147 /* end confdefs.h. */
47148
47149 int
47150 main ()
47151 {
47152 return 0;
47153 ;
47154 return 0;
47155 }
47156 _ACEOF
47157 rm -f conftest.$ac_objext
47158 if { (ac_try="$ac_compile"
47159 case "(($ac_try" in
47160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47161 *) ac_try_echo=$ac_try;;
47162 esac
47163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47164 (eval "$ac_compile") 2>conftest.er1
47165 ac_status=$?
47166 grep -v '^ *+' conftest.er1 >conftest.err
47167 rm -f conftest.er1
47168 cat conftest.err >&5
47169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47170 (exit $ac_status); } && {
47171 test -z "$ac_cxx_werror_flag" ||
47172 test ! -s conftest.err
47173 } && test -s conftest.$ac_objext; then
47174 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47175 else
47176 echo "$as_me: failed program was:" >&5
47177 sed 's/^/| /' conftest.$ac_ext >&5
47178
47179
47180 fi
47181
47182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47183 done
47184 CXXFLAGS="$ac_save_CXXFLAGS"
47185 ac_ext=c
47186 ac_cpp='$CPP $CPPFLAGS'
47187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47190
47191
47192 fi
47193 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47194 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47195 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47196 .ok|.ok,*) ;;
47197 .|.no|.no,*) ;;
47198 *)
47199 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47200 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47201 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47202 ac_status=$?
47203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47204 (exit $ac_status); }
47205 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47206 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47207 ac_status=$?
47208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47209 (exit $ac_status); }
47210 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47211 fi
47212 ;;
47213 esac
47214
47215
47216 if test "$wxUSE_MAC" = 1 ; then
47217 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47218 fi
47219 fi
47220
47221
47222 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47223 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47224
47225
47226 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47227 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47228 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47229 $CPPFLAGS `
47230
47231 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47232 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47233 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47234 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47235 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47236
47237 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47238
47239
47240 if test "x$MWCC" = "xyes"; then
47241
47242 CC="$CC -cwd source -I-"
47243 CXX="$CXX -cwd source -I-"
47244 fi
47245
47246
47247 LIBS=`echo $LIBS`
47248 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47249 EXTRALIBS_XML="$EXPAT_LINK"
47250 EXTRALIBS_HTML="$MSPACK_LINK"
47251 EXTRALIBS_MEDIA="$GST_LIBS"
47252 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47253 if test "$wxUSE_GUI" = "yes"; then
47254 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47255 fi
47256 if test "$wxUSE_OPENGL" = "yes"; then
47257 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47258 fi
47259
47260 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47261
47262 WXCONFIG_LIBS="$LIBS"
47263
47264 if test "$wxUSE_REGEX" = "builtin" ; then
47265 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47266 fi
47267 if test "$wxUSE_EXPAT" = "builtin" ; then
47268 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47269 fi
47270 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47271 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47272 fi
47273 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47274 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47275 fi
47276 if test "$wxUSE_LIBPNG" = "builtin" ; then
47277 wxconfig_3rdparty="png $wxconfig_3rdparty"
47278 fi
47279 if test "$wxUSE_ZLIB" = "builtin" ; then
47280 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47281 fi
47282
47283 for i in $wxconfig_3rdparty ; do
47284 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47285 done
47286
47287
47288 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47289 WXUNIV=1
47290
47291 case "$wxUNIV_THEMES" in
47292 ''|all)
47293 cat >>confdefs.h <<\_ACEOF
47294 #define wxUSE_ALL_THEMES 1
47295 _ACEOF
47296
47297 ;;
47298
47299 *)
47300 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47301 cat >>confdefs.h <<_ACEOF
47302 #define wxUSE_THEME_$t 1
47303 _ACEOF
47304
47305 done
47306 esac
47307 else
47308 WXUNIV=0
47309 fi
47310
47311
47312
47313
47314
47315
47316
47317
47318 if test $wxUSE_MONOLITHIC = "yes" ; then
47319 MONOLITHIC=1
47320 else
47321 MONOLITHIC=0
47322 fi
47323
47324 if test $wxUSE_PLUGINS = "yes" ; then
47325 USE_PLUGINS=1
47326 else
47327 USE_PLUGINS=0
47328 fi
47329
47330 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47331 USE_QA=1
47332 else
47333 USE_QA=0
47334 fi
47335
47336 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47337 OFFICIAL_BUILD=1
47338 else
47339 OFFICIAL_BUILD=0
47340 fi
47341
47342
47343
47344
47345
47346
47347
47348
47349
47350
47351
47352
47353
47354
47355
47356
47357
47358
47359
47360
47361
47362
47363
47364
47365
47366
47367
47368 TOOLKIT_LOWERCASE=xxx
47369 if test "$TOOLKIT" = "MAC"; then
47370 TOOLKIT_LOWERCASE=osx_carbon
47371 fi
47372 if test "$TOOLKIT" = "OSX_CARBON"; then
47373 TOOLKIT_LOWERCASE=osx_carbon
47374 fi
47375 if test "$TOOLKIT" = "OSX_COCOA"; then
47376 TOOLKIT_LOWERCASE=osx_cocoa
47377 fi
47378 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47379 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47380 fi
47381
47382
47383
47384
47385
47386
47387
47388
47389
47390
47391 case "$TOOLKIT" in
47392 GTK)
47393 TOOLKIT_DESC="GTK+"
47394 if test "$WXGTK2" = 1; then
47395 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47396 if test "$wxUSE_GTKPRINT" = "yes" ; then
47397 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47398 fi
47399 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47400 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47401 fi
47402 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47403 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47404 fi
47405 if test "$wxUSE_LIBHILDON" = "yes"; then
47406 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47407 fi
47408
47409 if test "$TOOLKIT_EXTRA" != ""; then
47410 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47411 fi
47412 fi
47413 ;;
47414
47415 ?*)
47416 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47417 ;;
47418
47419 *)
47420 TOOLKIT_DESC="base only"
47421 ;;
47422 esac
47423
47424 if test "$wxUSE_WINE" = "yes"; then
47425 BAKEFILE_FORCE_PLATFORM=win32
47426 fi
47427
47428 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47429 then
47430 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47431 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47432 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47433 echo $ECHO_N "(cached) $ECHO_C" >&6
47434 else
47435
47436 echo '#include <stdio.h>
47437 const wchar_t test_var[] = L"awidetest";' > conftest.h
47438
47439 echo '#include "conftest.h"
47440 int main()
47441 {
47442 printf("%ls", test_var);
47443 return 0;
47444 }' > conftest.cpp
47445
47446 wx_cv_gcc_pch_bug="pch not supported"
47447
47448 if $CXX conftest.h >/dev/null 2>&1
47449 then
47450 wx_cv_gcc_pch_bug=
47451
47452 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47453 then
47454 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47455 grep awidetest >/dev/null
47456 then
47457 wx_cv_gcc_pch_bug=no
47458 else
47459 wx_cv_gcc_pch_bug=yes
47460 fi
47461 fi
47462 fi
47463
47464 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47465
47466 fi
47467 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47468 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47469
47470 if test "$wx_cv_gcc_pch_bug" = yes; then
47471 bk_use_pch=no
47472 fi
47473 fi
47474
47475
47476
47477
47478
47479
47480
47481 if test "x$BAKEFILE_HOST" = "x"; then
47482 if test "x${host}" = "x" ; then
47483 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47484 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47485 { (exit 1); exit 1; }; }
47486 fi
47487
47488 BAKEFILE_HOST="${host}"
47489 fi
47490
47491 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47492
47493 if test -n "$ac_tool_prefix"; then
47494 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47495 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47498 if test "${ac_cv_prog_RANLIB+set}" = set; then
47499 echo $ECHO_N "(cached) $ECHO_C" >&6
47500 else
47501 if test -n "$RANLIB"; then
47502 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47503 else
47504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47505 for as_dir in $PATH
47506 do
47507 IFS=$as_save_IFS
47508 test -z "$as_dir" && as_dir=.
47509 for ac_exec_ext in '' $ac_executable_extensions; do
47510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47511 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47513 break 2
47514 fi
47515 done
47516 done
47517 IFS=$as_save_IFS
47518
47519 fi
47520 fi
47521 RANLIB=$ac_cv_prog_RANLIB
47522 if test -n "$RANLIB"; then
47523 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47524 echo "${ECHO_T}$RANLIB" >&6; }
47525 else
47526 { echo "$as_me:$LINENO: result: no" >&5
47527 echo "${ECHO_T}no" >&6; }
47528 fi
47529
47530
47531 fi
47532 if test -z "$ac_cv_prog_RANLIB"; then
47533 ac_ct_RANLIB=$RANLIB
47534 # Extract the first word of "ranlib", so it can be a program name with args.
47535 set dummy ranlib; ac_word=$2
47536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47538 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47539 echo $ECHO_N "(cached) $ECHO_C" >&6
47540 else
47541 if test -n "$ac_ct_RANLIB"; then
47542 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47543 else
47544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47545 for as_dir in $PATH
47546 do
47547 IFS=$as_save_IFS
47548 test -z "$as_dir" && as_dir=.
47549 for ac_exec_ext in '' $ac_executable_extensions; do
47550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47551 ac_cv_prog_ac_ct_RANLIB="ranlib"
47552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47553 break 2
47554 fi
47555 done
47556 done
47557 IFS=$as_save_IFS
47558
47559 fi
47560 fi
47561 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47562 if test -n "$ac_ct_RANLIB"; then
47563 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47564 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47565 else
47566 { echo "$as_me:$LINENO: result: no" >&5
47567 echo "${ECHO_T}no" >&6; }
47568 fi
47569
47570 if test "x$ac_ct_RANLIB" = x; then
47571 RANLIB=":"
47572 else
47573 case $cross_compiling:$ac_tool_warned in
47574 yes:)
47575 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47576 whose name does not start with the host triplet. If you think this
47577 configuration is useful to you, please write to autoconf@gnu.org." >&5
47578 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47579 whose name does not start with the host triplet. If you think this
47580 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47581 ac_tool_warned=yes ;;
47582 esac
47583 RANLIB=$ac_ct_RANLIB
47584 fi
47585 else
47586 RANLIB="$ac_cv_prog_RANLIB"
47587 fi
47588
47589 # Find a good install program. We prefer a C program (faster),
47590 # so one script is as good as another. But avoid the broken or
47591 # incompatible versions:
47592 # SysV /etc/install, /usr/sbin/install
47593 # SunOS /usr/etc/install
47594 # IRIX /sbin/install
47595 # AIX /bin/install
47596 # AmigaOS /C/install, which installs bootblocks on floppy discs
47597 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47598 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47599 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47600 # OS/2's system install, which has a completely different semantic
47601 # ./install, which can be erroneously created by make from ./install.sh.
47602 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47603 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47604 if test -z "$INSTALL"; then
47605 if test "${ac_cv_path_install+set}" = set; then
47606 echo $ECHO_N "(cached) $ECHO_C" >&6
47607 else
47608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47609 for as_dir in $PATH
47610 do
47611 IFS=$as_save_IFS
47612 test -z "$as_dir" && as_dir=.
47613 # Account for people who put trailing slashes in PATH elements.
47614 case $as_dir/ in
47615 ./ | .// | /cC/* | \
47616 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47617 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47618 /usr/ucb/* ) ;;
47619 *)
47620 # OSF1 and SCO ODT 3.0 have their own names for install.
47621 # Don't use installbsd from OSF since it installs stuff as root
47622 # by default.
47623 for ac_prog in ginstall scoinst install; do
47624 for ac_exec_ext in '' $ac_executable_extensions; do
47625 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47626 if test $ac_prog = install &&
47627 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47628 # AIX install. It has an incompatible calling convention.
47629 :
47630 elif test $ac_prog = install &&
47631 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47632 # program-specific install script used by HP pwplus--don't use.
47633 :
47634 else
47635 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47636 break 3
47637 fi
47638 fi
47639 done
47640 done
47641 ;;
47642 esac
47643 done
47644 IFS=$as_save_IFS
47645
47646
47647 fi
47648 if test "${ac_cv_path_install+set}" = set; then
47649 INSTALL=$ac_cv_path_install
47650 else
47651 # As a last resort, use the slow shell script. Don't cache a
47652 # value for INSTALL within a source directory, because that will
47653 # break other packages using the cache if that directory is
47654 # removed, or if the value is a relative name.
47655 INSTALL=$ac_install_sh
47656 fi
47657 fi
47658 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47659 echo "${ECHO_T}$INSTALL" >&6; }
47660
47661 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47662 # It thinks the first close brace ends the variable substitution.
47663 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47664
47665 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47666
47667 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47668
47669 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47670 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47671 LN_S=$as_ln_s
47672 if test "$LN_S" = "ln -s"; then
47673 { echo "$as_me:$LINENO: result: yes" >&5
47674 echo "${ECHO_T}yes" >&6; }
47675 else
47676 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47677 echo "${ECHO_T}no, using $LN_S" >&6; }
47678 fi
47679
47680
47681 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47682 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47683 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47684 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47685 echo $ECHO_N "(cached) $ECHO_C" >&6
47686 else
47687 cat >conftest.make <<\_ACEOF
47688 SHELL = /bin/sh
47689 all:
47690 @echo '@@@%%%=$(MAKE)=@@@%%%'
47691 _ACEOF
47692 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47693 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47694 *@@@%%%=?*=@@@%%%*)
47695 eval ac_cv_prog_make_${ac_make}_set=yes;;
47696 *)
47697 eval ac_cv_prog_make_${ac_make}_set=no;;
47698 esac
47699 rm -f conftest.make
47700 fi
47701 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47702 { echo "$as_me:$LINENO: result: yes" >&5
47703 echo "${ECHO_T}yes" >&6; }
47704 SET_MAKE=
47705 else
47706 { echo "$as_me:$LINENO: result: no" >&5
47707 echo "${ECHO_T}no" >&6; }
47708 SET_MAKE="MAKE=${MAKE-make}"
47709 fi
47710
47711
47712
47713 if test "x$SUNCXX" = "xyes"; then
47714 AR=$CXX
47715 AROPTIONS="-xar -o"
47716
47717 elif test "x$SGICC" = "xyes"; then
47718 AR=$CXX
47719 AROPTIONS="-ar -o"
47720
47721 else
47722 if test -n "$ac_tool_prefix"; then
47723 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47724 set dummy ${ac_tool_prefix}ar; ac_word=$2
47725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47727 if test "${ac_cv_prog_AR+set}" = set; then
47728 echo $ECHO_N "(cached) $ECHO_C" >&6
47729 else
47730 if test -n "$AR"; then
47731 ac_cv_prog_AR="$AR" # Let the user override the test.
47732 else
47733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47734 for as_dir in $PATH
47735 do
47736 IFS=$as_save_IFS
47737 test -z "$as_dir" && as_dir=.
47738 for ac_exec_ext in '' $ac_executable_extensions; do
47739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47740 ac_cv_prog_AR="${ac_tool_prefix}ar"
47741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47742 break 2
47743 fi
47744 done
47745 done
47746 IFS=$as_save_IFS
47747
47748 fi
47749 fi
47750 AR=$ac_cv_prog_AR
47751 if test -n "$AR"; then
47752 { echo "$as_me:$LINENO: result: $AR" >&5
47753 echo "${ECHO_T}$AR" >&6; }
47754 else
47755 { echo "$as_me:$LINENO: result: no" >&5
47756 echo "${ECHO_T}no" >&6; }
47757 fi
47758
47759
47760 fi
47761 if test -z "$ac_cv_prog_AR"; then
47762 ac_ct_AR=$AR
47763 # Extract the first word of "ar", so it can be a program name with args.
47764 set dummy ar; ac_word=$2
47765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47767 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47768 echo $ECHO_N "(cached) $ECHO_C" >&6
47769 else
47770 if test -n "$ac_ct_AR"; then
47771 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47772 else
47773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47774 for as_dir in $PATH
47775 do
47776 IFS=$as_save_IFS
47777 test -z "$as_dir" && as_dir=.
47778 for ac_exec_ext in '' $ac_executable_extensions; do
47779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47780 ac_cv_prog_ac_ct_AR="ar"
47781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47782 break 2
47783 fi
47784 done
47785 done
47786 IFS=$as_save_IFS
47787
47788 fi
47789 fi
47790 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47791 if test -n "$ac_ct_AR"; then
47792 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47793 echo "${ECHO_T}$ac_ct_AR" >&6; }
47794 else
47795 { echo "$as_me:$LINENO: result: no" >&5
47796 echo "${ECHO_T}no" >&6; }
47797 fi
47798
47799 if test "x$ac_ct_AR" = x; then
47800 AR="ar"
47801 else
47802 case $cross_compiling:$ac_tool_warned in
47803 yes:)
47804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47805 whose name does not start with the host triplet. If you think this
47806 configuration is useful to you, please write to autoconf@gnu.org." >&5
47807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47808 whose name does not start with the host triplet. If you think this
47809 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47810 ac_tool_warned=yes ;;
47811 esac
47812 AR=$ac_ct_AR
47813 fi
47814 else
47815 AR="$ac_cv_prog_AR"
47816 fi
47817
47818 AROPTIONS=rcu
47819 fi
47820
47821
47822 if test -n "$ac_tool_prefix"; then
47823 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47824 set dummy ${ac_tool_prefix}strip; ac_word=$2
47825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47827 if test "${ac_cv_prog_STRIP+set}" = set; then
47828 echo $ECHO_N "(cached) $ECHO_C" >&6
47829 else
47830 if test -n "$STRIP"; then
47831 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47832 else
47833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47834 for as_dir in $PATH
47835 do
47836 IFS=$as_save_IFS
47837 test -z "$as_dir" && as_dir=.
47838 for ac_exec_ext in '' $ac_executable_extensions; do
47839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47840 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47842 break 2
47843 fi
47844 done
47845 done
47846 IFS=$as_save_IFS
47847
47848 fi
47849 fi
47850 STRIP=$ac_cv_prog_STRIP
47851 if test -n "$STRIP"; then
47852 { echo "$as_me:$LINENO: result: $STRIP" >&5
47853 echo "${ECHO_T}$STRIP" >&6; }
47854 else
47855 { echo "$as_me:$LINENO: result: no" >&5
47856 echo "${ECHO_T}no" >&6; }
47857 fi
47858
47859
47860 fi
47861 if test -z "$ac_cv_prog_STRIP"; then
47862 ac_ct_STRIP=$STRIP
47863 # Extract the first word of "strip", so it can be a program name with args.
47864 set dummy strip; ac_word=$2
47865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47867 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47868 echo $ECHO_N "(cached) $ECHO_C" >&6
47869 else
47870 if test -n "$ac_ct_STRIP"; then
47871 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47872 else
47873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47874 for as_dir in $PATH
47875 do
47876 IFS=$as_save_IFS
47877 test -z "$as_dir" && as_dir=.
47878 for ac_exec_ext in '' $ac_executable_extensions; do
47879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47880 ac_cv_prog_ac_ct_STRIP="strip"
47881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47882 break 2
47883 fi
47884 done
47885 done
47886 IFS=$as_save_IFS
47887
47888 fi
47889 fi
47890 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47891 if test -n "$ac_ct_STRIP"; then
47892 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47893 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47894 else
47895 { echo "$as_me:$LINENO: result: no" >&5
47896 echo "${ECHO_T}no" >&6; }
47897 fi
47898
47899 if test "x$ac_ct_STRIP" = x; then
47900 STRIP=":"
47901 else
47902 case $cross_compiling:$ac_tool_warned in
47903 yes:)
47904 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47905 whose name does not start with the host triplet. If you think this
47906 configuration is useful to you, please write to autoconf@gnu.org." >&5
47907 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47908 whose name does not start with the host triplet. If you think this
47909 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47910 ac_tool_warned=yes ;;
47911 esac
47912 STRIP=$ac_ct_STRIP
47913 fi
47914 else
47915 STRIP="$ac_cv_prog_STRIP"
47916 fi
47917
47918 if test -n "$ac_tool_prefix"; then
47919 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47920 set dummy ${ac_tool_prefix}nm; ac_word=$2
47921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47923 if test "${ac_cv_prog_NM+set}" = set; then
47924 echo $ECHO_N "(cached) $ECHO_C" >&6
47925 else
47926 if test -n "$NM"; then
47927 ac_cv_prog_NM="$NM" # Let the user override the test.
47928 else
47929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47930 for as_dir in $PATH
47931 do
47932 IFS=$as_save_IFS
47933 test -z "$as_dir" && as_dir=.
47934 for ac_exec_ext in '' $ac_executable_extensions; do
47935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47936 ac_cv_prog_NM="${ac_tool_prefix}nm"
47937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47938 break 2
47939 fi
47940 done
47941 done
47942 IFS=$as_save_IFS
47943
47944 fi
47945 fi
47946 NM=$ac_cv_prog_NM
47947 if test -n "$NM"; then
47948 { echo "$as_me:$LINENO: result: $NM" >&5
47949 echo "${ECHO_T}$NM" >&6; }
47950 else
47951 { echo "$as_me:$LINENO: result: no" >&5
47952 echo "${ECHO_T}no" >&6; }
47953 fi
47954
47955
47956 fi
47957 if test -z "$ac_cv_prog_NM"; then
47958 ac_ct_NM=$NM
47959 # Extract the first word of "nm", so it can be a program name with args.
47960 set dummy nm; ac_word=$2
47961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47963 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47964 echo $ECHO_N "(cached) $ECHO_C" >&6
47965 else
47966 if test -n "$ac_ct_NM"; then
47967 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47968 else
47969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47970 for as_dir in $PATH
47971 do
47972 IFS=$as_save_IFS
47973 test -z "$as_dir" && as_dir=.
47974 for ac_exec_ext in '' $ac_executable_extensions; do
47975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47976 ac_cv_prog_ac_ct_NM="nm"
47977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47978 break 2
47979 fi
47980 done
47981 done
47982 IFS=$as_save_IFS
47983
47984 fi
47985 fi
47986 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47987 if test -n "$ac_ct_NM"; then
47988 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47989 echo "${ECHO_T}$ac_ct_NM" >&6; }
47990 else
47991 { echo "$as_me:$LINENO: result: no" >&5
47992 echo "${ECHO_T}no" >&6; }
47993 fi
47994
47995 if test "x$ac_ct_NM" = x; then
47996 NM=":"
47997 else
47998 case $cross_compiling:$ac_tool_warned in
47999 yes:)
48000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48001 whose name does not start with the host triplet. If you think this
48002 configuration is useful to you, please write to autoconf@gnu.org." >&5
48003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48004 whose name does not start with the host triplet. If you think this
48005 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48006 ac_tool_warned=yes ;;
48007 esac
48008 NM=$ac_ct_NM
48009 fi
48010 else
48011 NM="$ac_cv_prog_NM"
48012 fi
48013
48014
48015 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48016 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48017 INSTALL_TEST_DIR=acbftest$$
48018 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48019 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48020 rmdir $INSTALL_TEST_DIR
48021 INSTALL_DIR='$(INSTALL) -d'
48022 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48023 echo "${ECHO_T}$INSTALL -d" >&6; }
48024 else
48025 INSTALL_DIR="mkdir -p"
48026 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48027 echo "${ECHO_T}mkdir -p" >&6; }
48028 fi
48029
48030
48031 LDFLAGS_GUI=
48032 case ${BAKEFILE_HOST} in
48033 *-*-cygwin* | *-*-mingw32* )
48034 LDFLAGS_GUI="-mwindows"
48035 esac
48036
48037
48038 fi
48039
48040 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48041 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48042 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48043 echo $ECHO_N "(cached) $ECHO_C" >&6
48044 else
48045
48046 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48047 egrep -s GNU > /dev/null); then
48048 bakefile_cv_prog_makeisgnu="yes"
48049 else
48050 bakefile_cv_prog_makeisgnu="no"
48051 fi
48052
48053 fi
48054 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48055 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48056
48057 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48058 IF_GNU_MAKE=""
48059 else
48060 IF_GNU_MAKE="#"
48061 fi
48062
48063
48064
48065 PLATFORM_UNIX=0
48066 PLATFORM_WIN32=0
48067 PLATFORM_MSDOS=0
48068 PLATFORM_MAC=0
48069 PLATFORM_MACOS=0
48070 PLATFORM_MACOSX=0
48071 PLATFORM_OS2=0
48072 PLATFORM_BEOS=0
48073
48074 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48075 case "${BAKEFILE_HOST}" in
48076 *-*-mingw32* )
48077 PLATFORM_WIN32=1
48078 ;;
48079 *-pc-msdosdjgpp )
48080 PLATFORM_MSDOS=1
48081 ;;
48082 *-pc-os2_emx | *-pc-os2-emx )
48083 PLATFORM_OS2=1
48084 ;;
48085 *-*-darwin* )
48086 PLATFORM_MAC=1
48087 PLATFORM_MACOSX=1
48088 ;;
48089 *-*-beos* )
48090 PLATFORM_BEOS=1
48091 ;;
48092 powerpc-apple-macos* )
48093 PLATFORM_MAC=1
48094 PLATFORM_MACOS=1
48095 ;;
48096 * )
48097 PLATFORM_UNIX=1
48098 ;;
48099 esac
48100 else
48101 case "$BAKEFILE_FORCE_PLATFORM" in
48102 win32 )
48103 PLATFORM_WIN32=1
48104 ;;
48105 msdos )
48106 PLATFORM_MSDOS=1
48107 ;;
48108 os2 )
48109 PLATFORM_OS2=1
48110 ;;
48111 darwin )
48112 PLATFORM_MAC=1
48113 PLATFORM_MACOSX=1
48114 ;;
48115 unix )
48116 PLATFORM_UNIX=1
48117 ;;
48118 beos )
48119 PLATFORM_BEOS=1
48120 ;;
48121 * )
48122 ;;
48123 esac
48124 fi
48125
48126
48127
48128
48129
48130
48131
48132
48133
48134
48135
48136 # Check whether --enable-omf was given.
48137 if test "${enable_omf+set}" = set; then
48138 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48139 fi
48140
48141
48142 case "${BAKEFILE_HOST}" in
48143 *-*-darwin* )
48144 if test "x$GCC" = "xyes"; then
48145 CFLAGS="$CFLAGS -fno-common"
48146 CXXFLAGS="$CXXFLAGS -fno-common"
48147 fi
48148 if test "x$XLCC" = "xyes"; then
48149 CFLAGS="$CFLAGS -qnocommon"
48150 CXXFLAGS="$CXXFLAGS -qnocommon"
48151 fi
48152 ;;
48153
48154 *-pc-os2_emx | *-pc-os2-emx )
48155 if test "x$bk_os2_use_omf" = "xyes" ; then
48156 AR=emxomfar
48157 RANLIB=:
48158 LDFLAGS="-Zomf $LDFLAGS"
48159 CFLAGS="-Zomf $CFLAGS"
48160 CXXFLAGS="-Zomf $CXXFLAGS"
48161 OS2_LIBEXT="lib"
48162 else
48163 OS2_LIBEXT="a"
48164 fi
48165 ;;
48166
48167 i*86-*-beos* )
48168 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48169 ;;
48170 esac
48171
48172
48173 SO_SUFFIX="so"
48174 SO_SUFFIX_MODULE="so"
48175 EXEEXT=""
48176 LIBPREFIX="lib"
48177 LIBEXT=".a"
48178 DLLPREFIX="lib"
48179 DLLPREFIX_MODULE=""
48180 DLLIMP_SUFFIX=""
48181 dlldir="$libdir"
48182
48183 case "${BAKEFILE_HOST}" in
48184 ia64-hp-hpux* )
48185 ;;
48186 *-hp-hpux* )
48187 SO_SUFFIX="sl"
48188 SO_SUFFIX_MODULE="sl"
48189 ;;
48190 *-*-aix* )
48191 SO_SUFFIX="a"
48192 SO_SUFFIX_MODULE="a"
48193 ;;
48194 *-*-cygwin* )
48195 SO_SUFFIX="dll"
48196 SO_SUFFIX_MODULE="dll"
48197 DLLIMP_SUFFIX="dll.a"
48198 EXEEXT=".exe"
48199 DLLPREFIX="cyg"
48200 dlldir="$bindir"
48201 ;;
48202 *-*-mingw32* )
48203 SO_SUFFIX="dll"
48204 SO_SUFFIX_MODULE="dll"
48205 DLLIMP_SUFFIX="dll.a"
48206 EXEEXT=".exe"
48207 DLLPREFIX=""
48208 dlldir="$bindir"
48209 ;;
48210 *-pc-msdosdjgpp )
48211 EXEEXT=".exe"
48212 DLLPREFIX=""
48213 dlldir="$bindir"
48214 ;;
48215 *-pc-os2_emx | *-pc-os2-emx )
48216 SO_SUFFIX="dll"
48217 SO_SUFFIX_MODULE="dll"
48218 DLLIMP_SUFFIX=$OS2_LIBEXT
48219 EXEEXT=".exe"
48220 DLLPREFIX=""
48221 LIBPREFIX=""
48222 LIBEXT=".$OS2_LIBEXT"
48223 dlldir="$bindir"
48224 ;;
48225 *-*-darwin* )
48226 SO_SUFFIX="dylib"
48227 SO_SUFFIX_MODULE="bundle"
48228 ;;
48229 esac
48230
48231 if test "x$DLLIMP_SUFFIX" = "x" ; then
48232 DLLIMP_SUFFIX="$SO_SUFFIX"
48233 fi
48234
48235
48236
48237
48238
48239
48240
48241
48242
48243
48244
48245
48246 PIC_FLAG=""
48247 if test "x$GCC" = "xyes"; then
48248 PIC_FLAG="-fPIC"
48249 fi
48250
48251 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48252 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48253 WINDOWS_IMPLIB=0
48254
48255 case "${BAKEFILE_HOST}" in
48256 *-hp-hpux* )
48257 if test "x$GCC" != "xyes"; then
48258 LDFLAGS="$LDFLAGS -L/usr/lib"
48259
48260 SHARED_LD_CC="${CC} -b -o"
48261 SHARED_LD_CXX="${CXX} -b -o"
48262 PIC_FLAG="+Z"
48263 fi
48264 ;;
48265
48266 *-*-linux* )
48267 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48268 PIC_FLAG="-KPIC"
48269 elif test "x$SUNCXX" = "xyes"; then
48270 SHARED_LD_CC="${CC} -G -o"
48271 SHARED_LD_CXX="${CXX} -G -o"
48272 PIC_FLAG="-KPIC"
48273 fi
48274 ;;
48275
48276 *-*-solaris2* )
48277 if test "x$SUNCXX" = xyes ; then
48278 SHARED_LD_CC="${CC} -G -o"
48279 SHARED_LD_CXX="${CXX} -G -o"
48280 PIC_FLAG="-KPIC"
48281 fi
48282 ;;
48283
48284 *-*-darwin* )
48285
48286 D='$'
48287 cat <<EOF >shared-ld-sh
48288 #!/bin/sh
48289 #-----------------------------------------------------------------------------
48290 #-- Name: distrib/mac/shared-ld-sh
48291 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48292 #-- Author: Gilles Depeyrot
48293 #-- Copyright: (c) 2002 Gilles Depeyrot
48294 #-- Licence: any use permitted
48295 #-----------------------------------------------------------------------------
48296
48297 verbose=0
48298 args=""
48299 objects=""
48300 linking_flag="-dynamiclib"
48301 ldargs="-r -keep_private_externs -nostdlib"
48302
48303 if test "x${D}CXX" = "x"; then
48304 CXX="c++"
48305 fi
48306
48307 while test ${D}# -gt 0; do
48308 case ${D}1 in
48309
48310 -v)
48311 verbose=1
48312 ;;
48313
48314 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48315 # collect these options and values
48316 args="${D}{args} ${D}1 ${D}2"
48317 shift
48318 ;;
48319
48320 -arch|-isysroot)
48321 # collect these options and values
48322 ldargs="${D}{ldargs} ${D}1 ${D}2"
48323 shift
48324 ;;
48325
48326 -s|-Wl,*)
48327 # collect these load args
48328 ldargs="${D}{ldargs} ${D}1"
48329 ;;
48330
48331 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48332 # collect these options
48333 args="${D}{args} ${D}1"
48334 ;;
48335
48336 -dynamiclib|-bundle)
48337 linking_flag="${D}1"
48338 ;;
48339
48340 -*)
48341 echo "shared-ld: unhandled option '${D}1'"
48342 exit 1
48343 ;;
48344
48345 *.o | *.a | *.dylib)
48346 # collect object files
48347 objects="${D}{objects} ${D}1"
48348 ;;
48349
48350 *)
48351 echo "shared-ld: unhandled argument '${D}1'"
48352 exit 1
48353 ;;
48354
48355 esac
48356 shift
48357 done
48358
48359 status=0
48360
48361 #
48362 # Link one module containing all the others
48363 #
48364 if test ${D}{verbose} = 1; then
48365 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48366 fi
48367 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48368 status=${D}?
48369
48370 #
48371 # Link the shared library from the single module created, but only if the
48372 # previous command didn't fail:
48373 #
48374 if test ${D}{status} = 0; then
48375 if test ${D}{verbose} = 1; then
48376 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48377 fi
48378 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48379 status=${D}?
48380 fi
48381
48382 #
48383 # Remove intermediate module
48384 #
48385 rm -f master.${D}${D}.o
48386
48387 exit ${D}status
48388 EOF
48389
48390 chmod +x shared-ld-sh
48391
48392 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48393 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48394
48395
48396 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48397 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48398 if test "${bakefile_cv_gcc31+set}" = set; then
48399 echo $ECHO_N "(cached) $ECHO_C" >&6
48400 else
48401
48402 cat >conftest.$ac_ext <<_ACEOF
48403 /* confdefs.h. */
48404 _ACEOF
48405 cat confdefs.h >>conftest.$ac_ext
48406 cat >>conftest.$ac_ext <<_ACEOF
48407 /* end confdefs.h. */
48408
48409 int
48410 main ()
48411 {
48412
48413 #if (__GNUC__ < 3) || \
48414 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48415 This is old gcc
48416 #endif
48417
48418 ;
48419 return 0;
48420 }
48421 _ACEOF
48422 rm -f conftest.$ac_objext
48423 if { (ac_try="$ac_compile"
48424 case "(($ac_try" in
48425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48426 *) ac_try_echo=$ac_try;;
48427 esac
48428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48429 (eval "$ac_compile") 2>conftest.er1
48430 ac_status=$?
48431 grep -v '^ *+' conftest.er1 >conftest.err
48432 rm -f conftest.er1
48433 cat conftest.err >&5
48434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48435 (exit $ac_status); } && {
48436 test -z "$ac_c_werror_flag" ||
48437 test ! -s conftest.err
48438 } && test -s conftest.$ac_objext; then
48439
48440 bakefile_cv_gcc31=yes
48441
48442 else
48443 echo "$as_me: failed program was:" >&5
48444 sed 's/^/| /' conftest.$ac_ext >&5
48445
48446
48447 bakefile_cv_gcc31=no
48448
48449
48450 fi
48451
48452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48453
48454 fi
48455 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48456 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48457 if test "$bakefile_cv_gcc31" = "no"; then
48458 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48459 SHARED_LD_CXX="$SHARED_LD_CC"
48460 else
48461 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48462 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48463 fi
48464
48465 if test "x$GCC" == "xyes"; then
48466 PIC_FLAG="-dynamic -fPIC"
48467 fi
48468 if test "x$XLCC" = "xyes"; then
48469 PIC_FLAG="-dynamic -DPIC"
48470 fi
48471 ;;
48472
48473 *-*-aix* )
48474 if test "x$GCC" = "xyes"; then
48475 PIC_FLAG=""
48476
48477 case "${BAKEFILE_HOST}" in
48478 *-*-aix5* )
48479 LD_EXPFULL="-Wl,-bexpfull"
48480 ;;
48481 esac
48482
48483 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48484 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48485 else
48486 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48487 set dummy makeC++SharedLib; ac_word=$2
48488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48490 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48491 echo $ECHO_N "(cached) $ECHO_C" >&6
48492 else
48493 if test -n "$AIX_CXX_LD"; then
48494 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48495 else
48496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48497 for as_dir in $PATH
48498 do
48499 IFS=$as_save_IFS
48500 test -z "$as_dir" && as_dir=.
48501 for ac_exec_ext in '' $ac_executable_extensions; do
48502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48503 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48505 break 2
48506 fi
48507 done
48508 done
48509 IFS=$as_save_IFS
48510
48511 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48512 fi
48513 fi
48514 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48515 if test -n "$AIX_CXX_LD"; then
48516 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48517 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48518 else
48519 { echo "$as_me:$LINENO: result: no" >&5
48520 echo "${ECHO_T}no" >&6; }
48521 fi
48522
48523
48524 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48525 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48526 fi
48527 ;;
48528
48529 *-*-beos* )
48530 SHARED_LD_CC="${LD} -nostart -o"
48531 SHARED_LD_CXX="${LD} -nostart -o"
48532 ;;
48533
48534 *-*-irix* )
48535 if test "x$GCC" != "xyes"; then
48536 PIC_FLAG="-KPIC"
48537 fi
48538 ;;
48539
48540 *-*-cygwin* | *-*-mingw32* )
48541 PIC_FLAG=""
48542 SHARED_LD_CC="\$(CC) -shared -o"
48543 SHARED_LD_CXX="\$(CXX) -shared -o"
48544 WINDOWS_IMPLIB=1
48545 ;;
48546
48547 *-pc-os2_emx | *-pc-os2-emx )
48548 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48549 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48550 PIC_FLAG=""
48551
48552 D='$'
48553 cat <<EOF >dllar.sh
48554 #!/bin/sh
48555 #
48556 # dllar - a tool to build both a .dll and an .a file
48557 # from a set of object (.o) files for EMX/OS2.
48558 #
48559 # Written by Andrew Zabolotny, bit@freya.etu.ru
48560 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48561 #
48562 # This script will accept a set of files on the command line.
48563 # All the public symbols from the .o files will be exported into
48564 # a .DEF file, then linker will be run (through gcc) against them to
48565 # build a shared library consisting of all given .o files. All libraries
48566 # (.a) will be first decompressed into component .o files then act as
48567 # described above. You can optionally give a description (-d "description")
48568 # which will be put into .DLL. To see the list of accepted options (as well
48569 # as command-line format) simply run this program without options. The .DLL
48570 # is built to be imported by name (there is no guarantee that new versions
48571 # of the library you build will have same ordinals for same symbols).
48572 #
48573 # dllar is free software; you can redistribute it and/or modify
48574 # it under the terms of the GNU General Public License as published by
48575 # the Free Software Foundation; either version 2, or (at your option)
48576 # any later version.
48577 #
48578 # dllar is distributed in the hope that it will be useful,
48579 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48580 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48581 # GNU General Public License for more details.
48582 #
48583 # You should have received a copy of the GNU General Public License
48584 # along with dllar; see the file COPYING. If not, write to the Free
48585 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48586 # 02111-1307, USA.
48587
48588 # To successfuly run this program you will need:
48589 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48590 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48591 # - gcc
48592 # (used to build the .dll)
48593 # - emxexp
48594 # (used to create .def file from .o files)
48595 # - emximp
48596 # (used to create .a file from .def file)
48597 # - GNU text utilites (cat, sort, uniq)
48598 # used to process emxexp output
48599 # - GNU file utilities (mv, rm)
48600 # - GNU sed
48601 # - lxlite (optional, see flag below)
48602 # (used for general .dll cleanup)
48603 #
48604
48605 flag_USE_LXLITE=1;
48606
48607 #
48608 # helper functions
48609 # basnam, variant of basename, which does _not_ remove the path, _iff_
48610 # second argument (suffix to remove) is given
48611 basnam(){
48612 case ${D}# in
48613 1)
48614 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48615 ;;
48616 2)
48617 echo ${D}1 | sed 's/'${D}2'${D}//'
48618 ;;
48619 *)
48620 echo "error in basnam ${D}*"
48621 exit 8
48622 ;;
48623 esac
48624 }
48625
48626 # Cleanup temporary files and output
48627 CleanUp() {
48628 cd ${D}curDir
48629 for i in ${D}inputFiles ; do
48630 case ${D}i in
48631 *!)
48632 rm -rf \`basnam ${D}i !\`
48633 ;;
48634 *)
48635 ;;
48636 esac
48637 done
48638
48639 # Kill result in case of failure as there is just to many stupid make/nmake
48640 # things out there which doesn't do this.
48641 if [ ${D}# -eq 0 ]; then
48642 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48643 fi
48644 }
48645
48646 # Print usage and exit script with rc=1.
48647 PrintHelp() {
48648 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48649 echo ' [-name-mangler-script script.sh]'
48650 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48651 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48652 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48653 echo ' [*.o] [*.a]'
48654 echo '*> "output_file" should have no extension.'
48655 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48656 echo ' The import library name is derived from this and is set to "name".a,'
48657 echo ' unless overridden by -import'
48658 echo '*> "importlib_name" should have no extension.'
48659 echo ' If it has the .o, or .a extension, it is automatically removed.'
48660 echo ' This name is used as the import library name and may be longer and'
48661 echo ' more descriptive than the DLL name which has to follow the old '
48662 echo ' 8.3 convention of FAT.'
48663 echo '*> "script.sh may be given to override the output_file name by a'
48664 echo ' different name. It is mainly useful if the regular make process'
48665 echo ' of some package does not take into account OS/2 restriction of'
48666 echo ' DLL name lengths. It takes the importlib name as input and is'
48667 echo ' supposed to procude a shorter name as output. The script should'
48668 echo ' expect to get importlib_name without extension and should produce'
48669 echo ' a (max.) 8 letter name without extension.'
48670 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48671 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48672 echo ' These flags will be put at the start of GCC command line.'
48673 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48674 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48675 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48676 echo ' If the last character of a symbol is "*", all symbols beginning'
48677 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48678 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48679 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48680 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48681 echo ' C runtime DLLs.'
48682 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48683 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48684 echo ' unchanged to GCC at the end of command line.'
48685 echo '*> If you create a DLL from a library and you do not specify -o,'
48686 echo ' the basename for DLL and import library will be set to library name,'
48687 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48688 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48689 echo ' library will be renamed into gcc_s.a.'
48690 echo '--------'
48691 echo 'Example:'
48692 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48693 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48694 CleanUp
48695 exit 1
48696 }
48697
48698 # Execute a command.
48699 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48700 # @Uses Whatever CleanUp() uses.
48701 doCommand() {
48702 echo "${D}*"
48703 eval ${D}*
48704 rcCmd=${D}?
48705
48706 if [ ${D}rcCmd -ne 0 ]; then
48707 echo "command failed, exit code="${D}rcCmd
48708 CleanUp
48709 exit ${D}rcCmd
48710 fi
48711 }
48712
48713 # main routine
48714 # setup globals
48715 cmdLine=${D}*
48716 outFile=""
48717 outimpFile=""
48718 inputFiles=""
48719 renameScript=""
48720 description=""
48721 CC=gcc.exe
48722 CFLAGS="-s -Zcrtdll"
48723 EXTRA_CFLAGS=""
48724 EXPORT_BY_ORDINALS=0
48725 exclude_symbols=""
48726 library_flags=""
48727 curDir=\`pwd\`
48728 curDirS=curDir
48729 case ${D}curDirS in
48730 */)
48731 ;;
48732 *)
48733 curDirS=${D}{curDirS}"/"
48734 ;;
48735 esac
48736 # Parse commandline
48737 libsToLink=0
48738 omfLinking=0
48739 while [ ${D}1 ]; do
48740 case ${D}1 in
48741 -ord*)
48742 EXPORT_BY_ORDINALS=1;
48743 ;;
48744 -o*)
48745 shift
48746 outFile=${D}1
48747 ;;
48748 -i*)
48749 shift
48750 outimpFile=${D}1
48751 ;;
48752 -name-mangler-script)
48753 shift
48754 renameScript=${D}1
48755 ;;
48756 -d*)
48757 shift
48758 description=${D}1
48759 ;;
48760 -f*)
48761 shift
48762 CFLAGS=${D}1
48763 ;;
48764 -c*)
48765 shift
48766 CC=${D}1
48767 ;;
48768 -h*)
48769 PrintHelp
48770 ;;
48771 -ex*)
48772 shift
48773 exclude_symbols=${D}{exclude_symbols}${D}1" "
48774 ;;
48775 -libf*)
48776 shift
48777 library_flags=${D}{library_flags}${D}1" "
48778 ;;
48779 -nocrt*)
48780 CFLAGS="-s"
48781 ;;
48782 -nolxl*)
48783 flag_USE_LXLITE=0
48784 ;;
48785 -* | /*)
48786 case ${D}1 in
48787 -L* | -l*)
48788 libsToLink=1
48789 ;;
48790 -Zomf)
48791 omfLinking=1
48792 ;;
48793 *)
48794 ;;
48795 esac
48796 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48797 ;;
48798 *.dll)
48799 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48800 if [ ${D}omfLinking -eq 1 ]; then
48801 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48802 else
48803 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48804 fi
48805 ;;
48806 *)
48807 found=0;
48808 if [ ${D}libsToLink -ne 0 ]; then
48809 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48810 else
48811 for file in ${D}1 ; do
48812 if [ -f ${D}file ]; then
48813 inputFiles="${D}{inputFiles} ${D}file"
48814 found=1
48815 fi
48816 done
48817 if [ ${D}found -eq 0 ]; then
48818 echo "ERROR: No file(s) found: "${D}1
48819 exit 8
48820 fi
48821 fi
48822 ;;
48823 esac
48824 shift
48825 done # iterate cmdline words
48826
48827 #
48828 if [ -z "${D}inputFiles" ]; then
48829 echo "dllar: no input files"
48830 PrintHelp
48831 fi
48832
48833 # Now extract all .o files from .a files
48834 newInputFiles=""
48835 for file in ${D}inputFiles ; do
48836 case ${D}file in
48837 *.a | *.lib)
48838 case ${D}file in
48839 *.a)
48840 suffix=".a"
48841 AR="ar"
48842 ;;
48843 *.lib)
48844 suffix=".lib"
48845 AR="emxomfar"
48846 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48847 ;;
48848 *)
48849 ;;
48850 esac
48851 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48852 mkdir ${D}dirname
48853 if [ ${D}? -ne 0 ]; then
48854 echo "Failed to create subdirectory ./${D}dirname"
48855 CleanUp
48856 exit 8;
48857 fi
48858 # Append '!' to indicate archive
48859 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48860 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48861 cd ${D}curDir
48862 found=0;
48863 for subfile in ${D}dirname/*.o* ; do
48864 if [ -f ${D}subfile ]; then
48865 found=1
48866 if [ -s ${D}subfile ]; then
48867 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48868 newInputFiles="${D}newInputFiles ${D}subfile"
48869 fi
48870 fi
48871 done
48872 if [ ${D}found -eq 0 ]; then
48873 echo "WARNING: there are no files in archive \\'${D}file\\'"
48874 fi
48875 ;;
48876 *)
48877 newInputFiles="${D}{newInputFiles} ${D}file"
48878 ;;
48879 esac
48880 done
48881 inputFiles="${D}newInputFiles"
48882
48883 # Output filename(s).
48884 do_backup=0;
48885 if [ -z ${D}outFile ]; then
48886 do_backup=1;
48887 set outFile ${D}inputFiles; outFile=${D}2
48888 fi
48889
48890 # If it is an archive, remove the '!' and the '_%' suffixes
48891 case ${D}outFile in
48892 *_%!)
48893 outFile=\`basnam ${D}outFile _%!\`
48894 ;;
48895 *)
48896 ;;
48897 esac
48898 case ${D}outFile in
48899 *.dll)
48900 outFile=\`basnam ${D}outFile .dll\`
48901 ;;
48902 *.DLL)
48903 outFile=\`basnam ${D}outFile .DLL\`
48904 ;;
48905 *.o)
48906 outFile=\`basnam ${D}outFile .o\`
48907 ;;
48908 *.obj)
48909 outFile=\`basnam ${D}outFile .obj\`
48910 ;;
48911 *.a)
48912 outFile=\`basnam ${D}outFile .a\`
48913 ;;
48914 *.lib)
48915 outFile=\`basnam ${D}outFile .lib\`
48916 ;;
48917 *)
48918 ;;
48919 esac
48920 case ${D}outimpFile in
48921 *.a)
48922 outimpFile=\`basnam ${D}outimpFile .a\`
48923 ;;
48924 *.lib)
48925 outimpFile=\`basnam ${D}outimpFile .lib\`
48926 ;;
48927 *)
48928 ;;
48929 esac
48930 if [ -z ${D}outimpFile ]; then
48931 outimpFile=${D}outFile
48932 fi
48933 defFile="${D}{outFile}.def"
48934 arcFile="${D}{outimpFile}.a"
48935 arcFile2="${D}{outimpFile}.lib"
48936
48937 #create ${D}dllFile as something matching 8.3 restrictions,
48938 if [ -z ${D}renameScript ] ; then
48939 dllFile="${D}outFile"
48940 else
48941 dllFile=\`${D}renameScript ${D}outimpFile\`
48942 fi
48943
48944 if [ ${D}do_backup -ne 0 ] ; then
48945 if [ -f ${D}arcFile ] ; then
48946 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48947 fi
48948 if [ -f ${D}arcFile2 ] ; then
48949 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48950 fi
48951 fi
48952
48953 # Extract public symbols from all the object files.
48954 tmpdefFile=${D}{defFile}_%
48955 rm -f ${D}tmpdefFile
48956 for file in ${D}inputFiles ; do
48957 case ${D}file in
48958 *!)
48959 ;;
48960 *)
48961 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48962 ;;
48963 esac
48964 done
48965
48966 # Create the def file.
48967 rm -f ${D}defFile
48968 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48969 dllFile="${D}{dllFile}.dll"
48970 if [ ! -z ${D}description ]; then
48971 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48972 fi
48973 echo "EXPORTS" >> ${D}defFile
48974
48975 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48976 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48977
48978 # Checks if the export is ok or not.
48979 for word in ${D}exclude_symbols; do
48980 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48981 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48982 done
48983
48984
48985 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48986 sed "=" < ${D}tmpdefFile | \\
48987 sed '
48988 N
48989 : loop
48990 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48991 t loop
48992 ' > ${D}{tmpdefFile}%
48993 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48994 else
48995 rm -f ${D}{tmpdefFile}%
48996 fi
48997 cat ${D}tmpdefFile >> ${D}defFile
48998 rm -f ${D}tmpdefFile
48999
49000 # Do linking, create implib, and apply lxlite.
49001 gccCmdl="";
49002 for file in ${D}inputFiles ; do
49003 case ${D}file in
49004 *!)
49005 ;;
49006 *)
49007 gccCmdl="${D}gccCmdl ${D}file"
49008 ;;
49009 esac
49010 done
49011 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49012 touch "${D}{outFile}.dll"
49013
49014 doCommand "emximp -o ${D}arcFile ${D}defFile"
49015 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49016 add_flags="";
49017 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49018 add_flags="-ynd"
49019 fi
49020 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49021 fi
49022 doCommand "emxomf -s -l ${D}arcFile"
49023
49024 # Successful exit.
49025 CleanUp 1
49026 exit 0
49027 EOF
49028
49029 chmod +x dllar.sh
49030 ;;
49031
49032 powerpc-apple-macos* | \
49033 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49034 *-*-mirbsd* | \
49035 *-*-sunos4* | \
49036 *-*-osf* | \
49037 *-*-dgux5* | \
49038 *-*-sysv5* | \
49039 *-pc-msdosdjgpp )
49040 ;;
49041
49042 *)
49043 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49044 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49045 { (exit 1); exit 1; }; }
49046 esac
49047
49048 if test "x$PIC_FLAG" != "x" ; then
49049 PIC_FLAG="$PIC_FLAG -DPIC"
49050 fi
49051
49052 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49053 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49054 fi
49055 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49056 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49057 fi
49058
49059
49060
49061
49062
49063
49064
49065
49066
49067 USE_SOVERSION=0
49068 USE_SOVERLINUX=0
49069 USE_SOVERSOLARIS=0
49070 USE_SOVERCYGWIN=0
49071 USE_SOSYMLINKS=0
49072 USE_MACVERSION=0
49073 SONAME_FLAG=
49074
49075 case "${BAKEFILE_HOST}" in
49076 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49077 *-*-k*bsd*-gnu | *-*-mirbsd* )
49078 if test "x$SUNCXX" = "xyes"; then
49079 SONAME_FLAG="-h "
49080 else
49081 SONAME_FLAG="-Wl,-soname,"
49082 fi
49083 USE_SOVERSION=1
49084 USE_SOVERLINUX=1
49085 USE_SOSYMLINKS=1
49086 ;;
49087
49088 *-*-solaris2* )
49089 SONAME_FLAG="-h "
49090 USE_SOVERSION=1
49091 USE_SOVERSOLARIS=1
49092 USE_SOSYMLINKS=1
49093 ;;
49094
49095 *-*-darwin* )
49096 USE_MACVERSION=1
49097 USE_SOVERSION=1
49098 USE_SOSYMLINKS=1
49099 ;;
49100
49101 *-*-cygwin* )
49102 USE_SOVERSION=1
49103 USE_SOVERCYGWIN=1
49104 ;;
49105 esac
49106
49107
49108
49109
49110
49111
49112
49113
49114
49115
49116 # Check whether --enable-dependency-tracking was given.
49117 if test "${enable_dependency_tracking+set}" = set; then
49118 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49119 fi
49120
49121
49122 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49123 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49124
49125 BK_DEPS=""
49126 if test "x$bk_use_trackdeps" = "xno" ; then
49127 DEPS_TRACKING=0
49128 { echo "$as_me:$LINENO: result: disabled" >&5
49129 echo "${ECHO_T}disabled" >&6; }
49130 else
49131 DEPS_TRACKING=1
49132
49133 if test "x$GCC" = "xyes"; then
49134 DEPSMODE=gcc
49135 case "${BAKEFILE_HOST}" in
49136 *-*-darwin* )
49137 DEPSFLAG="-no-cpp-precomp -MMD"
49138 ;;
49139 * )
49140 DEPSFLAG="-MMD"
49141 ;;
49142 esac
49143 { echo "$as_me:$LINENO: result: gcc" >&5
49144 echo "${ECHO_T}gcc" >&6; }
49145 elif test "x$MWCC" = "xyes"; then
49146 DEPSMODE=mwcc
49147 DEPSFLAG="-MM"
49148 { echo "$as_me:$LINENO: result: mwcc" >&5
49149 echo "${ECHO_T}mwcc" >&6; }
49150 elif test "x$SUNCC" = "xyes"; then
49151 DEPSMODE=unixcc
49152 DEPSFLAG="-xM1"
49153 { echo "$as_me:$LINENO: result: Sun cc" >&5
49154 echo "${ECHO_T}Sun cc" >&6; }
49155 elif test "x$SGICC" = "xyes"; then
49156 DEPSMODE=unixcc
49157 DEPSFLAG="-M"
49158 { echo "$as_me:$LINENO: result: SGI cc" >&5
49159 echo "${ECHO_T}SGI cc" >&6; }
49160 elif test "x$HPCC" = "xyes"; then
49161 DEPSMODE=unixcc
49162 DEPSFLAG="+make"
49163 { echo "$as_me:$LINENO: result: HP cc" >&5
49164 echo "${ECHO_T}HP cc" >&6; }
49165 elif test "x$COMPAQCC" = "xyes"; then
49166 DEPSMODE=gcc
49167 DEPSFLAG="-MD"
49168 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49169 echo "${ECHO_T}Compaq cc" >&6; }
49170 else
49171 DEPS_TRACKING=0
49172 { echo "$as_me:$LINENO: result: none" >&5
49173 echo "${ECHO_T}none" >&6; }
49174 fi
49175
49176 if test $DEPS_TRACKING = 1 ; then
49177
49178 D='$'
49179 cat <<EOF >bk-deps
49180 #!/bin/sh
49181
49182 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49183 # script. It is used to track C/C++ files dependencies in portable way.
49184 #
49185 # Permission is given to use this file in any way.
49186
49187 DEPSMODE=${DEPSMODE}
49188 DEPSFLAG="${DEPSFLAG}"
49189 DEPSDIRBASE=.deps
49190
49191 if test ${D}DEPSMODE = gcc ; then
49192 ${D}* ${D}{DEPSFLAG}
49193 status=${D}?
49194
49195 # determine location of created files:
49196 while test ${D}# -gt 0; do
49197 case "${D}1" in
49198 -o )
49199 shift
49200 objfile=${D}1
49201 ;;
49202 -* )
49203 ;;
49204 * )
49205 srcfile=${D}1
49206 ;;
49207 esac
49208 shift
49209 done
49210 objfilebase=\`basename ${D}objfile\`
49211 builddir=\`dirname ${D}objfile\`
49212 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49213 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49214 depsdir=${D}builddir/${D}DEPSDIRBASE
49215 mkdir -p ${D}depsdir
49216
49217 # if the compiler failed, we're done:
49218 if test ${D}{status} != 0 ; then
49219 rm -f ${D}depfile
49220 exit ${D}{status}
49221 fi
49222
49223 # move created file to the location we want it in:
49224 if test -f ${D}depfile ; then
49225 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49226 rm -f ${D}depfile
49227 else
49228 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49229 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49230 if test ! -f ${D}depfile ; then
49231 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49232 depfile="${D}objfile.d"
49233 fi
49234 if test -f ${D}depfile ; then
49235 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49236 rm -f ${D}depfile
49237 fi
49238 fi
49239 exit 0
49240
49241 elif test ${D}DEPSMODE = mwcc ; then
49242 ${D}* || exit ${D}?
49243 # Run mwcc again with -MM and redirect into the dep file we want
49244 # NOTE: We can't use shift here because we need ${D}* to be valid
49245 prevarg=
49246 for arg in ${D}* ; do
49247 if test "${D}prevarg" = "-o"; then
49248 objfile=${D}arg
49249 else
49250 case "${D}arg" in
49251 -* )
49252 ;;
49253 * )
49254 srcfile=${D}arg
49255 ;;
49256 esac
49257 fi
49258 prevarg="${D}arg"
49259 done
49260
49261 objfilebase=\`basename ${D}objfile\`
49262 builddir=\`dirname ${D}objfile\`
49263 depsdir=${D}builddir/${D}DEPSDIRBASE
49264 mkdir -p ${D}depsdir
49265
49266 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49267 exit 0
49268
49269 elif test ${D}DEPSMODE = unixcc; then
49270 ${D}* || exit ${D}?
49271 # Run compiler again with deps flag and redirect into the dep file.
49272 # It doesn't work if the '-o FILE' option is used, but without it the
49273 # dependency file will contain the wrong name for the object. So it is
49274 # removed from the command line, and the dep file is fixed with sed.
49275 cmd=""
49276 while test ${D}# -gt 0; do
49277 case "${D}1" in
49278 -o )
49279 shift
49280 objfile=${D}1
49281 ;;
49282 * )
49283 eval arg${D}#=\\${D}1
49284 cmd="${D}cmd \\${D}arg${D}#"
49285 ;;
49286 esac
49287 shift
49288 done
49289
49290 objfilebase=\`basename ${D}objfile\`
49291 builddir=\`dirname ${D}objfile\`
49292 depsdir=${D}builddir/${D}DEPSDIRBASE
49293 mkdir -p ${D}depsdir
49294
49295 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49296 exit 0
49297
49298 else
49299 ${D}*
49300 exit ${D}?
49301 fi
49302 EOF
49303
49304 chmod +x bk-deps
49305 BK_DEPS="`pwd`/bk-deps"
49306 fi
49307 fi
49308
49309
49310
49311
49312
49313 case ${BAKEFILE_HOST} in
49314 *-*-cygwin* | *-*-mingw32* )
49315 if test -n "$ac_tool_prefix"; then
49316 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49317 set dummy ${ac_tool_prefix}windres; ac_word=$2
49318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49320 if test "${ac_cv_prog_WINDRES+set}" = set; then
49321 echo $ECHO_N "(cached) $ECHO_C" >&6
49322 else
49323 if test -n "$WINDRES"; then
49324 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49325 else
49326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49327 for as_dir in $PATH
49328 do
49329 IFS=$as_save_IFS
49330 test -z "$as_dir" && as_dir=.
49331 for ac_exec_ext in '' $ac_executable_extensions; do
49332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49333 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49335 break 2
49336 fi
49337 done
49338 done
49339 IFS=$as_save_IFS
49340
49341 fi
49342 fi
49343 WINDRES=$ac_cv_prog_WINDRES
49344 if test -n "$WINDRES"; then
49345 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49346 echo "${ECHO_T}$WINDRES" >&6; }
49347 else
49348 { echo "$as_me:$LINENO: result: no" >&5
49349 echo "${ECHO_T}no" >&6; }
49350 fi
49351
49352
49353 fi
49354 if test -z "$ac_cv_prog_WINDRES"; then
49355 ac_ct_WINDRES=$WINDRES
49356 # Extract the first word of "windres", so it can be a program name with args.
49357 set dummy windres; ac_word=$2
49358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49360 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49361 echo $ECHO_N "(cached) $ECHO_C" >&6
49362 else
49363 if test -n "$ac_ct_WINDRES"; then
49364 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49365 else
49366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49367 for as_dir in $PATH
49368 do
49369 IFS=$as_save_IFS
49370 test -z "$as_dir" && as_dir=.
49371 for ac_exec_ext in '' $ac_executable_extensions; do
49372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49373 ac_cv_prog_ac_ct_WINDRES="windres"
49374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49375 break 2
49376 fi
49377 done
49378 done
49379 IFS=$as_save_IFS
49380
49381 fi
49382 fi
49383 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49384 if test -n "$ac_ct_WINDRES"; then
49385 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49386 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49387 else
49388 { echo "$as_me:$LINENO: result: no" >&5
49389 echo "${ECHO_T}no" >&6; }
49390 fi
49391
49392 if test "x$ac_ct_WINDRES" = x; then
49393 WINDRES=""
49394 else
49395 case $cross_compiling:$ac_tool_warned in
49396 yes:)
49397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49398 whose name does not start with the host triplet. If you think this
49399 configuration is useful to you, please write to autoconf@gnu.org." >&5
49400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49401 whose name does not start with the host triplet. If you think this
49402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49403 ac_tool_warned=yes ;;
49404 esac
49405 WINDRES=$ac_ct_WINDRES
49406 fi
49407 else
49408 WINDRES="$ac_cv_prog_WINDRES"
49409 fi
49410
49411 ;;
49412
49413 *-*-darwin* | powerpc-apple-macos* )
49414 # Extract the first word of "Rez", so it can be a program name with args.
49415 set dummy Rez; ac_word=$2
49416 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49418 if test "${ac_cv_prog_REZ+set}" = set; then
49419 echo $ECHO_N "(cached) $ECHO_C" >&6
49420 else
49421 if test -n "$REZ"; then
49422 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49423 else
49424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49425 for as_dir in $PATH
49426 do
49427 IFS=$as_save_IFS
49428 test -z "$as_dir" && as_dir=.
49429 for ac_exec_ext in '' $ac_executable_extensions; do
49430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49431 ac_cv_prog_REZ="Rez"
49432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49433 break 2
49434 fi
49435 done
49436 done
49437 IFS=$as_save_IFS
49438
49439 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49440 fi
49441 fi
49442 REZ=$ac_cv_prog_REZ
49443 if test -n "$REZ"; then
49444 { echo "$as_me:$LINENO: result: $REZ" >&5
49445 echo "${ECHO_T}$REZ" >&6; }
49446 else
49447 { echo "$as_me:$LINENO: result: no" >&5
49448 echo "${ECHO_T}no" >&6; }
49449 fi
49450
49451
49452 # Extract the first word of "SetFile", so it can be a program name with args.
49453 set dummy SetFile; ac_word=$2
49454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49456 if test "${ac_cv_prog_SETFILE+set}" = set; then
49457 echo $ECHO_N "(cached) $ECHO_C" >&6
49458 else
49459 if test -n "$SETFILE"; then
49460 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49461 else
49462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49463 for as_dir in $PATH
49464 do
49465 IFS=$as_save_IFS
49466 test -z "$as_dir" && as_dir=.
49467 for ac_exec_ext in '' $ac_executable_extensions; do
49468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49469 ac_cv_prog_SETFILE="SetFile"
49470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49471 break 2
49472 fi
49473 done
49474 done
49475 IFS=$as_save_IFS
49476
49477 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49478 fi
49479 fi
49480 SETFILE=$ac_cv_prog_SETFILE
49481 if test -n "$SETFILE"; then
49482 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49483 echo "${ECHO_T}$SETFILE" >&6; }
49484 else
49485 { echo "$as_me:$LINENO: result: no" >&5
49486 echo "${ECHO_T}no" >&6; }
49487 fi
49488
49489
49490 ;;
49491 esac
49492
49493
49494
49495
49496
49497
49498
49499
49500
49501 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49502
49503
49504 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49505
49506
49507
49508 # Check whether --enable-precomp-headers was given.
49509 if test "${enable_precomp_headers+set}" = set; then
49510 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49511 fi
49512
49513
49514 GCC_PCH=0
49515 ICC_PCH=0
49516 USE_PCH=0
49517 BK_MAKE_PCH=""
49518
49519 case ${BAKEFILE_HOST} in
49520 *-*-cygwin* )
49521 bk_use_pch="no"
49522 ;;
49523 esac
49524
49525 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49526 if test "x$GCC" = "xyes"; then
49527 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49528 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49529 cat >conftest.$ac_ext <<_ACEOF
49530 /* confdefs.h. */
49531 _ACEOF
49532 cat confdefs.h >>conftest.$ac_ext
49533 cat >>conftest.$ac_ext <<_ACEOF
49534 /* end confdefs.h. */
49535
49536 int
49537 main ()
49538 {
49539
49540 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49541 There is no PCH support
49542 #endif
49543 #if (__GNUC__ < 3)
49544 There is no PCH support
49545 #endif
49546 #if (__GNUC__ == 3) && \
49547 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49548 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49549 ( defined(__INTEL_COMPILER) )
49550 There is no PCH support
49551 #endif
49552
49553 ;
49554 return 0;
49555 }
49556 _ACEOF
49557 rm -f conftest.$ac_objext
49558 if { (ac_try="$ac_compile"
49559 case "(($ac_try" in
49560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49561 *) ac_try_echo=$ac_try;;
49562 esac
49563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49564 (eval "$ac_compile") 2>conftest.er1
49565 ac_status=$?
49566 grep -v '^ *+' conftest.er1 >conftest.err
49567 rm -f conftest.er1
49568 cat conftest.err >&5
49569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49570 (exit $ac_status); } && {
49571 test -z "$ac_c_werror_flag" ||
49572 test ! -s conftest.err
49573 } && test -s conftest.$ac_objext; then
49574
49575 { echo "$as_me:$LINENO: result: yes" >&5
49576 echo "${ECHO_T}yes" >&6; }
49577 GCC_PCH=1
49578
49579 else
49580 echo "$as_me: failed program was:" >&5
49581 sed 's/^/| /' conftest.$ac_ext >&5
49582
49583
49584 if test "$INTELCXX8" = "yes"; then
49585 { echo "$as_me:$LINENO: result: yes" >&5
49586 echo "${ECHO_T}yes" >&6; }
49587 ICC_PCH=1
49588 if test "$INTELCXX10" = "yes"; then
49589 ICC_PCH_CREATE_SWITCH="-pch-create"
49590 ICC_PCH_USE_SWITCH="-pch-use"
49591 else
49592 ICC_PCH_CREATE_SWITCH="-create-pch"
49593 ICC_PCH_USE_SWITCH="-use-pch"
49594 fi
49595 else
49596 { echo "$as_me:$LINENO: result: no" >&5
49597 echo "${ECHO_T}no" >&6; }
49598 fi
49599
49600 fi
49601
49602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49603 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49604 USE_PCH=1
49605
49606 D='$'
49607 cat <<EOF >bk-make-pch
49608 #!/bin/sh
49609
49610 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49611 # script. It is used to generated precompiled headers.
49612 #
49613 # Permission is given to use this file in any way.
49614
49615 outfile="${D}{1}"
49616 header="${D}{2}"
49617 shift
49618 shift
49619
49620 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49621
49622 compiler=""
49623 headerfile=""
49624
49625 while test ${D}{#} -gt 0; do
49626 add_to_cmdline=1
49627 case "${D}{1}" in
49628 -I* )
49629 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49630 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49631 headerfile="${D}{incdir}/${D}{header}"
49632 fi
49633 ;;
49634 -use-pch|-use_pch|-pch-use )
49635 shift
49636 add_to_cmdline=0
49637 ;;
49638 esac
49639 if test ${D}add_to_cmdline = 1 ; then
49640 compiler="${D}{compiler} ${D}{1}"
49641 fi
49642 shift
49643 done
49644
49645 if test "x${D}{headerfile}" = "x" ; then
49646 echo "error: can't find header ${D}{header} in include paths" >&2
49647 else
49648 if test -f ${D}{outfile} ; then
49649 rm -f ${D}{outfile}
49650 else
49651 mkdir -p \`dirname ${D}{outfile}\`
49652 fi
49653 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49654 mkdir -p ${D}{builddir}/.deps
49655 if test "x${GCC_PCH}" = "x1" ; then
49656 # can do this because gcc is >= 3.4:
49657 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49658 elif test "x${ICC_PCH}" = "x1" ; then
49659 filename=pch_gen-${D}${D}
49660 file=${D}{filename}.c
49661 dfile=${D}{filename}.d
49662 cat > ${D}file <<EOT
49663 #include "${D}header"
49664 EOT
49665 # using -MF icc complains about differing command lines in creation/use
49666 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49667 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49668 rm -f ${D}file ${D}dfile ${D}{filename}.o
49669 fi
49670 exit ${D}{?}
49671 fi
49672 EOF
49673
49674 chmod +x bk-make-pch
49675 BK_MAKE_PCH="`pwd`/bk-make-pch"
49676 fi
49677 fi
49678 fi
49679
49680
49681
49682
49683
49684
49685
49686 COND_BUILD_DEBUG="#"
49687 if test "x$BUILD" = "xdebug" ; then
49688 COND_BUILD_DEBUG=""
49689 fi
49690
49691 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49692 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49693 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49694 fi
49695
49696 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49697 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49698 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49699 fi
49700
49701 COND_BUILD_DEBUG_UNICODE_0="#"
49702 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49703 COND_BUILD_DEBUG_UNICODE_0=""
49704 fi
49705
49706 COND_BUILD_DEBUG_UNICODE_1="#"
49707 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49708 COND_BUILD_DEBUG_UNICODE_1=""
49709 fi
49710
49711 COND_BUILD_RELEASE="#"
49712 if test "x$BUILD" = "xrelease" ; then
49713 COND_BUILD_RELEASE=""
49714 fi
49715
49716 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49717 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49718 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49719 fi
49720
49721 COND_BUILD_RELEASE_UNICODE_0="#"
49722 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49723 COND_BUILD_RELEASE_UNICODE_0=""
49724 fi
49725
49726 COND_BUILD_RELEASE_UNICODE_1="#"
49727 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49728 COND_BUILD_RELEASE_UNICODE_1=""
49729 fi
49730
49731 COND_BUILD_debug="#"
49732 if test "x$BUILD" = "xdebug" ; then
49733 COND_BUILD_debug=""
49734 fi
49735
49736 COND_BUILD_debug_DEBUG_FLAG_default="#"
49737 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49738 COND_BUILD_debug_DEBUG_FLAG_default=""
49739 fi
49740
49741 COND_BUILD_debug_DEBUG_INFO_default="#"
49742 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49743 COND_BUILD_debug_DEBUG_INFO_default=""
49744 fi
49745
49746 COND_BUILD_debug_UNICODE_0="#"
49747 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49748 COND_BUILD_debug_UNICODE_0=""
49749 fi
49750
49751 COND_BUILD_debug_UNICODE_1="#"
49752 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49753 COND_BUILD_debug_UNICODE_1=""
49754 fi
49755
49756 COND_BUILD_release="#"
49757 if test "x$BUILD" = "xrelease" ; then
49758 COND_BUILD_release=""
49759 fi
49760
49761 COND_BUILD_release_DEBUG_INFO_default="#"
49762 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49763 COND_BUILD_release_DEBUG_INFO_default=""
49764 fi
49765
49766 COND_BUILD_release_UNICODE_0="#"
49767 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49768 COND_BUILD_release_UNICODE_0=""
49769 fi
49770
49771 COND_BUILD_release_UNICODE_1="#"
49772 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49773 COND_BUILD_release_UNICODE_1=""
49774 fi
49775
49776 COND_DEBUG_FLAG_0="#"
49777 if test "x$DEBUG_FLAG" = "x0" ; then
49778 COND_DEBUG_FLAG_0=""
49779 fi
49780
49781 COND_DEBUG_FLAG_1="#"
49782 if test "x$DEBUG_FLAG" = "x1" ; then
49783 COND_DEBUG_FLAG_1=""
49784 fi
49785
49786 COND_DEBUG_INFO_0="#"
49787 if test "x$DEBUG_INFO" = "x0" ; then
49788 COND_DEBUG_INFO_0=""
49789 fi
49790
49791 COND_DEBUG_INFO_1="#"
49792 if test "x$DEBUG_INFO" = "x1" ; then
49793 COND_DEBUG_INFO_1=""
49794 fi
49795
49796 COND_DEPS_TRACKING_0="#"
49797 if test "x$DEPS_TRACKING" = "x0" ; then
49798 COND_DEPS_TRACKING_0=""
49799 fi
49800
49801 COND_DEPS_TRACKING_1="#"
49802 if test "x$DEPS_TRACKING" = "x1" ; then
49803 COND_DEPS_TRACKING_1=""
49804 fi
49805
49806 COND_GCC_PCH_1="#"
49807 if test "x$GCC_PCH" = "x1" ; then
49808 COND_GCC_PCH_1=""
49809 fi
49810
49811 COND_ICC_PCH_1="#"
49812 if test "x$ICC_PCH" = "x1" ; then
49813 COND_ICC_PCH_1=""
49814 fi
49815
49816 COND_MONOLITHIC_0="#"
49817 if test "x$MONOLITHIC" = "x0" ; then
49818 COND_MONOLITHIC_0=""
49819 fi
49820
49821 COND_MONOLITHIC_0_SHARED_0="#"
49822 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49823 COND_MONOLITHIC_0_SHARED_0=""
49824 fi
49825
49826 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49827 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49828 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49829 fi
49830
49831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49832 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49834 fi
49835
49836 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49837 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49838 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49839 fi
49840
49841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49842 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49844 fi
49845
49846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49847 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49849 fi
49850
49851 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49852 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49853 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49854 fi
49855
49856 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
49857 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
49858 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
49859 fi
49860
49861 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49862 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49863 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49864 fi
49865
49866 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49867 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49868 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49869 fi
49870
49871 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49872 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49873 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49874 fi
49875
49876 COND_MONOLITHIC_0_SHARED_1="#"
49877 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49878 COND_MONOLITHIC_0_SHARED_1=""
49879 fi
49880
49881 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49882 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49883 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49884 fi
49885
49886 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49887 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49889 fi
49890
49891 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49892 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49893 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49894 fi
49895
49896 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49897 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49898 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49899 fi
49900
49901 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49902 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49903 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49904 fi
49905
49906 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49907 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49908 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49909 fi
49910
49911 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
49912 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
49913 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
49914 fi
49915
49916 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49917 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49918 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49919 fi
49920
49921 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49922 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49923 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49924 fi
49925
49926 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49927 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49928 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49929 fi
49930
49931 COND_MONOLITHIC_0_USE_AUI_1="#"
49932 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49933 COND_MONOLITHIC_0_USE_AUI_1=""
49934 fi
49935
49936 COND_MONOLITHIC_0_USE_GUI_1="#"
49937 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49938 COND_MONOLITHIC_0_USE_GUI_1=""
49939 fi
49940
49941 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49942 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49943 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49944 fi
49945
49946 COND_MONOLITHIC_0_USE_HTML_1="#"
49947 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49948 COND_MONOLITHIC_0_USE_HTML_1=""
49949 fi
49950
49951 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49952 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49953 COND_MONOLITHIC_0_USE_MEDIA_1=""
49954 fi
49955
49956 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49957 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49958 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49959 fi
49960
49961 COND_MONOLITHIC_0_USE_QA_1="#"
49962 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49963 COND_MONOLITHIC_0_USE_QA_1=""
49964 fi
49965
49966 COND_MONOLITHIC_0_USE_RIBBON_1="#"
49967 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
49968 COND_MONOLITHIC_0_USE_RIBBON_1=""
49969 fi
49970
49971 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49972 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49973 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49974 fi
49975
49976 COND_MONOLITHIC_0_USE_STC_1="#"
49977 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49978 COND_MONOLITHIC_0_USE_STC_1=""
49979 fi
49980
49981 COND_MONOLITHIC_0_USE_XRC_1="#"
49982 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49983 COND_MONOLITHIC_0_USE_XRC_1=""
49984 fi
49985
49986 COND_MONOLITHIC_1="#"
49987 if test "x$MONOLITHIC" = "x1" ; then
49988 COND_MONOLITHIC_1=""
49989 fi
49990
49991 COND_MONOLITHIC_1_SHARED_0="#"
49992 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49993 COND_MONOLITHIC_1_SHARED_0=""
49994 fi
49995
49996 COND_MONOLITHIC_1_SHARED_1="#"
49997 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49998 COND_MONOLITHIC_1_SHARED_1=""
49999 fi
50000
50001 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50002 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50003 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50004 fi
50005
50006 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50007 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50008 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50009 fi
50010
50011 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50012 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50013 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50014 fi
50015
50016 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50017 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50018 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50019 fi
50020
50021 COND_PLATFORM_MACOSX_1="#"
50022 if test "x$PLATFORM_MACOSX" = "x1" ; then
50023 COND_PLATFORM_MACOSX_1=""
50024 fi
50025
50026 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50027 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50028 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50029 fi
50030
50031 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50032 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50033 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50034 fi
50035
50036 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50037 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50038 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50039 fi
50040
50041 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50042 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50043 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50044 fi
50045
50046 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50047 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50048 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50049 fi
50050
50051 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50052 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50053 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50054 fi
50055
50056 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50057 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50058 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50059 fi
50060
50061 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50062 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50063 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50064 fi
50065
50066 COND_PLATFORM_MACOS_1="#"
50067 if test "x$PLATFORM_MACOS" = "x1" ; then
50068 COND_PLATFORM_MACOS_1=""
50069 fi
50070
50071 COND_PLATFORM_MAC_0="#"
50072 if test "x$PLATFORM_MAC" = "x0" ; then
50073 COND_PLATFORM_MAC_0=""
50074 fi
50075
50076 COND_PLATFORM_MAC_1="#"
50077 if test "x$PLATFORM_MAC" = "x1" ; then
50078 COND_PLATFORM_MAC_1=""
50079 fi
50080
50081 COND_PLATFORM_MSDOS_0="#"
50082 if test "x$PLATFORM_MSDOS" = "x0" ; then
50083 COND_PLATFORM_MSDOS_0=""
50084 fi
50085
50086 COND_PLATFORM_MSDOS_1="#"
50087 if test "x$PLATFORM_MSDOS" = "x1" ; then
50088 COND_PLATFORM_MSDOS_1=""
50089 fi
50090
50091 COND_PLATFORM_OS2_1="#"
50092 if test "x$PLATFORM_OS2" = "x1" ; then
50093 COND_PLATFORM_OS2_1=""
50094 fi
50095
50096 COND_PLATFORM_UNIX_0="#"
50097 if test "x$PLATFORM_UNIX" = "x0" ; then
50098 COND_PLATFORM_UNIX_0=""
50099 fi
50100
50101 COND_PLATFORM_UNIX_1="#"
50102 if test "x$PLATFORM_UNIX" = "x1" ; then
50103 COND_PLATFORM_UNIX_1=""
50104 fi
50105
50106 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50107 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50108 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50109 fi
50110
50111 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50112 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50113 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50114 fi
50115
50116 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50117 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50118 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50119 fi
50120
50121 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50122 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50123 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50124 fi
50125
50126 COND_PLATFORM_WIN32_0="#"
50127 if test "x$PLATFORM_WIN32" = "x0" ; then
50128 COND_PLATFORM_WIN32_0=""
50129 fi
50130
50131 COND_PLATFORM_WIN32_1="#"
50132 if test "x$PLATFORM_WIN32" = "x1" ; then
50133 COND_PLATFORM_WIN32_1=""
50134 fi
50135
50136 COND_SHARED_0="#"
50137 if test "x$SHARED" = "x0" ; then
50138 COND_SHARED_0=""
50139 fi
50140
50141 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50142 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50143 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50144 fi
50145
50146 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50147 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50148 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50149 fi
50150
50151 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50152 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50153 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50154 fi
50155
50156 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50157 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50158 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50159 fi
50160
50161 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50162 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50163 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50164 fi
50165
50166 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50167 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50168 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50169 fi
50170
50171 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50172 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50173 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50174 fi
50175
50176 COND_SHARED_0_USE_STC_1="#"
50177 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50178 COND_SHARED_0_USE_STC_1=""
50179 fi
50180
50181 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50182 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50183 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50184 fi
50185
50186 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50187 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50188 COND_SHARED_0_wxUSE_REGEX_builtin=""
50189 fi
50190
50191 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50192 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50193 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50194 fi
50195
50196 COND_SHARED_1="#"
50197 if test "x$SHARED" = "x1" ; then
50198 COND_SHARED_1=""
50199 fi
50200
50201 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50202 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50203 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50204 fi
50205
50206 COND_TOOLKIT_="#"
50207 if test "x$TOOLKIT" = "x" ; then
50208 COND_TOOLKIT_=""
50209 fi
50210
50211 COND_TOOLKIT_COCOA="#"
50212 if test "x$TOOLKIT" = "xCOCOA" ; then
50213 COND_TOOLKIT_COCOA=""
50214 fi
50215
50216 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50217 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50218 COND_TOOLKIT_COCOA_USE_GUI_1=""
50219 fi
50220
50221 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50222 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50223 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50224 fi
50225
50226 COND_TOOLKIT_DFB="#"
50227 if test "x$TOOLKIT" = "xDFB" ; then
50228 COND_TOOLKIT_DFB=""
50229 fi
50230
50231 COND_TOOLKIT_DFB_USE_GUI_1="#"
50232 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50233 COND_TOOLKIT_DFB_USE_GUI_1=""
50234 fi
50235
50236 COND_TOOLKIT_GTK="#"
50237 if test "x$TOOLKIT" = "xGTK" ; then
50238 COND_TOOLKIT_GTK=""
50239 fi
50240
50241 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50242 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50243 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50244 fi
50245
50246 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50247 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50248 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50249 fi
50250
50251 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50252 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50253 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50254 fi
50255
50256 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50257 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50258 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50259 fi
50260
50261 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50262 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50263 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50264 fi
50265
50266 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50267 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50268 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50269 fi
50270
50271 COND_TOOLKIT_GTK_USE_GUI_1="#"
50272 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50273 COND_TOOLKIT_GTK_USE_GUI_1=""
50274 fi
50275
50276 COND_TOOLKIT_MAC="#"
50277 if test "x$TOOLKIT" = "xMAC" ; then
50278 COND_TOOLKIT_MAC=""
50279 fi
50280
50281 COND_TOOLKIT_MGL="#"
50282 if test "x$TOOLKIT" = "xMGL" ; then
50283 COND_TOOLKIT_MGL=""
50284 fi
50285
50286 COND_TOOLKIT_MGL_USE_GUI_1="#"
50287 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50288 COND_TOOLKIT_MGL_USE_GUI_1=""
50289 fi
50290
50291 COND_TOOLKIT_MOTIF="#"
50292 if test "x$TOOLKIT" = "xMOTIF" ; then
50293 COND_TOOLKIT_MOTIF=""
50294 fi
50295
50296 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50297 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50298 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50299 fi
50300
50301 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50302 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50303 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50304 fi
50305
50306 COND_TOOLKIT_MSW="#"
50307 if test "x$TOOLKIT" = "xMSW" ; then
50308 COND_TOOLKIT_MSW=""
50309 fi
50310
50311 COND_TOOLKIT_MSW_USE_GUI_1="#"
50312 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50313 COND_TOOLKIT_MSW_USE_GUI_1=""
50314 fi
50315
50316 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50317 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50318 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50319 fi
50320
50321 COND_TOOLKIT_MSW_WXUNIV_0="#"
50322 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50323 COND_TOOLKIT_MSW_WXUNIV_0=""
50324 fi
50325
50326 COND_TOOLKIT_OSX_CARBON="#"
50327 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50328 COND_TOOLKIT_OSX_CARBON=""
50329 fi
50330
50331 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50332 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50333 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50334 fi
50335
50336 COND_TOOLKIT_OSX_COCOA="#"
50337 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50338 COND_TOOLKIT_OSX_COCOA=""
50339 fi
50340
50341 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50342 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50343 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50344 fi
50345
50346 COND_TOOLKIT_OSX_IPHONE="#"
50347 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50348 COND_TOOLKIT_OSX_IPHONE=""
50349 fi
50350
50351 COND_TOOLKIT_PM="#"
50352 if test "x$TOOLKIT" = "xPM" ; then
50353 COND_TOOLKIT_PM=""
50354 fi
50355
50356 COND_TOOLKIT_PM_USE_GUI_1="#"
50357 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50358 COND_TOOLKIT_PM_USE_GUI_1=""
50359 fi
50360
50361 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50362 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50363 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50364 fi
50365
50366 COND_TOOLKIT_WINCE="#"
50367 if test "x$TOOLKIT" = "xWINCE" ; then
50368 COND_TOOLKIT_WINCE=""
50369 fi
50370
50371 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50372 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50373 COND_TOOLKIT_WINCE_USE_GUI_1=""
50374 fi
50375
50376 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50377 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50378 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50379 fi
50380
50381 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50382 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50383 COND_TOOLKIT_WINCE_WXUNIV_0=""
50384 fi
50385
50386 COND_TOOLKIT_X11="#"
50387 if test "x$TOOLKIT" = "xX11" ; then
50388 COND_TOOLKIT_X11=""
50389 fi
50390
50391 COND_TOOLKIT_X11_USE_GUI_1="#"
50392 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50393 COND_TOOLKIT_X11_USE_GUI_1=""
50394 fi
50395
50396 COND_UNICODE_1="#"
50397 if test "x$UNICODE" = "x1" ; then
50398 COND_UNICODE_1=""
50399 fi
50400
50401 COND_USE_EXCEPTIONS_0="#"
50402 if test "x$USE_EXCEPTIONS" = "x0" ; then
50403 COND_USE_EXCEPTIONS_0=""
50404 fi
50405
50406 COND_USE_EXCEPTIONS_1="#"
50407 if test "x$USE_EXCEPTIONS" = "x1" ; then
50408 COND_USE_EXCEPTIONS_1=""
50409 fi
50410
50411 COND_USE_GUI_0="#"
50412 if test "x$USE_GUI" = "x0" ; then
50413 COND_USE_GUI_0=""
50414 fi
50415
50416 COND_USE_GUI_1="#"
50417 if test "x$USE_GUI" = "x1" ; then
50418 COND_USE_GUI_1=""
50419 fi
50420
50421 COND_USE_GUI_1_USE_OPENGL_1="#"
50422 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50423 COND_USE_GUI_1_USE_OPENGL_1=""
50424 fi
50425
50426 COND_USE_GUI_1_WXUNIV_0="#"
50427 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50428 COND_USE_GUI_1_WXUNIV_0=""
50429 fi
50430
50431 COND_USE_GUI_1_WXUNIV_1="#"
50432 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50433 COND_USE_GUI_1_WXUNIV_1=""
50434 fi
50435
50436 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50437 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50438 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50439 fi
50440
50441 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50442 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50443 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50444 fi
50445
50446 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50447 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50448 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50449 fi
50450
50451 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50452 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50453 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50454 fi
50455
50456 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50457 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50458 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50459 fi
50460
50461 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50462 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50463 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50464 fi
50465
50466 COND_USE_OPENGL_1="#"
50467 if test "x$USE_OPENGL" = "x1" ; then
50468 COND_USE_OPENGL_1=""
50469 fi
50470
50471 COND_USE_PCH_1="#"
50472 if test "x$USE_PCH" = "x1" ; then
50473 COND_USE_PCH_1=""
50474 fi
50475
50476 COND_USE_PLUGINS_0="#"
50477 if test "x$USE_PLUGINS" = "x0" ; then
50478 COND_USE_PLUGINS_0=""
50479 fi
50480
50481 COND_USE_RTTI_0="#"
50482 if test "x$USE_RTTI" = "x0" ; then
50483 COND_USE_RTTI_0=""
50484 fi
50485
50486 COND_USE_RTTI_1="#"
50487 if test "x$USE_RTTI" = "x1" ; then
50488 COND_USE_RTTI_1=""
50489 fi
50490
50491 COND_USE_SOSYMLINKS_1="#"
50492 if test "x$USE_SOSYMLINKS" = "x1" ; then
50493 COND_USE_SOSYMLINKS_1=""
50494 fi
50495
50496 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50497 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50498 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50499 fi
50500
50501 COND_USE_SOVERLINUX_1="#"
50502 if test "x$USE_SOVERLINUX" = "x1" ; then
50503 COND_USE_SOVERLINUX_1=""
50504 fi
50505
50506 COND_USE_SOVERSION_0="#"
50507 if test "x$USE_SOVERSION" = "x0" ; then
50508 COND_USE_SOVERSION_0=""
50509 fi
50510
50511 COND_USE_SOVERSOLARIS_1="#"
50512 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50513 COND_USE_SOVERSOLARIS_1=""
50514 fi
50515
50516 COND_USE_STC_1="#"
50517 if test "x$USE_STC" = "x1" ; then
50518 COND_USE_STC_1=""
50519 fi
50520
50521 COND_USE_THREADS_0="#"
50522 if test "x$USE_THREADS" = "x0" ; then
50523 COND_USE_THREADS_0=""
50524 fi
50525
50526 COND_USE_THREADS_1="#"
50527 if test "x$USE_THREADS" = "x1" ; then
50528 COND_USE_THREADS_1=""
50529 fi
50530
50531 COND_USE_XRC_1="#"
50532 if test "x$USE_XRC" = "x1" ; then
50533 COND_USE_XRC_1=""
50534 fi
50535
50536 COND_WINDOWS_IMPLIB_1="#"
50537 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50538 COND_WINDOWS_IMPLIB_1=""
50539 fi
50540
50541 COND_WITH_PLUGIN_SDL_1="#"
50542 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50543 COND_WITH_PLUGIN_SDL_1=""
50544 fi
50545
50546 COND_WXUNIV_0="#"
50547 if test "x$WXUNIV" = "x0" ; then
50548 COND_WXUNIV_0=""
50549 fi
50550
50551 COND_WXUNIV_1="#"
50552 if test "x$WXUNIV" = "x1" ; then
50553 COND_WXUNIV_1=""
50554 fi
50555
50556 COND_WXUSE_EXPAT_BUILTIN="#"
50557 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50558 COND_WXUSE_EXPAT_BUILTIN=""
50559 fi
50560
50561 COND_WXUSE_LIBJPEG_BUILTIN="#"
50562 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50563 COND_WXUSE_LIBJPEG_BUILTIN=""
50564 fi
50565
50566 COND_WXUSE_LIBPNG_BUILTIN="#"
50567 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50568 COND_WXUSE_LIBPNG_BUILTIN=""
50569 fi
50570
50571 COND_WXUSE_LIBTIFF_BUILTIN="#"
50572 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50573 COND_WXUSE_LIBTIFF_BUILTIN=""
50574 fi
50575
50576 COND_WXUSE_REGEX_BUILTIN="#"
50577 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50578 COND_WXUSE_REGEX_BUILTIN=""
50579 fi
50580
50581 COND_WXUSE_ZLIB_BUILTIN="#"
50582 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50583 COND_WXUSE_ZLIB_BUILTIN=""
50584 fi
50585
50586 COND_wxUSE_EXPAT_builtin="#"
50587 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50588 COND_wxUSE_EXPAT_builtin=""
50589 fi
50590
50591 COND_wxUSE_LIBJPEG_builtin="#"
50592 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50593 COND_wxUSE_LIBJPEG_builtin=""
50594 fi
50595
50596 COND_wxUSE_LIBPNG_builtin="#"
50597 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50598 COND_wxUSE_LIBPNG_builtin=""
50599 fi
50600
50601 COND_wxUSE_LIBTIFF_builtin="#"
50602 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50603 COND_wxUSE_LIBTIFF_builtin=""
50604 fi
50605
50606 COND_wxUSE_REGEX_builtin="#"
50607 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50608 COND_wxUSE_REGEX_builtin=""
50609 fi
50610
50611 COND_wxUSE_ZLIB_builtin="#"
50612 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50613 COND_wxUSE_ZLIB_builtin=""
50614 fi
50615
50616
50617
50618 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50619 { { 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
50620 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;}
50621 { (exit 1); exit 1; }; }
50622 fi
50623
50624 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50625 { { 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
50626 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;}
50627 { (exit 1); exit 1; }; }
50628 fi
50629
50630
50631 case ${INSTALL} in
50632 /* ) # Absolute
50633 ;;
50634 ?:* ) # Drive letter, considered as absolute.
50635 ;;
50636 *)
50637 INSTALL=`pwd`/${INSTALL} ;;
50638 esac
50639
50640 if test "$wxUSE_GUI" = "yes"; then
50641
50642 if test "$wxUSE_MSW" = 1 ; then
50643 if test "x$WINDRES" = "x"; then
50644 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50645 echo "$as_me: error: Required windres program not found" >&2;}
50646 { (exit 1); exit 1; }; }
50647 fi
50648
50649 RESCOMP="$WINDRES"
50650 fi
50651
50652 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50653 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50654 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50655
50656 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50657
50658 # Extract the first word of "DeRez", so it can be a program name with args.
50659 set dummy DeRez; ac_word=$2
50660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50662 if test "${ac_cv_prog_DEREZ+set}" = set; then
50663 echo $ECHO_N "(cached) $ECHO_C" >&6
50664 else
50665 if test -n "$DEREZ"; then
50666 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50667 else
50668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50669 for as_dir in $PATH
50670 do
50671 IFS=$as_save_IFS
50672 test -z "$as_dir" && as_dir=.
50673 for ac_exec_ext in '' $ac_executable_extensions; do
50674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50675 ac_cv_prog_DEREZ="DeRez"
50676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50677 break 2
50678 fi
50679 done
50680 done
50681 IFS=$as_save_IFS
50682
50683 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50684 fi
50685 fi
50686 DEREZ=$ac_cv_prog_DEREZ
50687 if test -n "$DEREZ"; then
50688 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50689 echo "${ECHO_T}$DEREZ" >&6; }
50690 else
50691 { echo "$as_me:$LINENO: result: no" >&5
50692 echo "${ECHO_T}no" >&6; }
50693 fi
50694
50695
50696
50697 MACSETFILE="\$(SETFILE)"
50698
50699 if test "$wxUSE_OSX_CARBON" = 1; then
50700 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50701 RESCOMP="$REZ"
50702 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50703 else
50704 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50705 RESCOMP="cat /dev/null \| $REZ"
50706 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50707 fi
50708
50709 else
50710 MACSETFILE="@true"
50711
50712 if test "$wxUSE_PM" = 1; then
50713 RESCOMP="emxbind"
50714 WXCONFIG_RESFLAGS="-ep"
50715
50716 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50717 else
50718 POSTLINK_COMMAND="@true"
50719 fi
50720 fi
50721
50722 fi
50723
50724
50725 if test $GCC_PCH = 1
50726 then
50727 if test "$wx_cv_gcc_pch_bug" = yes; then
50728 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50729 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50730 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50731 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50732 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50733 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50734 fi
50735
50736 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50737 # the headers that benefit from precompilation are mostly C++ headers.
50738 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50739 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50740 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50741 fi
50742
50743
50744 if test "$wxUSE_MAC" = 1 ; then
50745 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50746 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50747 mv temp bk-deps
50748 chmod +x bk-deps
50749 fi
50750 fi
50751
50752 if test "$wxUSE_SHARED" = "yes"; then
50753 case "${host}" in
50754 *-pc-os2_emx | *-pc-os2-emx )
50755 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50756 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50757 cp -p ${srcdir}/src/os2/dllnames.sh .
50758 cp -p ${srcdir}/src/os2/dllar.sh .
50759 ;;
50760 esac
50761 fi
50762 if test "$wxUSE_OMF" = "yes"; then
50763 case "${host}" in
50764 *-pc-os2_emx | *-pc-os2-emx )
50765 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50766 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50767 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50768 ;;
50769 esac
50770 fi
50771
50772 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50773
50774
50775 case "${host}" in
50776 *-*-solaris2* )
50777 if test "$GCC" = yes; then
50778 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50779 LIBS=`echo $LIBS | sed 's/-mt//'`
50780 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50781 fi
50782 ;;
50783
50784 *-*-linux* )
50785 if test "x$SUNCXX" = xyes; then
50786 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50787 LIBS=`echo $LIBS | sed 's/-pthread//'`
50788 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50789 fi
50790 ;;
50791 esac
50792
50793 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50794 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50795 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50796 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50797
50798 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50799
50800
50801
50802
50803
50804
50805
50806
50807
50808
50809
50810
50811
50812
50813
50814
50815
50816
50817
50818
50819
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 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50859 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50860 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50861 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50862 echo $ECHO_N "(cached) $ECHO_C" >&6
50863 else
50864 cat >conftest.make <<\_ACEOF
50865 SHELL = /bin/sh
50866 all:
50867 @echo '@@@%%%=$(MAKE)=@@@%%%'
50868 _ACEOF
50869 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50870 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50871 *@@@%%%=?*=@@@%%%*)
50872 eval ac_cv_prog_make_${ac_make}_set=yes;;
50873 *)
50874 eval ac_cv_prog_make_${ac_make}_set=no;;
50875 esac
50876 rm -f conftest.make
50877 fi
50878 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50879 { echo "$as_me:$LINENO: result: yes" >&5
50880 echo "${ECHO_T}yes" >&6; }
50881 SET_MAKE=
50882 else
50883 { echo "$as_me:$LINENO: result: no" >&5
50884 echo "${ECHO_T}no" >&6; }
50885 SET_MAKE="MAKE=${MAKE-make}"
50886 fi
50887
50888
50889
50890 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50891
50892
50893 if test "$USE_WIN32" = 1; then
50894 ac_config_commands="$ac_config_commands rcdefs.h"
50895
50896 fi
50897
50898 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50899
50900
50901 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50902
50903
50904 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50905
50906
50907 if test "$wx_cv_version_script" = "yes"; then
50908 ac_config_files="$ac_config_files version-script"
50909
50910 fi
50911 ac_config_files="$ac_config_files Makefile"
50912
50913
50914 ac_config_commands="$ac_config_commands wx-config"
50915
50916
50917
50918 if test "$wxWITH_SUBDIRS" != "no"; then
50919 if test "$wxUSE_GUI" = "yes"; then
50920 SUBDIRS="samples demos utils"
50921 else
50922 SUBDIRS="samples utils"
50923 fi
50924
50925
50926
50927 # Check whether --with-cppunit-prefix was given.
50928 if test "${with_cppunit_prefix+set}" = set; then
50929 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50930 else
50931 cppunit_config_prefix=""
50932 fi
50933
50934
50935 # Check whether --with-cppunit-exec-prefix was given.
50936 if test "${with_cppunit_exec_prefix+set}" = set; then
50937 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50938 else
50939 cppunit_config_exec_prefix=""
50940 fi
50941
50942
50943 if test x$cppunit_config_exec_prefix != x ; then
50944 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50945 if test x${CPPUNIT_CONFIG+set} != xset ; then
50946 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50947 fi
50948 fi
50949 if test x$cppunit_config_prefix != x ; then
50950 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50951 if test x${CPPUNIT_CONFIG+set} != xset ; then
50952 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50953 fi
50954 fi
50955
50956 # Extract the first word of "cppunit-config", so it can be a program name with args.
50957 set dummy cppunit-config; ac_word=$2
50958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50960 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50961 echo $ECHO_N "(cached) $ECHO_C" >&6
50962 else
50963 case $CPPUNIT_CONFIG in
50964 [\\/]* | ?:[\\/]*)
50965 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50966 ;;
50967 *)
50968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50969 for as_dir in $PATH
50970 do
50971 IFS=$as_save_IFS
50972 test -z "$as_dir" && as_dir=.
50973 for ac_exec_ext in '' $ac_executable_extensions; do
50974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50975 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50977 break 2
50978 fi
50979 done
50980 done
50981 IFS=$as_save_IFS
50982
50983 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50984 ;;
50985 esac
50986 fi
50987 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50988 if test -n "$CPPUNIT_CONFIG"; then
50989 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50990 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50991 else
50992 { echo "$as_me:$LINENO: result: no" >&5
50993 echo "${ECHO_T}no" >&6; }
50994 fi
50995
50996
50997 cppunit_version_min=1.8.0
50998
50999 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51000 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51001 no_cppunit=""
51002 if test "$CPPUNIT_CONFIG" = "no" ; then
51003 { echo "$as_me:$LINENO: result: no" >&5
51004 echo "${ECHO_T}no" >&6; }
51005 no_cppunit=yes
51006 else
51007 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51008 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51009 cppunit_version=`$CPPUNIT_CONFIG --version`
51010
51011 cppunit_major_version=`echo $cppunit_version | \
51012 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51013 cppunit_minor_version=`echo $cppunit_version | \
51014 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51015 cppunit_micro_version=`echo $cppunit_version | \
51016 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51017
51018 cppunit_major_min=`echo $cppunit_version_min | \
51019 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51020 cppunit_minor_min=`echo $cppunit_version_min | \
51021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51022 cppunit_micro_min=`echo $cppunit_version_min | \
51023 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51024
51025 cppunit_version_proper=`expr \
51026 $cppunit_major_version \> $cppunit_major_min \| \
51027 $cppunit_major_version \= $cppunit_major_min \& \
51028 $cppunit_minor_version \> $cppunit_minor_min \| \
51029 $cppunit_major_version \= $cppunit_major_min \& \
51030 $cppunit_minor_version \= $cppunit_minor_min \& \
51031 $cppunit_micro_version \>= $cppunit_micro_min `
51032
51033 if test "$cppunit_version_proper" = "1" ; then
51034 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51035 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51036 else
51037 { echo "$as_me:$LINENO: result: no" >&5
51038 echo "${ECHO_T}no" >&6; }
51039 no_cppunit=yes
51040 fi
51041 fi
51042
51043 if test "x$no_cppunit" = x ; then
51044 SUBDIRS="$SUBDIRS tests"
51045 else
51046 CPPUNIT_CFLAGS=""
51047 CPPUNIT_LIBS=""
51048 :
51049 fi
51050
51051
51052
51053
51054
51055 for subdir in $SUBDIRS; do
51056 if test -d ${srcdir}/${subdir} ; then
51057 if test "$wxUSE_GUI" = "yes"; then
51058 if test ${subdir} = "samples"; then
51059 makefiles="samples/Makefile.in $makefiles"
51060 for sample in $SAMPLES_SUBDIRS; do
51061 if test -d $srcdir/samples/$sample; then
51062 makefiles="samples/$sample/Makefile.in $makefiles"
51063 fi
51064 done
51065 else
51066 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51067 eval "disabled=\$$disabled_var"
51068 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51069 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51070 fi
51071 else
51072 if test ${subdir} = "samples"; then
51073 makefiles="samples/Makefile.in $makefiles"
51074 for sample in `echo $SAMPLES_SUBDIRS`; do
51075 if test -d $srcdir/samples/$sample; then
51076 makefiles="samples/$sample/Makefile.in $makefiles"
51077 fi
51078 done
51079 elif test ${subdir} = "utils"; then
51080 makefiles=""
51081 for util in ifacecheck ; do
51082 if test -d $srcdir/utils/$util ; then
51083 makefiles="utils/$util/src/Makefile.in \
51084 $makefiles"
51085 fi
51086 done
51087 else
51088 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51089 fi
51090 fi
51091
51092 for mkin in $makefiles ; do
51093 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51094 ac_config_files="$ac_config_files $mk"
51095
51096 done
51097 fi
51098 done
51099 fi
51100 cat >confcache <<\_ACEOF
51101 # This file is a shell script that caches the results of configure
51102 # tests run on this system so they can be shared between configure
51103 # scripts and configure runs, see configure's option --config-cache.
51104 # It is not useful on other systems. If it contains results you don't
51105 # want to keep, you may remove or edit it.
51106 #
51107 # config.status only pays attention to the cache file if you give it
51108 # the --recheck option to rerun configure.
51109 #
51110 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51111 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51112 # following values.
51113
51114 _ACEOF
51115
51116 # The following way of writing the cache mishandles newlines in values,
51117 # but we know of no workaround that is simple, portable, and efficient.
51118 # So, we kill variables containing newlines.
51119 # Ultrix sh set writes to stderr and can't be redirected directly,
51120 # and sets the high bit in the cache file unless we assign to the vars.
51121 (
51122 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51123 eval ac_val=\$$ac_var
51124 case $ac_val in #(
51125 *${as_nl}*)
51126 case $ac_var in #(
51127 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51128 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51129 esac
51130 case $ac_var in #(
51131 _ | IFS | as_nl) ;; #(
51132 *) $as_unset $ac_var ;;
51133 esac ;;
51134 esac
51135 done
51136
51137 (set) 2>&1 |
51138 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51139 *${as_nl}ac_space=\ *)
51140 # `set' does not quote correctly, so add quotes (double-quote
51141 # substitution turns \\\\ into \\, and sed turns \\ into \).
51142 sed -n \
51143 "s/'/'\\\\''/g;
51144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51145 ;; #(
51146 *)
51147 # `set' quotes correctly as required by POSIX, so do not add quotes.
51148 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51149 ;;
51150 esac |
51151 sort
51152 ) |
51153 sed '
51154 /^ac_cv_env_/b end
51155 t clear
51156 :clear
51157 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51158 t end
51159 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51160 :end' >>confcache
51161 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51162 if test -w "$cache_file"; then
51163 test "x$cache_file" != "x/dev/null" &&
51164 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51165 echo "$as_me: updating cache $cache_file" >&6;}
51166 cat confcache >$cache_file
51167 else
51168 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51169 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51170 fi
51171 fi
51172 rm -f confcache
51173
51174 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51175 # Let make expand exec_prefix.
51176 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51177
51178 DEFS=-DHAVE_CONFIG_H
51179
51180 ac_libobjs=
51181 ac_ltlibobjs=
51182 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51183 # 1. Remove the extension, and $U if already installed.
51184 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51185 ac_i=`echo "$ac_i" | sed "$ac_script"`
51186 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51187 # will be set to the directory where LIBOBJS objects are built.
51188 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51189 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51190 done
51191 LIBOBJS=$ac_libobjs
51192
51193 LTLIBOBJS=$ac_ltlibobjs
51194
51195
51196
51197 : ${CONFIG_STATUS=./config.status}
51198 ac_clean_files_save=$ac_clean_files
51199 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51200 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51201 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51202 cat >$CONFIG_STATUS <<_ACEOF
51203 #! $SHELL
51204 # Generated by $as_me.
51205 # Run this file to recreate the current configuration.
51206 # Compiler output produced by configure, useful for debugging
51207 # configure, is in config.log if it exists.
51208
51209 debug=false
51210 ac_cs_recheck=false
51211 ac_cs_silent=false
51212 SHELL=\${CONFIG_SHELL-$SHELL}
51213 _ACEOF
51214
51215 cat >>$CONFIG_STATUS <<\_ACEOF
51216 ## --------------------- ##
51217 ## M4sh Initialization. ##
51218 ## --------------------- ##
51219
51220 # Be more Bourne compatible
51221 DUALCASE=1; export DUALCASE # for MKS sh
51222 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51223 emulate sh
51224 NULLCMD=:
51225 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51226 # is contrary to our usage. Disable this feature.
51227 alias -g '${1+"$@"}'='"$@"'
51228 setopt NO_GLOB_SUBST
51229 else
51230 case `(set -o) 2>/dev/null` in
51231 *posix*) set -o posix ;;
51232 esac
51233
51234 fi
51235
51236
51237
51238
51239 # PATH needs CR
51240 # Avoid depending upon Character Ranges.
51241 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51242 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51243 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51244 as_cr_digits='0123456789'
51245 as_cr_alnum=$as_cr_Letters$as_cr_digits
51246
51247 # The user is always right.
51248 if test "${PATH_SEPARATOR+set}" != set; then
51249 echo "#! /bin/sh" >conf$$.sh
51250 echo "exit 0" >>conf$$.sh
51251 chmod +x conf$$.sh
51252 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51253 PATH_SEPARATOR=';'
51254 else
51255 PATH_SEPARATOR=:
51256 fi
51257 rm -f conf$$.sh
51258 fi
51259
51260 # Support unset when possible.
51261 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51262 as_unset=unset
51263 else
51264 as_unset=false
51265 fi
51266
51267
51268 # IFS
51269 # We need space, tab and new line, in precisely that order. Quoting is
51270 # there to prevent editors from complaining about space-tab.
51271 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51272 # splitting by setting IFS to empty value.)
51273 as_nl='
51274 '
51275 IFS=" "" $as_nl"
51276
51277 # Find who we are. Look in the path if we contain no directory separator.
51278 case $0 in
51279 *[\\/]* ) as_myself=$0 ;;
51280 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51281 for as_dir in $PATH
51282 do
51283 IFS=$as_save_IFS
51284 test -z "$as_dir" && as_dir=.
51285 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51286 done
51287 IFS=$as_save_IFS
51288
51289 ;;
51290 esac
51291 # We did not find ourselves, most probably we were run as `sh COMMAND'
51292 # in which case we are not to be found in the path.
51293 if test "x$as_myself" = x; then
51294 as_myself=$0
51295 fi
51296 if test ! -f "$as_myself"; then
51297 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51298 { (exit 1); exit 1; }
51299 fi
51300
51301 # Work around bugs in pre-3.0 UWIN ksh.
51302 for as_var in ENV MAIL MAILPATH
51303 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51304 done
51305 PS1='$ '
51306 PS2='> '
51307 PS4='+ '
51308
51309 # NLS nuisances.
51310 for as_var in \
51311 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51312 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51313 LC_TELEPHONE LC_TIME
51314 do
51315 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51316 eval $as_var=C; export $as_var
51317 else
51318 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51319 fi
51320 done
51321
51322 # Required to use basename.
51323 if expr a : '\(a\)' >/dev/null 2>&1 &&
51324 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51325 as_expr=expr
51326 else
51327 as_expr=false
51328 fi
51329
51330 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51331 as_basename=basename
51332 else
51333 as_basename=false
51334 fi
51335
51336
51337 # Name of the executable.
51338 as_me=`$as_basename -- "$0" ||
51339 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51340 X"$0" : 'X\(//\)$' \| \
51341 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51342 echo X/"$0" |
51343 sed '/^.*\/\([^/][^/]*\)\/*$/{
51344 s//\1/
51345 q
51346 }
51347 /^X\/\(\/\/\)$/{
51348 s//\1/
51349 q
51350 }
51351 /^X\/\(\/\).*/{
51352 s//\1/
51353 q
51354 }
51355 s/.*/./; q'`
51356
51357 # CDPATH.
51358 $as_unset CDPATH
51359
51360
51361
51362 as_lineno_1=$LINENO
51363 as_lineno_2=$LINENO
51364 test "x$as_lineno_1" != "x$as_lineno_2" &&
51365 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51366
51367 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51368 # uniformly replaced by the line number. The first 'sed' inserts a
51369 # line-number line after each line using $LINENO; the second 'sed'
51370 # does the real work. The second script uses 'N' to pair each
51371 # line-number line with the line containing $LINENO, and appends
51372 # trailing '-' during substitution so that $LINENO is not a special
51373 # case at line end.
51374 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51375 # scripts with optimization help from Paolo Bonzini. Blame Lee
51376 # E. McMahon (1931-1989) for sed's syntax. :-)
51377 sed -n '
51378 p
51379 /[$]LINENO/=
51380 ' <$as_myself |
51381 sed '
51382 s/[$]LINENO.*/&-/
51383 t lineno
51384 b
51385 :lineno
51386 N
51387 :loop
51388 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51389 t loop
51390 s/-\n.*//
51391 ' >$as_me.lineno &&
51392 chmod +x "$as_me.lineno" ||
51393 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51394 { (exit 1); exit 1; }; }
51395
51396 # Don't try to exec as it changes $[0], causing all sort of problems
51397 # (the dirname of $[0] is not the place where we might find the
51398 # original and so on. Autoconf is especially sensitive to this).
51399 . "./$as_me.lineno"
51400 # Exit status is that of the last command.
51401 exit
51402 }
51403
51404
51405 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51406 as_dirname=dirname
51407 else
51408 as_dirname=false
51409 fi
51410
51411 ECHO_C= ECHO_N= ECHO_T=
51412 case `echo -n x` in
51413 -n*)
51414 case `echo 'x\c'` in
51415 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51416 *) ECHO_C='\c';;
51417 esac;;
51418 *)
51419 ECHO_N='-n';;
51420 esac
51421
51422 if expr a : '\(a\)' >/dev/null 2>&1 &&
51423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51424 as_expr=expr
51425 else
51426 as_expr=false
51427 fi
51428
51429 rm -f conf$$ conf$$.exe conf$$.file
51430 if test -d conf$$.dir; then
51431 rm -f conf$$.dir/conf$$.file
51432 else
51433 rm -f conf$$.dir
51434 mkdir conf$$.dir
51435 fi
51436 echo >conf$$.file
51437 if ln -s conf$$.file conf$$ 2>/dev/null; then
51438 as_ln_s='ln -s'
51439 # ... but there are two gotchas:
51440 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51441 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51442 # In both cases, we have to default to `cp -p'.
51443 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51444 as_ln_s='cp -p'
51445 elif ln conf$$.file conf$$ 2>/dev/null; then
51446 as_ln_s=ln
51447 else
51448 as_ln_s='cp -p'
51449 fi
51450 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51451 rmdir conf$$.dir 2>/dev/null
51452
51453 if mkdir -p . 2>/dev/null; then
51454 as_mkdir_p=:
51455 else
51456 test -d ./-p && rmdir ./-p
51457 as_mkdir_p=false
51458 fi
51459
51460 if test -x / >/dev/null 2>&1; then
51461 as_test_x='test -x'
51462 else
51463 if ls -dL / >/dev/null 2>&1; then
51464 as_ls_L_option=L
51465 else
51466 as_ls_L_option=
51467 fi
51468 as_test_x='
51469 eval sh -c '\''
51470 if test -d "$1"; then
51471 test -d "$1/.";
51472 else
51473 case $1 in
51474 -*)set "./$1";;
51475 esac;
51476 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51477 ???[sx]*):;;*)false;;esac;fi
51478 '\'' sh
51479 '
51480 fi
51481 as_executable_p=$as_test_x
51482
51483 # Sed expression to map a string onto a valid CPP name.
51484 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51485
51486 # Sed expression to map a string onto a valid variable name.
51487 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51488
51489
51490 exec 6>&1
51491
51492 # Save the log message, to keep $[0] and so on meaningful, and to
51493 # report actual input values of CONFIG_FILES etc. instead of their
51494 # values after options handling.
51495 ac_log="
51496 This file was extended by wxWidgets $as_me 2.9.1, which was
51497 generated by GNU Autoconf 2.61. Invocation command line was
51498
51499 CONFIG_FILES = $CONFIG_FILES
51500 CONFIG_HEADERS = $CONFIG_HEADERS
51501 CONFIG_LINKS = $CONFIG_LINKS
51502 CONFIG_COMMANDS = $CONFIG_COMMANDS
51503 $ $0 $@
51504
51505 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51506 "
51507
51508 _ACEOF
51509
51510 cat >>$CONFIG_STATUS <<_ACEOF
51511 # Files that config.status was made for.
51512 config_files="$ac_config_files"
51513 config_headers="$ac_config_headers"
51514 config_commands="$ac_config_commands"
51515
51516 _ACEOF
51517
51518 cat >>$CONFIG_STATUS <<\_ACEOF
51519 ac_cs_usage="\
51520 \`$as_me' instantiates files from templates according to the
51521 current configuration.
51522
51523 Usage: $0 [OPTIONS] [FILE]...
51524
51525 -h, --help print this help, then exit
51526 -V, --version print version number and configuration settings, then exit
51527 -q, --quiet do not print progress messages
51528 -d, --debug don't remove temporary files
51529 --recheck update $as_me by reconfiguring in the same conditions
51530 --file=FILE[:TEMPLATE]
51531 instantiate the configuration file FILE
51532 --header=FILE[:TEMPLATE]
51533 instantiate the configuration header FILE
51534
51535 Configuration files:
51536 $config_files
51537
51538 Configuration headers:
51539 $config_headers
51540
51541 Configuration commands:
51542 $config_commands
51543
51544 Report bugs to <bug-autoconf@gnu.org>."
51545
51546 _ACEOF
51547 cat >>$CONFIG_STATUS <<_ACEOF
51548 ac_cs_version="\\
51549 wxWidgets config.status 2.9.1
51550 configured by $0, generated by GNU Autoconf 2.61,
51551 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51552
51553 Copyright (C) 2006 Free Software Foundation, Inc.
51554 This config.status script is free software; the Free Software Foundation
51555 gives unlimited permission to copy, distribute and modify it."
51556
51557 ac_pwd='$ac_pwd'
51558 srcdir='$srcdir'
51559 INSTALL='$INSTALL'
51560 _ACEOF
51561
51562 cat >>$CONFIG_STATUS <<\_ACEOF
51563 # If no file are specified by the user, then we need to provide default
51564 # value. By we need to know if files were specified by the user.
51565 ac_need_defaults=:
51566 while test $# != 0
51567 do
51568 case $1 in
51569 --*=*)
51570 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51571 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51572 ac_shift=:
51573 ;;
51574 *)
51575 ac_option=$1
51576 ac_optarg=$2
51577 ac_shift=shift
51578 ;;
51579 esac
51580
51581 case $ac_option in
51582 # Handling of the options.
51583 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51584 ac_cs_recheck=: ;;
51585 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51586 echo "$ac_cs_version"; exit ;;
51587 --debug | --debu | --deb | --de | --d | -d )
51588 debug=: ;;
51589 --file | --fil | --fi | --f )
51590 $ac_shift
51591 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51592 ac_need_defaults=false;;
51593 --header | --heade | --head | --hea )
51594 $ac_shift
51595 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51596 ac_need_defaults=false;;
51597 --he | --h)
51598 # Conflict between --help and --header
51599 { echo "$as_me: error: ambiguous option: $1
51600 Try \`$0 --help' for more information." >&2
51601 { (exit 1); exit 1; }; };;
51602 --help | --hel | -h )
51603 echo "$ac_cs_usage"; exit ;;
51604 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51605 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51606 ac_cs_silent=: ;;
51607
51608 # This is an error.
51609 -*) { echo "$as_me: error: unrecognized option: $1
51610 Try \`$0 --help' for more information." >&2
51611 { (exit 1); exit 1; }; } ;;
51612
51613 *) ac_config_targets="$ac_config_targets $1"
51614 ac_need_defaults=false ;;
51615
51616 esac
51617 shift
51618 done
51619
51620 ac_configure_extra_args=
51621
51622 if $ac_cs_silent; then
51623 exec 6>/dev/null
51624 ac_configure_extra_args="$ac_configure_extra_args --silent"
51625 fi
51626
51627 _ACEOF
51628 cat >>$CONFIG_STATUS <<_ACEOF
51629 if \$ac_cs_recheck; then
51630 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51631 CONFIG_SHELL=$SHELL
51632 export CONFIG_SHELL
51633 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51634 fi
51635
51636 _ACEOF
51637 cat >>$CONFIG_STATUS <<\_ACEOF
51638 exec 5>>config.log
51639 {
51640 echo
51641 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51642 ## Running $as_me. ##
51643 _ASBOX
51644 echo "$ac_log"
51645 } >&5
51646
51647 _ACEOF
51648 cat >>$CONFIG_STATUS <<_ACEOF
51649 #
51650 # INIT-COMMANDS
51651 #
51652
51653 CPP="$CPP"
51654 infile="$srcdir/include/wx/msw/genrcdefs.h"
51655 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51656
51657
51658 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51659 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51660 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51661 LN_S="${LN_S}"
51662
51663
51664 _ACEOF
51665
51666 cat >>$CONFIG_STATUS <<\_ACEOF
51667
51668 # Handling of arguments.
51669 for ac_config_target in $ac_config_targets
51670 do
51671 case $ac_config_target in
51672 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51673 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51674 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51675 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51676 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51677 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51678 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51679 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51680 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51681
51682 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51683 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51684 { (exit 1); exit 1; }; };;
51685 esac
51686 done
51687
51688
51689 # If the user did not use the arguments to specify the items to instantiate,
51690 # then the envvar interface is used. Set only those that are not.
51691 # We use the long form for the default assignment because of an extremely
51692 # bizarre bug on SunOS 4.1.3.
51693 if $ac_need_defaults; then
51694 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51695 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51696 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51697 fi
51698
51699 # Have a temporary directory for convenience. Make it in the build tree
51700 # simply because there is no reason against having it here, and in addition,
51701 # creating and moving files from /tmp can sometimes cause problems.
51702 # Hook for its removal unless debugging.
51703 # Note that there is a small window in which the directory will not be cleaned:
51704 # after its creation but before its name has been assigned to `$tmp'.
51705 $debug ||
51706 {
51707 tmp=
51708 trap 'exit_status=$?
51709 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51710 ' 0
51711 trap '{ (exit 1); exit 1; }' 1 2 13 15
51712 }
51713 # Create a (secure) tmp directory for tmp files.
51714
51715 {
51716 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51717 test -n "$tmp" && test -d "$tmp"
51718 } ||
51719 {
51720 tmp=./conf$$-$RANDOM
51721 (umask 077 && mkdir "$tmp")
51722 } ||
51723 {
51724 echo "$me: cannot create a temporary directory in ." >&2
51725 { (exit 1); exit 1; }
51726 }
51727
51728 #
51729 # Set up the sed scripts for CONFIG_FILES section.
51730 #
51731
51732 # No need to generate the scripts if there are no CONFIG_FILES.
51733 # This happens for instance when ./config.status config.h
51734 if test -n "$CONFIG_FILES"; then
51735
51736 _ACEOF
51737
51738
51739
51740 ac_delim='%!_!# '
51741 for ac_last_try in false false false false false :; do
51742 cat >conf$$subs.sed <<_ACEOF
51743 SHELL!$SHELL$ac_delim
51744 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51745 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51746 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51747 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51748 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51749 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51750 exec_prefix!$exec_prefix$ac_delim
51751 prefix!$prefix$ac_delim
51752 program_transform_name!$program_transform_name$ac_delim
51753 bindir!$bindir$ac_delim
51754 sbindir!$sbindir$ac_delim
51755 libexecdir!$libexecdir$ac_delim
51756 datarootdir!$datarootdir$ac_delim
51757 datadir!$datadir$ac_delim
51758 sysconfdir!$sysconfdir$ac_delim
51759 sharedstatedir!$sharedstatedir$ac_delim
51760 localstatedir!$localstatedir$ac_delim
51761 includedir!$includedir$ac_delim
51762 oldincludedir!$oldincludedir$ac_delim
51763 docdir!$docdir$ac_delim
51764 infodir!$infodir$ac_delim
51765 htmldir!$htmldir$ac_delim
51766 dvidir!$dvidir$ac_delim
51767 pdfdir!$pdfdir$ac_delim
51768 psdir!$psdir$ac_delim
51769 libdir!$libdir$ac_delim
51770 localedir!$localedir$ac_delim
51771 mandir!$mandir$ac_delim
51772 DEFS!$DEFS$ac_delim
51773 ECHO_C!$ECHO_C$ac_delim
51774 ECHO_N!$ECHO_N$ac_delim
51775 ECHO_T!$ECHO_T$ac_delim
51776 LIBS!$LIBS$ac_delim
51777 build_alias!$build_alias$ac_delim
51778 host_alias!$host_alias$ac_delim
51779 target_alias!$target_alias$ac_delim
51780 build!$build$ac_delim
51781 build_cpu!$build_cpu$ac_delim
51782 build_vendor!$build_vendor$ac_delim
51783 build_os!$build_os$ac_delim
51784 host!$host$ac_delim
51785 host_cpu!$host_cpu$ac_delim
51786 host_vendor!$host_vendor$ac_delim
51787 host_os!$host_os$ac_delim
51788 wx_top_builddir!$wx_top_builddir$ac_delim
51789 CC!$CC$ac_delim
51790 CFLAGS!$CFLAGS$ac_delim
51791 LDFLAGS!$LDFLAGS$ac_delim
51792 CPPFLAGS!$CPPFLAGS$ac_delim
51793 ac_ct_CC!$ac_ct_CC$ac_delim
51794 EXEEXT!$EXEEXT$ac_delim
51795 OBJEXT!$OBJEXT$ac_delim
51796 CPP!$CPP$ac_delim
51797 GREP!$GREP$ac_delim
51798 EGREP!$EGREP$ac_delim
51799 CXX!$CXX$ac_delim
51800 CXXFLAGS!$CXXFLAGS$ac_delim
51801 ac_ct_CXX!$ac_ct_CXX$ac_delim
51802 AR!$AR$ac_delim
51803 subdirs!$subdirs$ac_delim
51804 PKG_CONFIG!$PKG_CONFIG$ac_delim
51805 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51806 GTK_LIBS!$GTK_LIBS$ac_delim
51807 GTK_CONFIG!$GTK_CONFIG$ac_delim
51808 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51809 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51810 XMKMF!$XMKMF$ac_delim
51811 X_CFLAGS!$X_CFLAGS$ac_delim
51812 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51813 X_LIBS!$X_LIBS$ac_delim
51814 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51815 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51816 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51817 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51818 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51819 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51820 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51821 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51822 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51823 LIBICONV!$LIBICONV$ac_delim
51824 GXX_VERSION!$GXX_VERSION$ac_delim
51825 SDL_CONFIG!$SDL_CONFIG$ac_delim
51826 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51827 SDL_LIBS!$SDL_LIBS$ac_delim
51828 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51829 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51830 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51831 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51832 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51833 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51834 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51835 HILDON_LIBS!$HILDON_LIBS$ac_delim
51836 PYTHON!$PYTHON$ac_delim
51837 COND_PYTHON!$COND_PYTHON$ac_delim
51838 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51839 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51840 _ACEOF
51841
51842 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51843 break
51844 elif $ac_last_try; then
51845 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51846 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51847 { (exit 1); exit 1; }; }
51848 else
51849 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51850 fi
51851 done
51852
51853 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51854 if test -n "$ac_eof"; then
51855 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51856 ac_eof=`expr $ac_eof + 1`
51857 fi
51858
51859 cat >>$CONFIG_STATUS <<_ACEOF
51860 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51862 _ACEOF
51863 sed '
51864 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51865 s/^/s,@/; s/!/@,|#_!!_#|/
51866 :n
51867 t n
51868 s/'"$ac_delim"'$/,g/; t
51869 s/$/\\/; p
51870 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51871 ' >>$CONFIG_STATUS <conf$$subs.sed
51872 rm -f conf$$subs.sed
51873 cat >>$CONFIG_STATUS <<_ACEOF
51874 CEOF$ac_eof
51875 _ACEOF
51876
51877
51878 ac_delim='%!_!# '
51879 for ac_last_try in false false false false false :; do
51880 cat >conf$$subs.sed <<_ACEOF
51881 GST_CFLAGS!$GST_CFLAGS$ac_delim
51882 GST_LIBS!$GST_LIBS$ac_delim
51883 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51884 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51885 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51886 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51887 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51888 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51889 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51890 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51891 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51892 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51893 VENDOR!$VENDOR$ac_delim
51894 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51895 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51896 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51897 WXUNIV!$WXUNIV$ac_delim
51898 MONOLITHIC!$MONOLITHIC$ac_delim
51899 USE_PLUGINS!$USE_PLUGINS$ac_delim
51900 CXXWARNINGS!$CXXWARNINGS$ac_delim
51901 EXTRALIBS!$EXTRALIBS$ac_delim
51902 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51903 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51904 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51905 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51906 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51907 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51908 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51909 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51910 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51911 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51912 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51913 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51914 UNICODE!$UNICODE$ac_delim
51915 DEBUG_INFO!$DEBUG_INFO$ac_delim
51916 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51917 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51918 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51919 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51920 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51921 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51922 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51923 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51924 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51925 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51926 RANLIB!$RANLIB$ac_delim
51927 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51928 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51929 INSTALL_DATA!$INSTALL_DATA$ac_delim
51930 LN_S!$LN_S$ac_delim
51931 SET_MAKE!$SET_MAKE$ac_delim
51932 MAKE_SET!$MAKE_SET$ac_delim
51933 AROPTIONS!$AROPTIONS$ac_delim
51934 STRIP!$STRIP$ac_delim
51935 NM!$NM$ac_delim
51936 INSTALL_DIR!$INSTALL_DIR$ac_delim
51937 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51938 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51939 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51940 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51941 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51942 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51943 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51944 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51945 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51946 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51947 SO_SUFFIX!$SO_SUFFIX$ac_delim
51948 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51949 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51950 LIBPREFIX!$LIBPREFIX$ac_delim
51951 LIBEXT!$LIBEXT$ac_delim
51952 DLLPREFIX!$DLLPREFIX$ac_delim
51953 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51954 dlldir!$dlldir$ac_delim
51955 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51956 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51957 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51958 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51959 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51960 PIC_FLAG!$PIC_FLAG$ac_delim
51961 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51962 USE_SOVERSION!$USE_SOVERSION$ac_delim
51963 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51964 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51965 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51966 USE_MACVERSION!$USE_MACVERSION$ac_delim
51967 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51968 SONAME_FLAG!$SONAME_FLAG$ac_delim
51969 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51970 BK_DEPS!$BK_DEPS$ac_delim
51971 WINDRES!$WINDRES$ac_delim
51972 REZ!$REZ$ac_delim
51973 SETFILE!$SETFILE$ac_delim
51974 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51975 GCC_PCH!$GCC_PCH$ac_delim
51976 ICC_PCH!$ICC_PCH$ac_delim
51977 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51978 _ACEOF
51979
51980 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51981 break
51982 elif $ac_last_try; then
51983 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51984 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51985 { (exit 1); exit 1; }; }
51986 else
51987 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51988 fi
51989 done
51990
51991 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51992 if test -n "$ac_eof"; then
51993 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51994 ac_eof=`expr $ac_eof + 1`
51995 fi
51996
51997 cat >>$CONFIG_STATUS <<_ACEOF
51998 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51999 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52000 _ACEOF
52001 sed '
52002 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52003 s/^/s,@/; s/!/@,|#_!!_#|/
52004 :n
52005 t n
52006 s/'"$ac_delim"'$/,g/; t
52007 s/$/\\/; p
52008 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52009 ' >>$CONFIG_STATUS <conf$$subs.sed
52010 rm -f conf$$subs.sed
52011 cat >>$CONFIG_STATUS <<_ACEOF
52012 CEOF$ac_eof
52013 _ACEOF
52014
52015
52016 ac_delim='%!_!# '
52017 for ac_last_try in false false false false false :; do
52018 cat >conf$$subs.sed <<_ACEOF
52019 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52020 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52021 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52022 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52023 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52024 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52025 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52026 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52027 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52028 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52029 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52030 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52031 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52032 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52033 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52034 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52035 COND_BUILD_release!$COND_BUILD_release$ac_delim
52036 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52037 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52038 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52039 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52040 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52041 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52042 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52043 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52044 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52045 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52046 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52047 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52048 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52049 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52050 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52051 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52052 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52053 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52054 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52055 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52056 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52057 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52058 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52059 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52060 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52061 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52062 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52063 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52064 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52065 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52066 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52067 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52068 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52069 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52070 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52071 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52072 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52073 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52074 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52075 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52076 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52077 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52078 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52079 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52080 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52081 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52082 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52083 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52084 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52085 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52086 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52087 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52088 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52089 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52090 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52091 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
52092 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52093 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
52094 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52095 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52096 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52097 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52098 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52099 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52100 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52101 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52102 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52103 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52104 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52105 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52106 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52107 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52108 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52109 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52110 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52111 COND_SHARED_0!$COND_SHARED_0$ac_delim
52112 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52113 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52114 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52115 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52116 _ACEOF
52117
52118 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52119 break
52120 elif $ac_last_try; then
52121 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52122 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52123 { (exit 1); exit 1; }; }
52124 else
52125 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52126 fi
52127 done
52128
52129 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52130 if test -n "$ac_eof"; then
52131 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52132 ac_eof=`expr $ac_eof + 1`
52133 fi
52134
52135 cat >>$CONFIG_STATUS <<_ACEOF
52136 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52137 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52138 _ACEOF
52139 sed '
52140 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52141 s/^/s,@/; s/!/@,|#_!!_#|/
52142 :n
52143 t n
52144 s/'"$ac_delim"'$/,g/; t
52145 s/$/\\/; p
52146 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52147 ' >>$CONFIG_STATUS <conf$$subs.sed
52148 rm -f conf$$subs.sed
52149 cat >>$CONFIG_STATUS <<_ACEOF
52150 CEOF$ac_eof
52151 _ACEOF
52152
52153
52154 ac_delim='%!_!# '
52155 for ac_last_try in false false false false false :; do
52156 cat >conf$$subs.sed <<_ACEOF
52157 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52158 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52159 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52160 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52161 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52162 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52163 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52164 COND_SHARED_1!$COND_SHARED_1$ac_delim
52165 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52166 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52167 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52168 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52169 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52170 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52171 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52172 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52173 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52174 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52175 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52176 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52177 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52178 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52179 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52180 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52181 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52182 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52183 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52184 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52185 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52186 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52187 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52188 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52189 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52190 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52191 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52192 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52193 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52194 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52195 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52196 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52197 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52198 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52199 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52200 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52201 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52202 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52203 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52204 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52205 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52206 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52207 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52208 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52209 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52210 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52211 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52212 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52213 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52214 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52215 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52216 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52217 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52218 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52219 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52220 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52221 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52222 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52223 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52224 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52225 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52226 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52227 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52228 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52229 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52230 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52231 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52232 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52233 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52234 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52235 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52236 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52237 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52238 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52239 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52240 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52241 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52242 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52243 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52244 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52245 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52246 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52247 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52248 DEREZ!$DEREZ$ac_delim
52249 SHARED!$SHARED$ac_delim
52250 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52251 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52252 USE_GUI!$USE_GUI$ac_delim
52253 AFMINSTALL!$AFMINSTALL$ac_delim
52254 _ACEOF
52255
52256 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52257 break
52258 elif $ac_last_try; then
52259 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52260 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52261 { (exit 1); exit 1; }; }
52262 else
52263 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52264 fi
52265 done
52266
52267 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52268 if test -n "$ac_eof"; then
52269 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52270 ac_eof=`expr $ac_eof + 1`
52271 fi
52272
52273 cat >>$CONFIG_STATUS <<_ACEOF
52274 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52275 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52276 _ACEOF
52277 sed '
52278 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52279 s/^/s,@/; s/!/@,|#_!!_#|/
52280 :n
52281 t n
52282 s/'"$ac_delim"'$/,g/; t
52283 s/$/\\/; p
52284 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52285 ' >>$CONFIG_STATUS <conf$$subs.sed
52286 rm -f conf$$subs.sed
52287 cat >>$CONFIG_STATUS <<_ACEOF
52288 CEOF$ac_eof
52289 _ACEOF
52290
52291
52292 ac_delim='%!_!# '
52293 for ac_last_try in false false false false false :; do
52294 cat >conf$$subs.sed <<_ACEOF
52295 WIN32INSTALL!$WIN32INSTALL$ac_delim
52296 TOOLKIT!$TOOLKIT$ac_delim
52297 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52298 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52299 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52300 cross_compiling!$cross_compiling$ac_delim
52301 WIDGET_SET!$WIDGET_SET$ac_delim
52302 WX_RELEASE!$WX_RELEASE$ac_delim
52303 WX_VERSION!$WX_VERSION$ac_delim
52304 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52305 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52306 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52307 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52308 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52309 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52310 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52311 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52312 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52313 GUIDIST!$GUIDIST$ac_delim
52314 DISTDIR!$DISTDIR$ac_delim
52315 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52316 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52317 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52318 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52319 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52320 RESCOMP!$RESCOMP$ac_delim
52321 RESFLAGS!$RESFLAGS$ac_delim
52322 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52323 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52324 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52325 LIBWXMACRES!$LIBWXMACRES$ac_delim
52326 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52327 MACSETFILE!$MACSETFILE$ac_delim
52328 GCC!$GCC$ac_delim
52329 DLLTOOL!$DLLTOOL$ac_delim
52330 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52331 LIBOBJS!$LIBOBJS$ac_delim
52332 LTLIBOBJS!$LTLIBOBJS$ac_delim
52333 _ACEOF
52334
52335 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then
52336 break
52337 elif $ac_last_try; then
52338 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52339 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52340 { (exit 1); exit 1; }; }
52341 else
52342 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52343 fi
52344 done
52345
52346 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52347 if test -n "$ac_eof"; then
52348 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52349 ac_eof=`expr $ac_eof + 1`
52350 fi
52351
52352 cat >>$CONFIG_STATUS <<_ACEOF
52353 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52354 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52355 _ACEOF
52356 sed '
52357 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52358 s/^/s,@/; s/!/@,|#_!!_#|/
52359 :n
52360 t n
52361 s/'"$ac_delim"'$/,g/; t
52362 s/$/\\/; p
52363 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52364 ' >>$CONFIG_STATUS <conf$$subs.sed
52365 rm -f conf$$subs.sed
52366 cat >>$CONFIG_STATUS <<_ACEOF
52367 :end
52368 s/|#_!!_#|//g
52369 CEOF$ac_eof
52370 _ACEOF
52371
52372
52373 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52374 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52375 # trailing colons and then remove the whole line if VPATH becomes empty
52376 # (actually we leave an empty line to preserve line numbers).
52377 if test "x$srcdir" = x.; then
52378 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52379 s/:*\$(srcdir):*/:/
52380 s/:*\${srcdir}:*/:/
52381 s/:*@srcdir@:*/:/
52382 s/^\([^=]*=[ ]*\):*/\1/
52383 s/:*$//
52384 s/^[^=]*=[ ]*$//
52385 }'
52386 fi
52387
52388 cat >>$CONFIG_STATUS <<\_ACEOF
52389 fi # test -n "$CONFIG_FILES"
52390
52391
52392 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52393 do
52394 case $ac_tag in
52395 :[FHLC]) ac_mode=$ac_tag; continue;;
52396 esac
52397 case $ac_mode$ac_tag in
52398 :[FHL]*:*);;
52399 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52400 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52401 { (exit 1); exit 1; }; };;
52402 :[FH]-) ac_tag=-:-;;
52403 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52404 esac
52405 ac_save_IFS=$IFS
52406 IFS=:
52407 set x $ac_tag
52408 IFS=$ac_save_IFS
52409 shift
52410 ac_file=$1
52411 shift
52412
52413 case $ac_mode in
52414 :L) ac_source=$1;;
52415 :[FH])
52416 ac_file_inputs=
52417 for ac_f
52418 do
52419 case $ac_f in
52420 -) ac_f="$tmp/stdin";;
52421 *) # Look for the file first in the build tree, then in the source tree
52422 # (if the path is not absolute). The absolute path cannot be DOS-style,
52423 # because $ac_f cannot contain `:'.
52424 test -f "$ac_f" ||
52425 case $ac_f in
52426 [\\/$]*) false;;
52427 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52428 esac ||
52429 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52430 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52431 { (exit 1); exit 1; }; };;
52432 esac
52433 ac_file_inputs="$ac_file_inputs $ac_f"
52434 done
52435
52436 # Let's still pretend it is `configure' which instantiates (i.e., don't
52437 # use $as_me), people would be surprised to read:
52438 # /* config.h. Generated by config.status. */
52439 configure_input="Generated from "`IFS=:
52440 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52441 if test x"$ac_file" != x-; then
52442 configure_input="$ac_file. $configure_input"
52443 { echo "$as_me:$LINENO: creating $ac_file" >&5
52444 echo "$as_me: creating $ac_file" >&6;}
52445 fi
52446
52447 case $ac_tag in
52448 *:-:* | *:-) cat >"$tmp/stdin";;
52449 esac
52450 ;;
52451 esac
52452
52453 ac_dir=`$as_dirname -- "$ac_file" ||
52454 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52455 X"$ac_file" : 'X\(//\)[^/]' \| \
52456 X"$ac_file" : 'X\(//\)$' \| \
52457 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52458 echo X"$ac_file" |
52459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52460 s//\1/
52461 q
52462 }
52463 /^X\(\/\/\)[^/].*/{
52464 s//\1/
52465 q
52466 }
52467 /^X\(\/\/\)$/{
52468 s//\1/
52469 q
52470 }
52471 /^X\(\/\).*/{
52472 s//\1/
52473 q
52474 }
52475 s/.*/./; q'`
52476 { as_dir="$ac_dir"
52477 case $as_dir in #(
52478 -*) as_dir=./$as_dir;;
52479 esac
52480 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52481 as_dirs=
52482 while :; do
52483 case $as_dir in #(
52484 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52485 *) as_qdir=$as_dir;;
52486 esac
52487 as_dirs="'$as_qdir' $as_dirs"
52488 as_dir=`$as_dirname -- "$as_dir" ||
52489 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52490 X"$as_dir" : 'X\(//\)[^/]' \| \
52491 X"$as_dir" : 'X\(//\)$' \| \
52492 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52493 echo X"$as_dir" |
52494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52495 s//\1/
52496 q
52497 }
52498 /^X\(\/\/\)[^/].*/{
52499 s//\1/
52500 q
52501 }
52502 /^X\(\/\/\)$/{
52503 s//\1/
52504 q
52505 }
52506 /^X\(\/\).*/{
52507 s//\1/
52508 q
52509 }
52510 s/.*/./; q'`
52511 test -d "$as_dir" && break
52512 done
52513 test -z "$as_dirs" || eval "mkdir $as_dirs"
52514 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52515 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52516 { (exit 1); exit 1; }; }; }
52517 ac_builddir=.
52518
52519 case "$ac_dir" in
52520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52521 *)
52522 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52523 # A ".." for each directory in $ac_dir_suffix.
52524 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52525 case $ac_top_builddir_sub in
52526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52528 esac ;;
52529 esac
52530 ac_abs_top_builddir=$ac_pwd
52531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52532 # for backward compatibility:
52533 ac_top_builddir=$ac_top_build_prefix
52534
52535 case $srcdir in
52536 .) # We are building in place.
52537 ac_srcdir=.
52538 ac_top_srcdir=$ac_top_builddir_sub
52539 ac_abs_top_srcdir=$ac_pwd ;;
52540 [\\/]* | ?:[\\/]* ) # Absolute name.
52541 ac_srcdir=$srcdir$ac_dir_suffix;
52542 ac_top_srcdir=$srcdir
52543 ac_abs_top_srcdir=$srcdir ;;
52544 *) # Relative name.
52545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52546 ac_top_srcdir=$ac_top_build_prefix$srcdir
52547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52548 esac
52549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52550
52551
52552 case $ac_mode in
52553 :F)
52554 #
52555 # CONFIG_FILE
52556 #
52557
52558 case $INSTALL in
52559 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52560 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52561 esac
52562 _ACEOF
52563
52564 cat >>$CONFIG_STATUS <<\_ACEOF
52565 # If the template does not know about datarootdir, expand it.
52566 # FIXME: This hack should be removed a few years after 2.60.
52567 ac_datarootdir_hack=; ac_datarootdir_seen=
52568
52569 case `sed -n '/datarootdir/ {
52570 p
52571 q
52572 }
52573 /@datadir@/p
52574 /@docdir@/p
52575 /@infodir@/p
52576 /@localedir@/p
52577 /@mandir@/p
52578 ' $ac_file_inputs` in
52579 *datarootdir*) ac_datarootdir_seen=yes;;
52580 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52581 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52582 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52583 _ACEOF
52584 cat >>$CONFIG_STATUS <<_ACEOF
52585 ac_datarootdir_hack='
52586 s&@datadir@&$datadir&g
52587 s&@docdir@&$docdir&g
52588 s&@infodir@&$infodir&g
52589 s&@localedir@&$localedir&g
52590 s&@mandir@&$mandir&g
52591 s&\\\${datarootdir}&$datarootdir&g' ;;
52592 esac
52593 _ACEOF
52594
52595 # Neutralize VPATH when `$srcdir' = `.'.
52596 # Shell code in configure.ac might set extrasub.
52597 # FIXME: do we really want to maintain this feature?
52598 cat >>$CONFIG_STATUS <<_ACEOF
52599 sed "$ac_vpsub
52600 $extrasub
52601 _ACEOF
52602 cat >>$CONFIG_STATUS <<\_ACEOF
52603 :t
52604 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52605 s&@configure_input@&$configure_input&;t t
52606 s&@top_builddir@&$ac_top_builddir_sub&;t t
52607 s&@srcdir@&$ac_srcdir&;t t
52608 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52609 s&@top_srcdir@&$ac_top_srcdir&;t t
52610 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52611 s&@builddir@&$ac_builddir&;t t
52612 s&@abs_builddir@&$ac_abs_builddir&;t t
52613 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52614 s&@INSTALL@&$ac_INSTALL&;t t
52615 $ac_datarootdir_hack
52616 " $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
52617
52618 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52619 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52620 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52621 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52622 which seems to be undefined. Please make sure it is defined." >&5
52623 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52624 which seems to be undefined. Please make sure it is defined." >&2;}
52625
52626 rm -f "$tmp/stdin"
52627 case $ac_file in
52628 -) cat "$tmp/out"; rm -f "$tmp/out";;
52629 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52630 esac
52631 ;;
52632 :H)
52633 #
52634 # CONFIG_HEADER
52635 #
52636 _ACEOF
52637
52638 # Transform confdefs.h into a sed script `conftest.defines', that
52639 # substitutes the proper values into config.h.in to produce config.h.
52640 rm -f conftest.defines conftest.tail
52641 # First, append a space to every undef/define line, to ease matching.
52642 echo 's/$/ /' >conftest.defines
52643 # Then, protect against being on the right side of a sed subst, or in
52644 # an unquoted here document, in config.status. If some macros were
52645 # called several times there might be several #defines for the same
52646 # symbol, which is useless. But do not sort them, since the last
52647 # AC_DEFINE must be honored.
52648 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52649 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52650 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52651 # PARAMS is the parameter list in the macro definition--in most cases, it's
52652 # just an empty string.
52653 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52654 ac_dB='\\)[ (].*,\\1define\\2'
52655 ac_dC=' '
52656 ac_dD=' ,'
52657
52658 uniq confdefs.h |
52659 sed -n '
52660 t rset
52661 :rset
52662 s/^[ ]*#[ ]*define[ ][ ]*//
52663 t ok
52664 d
52665 :ok
52666 s/[\\&,]/\\&/g
52667 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52668 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52669 ' >>conftest.defines
52670
52671 # Remove the space that was appended to ease matching.
52672 # Then replace #undef with comments. This is necessary, for
52673 # example, in the case of _POSIX_SOURCE, which is predefined and required
52674 # on some systems where configure will not decide to define it.
52675 # (The regexp can be short, since the line contains either #define or #undef.)
52676 echo 's/ $//
52677 s,^[ #]*u.*,/* & */,' >>conftest.defines
52678
52679 # Break up conftest.defines:
52680 ac_max_sed_lines=50
52681
52682 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52683 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52684 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52685 # et cetera.
52686 ac_in='$ac_file_inputs'
52687 ac_out='"$tmp/out1"'
52688 ac_nxt='"$tmp/out2"'
52689
52690 while :
52691 do
52692 # Write a here document:
52693 cat >>$CONFIG_STATUS <<_ACEOF
52694 # First, check the format of the line:
52695 cat >"\$tmp/defines.sed" <<\\CEOF
52696 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52697 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52698 b
52699 :def
52700 _ACEOF
52701 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52702 echo 'CEOF
52703 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52704 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52705 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52706 grep . conftest.tail >/dev/null || break
52707 rm -f conftest.defines
52708 mv conftest.tail conftest.defines
52709 done
52710 rm -f conftest.defines conftest.tail
52711
52712 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52713 cat >>$CONFIG_STATUS <<\_ACEOF
52714 if test x"$ac_file" != x-; then
52715 echo "/* $configure_input */" >"$tmp/config.h"
52716 cat "$ac_result" >>"$tmp/config.h"
52717 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52718 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52719 echo "$as_me: $ac_file is unchanged" >&6;}
52720 else
52721 rm -f $ac_file
52722 mv "$tmp/config.h" $ac_file
52723 fi
52724 else
52725 echo "/* $configure_input */"
52726 cat "$ac_result"
52727 fi
52728 rm -f "$tmp/out12"
52729 ;;
52730
52731 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52732 echo "$as_me: executing $ac_file commands" >&6;}
52733 ;;
52734 esac
52735
52736
52737 case $ac_file$ac_mode in
52738 "rcdefs.h":C)
52739 mkdir -p $outdir &&
52740 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52741 ;;
52742 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52743 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52744 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52745 "wx-config":C) rm -f wx-config
52746 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52747 ;;
52748
52749 esac
52750 done # for ac_tag
52751
52752
52753 { (exit 0); exit 0; }
52754 _ACEOF
52755 chmod +x $CONFIG_STATUS
52756 ac_clean_files=$ac_clean_files_save
52757
52758
52759 # configure is writing to config.log, and then calls config.status.
52760 # config.status does its own redirection, appending to config.log.
52761 # Unfortunately, on DOS this fails, as config.log is still kept open
52762 # by configure, so config.status won't be able to write to it; its
52763 # output is simply discarded. So we exec the FD to /dev/null,
52764 # effectively closing config.log, so it can be properly (re)opened and
52765 # appended to by config.status. When coming back to configure, we
52766 # need to make the FD available again.
52767 if test "$no_create" != yes; then
52768 ac_cs_success=:
52769 ac_config_status_args=
52770 test "$silent" = yes &&
52771 ac_config_status_args="$ac_config_status_args --quiet"
52772 exec 5>/dev/null
52773 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52774 exec 5>>config.log
52775 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52776 # would make configure fail if this is the last instruction.
52777 $ac_cs_success || { (exit 1); exit 1; }
52778 fi
52779
52780 #
52781 # CONFIG_SUBDIRS section.
52782 #
52783 if test "$no_recursion" != yes; then
52784
52785 # Remove --cache-file and --srcdir arguments so they do not pile up.
52786 ac_sub_configure_args=
52787 ac_prev=
52788 eval "set x $ac_configure_args"
52789 shift
52790 for ac_arg
52791 do
52792 if test -n "$ac_prev"; then
52793 ac_prev=
52794 continue
52795 fi
52796 case $ac_arg in
52797 -cache-file | --cache-file | --cache-fil | --cache-fi \
52798 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52799 ac_prev=cache_file ;;
52800 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52801 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52802 | --c=*)
52803 ;;
52804 --config-cache | -C)
52805 ;;
52806 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52807 ac_prev=srcdir ;;
52808 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52809 ;;
52810 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52811 ac_prev=prefix ;;
52812 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52813 ;;
52814 *)
52815 case $ac_arg in
52816 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52817 esac
52818 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52819 esac
52820 done
52821
52822 # Always prepend --prefix to ensure using the same prefix
52823 # in subdir configurations.
52824 ac_arg="--prefix=$prefix"
52825 case $ac_arg in
52826 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52827 esac
52828 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52829
52830 # Pass --silent
52831 if test "$silent" = yes; then
52832 ac_sub_configure_args="--silent $ac_sub_configure_args"
52833 fi
52834
52835 ac_popdir=`pwd`
52836 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52837
52838 # Do not complain, so a configure script can configure whichever
52839 # parts of a large source tree are present.
52840 test -d "$srcdir/$ac_dir" || continue
52841
52842 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52843 echo "$as_me:$LINENO: $ac_msg" >&5
52844 echo "$ac_msg" >&6
52845 { as_dir="$ac_dir"
52846 case $as_dir in #(
52847 -*) as_dir=./$as_dir;;
52848 esac
52849 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52850 as_dirs=
52851 while :; do
52852 case $as_dir in #(
52853 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52854 *) as_qdir=$as_dir;;
52855 esac
52856 as_dirs="'$as_qdir' $as_dirs"
52857 as_dir=`$as_dirname -- "$as_dir" ||
52858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52859 X"$as_dir" : 'X\(//\)[^/]' \| \
52860 X"$as_dir" : 'X\(//\)$' \| \
52861 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52862 echo X"$as_dir" |
52863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52864 s//\1/
52865 q
52866 }
52867 /^X\(\/\/\)[^/].*/{
52868 s//\1/
52869 q
52870 }
52871 /^X\(\/\/\)$/{
52872 s//\1/
52873 q
52874 }
52875 /^X\(\/\).*/{
52876 s//\1/
52877 q
52878 }
52879 s/.*/./; q'`
52880 test -d "$as_dir" && break
52881 done
52882 test -z "$as_dirs" || eval "mkdir $as_dirs"
52883 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52884 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52885 { (exit 1); exit 1; }; }; }
52886 ac_builddir=.
52887
52888 case "$ac_dir" in
52889 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52890 *)
52891 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52892 # A ".." for each directory in $ac_dir_suffix.
52893 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52894 case $ac_top_builddir_sub in
52895 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52896 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52897 esac ;;
52898 esac
52899 ac_abs_top_builddir=$ac_pwd
52900 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52901 # for backward compatibility:
52902 ac_top_builddir=$ac_top_build_prefix
52903
52904 case $srcdir in
52905 .) # We are building in place.
52906 ac_srcdir=.
52907 ac_top_srcdir=$ac_top_builddir_sub
52908 ac_abs_top_srcdir=$ac_pwd ;;
52909 [\\/]* | ?:[\\/]* ) # Absolute name.
52910 ac_srcdir=$srcdir$ac_dir_suffix;
52911 ac_top_srcdir=$srcdir
52912 ac_abs_top_srcdir=$srcdir ;;
52913 *) # Relative name.
52914 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52915 ac_top_srcdir=$ac_top_build_prefix$srcdir
52916 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52917 esac
52918 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52919
52920
52921 cd "$ac_dir"
52922
52923 # Check for guested configure; otherwise get Cygnus style configure.
52924 if test -f "$ac_srcdir/configure.gnu"; then
52925 ac_sub_configure=$ac_srcdir/configure.gnu
52926 elif test -f "$ac_srcdir/configure"; then
52927 ac_sub_configure=$ac_srcdir/configure
52928 elif test -f "$ac_srcdir/configure.in"; then
52929 # This should be Cygnus configure.
52930 ac_sub_configure=$ac_aux_dir/configure
52931 else
52932 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52933 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52934 ac_sub_configure=
52935 fi
52936
52937 # The recursion is here.
52938 if test -n "$ac_sub_configure"; then
52939 # Make the cache file name correct relative to the subdirectory.
52940 case $cache_file in
52941 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52942 *) # Relative name.
52943 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52944 esac
52945
52946 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52947 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52948 # The eval makes quoting arguments work.
52949 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52950 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52951 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52952 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52953 { (exit 1); exit 1; }; }
52954 fi
52955
52956 cd "$ac_popdir"
52957 done
52958 fi
52959
52960
52961 echo
52962 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52963 echo ""
52964 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52965 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52966 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52967 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52968 if test "$wxUSE_UNICODE" = "yes"; then
52969 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52970 echo " (using UTF-8)"
52971 else
52972 echo " (using wchar_t)"
52973 fi
52974 else
52975 echo
52976 fi
52977
52978 echo " What level of wxWidgets compatibility should be enabled?"
52979 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52980 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52981
52982 echo " Which libraries should wxWidgets use?"
52983 echo " STL ${wxUSE_STL}"
52984 echo " jpeg ${wxUSE_LIBJPEG-none}"
52985 echo " png ${wxUSE_LIBPNG-none}"
52986 echo " regex ${wxUSE_REGEX}"
52987 echo " tiff ${wxUSE_LIBTIFF-none}"
52988 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52989 echo " xpm ${wxUSE_LIBXPM-none}"
52990 fi
52991 echo " zlib ${wxUSE_ZLIB}"
52992 echo " expat ${wxUSE_EXPAT}"
52993 echo " libmspack ${wxUSE_LIBMSPACK}"
52994 echo " sdl ${wxUSE_LIBSDL}"
52995
52996 echo ""
52997