]> git.saurik.com Git - wxWidgets.git/blob - configure
Add support for icons in wxAUI panes title bars.
[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.2.
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.2'
579 PACKAGE_STRING='wxWidgets 2.9.2'
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 OSX_SW_VERS
680 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 CFLAGS_VISIBILITY
700 CXXFLAGS_VISIBILITY
701 LIBICONV
702 GXX_VERSION
703 SDL_CONFIG
704 SDL_CFLAGS
705 SDL_LIBS
706 GTKPRINT_CFLAGS
707 GTKPRINT_LIBS
708 LIBGNOMEPRINTUI_CFLAGS
709 LIBGNOMEPRINTUI_LIBS
710 GNOMEVFS_CFLAGS
711 GNOMEVFS_LIBS
712 HILDON_CFLAGS
713 HILDON_LIBS
714 HILDON2_CFLAGS
715 HILDON2_LIBS
716 PYTHON
717 COND_PYTHON
718 CAIRO_CFLAGS
719 CAIRO_LIBS
720 GST_CFLAGS
721 GST_LIBS
722 ALL_WX_LIBS
723 BUILT_WX_LIBS
724 STD_BASE_LIBS
725 STD_GUI_LIBS
726 wxUSE_ZLIB
727 wxUSE_REGEX
728 wxUSE_EXPAT
729 wxUSE_LIBJPEG
730 wxUSE_LIBPNG
731 wxUSE_LIBTIFF
732 VENDOR
733 OFFICIAL_BUILD
734 WX_FLAVOUR
735 WX_LIB_FLAVOUR
736 WXUNIV
737 MONOLITHIC
738 USE_PLUGINS
739 CXXWARNINGS
740 EXTRALIBS
741 EXTRALIBS_XML
742 EXTRALIBS_HTML
743 EXTRALIBS_MEDIA
744 EXTRALIBS_GUI
745 EXTRALIBS_OPENGL
746 EXTRALIBS_SDL
747 EXTRALIBS_STC
748 WITH_PLUGIN_SDL
749 EXTRALIBS_GTKPRINT
750 EXTRALIBS_GNOMEPRINT
751 EXTRALIBS_GNOMEVFS
752 EXTRALIBS_HILDON
753 UNICODE
754 DEBUG_INFO
755 DEBUG_FLAG
756 TOOLKIT_LOWERCASE
757 TOOLKIT_VERSION
758 DYLIB_RPATH_INSTALL
759 DYLIB_RPATH_POSTLINK
760 SAMPLES_RPATH_FLAG
761 HEADER_PAD_OPTION
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 RANLIB
766 INSTALL_PROGRAM
767 INSTALL_SCRIPT
768 INSTALL_DATA
769 LN_S
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 STRIP
774 NM
775 INSTALL_DIR
776 LDFLAGS_GUI
777 IF_GNU_MAKE
778 PLATFORM_UNIX
779 PLATFORM_WIN32
780 PLATFORM_MSDOS
781 PLATFORM_MAC
782 PLATFORM_MACOS
783 PLATFORM_MACOSX
784 PLATFORM_OS2
785 PLATFORM_BEOS
786 SO_SUFFIX
787 SO_SUFFIX_MODULE
788 DLLIMP_SUFFIX
789 LIBPREFIX
790 LIBEXT
791 DLLPREFIX
792 DLLPREFIX_MODULE
793 dlldir
794 AIX_CXX_LD
795 SHARED_LD_CC
796 SHARED_LD_CXX
797 SHARED_LD_MODULE_CC
798 SHARED_LD_MODULE_CXX
799 PIC_FLAG
800 WINDOWS_IMPLIB
801 USE_SOVERSION
802 USE_SOVERLINUX
803 USE_SOVERSOLARIS
804 USE_SOVERCYGWIN
805 USE_MACVERSION
806 USE_SOTWOSYMLINKS
807 SONAME_FLAG
808 DEPS_TRACKING
809 BK_DEPS
810 WINDRES
811 REZ
812 SETFILE
813 OBJCXXFLAGS
814 GCC_PCH
815 ICC_PCH
816 ICC_PCH_CREATE_SWITCH
817 ICC_PCH_USE_SWITCH
818 BK_MAKE_PCH
819 COND_BUILD_DEBUG
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
837 COND_DEBUG_FLAG_0
838 COND_DEBUG_FLAG_1
839 COND_DEBUG_INFO_0
840 COND_DEBUG_INFO_1
841 COND_DEPS_TRACKING_0
842 COND_DEPS_TRACKING_1
843 COND_GCC_PCH_1
844 COND_ICC_PCH_1
845 COND_MONOLITHIC_0
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
899 COND_PLATFORM_MAC_0
900 COND_PLATFORM_MAC_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_OS2_1
904 COND_PLATFORM_UNIX_0
905 COND_PLATFORM_UNIX_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
913 COND_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
925 COND_SHARED_1
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
927 COND_TOOLKIT_
928 COND_TOOLKIT_COCOA
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_DFB
932 COND_TOOLKIT_DFB_USE_GUI_1
933 COND_TOOLKIT_GTK
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
941 COND_TOOLKIT_MAC
942 COND_TOOLKIT_MGL
943 COND_TOOLKIT_MGL_USE_GUI_1
944 COND_TOOLKIT_MOTIF
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_PM
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_WINCE
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
965 COND_TOOLKIT_X11
966 COND_TOOLKIT_X11_USE_GUI_1
967 COND_UNICODE_1
968 COND_USE_CAIRO_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
971 COND_USE_GUI_0
972 COND_USE_GUI_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_OPENGL_1
983 COND_USE_PCH_1
984 COND_USE_PLUGINS_0
985 COND_USE_RTTI_0
986 COND_USE_RTTI_1
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
990 COND_USE_SOVERSION_0
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
993 COND_USE_STC_1
994 COND_USE_THREADS_0
995 COND_USE_THREADS_1
996 COND_USE_XRC_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
999 COND_WXUNIV_0
1000 COND_WXUNIV_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1013 DEREZ
1014 SHARED
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1017 USE_GUI
1018 AFMINSTALL
1019 WIN32INSTALL
1020 TOOLKIT
1021 TOOLKIT_DIR
1022 TOOLCHAIN_NAME
1023 TOOLCHAIN_FULLNAME
1024 cross_compiling
1025 WIDGET_SET
1026 WX_RELEASE
1027 WX_VERSION
1028 WX_SUBVERSION
1029 WX_CHARTYPE
1030 WXCONFIG_CPPFLAGS
1031 WXCONFIG_CFLAGS
1032 WXCONFIG_CXXFLAGS
1033 WXCONFIG_LIBS
1034 WXCONFIG_RPATH
1035 WXCONFIG_LDFLAGS
1036 WXCONFIG_LDFLAGS_GUI
1037 WXCONFIG_RESFLAGS
1038 GUIDIST
1039 DISTDIR
1040 SAMPLES_SUBDIRS
1041 LDFLAGS_GL
1042 OPENGL_LIBS
1043 DMALLOC_LIBS
1044 WX_VERSION_TAG
1045 RESCOMP
1046 RESFLAGS
1047 RESPROGRAMOBJ
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1050 LIBWXMACRES
1051 POSTLINK_COMMAND
1052 MACSETFILE
1053 GCC
1054 DLLTOOL
1055 CPPUNIT_CONFIG
1056 LIBOBJS
1057 LTLIBOBJS'
1058 ac_subst_files=''
1059 ac_precious_vars='build_alias
1060 host_alias
1061 target_alias
1062 CC
1063 CFLAGS
1064 LDFLAGS
1065 LIBS
1066 CPPFLAGS
1067 CPP
1068 CXX
1069 CXXFLAGS
1070 CCC
1071 CXXCPP
1072 PKG_CONFIG
1073 DIRECTFB_CFLAGS
1074 DIRECTFB_LIBS
1075 XMKMF
1076 PANGOX_CFLAGS
1077 PANGOX_LIBS
1078 PANGOFT2_CFLAGS
1079 PANGOFT2_LIBS
1080 PANGOXFT_CFLAGS
1081 PANGOXFT_LIBS
1082 GTKPRINT_CFLAGS
1083 GTKPRINT_LIBS
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1086 GNOMEVFS_CFLAGS
1087 GNOMEVFS_LIBS
1088 HILDON_CFLAGS
1089 HILDON_LIBS
1090 HILDON2_CFLAGS
1091 HILDON2_LIBS
1092 CAIRO_CFLAGS
1093 CAIRO_LIBS
1094 GST_CFLAGS
1095 GST_LIBS'
1096 ac_subdirs_all='src/tiff
1097 src/expat'
1098
1099 # Initialize some variables set by options.
1100 ac_init_help=
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1105 exec_prefix=NONE
1106 no_create=
1107 no_recursion=
1108 prefix=NONE
1109 program_prefix=NONE
1110 program_suffix=NONE
1111 program_transform_name=s,x,x,
1112 silent=
1113 site=
1114 srcdir=
1115 verbose=
1116 x_includes=NONE
1117 x_libraries=NONE
1118
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1137 htmldir='${docdir}'
1138 dvidir='${docdir}'
1139 pdfdir='${docdir}'
1140 psdir='${docdir}'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1144
1145 ac_prev=
1146 ac_dashdash=
1147 for ac_option
1148 do
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1152 ac_prev=
1153 continue
1154 fi
1155
1156 case $ac_option in
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1158 *) ac_optarg=yes ;;
1159 esac
1160
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1162
1163 case $ac_dashdash$ac_option in
1164 --)
1165 ac_dashdash=yes ;;
1166
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1168 ac_prev=bindir ;;
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1171
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1176
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1183
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1186
1187 -datadir | --datadir | --datadi | --datad)
1188 ac_prev=datadir ;;
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1191
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1198
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1207
1208 -docdir | --docdir | --docdi | --doc | --do)
1209 ac_prev=docdir ;;
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1212
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1214 ac_prev=dvidir ;;
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1217
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1226
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1235
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1238 with_gas=yes ;;
1239
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1246
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1251
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1253 ac_prev=htmldir ;;
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1255 | --ht=*)
1256 htmldir=$ac_optarg ;;
1257
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1264
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1266 ac_prev=infodir ;;
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1269
1270 -libdir | --libdir | --libdi | --libd)
1271 ac_prev=libdir ;;
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1274
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1281
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1286
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1293
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1295 ac_prev=mandir ;;
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1298
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1301 with_fp=no ;;
1302
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1305 no_create=yes ;;
1306
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1309 no_recursion=yes ;;
1310
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1319
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1321 ac_prev=prefix ;;
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1324
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1331
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1338
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1355
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1357 ac_prev=pdfdir ;;
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1360
1361 -psdir | --psdir | --psdi | --psd | --ps)
1362 ac_prev=psdir ;;
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1364 psdir=$ac_optarg ;;
1365
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1368 silent=yes ;;
1369
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1371 ac_prev=sbindir ;;
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1373 | --sbi=* | --sb=*)
1374 sbindir=$ac_optarg ;;
1375
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1379 | --sha | --sh)
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1384 | --sha=* | --sh=*)
1385 sharedstatedir=$ac_optarg ;;
1386
1387 -site | --site | --sit)
1388 ac_prev=site ;;
1389 -site=* | --site=* | --sit=*)
1390 site=$ac_optarg ;;
1391
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1393 ac_prev=srcdir ;;
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1396
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1403
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1408
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1410 verbose=yes ;;
1411
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1414
1415 -with-* | --with-*)
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1423
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1432
1433 --x)
1434 # Obsolete; use --with-x.
1435 with_x=yes ;;
1436
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1443
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1450
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1454 ;;
1455
1456 *=*)
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1464
1465 *)
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1471 ;;
1472
1473 esac
1474 done
1475
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1480 fi
1481
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1487 do
1488 eval ac_val=\$$ac_var
1489 case $ac_val in
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1492 esac
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1495 done
1496
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1500 build=$build_alias
1501 host=$host_alias
1502 target=$target_alias
1503
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1511 cross_compiling=yes
1512 fi
1513 fi
1514
1515 ac_tool_prefix=
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1517
1518 test "$silent" = yes && exec 6>/dev/null
1519
1520
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1529
1530
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1540 echo X"$0" |
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542 s//\1/
1543 q
1544 }
1545 /^X\(\/\/\)[^/].*/{
1546 s//\1/
1547 q
1548 }
1549 /^X\(\/\/\)$/{
1550 s//\1/
1551 q
1552 }
1553 /^X\(\/\).*/{
1554 s//\1/
1555 q
1556 }
1557 s/.*/./; q'`
1558 srcdir=$ac_confdir
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 srcdir=..
1561 fi
1562 else
1563 ac_srcdir_defaulted=no
1564 fi
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1569 fi
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1571 ac_abs_confdir=`(
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1574 pwd)`
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1577 srcdir=.
1578 fi
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1582 case $srcdir in
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1584 esac
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1590 done
1591
1592 #
1593 # Report the --help message.
1594 #
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1598 cat <<_ACEOF
1599 \`configure' configures wxWidgets 2.9.2 to adapt to many kinds of systems.
1600
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1602
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1605
1606 Defaults for the options are specified in brackets.
1607
1608 Configuration:
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1618
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1623 [PREFIX]
1624
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1629
1630 For better control, use the options below.
1631
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1652 _ACEOF
1653
1654 cat <<\_ACEOF
1655
1656 X features:
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1659
1660 System types:
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1663 _ACEOF
1664 fi
1665
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.2:";;
1669 esac
1670 cat <<\_ACEOF
1671
1672 Optional Features:
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use STL for containers
1693 --enable-std_iostreams use standard C++ stream classes
1694 --enable-std_string use standard C++ string classes
1695 --disable-unicode compile without Unicode support
1696 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1697 --enable-utf8 use UTF-8 representation for strings (Unix only)
1698 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1699 --enable-extended_rtti use extended RTTI (XTI)
1700 --enable-omf use OMF object format
1701 --disable-optimise compile without optimisations
1702 --enable-profile create code with profiling information
1703 --enable-no_rtti create code without RTTI information
1704 --enable-no_exceptions create code without C++ exceptions handling
1705 --enable-permissive compile code disregarding strict ANSI
1706 --enable-no_deps create code without dependency information
1707 --disable-vararg_macros don't use vararg macros, even if they are supported
1708 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1709 --enable-macosx_arch=ARCH build for just the specified architecture
1710 --enable-compat26 enable wxWidgets 2.6 compatibility
1711 --disable-compat28 disable wxWidgets 2.8 compatibility
1712 --disable-rpath disable use of rpath for uninstalled builds
1713 --enable-objc_uniquifying enable Objective-C class name uniquifying
1714 --disable-visibility disable use of ELF symbols visibility even if supported
1715 --disable-tls disable use of compiler TLS support
1716 --enable-intl use internationalization system
1717 --enable-xlocale use x-locale support (requires wxLocale)
1718 --enable-config use wxConfig (and derived) classes
1719 --enable-protocols use wxProtocol and derived classes
1720 --enable-ftp use wxFTP (requires wxProtocol
1721 --enable-http use wxHTTP (requires wxProtocol
1722 --enable-fileproto use wxFileProto class (requires wxProtocol
1723 --enable-sockets use socket/network classes
1724 --enable-ipv6 enable IPv6 support in wxSocket
1725 --enable-ole use OLE classes (Win32 only)
1726 --enable-dataobj use data object classes
1727 --enable-ipc use interprocess communication (wxSocket etc.)
1728 --enable-baseevtloop use event loop in console programs too
1729 --enable-epollloop use wxEpollDispatcher class (Linux only)
1730 --enable-selectloop use wxSelectDispatcher class
1731 --enable-any use wxAny class
1732 --enable-apple_ieee use the Apple IEEE codec
1733 --enable-arcstream use wxArchive streams
1734 --enable-base64 use base64 encoding/decoding functions
1735 --enable-backtrace use wxStackWalker class for getting backtraces
1736 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1737 --enable-cmdline use wxCmdLineParser class
1738 --enable-datetime use wxDateTime class
1739 --enable-debugreport use wxDebugReport class
1740 --enable-dialupman use dialup network classes
1741 --enable-dynlib use wxLibrary class for DLL loading
1742 --enable-dynamicloader use (new) wxDynamicLibrary class
1743 --enable-exceptions build exception-safe library
1744 --enable-ffile use wxFFile class
1745 --enable-file use wxFile class
1746 --enable-filehistory use wxFileHistory class
1747 --enable-filesystem use virtual file systems classes
1748 --enable-fontenum use wxFontEnumerator class
1749 --enable-fontmap use font encodings conversion classes
1750 --enable-fs_archive use virtual archive filesystems
1751 --enable-fs_inet use virtual HTTP/FTP filesystems
1752 --enable-fs_zip now replaced by fs_archive
1753 --enable-fswatcher use wxFileSystemWatcher class
1754 --enable-geometry use geometry class
1755 --enable-log use logging system
1756 --enable-longlong use wxLongLong class
1757 --enable-mimetype use wxMimeTypesManager
1758 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1759 --enable-snglinst use wxSingleInstanceChecker class
1760 --enable-sound use wxSound class
1761 --enable-stdpaths use wxStandardPaths class
1762 --enable-stopwatch use wxStopWatch class
1763 --enable-streams use wxStream etc classes
1764 --enable-sysoptions use wxSystemOptions
1765 --enable-tarstream use wxTar streams
1766 --enable-textbuf use wxTextBuffer class
1767 --enable-textfile use wxTextFile class
1768 --enable-timer use wxTimer class
1769 --enable-variant use wxVariant class
1770 --enable-zipstream use wxZip streams
1771 --enable-url use wxURL class
1772 --enable-protocol use wxProtocol class
1773 --enable-protocol-http HTTP support in wxProtocol
1774 --enable-protocol-ftp FTP support in wxProtocol
1775 --enable-protocol-file FILE support in wxProtocol
1776 --enable-threads use threads
1777 --enable-iniconf use wxIniConfig (Win32 only)
1778 --enable-regkey use wxRegKey class (Win32 only)
1779 --enable-docview use document view architecture
1780 --enable-help use help subsystem
1781 --enable-mshtmlhelp use MS HTML Help (win32)
1782 --enable-html use wxHTML sub-library
1783 --enable-htmlhelp use wxHTML-based help
1784 --enable-xrc use XRC resources sub-library
1785 --enable-aui use AUI docking library
1786 --enable-propgrid use wxPropertyGrid library
1787 --enable-ribbon use wxRibbon library
1788 --enable-stc use wxStyledTextCtrl library
1789 --enable-constraints use layout-constraints system
1790 --enable-loggui use standard GUI logger
1791 --enable-logwin use wxLogWindow
1792 --enable-logdialog use wxLogDialog
1793 --enable-mdi use multiple document interface architecture
1794 --enable-mdidoc use docview architecture with MDI
1795 --enable-mediactrl use wxMediaCtrl class
1796 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1797 --enable-webkit use wxWebKitCtrl (Mac)
1798 --enable-richtext use wxRichTextCtrl
1799 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1800 --enable-printarch use printing architecture
1801 --enable-svg use wxSVGFileDC device context
1802 --enable-graphics_ctx use graphics context 2D drawing API
1803 --enable-clipboard use wxClipboard class
1804 --enable-dnd use Drag'n'Drop classes
1805 --enable-metafile use win32 metafiles
1806 --disable-controls disable compilation of all standard controls
1807 --enable-accel use accelerators
1808 --enable-animatectrl use wxAnimationCtrl class
1809 --enable-artstd use standard XPM icons in wxArtProvider
1810 --enable-arttango use Tango icons in wxArtProvider
1811 --enable-bmpbutton use wxBitmapButton class
1812 --enable-bmpcombobox use wxBitmapComboBox class
1813 --enable-button use wxButton class
1814 --enable-calendar use wxCalendarCtrl class
1815 --enable-caret use wxCaret class
1816 --enable-checkbox use wxCheckBox class
1817 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1818 --enable-choice use wxChoice class
1819 --enable-choicebook use wxChoicebook class
1820 --enable-collpane use wxCollapsiblePane class
1821 --enable-colourpicker use wxColourPickerCtrl class
1822 --enable-combobox use wxComboBox class
1823 --enable-comboctrl use wxComboCtrl class
1824 --enable-commandlinkbutton use wxCommmandLinkButton class
1825 --enable-dataviewctrl use wxDataViewCtrl class
1826 --enable-datepick use wxDatePickerCtrl class
1827 --enable-detect_sm use code to detect X11 session manager
1828 --enable-dirpicker use wxDirPickerCtrl class
1829 --enable-display use wxDisplay class
1830 --enable-editablebox use wxEditableListBox class
1831 --enable-filectrl use wxFileCtrl class
1832 --enable-filepicker use wxFilePickerCtrl class
1833 --enable-fontpicker use wxFontPickerCtrl class
1834 --enable-gauge use wxGauge class
1835 --enable-grid use wxGrid class
1836 --enable-headerctrl use wxHeaderCtrl class
1837 --enable-hyperlink use wxHyperlinkCtrl class
1838 --enable-imaglist use wxImageList class
1839 --enable-infobar use wxInfoBar class
1840 --enable-listbook use wxListbook class
1841 --enable-listbox use wxListBox class
1842 --enable-listctrl use wxListCtrl class
1843 --enable-notebook use wxNotebook class
1844 --enable-notifmsg use wxNotificationMessage class
1845 --enable-odcombobox use wxOwnerDrawnComboBox class
1846 --enable-popupwin use wxPopUpWindow class
1847 --enable-radiobox use wxRadioBox class
1848 --enable-radiobtn use wxRadioButton class
1849 --enable-richmsgdlg use wxRichMessageDialog class
1850 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1851 --enable-sash use wxSashWindow class
1852 --enable-scrollbar use wxScrollBar class and scrollable windows
1853 --enable-searchctrl use wxSearchCtrl class
1854 --enable-slider use wxSlider class
1855 --enable-spinbtn use wxSpinButton class
1856 --enable-spinctrl use wxSpinCtrl class
1857 --enable-splitter use wxSplitterWindow class
1858 --enable-statbmp use wxStaticBitmap class
1859 --enable-statbox use wxStaticBox class
1860 --enable-statline use wxStaticLine class
1861 --enable-stattext use wxStaticText class
1862 --enable-statusbar use wxStatusBar class
1863 --enable-taskbaricon use wxTaskBarIcon class
1864 --enable-tbarnative use native wxToolBar class
1865 --enable-textctrl use wxTextCtrl class
1866 --enable-tipwindow use wxTipWindow class
1867 --enable-togglebtn use wxToggleButton class
1868 --enable-toolbar use wxToolBar class
1869 --enable-toolbook use wxToolbook class
1870 --enable-treebook use wxTreebook class
1871 --enable-treectrl use wxTreeCtrl class
1872 --enable-commondlg use all common dialogs
1873 --enable-aboutdlg use wxAboutBox
1874 --enable-choicedlg use wxChoiceDialog
1875 --enable-coldlg use wxColourDialog
1876 --enable-filedlg use wxFileDialog
1877 --enable-finddlg use wxFindReplaceDialog
1878 --enable-fontdlg use wxFontDialog
1879 --enable-dirdlg use wxDirDialog
1880 --enable-msgdlg use wxMessageDialog
1881 --enable-numberdlg use wxNumberEntryDialog
1882 --enable-splash use wxSplashScreen
1883 --enable-textdlg use wxTextDialog
1884 --enable-tipdlg use startup tips
1885 --enable-progressdlg use wxProgressDialog
1886 --enable-wizarddlg use wxWizard
1887 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1888 --enable-miniframe use wxMiniFrame class
1889 --enable-tooltips use wxToolTip class
1890 --enable-splines use spline drawing code
1891 --enable-mousewheel use mousewheel
1892 --enable-validators use wxValidator and derived classes
1893 --enable-busyinfo use wxBusyInfo
1894 --enable-joystick use wxJoystick
1895 --enable-metafiles use wxMetaFile (Win32 only)
1896 --enable-dragimage use wxDragImage
1897 --enable-accessibility enable accessibility support
1898 --enable-uiactionsim use wxUIActionSimulator (experimental)
1899 --enable-palette use wxPalette class
1900 --enable-image use wxImage class
1901 --enable-gif use gif images (GIF file format)
1902 --enable-pcx use pcx images (PCX file format)
1903 --enable-tga use tga images (TGA file format)
1904 --enable-iff use iff images (IFF file format)
1905 --enable-pnm use pnm images (PNM file format)
1906 --enable-xpm use xpm images (XPM file format)
1907 --enable-ico_cur use Windows ICO and CUR formats
1908 --enable-dccache cache temporary wxDC objects (Win32 only)
1909 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1910 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1911 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1912 --enable-wxdib use wxDIB class (Win32 only)
1913 --enable-autoidman use automatic ids management
1914 --disable-largefile omit support for large files
1915 --disable-gtktest do not try to compile and run a test GTK+ program
1916 --disable-gtktest Do not try to compile and run a test GTK program
1917 --disable-sdltest Do not try to compile and run a test SDL program
1918 --enable-omf use OMF object format (OS/2)
1919 --disable-dependency-tracking
1920 don't use dependency tracking even if the compiler
1921 can
1922 --disable-precomp-headers
1923 don't use precompiled headers even if compiler can
1924
1925 Optional Packages:
1926 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1927 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1928 --without-subdirs don't generate makefiles for samples/demos/...
1929 --with-flavour=NAME specify a name to identify this build
1930 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1931 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1932 --with-motif use Motif/Lesstif
1933 --with-osx_carbon use Mac OS X (Carbon)
1934 --with-osx_cocoa use Mac OS X (Cocoa)
1935 --with-osx_iphone use iPhone OS X port
1936 --with-osx use Mac OS X (default port, currently Carbon)
1937 --with-carbon same as --with-osx_carbon
1938 --with-cocoa same as --with-osx_cocoa
1939 --with-iphone same as --with-osx_iphone
1940 --with-mac same as --with-osx
1941 --with-old_cocoa use old, deprecated, Cocoa port
1942 --with-wine use Wine
1943 --with-msw use MS-Windows
1944 --with-pm use OS/2 Presentation Manager
1945 --with-mgl use SciTech MGL
1946 --with-directfb use DirectFB
1947 --with-microwin use MicroWindows
1948 --with-x11 use X11
1949 --with-libpng use libpng (PNG image format)
1950 --with-libjpeg use libjpeg (JPEG file format)
1951 --with-libtiff use libtiff (TIFF file format)
1952 --with-libxpm use libxpm (XPM file format)
1953 --with-libiconv use libiconv (character conversion)
1954 --with-libmspack use libmspack (CHM help files loading)
1955 --without-gtkprint don't use GTK printing support
1956 --without-gnomeprint don't use GNOME printing libraries
1957 --with-gnomevfs use GNOME VFS for associating MIME types
1958 --with-hildon use Hildon framework for Nokia 770/800/810
1959 --with-opengl use OpenGL (or Mesa)
1960 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1961 --with-sdl use SDL for audio on Unix
1962 --with-regex enable support for wxRegEx class
1963 --with-zlib use zlib for LZW compression
1964 --with-expat enable XML support using expat parser
1965 --with-macosx-sdk=PATH use an OS X SDK at PATH
1966 --with-macosx-version-min=VER build binaries which require at least this OS X version
1967 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1968 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1969 --with-x use the X Window System
1970 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1971 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1972 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1973 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1974 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1975
1976 Some influential environment variables:
1977 CC C compiler command
1978 CFLAGS C compiler flags
1979 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1980 nonstandard directory <lib dir>
1981 LIBS libraries to pass to the linker, e.g. -l<library>
1982 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1983 you have headers in a nonstandard directory <include dir>
1984 CPP C preprocessor
1985 CXX C++ compiler command
1986 CXXFLAGS C++ compiler flags
1987 CXXCPP C++ preprocessor
1988 PKG_CONFIG path to pkg-config utility
1989 DIRECTFB_CFLAGS
1990 C compiler flags for DIRECTFB, overriding pkg-config
1991 DIRECTFB_LIBS
1992 linker flags for DIRECTFB, overriding pkg-config
1993 XMKMF Path to xmkmf, Makefile generator for X Window System
1994 PANGOX_CFLAGS
1995 C compiler flags for PANGOX, overriding pkg-config
1996 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1997 PANGOFT2_CFLAGS
1998 C compiler flags for PANGOFT2, overriding pkg-config
1999 PANGOFT2_LIBS
2000 linker flags for PANGOFT2, overriding pkg-config
2001 PANGOXFT_CFLAGS
2002 C compiler flags for PANGOXFT, overriding pkg-config
2003 PANGOXFT_LIBS
2004 linker flags for PANGOXFT, overriding pkg-config
2005 GTKPRINT_CFLAGS
2006 C compiler flags for GTKPRINT, overriding pkg-config
2007 GTKPRINT_LIBS
2008 linker flags for GTKPRINT, overriding pkg-config
2009 LIBGNOMEPRINTUI_CFLAGS
2010 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2011 LIBGNOMEPRINTUI_LIBS
2012 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2013 GNOMEVFS_CFLAGS
2014 C compiler flags for GNOMEVFS, overriding pkg-config
2015 GNOMEVFS_LIBS
2016 linker flags for GNOMEVFS, overriding pkg-config
2017 HILDON_CFLAGS
2018 C compiler flags for HILDON, overriding pkg-config
2019 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2020 HILDON2_CFLAGS
2021 C compiler flags for HILDON2, overriding pkg-config
2022 HILDON2_LIBS
2023 linker flags for HILDON2, overriding pkg-config
2024 CAIRO_CFLAGS
2025 C compiler flags for CAIRO, overriding pkg-config
2026 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2027 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2028 GST_LIBS linker flags for GST, overriding pkg-config
2029
2030 Use these variables to override the choices made by `configure' or to help
2031 it to find libraries and programs with nonstandard names/locations.
2032
2033 Report bugs to <wx-dev@lists.wxwidgets.org>.
2034 _ACEOF
2035 ac_status=$?
2036 fi
2037
2038 if test "$ac_init_help" = "recursive"; then
2039 # If there are subdirs, report their specific --help.
2040 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2041 test -d "$ac_dir" || continue
2042 ac_builddir=.
2043
2044 case "$ac_dir" in
2045 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2046 *)
2047 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2048 # A ".." for each directory in $ac_dir_suffix.
2049 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2050 case $ac_top_builddir_sub in
2051 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2052 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2053 esac ;;
2054 esac
2055 ac_abs_top_builddir=$ac_pwd
2056 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2057 # for backward compatibility:
2058 ac_top_builddir=$ac_top_build_prefix
2059
2060 case $srcdir in
2061 .) # We are building in place.
2062 ac_srcdir=.
2063 ac_top_srcdir=$ac_top_builddir_sub
2064 ac_abs_top_srcdir=$ac_pwd ;;
2065 [\\/]* | ?:[\\/]* ) # Absolute name.
2066 ac_srcdir=$srcdir$ac_dir_suffix;
2067 ac_top_srcdir=$srcdir
2068 ac_abs_top_srcdir=$srcdir ;;
2069 *) # Relative name.
2070 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2071 ac_top_srcdir=$ac_top_build_prefix$srcdir
2072 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2073 esac
2074 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2075
2076 cd "$ac_dir" || { ac_status=$?; continue; }
2077 # Check for guested configure.
2078 if test -f "$ac_srcdir/configure.gnu"; then
2079 echo &&
2080 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2081 elif test -f "$ac_srcdir/configure"; then
2082 echo &&
2083 $SHELL "$ac_srcdir/configure" --help=recursive
2084 else
2085 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2086 fi || ac_status=$?
2087 cd "$ac_pwd" || { ac_status=$?; break; }
2088 done
2089 fi
2090
2091 test -n "$ac_init_help" && exit $ac_status
2092 if $ac_init_version; then
2093 cat <<\_ACEOF
2094 wxWidgets configure 2.9.2
2095 generated by GNU Autoconf 2.61
2096
2097 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2098 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2099 This configure script is free software; the Free Software Foundation
2100 gives unlimited permission to copy, distribute and modify it.
2101 _ACEOF
2102 exit
2103 fi
2104 cat >config.log <<_ACEOF
2105 This file contains any messages produced by compilers while
2106 running configure, to aid debugging if configure makes a mistake.
2107
2108 It was created by wxWidgets $as_me 2.9.2, which was
2109 generated by GNU Autoconf 2.61. Invocation command line was
2110
2111 $ $0 $@
2112
2113 _ACEOF
2114 exec 5>>config.log
2115 {
2116 cat <<_ASUNAME
2117 ## --------- ##
2118 ## Platform. ##
2119 ## --------- ##
2120
2121 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2122 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2123 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2124 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2125 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2126
2127 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2128 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2129
2130 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2131 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2132 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2133 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2134 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2135 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2136 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2137
2138 _ASUNAME
2139
2140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141 for as_dir in $PATH
2142 do
2143 IFS=$as_save_IFS
2144 test -z "$as_dir" && as_dir=.
2145 echo "PATH: $as_dir"
2146 done
2147 IFS=$as_save_IFS
2148
2149 } >&5
2150
2151 cat >&5 <<_ACEOF
2152
2153
2154 ## ----------- ##
2155 ## Core tests. ##
2156 ## ----------- ##
2157
2158 _ACEOF
2159
2160
2161 # Keep a trace of the command line.
2162 # Strip out --no-create and --no-recursion so they do not pile up.
2163 # Strip out --silent because we don't want to record it for future runs.
2164 # Also quote any args containing shell meta-characters.
2165 # Make two passes to allow for proper duplicate-argument suppression.
2166 ac_configure_args=
2167 ac_configure_args0=
2168 ac_configure_args1=
2169 ac_must_keep_next=false
2170 for ac_pass in 1 2
2171 do
2172 for ac_arg
2173 do
2174 case $ac_arg in
2175 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2176 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2177 | -silent | --silent | --silen | --sile | --sil)
2178 continue ;;
2179 *\'*)
2180 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2181 esac
2182 case $ac_pass in
2183 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2184 2)
2185 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2186 if test $ac_must_keep_next = true; then
2187 ac_must_keep_next=false # Got value, back to normal.
2188 else
2189 case $ac_arg in
2190 *=* | --config-cache | -C | -disable-* | --disable-* \
2191 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2192 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2193 | -with-* | --with-* | -without-* | --without-* | --x)
2194 case "$ac_configure_args0 " in
2195 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2196 esac
2197 ;;
2198 -* ) ac_must_keep_next=true ;;
2199 esac
2200 fi
2201 ac_configure_args="$ac_configure_args '$ac_arg'"
2202 ;;
2203 esac
2204 done
2205 done
2206 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2207 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2208
2209 # When interrupted or exit'd, cleanup temporary files, and complete
2210 # config.log. We remove comments because anyway the quotes in there
2211 # would cause problems or look ugly.
2212 # WARNING: Use '\'' to represent an apostrophe within the trap.
2213 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2214 trap 'exit_status=$?
2215 # Save into config.log some information that might help in debugging.
2216 {
2217 echo
2218
2219 cat <<\_ASBOX
2220 ## ---------------- ##
2221 ## Cache variables. ##
2222 ## ---------------- ##
2223 _ASBOX
2224 echo
2225 # The following way of writing the cache mishandles newlines in values,
2226 (
2227 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2228 eval ac_val=\$$ac_var
2229 case $ac_val in #(
2230 *${as_nl}*)
2231 case $ac_var in #(
2232 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2233 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2234 esac
2235 case $ac_var in #(
2236 _ | IFS | as_nl) ;; #(
2237 *) $as_unset $ac_var ;;
2238 esac ;;
2239 esac
2240 done
2241 (set) 2>&1 |
2242 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2243 *${as_nl}ac_space=\ *)
2244 sed -n \
2245 "s/'\''/'\''\\\\'\'''\''/g;
2246 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2247 ;; #(
2248 *)
2249 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2250 ;;
2251 esac |
2252 sort
2253 )
2254 echo
2255
2256 cat <<\_ASBOX
2257 ## ----------------- ##
2258 ## Output variables. ##
2259 ## ----------------- ##
2260 _ASBOX
2261 echo
2262 for ac_var in $ac_subst_vars
2263 do
2264 eval ac_val=\$$ac_var
2265 case $ac_val in
2266 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2267 esac
2268 echo "$ac_var='\''$ac_val'\''"
2269 done | sort
2270 echo
2271
2272 if test -n "$ac_subst_files"; then
2273 cat <<\_ASBOX
2274 ## ------------------- ##
2275 ## File substitutions. ##
2276 ## ------------------- ##
2277 _ASBOX
2278 echo
2279 for ac_var in $ac_subst_files
2280 do
2281 eval ac_val=\$$ac_var
2282 case $ac_val in
2283 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2284 esac
2285 echo "$ac_var='\''$ac_val'\''"
2286 done | sort
2287 echo
2288 fi
2289
2290 if test -s confdefs.h; then
2291 cat <<\_ASBOX
2292 ## ----------- ##
2293 ## confdefs.h. ##
2294 ## ----------- ##
2295 _ASBOX
2296 echo
2297 cat confdefs.h
2298 echo
2299 fi
2300 test "$ac_signal" != 0 &&
2301 echo "$as_me: caught signal $ac_signal"
2302 echo "$as_me: exit $exit_status"
2303 } >&5
2304 rm -f core *.core core.conftest.* &&
2305 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2306 exit $exit_status
2307 ' 0
2308 for ac_signal in 1 2 13 15; do
2309 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2310 done
2311 ac_signal=0
2312
2313 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2314 rm -f -r conftest* confdefs.h
2315
2316 # Predefined preprocessor variables.
2317
2318 cat >>confdefs.h <<_ACEOF
2319 #define PACKAGE_NAME "$PACKAGE_NAME"
2320 _ACEOF
2321
2322
2323 cat >>confdefs.h <<_ACEOF
2324 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2325 _ACEOF
2326
2327
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2330 _ACEOF
2331
2332
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_STRING "$PACKAGE_STRING"
2335 _ACEOF
2336
2337
2338 cat >>confdefs.h <<_ACEOF
2339 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2340 _ACEOF
2341
2342
2343 # Let the site file select an alternate cache file if it wants to.
2344 # Prefer explicitly selected file to automatically selected ones.
2345 if test -n "$CONFIG_SITE"; then
2346 set x "$CONFIG_SITE"
2347 elif test "x$prefix" != xNONE; then
2348 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2349 else
2350 set x "$ac_default_prefix/share/config.site" \
2351 "$ac_default_prefix/etc/config.site"
2352 fi
2353 shift
2354 for ac_site_file
2355 do
2356 if test -r "$ac_site_file"; then
2357 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2358 echo "$as_me: loading site script $ac_site_file" >&6;}
2359 sed 's/^/| /' "$ac_site_file" >&5
2360 . "$ac_site_file"
2361 fi
2362 done
2363
2364 if test -r "$cache_file"; then
2365 # Some versions of bash will fail to source /dev/null (special
2366 # files actually), so we avoid doing that.
2367 if test -f "$cache_file"; then
2368 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2369 echo "$as_me: loading cache $cache_file" >&6;}
2370 case $cache_file in
2371 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2372 *) . "./$cache_file";;
2373 esac
2374 fi
2375 else
2376 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2377 echo "$as_me: creating cache $cache_file" >&6;}
2378 >$cache_file
2379 fi
2380
2381 # Check that the precious variables saved in the cache have kept the same
2382 # value.
2383 ac_cache_corrupted=false
2384 for ac_var in $ac_precious_vars; do
2385 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2386 eval ac_new_set=\$ac_env_${ac_var}_set
2387 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2388 eval ac_new_val=\$ac_env_${ac_var}_value
2389 case $ac_old_set,$ac_new_set in
2390 set,)
2391 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2392 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2393 ac_cache_corrupted=: ;;
2394 ,set)
2395 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2396 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2397 ac_cache_corrupted=: ;;
2398 ,);;
2399 *)
2400 if test "x$ac_old_val" != "x$ac_new_val"; then
2401 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2402 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2403 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2404 echo "$as_me: former value: $ac_old_val" >&2;}
2405 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2406 echo "$as_me: current value: $ac_new_val" >&2;}
2407 ac_cache_corrupted=:
2408 fi;;
2409 esac
2410 # Pass precious variables to config.status.
2411 if test "$ac_new_set" = set; then
2412 case $ac_new_val in
2413 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2414 *) ac_arg=$ac_var=$ac_new_val ;;
2415 esac
2416 case " $ac_configure_args " in
2417 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2418 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2419 esac
2420 fi
2421 done
2422 if $ac_cache_corrupted; then
2423 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2424 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2425 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2426 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2427 { (exit 1); exit 1; }; }
2428 fi
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454 ac_ext=c
2455 ac_cpp='$CPP $CPPFLAGS'
2456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2459
2460
2461
2462
2463
2464 ac_aux_dir=
2465 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2466 if test -f "$ac_dir/install-sh"; then
2467 ac_aux_dir=$ac_dir
2468 ac_install_sh="$ac_aux_dir/install-sh -c"
2469 break
2470 elif test -f "$ac_dir/install.sh"; then
2471 ac_aux_dir=$ac_dir
2472 ac_install_sh="$ac_aux_dir/install.sh -c"
2473 break
2474 elif test -f "$ac_dir/shtool"; then
2475 ac_aux_dir=$ac_dir
2476 ac_install_sh="$ac_aux_dir/shtool install -c"
2477 break
2478 fi
2479 done
2480 if test -z "$ac_aux_dir"; then
2481 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2482 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2483 { (exit 1); exit 1; }; }
2484 fi
2485
2486 # These three variables are undocumented and unsupported,
2487 # and are intended to be withdrawn in a future Autoconf release.
2488 # They can cause serious problems if a builder's source tree is in a directory
2489 # whose full name contains unusual characters.
2490 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2491 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2492 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2493
2494
2495 # Make sure we can run config.sub.
2496 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2497 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2498 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2499 { (exit 1); exit 1; }; }
2500
2501 { echo "$as_me:$LINENO: checking build system type" >&5
2502 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2503 if test "${ac_cv_build+set}" = set; then
2504 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 else
2506 ac_build_alias=$build_alias
2507 test "x$ac_build_alias" = x &&
2508 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2509 test "x$ac_build_alias" = x &&
2510 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2511 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2512 { (exit 1); exit 1; }; }
2513 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2514 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2515 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2516 { (exit 1); exit 1; }; }
2517
2518 fi
2519 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2520 echo "${ECHO_T}$ac_cv_build" >&6; }
2521 case $ac_cv_build in
2522 *-*-*) ;;
2523 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2524 echo "$as_me: error: invalid value of canonical build" >&2;}
2525 { (exit 1); exit 1; }; };;
2526 esac
2527 build=$ac_cv_build
2528 ac_save_IFS=$IFS; IFS='-'
2529 set x $ac_cv_build
2530 shift
2531 build_cpu=$1
2532 build_vendor=$2
2533 shift; shift
2534 # Remember, the first character of IFS is used to create $*,
2535 # except with old shells:
2536 build_os=$*
2537 IFS=$ac_save_IFS
2538 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2539
2540
2541 { echo "$as_me:$LINENO: checking host system type" >&5
2542 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2543 if test "${ac_cv_host+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 else
2546 if test "x$host_alias" = x; then
2547 ac_cv_host=$ac_cv_build
2548 else
2549 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2550 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2551 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2552 { (exit 1); exit 1; }; }
2553 fi
2554
2555 fi
2556 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2557 echo "${ECHO_T}$ac_cv_host" >&6; }
2558 case $ac_cv_host in
2559 *-*-*) ;;
2560 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2561 echo "$as_me: error: invalid value of canonical host" >&2;}
2562 { (exit 1); exit 1; }; };;
2563 esac
2564 host=$ac_cv_host
2565 ac_save_IFS=$IFS; IFS='-'
2566 set x $ac_cv_host
2567 shift
2568 host_cpu=$1
2569 host_vendor=$2
2570 shift; shift
2571 # Remember, the first character of IFS is used to create $*,
2572 # except with old shells:
2573 host_os=$*
2574 IFS=$ac_save_IFS
2575 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2576
2577
2578
2579 if test "$cross_compiling" != "no"; then
2580 HOST_PREFIX="${host_alias}-"
2581 HOST_SUFFIX="-$host_alias"
2582 else
2583 HOST_PREFIX=
2584 HOST_SUFFIX=
2585 fi
2586
2587
2588 wx_major_version_number=2
2589 wx_minor_version_number=9
2590 wx_release_number=2
2591 wx_subrelease_number=0
2592
2593 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2594 WX_VERSION=$WX_RELEASE.$wx_release_number
2595 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2596
2597 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2598
2599
2600 wx_top_builddir="`pwd`"
2601
2602
2603
2604
2605 USE_UNIX=1
2606 USE_OS2=0
2607 USE_WIN32=0
2608 USE_DOS=0
2609 USE_BEOS=0
2610 USE_MAC=0
2611
2612 USE_AIX=
2613 USE_BSD= USE_DARWIN= USE_FREEBSD=
2614 USE_GNU= USE_HPUX=
2615 USE_LINUX=
2616 USE_NETBSD=
2617 USE_OPENBSD=
2618 USE_OSF= USE_SGI=
2619 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2620 USE_ULTRIX=
2621 USE_UNIXWARE=
2622
2623 USE_ALPHA=
2624
2625 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2626
2627 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2628
2629 DEFAULT_wxUSE_OLD_COCOA=0
2630 DEFAULT_wxUSE_GTK=0
2631 DEFAULT_wxUSE_OSX_CARBON=0
2632 DEFAULT_wxUSE_OSX_COCOA=0
2633 DEFAULT_wxUSE_OSX_IPHONE=0
2634 DEFAULT_wxUSE_MGL=0
2635 DEFAULT_wxUSE_MICROWIN=0
2636 DEFAULT_wxUSE_MOTIF=0
2637 DEFAULT_wxUSE_MSW=0
2638 DEFAULT_wxUSE_PM=0
2639 DEFAULT_wxUSE_X11=0
2640 DEFAULT_wxUSE_DFB=0
2641
2642 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2643 DEFAULT_DEFAULT_wxUSE_GTK=0
2644 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2645 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2646 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2647 DEFAULT_DEFAULT_wxUSE_MGL=0
2648 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2649 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2650 DEFAULT_DEFAULT_wxUSE_MSW=0
2651 DEFAULT_DEFAULT_wxUSE_PM=0
2652 DEFAULT_DEFAULT_wxUSE_X11=0
2653 DEFAULT_DEFAULT_wxUSE_DFB=0
2654
2655 PROGRAM_EXT=
2656 SAMPLES_RPATH_FLAG=
2657 DYLIB_RPATH_INSTALL=
2658 DYLIB_RPATH_POSTLINK=
2659
2660 DEFAULT_STD_FLAG=yes
2661
2662 case "${host}" in
2663 *-hp-hpux* )
2664 USE_HPUX=1
2665 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2666 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2667 cat >>confdefs.h <<\_ACEOF
2668 #define __HPUX__ 1
2669 _ACEOF
2670
2671
2672 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2673 ;;
2674 *-*-linux* )
2675 USE_LINUX=1
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __LINUX__ 1
2678 _ACEOF
2679
2680 TMP=`uname -m`
2681 if test "x$TMP" = "xalpha"; then
2682 USE_ALPHA=1
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __ALPHA__ 1
2685 _ACEOF
2686
2687 fi
2688 DEFAULT_DEFAULT_wxUSE_GTK=1
2689 ;;
2690 *-*-gnu* | *-*-k*bsd*-gnu )
2691 USE_GNU=1
2692 TMP=`uname -m`
2693 if test "x$TMP" = "xalpha"; then
2694 USE_ALPHA=1
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __ALPHA__ 1
2697 _ACEOF
2698
2699 fi
2700 DEFAULT_DEFAULT_wxUSE_GTK=1
2701 ;;
2702 *-*-irix5* | *-*-irix6* )
2703 USE_SGI=1
2704 USE_SVR4=1
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __SGI__ 1
2707 _ACEOF
2708
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __SVR4__ 1
2711 _ACEOF
2712
2713 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2714 ;;
2715 *-*-qnx*)
2716 USE_QNX=1
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __QNX__ 1
2719 _ACEOF
2720
2721 DEFAULT_DEFAULT_wxUSE_X11=1
2722 ;;
2723 *-*-solaris2* )
2724 USE_SUN=1
2725 USE_SOLARIS=1
2726 USE_SVR4=1
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __SUN__ 1
2729 _ACEOF
2730
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __SOLARIS__ 1
2733 _ACEOF
2734
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __SVR4__ 1
2737 _ACEOF
2738
2739 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2740 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2741 ;;
2742 *-*-sunos4* )
2743 USE_SUN=1
2744 USE_SUNOS=1
2745 USE_BSD=1
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __SUN__ 1
2748 _ACEOF
2749
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __SUNOS__ 1
2752 _ACEOF
2753
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __BSD__ 1
2756 _ACEOF
2757
2758 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2759 ;;
2760 *-*-freebsd*)
2761 USE_BSD=1
2762 USE_FREEBSD=1
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __FREEBSD__ 1
2765 _ACEOF
2766
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __BSD__ 1
2769 _ACEOF
2770
2771 DEFAULT_DEFAULT_wxUSE_GTK=1
2772 ;;
2773 *-*-openbsd*|*-*-mirbsd*)
2774 USE_BSD=1
2775 USE_OPENBSD=1
2776 cat >>confdefs.h <<\_ACEOF
2777 #define __OPENBSD__ 1
2778 _ACEOF
2779
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __BSD__ 1
2782 _ACEOF
2783
2784 DEFAULT_DEFAULT_wxUSE_GTK=1
2785 ;;
2786 *-*-netbsd*)
2787 USE_BSD=1
2788 USE_NETBSD=1
2789 cat >>confdefs.h <<\_ACEOF
2790 #define __NETBSD__ 1
2791 _ACEOF
2792
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __BSD__ 1
2795 _ACEOF
2796
2797 DEFAULT_DEFAULT_wxUSE_GTK=1
2798 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2799
2800 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2801 ;;
2802 *-*-osf* )
2803 USE_ALPHA=1
2804 USE_OSF=1
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __ALPHA__ 1
2807 _ACEOF
2808
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __OSF__ 1
2811 _ACEOF
2812
2813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2814 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2815 ;;
2816 *-*-dgux5* )
2817 USE_ALPHA=1
2818 USE_SVR4=1
2819 cat >>confdefs.h <<\_ACEOF
2820 #define __ALPHA__ 1
2821 _ACEOF
2822
2823 cat >>confdefs.h <<\_ACEOF
2824 #define __SVR4__ 1
2825 _ACEOF
2826
2827 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2828 ;;
2829 *-*-sysv5* )
2830 USE_SYSV=1
2831 USE_SVR4=1
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __SYSV__ 1
2834 _ACEOF
2835
2836 cat >>confdefs.h <<\_ACEOF
2837 #define __SVR4__ 1
2838 _ACEOF
2839
2840 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2841 ;;
2842 *-*-aix* )
2843 USE_AIX=1
2844 USE_SYSV=1
2845 USE_SVR4=1
2846 cat >>confdefs.h <<\_ACEOF
2847 #define __AIX__ 1
2848 _ACEOF
2849
2850 cat >>confdefs.h <<\_ACEOF
2851 #define __SYSV__ 1
2852 _ACEOF
2853
2854 cat >>confdefs.h <<\_ACEOF
2855 #define __SVR4__ 1
2856 _ACEOF
2857
2858 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2859 ;;
2860
2861 *-*-*UnixWare*)
2862 USE_SYSV=1
2863 USE_SVR4=1
2864 USE_UNIXWARE=1
2865 cat >>confdefs.h <<\_ACEOF
2866 #define __UNIXWARE__ 1
2867 _ACEOF
2868
2869 ;;
2870
2871 *-*-cygwin* | *-*-mingw32* )
2872 PROGRAM_EXT=".exe"
2873 DEFAULT_DEFAULT_wxUSE_MSW=1
2874 ;;
2875
2876 *-pc-msdosdjgpp )
2877 USE_UNIX=0
2878 USE_DOS=1
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __DOS__ 1
2881 _ACEOF
2882
2883 PROGRAM_EXT=".exe"
2884 DEFAULT_DEFAULT_wxUSE_MGL=1
2885 ;;
2886
2887 *-pc-os2_emx | *-pc-os2-emx )
2888 cat >>confdefs.h <<\_ACEOF
2889 #define __EMX__ 1
2890 _ACEOF
2891
2892 USE_OS2=1
2893 cat >>confdefs.h <<\_ACEOF
2894 #define __OS2__ 1
2895 _ACEOF
2896
2897 PROGRAM_EXT=".exe"
2898 DEFAULT_DEFAULT_wxUSE_PM=1
2899 CXX=gcc
2900 LDFLAGS="$LDFLAGS -Zcrtdll"
2901 ac_executable_extensions=".exe"
2902 export ac_executable_extensions
2903 ac_save_IFS="$IFS"
2904 IFS='\\'
2905 ac_TEMP_PATH=
2906 for ac_dir in $PATH; do
2907 IFS=$ac_save_IFS
2908 if test -z "$ac_TEMP_PATH"; then
2909 ac_TEMP_PATH="$ac_dir"
2910 else
2911 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2912 fi
2913 done
2914 export PATH="$ac_TEMP_PATH"
2915 unset ac_TEMP_PATH
2916 DEFAULT_STD_FLAG=no
2917 ;;
2918
2919 arm-apple-darwin*)
2920 USE_BSD=1
2921 USE_DARWIN=1
2922 cat >>confdefs.h <<\_ACEOF
2923 #define __BSD__ 1
2924 _ACEOF
2925
2926 cat >>confdefs.h <<\_ACEOF
2927 #define __DARWIN__ 1
2928 _ACEOF
2929
2930 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2931 ;;
2932
2933 *-*-darwin* )
2934 USE_BSD=1
2935 USE_DARWIN=1
2936 cat >>confdefs.h <<\_ACEOF
2937 #define __BSD__ 1
2938 _ACEOF
2939
2940 cat >>confdefs.h <<\_ACEOF
2941 #define __DARWIN__ 1
2942 _ACEOF
2943
2944 cat >>confdefs.h <<\_ACEOF
2945 #define TARGET_CARBON 1
2946 _ACEOF
2947
2948 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2949 ;;
2950
2951 *-*-beos* )
2952 USE_BEOS=1
2953 cat >>confdefs.h <<\_ACEOF
2954 #define __BEOS__ 1
2955 _ACEOF
2956
2957 ;;
2958
2959 *)
2960 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2961 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2962 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2963 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2964
2965 DEFAULT_DEFAULT_wxUSE_X11=1
2966 DEFAULT_wxUSE_SHARED=no
2967 esac
2968
2969
2970
2971 DEFAULT_wxUSE_ALL_FEATURES=yes
2972
2973 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2974 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2975
2976 DEFAULT_wxUSE_DMALLOC=no
2977 DEFAULT_wxUSE_LIBGNOMEVFS=no
2978 DEFAULT_wxUSE_LIBHILDON=no
2979 DEFAULT_wxUSE_LIBHILDON2=no
2980 DEFAULT_wxUSE_LIBMSPACK=no
2981 DEFAULT_wxUSE_LIBSDL=no
2982
2983 DEFAULT_wxUSE_ACCESSIBILITY=no
2984 DEFAULT_wxUSE_IPV6=no
2985 DEFAULT_wxUSE_GSTREAMER8=no
2986
2987 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2988 DEFAULT_wxUSE_UNICODE_UTF8=auto
2989 DEFAULT_wxUSE_OPENGL=auto
2990 DEFAULT_wxUSE_MEDIACTRL=auto
2991 DEFAULT_wxUSE_COMPILER_TLS=auto
2992
2993 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2994
2995 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2996 DEFAULT_wxUSE_MAC_ARCH=no
2997
2998 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2999
3000 DEFAULT_wxUSE_GTK2=yes
3001
3002 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3003
3004
3005
3006
3007
3008 enablestring=disable
3009 defaultval=
3010 if test -z "$defaultval"; then
3011 if test x"$enablestring" = xdisable; then
3012 defaultval=yes
3013 else
3014 defaultval=no
3015 fi
3016 fi
3017
3018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3019 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3020 # Check whether --enable-gui was given.
3021 if test "${enable_gui+set}" = set; then
3022 enableval=$enable_gui;
3023 if test "$enableval" = yes; then
3024 wx_cv_use_gui='wxUSE_GUI=yes'
3025 else
3026 wx_cv_use_gui='wxUSE_GUI=no'
3027 fi
3028
3029 else
3030
3031 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3032
3033 fi
3034
3035
3036 eval "$wx_cv_use_gui"
3037
3038 if test x"$enablestring" = xdisable; then
3039 if test $wxUSE_GUI = no; then
3040 result=yes
3041 else
3042 result=no
3043 fi
3044 else
3045 result=$wxUSE_GUI
3046 fi
3047
3048 { echo "$as_me:$LINENO: result: $result" >&5
3049 echo "${ECHO_T}$result" >&6; }
3050
3051
3052 enablestring=
3053 defaultval=
3054 if test -z "$defaultval"; then
3055 if test x"$enablestring" = xdisable; then
3056 defaultval=yes
3057 else
3058 defaultval=no
3059 fi
3060 fi
3061
3062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3063 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3064 # Check whether --enable-monolithic was given.
3065 if test "${enable_monolithic+set}" = set; then
3066 enableval=$enable_monolithic;
3067 if test "$enableval" = yes; then
3068 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3069 else
3070 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3071 fi
3072
3073 else
3074
3075 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3076
3077 fi
3078
3079
3080 eval "$wx_cv_use_monolithic"
3081
3082 if test x"$enablestring" = xdisable; then
3083 if test $wxUSE_MONOLITHIC = no; then
3084 result=yes
3085 else
3086 result=no
3087 fi
3088 else
3089 result=$wxUSE_MONOLITHIC
3090 fi
3091
3092 { echo "$as_me:$LINENO: result: $result" >&5
3093 echo "${ECHO_T}$result" >&6; }
3094
3095
3096 enablestring=
3097 defaultval=
3098 if test -z "$defaultval"; then
3099 if test x"$enablestring" = xdisable; then
3100 defaultval=yes
3101 else
3102 defaultval=no
3103 fi
3104 fi
3105
3106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3107 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3108 # Check whether --enable-plugins was given.
3109 if test "${enable_plugins+set}" = set; then
3110 enableval=$enable_plugins;
3111 if test "$enableval" = yes; then
3112 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3113 else
3114 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3115 fi
3116
3117 else
3118
3119 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3120
3121 fi
3122
3123
3124 eval "$wx_cv_use_plugins"
3125
3126 if test x"$enablestring" = xdisable; then
3127 if test $wxUSE_PLUGINS = no; then
3128 result=yes
3129 else
3130 result=no
3131 fi
3132 else
3133 result=$wxUSE_PLUGINS
3134 fi
3135
3136 { echo "$as_me:$LINENO: result: $result" >&5
3137 echo "${ECHO_T}$result" >&6; }
3138
3139
3140 withstring=without
3141 defaultval=$wxUSE_ALL_FEATURES
3142 if test -z "$defaultval"; then
3143 if test x"$withstring" = xwithout; then
3144 defaultval=yes
3145 else
3146 defaultval=no
3147 fi
3148 fi
3149 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3150 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3151
3152 # Check whether --with-subdirs was given.
3153 if test "${with_subdirs+set}" = set; then
3154 withval=$with_subdirs;
3155 if test "$withval" = yes; then
3156 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3157 else
3158 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3159 fi
3160
3161 else
3162
3163 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3164
3165 fi
3166
3167
3168 eval "$wx_cv_use_subdirs"
3169
3170 if test x"$withstring" = xwithout; then
3171 if test $wxWITH_SUBDIRS = yes; then
3172 result=no
3173 else
3174 result=yes
3175 fi
3176 else
3177 result=$wxWITH_SUBDIRS
3178 fi
3179
3180 { echo "$as_me:$LINENO: result: $result" >&5
3181 echo "${ECHO_T}$result" >&6; }
3182
3183
3184 # Check whether --with-flavour was given.
3185 if test "${with_flavour+set}" = set; then
3186 withval=$with_flavour; WX_FLAVOUR="$withval"
3187 fi
3188
3189
3190 enablestring=
3191 defaultval=
3192 if test -z "$defaultval"; then
3193 if test x"$enablestring" = xdisable; then
3194 defaultval=yes
3195 else
3196 defaultval=no
3197 fi
3198 fi
3199
3200 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3201 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3202 # Check whether --enable-official_build was given.
3203 if test "${enable_official_build+set}" = set; then
3204 enableval=$enable_official_build;
3205 if test "$enableval" = yes; then
3206 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3207 else
3208 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3209 fi
3210
3211 else
3212
3213 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3214
3215 fi
3216
3217
3218 eval "$wx_cv_use_official_build"
3219
3220 if test x"$enablestring" = xdisable; then
3221 if test $wxUSE_OFFICIAL_BUILD = no; then
3222 result=yes
3223 else
3224 result=no
3225 fi
3226 else
3227 result=$wxUSE_OFFICIAL_BUILD
3228 fi
3229
3230 { echo "$as_me:$LINENO: result: $result" >&5
3231 echo "${ECHO_T}$result" >&6; }
3232
3233 # Check whether --enable-vendor was given.
3234 if test "${enable_vendor+set}" = set; then
3235 enableval=$enable_vendor; VENDOR="$enableval"
3236 fi
3237
3238 if test "x$VENDOR" = "x"; then
3239 VENDOR="custom"
3240 fi
3241
3242
3243 enablestring=disable
3244 defaultval=
3245 if test -z "$defaultval"; then
3246 if test x"$enablestring" = xdisable; then
3247 defaultval=yes
3248 else
3249 defaultval=no
3250 fi
3251 fi
3252
3253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3254 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3255 # Check whether --enable-all-features was given.
3256 if test "${enable_all_features+set}" = set; then
3257 enableval=$enable_all_features;
3258 if test "$enableval" = yes; then
3259 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3260 else
3261 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3262 fi
3263
3264 else
3265
3266 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3267
3268 fi
3269
3270
3271 eval "$wx_cv_use_all_features"
3272
3273 if test x"$enablestring" = xdisable; then
3274 if test $wxUSE_ALL_FEATURES = no; then
3275 result=yes
3276 else
3277 result=no
3278 fi
3279 else
3280 result=$wxUSE_ALL_FEATURES
3281 fi
3282
3283 { echo "$as_me:$LINENO: result: $result" >&5
3284 echo "${ECHO_T}$result" >&6; }
3285
3286
3287 if test "$wxUSE_ALL_FEATURES" = "no"; then
3288 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3289 DEFAULT_wxUSE_MEDIACTRL=no
3290 fi
3291
3292
3293 if test "$wxUSE_GUI" = "yes"; then
3294
3295
3296 enablestring=
3297 defaultval=
3298 if test -z "$defaultval"; then
3299 if test x"$enablestring" = xdisable; then
3300 defaultval=yes
3301 else
3302 defaultval=no
3303 fi
3304 fi
3305
3306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3307 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3308 # Check whether --enable-universal was given.
3309 if test "${enable_universal+set}" = set; then
3310 enableval=$enable_universal;
3311 if test "$enableval" = yes; then
3312 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3313 else
3314 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3315 fi
3316
3317 else
3318
3319 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3320
3321 fi
3322
3323
3324 eval "$wx_cv_use_universal"
3325
3326 if test x"$enablestring" = xdisable; then
3327 if test $wxUSE_UNIVERSAL = no; then
3328 result=yes
3329 else
3330 result=no
3331 fi
3332 else
3333 result=$wxUSE_UNIVERSAL
3334 fi
3335
3336 { echo "$as_me:$LINENO: result: $result" >&5
3337 echo "${ECHO_T}$result" >&6; }
3338
3339 if test "$wxUSE_UNIVERSAL" = "yes"; then
3340
3341 # Check whether --with-themes was given.
3342 if test "${with_themes+set}" = set; then
3343 withval=$with_themes; wxUNIV_THEMES="$withval"
3344 fi
3345
3346 fi
3347
3348
3349 # Check whether --with-gtk was given.
3350 if test "${with_gtk+set}" = set; then
3351 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3352 fi
3353
3354
3355 # Check whether --with-motif was given.
3356 if test "${with_motif+set}" = set; then
3357 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3358 fi
3359
3360
3361 # Check whether --with-osx_carbon was given.
3362 if test "${with_osx_carbon+set}" = set; then
3363 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3364 fi
3365
3366
3367 # Check whether --with-osx_cocoa was given.
3368 if test "${with_osx_cocoa+set}" = set; then
3369 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3370 fi
3371
3372
3373 # Check whether --with-osx_iphone was given.
3374 if test "${with_osx_iphone+set}" = set; then
3375 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3376 fi
3377
3378
3379 # Check whether --with-osx was given.
3380 if test "${with_osx+set}" = set; then
3381 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3382 fi
3383
3384
3385 # Check whether --with-carbon was given.
3386 if test "${with_carbon+set}" = set; then
3387 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3388 fi
3389
3390
3391 # Check whether --with-cocoa was given.
3392 if test "${with_cocoa+set}" = set; then
3393 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3394 fi
3395
3396
3397 # Check whether --with-iphone was given.
3398 if test "${with_iphone+set}" = set; then
3399 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3400 fi
3401
3402
3403 # Check whether --with-mac was given.
3404 if test "${with_mac+set}" = set; then
3405 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3406 fi
3407
3408
3409 # Check whether --with-old_cocoa was given.
3410 if test "${with_old_cocoa+set}" = set; then
3411 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3412 fi
3413
3414
3415 # Check whether --with-wine was given.
3416 if test "${with_wine+set}" = set; then
3417 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3418 fi
3419
3420
3421 # Check whether --with-msw was given.
3422 if test "${with_msw+set}" = set; then
3423 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3424 fi
3425
3426
3427 # Check whether --with-pm was given.
3428 if test "${with_pm+set}" = set; then
3429 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3430 fi
3431
3432
3433 # Check whether --with-mgl was given.
3434 if test "${with_mgl+set}" = set; then
3435 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3436 fi
3437
3438
3439 # Check whether --with-directfb was given.
3440 if test "${with_directfb+set}" = set; then
3441 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3442 fi
3443
3444
3445 # Check whether --with-microwin was given.
3446 if test "${with_microwin+set}" = set; then
3447 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3448 fi
3449
3450
3451 # Check whether --with-x11 was given.
3452 if test "${with_x11+set}" = set; then
3453 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3454 fi
3455
3456
3457 enablestring=
3458 defaultval=
3459 if test -z "$defaultval"; then
3460 if test x"$enablestring" = xdisable; then
3461 defaultval=yes
3462 else
3463 defaultval=no
3464 fi
3465 fi
3466
3467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3469 # Check whether --enable-nanox was given.
3470 if test "${enable_nanox+set}" = set; then
3471 enableval=$enable_nanox;
3472 if test "$enableval" = yes; then
3473 wx_cv_use_nanox='wxUSE_NANOX=yes'
3474 else
3475 wx_cv_use_nanox='wxUSE_NANOX=no'
3476 fi
3477
3478 else
3479
3480 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3481
3482 fi
3483
3484
3485 eval "$wx_cv_use_nanox"
3486
3487 if test x"$enablestring" = xdisable; then
3488 if test $wxUSE_NANOX = no; then
3489 result=yes
3490 else
3491 result=no
3492 fi
3493 else
3494 result=$wxUSE_NANOX
3495 fi
3496
3497 { echo "$as_me:$LINENO: result: $result" >&5
3498 echo "${ECHO_T}$result" >&6; }
3499
3500
3501 # Check whether --enable-gtk2 was given.
3502 if test "${enable_gtk2+set}" = set; then
3503 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3504 fi
3505
3506
3507 enablestring=
3508 defaultval=
3509 if test -z "$defaultval"; then
3510 if test x"$enablestring" = xdisable; then
3511 defaultval=yes
3512 else
3513 defaultval=no
3514 fi
3515 fi
3516
3517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3518 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3519 # Check whether --enable-gpe was given.
3520 if test "${enable_gpe+set}" = set; then
3521 enableval=$enable_gpe;
3522 if test "$enableval" = yes; then
3523 wx_cv_use_gpe='wxUSE_GPE=yes'
3524 else
3525 wx_cv_use_gpe='wxUSE_GPE=no'
3526 fi
3527
3528 else
3529
3530 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3531
3532 fi
3533
3534
3535 eval "$wx_cv_use_gpe"
3536
3537 if test x"$enablestring" = xdisable; then
3538 if test $wxUSE_GPE = no; then
3539 result=yes
3540 else
3541 result=no
3542 fi
3543 else
3544 result=$wxUSE_GPE
3545 fi
3546
3547 { echo "$as_me:$LINENO: result: $result" >&5
3548 echo "${ECHO_T}$result" >&6; }
3549
3550
3551
3552 { echo "$as_me:$LINENO: checking for toolkit" >&5
3553 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3554
3555
3556
3557 # In Wine, we need to default to MSW, not GTK or MOTIF
3558 if test "$wxUSE_WINE" = "yes"; then
3559 DEFAULT_DEFAULT_wxUSE_GTK=0
3560 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3561 DEFAULT_DEFAULT_wxUSE_MSW=1
3562 wxUSE_SHARED=no
3563 CC=${CC:-winegcc}
3564 CXX=${CXX:-wineg++}
3565 fi
3566
3567
3568 if test "$wxUSE_GUI" = "yes"; then
3569
3570 if test "$USE_BEOS" = 1; then
3571 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3572 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3573 { (exit 1); exit 1; }; }
3574 fi
3575
3576 if test "$TOOLKIT_GIVEN" = 1; then
3577 for toolkit in $ALL_TOOLKITS; do
3578 var=wxUSE_$toolkit
3579 eval "value=\$${var}"
3580 if test "x$value" = "xno"; then
3581 eval "$var=0"
3582 elif test "x$value" != "x"; then
3583 eval "$var=1"
3584 fi
3585
3586 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3587 eval "wx${toolkit}_VERSION=$value"
3588 fi
3589 done
3590 else
3591 for toolkit in $ALL_TOOLKITS; do
3592 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3593 eval "wxUSE_$toolkit=\$${var}"
3594 done
3595 fi
3596
3597 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3598 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3599 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3600
3601 case "${host}" in
3602 *-pc-os2_emx | *-pc-os2-emx )
3603 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3604 esac
3605
3606 case "$NUM_TOOLKITS" in
3607 1)
3608 ;;
3609 0)
3610 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3611 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3612 { (exit 1); exit 1; }; }
3613 ;;
3614 *)
3615 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3616 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3617 { (exit 1); exit 1; }; }
3618 esac
3619
3620 # to be removed when --disable-gtk2 isn't needed
3621 if test "x$wxUSE_GTK2" = "xyes"; then
3622 wxGTK_VERSION=2
3623 wxUSE_GTK1=0
3624 elif test "x$wxUSE_GTK2" = "xno"; then
3625 wxGTK_VERSION=1
3626 wxUSE_GTK1=1
3627 fi
3628
3629 for toolkit in $ALL_TOOLKITS; do
3630 var=wxUSE_$toolkit
3631 eval "value=\$${var}"
3632 if test "$value" = 1; then
3633 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3634 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3635 echo "${ECHO_T}$toolkit_echo" >&6; }
3636 fi
3637 done
3638 else
3639 if test "x$host_alias" != "x"; then
3640 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3641 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3642 else
3643 { echo "$as_me:$LINENO: result: base only" >&5
3644 echo "${ECHO_T}base only" >&6; }
3645 fi
3646 fi
3647
3648 wxUSE_MAC=0
3649 if test "$wxUSE_OSX_CARBON" = 1 \
3650 -o "$wxUSE_OSX_COCOA" = 1 \
3651 -o "$wxUSE_OSX_IPHONE" = 1; then
3652 wxUSE_MAC=1
3653 fi
3654
3655
3656
3657 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3658 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3659
3660 # Check whether --with-libpng was given.
3661 if test "${with_libpng+set}" = set; then
3662 withval=$with_libpng;
3663 if test "$withval" = yes; then
3664 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3665 elif test "$withval" = no; then
3666 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3667 elif test "$withval" = sys; then
3668 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3669 elif test "$withval" = builtin; then
3670 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3671 else
3672 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3673 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3674 { (exit 1); exit 1; }; }
3675 fi
3676
3677 else
3678
3679 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3680
3681 fi
3682
3683
3684 eval "$wx_cv_use_libpng"
3685
3686 if test "$wxUSE_LIBPNG" = yes; then
3687 { echo "$as_me:$LINENO: result: yes" >&5
3688 echo "${ECHO_T}yes" >&6; }
3689 elif test "$wxUSE_LIBPNG" = no; then
3690 { echo "$as_me:$LINENO: result: no" >&5
3691 echo "${ECHO_T}no" >&6; }
3692 elif test "$wxUSE_LIBPNG" = sys; then
3693 { echo "$as_me:$LINENO: result: system version" >&5
3694 echo "${ECHO_T}system version" >&6; }
3695 elif test "$wxUSE_LIBPNG" = builtin; then
3696 { echo "$as_me:$LINENO: result: builtin version" >&5
3697 echo "${ECHO_T}builtin version" >&6; }
3698 else
3699 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3700 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3701 { (exit 1); exit 1; }; }
3702 fi
3703
3704
3705 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3706 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3707
3708 # Check whether --with-libjpeg was given.
3709 if test "${with_libjpeg+set}" = set; then
3710 withval=$with_libjpeg;
3711 if test "$withval" = yes; then
3712 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3713 elif test "$withval" = no; then
3714 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3715 elif test "$withval" = sys; then
3716 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3717 elif test "$withval" = builtin; then
3718 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3719 else
3720 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3721 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3722 { (exit 1); exit 1; }; }
3723 fi
3724
3725 else
3726
3727 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3728
3729 fi
3730
3731
3732 eval "$wx_cv_use_libjpeg"
3733
3734 if test "$wxUSE_LIBJPEG" = yes; then
3735 { echo "$as_me:$LINENO: result: yes" >&5
3736 echo "${ECHO_T}yes" >&6; }
3737 elif test "$wxUSE_LIBJPEG" = no; then
3738 { echo "$as_me:$LINENO: result: no" >&5
3739 echo "${ECHO_T}no" >&6; }
3740 elif test "$wxUSE_LIBJPEG" = sys; then
3741 { echo "$as_me:$LINENO: result: system version" >&5
3742 echo "${ECHO_T}system version" >&6; }
3743 elif test "$wxUSE_LIBJPEG" = builtin; then
3744 { echo "$as_me:$LINENO: result: builtin version" >&5
3745 echo "${ECHO_T}builtin version" >&6; }
3746 else
3747 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3748 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3749 { (exit 1); exit 1; }; }
3750 fi
3751
3752
3753 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3754 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3755
3756 # Check whether --with-libtiff was given.
3757 if test "${with_libtiff+set}" = set; then
3758 withval=$with_libtiff;
3759 if test "$withval" = yes; then
3760 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3761 elif test "$withval" = no; then
3762 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3763 elif test "$withval" = sys; then
3764 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3765 elif test "$withval" = builtin; then
3766 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3767 else
3768 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3769 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3770 { (exit 1); exit 1; }; }
3771 fi
3772
3773 else
3774
3775 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3776
3777 fi
3778
3779
3780 eval "$wx_cv_use_libtiff"
3781
3782 if test "$wxUSE_LIBTIFF" = yes; then
3783 { echo "$as_me:$LINENO: result: yes" >&5
3784 echo "${ECHO_T}yes" >&6; }
3785 elif test "$wxUSE_LIBTIFF" = no; then
3786 { echo "$as_me:$LINENO: result: no" >&5
3787 echo "${ECHO_T}no" >&6; }
3788 elif test "$wxUSE_LIBTIFF" = sys; then
3789 { echo "$as_me:$LINENO: result: system version" >&5
3790 echo "${ECHO_T}system version" >&6; }
3791 elif test "$wxUSE_LIBTIFF" = builtin; then
3792 { echo "$as_me:$LINENO: result: builtin version" >&5
3793 echo "${ECHO_T}builtin version" >&6; }
3794 else
3795 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3796 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3797 { (exit 1); exit 1; }; }
3798 fi
3799
3800
3801 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3802 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3803
3804 # Check whether --with-libxpm was given.
3805 if test "${with_libxpm+set}" = set; then
3806 withval=$with_libxpm;
3807 if test "$withval" = yes; then
3808 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3809 elif test "$withval" = no; then
3810 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3811 elif test "$withval" = sys; then
3812 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3813 elif test "$withval" = builtin; then
3814 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3815 else
3816 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3817 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3818 { (exit 1); exit 1; }; }
3819 fi
3820
3821 else
3822
3823 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3824
3825 fi
3826
3827
3828 eval "$wx_cv_use_libxpm"
3829
3830 if test "$wxUSE_LIBXPM" = yes; then
3831 { echo "$as_me:$LINENO: result: yes" >&5
3832 echo "${ECHO_T}yes" >&6; }
3833 elif test "$wxUSE_LIBXPM" = no; then
3834 { echo "$as_me:$LINENO: result: no" >&5
3835 echo "${ECHO_T}no" >&6; }
3836 elif test "$wxUSE_LIBXPM" = sys; then
3837 { echo "$as_me:$LINENO: result: system version" >&5
3838 echo "${ECHO_T}system version" >&6; }
3839 elif test "$wxUSE_LIBXPM" = builtin; then
3840 { echo "$as_me:$LINENO: result: builtin version" >&5
3841 echo "${ECHO_T}builtin version" >&6; }
3842 else
3843 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3844 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3845 { (exit 1); exit 1; }; }
3846 fi
3847
3848
3849 withstring=
3850 defaultval=$wxUSE_ALL_FEATURES
3851 if test -z "$defaultval"; then
3852 if test x"$withstring" = xwithout; then
3853 defaultval=yes
3854 else
3855 defaultval=no
3856 fi
3857 fi
3858 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3859 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3860
3861 # Check whether --with-libiconv was given.
3862 if test "${with_libiconv+set}" = set; then
3863 withval=$with_libiconv;
3864 if test "$withval" = yes; then
3865 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3866 else
3867 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3868 fi
3869
3870 else
3871
3872 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3873
3874 fi
3875
3876
3877 eval "$wx_cv_use_libiconv"
3878
3879 if test x"$withstring" = xwithout; then
3880 if test $wxUSE_LIBICONV = yes; then
3881 result=no
3882 else
3883 result=yes
3884 fi
3885 else
3886 result=$wxUSE_LIBICONV
3887 fi
3888
3889 { echo "$as_me:$LINENO: result: $result" >&5
3890 echo "${ECHO_T}$result" >&6; }
3891
3892
3893 withstring=
3894 defaultval=$wxUSE_ALL_FEATURES
3895 if test -z "$defaultval"; then
3896 if test x"$withstring" = xwithout; then
3897 defaultval=yes
3898 else
3899 defaultval=no
3900 fi
3901 fi
3902 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3903 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3904
3905 # Check whether --with-libmspack was given.
3906 if test "${with_libmspack+set}" = set; then
3907 withval=$with_libmspack;
3908 if test "$withval" = yes; then
3909 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3910 else
3911 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3912 fi
3913
3914 else
3915
3916 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3917
3918 fi
3919
3920
3921 eval "$wx_cv_use_libmspack"
3922
3923 if test x"$withstring" = xwithout; then
3924 if test $wxUSE_LIBMSPACK = yes; then
3925 result=no
3926 else
3927 result=yes
3928 fi
3929 else
3930 result=$wxUSE_LIBMSPACK
3931 fi
3932
3933 { echo "$as_me:$LINENO: result: $result" >&5
3934 echo "${ECHO_T}$result" >&6; }
3935
3936
3937 withstring=without
3938 defaultval=$wxUSE_ALL_FEATURES
3939 if test -z "$defaultval"; then
3940 if test x"$withstring" = xwithout; then
3941 defaultval=yes
3942 else
3943 defaultval=no
3944 fi
3945 fi
3946 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3947 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3948
3949 # Check whether --with-gtkprint was given.
3950 if test "${with_gtkprint+set}" = set; then
3951 withval=$with_gtkprint;
3952 if test "$withval" = yes; then
3953 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3954 else
3955 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3956 fi
3957
3958 else
3959
3960 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3961
3962 fi
3963
3964
3965 eval "$wx_cv_use_gtkprint"
3966
3967 if test x"$withstring" = xwithout; then
3968 if test $wxUSE_GTKPRINT = yes; then
3969 result=no
3970 else
3971 result=yes
3972 fi
3973 else
3974 result=$wxUSE_GTKPRINT
3975 fi
3976
3977 { echo "$as_me:$LINENO: result: $result" >&5
3978 echo "${ECHO_T}$result" >&6; }
3979
3980
3981 withstring=without
3982 defaultval=$wxUSE_ALL_FEATURES
3983 if test -z "$defaultval"; then
3984 if test x"$withstring" = xwithout; then
3985 defaultval=yes
3986 else
3987 defaultval=no
3988 fi
3989 fi
3990 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3991 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3992
3993 # Check whether --with-gnomeprint was given.
3994 if test "${with_gnomeprint+set}" = set; then
3995 withval=$with_gnomeprint;
3996 if test "$withval" = yes; then
3997 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3998 else
3999 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4000 fi
4001
4002 else
4003
4004 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4005
4006 fi
4007
4008
4009 eval "$wx_cv_use_gnomeprint"
4010
4011 if test x"$withstring" = xwithout; then
4012 if test $wxUSE_LIBGNOMEPRINT = yes; then
4013 result=no
4014 else
4015 result=yes
4016 fi
4017 else
4018 result=$wxUSE_LIBGNOMEPRINT
4019 fi
4020
4021 { echo "$as_me:$LINENO: result: $result" >&5
4022 echo "${ECHO_T}$result" >&6; }
4023
4024
4025 withstring=
4026 defaultval=$wxUSE_ALL_FEATURES
4027 if test -z "$defaultval"; then
4028 if test x"$withstring" = xwithout; then
4029 defaultval=yes
4030 else
4031 defaultval=no
4032 fi
4033 fi
4034 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4035 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4036
4037 # Check whether --with-gnomevfs was given.
4038 if test "${with_gnomevfs+set}" = set; then
4039 withval=$with_gnomevfs;
4040 if test "$withval" = yes; then
4041 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4042 else
4043 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4044 fi
4045
4046 else
4047
4048 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4049
4050 fi
4051
4052
4053 eval "$wx_cv_use_gnomevfs"
4054
4055 if test x"$withstring" = xwithout; then
4056 if test $wxUSE_LIBGNOMEVFS = yes; then
4057 result=no
4058 else
4059 result=yes
4060 fi
4061 else
4062 result=$wxUSE_LIBGNOMEVFS
4063 fi
4064
4065 { echo "$as_me:$LINENO: result: $result" >&5
4066 echo "${ECHO_T}$result" >&6; }
4067
4068
4069 withstring=
4070 defaultval=$wxUSE_ALL_FEATURES
4071 if test -z "$defaultval"; then
4072 if test x"$withstring" = xwithout; then
4073 defaultval=yes
4074 else
4075 defaultval=no
4076 fi
4077 fi
4078 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4079 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4080
4081 # Check whether --with-hildon was given.
4082 if test "${with_hildon+set}" = set; then
4083 withval=$with_hildon;
4084 if test "$withval" = yes; then
4085 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4086 else
4087 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4088 fi
4089
4090 else
4091
4092 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4093
4094 fi
4095
4096
4097 eval "$wx_cv_use_hildon"
4098
4099 if test x"$withstring" = xwithout; then
4100 if test $wxUSE_LIBHILDON = yes; then
4101 result=no
4102 else
4103 result=yes
4104 fi
4105 else
4106 result=$wxUSE_LIBHILDON
4107 fi
4108
4109 { echo "$as_me:$LINENO: result: $result" >&5
4110 echo "${ECHO_T}$result" >&6; }
4111
4112
4113 withstring=
4114 defaultval=$wxUSE_ALL_FEATURES
4115 if test -z "$defaultval"; then
4116 if test x"$withstring" = xwithout; then
4117 defaultval=yes
4118 else
4119 defaultval=no
4120 fi
4121 fi
4122 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4123 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4124
4125 # Check whether --with-opengl was given.
4126 if test "${with_opengl+set}" = set; then
4127 withval=$with_opengl;
4128 if test "$withval" = yes; then
4129 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4130 else
4131 wx_cv_use_opengl='wxUSE_OPENGL=no'
4132 fi
4133
4134 else
4135
4136 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4137
4138 fi
4139
4140
4141 eval "$wx_cv_use_opengl"
4142
4143 if test x"$withstring" = xwithout; then
4144 if test $wxUSE_OPENGL = yes; then
4145 result=no
4146 else
4147 result=yes
4148 fi
4149 else
4150 result=$wxUSE_OPENGL
4151 fi
4152
4153 { echo "$as_me:$LINENO: result: $result" >&5
4154 echo "${ECHO_T}$result" >&6; }
4155
4156
4157 fi
4158
4159
4160 withstring=
4161 defaultval=$wxUSE_ALL_FEATURES
4162 if test -z "$defaultval"; then
4163 if test x"$withstring" = xwithout; then
4164 defaultval=yes
4165 else
4166 defaultval=no
4167 fi
4168 fi
4169 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4170 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4171
4172 # Check whether --with-dmalloc was given.
4173 if test "${with_dmalloc+set}" = set; then
4174 withval=$with_dmalloc;
4175 if test "$withval" = yes; then
4176 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4177 else
4178 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4179 fi
4180
4181 else
4182
4183 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4184
4185 fi
4186
4187
4188 eval "$wx_cv_use_dmalloc"
4189
4190 if test x"$withstring" = xwithout; then
4191 if test $wxUSE_DMALLOC = yes; then
4192 result=no
4193 else
4194 result=yes
4195 fi
4196 else
4197 result=$wxUSE_DMALLOC
4198 fi
4199
4200 { echo "$as_me:$LINENO: result: $result" >&5
4201 echo "${ECHO_T}$result" >&6; }
4202
4203
4204 withstring=
4205 defaultval=$wxUSE_ALL_FEATURES
4206 if test -z "$defaultval"; then
4207 if test x"$withstring" = xwithout; then
4208 defaultval=yes
4209 else
4210 defaultval=no
4211 fi
4212 fi
4213 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4214 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4215
4216 # Check whether --with-sdl was given.
4217 if test "${with_sdl+set}" = set; then
4218 withval=$with_sdl;
4219 if test "$withval" = yes; then
4220 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4221 else
4222 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4223 fi
4224
4225 else
4226
4227 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4228
4229 fi
4230
4231
4232 eval "$wx_cv_use_sdl"
4233
4234 if test x"$withstring" = xwithout; then
4235 if test $wxUSE_LIBSDL = yes; then
4236 result=no
4237 else
4238 result=yes
4239 fi
4240 else
4241 result=$wxUSE_LIBSDL
4242 fi
4243
4244 { echo "$as_me:$LINENO: result: $result" >&5
4245 echo "${ECHO_T}$result" >&6; }
4246
4247
4248 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4249 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4250
4251 # Check whether --with-regex was given.
4252 if test "${with_regex+set}" = set; then
4253 withval=$with_regex;
4254 if test "$withval" = yes; then
4255 wx_cv_use_regex='wxUSE_REGEX=yes'
4256 elif test "$withval" = no; then
4257 wx_cv_use_regex='wxUSE_REGEX=no'
4258 elif test "$withval" = sys; then
4259 wx_cv_use_regex='wxUSE_REGEX=sys'
4260 elif test "$withval" = builtin; then
4261 wx_cv_use_regex='wxUSE_REGEX=builtin'
4262 else
4263 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4264 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4265 { (exit 1); exit 1; }; }
4266 fi
4267
4268 else
4269
4270 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4271
4272 fi
4273
4274
4275 eval "$wx_cv_use_regex"
4276
4277 if test "$wxUSE_REGEX" = yes; then
4278 { echo "$as_me:$LINENO: result: yes" >&5
4279 echo "${ECHO_T}yes" >&6; }
4280 elif test "$wxUSE_REGEX" = no; then
4281 { echo "$as_me:$LINENO: result: no" >&5
4282 echo "${ECHO_T}no" >&6; }
4283 elif test "$wxUSE_REGEX" = sys; then
4284 { echo "$as_me:$LINENO: result: system version" >&5
4285 echo "${ECHO_T}system version" >&6; }
4286 elif test "$wxUSE_REGEX" = builtin; then
4287 { echo "$as_me:$LINENO: result: builtin version" >&5
4288 echo "${ECHO_T}builtin version" >&6; }
4289 else
4290 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4291 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4292 { (exit 1); exit 1; }; }
4293 fi
4294
4295
4296 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4297 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4298
4299 # Check whether --with-zlib was given.
4300 if test "${with_zlib+set}" = set; then
4301 withval=$with_zlib;
4302 if test "$withval" = yes; then
4303 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4304 elif test "$withval" = no; then
4305 wx_cv_use_zlib='wxUSE_ZLIB=no'
4306 elif test "$withval" = sys; then
4307 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4308 elif test "$withval" = builtin; then
4309 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4310 else
4311 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4312 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4313 { (exit 1); exit 1; }; }
4314 fi
4315
4316 else
4317
4318 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4319
4320 fi
4321
4322
4323 eval "$wx_cv_use_zlib"
4324
4325 if test "$wxUSE_ZLIB" = yes; then
4326 { echo "$as_me:$LINENO: result: yes" >&5
4327 echo "${ECHO_T}yes" >&6; }
4328 elif test "$wxUSE_ZLIB" = no; then
4329 { echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6; }
4331 elif test "$wxUSE_ZLIB" = sys; then
4332 { echo "$as_me:$LINENO: result: system version" >&5
4333 echo "${ECHO_T}system version" >&6; }
4334 elif test "$wxUSE_ZLIB" = builtin; then
4335 { echo "$as_me:$LINENO: result: builtin version" >&5
4336 echo "${ECHO_T}builtin version" >&6; }
4337 else
4338 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4339 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4340 { (exit 1); exit 1; }; }
4341 fi
4342
4343
4344 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4345 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4346
4347 # Check whether --with-expat was given.
4348 if test "${with_expat+set}" = set; then
4349 withval=$with_expat;
4350 if test "$withval" = yes; then
4351 wx_cv_use_expat='wxUSE_EXPAT=yes'
4352 elif test "$withval" = no; then
4353 wx_cv_use_expat='wxUSE_EXPAT=no'
4354 elif test "$withval" = sys; then
4355 wx_cv_use_expat='wxUSE_EXPAT=sys'
4356 elif test "$withval" = builtin; then
4357 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4358 else
4359 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4360 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4361 { (exit 1); exit 1; }; }
4362 fi
4363
4364 else
4365
4366 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4367
4368 fi
4369
4370
4371 eval "$wx_cv_use_expat"
4372
4373 if test "$wxUSE_EXPAT" = yes; then
4374 { echo "$as_me:$LINENO: result: yes" >&5
4375 echo "${ECHO_T}yes" >&6; }
4376 elif test "$wxUSE_EXPAT" = no; then
4377 { echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6; }
4379 elif test "$wxUSE_EXPAT" = sys; then
4380 { echo "$as_me:$LINENO: result: system version" >&5
4381 echo "${ECHO_T}system version" >&6; }
4382 elif test "$wxUSE_EXPAT" = builtin; then
4383 { echo "$as_me:$LINENO: result: builtin version" >&5
4384 echo "${ECHO_T}builtin version" >&6; }
4385 else
4386 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4387 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4388 { (exit 1); exit 1; }; }
4389 fi
4390
4391
4392 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4393 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4394
4395 # Check whether --with-macosx-sdk was given.
4396 if test "${with_macosx_sdk+set}" = set; then
4397 withval=$with_macosx_sdk;
4398 wxUSE_MACOSX_SDK=$withval
4399 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4400
4401 fi
4402
4403 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4404 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4405
4406 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4407 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4408
4409 # Check whether --with-macosx-version-min was given.
4410 if test "${with_macosx_version_min+set}" = set; then
4411 withval=$with_macosx_version_min;
4412 wxUSE_MACOSX_VERSION_MIN=$withval
4413 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4414
4415 fi
4416
4417 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4418 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4419
4420
4421 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4422 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4423 # Check whether --enable-debug was given.
4424 if test "${enable_debug+set}" = set; then
4425 enableval=$enable_debug;
4426 if test "$enableval" = yes; then
4427 wxUSE_DEBUG=yes
4428 elif test "$enableval" = no; then
4429 wxUSE_DEBUG=no
4430 elif test "$enableval" = max; then
4431 wxUSE_DEBUG=yes
4432 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4433 else
4434 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4435 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4436 { (exit 1); exit 1; }; }
4437 fi
4438
4439 else
4440 wxUSE_DEBUG=default
4441
4442 fi
4443
4444
4445 case "$wxUSE_DEBUG" in
4446 yes)
4447 DEFAULT_wxUSE_DEBUG_FLAG=yes
4448 DEFAULT_wxUSE_DEBUG_INFO=yes
4449
4450 DEFAULT_wxUSE_OPTIMISE=no
4451 ;;
4452
4453 no)
4454 DEFAULT_wxUSE_DEBUG_FLAG=no
4455 DEFAULT_wxUSE_DEBUG_INFO=no
4456 ;;
4457
4458 default)
4459 DEFAULT_wxUSE_DEBUG_FLAG=yes
4460 DEFAULT_wxUSE_DEBUG_INFO=no
4461 ;;
4462 esac
4463
4464
4465 enablestring=disable
4466 defaultval=
4467 if test -z "$defaultval"; then
4468 if test x"$enablestring" = xdisable; then
4469 defaultval=yes
4470 else
4471 defaultval=no
4472 fi
4473 fi
4474
4475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4476 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4477 # Check whether --enable-debug_flag was given.
4478 if test "${enable_debug_flag+set}" = set; then
4479 enableval=$enable_debug_flag;
4480 if test "$enableval" = yes; then
4481 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4482 else
4483 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4484 fi
4485
4486 else
4487
4488 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4489
4490 fi
4491
4492
4493 eval "$wx_cv_use_debug_flag"
4494
4495 if test x"$enablestring" = xdisable; then
4496 if test $wxUSE_DEBUG_FLAG = no; then
4497 result=yes
4498 else
4499 result=no
4500 fi
4501 else
4502 result=$wxUSE_DEBUG_FLAG
4503 fi
4504
4505 { echo "$as_me:$LINENO: result: $result" >&5
4506 echo "${ECHO_T}$result" >&6; }
4507
4508
4509 enablestring=
4510 defaultval=
4511 if test -z "$defaultval"; then
4512 if test x"$enablestring" = xdisable; then
4513 defaultval=yes
4514 else
4515 defaultval=no
4516 fi
4517 fi
4518
4519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4520 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4521 # Check whether --enable-debug_info was given.
4522 if test "${enable_debug_info+set}" = set; then
4523 enableval=$enable_debug_info;
4524 if test "$enableval" = yes; then
4525 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4526 else
4527 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4528 fi
4529
4530 else
4531
4532 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4533
4534 fi
4535
4536
4537 eval "$wx_cv_use_debug_info"
4538
4539 if test x"$enablestring" = xdisable; then
4540 if test $wxUSE_DEBUG_INFO = no; then
4541 result=yes
4542 else
4543 result=no
4544 fi
4545 else
4546 result=$wxUSE_DEBUG_INFO
4547 fi
4548
4549 { echo "$as_me:$LINENO: result: $result" >&5
4550 echo "${ECHO_T}$result" >&6; }
4551
4552
4553
4554
4555 enablestring=
4556 defaultval=
4557 if test -z "$defaultval"; then
4558 if test x"$enablestring" = xdisable; then
4559 defaultval=yes
4560 else
4561 defaultval=no
4562 fi
4563 fi
4564
4565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4566 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4567 # Check whether --enable-debug_gdb was given.
4568 if test "${enable_debug_gdb+set}" = set; then
4569 enableval=$enable_debug_gdb;
4570 if test "$enableval" = yes; then
4571 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4572 else
4573 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4574 fi
4575
4576 else
4577
4578 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4579
4580 fi
4581
4582
4583 eval "$wx_cv_use_debug_gdb"
4584
4585 if test x"$enablestring" = xdisable; then
4586 if test $wxUSE_DEBUG_GDB = no; then
4587 result=yes
4588 else
4589 result=no
4590 fi
4591 else
4592 result=$wxUSE_DEBUG_GDB
4593 fi
4594
4595 { echo "$as_me:$LINENO: result: $result" >&5
4596 echo "${ECHO_T}$result" >&6; }
4597
4598
4599 enablestring=
4600 defaultval=
4601 if test -z "$defaultval"; then
4602 if test x"$enablestring" = xdisable; then
4603 defaultval=yes
4604 else
4605 defaultval=no
4606 fi
4607 fi
4608
4609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4610 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4611 # Check whether --enable-debug_cntxt was given.
4612 if test "${enable_debug_cntxt+set}" = set; then
4613 enableval=$enable_debug_cntxt;
4614 if test "$enableval" = yes; then
4615 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4616 else
4617 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4618 fi
4619
4620 else
4621
4622 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4623
4624 fi
4625
4626
4627 eval "$wx_cv_use_debug_cntxt"
4628
4629 if test x"$enablestring" = xdisable; then
4630 if test $wxUSE_DEBUG_CONTEXT = no; then
4631 result=yes
4632 else
4633 result=no
4634 fi
4635 else
4636 result=$wxUSE_DEBUG_CONTEXT
4637 fi
4638
4639 { echo "$as_me:$LINENO: result: $result" >&5
4640 echo "${ECHO_T}$result" >&6; }
4641
4642
4643 enablestring=
4644 defaultval=
4645 if test -z "$defaultval"; then
4646 if test x"$enablestring" = xdisable; then
4647 defaultval=yes
4648 else
4649 defaultval=no
4650 fi
4651 fi
4652
4653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4655 # Check whether --enable-mem_tracing was given.
4656 if test "${enable_mem_tracing+set}" = set; then
4657 enableval=$enable_mem_tracing;
4658 if test "$enableval" = yes; then
4659 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4660 else
4661 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4662 fi
4663
4664 else
4665
4666 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4667
4668 fi
4669
4670
4671 eval "$wx_cv_use_mem_tracing"
4672
4673 if test x"$enablestring" = xdisable; then
4674 if test $wxUSE_MEM_TRACING = no; then
4675 result=yes
4676 else
4677 result=no
4678 fi
4679 else
4680 result=$wxUSE_MEM_TRACING
4681 fi
4682
4683 { echo "$as_me:$LINENO: result: $result" >&5
4684 echo "${ECHO_T}$result" >&6; }
4685
4686
4687
4688
4689 enablestring=disable
4690 defaultval=
4691 if test -z "$defaultval"; then
4692 if test x"$enablestring" = xdisable; then
4693 defaultval=yes
4694 else
4695 defaultval=no
4696 fi
4697 fi
4698
4699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4701 # Check whether --enable-shared was given.
4702 if test "${enable_shared+set}" = set; then
4703 enableval=$enable_shared;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_shared='wxUSE_SHARED=yes'
4706 else
4707 wx_cv_use_shared='wxUSE_SHARED=no'
4708 fi
4709
4710 else
4711
4712 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4713
4714 fi
4715
4716
4717 eval "$wx_cv_use_shared"
4718
4719 if test x"$enablestring" = xdisable; then
4720 if test $wxUSE_SHARED = no; then
4721 result=yes
4722 else
4723 result=no
4724 fi
4725 else
4726 result=$wxUSE_SHARED
4727 fi
4728
4729 { echo "$as_me:$LINENO: result: $result" >&5
4730 echo "${ECHO_T}$result" >&6; }
4731
4732
4733 enablestring=
4734 defaultval=
4735 if test -z "$defaultval"; then
4736 if test x"$enablestring" = xdisable; then
4737 defaultval=yes
4738 else
4739 defaultval=no
4740 fi
4741 fi
4742
4743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4745 # Check whether --enable-stl was given.
4746 if test "${enable_stl+set}" = set; then
4747 enableval=$enable_stl;
4748 if test "$enableval" = yes; then
4749 wx_cv_use_stl='wxUSE_STL=yes'
4750 else
4751 wx_cv_use_stl='wxUSE_STL=no'
4752 fi
4753
4754 else
4755
4756 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4757
4758 fi
4759
4760
4761 eval "$wx_cv_use_stl"
4762
4763 if test x"$enablestring" = xdisable; then
4764 if test $wxUSE_STL = no; then
4765 result=yes
4766 else
4767 result=no
4768 fi
4769 else
4770 result=$wxUSE_STL
4771 fi
4772
4773 { echo "$as_me:$LINENO: result: $result" >&5
4774 echo "${ECHO_T}$result" >&6; }
4775
4776
4777 enablestring=
4778 defaultval=
4779 if test -z "$defaultval"; then
4780 if test x"$enablestring" = xdisable; then
4781 defaultval=yes
4782 else
4783 defaultval=no
4784 fi
4785 fi
4786
4787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4788 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4789 # Check whether --enable-std_iostreams was given.
4790 if test "${enable_std_iostreams+set}" = set; then
4791 enableval=$enable_std_iostreams;
4792 if test "$enableval" = yes; then
4793 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4794 else
4795 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4796 fi
4797
4798 else
4799
4800 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4801
4802 fi
4803
4804
4805 eval "$wx_cv_use_std_iostreams"
4806
4807 if test x"$enablestring" = xdisable; then
4808 if test $wxUSE_STD_IOSTREAM = no; then
4809 result=yes
4810 else
4811 result=no
4812 fi
4813 else
4814 result=$wxUSE_STD_IOSTREAM
4815 fi
4816
4817 { echo "$as_me:$LINENO: result: $result" >&5
4818 echo "${ECHO_T}$result" >&6; }
4819
4820
4821 enablestring=
4822 defaultval=
4823 if test -z "$defaultval"; then
4824 if test x"$enablestring" = xdisable; then
4825 defaultval=yes
4826 else
4827 defaultval=no
4828 fi
4829 fi
4830
4831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4832 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4833 # Check whether --enable-std_string was given.
4834 if test "${enable_std_string+set}" = set; then
4835 enableval=$enable_std_string;
4836 if test "$enableval" = yes; then
4837 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4838 else
4839 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4840 fi
4841
4842 else
4843
4844 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4845
4846 fi
4847
4848
4849 eval "$wx_cv_use_std_string"
4850
4851 if test x"$enablestring" = xdisable; then
4852 if test $wxUSE_STD_STRING = no; then
4853 result=yes
4854 else
4855 result=no
4856 fi
4857 else
4858 result=$wxUSE_STD_STRING
4859 fi
4860
4861 { echo "$as_me:$LINENO: result: $result" >&5
4862 echo "${ECHO_T}$result" >&6; }
4863
4864
4865 enablestring=disable
4866 defaultval=
4867 if test -z "$defaultval"; then
4868 if test x"$enablestring" = xdisable; then
4869 defaultval=yes
4870 else
4871 defaultval=no
4872 fi
4873 fi
4874
4875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4876 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4877 # Check whether --enable-unicode was given.
4878 if test "${enable_unicode+set}" = set; then
4879 enableval=$enable_unicode;
4880 if test "$enableval" = yes; then
4881 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4882 else
4883 wx_cv_use_unicode='wxUSE_UNICODE=no'
4884 fi
4885
4886 else
4887
4888 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4889
4890 fi
4891
4892
4893 eval "$wx_cv_use_unicode"
4894
4895 if test x"$enablestring" = xdisable; then
4896 if test $wxUSE_UNICODE = no; then
4897 result=yes
4898 else
4899 result=no
4900 fi
4901 else
4902 result=$wxUSE_UNICODE
4903 fi
4904
4905 { echo "$as_me:$LINENO: result: $result" >&5
4906 echo "${ECHO_T}$result" >&6; }
4907
4908
4909 enablestring=
4910 defaultval=
4911 if test -z "$defaultval"; then
4912 if test x"$enablestring" = xdisable; then
4913 defaultval=yes
4914 else
4915 defaultval=no
4916 fi
4917 fi
4918
4919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4920 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4921 # Check whether --enable-mslu was given.
4922 if test "${enable_mslu+set}" = set; then
4923 enableval=$enable_mslu;
4924 if test "$enableval" = yes; then
4925 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4926 else
4927 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4928 fi
4929
4930 else
4931
4932 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4933
4934 fi
4935
4936
4937 eval "$wx_cv_use_mslu"
4938
4939 if test x"$enablestring" = xdisable; then
4940 if test $wxUSE_UNICODE_MSLU = no; then
4941 result=yes
4942 else
4943 result=no
4944 fi
4945 else
4946 result=$wxUSE_UNICODE_MSLU
4947 fi
4948
4949 { echo "$as_me:$LINENO: result: $result" >&5
4950 echo "${ECHO_T}$result" >&6; }
4951
4952
4953 enablestring=
4954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4955 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4956 # Check whether --enable-utf8 was given.
4957 if test "${enable_utf8+set}" = set; then
4958 enableval=$enable_utf8;
4959 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4960
4961 else
4962
4963 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4964
4965 fi
4966
4967
4968 eval "$wx_cv_use_utf8"
4969
4970 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4971 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4972
4973
4974 enablestring=
4975 defaultval=
4976 if test -z "$defaultval"; then
4977 if test x"$enablestring" = xdisable; then
4978 defaultval=yes
4979 else
4980 defaultval=no
4981 fi
4982 fi
4983
4984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4986 # Check whether --enable-utf8only was given.
4987 if test "${enable_utf8only+set}" = set; then
4988 enableval=$enable_utf8only;
4989 if test "$enableval" = yes; then
4990 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4991 else
4992 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4993 fi
4994
4995 else
4996
4997 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4998
4999 fi
5000
5001
5002 eval "$wx_cv_use_utf8only"
5003
5004 if test x"$enablestring" = xdisable; then
5005 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5006 result=yes
5007 else
5008 result=no
5009 fi
5010 else
5011 result=$wxUSE_UNICODE_UTF8_LOCALE
5012 fi
5013
5014 { echo "$as_me:$LINENO: result: $result" >&5
5015 echo "${ECHO_T}$result" >&6; }
5016
5017
5018 enablestring=
5019 defaultval=
5020 if test -z "$defaultval"; then
5021 if test x"$enablestring" = xdisable; then
5022 defaultval=yes
5023 else
5024 defaultval=no
5025 fi
5026 fi
5027
5028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5029 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5030 # Check whether --enable-extended_rtti was given.
5031 if test "${enable_extended_rtti+set}" = set; then
5032 enableval=$enable_extended_rtti;
5033 if test "$enableval" = yes; then
5034 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5035 else
5036 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5037 fi
5038
5039 else
5040
5041 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5042
5043 fi
5044
5045
5046 eval "$wx_cv_use_extended_rtti"
5047
5048 if test x"$enablestring" = xdisable; then
5049 if test $wxUSE_EXTENDED_RTTI = no; then
5050 result=yes
5051 else
5052 result=no
5053 fi
5054 else
5055 result=$wxUSE_EXTENDED_RTTI
5056 fi
5057
5058 { echo "$as_me:$LINENO: result: $result" >&5
5059 echo "${ECHO_T}$result" >&6; }
5060
5061 if test "$USE_OS2" = 1; then
5062 DEFAULT_wxUSE_OMF=no
5063
5064 enablestring=
5065 defaultval=
5066 if test -z "$defaultval"; then
5067 if test x"$enablestring" = xdisable; then
5068 defaultval=yes
5069 else
5070 defaultval=no
5071 fi
5072 fi
5073
5074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5075 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5076 # Check whether --enable-omf was given.
5077 if test "${enable_omf+set}" = set; then
5078 enableval=$enable_omf;
5079 if test "$enableval" = yes; then
5080 wx_cv_use_omf='wxUSE_OMF=yes'
5081 else
5082 wx_cv_use_omf='wxUSE_OMF=no'
5083 fi
5084
5085 else
5086
5087 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5088
5089 fi
5090
5091
5092 eval "$wx_cv_use_omf"
5093
5094 if test x"$enablestring" = xdisable; then
5095 if test $wxUSE_OMF = no; then
5096 result=yes
5097 else
5098 result=no
5099 fi
5100 else
5101 result=$wxUSE_OMF
5102 fi
5103
5104 { echo "$as_me:$LINENO: result: $result" >&5
5105 echo "${ECHO_T}$result" >&6; }
5106
5107 fi
5108
5109
5110 enablestring=disable
5111 defaultval=
5112 if test -z "$defaultval"; then
5113 if test x"$enablestring" = xdisable; then
5114 defaultval=yes
5115 else
5116 defaultval=no
5117 fi
5118 fi
5119
5120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5122 # Check whether --enable-optimise was given.
5123 if test "${enable_optimise+set}" = set; then
5124 enableval=$enable_optimise;
5125 if test "$enableval" = yes; then
5126 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5127 else
5128 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5129 fi
5130
5131 else
5132
5133 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5134
5135 fi
5136
5137
5138 eval "$wx_cv_use_optimise"
5139
5140 if test x"$enablestring" = xdisable; then
5141 if test $wxUSE_OPTIMISE = no; then
5142 result=yes
5143 else
5144 result=no
5145 fi
5146 else
5147 result=$wxUSE_OPTIMISE
5148 fi
5149
5150 { echo "$as_me:$LINENO: result: $result" >&5
5151 echo "${ECHO_T}$result" >&6; }
5152
5153
5154
5155 enablestring=
5156 defaultval=
5157 if test -z "$defaultval"; then
5158 if test x"$enablestring" = xdisable; then
5159 defaultval=yes
5160 else
5161 defaultval=no
5162 fi
5163 fi
5164
5165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5166 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5167 # Check whether --enable-profile was given.
5168 if test "${enable_profile+set}" = set; then
5169 enableval=$enable_profile;
5170 if test "$enableval" = yes; then
5171 wx_cv_use_profile='wxUSE_PROFILE=yes'
5172 else
5173 wx_cv_use_profile='wxUSE_PROFILE=no'
5174 fi
5175
5176 else
5177
5178 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5179
5180 fi
5181
5182
5183 eval "$wx_cv_use_profile"
5184
5185 if test x"$enablestring" = xdisable; then
5186 if test $wxUSE_PROFILE = no; then
5187 result=yes
5188 else
5189 result=no
5190 fi
5191 else
5192 result=$wxUSE_PROFILE
5193 fi
5194
5195 { echo "$as_me:$LINENO: result: $result" >&5
5196 echo "${ECHO_T}$result" >&6; }
5197
5198
5199 enablestring=
5200 defaultval=
5201 if test -z "$defaultval"; then
5202 if test x"$enablestring" = xdisable; then
5203 defaultval=yes
5204 else
5205 defaultval=no
5206 fi
5207 fi
5208
5209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5210 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5211 # Check whether --enable-no_rtti was given.
5212 if test "${enable_no_rtti+set}" = set; then
5213 enableval=$enable_no_rtti;
5214 if test "$enableval" = yes; then
5215 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5216 else
5217 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5218 fi
5219
5220 else
5221
5222 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5223
5224 fi
5225
5226
5227 eval "$wx_cv_use_no_rtti"
5228
5229 if test x"$enablestring" = xdisable; then
5230 if test $wxUSE_NO_RTTI = no; then
5231 result=yes
5232 else
5233 result=no
5234 fi
5235 else
5236 result=$wxUSE_NO_RTTI
5237 fi
5238
5239 { echo "$as_me:$LINENO: result: $result" >&5
5240 echo "${ECHO_T}$result" >&6; }
5241
5242
5243 enablestring=
5244 defaultval=
5245 if test -z "$defaultval"; then
5246 if test x"$enablestring" = xdisable; then
5247 defaultval=yes
5248 else
5249 defaultval=no
5250 fi
5251 fi
5252
5253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5255 # Check whether --enable-no_exceptions was given.
5256 if test "${enable_no_exceptions+set}" = set; then
5257 enableval=$enable_no_exceptions;
5258 if test "$enableval" = yes; then
5259 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5260 else
5261 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5262 fi
5263
5264 else
5265
5266 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5267
5268 fi
5269
5270
5271 eval "$wx_cv_use_no_exceptions"
5272
5273 if test x"$enablestring" = xdisable; then
5274 if test $wxUSE_NO_EXCEPTIONS = no; then
5275 result=yes
5276 else
5277 result=no
5278 fi
5279 else
5280 result=$wxUSE_NO_EXCEPTIONS
5281 fi
5282
5283 { echo "$as_me:$LINENO: result: $result" >&5
5284 echo "${ECHO_T}$result" >&6; }
5285
5286
5287 enablestring=
5288 defaultval=
5289 if test -z "$defaultval"; then
5290 if test x"$enablestring" = xdisable; then
5291 defaultval=yes
5292 else
5293 defaultval=no
5294 fi
5295 fi
5296
5297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5298 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5299 # Check whether --enable-permissive was given.
5300 if test "${enable_permissive+set}" = set; then
5301 enableval=$enable_permissive;
5302 if test "$enableval" = yes; then
5303 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5304 else
5305 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5306 fi
5307
5308 else
5309
5310 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5311
5312 fi
5313
5314
5315 eval "$wx_cv_use_permissive"
5316
5317 if test x"$enablestring" = xdisable; then
5318 if test $wxUSE_PERMISSIVE = no; then
5319 result=yes
5320 else
5321 result=no
5322 fi
5323 else
5324 result=$wxUSE_PERMISSIVE
5325 fi
5326
5327 { echo "$as_me:$LINENO: result: $result" >&5
5328 echo "${ECHO_T}$result" >&6; }
5329
5330
5331 enablestring=
5332 defaultval=
5333 if test -z "$defaultval"; then
5334 if test x"$enablestring" = xdisable; then
5335 defaultval=yes
5336 else
5337 defaultval=no
5338 fi
5339 fi
5340
5341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5342 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5343 # Check whether --enable-no_deps was given.
5344 if test "${enable_no_deps+set}" = set; then
5345 enableval=$enable_no_deps;
5346 if test "$enableval" = yes; then
5347 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5348 else
5349 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5350 fi
5351
5352 else
5353
5354 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5355
5356 fi
5357
5358
5359 eval "$wx_cv_use_no_deps"
5360
5361 if test x"$enablestring" = xdisable; then
5362 if test $wxUSE_NO_DEPS = no; then
5363 result=yes
5364 else
5365 result=no
5366 fi
5367 else
5368 result=$wxUSE_NO_DEPS
5369 fi
5370
5371 { echo "$as_me:$LINENO: result: $result" >&5
5372 echo "${ECHO_T}$result" >&6; }
5373
5374
5375 enablestring=disable
5376 defaultval=
5377 if test -z "$defaultval"; then
5378 if test x"$enablestring" = xdisable; then
5379 defaultval=yes
5380 else
5381 defaultval=no
5382 fi
5383 fi
5384
5385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5386 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5387 # Check whether --enable-vararg_macros was given.
5388 if test "${enable_vararg_macros+set}" = set; then
5389 enableval=$enable_vararg_macros;
5390 if test "$enableval" = yes; then
5391 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5392 else
5393 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5394 fi
5395
5396 else
5397
5398 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5399
5400 fi
5401
5402
5403 eval "$wx_cv_use_vararg_macros"
5404
5405 if test x"$enablestring" = xdisable; then
5406 if test $wxUSE_VARARG_MACROS = no; then
5407 result=yes
5408 else
5409 result=no
5410 fi
5411 else
5412 result=$wxUSE_VARARG_MACROS
5413 fi
5414
5415 { echo "$as_me:$LINENO: result: $result" >&5
5416 echo "${ECHO_T}$result" >&6; }
5417
5418
5419
5420 enablestring=
5421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5422 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5423 # Check whether --enable-universal_binary was given.
5424 if test "${enable_universal_binary+set}" = set; then
5425 enableval=$enable_universal_binary;
5426 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5427
5428 else
5429
5430 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5431
5432 fi
5433
5434
5435 eval "$wx_cv_use_universal_binary"
5436
5437 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5438 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5439
5440
5441 enablestring=
5442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5443 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5444 # Check whether --enable-macosx_arch was given.
5445 if test "${enable_macosx_arch+set}" = set; then
5446 enableval=$enable_macosx_arch;
5447 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5448
5449 else
5450
5451 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5452
5453 fi
5454
5455
5456 eval "$wx_cv_use_macosx_arch"
5457
5458 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5459 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5460
5461
5462
5463 enablestring=
5464 defaultval=
5465 if test -z "$defaultval"; then
5466 if test x"$enablestring" = xdisable; then
5467 defaultval=yes
5468 else
5469 defaultval=no
5470 fi
5471 fi
5472
5473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5474 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5475 # Check whether --enable-compat26 was given.
5476 if test "${enable_compat26+set}" = set; then
5477 enableval=$enable_compat26;
5478 if test "$enableval" = yes; then
5479 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5480 else
5481 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5482 fi
5483
5484 else
5485
5486 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5487
5488 fi
5489
5490
5491 eval "$wx_cv_use_compat26"
5492
5493 if test x"$enablestring" = xdisable; then
5494 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5495 result=yes
5496 else
5497 result=no
5498 fi
5499 else
5500 result=$WXWIN_COMPATIBILITY_2_6
5501 fi
5502
5503 { echo "$as_me:$LINENO: result: $result" >&5
5504 echo "${ECHO_T}$result" >&6; }
5505
5506
5507 enablestring=disable
5508 defaultval=
5509 if test -z "$defaultval"; then
5510 if test x"$enablestring" = xdisable; then
5511 defaultval=yes
5512 else
5513 defaultval=no
5514 fi
5515 fi
5516
5517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5519 # Check whether --enable-compat28 was given.
5520 if test "${enable_compat28+set}" = set; then
5521 enableval=$enable_compat28;
5522 if test "$enableval" = yes; then
5523 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5524 else
5525 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5526 fi
5527
5528 else
5529
5530 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5531
5532 fi
5533
5534
5535 eval "$wx_cv_use_compat28"
5536
5537 if test x"$enablestring" = xdisable; then
5538 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5539 result=yes
5540 else
5541 result=no
5542 fi
5543 else
5544 result=$WXWIN_COMPATIBILITY_2_8
5545 fi
5546
5547 { echo "$as_me:$LINENO: result: $result" >&5
5548 echo "${ECHO_T}$result" >&6; }
5549
5550
5551
5552 enablestring=disable
5553 defaultval=
5554 if test -z "$defaultval"; then
5555 if test x"$enablestring" = xdisable; then
5556 defaultval=yes
5557 else
5558 defaultval=no
5559 fi
5560 fi
5561
5562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5563 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5564 # Check whether --enable-rpath was given.
5565 if test "${enable_rpath+set}" = set; then
5566 enableval=$enable_rpath;
5567 if test "$enableval" = yes; then
5568 wx_cv_use_rpath='wxUSE_RPATH=yes'
5569 else
5570 wx_cv_use_rpath='wxUSE_RPATH=no'
5571 fi
5572
5573 else
5574
5575 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5576
5577 fi
5578
5579
5580 eval "$wx_cv_use_rpath"
5581
5582 if test x"$enablestring" = xdisable; then
5583 if test $wxUSE_RPATH = no; then
5584 result=yes
5585 else
5586 result=no
5587 fi
5588 else
5589 result=$wxUSE_RPATH
5590 fi
5591
5592 { echo "$as_me:$LINENO: result: $result" >&5
5593 echo "${ECHO_T}$result" >&6; }
5594
5595
5596
5597 enablestring=
5598 defaultval=
5599 if test -z "$defaultval"; then
5600 if test x"$enablestring" = xdisable; then
5601 defaultval=yes
5602 else
5603 defaultval=no
5604 fi
5605 fi
5606
5607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5608 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5609 # Check whether --enable-objc_uniquifying was given.
5610 if test "${enable_objc_uniquifying+set}" = set; then
5611 enableval=$enable_objc_uniquifying;
5612 if test "$enableval" = yes; then
5613 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5614 else
5615 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5616 fi
5617
5618 else
5619
5620 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5621
5622 fi
5623
5624
5625 eval "$wx_cv_use_objc_uniquifying"
5626
5627 if test x"$enablestring" = xdisable; then
5628 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5629 result=yes
5630 else
5631 result=no
5632 fi
5633 else
5634 result=$wxUSE_OBJC_UNIQUIFYING
5635 fi
5636
5637 { echo "$as_me:$LINENO: result: $result" >&5
5638 echo "${ECHO_T}$result" >&6; }
5639
5640
5641
5642 enablestring=disable
5643 defaultval=
5644 if test -z "$defaultval"; then
5645 if test x"$enablestring" = xdisable; then
5646 defaultval=yes
5647 else
5648 defaultval=no
5649 fi
5650 fi
5651
5652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5653 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5654 # Check whether --enable-visibility was given.
5655 if test "${enable_visibility+set}" = set; then
5656 enableval=$enable_visibility;
5657 if test "$enableval" = yes; then
5658 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5659 else
5660 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5661 fi
5662
5663 else
5664
5665 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5666
5667 fi
5668
5669
5670 eval "$wx_cv_use_visibility"
5671
5672 if test x"$enablestring" = xdisable; then
5673 if test $wxUSE_VISIBILITY = no; then
5674 result=yes
5675 else
5676 result=no
5677 fi
5678 else
5679 result=$wxUSE_VISIBILITY
5680 fi
5681
5682 { echo "$as_me:$LINENO: result: $result" >&5
5683 echo "${ECHO_T}$result" >&6; }
5684
5685
5686 enablestring=disable
5687 defaultval=
5688 if test -z "$defaultval"; then
5689 if test x"$enablestring" = xdisable; then
5690 defaultval=yes
5691 else
5692 defaultval=no
5693 fi
5694 fi
5695
5696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5697 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5698 # Check whether --enable-tls was given.
5699 if test "${enable_tls+set}" = set; then
5700 enableval=$enable_tls;
5701 if test "$enableval" = yes; then
5702 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5703 else
5704 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5705 fi
5706
5707 else
5708
5709 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5710
5711 fi
5712
5713
5714 eval "$wx_cv_use_tls"
5715
5716 if test x"$enablestring" = xdisable; then
5717 if test $wxUSE_COMPILER_TLS = no; then
5718 result=yes
5719 else
5720 result=no
5721 fi
5722 else
5723 result=$wxUSE_COMPILER_TLS
5724 fi
5725
5726 { echo "$as_me:$LINENO: result: $result" >&5
5727 echo "${ECHO_T}$result" >&6; }
5728
5729
5730
5731
5732 enablestring=
5733 defaultval=$wxUSE_ALL_FEATURES
5734 if test -z "$defaultval"; then
5735 if test x"$enablestring" = xdisable; then
5736 defaultval=yes
5737 else
5738 defaultval=no
5739 fi
5740 fi
5741
5742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5743 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5744 # Check whether --enable-intl was given.
5745 if test "${enable_intl+set}" = set; then
5746 enableval=$enable_intl;
5747 if test "$enableval" = yes; then
5748 wx_cv_use_intl='wxUSE_INTL=yes'
5749 else
5750 wx_cv_use_intl='wxUSE_INTL=no'
5751 fi
5752
5753 else
5754
5755 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5756
5757 fi
5758
5759
5760 eval "$wx_cv_use_intl"
5761
5762 if test x"$enablestring" = xdisable; then
5763 if test $wxUSE_INTL = no; then
5764 result=yes
5765 else
5766 result=no
5767 fi
5768 else
5769 result=$wxUSE_INTL
5770 fi
5771
5772 { echo "$as_me:$LINENO: result: $result" >&5
5773 echo "${ECHO_T}$result" >&6; }
5774
5775
5776 enablestring=
5777 defaultval=$wxUSE_ALL_FEATURES
5778 if test -z "$defaultval"; then
5779 if test x"$enablestring" = xdisable; then
5780 defaultval=yes
5781 else
5782 defaultval=no
5783 fi
5784 fi
5785
5786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5787 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5788 # Check whether --enable-xlocale was given.
5789 if test "${enable_xlocale+set}" = set; then
5790 enableval=$enable_xlocale;
5791 if test "$enableval" = yes; then
5792 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5793 else
5794 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5795 fi
5796
5797 else
5798
5799 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5800
5801 fi
5802
5803
5804 eval "$wx_cv_use_xlocale"
5805
5806 if test x"$enablestring" = xdisable; then
5807 if test $wxUSE_XLOCALE = no; then
5808 result=yes
5809 else
5810 result=no
5811 fi
5812 else
5813 result=$wxUSE_XLOCALE
5814 fi
5815
5816 { echo "$as_me:$LINENO: result: $result" >&5
5817 echo "${ECHO_T}$result" >&6; }
5818
5819
5820 enablestring=
5821 defaultval=$wxUSE_ALL_FEATURES
5822 if test -z "$defaultval"; then
5823 if test x"$enablestring" = xdisable; then
5824 defaultval=yes
5825 else
5826 defaultval=no
5827 fi
5828 fi
5829
5830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5831 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5832 # Check whether --enable-config was given.
5833 if test "${enable_config+set}" = set; then
5834 enableval=$enable_config;
5835 if test "$enableval" = yes; then
5836 wx_cv_use_config='wxUSE_CONFIG=yes'
5837 else
5838 wx_cv_use_config='wxUSE_CONFIG=no'
5839 fi
5840
5841 else
5842
5843 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5844
5845 fi
5846
5847
5848 eval "$wx_cv_use_config"
5849
5850 if test x"$enablestring" = xdisable; then
5851 if test $wxUSE_CONFIG = no; then
5852 result=yes
5853 else
5854 result=no
5855 fi
5856 else
5857 result=$wxUSE_CONFIG
5858 fi
5859
5860 { echo "$as_me:$LINENO: result: $result" >&5
5861 echo "${ECHO_T}$result" >&6; }
5862
5863
5864
5865 enablestring=
5866 defaultval=$wxUSE_ALL_FEATURES
5867 if test -z "$defaultval"; then
5868 if test x"$enablestring" = xdisable; then
5869 defaultval=yes
5870 else
5871 defaultval=no
5872 fi
5873 fi
5874
5875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5876 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5877 # Check whether --enable-protocols was given.
5878 if test "${enable_protocols+set}" = set; then
5879 enableval=$enable_protocols;
5880 if test "$enableval" = yes; then
5881 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5882 else
5883 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5884 fi
5885
5886 else
5887
5888 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5889
5890 fi
5891
5892
5893 eval "$wx_cv_use_protocols"
5894
5895 if test x"$enablestring" = xdisable; then
5896 if test $wxUSE_PROTOCOL = no; then
5897 result=yes
5898 else
5899 result=no
5900 fi
5901 else
5902 result=$wxUSE_PROTOCOL
5903 fi
5904
5905 { echo "$as_me:$LINENO: result: $result" >&5
5906 echo "${ECHO_T}$result" >&6; }
5907
5908
5909 enablestring=
5910 defaultval=$wxUSE_ALL_FEATURES
5911 if test -z "$defaultval"; then
5912 if test x"$enablestring" = xdisable; then
5913 defaultval=yes
5914 else
5915 defaultval=no
5916 fi
5917 fi
5918
5919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5920 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5921 # Check whether --enable-ftp was given.
5922 if test "${enable_ftp+set}" = set; then
5923 enableval=$enable_ftp;
5924 if test "$enableval" = yes; then
5925 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5926 else
5927 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5928 fi
5929
5930 else
5931
5932 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5933
5934 fi
5935
5936
5937 eval "$wx_cv_use_ftp"
5938
5939 if test x"$enablestring" = xdisable; then
5940 if test $wxUSE_PROTOCOL_FTP = no; then
5941 result=yes
5942 else
5943 result=no
5944 fi
5945 else
5946 result=$wxUSE_PROTOCOL_FTP
5947 fi
5948
5949 { echo "$as_me:$LINENO: result: $result" >&5
5950 echo "${ECHO_T}$result" >&6; }
5951
5952
5953 enablestring=
5954 defaultval=$wxUSE_ALL_FEATURES
5955 if test -z "$defaultval"; then
5956 if test x"$enablestring" = xdisable; then
5957 defaultval=yes
5958 else
5959 defaultval=no
5960 fi
5961 fi
5962
5963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5964 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5965 # Check whether --enable-http was given.
5966 if test "${enable_http+set}" = set; then
5967 enableval=$enable_http;
5968 if test "$enableval" = yes; then
5969 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5970 else
5971 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5972 fi
5973
5974 else
5975
5976 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5977
5978 fi
5979
5980
5981 eval "$wx_cv_use_http"
5982
5983 if test x"$enablestring" = xdisable; then
5984 if test $wxUSE_PROTOCOL_HTTP = no; then
5985 result=yes
5986 else
5987 result=no
5988 fi
5989 else
5990 result=$wxUSE_PROTOCOL_HTTP
5991 fi
5992
5993 { echo "$as_me:$LINENO: result: $result" >&5
5994 echo "${ECHO_T}$result" >&6; }
5995
5996
5997 enablestring=
5998 defaultval=$wxUSE_ALL_FEATURES
5999 if test -z "$defaultval"; then
6000 if test x"$enablestring" = xdisable; then
6001 defaultval=yes
6002 else
6003 defaultval=no
6004 fi
6005 fi
6006
6007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6009 # Check whether --enable-fileproto was given.
6010 if test "${enable_fileproto+set}" = set; then
6011 enableval=$enable_fileproto;
6012 if test "$enableval" = yes; then
6013 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6014 else
6015 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6016 fi
6017
6018 else
6019
6020 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6021
6022 fi
6023
6024
6025 eval "$wx_cv_use_fileproto"
6026
6027 if test x"$enablestring" = xdisable; then
6028 if test $wxUSE_PROTOCOL_FILE = no; then
6029 result=yes
6030 else
6031 result=no
6032 fi
6033 else
6034 result=$wxUSE_PROTOCOL_FILE
6035 fi
6036
6037 { echo "$as_me:$LINENO: result: $result" >&5
6038 echo "${ECHO_T}$result" >&6; }
6039
6040
6041 enablestring=
6042 defaultval=$wxUSE_ALL_FEATURES
6043 if test -z "$defaultval"; then
6044 if test x"$enablestring" = xdisable; then
6045 defaultval=yes
6046 else
6047 defaultval=no
6048 fi
6049 fi
6050
6051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6053 # Check whether --enable-sockets was given.
6054 if test "${enable_sockets+set}" = set; then
6055 enableval=$enable_sockets;
6056 if test "$enableval" = yes; then
6057 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6058 else
6059 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6060 fi
6061
6062 else
6063
6064 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6065
6066 fi
6067
6068
6069 eval "$wx_cv_use_sockets"
6070
6071 if test x"$enablestring" = xdisable; then
6072 if test $wxUSE_SOCKETS = no; then
6073 result=yes
6074 else
6075 result=no
6076 fi
6077 else
6078 result=$wxUSE_SOCKETS
6079 fi
6080
6081 { echo "$as_me:$LINENO: result: $result" >&5
6082 echo "${ECHO_T}$result" >&6; }
6083
6084
6085 enablestring=
6086 defaultval=$wxUSE_ALL_FEATURES
6087 if test -z "$defaultval"; then
6088 if test x"$enablestring" = xdisable; then
6089 defaultval=yes
6090 else
6091 defaultval=no
6092 fi
6093 fi
6094
6095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6096 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6097 # Check whether --enable-ipv6 was given.
6098 if test "${enable_ipv6+set}" = set; then
6099 enableval=$enable_ipv6;
6100 if test "$enableval" = yes; then
6101 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6102 else
6103 wx_cv_use_ipv6='wxUSE_IPV6=no'
6104 fi
6105
6106 else
6107
6108 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6109
6110 fi
6111
6112
6113 eval "$wx_cv_use_ipv6"
6114
6115 if test x"$enablestring" = xdisable; then
6116 if test $wxUSE_IPV6 = no; then
6117 result=yes
6118 else
6119 result=no
6120 fi
6121 else
6122 result=$wxUSE_IPV6
6123 fi
6124
6125 { echo "$as_me:$LINENO: result: $result" >&5
6126 echo "${ECHO_T}$result" >&6; }
6127
6128
6129 enablestring=
6130 defaultval=$wxUSE_ALL_FEATURES
6131 if test -z "$defaultval"; then
6132 if test x"$enablestring" = xdisable; then
6133 defaultval=yes
6134 else
6135 defaultval=no
6136 fi
6137 fi
6138
6139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6140 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6141 # Check whether --enable-ole was given.
6142 if test "${enable_ole+set}" = set; then
6143 enableval=$enable_ole;
6144 if test "$enableval" = yes; then
6145 wx_cv_use_ole='wxUSE_OLE=yes'
6146 else
6147 wx_cv_use_ole='wxUSE_OLE=no'
6148 fi
6149
6150 else
6151
6152 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6153
6154 fi
6155
6156
6157 eval "$wx_cv_use_ole"
6158
6159 if test x"$enablestring" = xdisable; then
6160 if test $wxUSE_OLE = no; then
6161 result=yes
6162 else
6163 result=no
6164 fi
6165 else
6166 result=$wxUSE_OLE
6167 fi
6168
6169 { echo "$as_me:$LINENO: result: $result" >&5
6170 echo "${ECHO_T}$result" >&6; }
6171
6172
6173 enablestring=
6174 defaultval=$wxUSE_ALL_FEATURES
6175 if test -z "$defaultval"; then
6176 if test x"$enablestring" = xdisable; then
6177 defaultval=yes
6178 else
6179 defaultval=no
6180 fi
6181 fi
6182
6183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6184 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6185 # Check whether --enable-dataobj was given.
6186 if test "${enable_dataobj+set}" = set; then
6187 enableval=$enable_dataobj;
6188 if test "$enableval" = yes; then
6189 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6190 else
6191 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6192 fi
6193
6194 else
6195
6196 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6197
6198 fi
6199
6200
6201 eval "$wx_cv_use_dataobj"
6202
6203 if test x"$enablestring" = xdisable; then
6204 if test $wxUSE_DATAOBJ = no; then
6205 result=yes
6206 else
6207 result=no
6208 fi
6209 else
6210 result=$wxUSE_DATAOBJ
6211 fi
6212
6213 { echo "$as_me:$LINENO: result: $result" >&5
6214 echo "${ECHO_T}$result" >&6; }
6215
6216
6217
6218 enablestring=
6219 defaultval=$wxUSE_ALL_FEATURES
6220 if test -z "$defaultval"; then
6221 if test x"$enablestring" = xdisable; then
6222 defaultval=yes
6223 else
6224 defaultval=no
6225 fi
6226 fi
6227
6228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6229 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6230 # Check whether --enable-ipc was given.
6231 if test "${enable_ipc+set}" = set; then
6232 enableval=$enable_ipc;
6233 if test "$enableval" = yes; then
6234 wx_cv_use_ipc='wxUSE_IPC=yes'
6235 else
6236 wx_cv_use_ipc='wxUSE_IPC=no'
6237 fi
6238
6239 else
6240
6241 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6242
6243 fi
6244
6245
6246 eval "$wx_cv_use_ipc"
6247
6248 if test x"$enablestring" = xdisable; then
6249 if test $wxUSE_IPC = no; then
6250 result=yes
6251 else
6252 result=no
6253 fi
6254 else
6255 result=$wxUSE_IPC
6256 fi
6257
6258 { echo "$as_me:$LINENO: result: $result" >&5
6259 echo "${ECHO_T}$result" >&6; }
6260
6261
6262
6263 enablestring=
6264 defaultval=$wxUSE_ALL_FEATURES
6265 if test -z "$defaultval"; then
6266 if test x"$enablestring" = xdisable; then
6267 defaultval=yes
6268 else
6269 defaultval=no
6270 fi
6271 fi
6272
6273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6274 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6275 # Check whether --enable-baseevtloop was given.
6276 if test "${enable_baseevtloop+set}" = set; then
6277 enableval=$enable_baseevtloop;
6278 if test "$enableval" = yes; then
6279 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6280 else
6281 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6282 fi
6283
6284 else
6285
6286 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6287
6288 fi
6289
6290
6291 eval "$wx_cv_use_baseevtloop"
6292
6293 if test x"$enablestring" = xdisable; then
6294 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6295 result=yes
6296 else
6297 result=no
6298 fi
6299 else
6300 result=$wxUSE_CONSOLE_EVENTLOOP
6301 fi
6302
6303 { echo "$as_me:$LINENO: result: $result" >&5
6304 echo "${ECHO_T}$result" >&6; }
6305
6306
6307 enablestring=
6308 defaultval=$wxUSE_ALL_FEATURES
6309 if test -z "$defaultval"; then
6310 if test x"$enablestring" = xdisable; then
6311 defaultval=yes
6312 else
6313 defaultval=no
6314 fi
6315 fi
6316
6317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6318 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6319 # Check whether --enable-epollloop was given.
6320 if test "${enable_epollloop+set}" = set; then
6321 enableval=$enable_epollloop;
6322 if test "$enableval" = yes; then
6323 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6324 else
6325 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6326 fi
6327
6328 else
6329
6330 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6331
6332 fi
6333
6334
6335 eval "$wx_cv_use_epollloop"
6336
6337 if test x"$enablestring" = xdisable; then
6338 if test $wxUSE_EPOLL_DISPATCHER = no; then
6339 result=yes
6340 else
6341 result=no
6342 fi
6343 else
6344 result=$wxUSE_EPOLL_DISPATCHER
6345 fi
6346
6347 { echo "$as_me:$LINENO: result: $result" >&5
6348 echo "${ECHO_T}$result" >&6; }
6349
6350
6351 enablestring=
6352 defaultval=$wxUSE_ALL_FEATURES
6353 if test -z "$defaultval"; then
6354 if test x"$enablestring" = xdisable; then
6355 defaultval=yes
6356 else
6357 defaultval=no
6358 fi
6359 fi
6360
6361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6362 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6363 # Check whether --enable-selectloop was given.
6364 if test "${enable_selectloop+set}" = set; then
6365 enableval=$enable_selectloop;
6366 if test "$enableval" = yes; then
6367 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6368 else
6369 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6370 fi
6371
6372 else
6373
6374 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6375
6376 fi
6377
6378
6379 eval "$wx_cv_use_selectloop"
6380
6381 if test x"$enablestring" = xdisable; then
6382 if test $wxUSE_SELECT_DISPATCHER = no; then
6383 result=yes
6384 else
6385 result=no
6386 fi
6387 else
6388 result=$wxUSE_SELECT_DISPATCHER
6389 fi
6390
6391 { echo "$as_me:$LINENO: result: $result" >&5
6392 echo "${ECHO_T}$result" >&6; }
6393
6394
6395
6396 enablestring=
6397 defaultval=$wxUSE_ALL_FEATURES
6398 if test -z "$defaultval"; then
6399 if test x"$enablestring" = xdisable; then
6400 defaultval=yes
6401 else
6402 defaultval=no
6403 fi
6404 fi
6405
6406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6407 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6408 # Check whether --enable-any was given.
6409 if test "${enable_any+set}" = set; then
6410 enableval=$enable_any;
6411 if test "$enableval" = yes; then
6412 wx_cv_use_any='wxUSE_ANY=yes'
6413 else
6414 wx_cv_use_any='wxUSE_ANY=no'
6415 fi
6416
6417 else
6418
6419 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6420
6421 fi
6422
6423
6424 eval "$wx_cv_use_any"
6425
6426 if test x"$enablestring" = xdisable; then
6427 if test $wxUSE_ANY = no; then
6428 result=yes
6429 else
6430 result=no
6431 fi
6432 else
6433 result=$wxUSE_ANY
6434 fi
6435
6436 { echo "$as_me:$LINENO: result: $result" >&5
6437 echo "${ECHO_T}$result" >&6; }
6438
6439
6440 enablestring=
6441 defaultval=$wxUSE_ALL_FEATURES
6442 if test -z "$defaultval"; then
6443 if test x"$enablestring" = xdisable; then
6444 defaultval=yes
6445 else
6446 defaultval=no
6447 fi
6448 fi
6449
6450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6451 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6452 # Check whether --enable-apple_ieee was given.
6453 if test "${enable_apple_ieee+set}" = set; then
6454 enableval=$enable_apple_ieee;
6455 if test "$enableval" = yes; then
6456 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6457 else
6458 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6459 fi
6460
6461 else
6462
6463 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6464
6465 fi
6466
6467
6468 eval "$wx_cv_use_apple_ieee"
6469
6470 if test x"$enablestring" = xdisable; then
6471 if test $wxUSE_APPLE_IEEE = no; then
6472 result=yes
6473 else
6474 result=no
6475 fi
6476 else
6477 result=$wxUSE_APPLE_IEEE
6478 fi
6479
6480 { echo "$as_me:$LINENO: result: $result" >&5
6481 echo "${ECHO_T}$result" >&6; }
6482
6483
6484 enablestring=
6485 defaultval=$wxUSE_ALL_FEATURES
6486 if test -z "$defaultval"; then
6487 if test x"$enablestring" = xdisable; then
6488 defaultval=yes
6489 else
6490 defaultval=no
6491 fi
6492 fi
6493
6494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6495 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6496 # Check whether --enable-arcstream was given.
6497 if test "${enable_arcstream+set}" = set; then
6498 enableval=$enable_arcstream;
6499 if test "$enableval" = yes; then
6500 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6501 else
6502 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6503 fi
6504
6505 else
6506
6507 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6508
6509 fi
6510
6511
6512 eval "$wx_cv_use_arcstream"
6513
6514 if test x"$enablestring" = xdisable; then
6515 if test $wxUSE_ARCHIVE_STREAMS = no; then
6516 result=yes
6517 else
6518 result=no
6519 fi
6520 else
6521 result=$wxUSE_ARCHIVE_STREAMS
6522 fi
6523
6524 { echo "$as_me:$LINENO: result: $result" >&5
6525 echo "${ECHO_T}$result" >&6; }
6526
6527
6528 enablestring=
6529 defaultval=$wxUSE_ALL_FEATURES
6530 if test -z "$defaultval"; then
6531 if test x"$enablestring" = xdisable; then
6532 defaultval=yes
6533 else
6534 defaultval=no
6535 fi
6536 fi
6537
6538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6539 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6540 # Check whether --enable-base64 was given.
6541 if test "${enable_base64+set}" = set; then
6542 enableval=$enable_base64;
6543 if test "$enableval" = yes; then
6544 wx_cv_use_base64='wxUSE_BASE64=yes'
6545 else
6546 wx_cv_use_base64='wxUSE_BASE64=no'
6547 fi
6548
6549 else
6550
6551 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6552
6553 fi
6554
6555
6556 eval "$wx_cv_use_base64"
6557
6558 if test x"$enablestring" = xdisable; then
6559 if test $wxUSE_BASE64 = no; then
6560 result=yes
6561 else
6562 result=no
6563 fi
6564 else
6565 result=$wxUSE_BASE64
6566 fi
6567
6568 { echo "$as_me:$LINENO: result: $result" >&5
6569 echo "${ECHO_T}$result" >&6; }
6570
6571
6572 enablestring=
6573 defaultval=$wxUSE_ALL_FEATURES
6574 if test -z "$defaultval"; then
6575 if test x"$enablestring" = xdisable; then
6576 defaultval=yes
6577 else
6578 defaultval=no
6579 fi
6580 fi
6581
6582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6583 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6584 # Check whether --enable-backtrace was given.
6585 if test "${enable_backtrace+set}" = set; then
6586 enableval=$enable_backtrace;
6587 if test "$enableval" = yes; then
6588 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6589 else
6590 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6591 fi
6592
6593 else
6594
6595 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6596
6597 fi
6598
6599
6600 eval "$wx_cv_use_backtrace"
6601
6602 if test x"$enablestring" = xdisable; then
6603 if test $wxUSE_STACKWALKER = no; then
6604 result=yes
6605 else
6606 result=no
6607 fi
6608 else
6609 result=$wxUSE_STACKWALKER
6610 fi
6611
6612 { echo "$as_me:$LINENO: result: $result" >&5
6613 echo "${ECHO_T}$result" >&6; }
6614
6615
6616 enablestring=
6617 defaultval=$wxUSE_ALL_FEATURES
6618 if test -z "$defaultval"; then
6619 if test x"$enablestring" = xdisable; then
6620 defaultval=yes
6621 else
6622 defaultval=no
6623 fi
6624 fi
6625
6626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6627 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6628 # Check whether --enable-catch_segvs was given.
6629 if test "${enable_catch_segvs+set}" = set; then
6630 enableval=$enable_catch_segvs;
6631 if test "$enableval" = yes; then
6632 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6633 else
6634 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6635 fi
6636
6637 else
6638
6639 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6640
6641 fi
6642
6643
6644 eval "$wx_cv_use_catch_segvs"
6645
6646 if test x"$enablestring" = xdisable; then
6647 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6648 result=yes
6649 else
6650 result=no
6651 fi
6652 else
6653 result=$wxUSE_ON_FATAL_EXCEPTION
6654 fi
6655
6656 { echo "$as_me:$LINENO: result: $result" >&5
6657 echo "${ECHO_T}$result" >&6; }
6658
6659
6660 enablestring=
6661 defaultval=$wxUSE_ALL_FEATURES
6662 if test -z "$defaultval"; then
6663 if test x"$enablestring" = xdisable; then
6664 defaultval=yes
6665 else
6666 defaultval=no
6667 fi
6668 fi
6669
6670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6671 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6672 # Check whether --enable-cmdline was given.
6673 if test "${enable_cmdline+set}" = set; then
6674 enableval=$enable_cmdline;
6675 if test "$enableval" = yes; then
6676 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6677 else
6678 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6679 fi
6680
6681 else
6682
6683 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6684
6685 fi
6686
6687
6688 eval "$wx_cv_use_cmdline"
6689
6690 if test x"$enablestring" = xdisable; then
6691 if test $wxUSE_CMDLINE_PARSER = no; then
6692 result=yes
6693 else
6694 result=no
6695 fi
6696 else
6697 result=$wxUSE_CMDLINE_PARSER
6698 fi
6699
6700 { echo "$as_me:$LINENO: result: $result" >&5
6701 echo "${ECHO_T}$result" >&6; }
6702
6703
6704 enablestring=
6705 defaultval=$wxUSE_ALL_FEATURES
6706 if test -z "$defaultval"; then
6707 if test x"$enablestring" = xdisable; then
6708 defaultval=yes
6709 else
6710 defaultval=no
6711 fi
6712 fi
6713
6714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6715 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6716 # Check whether --enable-datetime was given.
6717 if test "${enable_datetime+set}" = set; then
6718 enableval=$enable_datetime;
6719 if test "$enableval" = yes; then
6720 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6721 else
6722 wx_cv_use_datetime='wxUSE_DATETIME=no'
6723 fi
6724
6725 else
6726
6727 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6728
6729 fi
6730
6731
6732 eval "$wx_cv_use_datetime"
6733
6734 if test x"$enablestring" = xdisable; then
6735 if test $wxUSE_DATETIME = no; then
6736 result=yes
6737 else
6738 result=no
6739 fi
6740 else
6741 result=$wxUSE_DATETIME
6742 fi
6743
6744 { echo "$as_me:$LINENO: result: $result" >&5
6745 echo "${ECHO_T}$result" >&6; }
6746
6747
6748 enablestring=
6749 defaultval=$wxUSE_ALL_FEATURES
6750 if test -z "$defaultval"; then
6751 if test x"$enablestring" = xdisable; then
6752 defaultval=yes
6753 else
6754 defaultval=no
6755 fi
6756 fi
6757
6758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6759 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6760 # Check whether --enable-debugreport was given.
6761 if test "${enable_debugreport+set}" = set; then
6762 enableval=$enable_debugreport;
6763 if test "$enableval" = yes; then
6764 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6765 else
6766 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6767 fi
6768
6769 else
6770
6771 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6772
6773 fi
6774
6775
6776 eval "$wx_cv_use_debugreport"
6777
6778 if test x"$enablestring" = xdisable; then
6779 if test $wxUSE_DEBUGREPORT = no; then
6780 result=yes
6781 else
6782 result=no
6783 fi
6784 else
6785 result=$wxUSE_DEBUGREPORT
6786 fi
6787
6788 { echo "$as_me:$LINENO: result: $result" >&5
6789 echo "${ECHO_T}$result" >&6; }
6790
6791
6792 enablestring=
6793 defaultval=$wxUSE_ALL_FEATURES
6794 if test -z "$defaultval"; then
6795 if test x"$enablestring" = xdisable; then
6796 defaultval=yes
6797 else
6798 defaultval=no
6799 fi
6800 fi
6801
6802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6804 # Check whether --enable-dialupman was given.
6805 if test "${enable_dialupman+set}" = set; then
6806 enableval=$enable_dialupman;
6807 if test "$enableval" = yes; then
6808 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6809 else
6810 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6811 fi
6812
6813 else
6814
6815 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6816
6817 fi
6818
6819
6820 eval "$wx_cv_use_dialupman"
6821
6822 if test x"$enablestring" = xdisable; then
6823 if test $wxUSE_DIALUP_MANAGER = no; then
6824 result=yes
6825 else
6826 result=no
6827 fi
6828 else
6829 result=$wxUSE_DIALUP_MANAGER
6830 fi
6831
6832 { echo "$as_me:$LINENO: result: $result" >&5
6833 echo "${ECHO_T}$result" >&6; }
6834
6835
6836 enablestring=
6837 defaultval=$wxUSE_ALL_FEATURES
6838 if test -z "$defaultval"; then
6839 if test x"$enablestring" = xdisable; then
6840 defaultval=yes
6841 else
6842 defaultval=no
6843 fi
6844 fi
6845
6846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6847 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6848 # Check whether --enable-dynlib was given.
6849 if test "${enable_dynlib+set}" = set; then
6850 enableval=$enable_dynlib;
6851 if test "$enableval" = yes; then
6852 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6853 else
6854 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6855 fi
6856
6857 else
6858
6859 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6860
6861 fi
6862
6863
6864 eval "$wx_cv_use_dynlib"
6865
6866 if test x"$enablestring" = xdisable; then
6867 if test $wxUSE_DYNLIB_CLASS = no; then
6868 result=yes
6869 else
6870 result=no
6871 fi
6872 else
6873 result=$wxUSE_DYNLIB_CLASS
6874 fi
6875
6876 { echo "$as_me:$LINENO: result: $result" >&5
6877 echo "${ECHO_T}$result" >&6; }
6878
6879
6880 enablestring=
6881 defaultval=$wxUSE_ALL_FEATURES
6882 if test -z "$defaultval"; then
6883 if test x"$enablestring" = xdisable; then
6884 defaultval=yes
6885 else
6886 defaultval=no
6887 fi
6888 fi
6889
6890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6891 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6892 # Check whether --enable-dynamicloader was given.
6893 if test "${enable_dynamicloader+set}" = set; then
6894 enableval=$enable_dynamicloader;
6895 if test "$enableval" = yes; then
6896 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6897 else
6898 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6899 fi
6900
6901 else
6902
6903 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6904
6905 fi
6906
6907
6908 eval "$wx_cv_use_dynamicloader"
6909
6910 if test x"$enablestring" = xdisable; then
6911 if test $wxUSE_DYNAMIC_LOADER = no; then
6912 result=yes
6913 else
6914 result=no
6915 fi
6916 else
6917 result=$wxUSE_DYNAMIC_LOADER
6918 fi
6919
6920 { echo "$as_me:$LINENO: result: $result" >&5
6921 echo "${ECHO_T}$result" >&6; }
6922
6923
6924 enablestring=
6925 defaultval=$wxUSE_ALL_FEATURES
6926 if test -z "$defaultval"; then
6927 if test x"$enablestring" = xdisable; then
6928 defaultval=yes
6929 else
6930 defaultval=no
6931 fi
6932 fi
6933
6934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6935 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6936 # Check whether --enable-exceptions was given.
6937 if test "${enable_exceptions+set}" = set; then
6938 enableval=$enable_exceptions;
6939 if test "$enableval" = yes; then
6940 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6941 else
6942 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6943 fi
6944
6945 else
6946
6947 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6948
6949 fi
6950
6951
6952 eval "$wx_cv_use_exceptions"
6953
6954 if test x"$enablestring" = xdisable; then
6955 if test $wxUSE_EXCEPTIONS = no; then
6956 result=yes
6957 else
6958 result=no
6959 fi
6960 else
6961 result=$wxUSE_EXCEPTIONS
6962 fi
6963
6964 { echo "$as_me:$LINENO: result: $result" >&5
6965 echo "${ECHO_T}$result" >&6; }
6966
6967
6968 enablestring=
6969 defaultval=$wxUSE_ALL_FEATURES
6970 if test -z "$defaultval"; then
6971 if test x"$enablestring" = xdisable; then
6972 defaultval=yes
6973 else
6974 defaultval=no
6975 fi
6976 fi
6977
6978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6979 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6980 # Check whether --enable-ffile was given.
6981 if test "${enable_ffile+set}" = set; then
6982 enableval=$enable_ffile;
6983 if test "$enableval" = yes; then
6984 wx_cv_use_ffile='wxUSE_FFILE=yes'
6985 else
6986 wx_cv_use_ffile='wxUSE_FFILE=no'
6987 fi
6988
6989 else
6990
6991 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6992
6993 fi
6994
6995
6996 eval "$wx_cv_use_ffile"
6997
6998 if test x"$enablestring" = xdisable; then
6999 if test $wxUSE_FFILE = no; then
7000 result=yes
7001 else
7002 result=no
7003 fi
7004 else
7005 result=$wxUSE_FFILE
7006 fi
7007
7008 { echo "$as_me:$LINENO: result: $result" >&5
7009 echo "${ECHO_T}$result" >&6; }
7010
7011
7012 enablestring=
7013 defaultval=$wxUSE_ALL_FEATURES
7014 if test -z "$defaultval"; then
7015 if test x"$enablestring" = xdisable; then
7016 defaultval=yes
7017 else
7018 defaultval=no
7019 fi
7020 fi
7021
7022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7023 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7024 # Check whether --enable-file was given.
7025 if test "${enable_file+set}" = set; then
7026 enableval=$enable_file;
7027 if test "$enableval" = yes; then
7028 wx_cv_use_file='wxUSE_FILE=yes'
7029 else
7030 wx_cv_use_file='wxUSE_FILE=no'
7031 fi
7032
7033 else
7034
7035 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7036
7037 fi
7038
7039
7040 eval "$wx_cv_use_file"
7041
7042 if test x"$enablestring" = xdisable; then
7043 if test $wxUSE_FILE = no; then
7044 result=yes
7045 else
7046 result=no
7047 fi
7048 else
7049 result=$wxUSE_FILE
7050 fi
7051
7052 { echo "$as_me:$LINENO: result: $result" >&5
7053 echo "${ECHO_T}$result" >&6; }
7054
7055
7056 enablestring=
7057 defaultval=$wxUSE_ALL_FEATURES
7058 if test -z "$defaultval"; then
7059 if test x"$enablestring" = xdisable; then
7060 defaultval=yes
7061 else
7062 defaultval=no
7063 fi
7064 fi
7065
7066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7067 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7068 # Check whether --enable-filehistory was given.
7069 if test "${enable_filehistory+set}" = set; then
7070 enableval=$enable_filehistory;
7071 if test "$enableval" = yes; then
7072 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7073 else
7074 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7075 fi
7076
7077 else
7078
7079 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7080
7081 fi
7082
7083
7084 eval "$wx_cv_use_filehistory"
7085
7086 if test x"$enablestring" = xdisable; then
7087 if test $wxUSE_FILE_HISTORY = no; then
7088 result=yes
7089 else
7090 result=no
7091 fi
7092 else
7093 result=$wxUSE_FILE_HISTORY
7094 fi
7095
7096 { echo "$as_me:$LINENO: result: $result" >&5
7097 echo "${ECHO_T}$result" >&6; }
7098
7099
7100 enablestring=
7101 defaultval=$wxUSE_ALL_FEATURES
7102 if test -z "$defaultval"; then
7103 if test x"$enablestring" = xdisable; then
7104 defaultval=yes
7105 else
7106 defaultval=no
7107 fi
7108 fi
7109
7110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7111 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7112 # Check whether --enable-filesystem was given.
7113 if test "${enable_filesystem+set}" = set; then
7114 enableval=$enable_filesystem;
7115 if test "$enableval" = yes; then
7116 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7117 else
7118 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7119 fi
7120
7121 else
7122
7123 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7124
7125 fi
7126
7127
7128 eval "$wx_cv_use_filesystem"
7129
7130 if test x"$enablestring" = xdisable; then
7131 if test $wxUSE_FILESYSTEM = no; then
7132 result=yes
7133 else
7134 result=no
7135 fi
7136 else
7137 result=$wxUSE_FILESYSTEM
7138 fi
7139
7140 { echo "$as_me:$LINENO: result: $result" >&5
7141 echo "${ECHO_T}$result" >&6; }
7142
7143
7144 enablestring=
7145 defaultval=$wxUSE_ALL_FEATURES
7146 if test -z "$defaultval"; then
7147 if test x"$enablestring" = xdisable; then
7148 defaultval=yes
7149 else
7150 defaultval=no
7151 fi
7152 fi
7153
7154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7155 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7156 # Check whether --enable-fontenum was given.
7157 if test "${enable_fontenum+set}" = set; then
7158 enableval=$enable_fontenum;
7159 if test "$enableval" = yes; then
7160 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7161 else
7162 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7163 fi
7164
7165 else
7166
7167 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7168
7169 fi
7170
7171
7172 eval "$wx_cv_use_fontenum"
7173
7174 if test x"$enablestring" = xdisable; then
7175 if test $wxUSE_FONTENUM = no; then
7176 result=yes
7177 else
7178 result=no
7179 fi
7180 else
7181 result=$wxUSE_FONTENUM
7182 fi
7183
7184 { echo "$as_me:$LINENO: result: $result" >&5
7185 echo "${ECHO_T}$result" >&6; }
7186
7187
7188 enablestring=
7189 defaultval=$wxUSE_ALL_FEATURES
7190 if test -z "$defaultval"; then
7191 if test x"$enablestring" = xdisable; then
7192 defaultval=yes
7193 else
7194 defaultval=no
7195 fi
7196 fi
7197
7198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7200 # Check whether --enable-fontmap was given.
7201 if test "${enable_fontmap+set}" = set; then
7202 enableval=$enable_fontmap;
7203 if test "$enableval" = yes; then
7204 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7205 else
7206 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7207 fi
7208
7209 else
7210
7211 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7212
7213 fi
7214
7215
7216 eval "$wx_cv_use_fontmap"
7217
7218 if test x"$enablestring" = xdisable; then
7219 if test $wxUSE_FONTMAP = no; then
7220 result=yes
7221 else
7222 result=no
7223 fi
7224 else
7225 result=$wxUSE_FONTMAP
7226 fi
7227
7228 { echo "$as_me:$LINENO: result: $result" >&5
7229 echo "${ECHO_T}$result" >&6; }
7230
7231
7232 enablestring=
7233 defaultval=$wxUSE_ALL_FEATURES
7234 if test -z "$defaultval"; then
7235 if test x"$enablestring" = xdisable; then
7236 defaultval=yes
7237 else
7238 defaultval=no
7239 fi
7240 fi
7241
7242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7243 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7244 # Check whether --enable-fs_archive was given.
7245 if test "${enable_fs_archive+set}" = set; then
7246 enableval=$enable_fs_archive;
7247 if test "$enableval" = yes; then
7248 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7249 else
7250 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7251 fi
7252
7253 else
7254
7255 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7256
7257 fi
7258
7259
7260 eval "$wx_cv_use_fs_archive"
7261
7262 if test x"$enablestring" = xdisable; then
7263 if test $wxUSE_FS_ARCHIVE = no; then
7264 result=yes
7265 else
7266 result=no
7267 fi
7268 else
7269 result=$wxUSE_FS_ARCHIVE
7270 fi
7271
7272 { echo "$as_me:$LINENO: result: $result" >&5
7273 echo "${ECHO_T}$result" >&6; }
7274
7275
7276 enablestring=
7277 defaultval=$wxUSE_ALL_FEATURES
7278 if test -z "$defaultval"; then
7279 if test x"$enablestring" = xdisable; then
7280 defaultval=yes
7281 else
7282 defaultval=no
7283 fi
7284 fi
7285
7286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7287 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7288 # Check whether --enable-fs_inet was given.
7289 if test "${enable_fs_inet+set}" = set; then
7290 enableval=$enable_fs_inet;
7291 if test "$enableval" = yes; then
7292 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7293 else
7294 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7295 fi
7296
7297 else
7298
7299 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7300
7301 fi
7302
7303
7304 eval "$wx_cv_use_fs_inet"
7305
7306 if test x"$enablestring" = xdisable; then
7307 if test $wxUSE_FS_INET = no; then
7308 result=yes
7309 else
7310 result=no
7311 fi
7312 else
7313 result=$wxUSE_FS_INET
7314 fi
7315
7316 { echo "$as_me:$LINENO: result: $result" >&5
7317 echo "${ECHO_T}$result" >&6; }
7318
7319
7320 enablestring=
7321 defaultval=$wxUSE_ALL_FEATURES
7322 if test -z "$defaultval"; then
7323 if test x"$enablestring" = xdisable; then
7324 defaultval=yes
7325 else
7326 defaultval=no
7327 fi
7328 fi
7329
7330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7331 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7332 # Check whether --enable-fs_zip was given.
7333 if test "${enable_fs_zip+set}" = set; then
7334 enableval=$enable_fs_zip;
7335 if test "$enableval" = yes; then
7336 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7337 else
7338 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7339 fi
7340
7341 else
7342
7343 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7344
7345 fi
7346
7347
7348 eval "$wx_cv_use_fs_zip"
7349
7350 if test x"$enablestring" = xdisable; then
7351 if test $wxUSE_FS_ZIP = no; then
7352 result=yes
7353 else
7354 result=no
7355 fi
7356 else
7357 result=$wxUSE_FS_ZIP
7358 fi
7359
7360 { echo "$as_me:$LINENO: result: $result" >&5
7361 echo "${ECHO_T}$result" >&6; }
7362
7363
7364 enablestring=
7365 defaultval=$wxUSE_ALL_FEATURES
7366 if test -z "$defaultval"; then
7367 if test x"$enablestring" = xdisable; then
7368 defaultval=yes
7369 else
7370 defaultval=no
7371 fi
7372 fi
7373
7374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7375 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7376 # Check whether --enable-fswatcher was given.
7377 if test "${enable_fswatcher+set}" = set; then
7378 enableval=$enable_fswatcher;
7379 if test "$enableval" = yes; then
7380 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7381 else
7382 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7383 fi
7384
7385 else
7386
7387 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7388
7389 fi
7390
7391
7392 eval "$wx_cv_use_fswatcher"
7393
7394 if test x"$enablestring" = xdisable; then
7395 if test $wxUSE_FSWATCHER = no; then
7396 result=yes
7397 else
7398 result=no
7399 fi
7400 else
7401 result=$wxUSE_FSWATCHER
7402 fi
7403
7404 { echo "$as_me:$LINENO: result: $result" >&5
7405 echo "${ECHO_T}$result" >&6; }
7406
7407
7408 enablestring=
7409 defaultval=$wxUSE_ALL_FEATURES
7410 if test -z "$defaultval"; then
7411 if test x"$enablestring" = xdisable; then
7412 defaultval=yes
7413 else
7414 defaultval=no
7415 fi
7416 fi
7417
7418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7419 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7420 # Check whether --enable-geometry was given.
7421 if test "${enable_geometry+set}" = set; then
7422 enableval=$enable_geometry;
7423 if test "$enableval" = yes; then
7424 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7425 else
7426 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7427 fi
7428
7429 else
7430
7431 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7432
7433 fi
7434
7435
7436 eval "$wx_cv_use_geometry"
7437
7438 if test x"$enablestring" = xdisable; then
7439 if test $wxUSE_GEOMETRY = no; then
7440 result=yes
7441 else
7442 result=no
7443 fi
7444 else
7445 result=$wxUSE_GEOMETRY
7446 fi
7447
7448 { echo "$as_me:$LINENO: result: $result" >&5
7449 echo "${ECHO_T}$result" >&6; }
7450
7451
7452 enablestring=
7453 defaultval=$wxUSE_ALL_FEATURES
7454 if test -z "$defaultval"; then
7455 if test x"$enablestring" = xdisable; then
7456 defaultval=yes
7457 else
7458 defaultval=no
7459 fi
7460 fi
7461
7462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7463 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7464 # Check whether --enable-log was given.
7465 if test "${enable_log+set}" = set; then
7466 enableval=$enable_log;
7467 if test "$enableval" = yes; then
7468 wx_cv_use_log='wxUSE_LOG=yes'
7469 else
7470 wx_cv_use_log='wxUSE_LOG=no'
7471 fi
7472
7473 else
7474
7475 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7476
7477 fi
7478
7479
7480 eval "$wx_cv_use_log"
7481
7482 if test x"$enablestring" = xdisable; then
7483 if test $wxUSE_LOG = no; then
7484 result=yes
7485 else
7486 result=no
7487 fi
7488 else
7489 result=$wxUSE_LOG
7490 fi
7491
7492 { echo "$as_me:$LINENO: result: $result" >&5
7493 echo "${ECHO_T}$result" >&6; }
7494
7495
7496 enablestring=
7497 defaultval=$wxUSE_ALL_FEATURES
7498 if test -z "$defaultval"; then
7499 if test x"$enablestring" = xdisable; then
7500 defaultval=yes
7501 else
7502 defaultval=no
7503 fi
7504 fi
7505
7506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7507 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7508 # Check whether --enable-longlong was given.
7509 if test "${enable_longlong+set}" = set; then
7510 enableval=$enable_longlong;
7511 if test "$enableval" = yes; then
7512 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7513 else
7514 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7515 fi
7516
7517 else
7518
7519 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7520
7521 fi
7522
7523
7524 eval "$wx_cv_use_longlong"
7525
7526 if test x"$enablestring" = xdisable; then
7527 if test $wxUSE_LONGLONG = no; then
7528 result=yes
7529 else
7530 result=no
7531 fi
7532 else
7533 result=$wxUSE_LONGLONG
7534 fi
7535
7536 { echo "$as_me:$LINENO: result: $result" >&5
7537 echo "${ECHO_T}$result" >&6; }
7538
7539
7540 enablestring=
7541 defaultval=$wxUSE_ALL_FEATURES
7542 if test -z "$defaultval"; then
7543 if test x"$enablestring" = xdisable; then
7544 defaultval=yes
7545 else
7546 defaultval=no
7547 fi
7548 fi
7549
7550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7551 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7552 # Check whether --enable-mimetype was given.
7553 if test "${enable_mimetype+set}" = set; then
7554 enableval=$enable_mimetype;
7555 if test "$enableval" = yes; then
7556 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7557 else
7558 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7559 fi
7560
7561 else
7562
7563 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7564
7565 fi
7566
7567
7568 eval "$wx_cv_use_mimetype"
7569
7570 if test x"$enablestring" = xdisable; then
7571 if test $wxUSE_MIMETYPE = no; then
7572 result=yes
7573 else
7574 result=no
7575 fi
7576 else
7577 result=$wxUSE_MIMETYPE
7578 fi
7579
7580 { echo "$as_me:$LINENO: result: $result" >&5
7581 echo "${ECHO_T}$result" >&6; }
7582
7583
7584 enablestring=
7585 defaultval=$wxUSE_ALL_FEATURES
7586 if test -z "$defaultval"; then
7587 if test x"$enablestring" = xdisable; then
7588 defaultval=yes
7589 else
7590 defaultval=no
7591 fi
7592 fi
7593
7594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7595 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7596 # Check whether --enable-printfposparam was given.
7597 if test "${enable_printfposparam+set}" = set; then
7598 enableval=$enable_printfposparam;
7599 if test "$enableval" = yes; then
7600 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7601 else
7602 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7603 fi
7604
7605 else
7606
7607 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7608
7609 fi
7610
7611
7612 eval "$wx_cv_use_printfposparam"
7613
7614 if test x"$enablestring" = xdisable; then
7615 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7616 result=yes
7617 else
7618 result=no
7619 fi
7620 else
7621 result=$wxUSE_PRINTF_POS_PARAMS
7622 fi
7623
7624 { echo "$as_me:$LINENO: result: $result" >&5
7625 echo "${ECHO_T}$result" >&6; }
7626
7627
7628 enablestring=
7629 defaultval=$wxUSE_ALL_FEATURES
7630 if test -z "$defaultval"; then
7631 if test x"$enablestring" = xdisable; then
7632 defaultval=yes
7633 else
7634 defaultval=no
7635 fi
7636 fi
7637
7638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7639 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7640 # Check whether --enable-snglinst was given.
7641 if test "${enable_snglinst+set}" = set; then
7642 enableval=$enable_snglinst;
7643 if test "$enableval" = yes; then
7644 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7645 else
7646 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7647 fi
7648
7649 else
7650
7651 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7652
7653 fi
7654
7655
7656 eval "$wx_cv_use_snglinst"
7657
7658 if test x"$enablestring" = xdisable; then
7659 if test $wxUSE_SNGLINST_CHECKER = no; then
7660 result=yes
7661 else
7662 result=no
7663 fi
7664 else
7665 result=$wxUSE_SNGLINST_CHECKER
7666 fi
7667
7668 { echo "$as_me:$LINENO: result: $result" >&5
7669 echo "${ECHO_T}$result" >&6; }
7670
7671
7672 enablestring=
7673 defaultval=$wxUSE_ALL_FEATURES
7674 if test -z "$defaultval"; then
7675 if test x"$enablestring" = xdisable; then
7676 defaultval=yes
7677 else
7678 defaultval=no
7679 fi
7680 fi
7681
7682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7683 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7684 # Check whether --enable-sound was given.
7685 if test "${enable_sound+set}" = set; then
7686 enableval=$enable_sound;
7687 if test "$enableval" = yes; then
7688 wx_cv_use_sound='wxUSE_SOUND=yes'
7689 else
7690 wx_cv_use_sound='wxUSE_SOUND=no'
7691 fi
7692
7693 else
7694
7695 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7696
7697 fi
7698
7699
7700 eval "$wx_cv_use_sound"
7701
7702 if test x"$enablestring" = xdisable; then
7703 if test $wxUSE_SOUND = no; then
7704 result=yes
7705 else
7706 result=no
7707 fi
7708 else
7709 result=$wxUSE_SOUND
7710 fi
7711
7712 { echo "$as_me:$LINENO: result: $result" >&5
7713 echo "${ECHO_T}$result" >&6; }
7714
7715
7716 enablestring=
7717 defaultval=$wxUSE_ALL_FEATURES
7718 if test -z "$defaultval"; then
7719 if test x"$enablestring" = xdisable; then
7720 defaultval=yes
7721 else
7722 defaultval=no
7723 fi
7724 fi
7725
7726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7727 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7728 # Check whether --enable-stdpaths was given.
7729 if test "${enable_stdpaths+set}" = set; then
7730 enableval=$enable_stdpaths;
7731 if test "$enableval" = yes; then
7732 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7733 else
7734 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7735 fi
7736
7737 else
7738
7739 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7740
7741 fi
7742
7743
7744 eval "$wx_cv_use_stdpaths"
7745
7746 if test x"$enablestring" = xdisable; then
7747 if test $wxUSE_STDPATHS = no; then
7748 result=yes
7749 else
7750 result=no
7751 fi
7752 else
7753 result=$wxUSE_STDPATHS
7754 fi
7755
7756 { echo "$as_me:$LINENO: result: $result" >&5
7757 echo "${ECHO_T}$result" >&6; }
7758
7759
7760 enablestring=
7761 defaultval=$wxUSE_ALL_FEATURES
7762 if test -z "$defaultval"; then
7763 if test x"$enablestring" = xdisable; then
7764 defaultval=yes
7765 else
7766 defaultval=no
7767 fi
7768 fi
7769
7770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7771 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7772 # Check whether --enable-stopwatch was given.
7773 if test "${enable_stopwatch+set}" = set; then
7774 enableval=$enable_stopwatch;
7775 if test "$enableval" = yes; then
7776 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7777 else
7778 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7779 fi
7780
7781 else
7782
7783 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7784
7785 fi
7786
7787
7788 eval "$wx_cv_use_stopwatch"
7789
7790 if test x"$enablestring" = xdisable; then
7791 if test $wxUSE_STOPWATCH = no; then
7792 result=yes
7793 else
7794 result=no
7795 fi
7796 else
7797 result=$wxUSE_STOPWATCH
7798 fi
7799
7800 { echo "$as_me:$LINENO: result: $result" >&5
7801 echo "${ECHO_T}$result" >&6; }
7802
7803
7804 enablestring=
7805 defaultval=$wxUSE_ALL_FEATURES
7806 if test -z "$defaultval"; then
7807 if test x"$enablestring" = xdisable; then
7808 defaultval=yes
7809 else
7810 defaultval=no
7811 fi
7812 fi
7813
7814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7815 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7816 # Check whether --enable-streams was given.
7817 if test "${enable_streams+set}" = set; then
7818 enableval=$enable_streams;
7819 if test "$enableval" = yes; then
7820 wx_cv_use_streams='wxUSE_STREAMS=yes'
7821 else
7822 wx_cv_use_streams='wxUSE_STREAMS=no'
7823 fi
7824
7825 else
7826
7827 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7828
7829 fi
7830
7831
7832 eval "$wx_cv_use_streams"
7833
7834 if test x"$enablestring" = xdisable; then
7835 if test $wxUSE_STREAMS = no; then
7836 result=yes
7837 else
7838 result=no
7839 fi
7840 else
7841 result=$wxUSE_STREAMS
7842 fi
7843
7844 { echo "$as_me:$LINENO: result: $result" >&5
7845 echo "${ECHO_T}$result" >&6; }
7846
7847
7848 enablestring=
7849 defaultval=$wxUSE_ALL_FEATURES
7850 if test -z "$defaultval"; then
7851 if test x"$enablestring" = xdisable; then
7852 defaultval=yes
7853 else
7854 defaultval=no
7855 fi
7856 fi
7857
7858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7859 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7860 # Check whether --enable-sysoptions was given.
7861 if test "${enable_sysoptions+set}" = set; then
7862 enableval=$enable_sysoptions;
7863 if test "$enableval" = yes; then
7864 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7865 else
7866 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7867 fi
7868
7869 else
7870
7871 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7872
7873 fi
7874
7875
7876 eval "$wx_cv_use_sysoptions"
7877
7878 if test x"$enablestring" = xdisable; then
7879 if test $wxUSE_SYSTEM_OPTIONS = no; then
7880 result=yes
7881 else
7882 result=no
7883 fi
7884 else
7885 result=$wxUSE_SYSTEM_OPTIONS
7886 fi
7887
7888 { echo "$as_me:$LINENO: result: $result" >&5
7889 echo "${ECHO_T}$result" >&6; }
7890
7891
7892 enablestring=
7893 defaultval=$wxUSE_ALL_FEATURES
7894 if test -z "$defaultval"; then
7895 if test x"$enablestring" = xdisable; then
7896 defaultval=yes
7897 else
7898 defaultval=no
7899 fi
7900 fi
7901
7902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7903 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7904 # Check whether --enable-tarstream was given.
7905 if test "${enable_tarstream+set}" = set; then
7906 enableval=$enable_tarstream;
7907 if test "$enableval" = yes; then
7908 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7909 else
7910 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7911 fi
7912
7913 else
7914
7915 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7916
7917 fi
7918
7919
7920 eval "$wx_cv_use_tarstream"
7921
7922 if test x"$enablestring" = xdisable; then
7923 if test $wxUSE_TARSTREAM = no; then
7924 result=yes
7925 else
7926 result=no
7927 fi
7928 else
7929 result=$wxUSE_TARSTREAM
7930 fi
7931
7932 { echo "$as_me:$LINENO: result: $result" >&5
7933 echo "${ECHO_T}$result" >&6; }
7934
7935
7936 enablestring=
7937 defaultval=$wxUSE_ALL_FEATURES
7938 if test -z "$defaultval"; then
7939 if test x"$enablestring" = xdisable; then
7940 defaultval=yes
7941 else
7942 defaultval=no
7943 fi
7944 fi
7945
7946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7947 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7948 # Check whether --enable-textbuf was given.
7949 if test "${enable_textbuf+set}" = set; then
7950 enableval=$enable_textbuf;
7951 if test "$enableval" = yes; then
7952 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7953 else
7954 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7955 fi
7956
7957 else
7958
7959 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7960
7961 fi
7962
7963
7964 eval "$wx_cv_use_textbuf"
7965
7966 if test x"$enablestring" = xdisable; then
7967 if test $wxUSE_TEXTBUFFER = no; then
7968 result=yes
7969 else
7970 result=no
7971 fi
7972 else
7973 result=$wxUSE_TEXTBUFFER
7974 fi
7975
7976 { echo "$as_me:$LINENO: result: $result" >&5
7977 echo "${ECHO_T}$result" >&6; }
7978
7979
7980 enablestring=
7981 defaultval=$wxUSE_ALL_FEATURES
7982 if test -z "$defaultval"; then
7983 if test x"$enablestring" = xdisable; then
7984 defaultval=yes
7985 else
7986 defaultval=no
7987 fi
7988 fi
7989
7990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7991 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7992 # Check whether --enable-textfile was given.
7993 if test "${enable_textfile+set}" = set; then
7994 enableval=$enable_textfile;
7995 if test "$enableval" = yes; then
7996 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7997 else
7998 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7999 fi
8000
8001 else
8002
8003 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8004
8005 fi
8006
8007
8008 eval "$wx_cv_use_textfile"
8009
8010 if test x"$enablestring" = xdisable; then
8011 if test $wxUSE_TEXTFILE = no; then
8012 result=yes
8013 else
8014 result=no
8015 fi
8016 else
8017 result=$wxUSE_TEXTFILE
8018 fi
8019
8020 { echo "$as_me:$LINENO: result: $result" >&5
8021 echo "${ECHO_T}$result" >&6; }
8022
8023
8024 enablestring=
8025 defaultval=$wxUSE_ALL_FEATURES
8026 if test -z "$defaultval"; then
8027 if test x"$enablestring" = xdisable; then
8028 defaultval=yes
8029 else
8030 defaultval=no
8031 fi
8032 fi
8033
8034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8035 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8036 # Check whether --enable-timer was given.
8037 if test "${enable_timer+set}" = set; then
8038 enableval=$enable_timer;
8039 if test "$enableval" = yes; then
8040 wx_cv_use_timer='wxUSE_TIMER=yes'
8041 else
8042 wx_cv_use_timer='wxUSE_TIMER=no'
8043 fi
8044
8045 else
8046
8047 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8048
8049 fi
8050
8051
8052 eval "$wx_cv_use_timer"
8053
8054 if test x"$enablestring" = xdisable; then
8055 if test $wxUSE_TIMER = no; then
8056 result=yes
8057 else
8058 result=no
8059 fi
8060 else
8061 result=$wxUSE_TIMER
8062 fi
8063
8064 { echo "$as_me:$LINENO: result: $result" >&5
8065 echo "${ECHO_T}$result" >&6; }
8066
8067
8068 enablestring=
8069 defaultval=$wxUSE_ALL_FEATURES
8070 if test -z "$defaultval"; then
8071 if test x"$enablestring" = xdisable; then
8072 defaultval=yes
8073 else
8074 defaultval=no
8075 fi
8076 fi
8077
8078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8080 # Check whether --enable-variant was given.
8081 if test "${enable_variant+set}" = set; then
8082 enableval=$enable_variant;
8083 if test "$enableval" = yes; then
8084 wx_cv_use_variant='wxUSE_VARIANT=yes'
8085 else
8086 wx_cv_use_variant='wxUSE_VARIANT=no'
8087 fi
8088
8089 else
8090
8091 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8092
8093 fi
8094
8095
8096 eval "$wx_cv_use_variant"
8097
8098 if test x"$enablestring" = xdisable; then
8099 if test $wxUSE_VARIANT = no; then
8100 result=yes
8101 else
8102 result=no
8103 fi
8104 else
8105 result=$wxUSE_VARIANT
8106 fi
8107
8108 { echo "$as_me:$LINENO: result: $result" >&5
8109 echo "${ECHO_T}$result" >&6; }
8110
8111
8112 enablestring=
8113 defaultval=$wxUSE_ALL_FEATURES
8114 if test -z "$defaultval"; then
8115 if test x"$enablestring" = xdisable; then
8116 defaultval=yes
8117 else
8118 defaultval=no
8119 fi
8120 fi
8121
8122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8123 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8124 # Check whether --enable-zipstream was given.
8125 if test "${enable_zipstream+set}" = set; then
8126 enableval=$enable_zipstream;
8127 if test "$enableval" = yes; then
8128 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8129 else
8130 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8131 fi
8132
8133 else
8134
8135 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8136
8137 fi
8138
8139
8140 eval "$wx_cv_use_zipstream"
8141
8142 if test x"$enablestring" = xdisable; then
8143 if test $wxUSE_ZIPSTREAM = no; then
8144 result=yes
8145 else
8146 result=no
8147 fi
8148 else
8149 result=$wxUSE_ZIPSTREAM
8150 fi
8151
8152 { echo "$as_me:$LINENO: result: $result" >&5
8153 echo "${ECHO_T}$result" >&6; }
8154
8155
8156
8157 enablestring=
8158 defaultval=$wxUSE_ALL_FEATURES
8159 if test -z "$defaultval"; then
8160 if test x"$enablestring" = xdisable; then
8161 defaultval=yes
8162 else
8163 defaultval=no
8164 fi
8165 fi
8166
8167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8168 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8169 # Check whether --enable-url was given.
8170 if test "${enable_url+set}" = set; then
8171 enableval=$enable_url;
8172 if test "$enableval" = yes; then
8173 wx_cv_use_url='wxUSE_URL=yes'
8174 else
8175 wx_cv_use_url='wxUSE_URL=no'
8176 fi
8177
8178 else
8179
8180 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8181
8182 fi
8183
8184
8185 eval "$wx_cv_use_url"
8186
8187 if test x"$enablestring" = xdisable; then
8188 if test $wxUSE_URL = no; then
8189 result=yes
8190 else
8191 result=no
8192 fi
8193 else
8194 result=$wxUSE_URL
8195 fi
8196
8197 { echo "$as_me:$LINENO: result: $result" >&5
8198 echo "${ECHO_T}$result" >&6; }
8199
8200
8201 enablestring=
8202 defaultval=$wxUSE_ALL_FEATURES
8203 if test -z "$defaultval"; then
8204 if test x"$enablestring" = xdisable; then
8205 defaultval=yes
8206 else
8207 defaultval=no
8208 fi
8209 fi
8210
8211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8212 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8213 # Check whether --enable-protocol was given.
8214 if test "${enable_protocol+set}" = set; then
8215 enableval=$enable_protocol;
8216 if test "$enableval" = yes; then
8217 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8218 else
8219 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8220 fi
8221
8222 else
8223
8224 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8225
8226 fi
8227
8228
8229 eval "$wx_cv_use_protocol"
8230
8231 if test x"$enablestring" = xdisable; then
8232 if test $wxUSE_PROTOCOL = no; then
8233 result=yes
8234 else
8235 result=no
8236 fi
8237 else
8238 result=$wxUSE_PROTOCOL
8239 fi
8240
8241 { echo "$as_me:$LINENO: result: $result" >&5
8242 echo "${ECHO_T}$result" >&6; }
8243
8244
8245 enablestring=
8246 defaultval=$wxUSE_ALL_FEATURES
8247 if test -z "$defaultval"; then
8248 if test x"$enablestring" = xdisable; then
8249 defaultval=yes
8250 else
8251 defaultval=no
8252 fi
8253 fi
8254
8255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8256 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8257 # Check whether --enable-protocol_http was given.
8258 if test "${enable_protocol_http+set}" = set; then
8259 enableval=$enable_protocol_http;
8260 if test "$enableval" = yes; then
8261 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8262 else
8263 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8264 fi
8265
8266 else
8267
8268 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8269
8270 fi
8271
8272
8273 eval "$wx_cv_use_protocol_http"
8274
8275 if test x"$enablestring" = xdisable; then
8276 if test $wxUSE_PROTOCOL_HTTP = no; then
8277 result=yes
8278 else
8279 result=no
8280 fi
8281 else
8282 result=$wxUSE_PROTOCOL_HTTP
8283 fi
8284
8285 { echo "$as_me:$LINENO: result: $result" >&5
8286 echo "${ECHO_T}$result" >&6; }
8287
8288
8289 enablestring=
8290 defaultval=$wxUSE_ALL_FEATURES
8291 if test -z "$defaultval"; then
8292 if test x"$enablestring" = xdisable; then
8293 defaultval=yes
8294 else
8295 defaultval=no
8296 fi
8297 fi
8298
8299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8300 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8301 # Check whether --enable-protocol_ftp was given.
8302 if test "${enable_protocol_ftp+set}" = set; then
8303 enableval=$enable_protocol_ftp;
8304 if test "$enableval" = yes; then
8305 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8306 else
8307 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8308 fi
8309
8310 else
8311
8312 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8313
8314 fi
8315
8316
8317 eval "$wx_cv_use_protocol_ftp"
8318
8319 if test x"$enablestring" = xdisable; then
8320 if test $wxUSE_PROTOCOL_FTP = no; then
8321 result=yes
8322 else
8323 result=no
8324 fi
8325 else
8326 result=$wxUSE_PROTOCOL_FTP
8327 fi
8328
8329 { echo "$as_me:$LINENO: result: $result" >&5
8330 echo "${ECHO_T}$result" >&6; }
8331
8332
8333 enablestring=
8334 defaultval=$wxUSE_ALL_FEATURES
8335 if test -z "$defaultval"; then
8336 if test x"$enablestring" = xdisable; then
8337 defaultval=yes
8338 else
8339 defaultval=no
8340 fi
8341 fi
8342
8343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8344 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8345 # Check whether --enable-protocol_file was given.
8346 if test "${enable_protocol_file+set}" = set; then
8347 enableval=$enable_protocol_file;
8348 if test "$enableval" = yes; then
8349 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8350 else
8351 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8352 fi
8353
8354 else
8355
8356 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8357
8358 fi
8359
8360
8361 eval "$wx_cv_use_protocol_file"
8362
8363 if test x"$enablestring" = xdisable; then
8364 if test $wxUSE_PROTOCOL_FILE = no; then
8365 result=yes
8366 else
8367 result=no
8368 fi
8369 else
8370 result=$wxUSE_PROTOCOL_FILE
8371 fi
8372
8373 { echo "$as_me:$LINENO: result: $result" >&5
8374 echo "${ECHO_T}$result" >&6; }
8375
8376
8377
8378 enablestring=
8379 defaultval=$wxUSE_ALL_FEATURES
8380 if test -z "$defaultval"; then
8381 if test x"$enablestring" = xdisable; then
8382 defaultval=yes
8383 else
8384 defaultval=no
8385 fi
8386 fi
8387
8388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8389 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8390 # Check whether --enable-threads was given.
8391 if test "${enable_threads+set}" = set; then
8392 enableval=$enable_threads;
8393 if test "$enableval" = yes; then
8394 wx_cv_use_threads='wxUSE_THREADS=yes'
8395 else
8396 wx_cv_use_threads='wxUSE_THREADS=no'
8397 fi
8398
8399 else
8400
8401 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8402
8403 fi
8404
8405
8406 eval "$wx_cv_use_threads"
8407
8408 if test x"$enablestring" = xdisable; then
8409 if test $wxUSE_THREADS = no; then
8410 result=yes
8411 else
8412 result=no
8413 fi
8414 else
8415 result=$wxUSE_THREADS
8416 fi
8417
8418 { echo "$as_me:$LINENO: result: $result" >&5
8419 echo "${ECHO_T}$result" >&6; }
8420
8421
8422
8423 enablestring=
8424 defaultval=
8425 if test -z "$defaultval"; then
8426 if test x"$enablestring" = xdisable; then
8427 defaultval=yes
8428 else
8429 defaultval=no
8430 fi
8431 fi
8432
8433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8434 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8435 # Check whether --enable-iniconf was given.
8436 if test "${enable_iniconf+set}" = set; then
8437 enableval=$enable_iniconf;
8438 if test "$enableval" = yes; then
8439 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8440 else
8441 wx_cv_use_iniconf='wxUSE_INICONF=no'
8442 fi
8443
8444 else
8445
8446 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8447
8448 fi
8449
8450
8451 eval "$wx_cv_use_iniconf"
8452
8453 if test x"$enablestring" = xdisable; then
8454 if test $wxUSE_INICONF = no; then
8455 result=yes
8456 else
8457 result=no
8458 fi
8459 else
8460 result=$wxUSE_INICONF
8461 fi
8462
8463 { echo "$as_me:$LINENO: result: $result" >&5
8464 echo "${ECHO_T}$result" >&6; }
8465
8466
8467 enablestring=
8468 defaultval=$wxUSE_ALL_FEATURES
8469 if test -z "$defaultval"; then
8470 if test x"$enablestring" = xdisable; then
8471 defaultval=yes
8472 else
8473 defaultval=no
8474 fi
8475 fi
8476
8477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8479 # Check whether --enable-regkey was given.
8480 if test "${enable_regkey+set}" = set; then
8481 enableval=$enable_regkey;
8482 if test "$enableval" = yes; then
8483 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8484 else
8485 wx_cv_use_regkey='wxUSE_REGKEY=no'
8486 fi
8487
8488 else
8489
8490 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8491
8492 fi
8493
8494
8495 eval "$wx_cv_use_regkey"
8496
8497 if test x"$enablestring" = xdisable; then
8498 if test $wxUSE_REGKEY = no; then
8499 result=yes
8500 else
8501 result=no
8502 fi
8503 else
8504 result=$wxUSE_REGKEY
8505 fi
8506
8507 { echo "$as_me:$LINENO: result: $result" >&5
8508 echo "${ECHO_T}$result" >&6; }
8509
8510
8511 if test "$wxUSE_GUI" = "yes"; then
8512
8513
8514
8515 enablestring=
8516 defaultval=$wxUSE_ALL_FEATURES
8517 if test -z "$defaultval"; then
8518 if test x"$enablestring" = xdisable; then
8519 defaultval=yes
8520 else
8521 defaultval=no
8522 fi
8523 fi
8524
8525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8527 # Check whether --enable-docview was given.
8528 if test "${enable_docview+set}" = set; then
8529 enableval=$enable_docview;
8530 if test "$enableval" = yes; then
8531 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8532 else
8533 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8534 fi
8535
8536 else
8537
8538 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8539
8540 fi
8541
8542
8543 eval "$wx_cv_use_docview"
8544
8545 if test x"$enablestring" = xdisable; then
8546 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8547 result=yes
8548 else
8549 result=no
8550 fi
8551 else
8552 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8553 fi
8554
8555 { echo "$as_me:$LINENO: result: $result" >&5
8556 echo "${ECHO_T}$result" >&6; }
8557
8558
8559 enablestring=
8560 defaultval=$wxUSE_ALL_FEATURES
8561 if test -z "$defaultval"; then
8562 if test x"$enablestring" = xdisable; then
8563 defaultval=yes
8564 else
8565 defaultval=no
8566 fi
8567 fi
8568
8569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8570 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8571 # Check whether --enable-help was given.
8572 if test "${enable_help+set}" = set; then
8573 enableval=$enable_help;
8574 if test "$enableval" = yes; then
8575 wx_cv_use_help='wxUSE_HELP=yes'
8576 else
8577 wx_cv_use_help='wxUSE_HELP=no'
8578 fi
8579
8580 else
8581
8582 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8583
8584 fi
8585
8586
8587 eval "$wx_cv_use_help"
8588
8589 if test x"$enablestring" = xdisable; then
8590 if test $wxUSE_HELP = no; then
8591 result=yes
8592 else
8593 result=no
8594 fi
8595 else
8596 result=$wxUSE_HELP
8597 fi
8598
8599 { echo "$as_me:$LINENO: result: $result" >&5
8600 echo "${ECHO_T}$result" >&6; }
8601
8602
8603 enablestring=
8604 defaultval=$wxUSE_ALL_FEATURES
8605 if test -z "$defaultval"; then
8606 if test x"$enablestring" = xdisable; then
8607 defaultval=yes
8608 else
8609 defaultval=no
8610 fi
8611 fi
8612
8613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8614 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8615 # Check whether --enable-mshtmlhelp was given.
8616 if test "${enable_mshtmlhelp+set}" = set; then
8617 enableval=$enable_mshtmlhelp;
8618 if test "$enableval" = yes; then
8619 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8620 else
8621 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8622 fi
8623
8624 else
8625
8626 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8627
8628 fi
8629
8630
8631 eval "$wx_cv_use_mshtmlhelp"
8632
8633 if test x"$enablestring" = xdisable; then
8634 if test $wxUSE_MS_HTML_HELP = no; then
8635 result=yes
8636 else
8637 result=no
8638 fi
8639 else
8640 result=$wxUSE_MS_HTML_HELP
8641 fi
8642
8643 { echo "$as_me:$LINENO: result: $result" >&5
8644 echo "${ECHO_T}$result" >&6; }
8645
8646
8647 enablestring=
8648 defaultval=$wxUSE_ALL_FEATURES
8649 if test -z "$defaultval"; then
8650 if test x"$enablestring" = xdisable; then
8651 defaultval=yes
8652 else
8653 defaultval=no
8654 fi
8655 fi
8656
8657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8658 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8659 # Check whether --enable-html was given.
8660 if test "${enable_html+set}" = set; then
8661 enableval=$enable_html;
8662 if test "$enableval" = yes; then
8663 wx_cv_use_html='wxUSE_HTML=yes'
8664 else
8665 wx_cv_use_html='wxUSE_HTML=no'
8666 fi
8667
8668 else
8669
8670 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8671
8672 fi
8673
8674
8675 eval "$wx_cv_use_html"
8676
8677 if test x"$enablestring" = xdisable; then
8678 if test $wxUSE_HTML = no; then
8679 result=yes
8680 else
8681 result=no
8682 fi
8683 else
8684 result=$wxUSE_HTML
8685 fi
8686
8687 { echo "$as_me:$LINENO: result: $result" >&5
8688 echo "${ECHO_T}$result" >&6; }
8689
8690
8691 enablestring=
8692 defaultval=$wxUSE_ALL_FEATURES
8693 if test -z "$defaultval"; then
8694 if test x"$enablestring" = xdisable; then
8695 defaultval=yes
8696 else
8697 defaultval=no
8698 fi
8699 fi
8700
8701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8702 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8703 # Check whether --enable-htmlhelp was given.
8704 if test "${enable_htmlhelp+set}" = set; then
8705 enableval=$enable_htmlhelp;
8706 if test "$enableval" = yes; then
8707 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8708 else
8709 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8710 fi
8711
8712 else
8713
8714 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8715
8716 fi
8717
8718
8719 eval "$wx_cv_use_htmlhelp"
8720
8721 if test x"$enablestring" = xdisable; then
8722 if test $wxUSE_WXHTML_HELP = no; then
8723 result=yes
8724 else
8725 result=no
8726 fi
8727 else
8728 result=$wxUSE_WXHTML_HELP
8729 fi
8730
8731 { echo "$as_me:$LINENO: result: $result" >&5
8732 echo "${ECHO_T}$result" >&6; }
8733
8734
8735 enablestring=
8736 defaultval=$wxUSE_ALL_FEATURES
8737 if test -z "$defaultval"; then
8738 if test x"$enablestring" = xdisable; then
8739 defaultval=yes
8740 else
8741 defaultval=no
8742 fi
8743 fi
8744
8745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8746 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8747 # Check whether --enable-xrc was given.
8748 if test "${enable_xrc+set}" = set; then
8749 enableval=$enable_xrc;
8750 if test "$enableval" = yes; then
8751 wx_cv_use_xrc='wxUSE_XRC=yes'
8752 else
8753 wx_cv_use_xrc='wxUSE_XRC=no'
8754 fi
8755
8756 else
8757
8758 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8759
8760 fi
8761
8762
8763 eval "$wx_cv_use_xrc"
8764
8765 if test x"$enablestring" = xdisable; then
8766 if test $wxUSE_XRC = no; then
8767 result=yes
8768 else
8769 result=no
8770 fi
8771 else
8772 result=$wxUSE_XRC
8773 fi
8774
8775 { echo "$as_me:$LINENO: result: $result" >&5
8776 echo "${ECHO_T}$result" >&6; }
8777
8778
8779 enablestring=
8780 defaultval=$wxUSE_ALL_FEATURES
8781 if test -z "$defaultval"; then
8782 if test x"$enablestring" = xdisable; then
8783 defaultval=yes
8784 else
8785 defaultval=no
8786 fi
8787 fi
8788
8789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8790 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8791 # Check whether --enable-aui was given.
8792 if test "${enable_aui+set}" = set; then
8793 enableval=$enable_aui;
8794 if test "$enableval" = yes; then
8795 wx_cv_use_aui='wxUSE_AUI=yes'
8796 else
8797 wx_cv_use_aui='wxUSE_AUI=no'
8798 fi
8799
8800 else
8801
8802 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8803
8804 fi
8805
8806
8807 eval "$wx_cv_use_aui"
8808
8809 if test x"$enablestring" = xdisable; then
8810 if test $wxUSE_AUI = no; then
8811 result=yes
8812 else
8813 result=no
8814 fi
8815 else
8816 result=$wxUSE_AUI
8817 fi
8818
8819 { echo "$as_me:$LINENO: result: $result" >&5
8820 echo "${ECHO_T}$result" >&6; }
8821
8822
8823 enablestring=
8824 defaultval=$wxUSE_ALL_FEATURES
8825 if test -z "$defaultval"; then
8826 if test x"$enablestring" = xdisable; then
8827 defaultval=yes
8828 else
8829 defaultval=no
8830 fi
8831 fi
8832
8833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8834 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8835 # Check whether --enable-propgrid was given.
8836 if test "${enable_propgrid+set}" = set; then
8837 enableval=$enable_propgrid;
8838 if test "$enableval" = yes; then
8839 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8840 else
8841 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8842 fi
8843
8844 else
8845
8846 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8847
8848 fi
8849
8850
8851 eval "$wx_cv_use_propgrid"
8852
8853 if test x"$enablestring" = xdisable; then
8854 if test $wxUSE_PROPGRID = no; then
8855 result=yes
8856 else
8857 result=no
8858 fi
8859 else
8860 result=$wxUSE_PROPGRID
8861 fi
8862
8863 { echo "$as_me:$LINENO: result: $result" >&5
8864 echo "${ECHO_T}$result" >&6; }
8865
8866
8867 enablestring=
8868 defaultval=$wxUSE_ALL_FEATURES
8869 if test -z "$defaultval"; then
8870 if test x"$enablestring" = xdisable; then
8871 defaultval=yes
8872 else
8873 defaultval=no
8874 fi
8875 fi
8876
8877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8878 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8879 # Check whether --enable-ribbon was given.
8880 if test "${enable_ribbon+set}" = set; then
8881 enableval=$enable_ribbon;
8882 if test "$enableval" = yes; then
8883 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8884 else
8885 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8886 fi
8887
8888 else
8889
8890 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8891
8892 fi
8893
8894
8895 eval "$wx_cv_use_ribbon"
8896
8897 if test x"$enablestring" = xdisable; then
8898 if test $wxUSE_RIBBON = no; then
8899 result=yes
8900 else
8901 result=no
8902 fi
8903 else
8904 result=$wxUSE_RIBBON
8905 fi
8906
8907 { echo "$as_me:$LINENO: result: $result" >&5
8908 echo "${ECHO_T}$result" >&6; }
8909
8910
8911 enablestring=
8912 defaultval=$wxUSE_ALL_FEATURES
8913 if test -z "$defaultval"; then
8914 if test x"$enablestring" = xdisable; then
8915 defaultval=yes
8916 else
8917 defaultval=no
8918 fi
8919 fi
8920
8921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8922 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8923 # Check whether --enable-stc was given.
8924 if test "${enable_stc+set}" = set; then
8925 enableval=$enable_stc;
8926 if test "$enableval" = yes; then
8927 wx_cv_use_stc='wxUSE_STC=yes'
8928 else
8929 wx_cv_use_stc='wxUSE_STC=no'
8930 fi
8931
8932 else
8933
8934 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8935
8936 fi
8937
8938
8939 eval "$wx_cv_use_stc"
8940
8941 if test x"$enablestring" = xdisable; then
8942 if test $wxUSE_STC = no; then
8943 result=yes
8944 else
8945 result=no
8946 fi
8947 else
8948 result=$wxUSE_STC
8949 fi
8950
8951 { echo "$as_me:$LINENO: result: $result" >&5
8952 echo "${ECHO_T}$result" >&6; }
8953
8954
8955 enablestring=
8956 defaultval=$wxUSE_ALL_FEATURES
8957 if test -z "$defaultval"; then
8958 if test x"$enablestring" = xdisable; then
8959 defaultval=yes
8960 else
8961 defaultval=no
8962 fi
8963 fi
8964
8965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8966 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8967 # Check whether --enable-constraints was given.
8968 if test "${enable_constraints+set}" = set; then
8969 enableval=$enable_constraints;
8970 if test "$enableval" = yes; then
8971 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8972 else
8973 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8974 fi
8975
8976 else
8977
8978 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8979
8980 fi
8981
8982
8983 eval "$wx_cv_use_constraints"
8984
8985 if test x"$enablestring" = xdisable; then
8986 if test $wxUSE_CONSTRAINTS = no; then
8987 result=yes
8988 else
8989 result=no
8990 fi
8991 else
8992 result=$wxUSE_CONSTRAINTS
8993 fi
8994
8995 { echo "$as_me:$LINENO: result: $result" >&5
8996 echo "${ECHO_T}$result" >&6; }
8997
8998
8999 enablestring=
9000 defaultval=$wxUSE_ALL_FEATURES
9001 if test -z "$defaultval"; then
9002 if test x"$enablestring" = xdisable; then
9003 defaultval=yes
9004 else
9005 defaultval=no
9006 fi
9007 fi
9008
9009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9010 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9011 # Check whether --enable-loggui was given.
9012 if test "${enable_loggui+set}" = set; then
9013 enableval=$enable_loggui;
9014 if test "$enableval" = yes; then
9015 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9016 else
9017 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9018 fi
9019
9020 else
9021
9022 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9023
9024 fi
9025
9026
9027 eval "$wx_cv_use_loggui"
9028
9029 if test x"$enablestring" = xdisable; then
9030 if test $wxUSE_LOGGUI = no; then
9031 result=yes
9032 else
9033 result=no
9034 fi
9035 else
9036 result=$wxUSE_LOGGUI
9037 fi
9038
9039 { echo "$as_me:$LINENO: result: $result" >&5
9040 echo "${ECHO_T}$result" >&6; }
9041
9042
9043 enablestring=
9044 defaultval=$wxUSE_ALL_FEATURES
9045 if test -z "$defaultval"; then
9046 if test x"$enablestring" = xdisable; then
9047 defaultval=yes
9048 else
9049 defaultval=no
9050 fi
9051 fi
9052
9053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9054 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9055 # Check whether --enable-logwin was given.
9056 if test "${enable_logwin+set}" = set; then
9057 enableval=$enable_logwin;
9058 if test "$enableval" = yes; then
9059 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9060 else
9061 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9062 fi
9063
9064 else
9065
9066 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9067
9068 fi
9069
9070
9071 eval "$wx_cv_use_logwin"
9072
9073 if test x"$enablestring" = xdisable; then
9074 if test $wxUSE_LOGWINDOW = no; then
9075 result=yes
9076 else
9077 result=no
9078 fi
9079 else
9080 result=$wxUSE_LOGWINDOW
9081 fi
9082
9083 { echo "$as_me:$LINENO: result: $result" >&5
9084 echo "${ECHO_T}$result" >&6; }
9085
9086
9087 enablestring=
9088 defaultval=$wxUSE_ALL_FEATURES
9089 if test -z "$defaultval"; then
9090 if test x"$enablestring" = xdisable; then
9091 defaultval=yes
9092 else
9093 defaultval=no
9094 fi
9095 fi
9096
9097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9098 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9099 # Check whether --enable-logdialog was given.
9100 if test "${enable_logdialog+set}" = set; then
9101 enableval=$enable_logdialog;
9102 if test "$enableval" = yes; then
9103 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9104 else
9105 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9106 fi
9107
9108 else
9109
9110 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9111
9112 fi
9113
9114
9115 eval "$wx_cv_use_logdialog"
9116
9117 if test x"$enablestring" = xdisable; then
9118 if test $wxUSE_LOGDIALOG = no; then
9119 result=yes
9120 else
9121 result=no
9122 fi
9123 else
9124 result=$wxUSE_LOGDIALOG
9125 fi
9126
9127 { echo "$as_me:$LINENO: result: $result" >&5
9128 echo "${ECHO_T}$result" >&6; }
9129
9130
9131 enablestring=
9132 defaultval=$wxUSE_ALL_FEATURES
9133 if test -z "$defaultval"; then
9134 if test x"$enablestring" = xdisable; then
9135 defaultval=yes
9136 else
9137 defaultval=no
9138 fi
9139 fi
9140
9141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9142 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9143 # Check whether --enable-mdi was given.
9144 if test "${enable_mdi+set}" = set; then
9145 enableval=$enable_mdi;
9146 if test "$enableval" = yes; then
9147 wx_cv_use_mdi='wxUSE_MDI=yes'
9148 else
9149 wx_cv_use_mdi='wxUSE_MDI=no'
9150 fi
9151
9152 else
9153
9154 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9155
9156 fi
9157
9158
9159 eval "$wx_cv_use_mdi"
9160
9161 if test x"$enablestring" = xdisable; then
9162 if test $wxUSE_MDI = no; then
9163 result=yes
9164 else
9165 result=no
9166 fi
9167 else
9168 result=$wxUSE_MDI
9169 fi
9170
9171 { echo "$as_me:$LINENO: result: $result" >&5
9172 echo "${ECHO_T}$result" >&6; }
9173
9174
9175 enablestring=
9176 defaultval=$wxUSE_ALL_FEATURES
9177 if test -z "$defaultval"; then
9178 if test x"$enablestring" = xdisable; then
9179 defaultval=yes
9180 else
9181 defaultval=no
9182 fi
9183 fi
9184
9185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9186 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9187 # Check whether --enable-mdidoc was given.
9188 if test "${enable_mdidoc+set}" = set; then
9189 enableval=$enable_mdidoc;
9190 if test "$enableval" = yes; then
9191 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9192 else
9193 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9194 fi
9195
9196 else
9197
9198 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9199
9200 fi
9201
9202
9203 eval "$wx_cv_use_mdidoc"
9204
9205 if test x"$enablestring" = xdisable; then
9206 if test $wxUSE_MDI_ARCHITECTURE = no; then
9207 result=yes
9208 else
9209 result=no
9210 fi
9211 else
9212 result=$wxUSE_MDI_ARCHITECTURE
9213 fi
9214
9215 { echo "$as_me:$LINENO: result: $result" >&5
9216 echo "${ECHO_T}$result" >&6; }
9217
9218
9219 enablestring=
9220 defaultval=$wxUSE_ALL_FEATURES
9221 if test -z "$defaultval"; then
9222 if test x"$enablestring" = xdisable; then
9223 defaultval=yes
9224 else
9225 defaultval=no
9226 fi
9227 fi
9228
9229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9230 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9231 # Check whether --enable-mediactrl was given.
9232 if test "${enable_mediactrl+set}" = set; then
9233 enableval=$enable_mediactrl;
9234 if test "$enableval" = yes; then
9235 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9236 else
9237 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9238 fi
9239
9240 else
9241
9242 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9243
9244 fi
9245
9246
9247 eval "$wx_cv_use_mediactrl"
9248
9249 if test x"$enablestring" = xdisable; then
9250 if test $wxUSE_MEDIACTRL = no; then
9251 result=yes
9252 else
9253 result=no
9254 fi
9255 else
9256 result=$wxUSE_MEDIACTRL
9257 fi
9258
9259 { echo "$as_me:$LINENO: result: $result" >&5
9260 echo "${ECHO_T}$result" >&6; }
9261
9262
9263 enablestring=
9264 defaultval=$wxUSE_ALL_FEATURES
9265 if test -z "$defaultval"; then
9266 if test x"$enablestring" = xdisable; then
9267 defaultval=yes
9268 else
9269 defaultval=no
9270 fi
9271 fi
9272
9273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9274 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9275 # Check whether --enable-gstreamer8 was given.
9276 if test "${enable_gstreamer8+set}" = set; then
9277 enableval=$enable_gstreamer8;
9278 if test "$enableval" = yes; then
9279 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9280 else
9281 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9282 fi
9283
9284 else
9285
9286 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9287
9288 fi
9289
9290
9291 eval "$wx_cv_use_gstreamer8"
9292
9293 if test x"$enablestring" = xdisable; then
9294 if test $wxUSE_GSTREAMER8 = no; then
9295 result=yes
9296 else
9297 result=no
9298 fi
9299 else
9300 result=$wxUSE_GSTREAMER8
9301 fi
9302
9303 { echo "$as_me:$LINENO: result: $result" >&5
9304 echo "${ECHO_T}$result" >&6; }
9305
9306
9307 enablestring=
9308 defaultval=$wxUSE_ALL_FEATURES
9309 if test -z "$defaultval"; then
9310 if test x"$enablestring" = xdisable; then
9311 defaultval=yes
9312 else
9313 defaultval=no
9314 fi
9315 fi
9316
9317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9319 # Check whether --enable-webkit was given.
9320 if test "${enable_webkit+set}" = set; then
9321 enableval=$enable_webkit;
9322 if test "$enableval" = yes; then
9323 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9324 else
9325 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9326 fi
9327
9328 else
9329
9330 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9331
9332 fi
9333
9334
9335 eval "$wx_cv_use_webkit"
9336
9337 if test x"$enablestring" = xdisable; then
9338 if test $wxUSE_WEBKIT = no; then
9339 result=yes
9340 else
9341 result=no
9342 fi
9343 else
9344 result=$wxUSE_WEBKIT
9345 fi
9346
9347 { echo "$as_me:$LINENO: result: $result" >&5
9348 echo "${ECHO_T}$result" >&6; }
9349
9350
9351 enablestring=
9352 defaultval=$wxUSE_ALL_FEATURES
9353 if test -z "$defaultval"; then
9354 if test x"$enablestring" = xdisable; then
9355 defaultval=yes
9356 else
9357 defaultval=no
9358 fi
9359 fi
9360
9361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9362 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9363 # Check whether --enable-richtext was given.
9364 if test "${enable_richtext+set}" = set; then
9365 enableval=$enable_richtext;
9366 if test "$enableval" = yes; then
9367 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9368 else
9369 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9370 fi
9371
9372 else
9373
9374 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9375
9376 fi
9377
9378
9379 eval "$wx_cv_use_richtext"
9380
9381 if test x"$enablestring" = xdisable; then
9382 if test $wxUSE_RICHTEXT = no; then
9383 result=yes
9384 else
9385 result=no
9386 fi
9387 else
9388 result=$wxUSE_RICHTEXT
9389 fi
9390
9391 { echo "$as_me:$LINENO: result: $result" >&5
9392 echo "${ECHO_T}$result" >&6; }
9393
9394
9395 enablestring=
9396 defaultval=$wxUSE_ALL_FEATURES
9397 if test -z "$defaultval"; then
9398 if test x"$enablestring" = xdisable; then
9399 defaultval=yes
9400 else
9401 defaultval=no
9402 fi
9403 fi
9404
9405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9406 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9407 # Check whether --enable-postscript was given.
9408 if test "${enable_postscript+set}" = set; then
9409 enableval=$enable_postscript;
9410 if test "$enableval" = yes; then
9411 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9412 else
9413 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9414 fi
9415
9416 else
9417
9418 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9419
9420 fi
9421
9422
9423 eval "$wx_cv_use_postscript"
9424
9425 if test x"$enablestring" = xdisable; then
9426 if test $wxUSE_POSTSCRIPT = no; then
9427 result=yes
9428 else
9429 result=no
9430 fi
9431 else
9432 result=$wxUSE_POSTSCRIPT
9433 fi
9434
9435 { echo "$as_me:$LINENO: result: $result" >&5
9436 echo "${ECHO_T}$result" >&6; }
9437
9438
9439 enablestring=
9440 defaultval=$wxUSE_ALL_FEATURES
9441 if test -z "$defaultval"; then
9442 if test x"$enablestring" = xdisable; then
9443 defaultval=yes
9444 else
9445 defaultval=no
9446 fi
9447 fi
9448
9449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9450 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9451 # Check whether --enable-printarch was given.
9452 if test "${enable_printarch+set}" = set; then
9453 enableval=$enable_printarch;
9454 if test "$enableval" = yes; then
9455 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9456 else
9457 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9458 fi
9459
9460 else
9461
9462 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9463
9464 fi
9465
9466
9467 eval "$wx_cv_use_printarch"
9468
9469 if test x"$enablestring" = xdisable; then
9470 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9471 result=yes
9472 else
9473 result=no
9474 fi
9475 else
9476 result=$wxUSE_PRINTING_ARCHITECTURE
9477 fi
9478
9479 { echo "$as_me:$LINENO: result: $result" >&5
9480 echo "${ECHO_T}$result" >&6; }
9481
9482
9483 enablestring=
9484 defaultval=$wxUSE_ALL_FEATURES
9485 if test -z "$defaultval"; then
9486 if test x"$enablestring" = xdisable; then
9487 defaultval=yes
9488 else
9489 defaultval=no
9490 fi
9491 fi
9492
9493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9494 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9495 # Check whether --enable-svg was given.
9496 if test "${enable_svg+set}" = set; then
9497 enableval=$enable_svg;
9498 if test "$enableval" = yes; then
9499 wx_cv_use_svg='wxUSE_SVG=yes'
9500 else
9501 wx_cv_use_svg='wxUSE_SVG=no'
9502 fi
9503
9504 else
9505
9506 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9507
9508 fi
9509
9510
9511 eval "$wx_cv_use_svg"
9512
9513 if test x"$enablestring" = xdisable; then
9514 if test $wxUSE_SVG = no; then
9515 result=yes
9516 else
9517 result=no
9518 fi
9519 else
9520 result=$wxUSE_SVG
9521 fi
9522
9523 { echo "$as_me:$LINENO: result: $result" >&5
9524 echo "${ECHO_T}$result" >&6; }
9525
9526
9527 if test "$wxUSE_MAC" != 1; then
9528
9529 enablestring=
9530 defaultval=$wxUSE_ALL_FEATURES
9531 if test -z "$defaultval"; then
9532 if test x"$enablestring" = xdisable; then
9533 defaultval=yes
9534 else
9535 defaultval=no
9536 fi
9537 fi
9538
9539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9540 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9541 # Check whether --enable-graphics_ctx was given.
9542 if test "${enable_graphics_ctx+set}" = set; then
9543 enableval=$enable_graphics_ctx;
9544 if test "$enableval" = yes; then
9545 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9546 else
9547 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9548 fi
9549
9550 else
9551
9552 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9553
9554 fi
9555
9556
9557 eval "$wx_cv_use_graphics_ctx"
9558
9559 if test x"$enablestring" = xdisable; then
9560 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9561 result=yes
9562 else
9563 result=no
9564 fi
9565 else
9566 result=$wxUSE_GRAPHICS_CONTEXT
9567 fi
9568
9569 { echo "$as_me:$LINENO: result: $result" >&5
9570 echo "${ECHO_T}$result" >&6; }
9571
9572 fi
9573
9574
9575
9576 enablestring=
9577 defaultval=$wxUSE_ALL_FEATURES
9578 if test -z "$defaultval"; then
9579 if test x"$enablestring" = xdisable; then
9580 defaultval=yes
9581 else
9582 defaultval=no
9583 fi
9584 fi
9585
9586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9587 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9588 # Check whether --enable-clipboard was given.
9589 if test "${enable_clipboard+set}" = set; then
9590 enableval=$enable_clipboard;
9591 if test "$enableval" = yes; then
9592 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9593 else
9594 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9595 fi
9596
9597 else
9598
9599 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9600
9601 fi
9602
9603
9604 eval "$wx_cv_use_clipboard"
9605
9606 if test x"$enablestring" = xdisable; then
9607 if test $wxUSE_CLIPBOARD = no; then
9608 result=yes
9609 else
9610 result=no
9611 fi
9612 else
9613 result=$wxUSE_CLIPBOARD
9614 fi
9615
9616 { echo "$as_me:$LINENO: result: $result" >&5
9617 echo "${ECHO_T}$result" >&6; }
9618
9619
9620 enablestring=
9621 defaultval=$wxUSE_ALL_FEATURES
9622 if test -z "$defaultval"; then
9623 if test x"$enablestring" = xdisable; then
9624 defaultval=yes
9625 else
9626 defaultval=no
9627 fi
9628 fi
9629
9630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9631 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9632 # Check whether --enable-dnd was given.
9633 if test "${enable_dnd+set}" = set; then
9634 enableval=$enable_dnd;
9635 if test "$enableval" = yes; then
9636 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9637 else
9638 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9639 fi
9640
9641 else
9642
9643 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9644
9645 fi
9646
9647
9648 eval "$wx_cv_use_dnd"
9649
9650 if test x"$enablestring" = xdisable; then
9651 if test $wxUSE_DRAG_AND_DROP = no; then
9652 result=yes
9653 else
9654 result=no
9655 fi
9656 else
9657 result=$wxUSE_DRAG_AND_DROP
9658 fi
9659
9660 { echo "$as_me:$LINENO: result: $result" >&5
9661 echo "${ECHO_T}$result" >&6; }
9662
9663
9664 enablestring=
9665 defaultval=$wxUSE_ALL_FEATURES
9666 if test -z "$defaultval"; then
9667 if test x"$enablestring" = xdisable; then
9668 defaultval=yes
9669 else
9670 defaultval=no
9671 fi
9672 fi
9673
9674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9675 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9676 # Check whether --enable-metafile was given.
9677 if test "${enable_metafile+set}" = set; then
9678 enableval=$enable_metafile;
9679 if test "$enableval" = yes; then
9680 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9681 else
9682 wx_cv_use_metafile='wxUSE_METAFILE=no'
9683 fi
9684
9685 else
9686
9687 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9688
9689 fi
9690
9691
9692 eval "$wx_cv_use_metafile"
9693
9694 if test x"$enablestring" = xdisable; then
9695 if test $wxUSE_METAFILE = no; then
9696 result=yes
9697 else
9698 result=no
9699 fi
9700 else
9701 result=$wxUSE_METAFILE
9702 fi
9703
9704 { echo "$as_me:$LINENO: result: $result" >&5
9705 echo "${ECHO_T}$result" >&6; }
9706
9707
9708
9709 DEFAULT_wxUSE_CONTROLS=none
9710
9711 enablestring=disable
9712 defaultval=
9713 if test -z "$defaultval"; then
9714 if test x"$enablestring" = xdisable; then
9715 defaultval=yes
9716 else
9717 defaultval=no
9718 fi
9719 fi
9720
9721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9723 # Check whether --enable-controls was given.
9724 if test "${enable_controls+set}" = set; then
9725 enableval=$enable_controls;
9726 if test "$enableval" = yes; then
9727 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9728 else
9729 wx_cv_use_controls='wxUSE_CONTROLS=no'
9730 fi
9731
9732 else
9733
9734 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9735
9736 fi
9737
9738
9739 eval "$wx_cv_use_controls"
9740
9741 if test x"$enablestring" = xdisable; then
9742 if test $wxUSE_CONTROLS = no; then
9743 result=yes
9744 else
9745 result=no
9746 fi
9747 else
9748 result=$wxUSE_CONTROLS
9749 fi
9750
9751 { echo "$as_me:$LINENO: result: $result" >&5
9752 echo "${ECHO_T}$result" >&6; }
9753
9754
9755 if test "$wxUSE_CONTROLS" = "no"; then
9756 DEFAULT_wxUSE_ACCEL=no
9757 DEFAULT_wxUSE_ANIMATIONCTRL=no
9758 DEFAULT_wxUSE_BMPBUTTON=no
9759 DEFAULT_wxUSE_BUTTON=no
9760 DEFAULT_wxUSE_CALCTRL=no
9761 DEFAULT_wxUSE_CARET=no
9762 DEFAULT_wxUSE_CHECKBOX=no
9763 DEFAULT_wxUSE_CHECKLISTBOX=no
9764 DEFAULT_wxUSE_CHOICE=no
9765 DEFAULT_wxUSE_CHOICEBOOK=no
9766 DEFAULT_wxUSE_COLLPANE=no
9767 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9768 DEFAULT_wxUSE_COMBOBOX=no
9769 DEFAULT_wxUSE_COMBOBOX=no
9770 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9771 DEFAULT_wxUSE_DATAVIEWCTRL=no
9772 DEFAULT_wxUSE_DATEPICKCTRL=no
9773 DEFAULT_wxUSE_DETECT_SM=no
9774 DEFAULT_wxUSE_DIRPICKERCTRL=no
9775 DEFAULT_wxUSE_DISPLAY=no
9776 DEFAULT_wxUSE_FILECTRL=no
9777 DEFAULT_wxUSE_FILEPICKERCTRL=no
9778 DEFAULT_wxUSE_FONTPICKERCTRL=no
9779 DEFAULT_wxUSE_GAUGE=no
9780 DEFAULT_wxUSE_GRID=no
9781 DEFAULT_wxUSE_HEADERCTRL=no
9782 DEFAULT_wxUSE_HYPERLINKCTRL=no
9783 DEFAULT_wxUSE_IMAGLIST=no
9784 DEFAULT_wxUSE_LISTBOOK=no
9785 DEFAULT_wxUSE_LISTBOX=no
9786 DEFAULT_wxUSE_LISTCTRL=no
9787 DEFAULT_wxUSE_NOTEBOOK=no
9788 DEFAULT_wxUSE_POPUPWIN=no
9789 DEFAULT_wxUSE_RADIOBOX=no
9790 DEFAULT_wxUSE_RADIOBTN=no
9791 DEFAULT_wxUSE_RICHMSGDLG=no
9792 DEFAULT_wxUSE_REARRANGECTRL=no
9793 DEFAULT_wxUSE_SASH=no
9794 DEFAULT_wxUSE_SCROLLBAR=no
9795 DEFAULT_wxUSE_SEARCHCTRL=no
9796 DEFAULT_wxUSE_SLIDER=no
9797 DEFAULT_wxUSE_SPINBTN=no
9798 DEFAULT_wxUSE_SPINCTRL=no
9799 DEFAULT_wxUSE_SPLITTER=no
9800 DEFAULT_wxUSE_STATBMP=no
9801 DEFAULT_wxUSE_STATBOX=no
9802 DEFAULT_wxUSE_STATLINE=no
9803 DEFAULT_wxUSE_STATUSBAR=no
9804 DEFAULT_wxUSE_TIPWINDOW=no
9805 DEFAULT_wxUSE_TOGGLEBTN=no
9806 DEFAULT_wxUSE_TOOLBAR=no
9807 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9808 DEFAULT_wxUSE_TOOLBOOK=no
9809 DEFAULT_wxUSE_TOOLTIPS=no
9810 DEFAULT_wxUSE_TREEBOOK=no
9811 DEFAULT_wxUSE_TREECTRL=no
9812 fi
9813
9814
9815 enablestring=
9816 defaultval=$wxUSE_ALL_FEATURES
9817 if test -z "$defaultval"; then
9818 if test x"$enablestring" = xdisable; then
9819 defaultval=yes
9820 else
9821 defaultval=no
9822 fi
9823 fi
9824
9825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9827 # Check whether --enable-accel was given.
9828 if test "${enable_accel+set}" = set; then
9829 enableval=$enable_accel;
9830 if test "$enableval" = yes; then
9831 wx_cv_use_accel='wxUSE_ACCEL=yes'
9832 else
9833 wx_cv_use_accel='wxUSE_ACCEL=no'
9834 fi
9835
9836 else
9837
9838 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9839
9840 fi
9841
9842
9843 eval "$wx_cv_use_accel"
9844
9845 if test x"$enablestring" = xdisable; then
9846 if test $wxUSE_ACCEL = no; then
9847 result=yes
9848 else
9849 result=no
9850 fi
9851 else
9852 result=$wxUSE_ACCEL
9853 fi
9854
9855 { echo "$as_me:$LINENO: result: $result" >&5
9856 echo "${ECHO_T}$result" >&6; }
9857
9858
9859 enablestring=
9860 defaultval=$wxUSE_ALL_FEATURES
9861 if test -z "$defaultval"; then
9862 if test x"$enablestring" = xdisable; then
9863 defaultval=yes
9864 else
9865 defaultval=no
9866 fi
9867 fi
9868
9869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9870 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9871 # Check whether --enable-animatectrl was given.
9872 if test "${enable_animatectrl+set}" = set; then
9873 enableval=$enable_animatectrl;
9874 if test "$enableval" = yes; then
9875 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9876 else
9877 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9878 fi
9879
9880 else
9881
9882 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9883
9884 fi
9885
9886
9887 eval "$wx_cv_use_animatectrl"
9888
9889 if test x"$enablestring" = xdisable; then
9890 if test $wxUSE_ANIMATIONCTRL = no; then
9891 result=yes
9892 else
9893 result=no
9894 fi
9895 else
9896 result=$wxUSE_ANIMATIONCTRL
9897 fi
9898
9899 { echo "$as_me:$LINENO: result: $result" >&5
9900 echo "${ECHO_T}$result" >&6; }
9901
9902
9903 enablestring=
9904 defaultval=$wxUSE_ALL_FEATURES
9905 if test -z "$defaultval"; then
9906 if test x"$enablestring" = xdisable; then
9907 defaultval=yes
9908 else
9909 defaultval=no
9910 fi
9911 fi
9912
9913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
9914 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
9915 # Check whether --enable-artstd was given.
9916 if test "${enable_artstd+set}" = set; then
9917 enableval=$enable_artstd;
9918 if test "$enableval" = yes; then
9919 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
9920 else
9921 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
9922 fi
9923
9924 else
9925
9926 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
9927
9928 fi
9929
9930
9931 eval "$wx_cv_use_artstd"
9932
9933 if test x"$enablestring" = xdisable; then
9934 if test $wxUSE_ARTPROVIDER_STD = no; then
9935 result=yes
9936 else
9937 result=no
9938 fi
9939 else
9940 result=$wxUSE_ARTPROVIDER_STD
9941 fi
9942
9943 { echo "$as_me:$LINENO: result: $result" >&5
9944 echo "${ECHO_T}$result" >&6; }
9945
9946
9947 enablestring=
9948 defaultval=$wxUSE_ALL_FEATURES
9949 if test -z "$defaultval"; then
9950 if test x"$enablestring" = xdisable; then
9951 defaultval=yes
9952 else
9953 defaultval=no
9954 fi
9955 fi
9956
9957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
9958 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
9959 # Check whether --enable-arttango was given.
9960 if test "${enable_arttango+set}" = set; then
9961 enableval=$enable_arttango;
9962 if test "$enableval" = yes; then
9963 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
9964 else
9965 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
9966 fi
9967
9968 else
9969
9970 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
9971
9972 fi
9973
9974
9975 eval "$wx_cv_use_arttango"
9976
9977 if test x"$enablestring" = xdisable; then
9978 if test $wxUSE_ARTPROVIDER_TANGO = no; then
9979 result=yes
9980 else
9981 result=no
9982 fi
9983 else
9984 result=$wxUSE_ARTPROVIDER_TANGO
9985 fi
9986
9987 { echo "$as_me:$LINENO: result: $result" >&5
9988 echo "${ECHO_T}$result" >&6; }
9989
9990
9991 enablestring=
9992 defaultval=$wxUSE_ALL_FEATURES
9993 if test -z "$defaultval"; then
9994 if test x"$enablestring" = xdisable; then
9995 defaultval=yes
9996 else
9997 defaultval=no
9998 fi
9999 fi
10000
10001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10002 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10003 # Check whether --enable-bmpbutton was given.
10004 if test "${enable_bmpbutton+set}" = set; then
10005 enableval=$enable_bmpbutton;
10006 if test "$enableval" = yes; then
10007 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10008 else
10009 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10010 fi
10011
10012 else
10013
10014 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10015
10016 fi
10017
10018
10019 eval "$wx_cv_use_bmpbutton"
10020
10021 if test x"$enablestring" = xdisable; then
10022 if test $wxUSE_BMPBUTTON = no; then
10023 result=yes
10024 else
10025 result=no
10026 fi
10027 else
10028 result=$wxUSE_BMPBUTTON
10029 fi
10030
10031 { echo "$as_me:$LINENO: result: $result" >&5
10032 echo "${ECHO_T}$result" >&6; }
10033
10034
10035 enablestring=
10036 defaultval=$wxUSE_ALL_FEATURES
10037 if test -z "$defaultval"; then
10038 if test x"$enablestring" = xdisable; then
10039 defaultval=yes
10040 else
10041 defaultval=no
10042 fi
10043 fi
10044
10045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10046 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10047 # Check whether --enable-bmpcombobox was given.
10048 if test "${enable_bmpcombobox+set}" = set; then
10049 enableval=$enable_bmpcombobox;
10050 if test "$enableval" = yes; then
10051 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10052 else
10053 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10054 fi
10055
10056 else
10057
10058 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10059
10060 fi
10061
10062
10063 eval "$wx_cv_use_bmpcombobox"
10064
10065 if test x"$enablestring" = xdisable; then
10066 if test $wxUSE_BITMAPCOMBOBOX = no; then
10067 result=yes
10068 else
10069 result=no
10070 fi
10071 else
10072 result=$wxUSE_BITMAPCOMBOBOX
10073 fi
10074
10075 { echo "$as_me:$LINENO: result: $result" >&5
10076 echo "${ECHO_T}$result" >&6; }
10077
10078
10079 enablestring=
10080 defaultval=$wxUSE_ALL_FEATURES
10081 if test -z "$defaultval"; then
10082 if test x"$enablestring" = xdisable; then
10083 defaultval=yes
10084 else
10085 defaultval=no
10086 fi
10087 fi
10088
10089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10090 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10091 # Check whether --enable-button was given.
10092 if test "${enable_button+set}" = set; then
10093 enableval=$enable_button;
10094 if test "$enableval" = yes; then
10095 wx_cv_use_button='wxUSE_BUTTON=yes'
10096 else
10097 wx_cv_use_button='wxUSE_BUTTON=no'
10098 fi
10099
10100 else
10101
10102 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10103
10104 fi
10105
10106
10107 eval "$wx_cv_use_button"
10108
10109 if test x"$enablestring" = xdisable; then
10110 if test $wxUSE_BUTTON = no; then
10111 result=yes
10112 else
10113 result=no
10114 fi
10115 else
10116 result=$wxUSE_BUTTON
10117 fi
10118
10119 { echo "$as_me:$LINENO: result: $result" >&5
10120 echo "${ECHO_T}$result" >&6; }
10121
10122
10123 enablestring=
10124 defaultval=$wxUSE_ALL_FEATURES
10125 if test -z "$defaultval"; then
10126 if test x"$enablestring" = xdisable; then
10127 defaultval=yes
10128 else
10129 defaultval=no
10130 fi
10131 fi
10132
10133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10134 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10135 # Check whether --enable-calendar was given.
10136 if test "${enable_calendar+set}" = set; then
10137 enableval=$enable_calendar;
10138 if test "$enableval" = yes; then
10139 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10140 else
10141 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10142 fi
10143
10144 else
10145
10146 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10147
10148 fi
10149
10150
10151 eval "$wx_cv_use_calendar"
10152
10153 if test x"$enablestring" = xdisable; then
10154 if test $wxUSE_CALCTRL = no; then
10155 result=yes
10156 else
10157 result=no
10158 fi
10159 else
10160 result=$wxUSE_CALCTRL
10161 fi
10162
10163 { echo "$as_me:$LINENO: result: $result" >&5
10164 echo "${ECHO_T}$result" >&6; }
10165
10166
10167 enablestring=
10168 defaultval=$wxUSE_ALL_FEATURES
10169 if test -z "$defaultval"; then
10170 if test x"$enablestring" = xdisable; then
10171 defaultval=yes
10172 else
10173 defaultval=no
10174 fi
10175 fi
10176
10177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10178 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10179 # Check whether --enable-caret was given.
10180 if test "${enable_caret+set}" = set; then
10181 enableval=$enable_caret;
10182 if test "$enableval" = yes; then
10183 wx_cv_use_caret='wxUSE_CARET=yes'
10184 else
10185 wx_cv_use_caret='wxUSE_CARET=no'
10186 fi
10187
10188 else
10189
10190 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10191
10192 fi
10193
10194
10195 eval "$wx_cv_use_caret"
10196
10197 if test x"$enablestring" = xdisable; then
10198 if test $wxUSE_CARET = no; then
10199 result=yes
10200 else
10201 result=no
10202 fi
10203 else
10204 result=$wxUSE_CARET
10205 fi
10206
10207 { echo "$as_me:$LINENO: result: $result" >&5
10208 echo "${ECHO_T}$result" >&6; }
10209
10210
10211 enablestring=
10212 defaultval=$wxUSE_ALL_FEATURES
10213 if test -z "$defaultval"; then
10214 if test x"$enablestring" = xdisable; then
10215 defaultval=yes
10216 else
10217 defaultval=no
10218 fi
10219 fi
10220
10221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10222 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10223 # Check whether --enable-checkbox was given.
10224 if test "${enable_checkbox+set}" = set; then
10225 enableval=$enable_checkbox;
10226 if test "$enableval" = yes; then
10227 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10228 else
10229 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10230 fi
10231
10232 else
10233
10234 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10235
10236 fi
10237
10238
10239 eval "$wx_cv_use_checkbox"
10240
10241 if test x"$enablestring" = xdisable; then
10242 if test $wxUSE_CHECKBOX = no; then
10243 result=yes
10244 else
10245 result=no
10246 fi
10247 else
10248 result=$wxUSE_CHECKBOX
10249 fi
10250
10251 { echo "$as_me:$LINENO: result: $result" >&5
10252 echo "${ECHO_T}$result" >&6; }
10253
10254
10255 enablestring=
10256 defaultval=$wxUSE_ALL_FEATURES
10257 if test -z "$defaultval"; then
10258 if test x"$enablestring" = xdisable; then
10259 defaultval=yes
10260 else
10261 defaultval=no
10262 fi
10263 fi
10264
10265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10266 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10267 # Check whether --enable-checklst was given.
10268 if test "${enable_checklst+set}" = set; then
10269 enableval=$enable_checklst;
10270 if test "$enableval" = yes; then
10271 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10272 else
10273 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10274 fi
10275
10276 else
10277
10278 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10279
10280 fi
10281
10282
10283 eval "$wx_cv_use_checklst"
10284
10285 if test x"$enablestring" = xdisable; then
10286 if test $wxUSE_CHECKLST = no; then
10287 result=yes
10288 else
10289 result=no
10290 fi
10291 else
10292 result=$wxUSE_CHECKLST
10293 fi
10294
10295 { echo "$as_me:$LINENO: result: $result" >&5
10296 echo "${ECHO_T}$result" >&6; }
10297
10298
10299 enablestring=
10300 defaultval=$wxUSE_ALL_FEATURES
10301 if test -z "$defaultval"; then
10302 if test x"$enablestring" = xdisable; then
10303 defaultval=yes
10304 else
10305 defaultval=no
10306 fi
10307 fi
10308
10309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10310 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10311 # Check whether --enable-choice was given.
10312 if test "${enable_choice+set}" = set; then
10313 enableval=$enable_choice;
10314 if test "$enableval" = yes; then
10315 wx_cv_use_choice='wxUSE_CHOICE=yes'
10316 else
10317 wx_cv_use_choice='wxUSE_CHOICE=no'
10318 fi
10319
10320 else
10321
10322 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10323
10324 fi
10325
10326
10327 eval "$wx_cv_use_choice"
10328
10329 if test x"$enablestring" = xdisable; then
10330 if test $wxUSE_CHOICE = no; then
10331 result=yes
10332 else
10333 result=no
10334 fi
10335 else
10336 result=$wxUSE_CHOICE
10337 fi
10338
10339 { echo "$as_me:$LINENO: result: $result" >&5
10340 echo "${ECHO_T}$result" >&6; }
10341
10342
10343 enablestring=
10344 defaultval=$wxUSE_ALL_FEATURES
10345 if test -z "$defaultval"; then
10346 if test x"$enablestring" = xdisable; then
10347 defaultval=yes
10348 else
10349 defaultval=no
10350 fi
10351 fi
10352
10353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10354 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10355 # Check whether --enable-choicebook was given.
10356 if test "${enable_choicebook+set}" = set; then
10357 enableval=$enable_choicebook;
10358 if test "$enableval" = yes; then
10359 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10360 else
10361 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10362 fi
10363
10364 else
10365
10366 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10367
10368 fi
10369
10370
10371 eval "$wx_cv_use_choicebook"
10372
10373 if test x"$enablestring" = xdisable; then
10374 if test $wxUSE_CHOICEBOOK = no; then
10375 result=yes
10376 else
10377 result=no
10378 fi
10379 else
10380 result=$wxUSE_CHOICEBOOK
10381 fi
10382
10383 { echo "$as_me:$LINENO: result: $result" >&5
10384 echo "${ECHO_T}$result" >&6; }
10385
10386
10387 enablestring=
10388 defaultval=$wxUSE_ALL_FEATURES
10389 if test -z "$defaultval"; then
10390 if test x"$enablestring" = xdisable; then
10391 defaultval=yes
10392 else
10393 defaultval=no
10394 fi
10395 fi
10396
10397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10399 # Check whether --enable-collpane was given.
10400 if test "${enable_collpane+set}" = set; then
10401 enableval=$enable_collpane;
10402 if test "$enableval" = yes; then
10403 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10404 else
10405 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10406 fi
10407
10408 else
10409
10410 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10411
10412 fi
10413
10414
10415 eval "$wx_cv_use_collpane"
10416
10417 if test x"$enablestring" = xdisable; then
10418 if test $wxUSE_COLLPANE = no; then
10419 result=yes
10420 else
10421 result=no
10422 fi
10423 else
10424 result=$wxUSE_COLLPANE
10425 fi
10426
10427 { echo "$as_me:$LINENO: result: $result" >&5
10428 echo "${ECHO_T}$result" >&6; }
10429
10430
10431 enablestring=
10432 defaultval=$wxUSE_ALL_FEATURES
10433 if test -z "$defaultval"; then
10434 if test x"$enablestring" = xdisable; then
10435 defaultval=yes
10436 else
10437 defaultval=no
10438 fi
10439 fi
10440
10441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10443 # Check whether --enable-colourpicker was given.
10444 if test "${enable_colourpicker+set}" = set; then
10445 enableval=$enable_colourpicker;
10446 if test "$enableval" = yes; then
10447 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10448 else
10449 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10450 fi
10451
10452 else
10453
10454 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10455
10456 fi
10457
10458
10459 eval "$wx_cv_use_colourpicker"
10460
10461 if test x"$enablestring" = xdisable; then
10462 if test $wxUSE_COLOURPICKERCTRL = no; then
10463 result=yes
10464 else
10465 result=no
10466 fi
10467 else
10468 result=$wxUSE_COLOURPICKERCTRL
10469 fi
10470
10471 { echo "$as_me:$LINENO: result: $result" >&5
10472 echo "${ECHO_T}$result" >&6; }
10473
10474
10475 enablestring=
10476 defaultval=$wxUSE_ALL_FEATURES
10477 if test -z "$defaultval"; then
10478 if test x"$enablestring" = xdisable; then
10479 defaultval=yes
10480 else
10481 defaultval=no
10482 fi
10483 fi
10484
10485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10486 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10487 # Check whether --enable-combobox was given.
10488 if test "${enable_combobox+set}" = set; then
10489 enableval=$enable_combobox;
10490 if test "$enableval" = yes; then
10491 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10492 else
10493 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10494 fi
10495
10496 else
10497
10498 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10499
10500 fi
10501
10502
10503 eval "$wx_cv_use_combobox"
10504
10505 if test x"$enablestring" = xdisable; then
10506 if test $wxUSE_COMBOBOX = no; then
10507 result=yes
10508 else
10509 result=no
10510 fi
10511 else
10512 result=$wxUSE_COMBOBOX
10513 fi
10514
10515 { echo "$as_me:$LINENO: result: $result" >&5
10516 echo "${ECHO_T}$result" >&6; }
10517
10518
10519 enablestring=
10520 defaultval=$wxUSE_ALL_FEATURES
10521 if test -z "$defaultval"; then
10522 if test x"$enablestring" = xdisable; then
10523 defaultval=yes
10524 else
10525 defaultval=no
10526 fi
10527 fi
10528
10529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10530 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10531 # Check whether --enable-comboctrl was given.
10532 if test "${enable_comboctrl+set}" = set; then
10533 enableval=$enable_comboctrl;
10534 if test "$enableval" = yes; then
10535 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10536 else
10537 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10538 fi
10539
10540 else
10541
10542 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10543
10544 fi
10545
10546
10547 eval "$wx_cv_use_comboctrl"
10548
10549 if test x"$enablestring" = xdisable; then
10550 if test $wxUSE_COMBOCTRL = no; then
10551 result=yes
10552 else
10553 result=no
10554 fi
10555 else
10556 result=$wxUSE_COMBOCTRL
10557 fi
10558
10559 { echo "$as_me:$LINENO: result: $result" >&5
10560 echo "${ECHO_T}$result" >&6; }
10561
10562
10563 enablestring=
10564 defaultval=$wxUSE_ALL_FEATURES
10565 if test -z "$defaultval"; then
10566 if test x"$enablestring" = xdisable; then
10567 defaultval=yes
10568 else
10569 defaultval=no
10570 fi
10571 fi
10572
10573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10574 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10575 # Check whether --enable-commandlinkbutton was given.
10576 if test "${enable_commandlinkbutton+set}" = set; then
10577 enableval=$enable_commandlinkbutton;
10578 if test "$enableval" = yes; then
10579 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10580 else
10581 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10582 fi
10583
10584 else
10585
10586 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10587
10588 fi
10589
10590
10591 eval "$wx_cv_use_commandlinkbutton"
10592
10593 if test x"$enablestring" = xdisable; then
10594 if test $wxUSE_COMMANDLINKBUTTON = no; then
10595 result=yes
10596 else
10597 result=no
10598 fi
10599 else
10600 result=$wxUSE_COMMANDLINKBUTTON
10601 fi
10602
10603 { echo "$as_me:$LINENO: result: $result" >&5
10604 echo "${ECHO_T}$result" >&6; }
10605
10606
10607 enablestring=
10608 defaultval=$wxUSE_ALL_FEATURES
10609 if test -z "$defaultval"; then
10610 if test x"$enablestring" = xdisable; then
10611 defaultval=yes
10612 else
10613 defaultval=no
10614 fi
10615 fi
10616
10617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10618 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10619 # Check whether --enable-dataviewctrl was given.
10620 if test "${enable_dataviewctrl+set}" = set; then
10621 enableval=$enable_dataviewctrl;
10622 if test "$enableval" = yes; then
10623 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10624 else
10625 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10626 fi
10627
10628 else
10629
10630 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10631
10632 fi
10633
10634
10635 eval "$wx_cv_use_dataviewctrl"
10636
10637 if test x"$enablestring" = xdisable; then
10638 if test $wxUSE_DATAVIEWCTRL = no; then
10639 result=yes
10640 else
10641 result=no
10642 fi
10643 else
10644 result=$wxUSE_DATAVIEWCTRL
10645 fi
10646
10647 { echo "$as_me:$LINENO: result: $result" >&5
10648 echo "${ECHO_T}$result" >&6; }
10649
10650
10651 enablestring=
10652 defaultval=$wxUSE_ALL_FEATURES
10653 if test -z "$defaultval"; then
10654 if test x"$enablestring" = xdisable; then
10655 defaultval=yes
10656 else
10657 defaultval=no
10658 fi
10659 fi
10660
10661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10662 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10663 # Check whether --enable-datepick was given.
10664 if test "${enable_datepick+set}" = set; then
10665 enableval=$enable_datepick;
10666 if test "$enableval" = yes; then
10667 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10668 else
10669 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10670 fi
10671
10672 else
10673
10674 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10675
10676 fi
10677
10678
10679 eval "$wx_cv_use_datepick"
10680
10681 if test x"$enablestring" = xdisable; then
10682 if test $wxUSE_DATEPICKCTRL = no; then
10683 result=yes
10684 else
10685 result=no
10686 fi
10687 else
10688 result=$wxUSE_DATEPICKCTRL
10689 fi
10690
10691 { echo "$as_me:$LINENO: result: $result" >&5
10692 echo "${ECHO_T}$result" >&6; }
10693
10694
10695 enablestring=
10696 defaultval=$wxUSE_ALL_FEATURES
10697 if test -z "$defaultval"; then
10698 if test x"$enablestring" = xdisable; then
10699 defaultval=yes
10700 else
10701 defaultval=no
10702 fi
10703 fi
10704
10705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10706 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10707 # Check whether --enable-detect_sm was given.
10708 if test "${enable_detect_sm+set}" = set; then
10709 enableval=$enable_detect_sm;
10710 if test "$enableval" = yes; then
10711 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10712 else
10713 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10714 fi
10715
10716 else
10717
10718 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10719
10720 fi
10721
10722
10723 eval "$wx_cv_use_detect_sm"
10724
10725 if test x"$enablestring" = xdisable; then
10726 if test $wxUSE_DETECT_SM = no; then
10727 result=yes
10728 else
10729 result=no
10730 fi
10731 else
10732 result=$wxUSE_DETECT_SM
10733 fi
10734
10735 { echo "$as_me:$LINENO: result: $result" >&5
10736 echo "${ECHO_T}$result" >&6; }
10737
10738
10739 enablestring=
10740 defaultval=$wxUSE_ALL_FEATURES
10741 if test -z "$defaultval"; then
10742 if test x"$enablestring" = xdisable; then
10743 defaultval=yes
10744 else
10745 defaultval=no
10746 fi
10747 fi
10748
10749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10750 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10751 # Check whether --enable-dirpicker was given.
10752 if test "${enable_dirpicker+set}" = set; then
10753 enableval=$enable_dirpicker;
10754 if test "$enableval" = yes; then
10755 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10756 else
10757 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10758 fi
10759
10760 else
10761
10762 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10763
10764 fi
10765
10766
10767 eval "$wx_cv_use_dirpicker"
10768
10769 if test x"$enablestring" = xdisable; then
10770 if test $wxUSE_DIRPICKERCTRL = no; then
10771 result=yes
10772 else
10773 result=no
10774 fi
10775 else
10776 result=$wxUSE_DIRPICKERCTRL
10777 fi
10778
10779 { echo "$as_me:$LINENO: result: $result" >&5
10780 echo "${ECHO_T}$result" >&6; }
10781
10782
10783 enablestring=
10784 defaultval=$wxUSE_ALL_FEATURES
10785 if test -z "$defaultval"; then
10786 if test x"$enablestring" = xdisable; then
10787 defaultval=yes
10788 else
10789 defaultval=no
10790 fi
10791 fi
10792
10793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10794 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10795 # Check whether --enable-display was given.
10796 if test "${enable_display+set}" = set; then
10797 enableval=$enable_display;
10798 if test "$enableval" = yes; then
10799 wx_cv_use_display='wxUSE_DISPLAY=yes'
10800 else
10801 wx_cv_use_display='wxUSE_DISPLAY=no'
10802 fi
10803
10804 else
10805
10806 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10807
10808 fi
10809
10810
10811 eval "$wx_cv_use_display"
10812
10813 if test x"$enablestring" = xdisable; then
10814 if test $wxUSE_DISPLAY = no; then
10815 result=yes
10816 else
10817 result=no
10818 fi
10819 else
10820 result=$wxUSE_DISPLAY
10821 fi
10822
10823 { echo "$as_me:$LINENO: result: $result" >&5
10824 echo "${ECHO_T}$result" >&6; }
10825
10826
10827 enablestring=
10828 defaultval=$wxUSE_ALL_FEATURES
10829 if test -z "$defaultval"; then
10830 if test x"$enablestring" = xdisable; then
10831 defaultval=yes
10832 else
10833 defaultval=no
10834 fi
10835 fi
10836
10837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10838 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10839 # Check whether --enable-editablebox was given.
10840 if test "${enable_editablebox+set}" = set; then
10841 enableval=$enable_editablebox;
10842 if test "$enableval" = yes; then
10843 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10844 else
10845 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10846 fi
10847
10848 else
10849
10850 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10851
10852 fi
10853
10854
10855 eval "$wx_cv_use_editablebox"
10856
10857 if test x"$enablestring" = xdisable; then
10858 if test $wxUSE_EDITABLELISTBOX = no; then
10859 result=yes
10860 else
10861 result=no
10862 fi
10863 else
10864 result=$wxUSE_EDITABLELISTBOX
10865 fi
10866
10867 { echo "$as_me:$LINENO: result: $result" >&5
10868 echo "${ECHO_T}$result" >&6; }
10869
10870
10871 enablestring=
10872 defaultval=$wxUSE_ALL_FEATURES
10873 if test -z "$defaultval"; then
10874 if test x"$enablestring" = xdisable; then
10875 defaultval=yes
10876 else
10877 defaultval=no
10878 fi
10879 fi
10880
10881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10882 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10883 # Check whether --enable-filectrl was given.
10884 if test "${enable_filectrl+set}" = set; then
10885 enableval=$enable_filectrl;
10886 if test "$enableval" = yes; then
10887 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10888 else
10889 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10890 fi
10891
10892 else
10893
10894 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10895
10896 fi
10897
10898
10899 eval "$wx_cv_use_filectrl"
10900
10901 if test x"$enablestring" = xdisable; then
10902 if test $wxUSE_FILECTRL = no; then
10903 result=yes
10904 else
10905 result=no
10906 fi
10907 else
10908 result=$wxUSE_FILECTRL
10909 fi
10910
10911 { echo "$as_me:$LINENO: result: $result" >&5
10912 echo "${ECHO_T}$result" >&6; }
10913
10914
10915 enablestring=
10916 defaultval=$wxUSE_ALL_FEATURES
10917 if test -z "$defaultval"; then
10918 if test x"$enablestring" = xdisable; then
10919 defaultval=yes
10920 else
10921 defaultval=no
10922 fi
10923 fi
10924
10925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10926 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10927 # Check whether --enable-filepicker was given.
10928 if test "${enable_filepicker+set}" = set; then
10929 enableval=$enable_filepicker;
10930 if test "$enableval" = yes; then
10931 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10932 else
10933 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10934 fi
10935
10936 else
10937
10938 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10939
10940 fi
10941
10942
10943 eval "$wx_cv_use_filepicker"
10944
10945 if test x"$enablestring" = xdisable; then
10946 if test $wxUSE_FILEPICKERCTRL = no; then
10947 result=yes
10948 else
10949 result=no
10950 fi
10951 else
10952 result=$wxUSE_FILEPICKERCTRL
10953 fi
10954
10955 { echo "$as_me:$LINENO: result: $result" >&5
10956 echo "${ECHO_T}$result" >&6; }
10957
10958
10959 enablestring=
10960 defaultval=$wxUSE_ALL_FEATURES
10961 if test -z "$defaultval"; then
10962 if test x"$enablestring" = xdisable; then
10963 defaultval=yes
10964 else
10965 defaultval=no
10966 fi
10967 fi
10968
10969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10970 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10971 # Check whether --enable-fontpicker was given.
10972 if test "${enable_fontpicker+set}" = set; then
10973 enableval=$enable_fontpicker;
10974 if test "$enableval" = yes; then
10975 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10976 else
10977 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10978 fi
10979
10980 else
10981
10982 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10983
10984 fi
10985
10986
10987 eval "$wx_cv_use_fontpicker"
10988
10989 if test x"$enablestring" = xdisable; then
10990 if test $wxUSE_FONTPICKERCTRL = no; then
10991 result=yes
10992 else
10993 result=no
10994 fi
10995 else
10996 result=$wxUSE_FONTPICKERCTRL
10997 fi
10998
10999 { echo "$as_me:$LINENO: result: $result" >&5
11000 echo "${ECHO_T}$result" >&6; }
11001
11002
11003 enablestring=
11004 defaultval=$wxUSE_ALL_FEATURES
11005 if test -z "$defaultval"; then
11006 if test x"$enablestring" = xdisable; then
11007 defaultval=yes
11008 else
11009 defaultval=no
11010 fi
11011 fi
11012
11013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11014 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11015 # Check whether --enable-gauge was given.
11016 if test "${enable_gauge+set}" = set; then
11017 enableval=$enable_gauge;
11018 if test "$enableval" = yes; then
11019 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11020 else
11021 wx_cv_use_gauge='wxUSE_GAUGE=no'
11022 fi
11023
11024 else
11025
11026 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11027
11028 fi
11029
11030
11031 eval "$wx_cv_use_gauge"
11032
11033 if test x"$enablestring" = xdisable; then
11034 if test $wxUSE_GAUGE = no; then
11035 result=yes
11036 else
11037 result=no
11038 fi
11039 else
11040 result=$wxUSE_GAUGE
11041 fi
11042
11043 { echo "$as_me:$LINENO: result: $result" >&5
11044 echo "${ECHO_T}$result" >&6; }
11045
11046
11047 enablestring=
11048 defaultval=$wxUSE_ALL_FEATURES
11049 if test -z "$defaultval"; then
11050 if test x"$enablestring" = xdisable; then
11051 defaultval=yes
11052 else
11053 defaultval=no
11054 fi
11055 fi
11056
11057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11058 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11059 # Check whether --enable-grid was given.
11060 if test "${enable_grid+set}" = set; then
11061 enableval=$enable_grid;
11062 if test "$enableval" = yes; then
11063 wx_cv_use_grid='wxUSE_GRID=yes'
11064 else
11065 wx_cv_use_grid='wxUSE_GRID=no'
11066 fi
11067
11068 else
11069
11070 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11071
11072 fi
11073
11074
11075 eval "$wx_cv_use_grid"
11076
11077 if test x"$enablestring" = xdisable; then
11078 if test $wxUSE_GRID = no; then
11079 result=yes
11080 else
11081 result=no
11082 fi
11083 else
11084 result=$wxUSE_GRID
11085 fi
11086
11087 { echo "$as_me:$LINENO: result: $result" >&5
11088 echo "${ECHO_T}$result" >&6; }
11089
11090
11091 enablestring=
11092 defaultval=$wxUSE_ALL_FEATURES
11093 if test -z "$defaultval"; then
11094 if test x"$enablestring" = xdisable; then
11095 defaultval=yes
11096 else
11097 defaultval=no
11098 fi
11099 fi
11100
11101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11102 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11103 # Check whether --enable-headerctrl was given.
11104 if test "${enable_headerctrl+set}" = set; then
11105 enableval=$enable_headerctrl;
11106 if test "$enableval" = yes; then
11107 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11108 else
11109 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11110 fi
11111
11112 else
11113
11114 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11115
11116 fi
11117
11118
11119 eval "$wx_cv_use_headerctrl"
11120
11121 if test x"$enablestring" = xdisable; then
11122 if test $wxUSE_HEADERCTRL = no; then
11123 result=yes
11124 else
11125 result=no
11126 fi
11127 else
11128 result=$wxUSE_HEADERCTRL
11129 fi
11130
11131 { echo "$as_me:$LINENO: result: $result" >&5
11132 echo "${ECHO_T}$result" >&6; }
11133
11134
11135 enablestring=
11136 defaultval=$wxUSE_ALL_FEATURES
11137 if test -z "$defaultval"; then
11138 if test x"$enablestring" = xdisable; then
11139 defaultval=yes
11140 else
11141 defaultval=no
11142 fi
11143 fi
11144
11145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11146 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11147 # Check whether --enable-hyperlink was given.
11148 if test "${enable_hyperlink+set}" = set; then
11149 enableval=$enable_hyperlink;
11150 if test "$enableval" = yes; then
11151 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11152 else
11153 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11154 fi
11155
11156 else
11157
11158 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11159
11160 fi
11161
11162
11163 eval "$wx_cv_use_hyperlink"
11164
11165 if test x"$enablestring" = xdisable; then
11166 if test $wxUSE_HYPERLINKCTRL = no; then
11167 result=yes
11168 else
11169 result=no
11170 fi
11171 else
11172 result=$wxUSE_HYPERLINKCTRL
11173 fi
11174
11175 { echo "$as_me:$LINENO: result: $result" >&5
11176 echo "${ECHO_T}$result" >&6; }
11177
11178
11179 enablestring=
11180 defaultval=$wxUSE_ALL_FEATURES
11181 if test -z "$defaultval"; then
11182 if test x"$enablestring" = xdisable; then
11183 defaultval=yes
11184 else
11185 defaultval=no
11186 fi
11187 fi
11188
11189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11190 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11191 # Check whether --enable-imaglist was given.
11192 if test "${enable_imaglist+set}" = set; then
11193 enableval=$enable_imaglist;
11194 if test "$enableval" = yes; then
11195 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11196 else
11197 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11198 fi
11199
11200 else
11201
11202 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11203
11204 fi
11205
11206
11207 eval "$wx_cv_use_imaglist"
11208
11209 if test x"$enablestring" = xdisable; then
11210 if test $wxUSE_IMAGLIST = no; then
11211 result=yes
11212 else
11213 result=no
11214 fi
11215 else
11216 result=$wxUSE_IMAGLIST
11217 fi
11218
11219 { echo "$as_me:$LINENO: result: $result" >&5
11220 echo "${ECHO_T}$result" >&6; }
11221
11222
11223 enablestring=
11224 defaultval=$wxUSE_ALL_FEATURES
11225 if test -z "$defaultval"; then
11226 if test x"$enablestring" = xdisable; then
11227 defaultval=yes
11228 else
11229 defaultval=no
11230 fi
11231 fi
11232
11233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11234 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11235 # Check whether --enable-infobar was given.
11236 if test "${enable_infobar+set}" = set; then
11237 enableval=$enable_infobar;
11238 if test "$enableval" = yes; then
11239 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11240 else
11241 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11242 fi
11243
11244 else
11245
11246 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11247
11248 fi
11249
11250
11251 eval "$wx_cv_use_infobar"
11252
11253 if test x"$enablestring" = xdisable; then
11254 if test $wxUSE_INFOBAR = no; then
11255 result=yes
11256 else
11257 result=no
11258 fi
11259 else
11260 result=$wxUSE_INFOBAR
11261 fi
11262
11263 { echo "$as_me:$LINENO: result: $result" >&5
11264 echo "${ECHO_T}$result" >&6; }
11265
11266
11267 enablestring=
11268 defaultval=$wxUSE_ALL_FEATURES
11269 if test -z "$defaultval"; then
11270 if test x"$enablestring" = xdisable; then
11271 defaultval=yes
11272 else
11273 defaultval=no
11274 fi
11275 fi
11276
11277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11278 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11279 # Check whether --enable-listbook was given.
11280 if test "${enable_listbook+set}" = set; then
11281 enableval=$enable_listbook;
11282 if test "$enableval" = yes; then
11283 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11284 else
11285 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11286 fi
11287
11288 else
11289
11290 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11291
11292 fi
11293
11294
11295 eval "$wx_cv_use_listbook"
11296
11297 if test x"$enablestring" = xdisable; then
11298 if test $wxUSE_LISTBOOK = no; then
11299 result=yes
11300 else
11301 result=no
11302 fi
11303 else
11304 result=$wxUSE_LISTBOOK
11305 fi
11306
11307 { echo "$as_me:$LINENO: result: $result" >&5
11308 echo "${ECHO_T}$result" >&6; }
11309
11310
11311 enablestring=
11312 defaultval=$wxUSE_ALL_FEATURES
11313 if test -z "$defaultval"; then
11314 if test x"$enablestring" = xdisable; then
11315 defaultval=yes
11316 else
11317 defaultval=no
11318 fi
11319 fi
11320
11321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11322 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11323 # Check whether --enable-listbox was given.
11324 if test "${enable_listbox+set}" = set; then
11325 enableval=$enable_listbox;
11326 if test "$enableval" = yes; then
11327 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11328 else
11329 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11330 fi
11331
11332 else
11333
11334 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11335
11336 fi
11337
11338
11339 eval "$wx_cv_use_listbox"
11340
11341 if test x"$enablestring" = xdisable; then
11342 if test $wxUSE_LISTBOX = no; then
11343 result=yes
11344 else
11345 result=no
11346 fi
11347 else
11348 result=$wxUSE_LISTBOX
11349 fi
11350
11351 { echo "$as_me:$LINENO: result: $result" >&5
11352 echo "${ECHO_T}$result" >&6; }
11353
11354
11355 enablestring=
11356 defaultval=$wxUSE_ALL_FEATURES
11357 if test -z "$defaultval"; then
11358 if test x"$enablestring" = xdisable; then
11359 defaultval=yes
11360 else
11361 defaultval=no
11362 fi
11363 fi
11364
11365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11366 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11367 # Check whether --enable-listctrl was given.
11368 if test "${enable_listctrl+set}" = set; then
11369 enableval=$enable_listctrl;
11370 if test "$enableval" = yes; then
11371 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11372 else
11373 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11374 fi
11375
11376 else
11377
11378 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11379
11380 fi
11381
11382
11383 eval "$wx_cv_use_listctrl"
11384
11385 if test x"$enablestring" = xdisable; then
11386 if test $wxUSE_LISTCTRL = no; then
11387 result=yes
11388 else
11389 result=no
11390 fi
11391 else
11392 result=$wxUSE_LISTCTRL
11393 fi
11394
11395 { echo "$as_me:$LINENO: result: $result" >&5
11396 echo "${ECHO_T}$result" >&6; }
11397
11398
11399 enablestring=
11400 defaultval=$wxUSE_ALL_FEATURES
11401 if test -z "$defaultval"; then
11402 if test x"$enablestring" = xdisable; then
11403 defaultval=yes
11404 else
11405 defaultval=no
11406 fi
11407 fi
11408
11409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11410 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11411 # Check whether --enable-notebook was given.
11412 if test "${enable_notebook+set}" = set; then
11413 enableval=$enable_notebook;
11414 if test "$enableval" = yes; then
11415 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11416 else
11417 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11418 fi
11419
11420 else
11421
11422 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11423
11424 fi
11425
11426
11427 eval "$wx_cv_use_notebook"
11428
11429 if test x"$enablestring" = xdisable; then
11430 if test $wxUSE_NOTEBOOK = no; then
11431 result=yes
11432 else
11433 result=no
11434 fi
11435 else
11436 result=$wxUSE_NOTEBOOK
11437 fi
11438
11439 { echo "$as_me:$LINENO: result: $result" >&5
11440 echo "${ECHO_T}$result" >&6; }
11441
11442
11443 enablestring=
11444 defaultval=$wxUSE_ALL_FEATURES
11445 if test -z "$defaultval"; then
11446 if test x"$enablestring" = xdisable; then
11447 defaultval=yes
11448 else
11449 defaultval=no
11450 fi
11451 fi
11452
11453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11454 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11455 # Check whether --enable-notifmsg was given.
11456 if test "${enable_notifmsg+set}" = set; then
11457 enableval=$enable_notifmsg;
11458 if test "$enableval" = yes; then
11459 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11460 else
11461 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11462 fi
11463
11464 else
11465
11466 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11467
11468 fi
11469
11470
11471 eval "$wx_cv_use_notifmsg"
11472
11473 if test x"$enablestring" = xdisable; then
11474 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11475 result=yes
11476 else
11477 result=no
11478 fi
11479 else
11480 result=$wxUSE_NOTIFICATION_MESSAGE
11481 fi
11482
11483 { echo "$as_me:$LINENO: result: $result" >&5
11484 echo "${ECHO_T}$result" >&6; }
11485
11486
11487 enablestring=
11488 defaultval=$wxUSE_ALL_FEATURES
11489 if test -z "$defaultval"; then
11490 if test x"$enablestring" = xdisable; then
11491 defaultval=yes
11492 else
11493 defaultval=no
11494 fi
11495 fi
11496
11497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11498 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11499 # Check whether --enable-odcombobox was given.
11500 if test "${enable_odcombobox+set}" = set; then
11501 enableval=$enable_odcombobox;
11502 if test "$enableval" = yes; then
11503 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11504 else
11505 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11506 fi
11507
11508 else
11509
11510 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11511
11512 fi
11513
11514
11515 eval "$wx_cv_use_odcombobox"
11516
11517 if test x"$enablestring" = xdisable; then
11518 if test $wxUSE_ODCOMBOBOX = no; then
11519 result=yes
11520 else
11521 result=no
11522 fi
11523 else
11524 result=$wxUSE_ODCOMBOBOX
11525 fi
11526
11527 { echo "$as_me:$LINENO: result: $result" >&5
11528 echo "${ECHO_T}$result" >&6; }
11529
11530
11531 enablestring=
11532 defaultval=$wxUSE_ALL_FEATURES
11533 if test -z "$defaultval"; then
11534 if test x"$enablestring" = xdisable; then
11535 defaultval=yes
11536 else
11537 defaultval=no
11538 fi
11539 fi
11540
11541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11542 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11543 # Check whether --enable-popupwin was given.
11544 if test "${enable_popupwin+set}" = set; then
11545 enableval=$enable_popupwin;
11546 if test "$enableval" = yes; then
11547 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11548 else
11549 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11550 fi
11551
11552 else
11553
11554 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11555
11556 fi
11557
11558
11559 eval "$wx_cv_use_popupwin"
11560
11561 if test x"$enablestring" = xdisable; then
11562 if test $wxUSE_POPUPWIN = no; then
11563 result=yes
11564 else
11565 result=no
11566 fi
11567 else
11568 result=$wxUSE_POPUPWIN
11569 fi
11570
11571 { echo "$as_me:$LINENO: result: $result" >&5
11572 echo "${ECHO_T}$result" >&6; }
11573
11574
11575 enablestring=
11576 defaultval=$wxUSE_ALL_FEATURES
11577 if test -z "$defaultval"; then
11578 if test x"$enablestring" = xdisable; then
11579 defaultval=yes
11580 else
11581 defaultval=no
11582 fi
11583 fi
11584
11585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11586 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11587 # Check whether --enable-radiobox was given.
11588 if test "${enable_radiobox+set}" = set; then
11589 enableval=$enable_radiobox;
11590 if test "$enableval" = yes; then
11591 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11592 else
11593 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11594 fi
11595
11596 else
11597
11598 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11599
11600 fi
11601
11602
11603 eval "$wx_cv_use_radiobox"
11604
11605 if test x"$enablestring" = xdisable; then
11606 if test $wxUSE_RADIOBOX = no; then
11607 result=yes
11608 else
11609 result=no
11610 fi
11611 else
11612 result=$wxUSE_RADIOBOX
11613 fi
11614
11615 { echo "$as_me:$LINENO: result: $result" >&5
11616 echo "${ECHO_T}$result" >&6; }
11617
11618
11619 enablestring=
11620 defaultval=$wxUSE_ALL_FEATURES
11621 if test -z "$defaultval"; then
11622 if test x"$enablestring" = xdisable; then
11623 defaultval=yes
11624 else
11625 defaultval=no
11626 fi
11627 fi
11628
11629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11630 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11631 # Check whether --enable-radiobtn was given.
11632 if test "${enable_radiobtn+set}" = set; then
11633 enableval=$enable_radiobtn;
11634 if test "$enableval" = yes; then
11635 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11636 else
11637 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11638 fi
11639
11640 else
11641
11642 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11643
11644 fi
11645
11646
11647 eval "$wx_cv_use_radiobtn"
11648
11649 if test x"$enablestring" = xdisable; then
11650 if test $wxUSE_RADIOBTN = no; then
11651 result=yes
11652 else
11653 result=no
11654 fi
11655 else
11656 result=$wxUSE_RADIOBTN
11657 fi
11658
11659 { echo "$as_me:$LINENO: result: $result" >&5
11660 echo "${ECHO_T}$result" >&6; }
11661
11662
11663 enablestring=
11664 defaultval=$wxUSE_ALL_FEATURES
11665 if test -z "$defaultval"; then
11666 if test x"$enablestring" = xdisable; then
11667 defaultval=yes
11668 else
11669 defaultval=no
11670 fi
11671 fi
11672
11673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11674 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11675 # Check whether --enable-richmsgdlg was given.
11676 if test "${enable_richmsgdlg+set}" = set; then
11677 enableval=$enable_richmsgdlg;
11678 if test "$enableval" = yes; then
11679 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11680 else
11681 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11682 fi
11683
11684 else
11685
11686 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11687
11688 fi
11689
11690
11691 eval "$wx_cv_use_richmsgdlg"
11692
11693 if test x"$enablestring" = xdisable; then
11694 if test $wxUSE_RICHMSGDLG = no; then
11695 result=yes
11696 else
11697 result=no
11698 fi
11699 else
11700 result=$wxUSE_RICHMSGDLG
11701 fi
11702
11703 { echo "$as_me:$LINENO: result: $result" >&5
11704 echo "${ECHO_T}$result" >&6; }
11705
11706
11707 enablestring=
11708 defaultval=$wxUSE_ALL_FEATURES
11709 if test -z "$defaultval"; then
11710 if test x"$enablestring" = xdisable; then
11711 defaultval=yes
11712 else
11713 defaultval=no
11714 fi
11715 fi
11716
11717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11718 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11719 # Check whether --enable-rearrangectrl was given.
11720 if test "${enable_rearrangectrl+set}" = set; then
11721 enableval=$enable_rearrangectrl;
11722 if test "$enableval" = yes; then
11723 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11724 else
11725 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11726 fi
11727
11728 else
11729
11730 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11731
11732 fi
11733
11734
11735 eval "$wx_cv_use_rearrangectrl"
11736
11737 if test x"$enablestring" = xdisable; then
11738 if test $wxUSE_REARRANGECTRL = no; then
11739 result=yes
11740 else
11741 result=no
11742 fi
11743 else
11744 result=$wxUSE_REARRANGECTRL
11745 fi
11746
11747 { echo "$as_me:$LINENO: result: $result" >&5
11748 echo "${ECHO_T}$result" >&6; }
11749
11750
11751 enablestring=
11752 defaultval=$wxUSE_ALL_FEATURES
11753 if test -z "$defaultval"; then
11754 if test x"$enablestring" = xdisable; then
11755 defaultval=yes
11756 else
11757 defaultval=no
11758 fi
11759 fi
11760
11761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11762 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11763 # Check whether --enable-sash was given.
11764 if test "${enable_sash+set}" = set; then
11765 enableval=$enable_sash;
11766 if test "$enableval" = yes; then
11767 wx_cv_use_sash='wxUSE_SASH=yes'
11768 else
11769 wx_cv_use_sash='wxUSE_SASH=no'
11770 fi
11771
11772 else
11773
11774 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11775
11776 fi
11777
11778
11779 eval "$wx_cv_use_sash"
11780
11781 if test x"$enablestring" = xdisable; then
11782 if test $wxUSE_SASH = no; then
11783 result=yes
11784 else
11785 result=no
11786 fi
11787 else
11788 result=$wxUSE_SASH
11789 fi
11790
11791 { echo "$as_me:$LINENO: result: $result" >&5
11792 echo "${ECHO_T}$result" >&6; }
11793
11794
11795 enablestring=
11796 defaultval=$wxUSE_ALL_FEATURES
11797 if test -z "$defaultval"; then
11798 if test x"$enablestring" = xdisable; then
11799 defaultval=yes
11800 else
11801 defaultval=no
11802 fi
11803 fi
11804
11805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11806 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11807 # Check whether --enable-scrollbar was given.
11808 if test "${enable_scrollbar+set}" = set; then
11809 enableval=$enable_scrollbar;
11810 if test "$enableval" = yes; then
11811 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11812 else
11813 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11814 fi
11815
11816 else
11817
11818 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11819
11820 fi
11821
11822
11823 eval "$wx_cv_use_scrollbar"
11824
11825 if test x"$enablestring" = xdisable; then
11826 if test $wxUSE_SCROLLBAR = no; then
11827 result=yes
11828 else
11829 result=no
11830 fi
11831 else
11832 result=$wxUSE_SCROLLBAR
11833 fi
11834
11835 { echo "$as_me:$LINENO: result: $result" >&5
11836 echo "${ECHO_T}$result" >&6; }
11837
11838
11839 enablestring=
11840 defaultval=$wxUSE_ALL_FEATURES
11841 if test -z "$defaultval"; then
11842 if test x"$enablestring" = xdisable; then
11843 defaultval=yes
11844 else
11845 defaultval=no
11846 fi
11847 fi
11848
11849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11850 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11851 # Check whether --enable-searchctrl was given.
11852 if test "${enable_searchctrl+set}" = set; then
11853 enableval=$enable_searchctrl;
11854 if test "$enableval" = yes; then
11855 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11856 else
11857 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11858 fi
11859
11860 else
11861
11862 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11863
11864 fi
11865
11866
11867 eval "$wx_cv_use_searchctrl"
11868
11869 if test x"$enablestring" = xdisable; then
11870 if test $wxUSE_SEARCHCTRL = no; then
11871 result=yes
11872 else
11873 result=no
11874 fi
11875 else
11876 result=$wxUSE_SEARCHCTRL
11877 fi
11878
11879 { echo "$as_me:$LINENO: result: $result" >&5
11880 echo "${ECHO_T}$result" >&6; }
11881
11882
11883 enablestring=
11884 defaultval=$wxUSE_ALL_FEATURES
11885 if test -z "$defaultval"; then
11886 if test x"$enablestring" = xdisable; then
11887 defaultval=yes
11888 else
11889 defaultval=no
11890 fi
11891 fi
11892
11893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11894 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11895 # Check whether --enable-slider was given.
11896 if test "${enable_slider+set}" = set; then
11897 enableval=$enable_slider;
11898 if test "$enableval" = yes; then
11899 wx_cv_use_slider='wxUSE_SLIDER=yes'
11900 else
11901 wx_cv_use_slider='wxUSE_SLIDER=no'
11902 fi
11903
11904 else
11905
11906 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11907
11908 fi
11909
11910
11911 eval "$wx_cv_use_slider"
11912
11913 if test x"$enablestring" = xdisable; then
11914 if test $wxUSE_SLIDER = no; then
11915 result=yes
11916 else
11917 result=no
11918 fi
11919 else
11920 result=$wxUSE_SLIDER
11921 fi
11922
11923 { echo "$as_me:$LINENO: result: $result" >&5
11924 echo "${ECHO_T}$result" >&6; }
11925
11926
11927 enablestring=
11928 defaultval=$wxUSE_ALL_FEATURES
11929 if test -z "$defaultval"; then
11930 if test x"$enablestring" = xdisable; then
11931 defaultval=yes
11932 else
11933 defaultval=no
11934 fi
11935 fi
11936
11937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11938 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11939 # Check whether --enable-spinbtn was given.
11940 if test "${enable_spinbtn+set}" = set; then
11941 enableval=$enable_spinbtn;
11942 if test "$enableval" = yes; then
11943 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11944 else
11945 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11946 fi
11947
11948 else
11949
11950 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11951
11952 fi
11953
11954
11955 eval "$wx_cv_use_spinbtn"
11956
11957 if test x"$enablestring" = xdisable; then
11958 if test $wxUSE_SPINBTN = no; then
11959 result=yes
11960 else
11961 result=no
11962 fi
11963 else
11964 result=$wxUSE_SPINBTN
11965 fi
11966
11967 { echo "$as_me:$LINENO: result: $result" >&5
11968 echo "${ECHO_T}$result" >&6; }
11969
11970
11971 enablestring=
11972 defaultval=$wxUSE_ALL_FEATURES
11973 if test -z "$defaultval"; then
11974 if test x"$enablestring" = xdisable; then
11975 defaultval=yes
11976 else
11977 defaultval=no
11978 fi
11979 fi
11980
11981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11982 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11983 # Check whether --enable-spinctrl was given.
11984 if test "${enable_spinctrl+set}" = set; then
11985 enableval=$enable_spinctrl;
11986 if test "$enableval" = yes; then
11987 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11988 else
11989 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11990 fi
11991
11992 else
11993
11994 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11995
11996 fi
11997
11998
11999 eval "$wx_cv_use_spinctrl"
12000
12001 if test x"$enablestring" = xdisable; then
12002 if test $wxUSE_SPINCTRL = no; then
12003 result=yes
12004 else
12005 result=no
12006 fi
12007 else
12008 result=$wxUSE_SPINCTRL
12009 fi
12010
12011 { echo "$as_me:$LINENO: result: $result" >&5
12012 echo "${ECHO_T}$result" >&6; }
12013
12014
12015 enablestring=
12016 defaultval=$wxUSE_ALL_FEATURES
12017 if test -z "$defaultval"; then
12018 if test x"$enablestring" = xdisable; then
12019 defaultval=yes
12020 else
12021 defaultval=no
12022 fi
12023 fi
12024
12025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12026 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12027 # Check whether --enable-splitter was given.
12028 if test "${enable_splitter+set}" = set; then
12029 enableval=$enable_splitter;
12030 if test "$enableval" = yes; then
12031 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12032 else
12033 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12034 fi
12035
12036 else
12037
12038 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12039
12040 fi
12041
12042
12043 eval "$wx_cv_use_splitter"
12044
12045 if test x"$enablestring" = xdisable; then
12046 if test $wxUSE_SPLITTER = no; then
12047 result=yes
12048 else
12049 result=no
12050 fi
12051 else
12052 result=$wxUSE_SPLITTER
12053 fi
12054
12055 { echo "$as_me:$LINENO: result: $result" >&5
12056 echo "${ECHO_T}$result" >&6; }
12057
12058
12059 enablestring=
12060 defaultval=$wxUSE_ALL_FEATURES
12061 if test -z "$defaultval"; then
12062 if test x"$enablestring" = xdisable; then
12063 defaultval=yes
12064 else
12065 defaultval=no
12066 fi
12067 fi
12068
12069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12070 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12071 # Check whether --enable-statbmp was given.
12072 if test "${enable_statbmp+set}" = set; then
12073 enableval=$enable_statbmp;
12074 if test "$enableval" = yes; then
12075 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12076 else
12077 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12078 fi
12079
12080 else
12081
12082 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12083
12084 fi
12085
12086
12087 eval "$wx_cv_use_statbmp"
12088
12089 if test x"$enablestring" = xdisable; then
12090 if test $wxUSE_STATBMP = no; then
12091 result=yes
12092 else
12093 result=no
12094 fi
12095 else
12096 result=$wxUSE_STATBMP
12097 fi
12098
12099 { echo "$as_me:$LINENO: result: $result" >&5
12100 echo "${ECHO_T}$result" >&6; }
12101
12102
12103 enablestring=
12104 defaultval=$wxUSE_ALL_FEATURES
12105 if test -z "$defaultval"; then
12106 if test x"$enablestring" = xdisable; then
12107 defaultval=yes
12108 else
12109 defaultval=no
12110 fi
12111 fi
12112
12113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12114 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12115 # Check whether --enable-statbox was given.
12116 if test "${enable_statbox+set}" = set; then
12117 enableval=$enable_statbox;
12118 if test "$enableval" = yes; then
12119 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12120 else
12121 wx_cv_use_statbox='wxUSE_STATBOX=no'
12122 fi
12123
12124 else
12125
12126 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12127
12128 fi
12129
12130
12131 eval "$wx_cv_use_statbox"
12132
12133 if test x"$enablestring" = xdisable; then
12134 if test $wxUSE_STATBOX = no; then
12135 result=yes
12136 else
12137 result=no
12138 fi
12139 else
12140 result=$wxUSE_STATBOX
12141 fi
12142
12143 { echo "$as_me:$LINENO: result: $result" >&5
12144 echo "${ECHO_T}$result" >&6; }
12145
12146
12147 enablestring=
12148 defaultval=$wxUSE_ALL_FEATURES
12149 if test -z "$defaultval"; then
12150 if test x"$enablestring" = xdisable; then
12151 defaultval=yes
12152 else
12153 defaultval=no
12154 fi
12155 fi
12156
12157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12158 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12159 # Check whether --enable-statline was given.
12160 if test "${enable_statline+set}" = set; then
12161 enableval=$enable_statline;
12162 if test "$enableval" = yes; then
12163 wx_cv_use_statline='wxUSE_STATLINE=yes'
12164 else
12165 wx_cv_use_statline='wxUSE_STATLINE=no'
12166 fi
12167
12168 else
12169
12170 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12171
12172 fi
12173
12174
12175 eval "$wx_cv_use_statline"
12176
12177 if test x"$enablestring" = xdisable; then
12178 if test $wxUSE_STATLINE = no; then
12179 result=yes
12180 else
12181 result=no
12182 fi
12183 else
12184 result=$wxUSE_STATLINE
12185 fi
12186
12187 { echo "$as_me:$LINENO: result: $result" >&5
12188 echo "${ECHO_T}$result" >&6; }
12189
12190
12191 enablestring=
12192 defaultval=$wxUSE_ALL_FEATURES
12193 if test -z "$defaultval"; then
12194 if test x"$enablestring" = xdisable; then
12195 defaultval=yes
12196 else
12197 defaultval=no
12198 fi
12199 fi
12200
12201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12202 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12203 # Check whether --enable-stattext was given.
12204 if test "${enable_stattext+set}" = set; then
12205 enableval=$enable_stattext;
12206 if test "$enableval" = yes; then
12207 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12208 else
12209 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12210 fi
12211
12212 else
12213
12214 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12215
12216 fi
12217
12218
12219 eval "$wx_cv_use_stattext"
12220
12221 if test x"$enablestring" = xdisable; then
12222 if test $wxUSE_STATTEXT = no; then
12223 result=yes
12224 else
12225 result=no
12226 fi
12227 else
12228 result=$wxUSE_STATTEXT
12229 fi
12230
12231 { echo "$as_me:$LINENO: result: $result" >&5
12232 echo "${ECHO_T}$result" >&6; }
12233
12234
12235 enablestring=
12236 defaultval=$wxUSE_ALL_FEATURES
12237 if test -z "$defaultval"; then
12238 if test x"$enablestring" = xdisable; then
12239 defaultval=yes
12240 else
12241 defaultval=no
12242 fi
12243 fi
12244
12245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12246 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12247 # Check whether --enable-statusbar was given.
12248 if test "${enable_statusbar+set}" = set; then
12249 enableval=$enable_statusbar;
12250 if test "$enableval" = yes; then
12251 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12252 else
12253 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12254 fi
12255
12256 else
12257
12258 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12259
12260 fi
12261
12262
12263 eval "$wx_cv_use_statusbar"
12264
12265 if test x"$enablestring" = xdisable; then
12266 if test $wxUSE_STATUSBAR = no; then
12267 result=yes
12268 else
12269 result=no
12270 fi
12271 else
12272 result=$wxUSE_STATUSBAR
12273 fi
12274
12275 { echo "$as_me:$LINENO: result: $result" >&5
12276 echo "${ECHO_T}$result" >&6; }
12277
12278
12279 enablestring=
12280 defaultval=$wxUSE_ALL_FEATURES
12281 if test -z "$defaultval"; then
12282 if test x"$enablestring" = xdisable; then
12283 defaultval=yes
12284 else
12285 defaultval=no
12286 fi
12287 fi
12288
12289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12290 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12291 # Check whether --enable-taskbaricon was given.
12292 if test "${enable_taskbaricon+set}" = set; then
12293 enableval=$enable_taskbaricon;
12294 if test "$enableval" = yes; then
12295 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12296 else
12297 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12298 fi
12299
12300 else
12301
12302 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12303
12304 fi
12305
12306
12307 eval "$wx_cv_use_taskbaricon"
12308
12309 if test x"$enablestring" = xdisable; then
12310 if test $wxUSE_TASKBARICON = no; then
12311 result=yes
12312 else
12313 result=no
12314 fi
12315 else
12316 result=$wxUSE_TASKBARICON
12317 fi
12318
12319 { echo "$as_me:$LINENO: result: $result" >&5
12320 echo "${ECHO_T}$result" >&6; }
12321
12322
12323 enablestring=
12324 defaultval=$wxUSE_ALL_FEATURES
12325 if test -z "$defaultval"; then
12326 if test x"$enablestring" = xdisable; then
12327 defaultval=yes
12328 else
12329 defaultval=no
12330 fi
12331 fi
12332
12333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12334 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12335 # Check whether --enable-tbarnative was given.
12336 if test "${enable_tbarnative+set}" = set; then
12337 enableval=$enable_tbarnative;
12338 if test "$enableval" = yes; then
12339 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12340 else
12341 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12342 fi
12343
12344 else
12345
12346 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12347
12348 fi
12349
12350
12351 eval "$wx_cv_use_tbarnative"
12352
12353 if test x"$enablestring" = xdisable; then
12354 if test $wxUSE_TOOLBAR_NATIVE = no; then
12355 result=yes
12356 else
12357 result=no
12358 fi
12359 else
12360 result=$wxUSE_TOOLBAR_NATIVE
12361 fi
12362
12363 { echo "$as_me:$LINENO: result: $result" >&5
12364 echo "${ECHO_T}$result" >&6; }
12365
12366
12367 enablestring=
12368 defaultval=$wxUSE_ALL_FEATURES
12369 if test -z "$defaultval"; then
12370 if test x"$enablestring" = xdisable; then
12371 defaultval=yes
12372 else
12373 defaultval=no
12374 fi
12375 fi
12376
12377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12378 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12379 # Check whether --enable-textctrl was given.
12380 if test "${enable_textctrl+set}" = set; then
12381 enableval=$enable_textctrl;
12382 if test "$enableval" = yes; then
12383 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12384 else
12385 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12386 fi
12387
12388 else
12389
12390 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12391
12392 fi
12393
12394
12395 eval "$wx_cv_use_textctrl"
12396
12397 if test x"$enablestring" = xdisable; then
12398 if test $wxUSE_TEXTCTRL = no; then
12399 result=yes
12400 else
12401 result=no
12402 fi
12403 else
12404 result=$wxUSE_TEXTCTRL
12405 fi
12406
12407 { echo "$as_me:$LINENO: result: $result" >&5
12408 echo "${ECHO_T}$result" >&6; }
12409
12410
12411 enablestring=
12412 defaultval=$wxUSE_ALL_FEATURES
12413 if test -z "$defaultval"; then
12414 if test x"$enablestring" = xdisable; then
12415 defaultval=yes
12416 else
12417 defaultval=no
12418 fi
12419 fi
12420
12421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12422 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12423 # Check whether --enable-tipwindow was given.
12424 if test "${enable_tipwindow+set}" = set; then
12425 enableval=$enable_tipwindow;
12426 if test "$enableval" = yes; then
12427 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12428 else
12429 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12430 fi
12431
12432 else
12433
12434 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12435
12436 fi
12437
12438
12439 eval "$wx_cv_use_tipwindow"
12440
12441 if test x"$enablestring" = xdisable; then
12442 if test $wxUSE_TIPWINDOW = no; then
12443 result=yes
12444 else
12445 result=no
12446 fi
12447 else
12448 result=$wxUSE_TIPWINDOW
12449 fi
12450
12451 { echo "$as_me:$LINENO: result: $result" >&5
12452 echo "${ECHO_T}$result" >&6; }
12453
12454
12455 enablestring=
12456 defaultval=$wxUSE_ALL_FEATURES
12457 if test -z "$defaultval"; then
12458 if test x"$enablestring" = xdisable; then
12459 defaultval=yes
12460 else
12461 defaultval=no
12462 fi
12463 fi
12464
12465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12466 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12467 # Check whether --enable-togglebtn was given.
12468 if test "${enable_togglebtn+set}" = set; then
12469 enableval=$enable_togglebtn;
12470 if test "$enableval" = yes; then
12471 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12472 else
12473 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12474 fi
12475
12476 else
12477
12478 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12479
12480 fi
12481
12482
12483 eval "$wx_cv_use_togglebtn"
12484
12485 if test x"$enablestring" = xdisable; then
12486 if test $wxUSE_TOGGLEBTN = no; then
12487 result=yes
12488 else
12489 result=no
12490 fi
12491 else
12492 result=$wxUSE_TOGGLEBTN
12493 fi
12494
12495 { echo "$as_me:$LINENO: result: $result" >&5
12496 echo "${ECHO_T}$result" >&6; }
12497
12498
12499 enablestring=
12500 defaultval=$wxUSE_ALL_FEATURES
12501 if test -z "$defaultval"; then
12502 if test x"$enablestring" = xdisable; then
12503 defaultval=yes
12504 else
12505 defaultval=no
12506 fi
12507 fi
12508
12509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12510 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12511 # Check whether --enable-toolbar was given.
12512 if test "${enable_toolbar+set}" = set; then
12513 enableval=$enable_toolbar;
12514 if test "$enableval" = yes; then
12515 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12516 else
12517 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12518 fi
12519
12520 else
12521
12522 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12523
12524 fi
12525
12526
12527 eval "$wx_cv_use_toolbar"
12528
12529 if test x"$enablestring" = xdisable; then
12530 if test $wxUSE_TOOLBAR = no; then
12531 result=yes
12532 else
12533 result=no
12534 fi
12535 else
12536 result=$wxUSE_TOOLBAR
12537 fi
12538
12539 { echo "$as_me:$LINENO: result: $result" >&5
12540 echo "${ECHO_T}$result" >&6; }
12541
12542
12543 enablestring=
12544 defaultval=$wxUSE_ALL_FEATURES
12545 if test -z "$defaultval"; then
12546 if test x"$enablestring" = xdisable; then
12547 defaultval=yes
12548 else
12549 defaultval=no
12550 fi
12551 fi
12552
12553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12554 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12555 # Check whether --enable-toolbook was given.
12556 if test "${enable_toolbook+set}" = set; then
12557 enableval=$enable_toolbook;
12558 if test "$enableval" = yes; then
12559 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12560 else
12561 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12562 fi
12563
12564 else
12565
12566 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12567
12568 fi
12569
12570
12571 eval "$wx_cv_use_toolbook"
12572
12573 if test x"$enablestring" = xdisable; then
12574 if test $wxUSE_TOOLBOOK = no; then
12575 result=yes
12576 else
12577 result=no
12578 fi
12579 else
12580 result=$wxUSE_TOOLBOOK
12581 fi
12582
12583 { echo "$as_me:$LINENO: result: $result" >&5
12584 echo "${ECHO_T}$result" >&6; }
12585
12586
12587 enablestring=
12588 defaultval=$wxUSE_ALL_FEATURES
12589 if test -z "$defaultval"; then
12590 if test x"$enablestring" = xdisable; then
12591 defaultval=yes
12592 else
12593 defaultval=no
12594 fi
12595 fi
12596
12597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12598 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12599 # Check whether --enable-treebook was given.
12600 if test "${enable_treebook+set}" = set; then
12601 enableval=$enable_treebook;
12602 if test "$enableval" = yes; then
12603 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12604 else
12605 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12606 fi
12607
12608 else
12609
12610 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12611
12612 fi
12613
12614
12615 eval "$wx_cv_use_treebook"
12616
12617 if test x"$enablestring" = xdisable; then
12618 if test $wxUSE_TREEBOOK = no; then
12619 result=yes
12620 else
12621 result=no
12622 fi
12623 else
12624 result=$wxUSE_TREEBOOK
12625 fi
12626
12627 { echo "$as_me:$LINENO: result: $result" >&5
12628 echo "${ECHO_T}$result" >&6; }
12629
12630
12631 enablestring=
12632 defaultval=$wxUSE_ALL_FEATURES
12633 if test -z "$defaultval"; then
12634 if test x"$enablestring" = xdisable; then
12635 defaultval=yes
12636 else
12637 defaultval=no
12638 fi
12639 fi
12640
12641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12642 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12643 # Check whether --enable-treectrl was given.
12644 if test "${enable_treectrl+set}" = set; then
12645 enableval=$enable_treectrl;
12646 if test "$enableval" = yes; then
12647 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12648 else
12649 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12650 fi
12651
12652 else
12653
12654 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12655
12656 fi
12657
12658
12659 eval "$wx_cv_use_treectrl"
12660
12661 if test x"$enablestring" = xdisable; then
12662 if test $wxUSE_TREECTRL = no; then
12663 result=yes
12664 else
12665 result=no
12666 fi
12667 else
12668 result=$wxUSE_TREECTRL
12669 fi
12670
12671 { echo "$as_me:$LINENO: result: $result" >&5
12672 echo "${ECHO_T}$result" >&6; }
12673
12674
12675
12676
12677 enablestring=
12678 defaultval=$wxUSE_ALL_FEATURES
12679 if test -z "$defaultval"; then
12680 if test x"$enablestring" = xdisable; then
12681 defaultval=yes
12682 else
12683 defaultval=no
12684 fi
12685 fi
12686
12687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12688 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12689 # Check whether --enable-commondlg was given.
12690 if test "${enable_commondlg+set}" = set; then
12691 enableval=$enable_commondlg;
12692 if test "$enableval" = yes; then
12693 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12694 else
12695 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12696 fi
12697
12698 else
12699
12700 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12701
12702 fi
12703
12704
12705 eval "$wx_cv_use_commondlg"
12706
12707 if test x"$enablestring" = xdisable; then
12708 if test $wxUSE_COMMONDLGS = no; then
12709 result=yes
12710 else
12711 result=no
12712 fi
12713 else
12714 result=$wxUSE_COMMONDLGS
12715 fi
12716
12717 { echo "$as_me:$LINENO: result: $result" >&5
12718 echo "${ECHO_T}$result" >&6; }
12719
12720
12721 enablestring=
12722 defaultval=$wxUSE_ALL_FEATURES
12723 if test -z "$defaultval"; then
12724 if test x"$enablestring" = xdisable; then
12725 defaultval=yes
12726 else
12727 defaultval=no
12728 fi
12729 fi
12730
12731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12732 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12733 # Check whether --enable-aboutdlg was given.
12734 if test "${enable_aboutdlg+set}" = set; then
12735 enableval=$enable_aboutdlg;
12736 if test "$enableval" = yes; then
12737 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12738 else
12739 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12740 fi
12741
12742 else
12743
12744 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12745
12746 fi
12747
12748
12749 eval "$wx_cv_use_aboutdlg"
12750
12751 if test x"$enablestring" = xdisable; then
12752 if test $wxUSE_ABOUTDLG = no; then
12753 result=yes
12754 else
12755 result=no
12756 fi
12757 else
12758 result=$wxUSE_ABOUTDLG
12759 fi
12760
12761 { echo "$as_me:$LINENO: result: $result" >&5
12762 echo "${ECHO_T}$result" >&6; }
12763
12764
12765 enablestring=
12766 defaultval=$wxUSE_ALL_FEATURES
12767 if test -z "$defaultval"; then
12768 if test x"$enablestring" = xdisable; then
12769 defaultval=yes
12770 else
12771 defaultval=no
12772 fi
12773 fi
12774
12775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12776 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12777 # Check whether --enable-choicedlg was given.
12778 if test "${enable_choicedlg+set}" = set; then
12779 enableval=$enable_choicedlg;
12780 if test "$enableval" = yes; then
12781 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12782 else
12783 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12784 fi
12785
12786 else
12787
12788 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12789
12790 fi
12791
12792
12793 eval "$wx_cv_use_choicedlg"
12794
12795 if test x"$enablestring" = xdisable; then
12796 if test $wxUSE_CHOICEDLG = no; then
12797 result=yes
12798 else
12799 result=no
12800 fi
12801 else
12802 result=$wxUSE_CHOICEDLG
12803 fi
12804
12805 { echo "$as_me:$LINENO: result: $result" >&5
12806 echo "${ECHO_T}$result" >&6; }
12807
12808
12809 enablestring=
12810 defaultval=$wxUSE_ALL_FEATURES
12811 if test -z "$defaultval"; then
12812 if test x"$enablestring" = xdisable; then
12813 defaultval=yes
12814 else
12815 defaultval=no
12816 fi
12817 fi
12818
12819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12820 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12821 # Check whether --enable-coldlg was given.
12822 if test "${enable_coldlg+set}" = set; then
12823 enableval=$enable_coldlg;
12824 if test "$enableval" = yes; then
12825 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12826 else
12827 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12828 fi
12829
12830 else
12831
12832 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12833
12834 fi
12835
12836
12837 eval "$wx_cv_use_coldlg"
12838
12839 if test x"$enablestring" = xdisable; then
12840 if test $wxUSE_COLOURDLG = no; then
12841 result=yes
12842 else
12843 result=no
12844 fi
12845 else
12846 result=$wxUSE_COLOURDLG
12847 fi
12848
12849 { echo "$as_me:$LINENO: result: $result" >&5
12850 echo "${ECHO_T}$result" >&6; }
12851
12852
12853 enablestring=
12854 defaultval=$wxUSE_ALL_FEATURES
12855 if test -z "$defaultval"; then
12856 if test x"$enablestring" = xdisable; then
12857 defaultval=yes
12858 else
12859 defaultval=no
12860 fi
12861 fi
12862
12863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12864 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12865 # Check whether --enable-filedlg was given.
12866 if test "${enable_filedlg+set}" = set; then
12867 enableval=$enable_filedlg;
12868 if test "$enableval" = yes; then
12869 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12870 else
12871 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12872 fi
12873
12874 else
12875
12876 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12877
12878 fi
12879
12880
12881 eval "$wx_cv_use_filedlg"
12882
12883 if test x"$enablestring" = xdisable; then
12884 if test $wxUSE_FILEDLG = no; then
12885 result=yes
12886 else
12887 result=no
12888 fi
12889 else
12890 result=$wxUSE_FILEDLG
12891 fi
12892
12893 { echo "$as_me:$LINENO: result: $result" >&5
12894 echo "${ECHO_T}$result" >&6; }
12895
12896
12897 enablestring=
12898 defaultval=$wxUSE_ALL_FEATURES
12899 if test -z "$defaultval"; then
12900 if test x"$enablestring" = xdisable; then
12901 defaultval=yes
12902 else
12903 defaultval=no
12904 fi
12905 fi
12906
12907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12908 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12909 # Check whether --enable-finddlg was given.
12910 if test "${enable_finddlg+set}" = set; then
12911 enableval=$enable_finddlg;
12912 if test "$enableval" = yes; then
12913 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12914 else
12915 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12916 fi
12917
12918 else
12919
12920 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12921
12922 fi
12923
12924
12925 eval "$wx_cv_use_finddlg"
12926
12927 if test x"$enablestring" = xdisable; then
12928 if test $wxUSE_FINDREPLDLG = no; then
12929 result=yes
12930 else
12931 result=no
12932 fi
12933 else
12934 result=$wxUSE_FINDREPLDLG
12935 fi
12936
12937 { echo "$as_me:$LINENO: result: $result" >&5
12938 echo "${ECHO_T}$result" >&6; }
12939
12940
12941 enablestring=
12942 defaultval=$wxUSE_ALL_FEATURES
12943 if test -z "$defaultval"; then
12944 if test x"$enablestring" = xdisable; then
12945 defaultval=yes
12946 else
12947 defaultval=no
12948 fi
12949 fi
12950
12951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12952 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12953 # Check whether --enable-fontdlg was given.
12954 if test "${enable_fontdlg+set}" = set; then
12955 enableval=$enable_fontdlg;
12956 if test "$enableval" = yes; then
12957 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12958 else
12959 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12960 fi
12961
12962 else
12963
12964 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12965
12966 fi
12967
12968
12969 eval "$wx_cv_use_fontdlg"
12970
12971 if test x"$enablestring" = xdisable; then
12972 if test $wxUSE_FONTDLG = no; then
12973 result=yes
12974 else
12975 result=no
12976 fi
12977 else
12978 result=$wxUSE_FONTDLG
12979 fi
12980
12981 { echo "$as_me:$LINENO: result: $result" >&5
12982 echo "${ECHO_T}$result" >&6; }
12983
12984
12985 enablestring=
12986 defaultval=$wxUSE_ALL_FEATURES
12987 if test -z "$defaultval"; then
12988 if test x"$enablestring" = xdisable; then
12989 defaultval=yes
12990 else
12991 defaultval=no
12992 fi
12993 fi
12994
12995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12996 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12997 # Check whether --enable-dirdlg was given.
12998 if test "${enable_dirdlg+set}" = set; then
12999 enableval=$enable_dirdlg;
13000 if test "$enableval" = yes; then
13001 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13002 else
13003 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13004 fi
13005
13006 else
13007
13008 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13009
13010 fi
13011
13012
13013 eval "$wx_cv_use_dirdlg"
13014
13015 if test x"$enablestring" = xdisable; then
13016 if test $wxUSE_DIRDLG = no; then
13017 result=yes
13018 else
13019 result=no
13020 fi
13021 else
13022 result=$wxUSE_DIRDLG
13023 fi
13024
13025 { echo "$as_me:$LINENO: result: $result" >&5
13026 echo "${ECHO_T}$result" >&6; }
13027
13028
13029 enablestring=
13030 defaultval=$wxUSE_ALL_FEATURES
13031 if test -z "$defaultval"; then
13032 if test x"$enablestring" = xdisable; then
13033 defaultval=yes
13034 else
13035 defaultval=no
13036 fi
13037 fi
13038
13039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13040 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13041 # Check whether --enable-msgdlg was given.
13042 if test "${enable_msgdlg+set}" = set; then
13043 enableval=$enable_msgdlg;
13044 if test "$enableval" = yes; then
13045 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13046 else
13047 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13048 fi
13049
13050 else
13051
13052 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13053
13054 fi
13055
13056
13057 eval "$wx_cv_use_msgdlg"
13058
13059 if test x"$enablestring" = xdisable; then
13060 if test $wxUSE_MSGDLG = no; then
13061 result=yes
13062 else
13063 result=no
13064 fi
13065 else
13066 result=$wxUSE_MSGDLG
13067 fi
13068
13069 { echo "$as_me:$LINENO: result: $result" >&5
13070 echo "${ECHO_T}$result" >&6; }
13071
13072
13073 enablestring=
13074 defaultval=$wxUSE_ALL_FEATURES
13075 if test -z "$defaultval"; then
13076 if test x"$enablestring" = xdisable; then
13077 defaultval=yes
13078 else
13079 defaultval=no
13080 fi
13081 fi
13082
13083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13084 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13085 # Check whether --enable-numberdlg was given.
13086 if test "${enable_numberdlg+set}" = set; then
13087 enableval=$enable_numberdlg;
13088 if test "$enableval" = yes; then
13089 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13090 else
13091 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13092 fi
13093
13094 else
13095
13096 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13097
13098 fi
13099
13100
13101 eval "$wx_cv_use_numberdlg"
13102
13103 if test x"$enablestring" = xdisable; then
13104 if test $wxUSE_NUMBERDLG = no; then
13105 result=yes
13106 else
13107 result=no
13108 fi
13109 else
13110 result=$wxUSE_NUMBERDLG
13111 fi
13112
13113 { echo "$as_me:$LINENO: result: $result" >&5
13114 echo "${ECHO_T}$result" >&6; }
13115
13116
13117 enablestring=
13118 defaultval=$wxUSE_ALL_FEATURES
13119 if test -z "$defaultval"; then
13120 if test x"$enablestring" = xdisable; then
13121 defaultval=yes
13122 else
13123 defaultval=no
13124 fi
13125 fi
13126
13127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13128 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13129 # Check whether --enable-splash was given.
13130 if test "${enable_splash+set}" = set; then
13131 enableval=$enable_splash;
13132 if test "$enableval" = yes; then
13133 wx_cv_use_splash='wxUSE_SPLASH=yes'
13134 else
13135 wx_cv_use_splash='wxUSE_SPLASH=no'
13136 fi
13137
13138 else
13139
13140 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13141
13142 fi
13143
13144
13145 eval "$wx_cv_use_splash"
13146
13147 if test x"$enablestring" = xdisable; then
13148 if test $wxUSE_SPLASH = no; then
13149 result=yes
13150 else
13151 result=no
13152 fi
13153 else
13154 result=$wxUSE_SPLASH
13155 fi
13156
13157 { echo "$as_me:$LINENO: result: $result" >&5
13158 echo "${ECHO_T}$result" >&6; }
13159
13160
13161 enablestring=
13162 defaultval=$wxUSE_ALL_FEATURES
13163 if test -z "$defaultval"; then
13164 if test x"$enablestring" = xdisable; then
13165 defaultval=yes
13166 else
13167 defaultval=no
13168 fi
13169 fi
13170
13171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13172 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13173 # Check whether --enable-textdlg was given.
13174 if test "${enable_textdlg+set}" = set; then
13175 enableval=$enable_textdlg;
13176 if test "$enableval" = yes; then
13177 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13178 else
13179 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13180 fi
13181
13182 else
13183
13184 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13185
13186 fi
13187
13188
13189 eval "$wx_cv_use_textdlg"
13190
13191 if test x"$enablestring" = xdisable; then
13192 if test $wxUSE_TEXTDLG = no; then
13193 result=yes
13194 else
13195 result=no
13196 fi
13197 else
13198 result=$wxUSE_TEXTDLG
13199 fi
13200
13201 { echo "$as_me:$LINENO: result: $result" >&5
13202 echo "${ECHO_T}$result" >&6; }
13203
13204
13205 enablestring=
13206 defaultval=$wxUSE_ALL_FEATURES
13207 if test -z "$defaultval"; then
13208 if test x"$enablestring" = xdisable; then
13209 defaultval=yes
13210 else
13211 defaultval=no
13212 fi
13213 fi
13214
13215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13216 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13217 # Check whether --enable-tipdlg was given.
13218 if test "${enable_tipdlg+set}" = set; then
13219 enableval=$enable_tipdlg;
13220 if test "$enableval" = yes; then
13221 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13222 else
13223 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13224 fi
13225
13226 else
13227
13228 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13229
13230 fi
13231
13232
13233 eval "$wx_cv_use_tipdlg"
13234
13235 if test x"$enablestring" = xdisable; then
13236 if test $wxUSE_STARTUP_TIPS = no; then
13237 result=yes
13238 else
13239 result=no
13240 fi
13241 else
13242 result=$wxUSE_STARTUP_TIPS
13243 fi
13244
13245 { echo "$as_me:$LINENO: result: $result" >&5
13246 echo "${ECHO_T}$result" >&6; }
13247
13248
13249 enablestring=
13250 defaultval=$wxUSE_ALL_FEATURES
13251 if test -z "$defaultval"; then
13252 if test x"$enablestring" = xdisable; then
13253 defaultval=yes
13254 else
13255 defaultval=no
13256 fi
13257 fi
13258
13259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13260 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13261 # Check whether --enable-progressdlg was given.
13262 if test "${enable_progressdlg+set}" = set; then
13263 enableval=$enable_progressdlg;
13264 if test "$enableval" = yes; then
13265 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13266 else
13267 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13268 fi
13269
13270 else
13271
13272 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13273
13274 fi
13275
13276
13277 eval "$wx_cv_use_progressdlg"
13278
13279 if test x"$enablestring" = xdisable; then
13280 if test $wxUSE_PROGRESSDLG = no; then
13281 result=yes
13282 else
13283 result=no
13284 fi
13285 else
13286 result=$wxUSE_PROGRESSDLG
13287 fi
13288
13289 { echo "$as_me:$LINENO: result: $result" >&5
13290 echo "${ECHO_T}$result" >&6; }
13291
13292
13293 enablestring=
13294 defaultval=$wxUSE_ALL_FEATURES
13295 if test -z "$defaultval"; then
13296 if test x"$enablestring" = xdisable; then
13297 defaultval=yes
13298 else
13299 defaultval=no
13300 fi
13301 fi
13302
13303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13304 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13305 # Check whether --enable-wizarddlg was given.
13306 if test "${enable_wizarddlg+set}" = set; then
13307 enableval=$enable_wizarddlg;
13308 if test "$enableval" = yes; then
13309 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13310 else
13311 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13312 fi
13313
13314 else
13315
13316 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13317
13318 fi
13319
13320
13321 eval "$wx_cv_use_wizarddlg"
13322
13323 if test x"$enablestring" = xdisable; then
13324 if test $wxUSE_WIZARDDLG = no; then
13325 result=yes
13326 else
13327 result=no
13328 fi
13329 else
13330 result=$wxUSE_WIZARDDLG
13331 fi
13332
13333 { echo "$as_me:$LINENO: result: $result" >&5
13334 echo "${ECHO_T}$result" >&6; }
13335
13336
13337
13338
13339 enablestring=
13340 defaultval=$wxUSE_ALL_FEATURES
13341 if test -z "$defaultval"; then
13342 if test x"$enablestring" = xdisable; then
13343 defaultval=yes
13344 else
13345 defaultval=no
13346 fi
13347 fi
13348
13349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13350 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13351 # Check whether --enable-menus was given.
13352 if test "${enable_menus+set}" = set; then
13353 enableval=$enable_menus;
13354 if test "$enableval" = yes; then
13355 wx_cv_use_menus='wxUSE_MENUS=yes'
13356 else
13357 wx_cv_use_menus='wxUSE_MENUS=no'
13358 fi
13359
13360 else
13361
13362 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13363
13364 fi
13365
13366
13367 eval "$wx_cv_use_menus"
13368
13369 if test x"$enablestring" = xdisable; then
13370 if test $wxUSE_MENUS = no; then
13371 result=yes
13372 else
13373 result=no
13374 fi
13375 else
13376 result=$wxUSE_MENUS
13377 fi
13378
13379 { echo "$as_me:$LINENO: result: $result" >&5
13380 echo "${ECHO_T}$result" >&6; }
13381
13382
13383 enablestring=
13384 defaultval=$wxUSE_ALL_FEATURES
13385 if test -z "$defaultval"; then
13386 if test x"$enablestring" = xdisable; then
13387 defaultval=yes
13388 else
13389 defaultval=no
13390 fi
13391 fi
13392
13393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13394 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13395 # Check whether --enable-miniframe was given.
13396 if test "${enable_miniframe+set}" = set; then
13397 enableval=$enable_miniframe;
13398 if test "$enableval" = yes; then
13399 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13400 else
13401 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13402 fi
13403
13404 else
13405
13406 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13407
13408 fi
13409
13410
13411 eval "$wx_cv_use_miniframe"
13412
13413 if test x"$enablestring" = xdisable; then
13414 if test $wxUSE_MINIFRAME = no; then
13415 result=yes
13416 else
13417 result=no
13418 fi
13419 else
13420 result=$wxUSE_MINIFRAME
13421 fi
13422
13423 { echo "$as_me:$LINENO: result: $result" >&5
13424 echo "${ECHO_T}$result" >&6; }
13425
13426
13427 enablestring=
13428 defaultval=$wxUSE_ALL_FEATURES
13429 if test -z "$defaultval"; then
13430 if test x"$enablestring" = xdisable; then
13431 defaultval=yes
13432 else
13433 defaultval=no
13434 fi
13435 fi
13436
13437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13438 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13439 # Check whether --enable-tooltips was given.
13440 if test "${enable_tooltips+set}" = set; then
13441 enableval=$enable_tooltips;
13442 if test "$enableval" = yes; then
13443 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13444 else
13445 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13446 fi
13447
13448 else
13449
13450 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13451
13452 fi
13453
13454
13455 eval "$wx_cv_use_tooltips"
13456
13457 if test x"$enablestring" = xdisable; then
13458 if test $wxUSE_TOOLTIPS = no; then
13459 result=yes
13460 else
13461 result=no
13462 fi
13463 else
13464 result=$wxUSE_TOOLTIPS
13465 fi
13466
13467 { echo "$as_me:$LINENO: result: $result" >&5
13468 echo "${ECHO_T}$result" >&6; }
13469
13470
13471 enablestring=
13472 defaultval=$wxUSE_ALL_FEATURES
13473 if test -z "$defaultval"; then
13474 if test x"$enablestring" = xdisable; then
13475 defaultval=yes
13476 else
13477 defaultval=no
13478 fi
13479 fi
13480
13481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13482 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13483 # Check whether --enable-splines was given.
13484 if test "${enable_splines+set}" = set; then
13485 enableval=$enable_splines;
13486 if test "$enableval" = yes; then
13487 wx_cv_use_splines='wxUSE_SPLINES=yes'
13488 else
13489 wx_cv_use_splines='wxUSE_SPLINES=no'
13490 fi
13491
13492 else
13493
13494 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13495
13496 fi
13497
13498
13499 eval "$wx_cv_use_splines"
13500
13501 if test x"$enablestring" = xdisable; then
13502 if test $wxUSE_SPLINES = no; then
13503 result=yes
13504 else
13505 result=no
13506 fi
13507 else
13508 result=$wxUSE_SPLINES
13509 fi
13510
13511 { echo "$as_me:$LINENO: result: $result" >&5
13512 echo "${ECHO_T}$result" >&6; }
13513
13514
13515 enablestring=
13516 defaultval=$wxUSE_ALL_FEATURES
13517 if test -z "$defaultval"; then
13518 if test x"$enablestring" = xdisable; then
13519 defaultval=yes
13520 else
13521 defaultval=no
13522 fi
13523 fi
13524
13525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13526 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13527 # Check whether --enable-mousewheel was given.
13528 if test "${enable_mousewheel+set}" = set; then
13529 enableval=$enable_mousewheel;
13530 if test "$enableval" = yes; then
13531 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13532 else
13533 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13534 fi
13535
13536 else
13537
13538 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13539
13540 fi
13541
13542
13543 eval "$wx_cv_use_mousewheel"
13544
13545 if test x"$enablestring" = xdisable; then
13546 if test $wxUSE_MOUSEWHEEL = no; then
13547 result=yes
13548 else
13549 result=no
13550 fi
13551 else
13552 result=$wxUSE_MOUSEWHEEL
13553 fi
13554
13555 { echo "$as_me:$LINENO: result: $result" >&5
13556 echo "${ECHO_T}$result" >&6; }
13557
13558
13559 enablestring=
13560 defaultval=$wxUSE_ALL_FEATURES
13561 if test -z "$defaultval"; then
13562 if test x"$enablestring" = xdisable; then
13563 defaultval=yes
13564 else
13565 defaultval=no
13566 fi
13567 fi
13568
13569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13570 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13571 # Check whether --enable-validators was given.
13572 if test "${enable_validators+set}" = set; then
13573 enableval=$enable_validators;
13574 if test "$enableval" = yes; then
13575 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13576 else
13577 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13578 fi
13579
13580 else
13581
13582 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13583
13584 fi
13585
13586
13587 eval "$wx_cv_use_validators"
13588
13589 if test x"$enablestring" = xdisable; then
13590 if test $wxUSE_VALIDATORS = no; then
13591 result=yes
13592 else
13593 result=no
13594 fi
13595 else
13596 result=$wxUSE_VALIDATORS
13597 fi
13598
13599 { echo "$as_me:$LINENO: result: $result" >&5
13600 echo "${ECHO_T}$result" >&6; }
13601
13602
13603 enablestring=
13604 defaultval=$wxUSE_ALL_FEATURES
13605 if test -z "$defaultval"; then
13606 if test x"$enablestring" = xdisable; then
13607 defaultval=yes
13608 else
13609 defaultval=no
13610 fi
13611 fi
13612
13613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13614 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13615 # Check whether --enable-busyinfo was given.
13616 if test "${enable_busyinfo+set}" = set; then
13617 enableval=$enable_busyinfo;
13618 if test "$enableval" = yes; then
13619 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13620 else
13621 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13622 fi
13623
13624 else
13625
13626 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13627
13628 fi
13629
13630
13631 eval "$wx_cv_use_busyinfo"
13632
13633 if test x"$enablestring" = xdisable; then
13634 if test $wxUSE_BUSYINFO = no; then
13635 result=yes
13636 else
13637 result=no
13638 fi
13639 else
13640 result=$wxUSE_BUSYINFO
13641 fi
13642
13643 { echo "$as_me:$LINENO: result: $result" >&5
13644 echo "${ECHO_T}$result" >&6; }
13645
13646
13647 enablestring=
13648 defaultval=$wxUSE_ALL_FEATURES
13649 if test -z "$defaultval"; then
13650 if test x"$enablestring" = xdisable; then
13651 defaultval=yes
13652 else
13653 defaultval=no
13654 fi
13655 fi
13656
13657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13658 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13659 # Check whether --enable-joystick was given.
13660 if test "${enable_joystick+set}" = set; then
13661 enableval=$enable_joystick;
13662 if test "$enableval" = yes; then
13663 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13664 else
13665 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13666 fi
13667
13668 else
13669
13670 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13671
13672 fi
13673
13674
13675 eval "$wx_cv_use_joystick"
13676
13677 if test x"$enablestring" = xdisable; then
13678 if test $wxUSE_JOYSTICK = no; then
13679 result=yes
13680 else
13681 result=no
13682 fi
13683 else
13684 result=$wxUSE_JOYSTICK
13685 fi
13686
13687 { echo "$as_me:$LINENO: result: $result" >&5
13688 echo "${ECHO_T}$result" >&6; }
13689
13690
13691 enablestring=
13692 defaultval=$wxUSE_ALL_FEATURES
13693 if test -z "$defaultval"; then
13694 if test x"$enablestring" = xdisable; then
13695 defaultval=yes
13696 else
13697 defaultval=no
13698 fi
13699 fi
13700
13701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13702 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13703 # Check whether --enable-metafile was given.
13704 if test "${enable_metafile+set}" = set; then
13705 enableval=$enable_metafile;
13706 if test "$enableval" = yes; then
13707 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13708 else
13709 wx_cv_use_metafile='wxUSE_METAFILE=no'
13710 fi
13711
13712 else
13713
13714 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13715
13716 fi
13717
13718
13719 eval "$wx_cv_use_metafile"
13720
13721 if test x"$enablestring" = xdisable; then
13722 if test $wxUSE_METAFILE = no; then
13723 result=yes
13724 else
13725 result=no
13726 fi
13727 else
13728 result=$wxUSE_METAFILE
13729 fi
13730
13731 { echo "$as_me:$LINENO: result: $result" >&5
13732 echo "${ECHO_T}$result" >&6; }
13733
13734
13735 enablestring=
13736 defaultval=$wxUSE_ALL_FEATURES
13737 if test -z "$defaultval"; then
13738 if test x"$enablestring" = xdisable; then
13739 defaultval=yes
13740 else
13741 defaultval=no
13742 fi
13743 fi
13744
13745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13746 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13747 # Check whether --enable-dragimage was given.
13748 if test "${enable_dragimage+set}" = set; then
13749 enableval=$enable_dragimage;
13750 if test "$enableval" = yes; then
13751 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13752 else
13753 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13754 fi
13755
13756 else
13757
13758 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13759
13760 fi
13761
13762
13763 eval "$wx_cv_use_dragimage"
13764
13765 if test x"$enablestring" = xdisable; then
13766 if test $wxUSE_DRAGIMAGE = no; then
13767 result=yes
13768 else
13769 result=no
13770 fi
13771 else
13772 result=$wxUSE_DRAGIMAGE
13773 fi
13774
13775 { echo "$as_me:$LINENO: result: $result" >&5
13776 echo "${ECHO_T}$result" >&6; }
13777
13778
13779 enablestring=
13780 defaultval=$wxUSE_ALL_FEATURES
13781 if test -z "$defaultval"; then
13782 if test x"$enablestring" = xdisable; then
13783 defaultval=yes
13784 else
13785 defaultval=no
13786 fi
13787 fi
13788
13789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13790 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13791 # Check whether --enable-accessibility was given.
13792 if test "${enable_accessibility+set}" = set; then
13793 enableval=$enable_accessibility;
13794 if test "$enableval" = yes; then
13795 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13796 else
13797 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13798 fi
13799
13800 else
13801
13802 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13803
13804 fi
13805
13806
13807 eval "$wx_cv_use_accessibility"
13808
13809 if test x"$enablestring" = xdisable; then
13810 if test $wxUSE_ACCESSIBILITY = no; then
13811 result=yes
13812 else
13813 result=no
13814 fi
13815 else
13816 result=$wxUSE_ACCESSIBILITY
13817 fi
13818
13819 { echo "$as_me:$LINENO: result: $result" >&5
13820 echo "${ECHO_T}$result" >&6; }
13821
13822
13823 enablestring=
13824 defaultval=$wxUSE_ALL_FEATURES
13825 if test -z "$defaultval"; then
13826 if test x"$enablestring" = xdisable; then
13827 defaultval=yes
13828 else
13829 defaultval=no
13830 fi
13831 fi
13832
13833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13834 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13835 # Check whether --enable-uiactionsim was given.
13836 if test "${enable_uiactionsim+set}" = set; then
13837 enableval=$enable_uiactionsim;
13838 if test "$enableval" = yes; then
13839 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13840 else
13841 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13842 fi
13843
13844 else
13845
13846 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13847
13848 fi
13849
13850
13851 eval "$wx_cv_use_uiactionsim"
13852
13853 if test x"$enablestring" = xdisable; then
13854 if test $wxUSE_UIACTIONSIMULATOR = no; then
13855 result=yes
13856 else
13857 result=no
13858 fi
13859 else
13860 result=$wxUSE_UIACTIONSIMULATOR
13861 fi
13862
13863 { echo "$as_me:$LINENO: result: $result" >&5
13864 echo "${ECHO_T}$result" >&6; }
13865
13866
13867
13868
13869 enablestring=
13870 defaultval=$wxUSE_ALL_FEATURES
13871 if test -z "$defaultval"; then
13872 if test x"$enablestring" = xdisable; then
13873 defaultval=yes
13874 else
13875 defaultval=no
13876 fi
13877 fi
13878
13879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13880 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13881 # Check whether --enable-palette was given.
13882 if test "${enable_palette+set}" = set; then
13883 enableval=$enable_palette;
13884 if test "$enableval" = yes; then
13885 wx_cv_use_palette='wxUSE_PALETTE=yes'
13886 else
13887 wx_cv_use_palette='wxUSE_PALETTE=no'
13888 fi
13889
13890 else
13891
13892 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13893
13894 fi
13895
13896
13897 eval "$wx_cv_use_palette"
13898
13899 if test x"$enablestring" = xdisable; then
13900 if test $wxUSE_PALETTE = no; then
13901 result=yes
13902 else
13903 result=no
13904 fi
13905 else
13906 result=$wxUSE_PALETTE
13907 fi
13908
13909 { echo "$as_me:$LINENO: result: $result" >&5
13910 echo "${ECHO_T}$result" >&6; }
13911
13912
13913 enablestring=
13914 defaultval=$wxUSE_ALL_FEATURES
13915 if test -z "$defaultval"; then
13916 if test x"$enablestring" = xdisable; then
13917 defaultval=yes
13918 else
13919 defaultval=no
13920 fi
13921 fi
13922
13923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13924 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13925 # Check whether --enable-image was given.
13926 if test "${enable_image+set}" = set; then
13927 enableval=$enable_image;
13928 if test "$enableval" = yes; then
13929 wx_cv_use_image='wxUSE_IMAGE=yes'
13930 else
13931 wx_cv_use_image='wxUSE_IMAGE=no'
13932 fi
13933
13934 else
13935
13936 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13937
13938 fi
13939
13940
13941 eval "$wx_cv_use_image"
13942
13943 if test x"$enablestring" = xdisable; then
13944 if test $wxUSE_IMAGE = no; then
13945 result=yes
13946 else
13947 result=no
13948 fi
13949 else
13950 result=$wxUSE_IMAGE
13951 fi
13952
13953 { echo "$as_me:$LINENO: result: $result" >&5
13954 echo "${ECHO_T}$result" >&6; }
13955
13956
13957 enablestring=
13958 defaultval=$wxUSE_ALL_FEATURES
13959 if test -z "$defaultval"; then
13960 if test x"$enablestring" = xdisable; then
13961 defaultval=yes
13962 else
13963 defaultval=no
13964 fi
13965 fi
13966
13967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13968 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13969 # Check whether --enable-gif was given.
13970 if test "${enable_gif+set}" = set; then
13971 enableval=$enable_gif;
13972 if test "$enableval" = yes; then
13973 wx_cv_use_gif='wxUSE_GIF=yes'
13974 else
13975 wx_cv_use_gif='wxUSE_GIF=no'
13976 fi
13977
13978 else
13979
13980 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13981
13982 fi
13983
13984
13985 eval "$wx_cv_use_gif"
13986
13987 if test x"$enablestring" = xdisable; then
13988 if test $wxUSE_GIF = no; then
13989 result=yes
13990 else
13991 result=no
13992 fi
13993 else
13994 result=$wxUSE_GIF
13995 fi
13996
13997 { echo "$as_me:$LINENO: result: $result" >&5
13998 echo "${ECHO_T}$result" >&6; }
13999
14000
14001 enablestring=
14002 defaultval=$wxUSE_ALL_FEATURES
14003 if test -z "$defaultval"; then
14004 if test x"$enablestring" = xdisable; then
14005 defaultval=yes
14006 else
14007 defaultval=no
14008 fi
14009 fi
14010
14011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14012 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14013 # Check whether --enable-pcx was given.
14014 if test "${enable_pcx+set}" = set; then
14015 enableval=$enable_pcx;
14016 if test "$enableval" = yes; then
14017 wx_cv_use_pcx='wxUSE_PCX=yes'
14018 else
14019 wx_cv_use_pcx='wxUSE_PCX=no'
14020 fi
14021
14022 else
14023
14024 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14025
14026 fi
14027
14028
14029 eval "$wx_cv_use_pcx"
14030
14031 if test x"$enablestring" = xdisable; then
14032 if test $wxUSE_PCX = no; then
14033 result=yes
14034 else
14035 result=no
14036 fi
14037 else
14038 result=$wxUSE_PCX
14039 fi
14040
14041 { echo "$as_me:$LINENO: result: $result" >&5
14042 echo "${ECHO_T}$result" >&6; }
14043
14044
14045 enablestring=
14046 defaultval=$wxUSE_ALL_FEATURES
14047 if test -z "$defaultval"; then
14048 if test x"$enablestring" = xdisable; then
14049 defaultval=yes
14050 else
14051 defaultval=no
14052 fi
14053 fi
14054
14055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14056 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14057 # Check whether --enable-tga was given.
14058 if test "${enable_tga+set}" = set; then
14059 enableval=$enable_tga;
14060 if test "$enableval" = yes; then
14061 wx_cv_use_tga='wxUSE_TGA=yes'
14062 else
14063 wx_cv_use_tga='wxUSE_TGA=no'
14064 fi
14065
14066 else
14067
14068 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14069
14070 fi
14071
14072
14073 eval "$wx_cv_use_tga"
14074
14075 if test x"$enablestring" = xdisable; then
14076 if test $wxUSE_TGA = no; then
14077 result=yes
14078 else
14079 result=no
14080 fi
14081 else
14082 result=$wxUSE_TGA
14083 fi
14084
14085 { echo "$as_me:$LINENO: result: $result" >&5
14086 echo "${ECHO_T}$result" >&6; }
14087
14088
14089 enablestring=
14090 defaultval=$wxUSE_ALL_FEATURES
14091 if test -z "$defaultval"; then
14092 if test x"$enablestring" = xdisable; then
14093 defaultval=yes
14094 else
14095 defaultval=no
14096 fi
14097 fi
14098
14099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14100 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14101 # Check whether --enable-iff was given.
14102 if test "${enable_iff+set}" = set; then
14103 enableval=$enable_iff;
14104 if test "$enableval" = yes; then
14105 wx_cv_use_iff='wxUSE_IFF=yes'
14106 else
14107 wx_cv_use_iff='wxUSE_IFF=no'
14108 fi
14109
14110 else
14111
14112 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14113
14114 fi
14115
14116
14117 eval "$wx_cv_use_iff"
14118
14119 if test x"$enablestring" = xdisable; then
14120 if test $wxUSE_IFF = no; then
14121 result=yes
14122 else
14123 result=no
14124 fi
14125 else
14126 result=$wxUSE_IFF
14127 fi
14128
14129 { echo "$as_me:$LINENO: result: $result" >&5
14130 echo "${ECHO_T}$result" >&6; }
14131
14132
14133 enablestring=
14134 defaultval=$wxUSE_ALL_FEATURES
14135 if test -z "$defaultval"; then
14136 if test x"$enablestring" = xdisable; then
14137 defaultval=yes
14138 else
14139 defaultval=no
14140 fi
14141 fi
14142
14143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14144 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14145 # Check whether --enable-pnm was given.
14146 if test "${enable_pnm+set}" = set; then
14147 enableval=$enable_pnm;
14148 if test "$enableval" = yes; then
14149 wx_cv_use_pnm='wxUSE_PNM=yes'
14150 else
14151 wx_cv_use_pnm='wxUSE_PNM=no'
14152 fi
14153
14154 else
14155
14156 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14157
14158 fi
14159
14160
14161 eval "$wx_cv_use_pnm"
14162
14163 if test x"$enablestring" = xdisable; then
14164 if test $wxUSE_PNM = no; then
14165 result=yes
14166 else
14167 result=no
14168 fi
14169 else
14170 result=$wxUSE_PNM
14171 fi
14172
14173 { echo "$as_me:$LINENO: result: $result" >&5
14174 echo "${ECHO_T}$result" >&6; }
14175
14176
14177 enablestring=
14178 defaultval=$wxUSE_ALL_FEATURES
14179 if test -z "$defaultval"; then
14180 if test x"$enablestring" = xdisable; then
14181 defaultval=yes
14182 else
14183 defaultval=no
14184 fi
14185 fi
14186
14187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14188 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14189 # Check whether --enable-xpm was given.
14190 if test "${enable_xpm+set}" = set; then
14191 enableval=$enable_xpm;
14192 if test "$enableval" = yes; then
14193 wx_cv_use_xpm='wxUSE_XPM=yes'
14194 else
14195 wx_cv_use_xpm='wxUSE_XPM=no'
14196 fi
14197
14198 else
14199
14200 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14201
14202 fi
14203
14204
14205 eval "$wx_cv_use_xpm"
14206
14207 if test x"$enablestring" = xdisable; then
14208 if test $wxUSE_XPM = no; then
14209 result=yes
14210 else
14211 result=no
14212 fi
14213 else
14214 result=$wxUSE_XPM
14215 fi
14216
14217 { echo "$as_me:$LINENO: result: $result" >&5
14218 echo "${ECHO_T}$result" >&6; }
14219
14220
14221 enablestring=
14222 defaultval=$wxUSE_ALL_FEATURES
14223 if test -z "$defaultval"; then
14224 if test x"$enablestring" = xdisable; then
14225 defaultval=yes
14226 else
14227 defaultval=no
14228 fi
14229 fi
14230
14231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14232 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14233 # Check whether --enable-ico_cur was given.
14234 if test "${enable_ico_cur+set}" = set; then
14235 enableval=$enable_ico_cur;
14236 if test "$enableval" = yes; then
14237 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14238 else
14239 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14240 fi
14241
14242 else
14243
14244 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14245
14246 fi
14247
14248
14249 eval "$wx_cv_use_ico_cur"
14250
14251 if test x"$enablestring" = xdisable; then
14252 if test $wxUSE_ICO_CUR = no; then
14253 result=yes
14254 else
14255 result=no
14256 fi
14257 else
14258 result=$wxUSE_ICO_CUR
14259 fi
14260
14261 { echo "$as_me:$LINENO: result: $result" >&5
14262 echo "${ECHO_T}$result" >&6; }
14263
14264
14265
14266
14267 enablestring=
14268 defaultval=$wxUSE_ALL_FEATURES
14269 if test -z "$defaultval"; then
14270 if test x"$enablestring" = xdisable; then
14271 defaultval=yes
14272 else
14273 defaultval=no
14274 fi
14275 fi
14276
14277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14278 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14279 # Check whether --enable-dccache was given.
14280 if test "${enable_dccache+set}" = set; then
14281 enableval=$enable_dccache;
14282 if test "$enableval" = yes; then
14283 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14284 else
14285 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14286 fi
14287
14288 else
14289
14290 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14291
14292 fi
14293
14294
14295 eval "$wx_cv_use_dccache"
14296
14297 if test x"$enablestring" = xdisable; then
14298 if test $wxUSE_DC_CACHEING = no; then
14299 result=yes
14300 else
14301 result=no
14302 fi
14303 else
14304 result=$wxUSE_DC_CACHEING
14305 fi
14306
14307 { echo "$as_me:$LINENO: result: $result" >&5
14308 echo "${ECHO_T}$result" >&6; }
14309
14310
14311 enablestring=
14312 defaultval=$wxUSE_ALL_FEATURES
14313 if test -z "$defaultval"; then
14314 if test x"$enablestring" = xdisable; then
14315 defaultval=yes
14316 else
14317 defaultval=no
14318 fi
14319 fi
14320
14321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14322 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14323 # Check whether --enable-ps-in-msw was given.
14324 if test "${enable_ps_in_msw+set}" = set; then
14325 enableval=$enable_ps_in_msw;
14326 if test "$enableval" = yes; then
14327 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14328 else
14329 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14330 fi
14331
14332 else
14333
14334 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14335
14336 fi
14337
14338
14339 eval "$wx_cv_use_ps_in_msw"
14340
14341 if test x"$enablestring" = xdisable; then
14342 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14343 result=yes
14344 else
14345 result=no
14346 fi
14347 else
14348 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14349 fi
14350
14351 { echo "$as_me:$LINENO: result: $result" >&5
14352 echo "${ECHO_T}$result" >&6; }
14353
14354
14355 enablestring=
14356 defaultval=$wxUSE_ALL_FEATURES
14357 if test -z "$defaultval"; then
14358 if test x"$enablestring" = xdisable; then
14359 defaultval=yes
14360 else
14361 defaultval=no
14362 fi
14363 fi
14364
14365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14366 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14367 # Check whether --enable-ownerdrawn was given.
14368 if test "${enable_ownerdrawn+set}" = set; then
14369 enableval=$enable_ownerdrawn;
14370 if test "$enableval" = yes; then
14371 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14372 else
14373 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14374 fi
14375
14376 else
14377
14378 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14379
14380 fi
14381
14382
14383 eval "$wx_cv_use_ownerdrawn"
14384
14385 if test x"$enablestring" = xdisable; then
14386 if test $wxUSE_OWNER_DRAWN = no; then
14387 result=yes
14388 else
14389 result=no
14390 fi
14391 else
14392 result=$wxUSE_OWNER_DRAWN
14393 fi
14394
14395 { echo "$as_me:$LINENO: result: $result" >&5
14396 echo "${ECHO_T}$result" >&6; }
14397
14398
14399 enablestring=
14400 defaultval=$wxUSE_ALL_FEATURES
14401 if test -z "$defaultval"; then
14402 if test x"$enablestring" = xdisable; then
14403 defaultval=yes
14404 else
14405 defaultval=no
14406 fi
14407 fi
14408
14409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14410 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14411 # Check whether --enable-uxtheme was given.
14412 if test "${enable_uxtheme+set}" = set; then
14413 enableval=$enable_uxtheme;
14414 if test "$enableval" = yes; then
14415 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14416 else
14417 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14418 fi
14419
14420 else
14421
14422 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14423
14424 fi
14425
14426
14427 eval "$wx_cv_use_uxtheme"
14428
14429 if test x"$enablestring" = xdisable; then
14430 if test $wxUSE_UXTHEME = no; then
14431 result=yes
14432 else
14433 result=no
14434 fi
14435 else
14436 result=$wxUSE_UXTHEME
14437 fi
14438
14439 { echo "$as_me:$LINENO: result: $result" >&5
14440 echo "${ECHO_T}$result" >&6; }
14441
14442
14443 enablestring=
14444 defaultval=$wxUSE_ALL_FEATURES
14445 if test -z "$defaultval"; then
14446 if test x"$enablestring" = xdisable; then
14447 defaultval=yes
14448 else
14449 defaultval=no
14450 fi
14451 fi
14452
14453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14454 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14455 # Check whether --enable-wxdib was given.
14456 if test "${enable_wxdib+set}" = set; then
14457 enableval=$enable_wxdib;
14458 if test "$enableval" = yes; then
14459 wx_cv_use_wxdib='wxUSE_DIB=yes'
14460 else
14461 wx_cv_use_wxdib='wxUSE_DIB=no'
14462 fi
14463
14464 else
14465
14466 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14467
14468 fi
14469
14470
14471 eval "$wx_cv_use_wxdib"
14472
14473 if test x"$enablestring" = xdisable; then
14474 if test $wxUSE_DIB = no; then
14475 result=yes
14476 else
14477 result=no
14478 fi
14479 else
14480 result=$wxUSE_DIB
14481 fi
14482
14483 { echo "$as_me:$LINENO: result: $result" >&5
14484 echo "${ECHO_T}$result" >&6; }
14485
14486
14487 if test "$wxUSE_MSW" != 1; then
14488 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14489 fi
14490
14491
14492 enablestring=
14493 defaultval=$wxUSE_ALL_FEATURES
14494 if test -z "$defaultval"; then
14495 if test x"$enablestring" = xdisable; then
14496 defaultval=yes
14497 else
14498 defaultval=no
14499 fi
14500 fi
14501
14502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14503 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14504 # Check whether --enable-autoidman was given.
14505 if test "${enable_autoidman+set}" = set; then
14506 enableval=$enable_autoidman;
14507 if test "$enableval" = yes; then
14508 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14509 else
14510 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14511 fi
14512
14513 else
14514
14515 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14516
14517 fi
14518
14519
14520 eval "$wx_cv_use_autoidman"
14521
14522 if test x"$enablestring" = xdisable; then
14523 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14524 result=yes
14525 else
14526 result=no
14527 fi
14528 else
14529 result=$wxUSE_AUTOID_MANAGEMENT
14530 fi
14531
14532 { echo "$as_me:$LINENO: result: $result" >&5
14533 echo "${ECHO_T}$result" >&6; }
14534
14535
14536 fi
14537
14538
14539 cat >confcache <<\_ACEOF
14540 # This file is a shell script that caches the results of configure
14541 # tests run on this system so they can be shared between configure
14542 # scripts and configure runs, see configure's option --config-cache.
14543 # It is not useful on other systems. If it contains results you don't
14544 # want to keep, you may remove or edit it.
14545 #
14546 # config.status only pays attention to the cache file if you give it
14547 # the --recheck option to rerun configure.
14548 #
14549 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14550 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14551 # following values.
14552
14553 _ACEOF
14554
14555 # The following way of writing the cache mishandles newlines in values,
14556 # but we know of no workaround that is simple, portable, and efficient.
14557 # So, we kill variables containing newlines.
14558 # Ultrix sh set writes to stderr and can't be redirected directly,
14559 # and sets the high bit in the cache file unless we assign to the vars.
14560 (
14561 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14562 eval ac_val=\$$ac_var
14563 case $ac_val in #(
14564 *${as_nl}*)
14565 case $ac_var in #(
14566 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14567 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14568 esac
14569 case $ac_var in #(
14570 _ | IFS | as_nl) ;; #(
14571 *) $as_unset $ac_var ;;
14572 esac ;;
14573 esac
14574 done
14575
14576 (set) 2>&1 |
14577 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14578 *${as_nl}ac_space=\ *)
14579 # `set' does not quote correctly, so add quotes (double-quote
14580 # substitution turns \\\\ into \\, and sed turns \\ into \).
14581 sed -n \
14582 "s/'/'\\\\''/g;
14583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14584 ;; #(
14585 *)
14586 # `set' quotes correctly as required by POSIX, so do not add quotes.
14587 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14588 ;;
14589 esac |
14590 sort
14591 ) |
14592 sed '
14593 /^ac_cv_env_/b end
14594 t clear
14595 :clear
14596 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14597 t end
14598 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14599 :end' >>confcache
14600 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14601 if test -w "$cache_file"; then
14602 test "x$cache_file" != "x/dev/null" &&
14603 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14604 echo "$as_me: updating cache $cache_file" >&6;}
14605 cat confcache >$cache_file
14606 else
14607 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14608 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14609 fi
14610 fi
14611 rm -f confcache
14612
14613 CFLAGS=${CFLAGS:=}
14614 ac_ext=c
14615 ac_cpp='$CPP $CPPFLAGS'
14616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14619 if test -n "$ac_tool_prefix"; then
14620 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14621 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14624 if test "${ac_cv_prog_CC+set}" = set; then
14625 echo $ECHO_N "(cached) $ECHO_C" >&6
14626 else
14627 if test -n "$CC"; then
14628 ac_cv_prog_CC="$CC" # Let the user override the test.
14629 else
14630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14631 for as_dir in $PATH
14632 do
14633 IFS=$as_save_IFS
14634 test -z "$as_dir" && as_dir=.
14635 for ac_exec_ext in '' $ac_executable_extensions; do
14636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14637 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14639 break 2
14640 fi
14641 done
14642 done
14643 IFS=$as_save_IFS
14644
14645 fi
14646 fi
14647 CC=$ac_cv_prog_CC
14648 if test -n "$CC"; then
14649 { echo "$as_me:$LINENO: result: $CC" >&5
14650 echo "${ECHO_T}$CC" >&6; }
14651 else
14652 { echo "$as_me:$LINENO: result: no" >&5
14653 echo "${ECHO_T}no" >&6; }
14654 fi
14655
14656
14657 fi
14658 if test -z "$ac_cv_prog_CC"; then
14659 ac_ct_CC=$CC
14660 # Extract the first word of "gcc", so it can be a program name with args.
14661 set dummy gcc; ac_word=$2
14662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14664 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14665 echo $ECHO_N "(cached) $ECHO_C" >&6
14666 else
14667 if test -n "$ac_ct_CC"; then
14668 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14669 else
14670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14671 for as_dir in $PATH
14672 do
14673 IFS=$as_save_IFS
14674 test -z "$as_dir" && as_dir=.
14675 for ac_exec_ext in '' $ac_executable_extensions; do
14676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14677 ac_cv_prog_ac_ct_CC="gcc"
14678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14679 break 2
14680 fi
14681 done
14682 done
14683 IFS=$as_save_IFS
14684
14685 fi
14686 fi
14687 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14688 if test -n "$ac_ct_CC"; then
14689 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14690 echo "${ECHO_T}$ac_ct_CC" >&6; }
14691 else
14692 { echo "$as_me:$LINENO: result: no" >&5
14693 echo "${ECHO_T}no" >&6; }
14694 fi
14695
14696 if test "x$ac_ct_CC" = x; then
14697 CC=""
14698 else
14699 case $cross_compiling:$ac_tool_warned in
14700 yes:)
14701 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14702 whose name does not start with the host triplet. If you think this
14703 configuration is useful to you, please write to autoconf@gnu.org." >&5
14704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14705 whose name does not start with the host triplet. If you think this
14706 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14707 ac_tool_warned=yes ;;
14708 esac
14709 CC=$ac_ct_CC
14710 fi
14711 else
14712 CC="$ac_cv_prog_CC"
14713 fi
14714
14715 if test -z "$CC"; then
14716 if test -n "$ac_tool_prefix"; then
14717 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14718 set dummy ${ac_tool_prefix}cc; ac_word=$2
14719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14721 if test "${ac_cv_prog_CC+set}" = set; then
14722 echo $ECHO_N "(cached) $ECHO_C" >&6
14723 else
14724 if test -n "$CC"; then
14725 ac_cv_prog_CC="$CC" # Let the user override the test.
14726 else
14727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14728 for as_dir in $PATH
14729 do
14730 IFS=$as_save_IFS
14731 test -z "$as_dir" && as_dir=.
14732 for ac_exec_ext in '' $ac_executable_extensions; do
14733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14734 ac_cv_prog_CC="${ac_tool_prefix}cc"
14735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14736 break 2
14737 fi
14738 done
14739 done
14740 IFS=$as_save_IFS
14741
14742 fi
14743 fi
14744 CC=$ac_cv_prog_CC
14745 if test -n "$CC"; then
14746 { echo "$as_me:$LINENO: result: $CC" >&5
14747 echo "${ECHO_T}$CC" >&6; }
14748 else
14749 { echo "$as_me:$LINENO: result: no" >&5
14750 echo "${ECHO_T}no" >&6; }
14751 fi
14752
14753
14754 fi
14755 fi
14756 if test -z "$CC"; then
14757 # Extract the first word of "cc", so it can be a program name with args.
14758 set dummy cc; ac_word=$2
14759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14761 if test "${ac_cv_prog_CC+set}" = set; then
14762 echo $ECHO_N "(cached) $ECHO_C" >&6
14763 else
14764 if test -n "$CC"; then
14765 ac_cv_prog_CC="$CC" # Let the user override the test.
14766 else
14767 ac_prog_rejected=no
14768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14769 for as_dir in $PATH
14770 do
14771 IFS=$as_save_IFS
14772 test -z "$as_dir" && as_dir=.
14773 for ac_exec_ext in '' $ac_executable_extensions; do
14774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14775 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14776 ac_prog_rejected=yes
14777 continue
14778 fi
14779 ac_cv_prog_CC="cc"
14780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14781 break 2
14782 fi
14783 done
14784 done
14785 IFS=$as_save_IFS
14786
14787 if test $ac_prog_rejected = yes; then
14788 # We found a bogon in the path, so make sure we never use it.
14789 set dummy $ac_cv_prog_CC
14790 shift
14791 if test $# != 0; then
14792 # We chose a different compiler from the bogus one.
14793 # However, it has the same basename, so the bogon will be chosen
14794 # first if we set CC to just the basename; use the full file name.
14795 shift
14796 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14797 fi
14798 fi
14799 fi
14800 fi
14801 CC=$ac_cv_prog_CC
14802 if test -n "$CC"; then
14803 { echo "$as_me:$LINENO: result: $CC" >&5
14804 echo "${ECHO_T}$CC" >&6; }
14805 else
14806 { echo "$as_me:$LINENO: result: no" >&5
14807 echo "${ECHO_T}no" >&6; }
14808 fi
14809
14810
14811 fi
14812 if test -z "$CC"; then
14813 if test -n "$ac_tool_prefix"; then
14814 for ac_prog in cl.exe
14815 do
14816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14817 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14820 if test "${ac_cv_prog_CC+set}" = set; then
14821 echo $ECHO_N "(cached) $ECHO_C" >&6
14822 else
14823 if test -n "$CC"; then
14824 ac_cv_prog_CC="$CC" # Let the user override the test.
14825 else
14826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14827 for as_dir in $PATH
14828 do
14829 IFS=$as_save_IFS
14830 test -z "$as_dir" && as_dir=.
14831 for ac_exec_ext in '' $ac_executable_extensions; do
14832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14833 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14835 break 2
14836 fi
14837 done
14838 done
14839 IFS=$as_save_IFS
14840
14841 fi
14842 fi
14843 CC=$ac_cv_prog_CC
14844 if test -n "$CC"; then
14845 { echo "$as_me:$LINENO: result: $CC" >&5
14846 echo "${ECHO_T}$CC" >&6; }
14847 else
14848 { echo "$as_me:$LINENO: result: no" >&5
14849 echo "${ECHO_T}no" >&6; }
14850 fi
14851
14852
14853 test -n "$CC" && break
14854 done
14855 fi
14856 if test -z "$CC"; then
14857 ac_ct_CC=$CC
14858 for ac_prog in cl.exe
14859 do
14860 # Extract the first word of "$ac_prog", so it can be a program name with args.
14861 set dummy $ac_prog; ac_word=$2
14862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14864 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14865 echo $ECHO_N "(cached) $ECHO_C" >&6
14866 else
14867 if test -n "$ac_ct_CC"; then
14868 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14869 else
14870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14871 for as_dir in $PATH
14872 do
14873 IFS=$as_save_IFS
14874 test -z "$as_dir" && as_dir=.
14875 for ac_exec_ext in '' $ac_executable_extensions; do
14876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14877 ac_cv_prog_ac_ct_CC="$ac_prog"
14878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14879 break 2
14880 fi
14881 done
14882 done
14883 IFS=$as_save_IFS
14884
14885 fi
14886 fi
14887 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14888 if test -n "$ac_ct_CC"; then
14889 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14890 echo "${ECHO_T}$ac_ct_CC" >&6; }
14891 else
14892 { echo "$as_me:$LINENO: result: no" >&5
14893 echo "${ECHO_T}no" >&6; }
14894 fi
14895
14896
14897 test -n "$ac_ct_CC" && break
14898 done
14899
14900 if test "x$ac_ct_CC" = x; then
14901 CC=""
14902 else
14903 case $cross_compiling:$ac_tool_warned in
14904 yes:)
14905 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14906 whose name does not start with the host triplet. If you think this
14907 configuration is useful to you, please write to autoconf@gnu.org." >&5
14908 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14909 whose name does not start with the host triplet. If you think this
14910 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14911 ac_tool_warned=yes ;;
14912 esac
14913 CC=$ac_ct_CC
14914 fi
14915 fi
14916
14917 fi
14918
14919
14920 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14921 See \`config.log' for more details." >&5
14922 echo "$as_me: error: no acceptable C compiler found in \$PATH
14923 See \`config.log' for more details." >&2;}
14924 { (exit 1); exit 1; }; }
14925
14926 # Provide some information about the compiler.
14927 echo "$as_me:$LINENO: checking for C compiler version" >&5
14928 ac_compiler=`set X $ac_compile; echo $2`
14929 { (ac_try="$ac_compiler --version >&5"
14930 case "(($ac_try" in
14931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14932 *) ac_try_echo=$ac_try;;
14933 esac
14934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14935 (eval "$ac_compiler --version >&5") 2>&5
14936 ac_status=$?
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }
14939 { (ac_try="$ac_compiler -v >&5"
14940 case "(($ac_try" in
14941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14942 *) ac_try_echo=$ac_try;;
14943 esac
14944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14945 (eval "$ac_compiler -v >&5") 2>&5
14946 ac_status=$?
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }
14949 { (ac_try="$ac_compiler -V >&5"
14950 case "(($ac_try" in
14951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14952 *) ac_try_echo=$ac_try;;
14953 esac
14954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14955 (eval "$ac_compiler -V >&5") 2>&5
14956 ac_status=$?
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); }
14959
14960 cat >conftest.$ac_ext <<_ACEOF
14961 /* confdefs.h. */
14962 _ACEOF
14963 cat confdefs.h >>conftest.$ac_ext
14964 cat >>conftest.$ac_ext <<_ACEOF
14965 /* end confdefs.h. */
14966
14967 int
14968 main ()
14969 {
14970
14971 ;
14972 return 0;
14973 }
14974 _ACEOF
14975 ac_clean_files_save=$ac_clean_files
14976 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14977 # Try to create an executable without -o first, disregard a.out.
14978 # It will help us diagnose broken compilers, and finding out an intuition
14979 # of exeext.
14980 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14981 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14982 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14983 #
14984 # List of possible output files, starting from the most likely.
14985 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14986 # only as a last resort. b.out is created by i960 compilers.
14987 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14988 #
14989 # The IRIX 6 linker writes into existing files which may not be
14990 # executable, retaining their permissions. Remove them first so a
14991 # subsequent execution test works.
14992 ac_rmfiles=
14993 for ac_file in $ac_files
14994 do
14995 case $ac_file in
14996 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14997 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14998 esac
14999 done
15000 rm -f $ac_rmfiles
15001
15002 if { (ac_try="$ac_link_default"
15003 case "(($ac_try" in
15004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15005 *) ac_try_echo=$ac_try;;
15006 esac
15007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15008 (eval "$ac_link_default") 2>&5
15009 ac_status=$?
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; then
15012 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15013 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15014 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15015 # so that the user can short-circuit this test for compilers unknown to
15016 # Autoconf.
15017 for ac_file in $ac_files ''
15018 do
15019 test -f "$ac_file" || continue
15020 case $ac_file in
15021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15022 ;;
15023 [ab].out )
15024 # We found the default executable, but exeext='' is most
15025 # certainly right.
15026 break;;
15027 *.* )
15028 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15029 then :; else
15030 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15031 fi
15032 # We set ac_cv_exeext here because the later test for it is not
15033 # safe: cross compilers may not add the suffix if given an `-o'
15034 # argument, so we may need to know it at that point already.
15035 # Even if this section looks crufty: it has the advantage of
15036 # actually working.
15037 break;;
15038 * )
15039 break;;
15040 esac
15041 done
15042 test "$ac_cv_exeext" = no && ac_cv_exeext=
15043
15044 else
15045 ac_file=''
15046 fi
15047
15048 { echo "$as_me:$LINENO: result: $ac_file" >&5
15049 echo "${ECHO_T}$ac_file" >&6; }
15050 if test -z "$ac_file"; then
15051 echo "$as_me: failed program was:" >&5
15052 sed 's/^/| /' conftest.$ac_ext >&5
15053
15054 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15055 See \`config.log' for more details." >&5
15056 echo "$as_me: error: C compiler cannot create executables
15057 See \`config.log' for more details." >&2;}
15058 { (exit 77); exit 77; }; }
15059 fi
15060
15061 ac_exeext=$ac_cv_exeext
15062
15063 # Check that the compiler produces executables we can run. If not, either
15064 # the compiler is broken, or we cross compile.
15065 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15066 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15067 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15068 # If not cross compiling, check that we can run a simple program.
15069 if test "$cross_compiling" != yes; then
15070 if { ac_try='./$ac_file'
15071 { (case "(($ac_try" in
15072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15073 *) ac_try_echo=$ac_try;;
15074 esac
15075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15076 (eval "$ac_try") 2>&5
15077 ac_status=$?
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); }; }; then
15080 cross_compiling=no
15081 else
15082 if test "$cross_compiling" = maybe; then
15083 cross_compiling=yes
15084 else
15085 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15086 If you meant to cross compile, use \`--host'.
15087 See \`config.log' for more details." >&5
15088 echo "$as_me: error: cannot run C compiled programs.
15089 If you meant to cross compile, use \`--host'.
15090 See \`config.log' for more details." >&2;}
15091 { (exit 1); exit 1; }; }
15092 fi
15093 fi
15094 fi
15095 { echo "$as_me:$LINENO: result: yes" >&5
15096 echo "${ECHO_T}yes" >&6; }
15097
15098 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15099 ac_clean_files=$ac_clean_files_save
15100 # Check that the compiler produces executables we can run. If not, either
15101 # the compiler is broken, or we cross compile.
15102 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15103 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15104 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15105 echo "${ECHO_T}$cross_compiling" >&6; }
15106
15107 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15108 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15109 if { (ac_try="$ac_link"
15110 case "(($ac_try" in
15111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15112 *) ac_try_echo=$ac_try;;
15113 esac
15114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15115 (eval "$ac_link") 2>&5
15116 ac_status=$?
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); }; then
15119 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15120 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15121 # work properly (i.e., refer to `conftest.exe'), while it won't with
15122 # `rm'.
15123 for ac_file in conftest.exe conftest conftest.*; do
15124 test -f "$ac_file" || continue
15125 case $ac_file in
15126 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15127 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15128 break;;
15129 * ) break;;
15130 esac
15131 done
15132 else
15133 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15134 See \`config.log' for more details." >&5
15135 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15136 See \`config.log' for more details." >&2;}
15137 { (exit 1); exit 1; }; }
15138 fi
15139
15140 rm -f conftest$ac_cv_exeext
15141 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15142 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15143
15144 rm -f conftest.$ac_ext
15145 EXEEXT=$ac_cv_exeext
15146 ac_exeext=$EXEEXT
15147 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15148 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15149 if test "${ac_cv_objext+set}" = set; then
15150 echo $ECHO_N "(cached) $ECHO_C" >&6
15151 else
15152 cat >conftest.$ac_ext <<_ACEOF
15153 /* confdefs.h. */
15154 _ACEOF
15155 cat confdefs.h >>conftest.$ac_ext
15156 cat >>conftest.$ac_ext <<_ACEOF
15157 /* end confdefs.h. */
15158
15159 int
15160 main ()
15161 {
15162
15163 ;
15164 return 0;
15165 }
15166 _ACEOF
15167 rm -f conftest.o conftest.obj
15168 if { (ac_try="$ac_compile"
15169 case "(($ac_try" in
15170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15171 *) ac_try_echo=$ac_try;;
15172 esac
15173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15174 (eval "$ac_compile") 2>&5
15175 ac_status=$?
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); }; then
15178 for ac_file in conftest.o conftest.obj conftest.*; do
15179 test -f "$ac_file" || continue;
15180 case $ac_file in
15181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15182 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15183 break;;
15184 esac
15185 done
15186 else
15187 echo "$as_me: failed program was:" >&5
15188 sed 's/^/| /' conftest.$ac_ext >&5
15189
15190 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15191 See \`config.log' for more details." >&5
15192 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15193 See \`config.log' for more details." >&2;}
15194 { (exit 1); exit 1; }; }
15195 fi
15196
15197 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15198 fi
15199 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15200 echo "${ECHO_T}$ac_cv_objext" >&6; }
15201 OBJEXT=$ac_cv_objext
15202 ac_objext=$OBJEXT
15203 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15204 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15205 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15206 echo $ECHO_N "(cached) $ECHO_C" >&6
15207 else
15208 cat >conftest.$ac_ext <<_ACEOF
15209 /* confdefs.h. */
15210 _ACEOF
15211 cat confdefs.h >>conftest.$ac_ext
15212 cat >>conftest.$ac_ext <<_ACEOF
15213 /* end confdefs.h. */
15214
15215 int
15216 main ()
15217 {
15218 #ifndef __GNUC__
15219 choke me
15220 #endif
15221
15222 ;
15223 return 0;
15224 }
15225 _ACEOF
15226 rm -f conftest.$ac_objext
15227 if { (ac_try="$ac_compile"
15228 case "(($ac_try" in
15229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15230 *) ac_try_echo=$ac_try;;
15231 esac
15232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15233 (eval "$ac_compile") 2>conftest.er1
15234 ac_status=$?
15235 grep -v '^ *+' conftest.er1 >conftest.err
15236 rm -f conftest.er1
15237 cat conftest.err >&5
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); } && {
15240 test -z "$ac_c_werror_flag" ||
15241 test ! -s conftest.err
15242 } && test -s conftest.$ac_objext; then
15243 ac_compiler_gnu=yes
15244 else
15245 echo "$as_me: failed program was:" >&5
15246 sed 's/^/| /' conftest.$ac_ext >&5
15247
15248 ac_compiler_gnu=no
15249 fi
15250
15251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15252 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15253
15254 fi
15255 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15256 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15257 GCC=`test $ac_compiler_gnu = yes && echo yes`
15258 ac_test_CFLAGS=${CFLAGS+set}
15259 ac_save_CFLAGS=$CFLAGS
15260 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15261 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15262 if test "${ac_cv_prog_cc_g+set}" = set; then
15263 echo $ECHO_N "(cached) $ECHO_C" >&6
15264 else
15265 ac_save_c_werror_flag=$ac_c_werror_flag
15266 ac_c_werror_flag=yes
15267 ac_cv_prog_cc_g=no
15268 CFLAGS="-g"
15269 cat >conftest.$ac_ext <<_ACEOF
15270 /* confdefs.h. */
15271 _ACEOF
15272 cat confdefs.h >>conftest.$ac_ext
15273 cat >>conftest.$ac_ext <<_ACEOF
15274 /* end confdefs.h. */
15275
15276 int
15277 main ()
15278 {
15279
15280 ;
15281 return 0;
15282 }
15283 _ACEOF
15284 rm -f conftest.$ac_objext
15285 if { (ac_try="$ac_compile"
15286 case "(($ac_try" in
15287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15288 *) ac_try_echo=$ac_try;;
15289 esac
15290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15291 (eval "$ac_compile") 2>conftest.er1
15292 ac_status=$?
15293 grep -v '^ *+' conftest.er1 >conftest.err
15294 rm -f conftest.er1
15295 cat conftest.err >&5
15296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15297 (exit $ac_status); } && {
15298 test -z "$ac_c_werror_flag" ||
15299 test ! -s conftest.err
15300 } && test -s conftest.$ac_objext; then
15301 ac_cv_prog_cc_g=yes
15302 else
15303 echo "$as_me: failed program was:" >&5
15304 sed 's/^/| /' conftest.$ac_ext >&5
15305
15306 CFLAGS=""
15307 cat >conftest.$ac_ext <<_ACEOF
15308 /* confdefs.h. */
15309 _ACEOF
15310 cat confdefs.h >>conftest.$ac_ext
15311 cat >>conftest.$ac_ext <<_ACEOF
15312 /* end confdefs.h. */
15313
15314 int
15315 main ()
15316 {
15317
15318 ;
15319 return 0;
15320 }
15321 _ACEOF
15322 rm -f conftest.$ac_objext
15323 if { (ac_try="$ac_compile"
15324 case "(($ac_try" in
15325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15326 *) ac_try_echo=$ac_try;;
15327 esac
15328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15329 (eval "$ac_compile") 2>conftest.er1
15330 ac_status=$?
15331 grep -v '^ *+' conftest.er1 >conftest.err
15332 rm -f conftest.er1
15333 cat conftest.err >&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); } && {
15336 test -z "$ac_c_werror_flag" ||
15337 test ! -s conftest.err
15338 } && test -s conftest.$ac_objext; then
15339 :
15340 else
15341 echo "$as_me: failed program was:" >&5
15342 sed 's/^/| /' conftest.$ac_ext >&5
15343
15344 ac_c_werror_flag=$ac_save_c_werror_flag
15345 CFLAGS="-g"
15346 cat >conftest.$ac_ext <<_ACEOF
15347 /* confdefs.h. */
15348 _ACEOF
15349 cat confdefs.h >>conftest.$ac_ext
15350 cat >>conftest.$ac_ext <<_ACEOF
15351 /* end confdefs.h. */
15352
15353 int
15354 main ()
15355 {
15356
15357 ;
15358 return 0;
15359 }
15360 _ACEOF
15361 rm -f conftest.$ac_objext
15362 if { (ac_try="$ac_compile"
15363 case "(($ac_try" in
15364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15365 *) ac_try_echo=$ac_try;;
15366 esac
15367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15368 (eval "$ac_compile") 2>conftest.er1
15369 ac_status=$?
15370 grep -v '^ *+' conftest.er1 >conftest.err
15371 rm -f conftest.er1
15372 cat conftest.err >&5
15373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15374 (exit $ac_status); } && {
15375 test -z "$ac_c_werror_flag" ||
15376 test ! -s conftest.err
15377 } && test -s conftest.$ac_objext; then
15378 ac_cv_prog_cc_g=yes
15379 else
15380 echo "$as_me: failed program was:" >&5
15381 sed 's/^/| /' conftest.$ac_ext >&5
15382
15383
15384 fi
15385
15386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15387 fi
15388
15389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15390 fi
15391
15392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15393 ac_c_werror_flag=$ac_save_c_werror_flag
15394 fi
15395 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15396 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15397 if test "$ac_test_CFLAGS" = set; then
15398 CFLAGS=$ac_save_CFLAGS
15399 elif test $ac_cv_prog_cc_g = yes; then
15400 if test "$GCC" = yes; then
15401 CFLAGS="-g -O2"
15402 else
15403 CFLAGS="-g"
15404 fi
15405 else
15406 if test "$GCC" = yes; then
15407 CFLAGS="-O2"
15408 else
15409 CFLAGS=
15410 fi
15411 fi
15412 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15413 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15414 if test "${ac_cv_prog_cc_c89+set}" = set; then
15415 echo $ECHO_N "(cached) $ECHO_C" >&6
15416 else
15417 ac_cv_prog_cc_c89=no
15418 ac_save_CC=$CC
15419 cat >conftest.$ac_ext <<_ACEOF
15420 /* confdefs.h. */
15421 _ACEOF
15422 cat confdefs.h >>conftest.$ac_ext
15423 cat >>conftest.$ac_ext <<_ACEOF
15424 /* end confdefs.h. */
15425 #include <stdarg.h>
15426 #include <stdio.h>
15427 #include <sys/types.h>
15428 #include <sys/stat.h>
15429 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15430 struct buf { int x; };
15431 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15432 static char *e (p, i)
15433 char **p;
15434 int i;
15435 {
15436 return p[i];
15437 }
15438 static char *f (char * (*g) (char **, int), char **p, ...)
15439 {
15440 char *s;
15441 va_list v;
15442 va_start (v,p);
15443 s = g (p, va_arg (v,int));
15444 va_end (v);
15445 return s;
15446 }
15447
15448 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15449 function prototypes and stuff, but not '\xHH' hex character constants.
15450 These don't provoke an error unfortunately, instead are silently treated
15451 as 'x'. The following induces an error, until -std is added to get
15452 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15453 array size at least. It's necessary to write '\x00'==0 to get something
15454 that's true only with -std. */
15455 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15456
15457 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15458 inside strings and character constants. */
15459 #define FOO(x) 'x'
15460 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15461
15462 int test (int i, double x);
15463 struct s1 {int (*f) (int a);};
15464 struct s2 {int (*f) (double a);};
15465 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15466 int argc;
15467 char **argv;
15468 int
15469 main ()
15470 {
15471 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15472 ;
15473 return 0;
15474 }
15475 _ACEOF
15476 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15477 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15478 do
15479 CC="$ac_save_CC $ac_arg"
15480 rm -f conftest.$ac_objext
15481 if { (ac_try="$ac_compile"
15482 case "(($ac_try" in
15483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15484 *) ac_try_echo=$ac_try;;
15485 esac
15486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15487 (eval "$ac_compile") 2>conftest.er1
15488 ac_status=$?
15489 grep -v '^ *+' conftest.er1 >conftest.err
15490 rm -f conftest.er1
15491 cat conftest.err >&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } && {
15494 test -z "$ac_c_werror_flag" ||
15495 test ! -s conftest.err
15496 } && test -s conftest.$ac_objext; then
15497 ac_cv_prog_cc_c89=$ac_arg
15498 else
15499 echo "$as_me: failed program was:" >&5
15500 sed 's/^/| /' conftest.$ac_ext >&5
15501
15502
15503 fi
15504
15505 rm -f core conftest.err conftest.$ac_objext
15506 test "x$ac_cv_prog_cc_c89" != "xno" && break
15507 done
15508 rm -f conftest.$ac_ext
15509 CC=$ac_save_CC
15510
15511 fi
15512 # AC_CACHE_VAL
15513 case "x$ac_cv_prog_cc_c89" in
15514 x)
15515 { echo "$as_me:$LINENO: result: none needed" >&5
15516 echo "${ECHO_T}none needed" >&6; } ;;
15517 xno)
15518 { echo "$as_me:$LINENO: result: unsupported" >&5
15519 echo "${ECHO_T}unsupported" >&6; } ;;
15520 *)
15521 CC="$CC $ac_cv_prog_cc_c89"
15522 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15523 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15524 esac
15525
15526
15527 ac_ext=c
15528 ac_cpp='$CPP $CPPFLAGS'
15529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15532
15533
15534
15535
15536
15537
15538
15539
15540 ac_ext=c
15541 ac_cpp='$CPP $CPPFLAGS'
15542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15545
15546 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15547 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15548 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15550 else
15551 cat >conftest.$ac_ext <<_ACEOF
15552 /* confdefs.h. */
15553 _ACEOF
15554 cat confdefs.h >>conftest.$ac_ext
15555 cat >>conftest.$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15557
15558 int
15559 main ()
15560 {
15561
15562 #ifndef __INTEL_COMPILER
15563 choke me
15564 #endif
15565
15566 ;
15567 return 0;
15568 }
15569 _ACEOF
15570 rm -f conftest.$ac_objext
15571 if { (ac_try="$ac_compile"
15572 case "(($ac_try" in
15573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15574 *) ac_try_echo=$ac_try;;
15575 esac
15576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15577 (eval "$ac_compile") 2>conftest.er1
15578 ac_status=$?
15579 grep -v '^ *+' conftest.er1 >conftest.err
15580 rm -f conftest.er1
15581 cat conftest.err >&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); } && {
15584 test -z "$ac_c_werror_flag" ||
15585 test ! -s conftest.err
15586 } && test -s conftest.$ac_objext; then
15587 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15588 else
15589 echo "$as_me: failed program was:" >&5
15590 sed 's/^/| /' conftest.$ac_ext >&5
15591
15592 bakefile_cv_c_compiler___INTEL_COMPILER=no
15593
15594 fi
15595
15596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15597
15598
15599 fi
15600 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15601 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15602 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15603 :; INTELCC=yes
15604 else
15605 :;
15606 fi
15607 ac_ext=c
15608 ac_cpp='$CPP $CPPFLAGS'
15609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15612
15613
15614
15615
15616 if test "$INTELCC" = "yes"; then
15617
15618
15619 ac_ext=c
15620 ac_cpp='$CPP $CPPFLAGS'
15621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15624
15625 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15626 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15627 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15628 echo $ECHO_N "(cached) $ECHO_C" >&6
15629 else
15630 cat >conftest.$ac_ext <<_ACEOF
15631 /* confdefs.h. */
15632 _ACEOF
15633 cat confdefs.h >>conftest.$ac_ext
15634 cat >>conftest.$ac_ext <<_ACEOF
15635 /* end confdefs.h. */
15636
15637 int
15638 main ()
15639 {
15640
15641 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15642 choke me
15643 #endif
15644
15645 ;
15646 return 0;
15647 }
15648 _ACEOF
15649 rm -f conftest.$ac_objext
15650 if { (ac_try="$ac_compile"
15651 case "(($ac_try" in
15652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15653 *) ac_try_echo=$ac_try;;
15654 esac
15655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15656 (eval "$ac_compile") 2>conftest.er1
15657 ac_status=$?
15658 grep -v '^ *+' conftest.er1 >conftest.err
15659 rm -f conftest.er1
15660 cat conftest.err >&5
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); } && {
15663 test -z "$ac_c_werror_flag" ||
15664 test ! -s conftest.err
15665 } && test -s conftest.$ac_objext; then
15666 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15667 else
15668 echo "$as_me: failed program was:" >&5
15669 sed 's/^/| /' conftest.$ac_ext >&5
15670
15671 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15672
15673 fi
15674
15675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15676
15677
15678 fi
15679 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15680 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15681 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15682 :; INTELCC8=yes
15683 else
15684 :;
15685 fi
15686 ac_ext=c
15687 ac_cpp='$CPP $CPPFLAGS'
15688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15691
15692
15693
15694
15695
15696 ac_ext=c
15697 ac_cpp='$CPP $CPPFLAGS'
15698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15701
15702 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15703 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15704 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15706 else
15707 cat >conftest.$ac_ext <<_ACEOF
15708 /* confdefs.h. */
15709 _ACEOF
15710 cat confdefs.h >>conftest.$ac_ext
15711 cat >>conftest.$ac_ext <<_ACEOF
15712 /* end confdefs.h. */
15713
15714 int
15715 main ()
15716 {
15717
15718 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15719 choke me
15720 #endif
15721
15722 ;
15723 return 0;
15724 }
15725 _ACEOF
15726 rm -f conftest.$ac_objext
15727 if { (ac_try="$ac_compile"
15728 case "(($ac_try" in
15729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15730 *) ac_try_echo=$ac_try;;
15731 esac
15732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15733 (eval "$ac_compile") 2>conftest.er1
15734 ac_status=$?
15735 grep -v '^ *+' conftest.er1 >conftest.err
15736 rm -f conftest.er1
15737 cat conftest.err >&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); } && {
15740 test -z "$ac_c_werror_flag" ||
15741 test ! -s conftest.err
15742 } && test -s conftest.$ac_objext; then
15743 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15744 else
15745 echo "$as_me: failed program was:" >&5
15746 sed 's/^/| /' conftest.$ac_ext >&5
15747
15748 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15749
15750 fi
15751
15752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15753
15754
15755 fi
15756 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15757 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15758 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15759 :; INTELCC10=yes
15760 else
15761 :;
15762 fi
15763 ac_ext=c
15764 ac_cpp='$CPP $CPPFLAGS'
15765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15768
15769
15770
15771 fi
15772
15773 if test "x$GCC" != "xyes"; then
15774 if test "xCC" = "xC"; then
15775 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15776 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15777 if test "${bakefile_cv_c_exto+set}" = set; then
15778 echo $ECHO_N "(cached) $ECHO_C" >&6
15779 else
15780 cat >conftest.$ac_ext <<_ACEOF
15781 /* confdefs.h. */
15782 _ACEOF
15783 cat confdefs.h >>conftest.$ac_ext
15784 cat >>conftest.$ac_ext <<_ACEOF
15785 /* end confdefs.h. */
15786
15787 int
15788 main ()
15789 {
15790
15791 ;
15792 return 0;
15793 }
15794 _ACEOF
15795 rm -f conftest.$ac_objext conftest.$ac_ext.o
15796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15797 (eval $ac_compile) 2>&5
15798 ac_status=$?
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); }; then
15801 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15802 case $ac_file in
15803 conftest.$ac_ext.o)
15804 bakefile_cv_c_exto="-ext o"
15805 ;;
15806 *)
15807 ;;
15808 esac
15809 done
15810 else
15811 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15812 See \`config.log' for more details." >&5
15813 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15814 See \`config.log' for more details." >&2;}
15815 { (exit 1); exit 1; }; }
15816
15817 fi
15818
15819 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15820
15821 fi
15822 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15823 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15824 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15825 if test "c" = "c"; then
15826 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15827 fi
15828 if test "c" = "cxx"; then
15829 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15830 fi
15831 fi
15832
15833 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15834 unset ac_cv_prog_cc_g
15835 ac_test_CFLAGS=${CFLAGS+set}
15836 ac_save_CFLAGS=$CFLAGS
15837 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15838 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15839 if test "${ac_cv_prog_cc_g+set}" = set; then
15840 echo $ECHO_N "(cached) $ECHO_C" >&6
15841 else
15842 ac_save_c_werror_flag=$ac_c_werror_flag
15843 ac_c_werror_flag=yes
15844 ac_cv_prog_cc_g=no
15845 CFLAGS="-g"
15846 cat >conftest.$ac_ext <<_ACEOF
15847 /* confdefs.h. */
15848 _ACEOF
15849 cat confdefs.h >>conftest.$ac_ext
15850 cat >>conftest.$ac_ext <<_ACEOF
15851 /* end confdefs.h. */
15852
15853 int
15854 main ()
15855 {
15856
15857 ;
15858 return 0;
15859 }
15860 _ACEOF
15861 rm -f conftest.$ac_objext
15862 if { (ac_try="$ac_compile"
15863 case "(($ac_try" in
15864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15865 *) ac_try_echo=$ac_try;;
15866 esac
15867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15868 (eval "$ac_compile") 2>conftest.er1
15869 ac_status=$?
15870 grep -v '^ *+' conftest.er1 >conftest.err
15871 rm -f conftest.er1
15872 cat conftest.err >&5
15873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15874 (exit $ac_status); } && {
15875 test -z "$ac_c_werror_flag" ||
15876 test ! -s conftest.err
15877 } && test -s conftest.$ac_objext; then
15878 ac_cv_prog_cc_g=yes
15879 else
15880 echo "$as_me: failed program was:" >&5
15881 sed 's/^/| /' conftest.$ac_ext >&5
15882
15883 CFLAGS=""
15884 cat >conftest.$ac_ext <<_ACEOF
15885 /* confdefs.h. */
15886 _ACEOF
15887 cat confdefs.h >>conftest.$ac_ext
15888 cat >>conftest.$ac_ext <<_ACEOF
15889 /* end confdefs.h. */
15890
15891 int
15892 main ()
15893 {
15894
15895 ;
15896 return 0;
15897 }
15898 _ACEOF
15899 rm -f conftest.$ac_objext
15900 if { (ac_try="$ac_compile"
15901 case "(($ac_try" in
15902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15903 *) ac_try_echo=$ac_try;;
15904 esac
15905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15906 (eval "$ac_compile") 2>conftest.er1
15907 ac_status=$?
15908 grep -v '^ *+' conftest.er1 >conftest.err
15909 rm -f conftest.er1
15910 cat conftest.err >&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } && {
15913 test -z "$ac_c_werror_flag" ||
15914 test ! -s conftest.err
15915 } && test -s conftest.$ac_objext; then
15916 :
15917 else
15918 echo "$as_me: failed program was:" >&5
15919 sed 's/^/| /' conftest.$ac_ext >&5
15920
15921 ac_c_werror_flag=$ac_save_c_werror_flag
15922 CFLAGS="-g"
15923 cat >conftest.$ac_ext <<_ACEOF
15924 /* confdefs.h. */
15925 _ACEOF
15926 cat confdefs.h >>conftest.$ac_ext
15927 cat >>conftest.$ac_ext <<_ACEOF
15928 /* end confdefs.h. */
15929
15930 int
15931 main ()
15932 {
15933
15934 ;
15935 return 0;
15936 }
15937 _ACEOF
15938 rm -f conftest.$ac_objext
15939 if { (ac_try="$ac_compile"
15940 case "(($ac_try" in
15941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15942 *) ac_try_echo=$ac_try;;
15943 esac
15944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15945 (eval "$ac_compile") 2>conftest.er1
15946 ac_status=$?
15947 grep -v '^ *+' conftest.er1 >conftest.err
15948 rm -f conftest.er1
15949 cat conftest.err >&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); } && {
15952 test -z "$ac_c_werror_flag" ||
15953 test ! -s conftest.err
15954 } && test -s conftest.$ac_objext; then
15955 ac_cv_prog_cc_g=yes
15956 else
15957 echo "$as_me: failed program was:" >&5
15958 sed 's/^/| /' conftest.$ac_ext >&5
15959
15960
15961 fi
15962
15963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15964 fi
15965
15966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15967 fi
15968
15969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15970 ac_c_werror_flag=$ac_save_c_werror_flag
15971 fi
15972 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15973 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15974 if test "$ac_test_CFLAGS" = set; then
15975 CFLAGS=$ac_save_CFLAGS
15976 elif test $ac_cv_prog_cc_g = yes; then
15977 if test "$GCC" = yes; then
15978 CFLAGS="-g -O2"
15979 else
15980 CFLAGS="-g"
15981 fi
15982 else
15983 if test "$GCC" = yes; then
15984 CFLAGS="-O2"
15985 else
15986 CFLAGS=
15987 fi
15988 fi
15989 fi
15990 fi
15991
15992 case `uname -s` in
15993 AIX*)
15994
15995
15996 ac_ext=c
15997 ac_cpp='$CPP $CPPFLAGS'
15998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16001
16002 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16003 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16004 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16005 echo $ECHO_N "(cached) $ECHO_C" >&6
16006 else
16007 cat >conftest.$ac_ext <<_ACEOF
16008 /* confdefs.h. */
16009 _ACEOF
16010 cat confdefs.h >>conftest.$ac_ext
16011 cat >>conftest.$ac_ext <<_ACEOF
16012 /* end confdefs.h. */
16013
16014 int
16015 main ()
16016 {
16017
16018 #ifndef __xlC__
16019 choke me
16020 #endif
16021
16022 ;
16023 return 0;
16024 }
16025 _ACEOF
16026 rm -f conftest.$ac_objext
16027 if { (ac_try="$ac_compile"
16028 case "(($ac_try" in
16029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16030 *) ac_try_echo=$ac_try;;
16031 esac
16032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16033 (eval "$ac_compile") 2>conftest.er1
16034 ac_status=$?
16035 grep -v '^ *+' conftest.er1 >conftest.err
16036 rm -f conftest.er1
16037 cat conftest.err >&5
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); } && {
16040 test -z "$ac_c_werror_flag" ||
16041 test ! -s conftest.err
16042 } && test -s conftest.$ac_objext; then
16043 bakefile_cv_c_compiler___xlC__=yes
16044 else
16045 echo "$as_me: failed program was:" >&5
16046 sed 's/^/| /' conftest.$ac_ext >&5
16047
16048 bakefile_cv_c_compiler___xlC__=no
16049
16050 fi
16051
16052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16053
16054
16055 fi
16056 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16057 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16058 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16059 :; XLCC=yes
16060 else
16061 :;
16062 fi
16063 ac_ext=c
16064 ac_cpp='$CPP $CPPFLAGS'
16065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16068
16069
16070
16071 ;;
16072
16073 Darwin)
16074
16075
16076 ac_ext=c
16077 ac_cpp='$CPP $CPPFLAGS'
16078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16081
16082 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16083 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16084 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16085 echo $ECHO_N "(cached) $ECHO_C" >&6
16086 else
16087 cat >conftest.$ac_ext <<_ACEOF
16088 /* confdefs.h. */
16089 _ACEOF
16090 cat confdefs.h >>conftest.$ac_ext
16091 cat >>conftest.$ac_ext <<_ACEOF
16092 /* end confdefs.h. */
16093
16094 int
16095 main ()
16096 {
16097
16098 #ifndef __MWERKS__
16099 choke me
16100 #endif
16101
16102 ;
16103 return 0;
16104 }
16105 _ACEOF
16106 rm -f conftest.$ac_objext
16107 if { (ac_try="$ac_compile"
16108 case "(($ac_try" in
16109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16110 *) ac_try_echo=$ac_try;;
16111 esac
16112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16113 (eval "$ac_compile") 2>conftest.er1
16114 ac_status=$?
16115 grep -v '^ *+' conftest.er1 >conftest.err
16116 rm -f conftest.er1
16117 cat conftest.err >&5
16118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16119 (exit $ac_status); } && {
16120 test -z "$ac_c_werror_flag" ||
16121 test ! -s conftest.err
16122 } && test -s conftest.$ac_objext; then
16123 bakefile_cv_c_compiler___MWERKS__=yes
16124 else
16125 echo "$as_me: failed program was:" >&5
16126 sed 's/^/| /' conftest.$ac_ext >&5
16127
16128 bakefile_cv_c_compiler___MWERKS__=no
16129
16130 fi
16131
16132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16133
16134
16135 fi
16136 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16137 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16138 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16139 :; MWCC=yes
16140 else
16141 :;
16142 fi
16143 ac_ext=c
16144 ac_cpp='$CPP $CPPFLAGS'
16145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16148
16149
16150
16151 if test "$MWCC" != "yes"; then
16152
16153
16154 ac_ext=c
16155 ac_cpp='$CPP $CPPFLAGS'
16156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16159
16160 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16161 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16162 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16163 echo $ECHO_N "(cached) $ECHO_C" >&6
16164 else
16165 cat >conftest.$ac_ext <<_ACEOF
16166 /* confdefs.h. */
16167 _ACEOF
16168 cat confdefs.h >>conftest.$ac_ext
16169 cat >>conftest.$ac_ext <<_ACEOF
16170 /* end confdefs.h. */
16171
16172 int
16173 main ()
16174 {
16175
16176 #ifndef __xlC__
16177 choke me
16178 #endif
16179
16180 ;
16181 return 0;
16182 }
16183 _ACEOF
16184 rm -f conftest.$ac_objext
16185 if { (ac_try="$ac_compile"
16186 case "(($ac_try" in
16187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16188 *) ac_try_echo=$ac_try;;
16189 esac
16190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16191 (eval "$ac_compile") 2>conftest.er1
16192 ac_status=$?
16193 grep -v '^ *+' conftest.er1 >conftest.err
16194 rm -f conftest.er1
16195 cat conftest.err >&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); } && {
16198 test -z "$ac_c_werror_flag" ||
16199 test ! -s conftest.err
16200 } && test -s conftest.$ac_objext; then
16201 bakefile_cv_c_compiler___xlC__=yes
16202 else
16203 echo "$as_me: failed program was:" >&5
16204 sed 's/^/| /' conftest.$ac_ext >&5
16205
16206 bakefile_cv_c_compiler___xlC__=no
16207
16208 fi
16209
16210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16211
16212
16213 fi
16214 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16215 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16216 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16217 :; XLCC=yes
16218 else
16219 :;
16220 fi
16221 ac_ext=c
16222 ac_cpp='$CPP $CPPFLAGS'
16223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16226
16227
16228
16229 fi
16230 ;;
16231
16232 IRIX*)
16233
16234
16235 ac_ext=c
16236 ac_cpp='$CPP $CPPFLAGS'
16237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16240
16241 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16242 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16243 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16244 echo $ECHO_N "(cached) $ECHO_C" >&6
16245 else
16246 cat >conftest.$ac_ext <<_ACEOF
16247 /* confdefs.h. */
16248 _ACEOF
16249 cat confdefs.h >>conftest.$ac_ext
16250 cat >>conftest.$ac_ext <<_ACEOF
16251 /* end confdefs.h. */
16252
16253 int
16254 main ()
16255 {
16256
16257 #ifndef _SGI_COMPILER_VERSION
16258 choke me
16259 #endif
16260
16261 ;
16262 return 0;
16263 }
16264 _ACEOF
16265 rm -f conftest.$ac_objext
16266 if { (ac_try="$ac_compile"
16267 case "(($ac_try" in
16268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16269 *) ac_try_echo=$ac_try;;
16270 esac
16271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16272 (eval "$ac_compile") 2>conftest.er1
16273 ac_status=$?
16274 grep -v '^ *+' conftest.er1 >conftest.err
16275 rm -f conftest.er1
16276 cat conftest.err >&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); } && {
16279 test -z "$ac_c_werror_flag" ||
16280 test ! -s conftest.err
16281 } && test -s conftest.$ac_objext; then
16282 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16283 else
16284 echo "$as_me: failed program was:" >&5
16285 sed 's/^/| /' conftest.$ac_ext >&5
16286
16287 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16288
16289 fi
16290
16291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16292
16293
16294 fi
16295 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16296 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16297 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16298 :; SGICC=yes
16299 else
16300 :;
16301 fi
16302 ac_ext=c
16303 ac_cpp='$CPP $CPPFLAGS'
16304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16307
16308
16309
16310 ;;
16311
16312 Linux*)
16313 if test "$INTELCC" != "yes"; then
16314
16315
16316 ac_ext=c
16317 ac_cpp='$CPP $CPPFLAGS'
16318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16321
16322 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16323 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16324 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16325 echo $ECHO_N "(cached) $ECHO_C" >&6
16326 else
16327 cat >conftest.$ac_ext <<_ACEOF
16328 /* confdefs.h. */
16329 _ACEOF
16330 cat confdefs.h >>conftest.$ac_ext
16331 cat >>conftest.$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16333
16334 int
16335 main ()
16336 {
16337
16338 #ifndef __SUNPRO_C
16339 choke me
16340 #endif
16341
16342 ;
16343 return 0;
16344 }
16345 _ACEOF
16346 rm -f conftest.$ac_objext
16347 if { (ac_try="$ac_compile"
16348 case "(($ac_try" in
16349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16350 *) ac_try_echo=$ac_try;;
16351 esac
16352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16353 (eval "$ac_compile") 2>conftest.er1
16354 ac_status=$?
16355 grep -v '^ *+' conftest.er1 >conftest.err
16356 rm -f conftest.er1
16357 cat conftest.err >&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); } && {
16360 test -z "$ac_c_werror_flag" ||
16361 test ! -s conftest.err
16362 } && test -s conftest.$ac_objext; then
16363 bakefile_cv_c_compiler___SUNPRO_C=yes
16364 else
16365 echo "$as_me: failed program was:" >&5
16366 sed 's/^/| /' conftest.$ac_ext >&5
16367
16368 bakefile_cv_c_compiler___SUNPRO_C=no
16369
16370 fi
16371
16372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16373
16374
16375 fi
16376 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16377 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16378 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16379 :; SUNCC=yes
16380 else
16381 :;
16382 fi
16383 ac_ext=c
16384 ac_cpp='$CPP $CPPFLAGS'
16385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16388
16389
16390
16391 fi
16392 ;;
16393
16394 HP-UX*)
16395
16396
16397 ac_ext=c
16398 ac_cpp='$CPP $CPPFLAGS'
16399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16402
16403 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16404 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16405 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16406 echo $ECHO_N "(cached) $ECHO_C" >&6
16407 else
16408 cat >conftest.$ac_ext <<_ACEOF
16409 /* confdefs.h. */
16410 _ACEOF
16411 cat confdefs.h >>conftest.$ac_ext
16412 cat >>conftest.$ac_ext <<_ACEOF
16413 /* end confdefs.h. */
16414
16415 int
16416 main ()
16417 {
16418
16419 #ifndef __HP_cc
16420 choke me
16421 #endif
16422
16423 ;
16424 return 0;
16425 }
16426 _ACEOF
16427 rm -f conftest.$ac_objext
16428 if { (ac_try="$ac_compile"
16429 case "(($ac_try" in
16430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16431 *) ac_try_echo=$ac_try;;
16432 esac
16433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16434 (eval "$ac_compile") 2>conftest.er1
16435 ac_status=$?
16436 grep -v '^ *+' conftest.er1 >conftest.err
16437 rm -f conftest.er1
16438 cat conftest.err >&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } && {
16441 test -z "$ac_c_werror_flag" ||
16442 test ! -s conftest.err
16443 } && test -s conftest.$ac_objext; then
16444 bakefile_cv_c_compiler___HP_cc=yes
16445 else
16446 echo "$as_me: failed program was:" >&5
16447 sed 's/^/| /' conftest.$ac_ext >&5
16448
16449 bakefile_cv_c_compiler___HP_cc=no
16450
16451 fi
16452
16453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16454
16455
16456 fi
16457 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16458 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16459 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16460 :; HPCC=yes
16461 else
16462 :;
16463 fi
16464 ac_ext=c
16465 ac_cpp='$CPP $CPPFLAGS'
16466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16469
16470
16471
16472 ;;
16473
16474 OSF1)
16475
16476
16477 ac_ext=c
16478 ac_cpp='$CPP $CPPFLAGS'
16479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16482
16483 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16484 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16485 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16486 echo $ECHO_N "(cached) $ECHO_C" >&6
16487 else
16488 cat >conftest.$ac_ext <<_ACEOF
16489 /* confdefs.h. */
16490 _ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494
16495 int
16496 main ()
16497 {
16498
16499 #ifndef __DECC
16500 choke me
16501 #endif
16502
16503 ;
16504 return 0;
16505 }
16506 _ACEOF
16507 rm -f conftest.$ac_objext
16508 if { (ac_try="$ac_compile"
16509 case "(($ac_try" in
16510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16511 *) ac_try_echo=$ac_try;;
16512 esac
16513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16514 (eval "$ac_compile") 2>conftest.er1
16515 ac_status=$?
16516 grep -v '^ *+' conftest.er1 >conftest.err
16517 rm -f conftest.er1
16518 cat conftest.err >&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); } && {
16521 test -z "$ac_c_werror_flag" ||
16522 test ! -s conftest.err
16523 } && test -s conftest.$ac_objext; then
16524 bakefile_cv_c_compiler___DECC=yes
16525 else
16526 echo "$as_me: failed program was:" >&5
16527 sed 's/^/| /' conftest.$ac_ext >&5
16528
16529 bakefile_cv_c_compiler___DECC=no
16530
16531 fi
16532
16533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16534
16535
16536 fi
16537 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16538 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16539 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16540 :; COMPAQCC=yes
16541 else
16542 :;
16543 fi
16544 ac_ext=c
16545 ac_cpp='$CPP $CPPFLAGS'
16546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16549
16550
16551
16552 ;;
16553
16554 SunOS)
16555
16556
16557 ac_ext=c
16558 ac_cpp='$CPP $CPPFLAGS'
16559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16562
16563 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16564 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16565 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16566 echo $ECHO_N "(cached) $ECHO_C" >&6
16567 else
16568 cat >conftest.$ac_ext <<_ACEOF
16569 /* confdefs.h. */
16570 _ACEOF
16571 cat confdefs.h >>conftest.$ac_ext
16572 cat >>conftest.$ac_ext <<_ACEOF
16573 /* end confdefs.h. */
16574
16575 int
16576 main ()
16577 {
16578
16579 #ifndef __SUNPRO_C
16580 choke me
16581 #endif
16582
16583 ;
16584 return 0;
16585 }
16586 _ACEOF
16587 rm -f conftest.$ac_objext
16588 if { (ac_try="$ac_compile"
16589 case "(($ac_try" in
16590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16591 *) ac_try_echo=$ac_try;;
16592 esac
16593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16594 (eval "$ac_compile") 2>conftest.er1
16595 ac_status=$?
16596 grep -v '^ *+' conftest.er1 >conftest.err
16597 rm -f conftest.er1
16598 cat conftest.err >&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } && {
16601 test -z "$ac_c_werror_flag" ||
16602 test ! -s conftest.err
16603 } && test -s conftest.$ac_objext; then
16604 bakefile_cv_c_compiler___SUNPRO_C=yes
16605 else
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.$ac_ext >&5
16608
16609 bakefile_cv_c_compiler___SUNPRO_C=no
16610
16611 fi
16612
16613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16614
16615
16616 fi
16617 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16618 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16619 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16620 :; SUNCC=yes
16621 else
16622 :;
16623 fi
16624 ac_ext=c
16625 ac_cpp='$CPP $CPPFLAGS'
16626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16629
16630
16631
16632 ;;
16633 esac
16634 fi
16635
16636
16637
16638 ac_ext=c
16639 ac_cpp='$CPP $CPPFLAGS'
16640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16643 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16644 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16645 # On Suns, sometimes $CPP names a directory.
16646 if test -n "$CPP" && test -d "$CPP"; then
16647 CPP=
16648 fi
16649 if test -z "$CPP"; then
16650 if test "${ac_cv_prog_CPP+set}" = set; then
16651 echo $ECHO_N "(cached) $ECHO_C" >&6
16652 else
16653 # Double quotes because CPP needs to be expanded
16654 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16655 do
16656 ac_preproc_ok=false
16657 for ac_c_preproc_warn_flag in '' yes
16658 do
16659 # Use a header file that comes with gcc, so configuring glibc
16660 # with a fresh cross-compiler works.
16661 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16662 # <limits.h> exists even on freestanding compilers.
16663 # On the NeXT, cc -E runs the code through the compiler's parser,
16664 # not just through cpp. "Syntax error" is here to catch this case.
16665 cat >conftest.$ac_ext <<_ACEOF
16666 /* confdefs.h. */
16667 _ACEOF
16668 cat confdefs.h >>conftest.$ac_ext
16669 cat >>conftest.$ac_ext <<_ACEOF
16670 /* end confdefs.h. */
16671 #ifdef __STDC__
16672 # include <limits.h>
16673 #else
16674 # include <assert.h>
16675 #endif
16676 Syntax error
16677 _ACEOF
16678 if { (ac_try="$ac_cpp conftest.$ac_ext"
16679 case "(($ac_try" in
16680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16681 *) ac_try_echo=$ac_try;;
16682 esac
16683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16684 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16685 ac_status=$?
16686 grep -v '^ *+' conftest.er1 >conftest.err
16687 rm -f conftest.er1
16688 cat conftest.err >&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); } >/dev/null && {
16691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16692 test ! -s conftest.err
16693 }; then
16694 :
16695 else
16696 echo "$as_me: failed program was:" >&5
16697 sed 's/^/| /' conftest.$ac_ext >&5
16698
16699 # Broken: fails on valid input.
16700 continue
16701 fi
16702
16703 rm -f conftest.err conftest.$ac_ext
16704
16705 # OK, works on sane cases. Now check whether nonexistent headers
16706 # can be detected and how.
16707 cat >conftest.$ac_ext <<_ACEOF
16708 /* confdefs.h. */
16709 _ACEOF
16710 cat confdefs.h >>conftest.$ac_ext
16711 cat >>conftest.$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16713 #include <ac_nonexistent.h>
16714 _ACEOF
16715 if { (ac_try="$ac_cpp conftest.$ac_ext"
16716 case "(($ac_try" in
16717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16718 *) ac_try_echo=$ac_try;;
16719 esac
16720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16722 ac_status=$?
16723 grep -v '^ *+' conftest.er1 >conftest.err
16724 rm -f conftest.er1
16725 cat conftest.err >&5
16726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 (exit $ac_status); } >/dev/null && {
16728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16729 test ! -s conftest.err
16730 }; then
16731 # Broken: success on invalid input.
16732 continue
16733 else
16734 echo "$as_me: failed program was:" >&5
16735 sed 's/^/| /' conftest.$ac_ext >&5
16736
16737 # Passes both tests.
16738 ac_preproc_ok=:
16739 break
16740 fi
16741
16742 rm -f conftest.err conftest.$ac_ext
16743
16744 done
16745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16746 rm -f conftest.err conftest.$ac_ext
16747 if $ac_preproc_ok; then
16748 break
16749 fi
16750
16751 done
16752 ac_cv_prog_CPP=$CPP
16753
16754 fi
16755 CPP=$ac_cv_prog_CPP
16756 else
16757 ac_cv_prog_CPP=$CPP
16758 fi
16759 { echo "$as_me:$LINENO: result: $CPP" >&5
16760 echo "${ECHO_T}$CPP" >&6; }
16761 ac_preproc_ok=false
16762 for ac_c_preproc_warn_flag in '' yes
16763 do
16764 # Use a header file that comes with gcc, so configuring glibc
16765 # with a fresh cross-compiler works.
16766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16767 # <limits.h> exists even on freestanding compilers.
16768 # On the NeXT, cc -E runs the code through the compiler's parser,
16769 # not just through cpp. "Syntax error" is here to catch this case.
16770 cat >conftest.$ac_ext <<_ACEOF
16771 /* confdefs.h. */
16772 _ACEOF
16773 cat confdefs.h >>conftest.$ac_ext
16774 cat >>conftest.$ac_ext <<_ACEOF
16775 /* end confdefs.h. */
16776 #ifdef __STDC__
16777 # include <limits.h>
16778 #else
16779 # include <assert.h>
16780 #endif
16781 Syntax error
16782 _ACEOF
16783 if { (ac_try="$ac_cpp conftest.$ac_ext"
16784 case "(($ac_try" in
16785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16786 *) ac_try_echo=$ac_try;;
16787 esac
16788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16790 ac_status=$?
16791 grep -v '^ *+' conftest.er1 >conftest.err
16792 rm -f conftest.er1
16793 cat conftest.err >&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); } >/dev/null && {
16796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16797 test ! -s conftest.err
16798 }; then
16799 :
16800 else
16801 echo "$as_me: failed program was:" >&5
16802 sed 's/^/| /' conftest.$ac_ext >&5
16803
16804 # Broken: fails on valid input.
16805 continue
16806 fi
16807
16808 rm -f conftest.err conftest.$ac_ext
16809
16810 # OK, works on sane cases. Now check whether nonexistent headers
16811 # can be detected and how.
16812 cat >conftest.$ac_ext <<_ACEOF
16813 /* confdefs.h. */
16814 _ACEOF
16815 cat confdefs.h >>conftest.$ac_ext
16816 cat >>conftest.$ac_ext <<_ACEOF
16817 /* end confdefs.h. */
16818 #include <ac_nonexistent.h>
16819 _ACEOF
16820 if { (ac_try="$ac_cpp conftest.$ac_ext"
16821 case "(($ac_try" in
16822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16823 *) ac_try_echo=$ac_try;;
16824 esac
16825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16827 ac_status=$?
16828 grep -v '^ *+' conftest.er1 >conftest.err
16829 rm -f conftest.er1
16830 cat conftest.err >&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); } >/dev/null && {
16833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16834 test ! -s conftest.err
16835 }; then
16836 # Broken: success on invalid input.
16837 continue
16838 else
16839 echo "$as_me: failed program was:" >&5
16840 sed 's/^/| /' conftest.$ac_ext >&5
16841
16842 # Passes both tests.
16843 ac_preproc_ok=:
16844 break
16845 fi
16846
16847 rm -f conftest.err conftest.$ac_ext
16848
16849 done
16850 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16851 rm -f conftest.err conftest.$ac_ext
16852 if $ac_preproc_ok; then
16853 :
16854 else
16855 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16856 See \`config.log' for more details." >&5
16857 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16858 See \`config.log' for more details." >&2;}
16859 { (exit 1); exit 1; }; }
16860 fi
16861
16862 ac_ext=c
16863 ac_cpp='$CPP $CPPFLAGS'
16864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16867
16868
16869 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16870 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16871 if test "${ac_cv_path_GREP+set}" = set; then
16872 echo $ECHO_N "(cached) $ECHO_C" >&6
16873 else
16874 # Extract the first word of "grep ggrep" to use in msg output
16875 if test -z "$GREP"; then
16876 set dummy grep ggrep; ac_prog_name=$2
16877 if test "${ac_cv_path_GREP+set}" = set; then
16878 echo $ECHO_N "(cached) $ECHO_C" >&6
16879 else
16880 ac_path_GREP_found=false
16881 # Loop through the user's path and test for each of PROGNAME-LIST
16882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16883 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16884 do
16885 IFS=$as_save_IFS
16886 test -z "$as_dir" && as_dir=.
16887 for ac_prog in grep ggrep; do
16888 for ac_exec_ext in '' $ac_executable_extensions; do
16889 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16890 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16891 # Check for GNU ac_path_GREP and select it if it is found.
16892 # Check for GNU $ac_path_GREP
16893 case `"$ac_path_GREP" --version 2>&1` in
16894 *GNU*)
16895 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16896 *)
16897 ac_count=0
16898 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16899 while :
16900 do
16901 cat "conftest.in" "conftest.in" >"conftest.tmp"
16902 mv "conftest.tmp" "conftest.in"
16903 cp "conftest.in" "conftest.nl"
16904 echo 'GREP' >> "conftest.nl"
16905 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16906 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16907 ac_count=`expr $ac_count + 1`
16908 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16909 # Best one so far, save it but keep looking for a better one
16910 ac_cv_path_GREP="$ac_path_GREP"
16911 ac_path_GREP_max=$ac_count
16912 fi
16913 # 10*(2^10) chars as input seems more than enough
16914 test $ac_count -gt 10 && break
16915 done
16916 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16917 esac
16918
16919
16920 $ac_path_GREP_found && break 3
16921 done
16922 done
16923
16924 done
16925 IFS=$as_save_IFS
16926
16927
16928 fi
16929
16930 GREP="$ac_cv_path_GREP"
16931 if test -z "$GREP"; then
16932 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16933 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16934 { (exit 1); exit 1; }; }
16935 fi
16936
16937 else
16938 ac_cv_path_GREP=$GREP
16939 fi
16940
16941
16942 fi
16943 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16944 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16945 GREP="$ac_cv_path_GREP"
16946
16947
16948 { echo "$as_me:$LINENO: checking for egrep" >&5
16949 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16950 if test "${ac_cv_path_EGREP+set}" = set; then
16951 echo $ECHO_N "(cached) $ECHO_C" >&6
16952 else
16953 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16954 then ac_cv_path_EGREP="$GREP -E"
16955 else
16956 # Extract the first word of "egrep" to use in msg output
16957 if test -z "$EGREP"; then
16958 set dummy egrep; ac_prog_name=$2
16959 if test "${ac_cv_path_EGREP+set}" = set; then
16960 echo $ECHO_N "(cached) $ECHO_C" >&6
16961 else
16962 ac_path_EGREP_found=false
16963 # Loop through the user's path and test for each of PROGNAME-LIST
16964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16965 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16966 do
16967 IFS=$as_save_IFS
16968 test -z "$as_dir" && as_dir=.
16969 for ac_prog in egrep; do
16970 for ac_exec_ext in '' $ac_executable_extensions; do
16971 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16972 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16973 # Check for GNU ac_path_EGREP and select it if it is found.
16974 # Check for GNU $ac_path_EGREP
16975 case `"$ac_path_EGREP" --version 2>&1` in
16976 *GNU*)
16977 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16978 *)
16979 ac_count=0
16980 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16981 while :
16982 do
16983 cat "conftest.in" "conftest.in" >"conftest.tmp"
16984 mv "conftest.tmp" "conftest.in"
16985 cp "conftest.in" "conftest.nl"
16986 echo 'EGREP' >> "conftest.nl"
16987 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16988 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16989 ac_count=`expr $ac_count + 1`
16990 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16991 # Best one so far, save it but keep looking for a better one
16992 ac_cv_path_EGREP="$ac_path_EGREP"
16993 ac_path_EGREP_max=$ac_count
16994 fi
16995 # 10*(2^10) chars as input seems more than enough
16996 test $ac_count -gt 10 && break
16997 done
16998 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16999 esac
17000
17001
17002 $ac_path_EGREP_found && break 3
17003 done
17004 done
17005
17006 done
17007 IFS=$as_save_IFS
17008
17009
17010 fi
17011
17012 EGREP="$ac_cv_path_EGREP"
17013 if test -z "$EGREP"; then
17014 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17015 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17016 { (exit 1); exit 1; }; }
17017 fi
17018
17019 else
17020 ac_cv_path_EGREP=$EGREP
17021 fi
17022
17023
17024 fi
17025 fi
17026 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17027 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17028 EGREP="$ac_cv_path_EGREP"
17029
17030
17031 if test $ac_cv_c_compiler_gnu = yes; then
17032 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17033 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17034 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17035 echo $ECHO_N "(cached) $ECHO_C" >&6
17036 else
17037 ac_pattern="Autoconf.*'x'"
17038 cat >conftest.$ac_ext <<_ACEOF
17039 /* confdefs.h. */
17040 _ACEOF
17041 cat confdefs.h >>conftest.$ac_ext
17042 cat >>conftest.$ac_ext <<_ACEOF
17043 /* end confdefs.h. */
17044 #include <sgtty.h>
17045 Autoconf TIOCGETP
17046 _ACEOF
17047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17048 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17049 ac_cv_prog_gcc_traditional=yes
17050 else
17051 ac_cv_prog_gcc_traditional=no
17052 fi
17053 rm -f conftest*
17054
17055
17056 if test $ac_cv_prog_gcc_traditional = no; then
17057 cat >conftest.$ac_ext <<_ACEOF
17058 /* confdefs.h. */
17059 _ACEOF
17060 cat confdefs.h >>conftest.$ac_ext
17061 cat >>conftest.$ac_ext <<_ACEOF
17062 /* end confdefs.h. */
17063 #include <termio.h>
17064 Autoconf TCGETA
17065 _ACEOF
17066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17067 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17068 ac_cv_prog_gcc_traditional=yes
17069 fi
17070 rm -f conftest*
17071
17072 fi
17073 fi
17074 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17075 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17076 if test $ac_cv_prog_gcc_traditional = yes; then
17077 CC="$CC -traditional"
17078 fi
17079 fi
17080
17081
17082 CXXFLAGS=${CXXFLAGS:=}
17083 ac_ext=cpp
17084 ac_cpp='$CXXCPP $CPPFLAGS'
17085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17088 if test -z "$CXX"; then
17089 if test -n "$CCC"; then
17090 CXX=$CCC
17091 else
17092 if test -n "$ac_tool_prefix"; then
17093 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17094 do
17095 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17096 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17097 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17099 if test "${ac_cv_prog_CXX+set}" = set; then
17100 echo $ECHO_N "(cached) $ECHO_C" >&6
17101 else
17102 if test -n "$CXX"; then
17103 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17104 else
17105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17106 for as_dir in $PATH
17107 do
17108 IFS=$as_save_IFS
17109 test -z "$as_dir" && as_dir=.
17110 for ac_exec_ext in '' $ac_executable_extensions; do
17111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17112 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17114 break 2
17115 fi
17116 done
17117 done
17118 IFS=$as_save_IFS
17119
17120 fi
17121 fi
17122 CXX=$ac_cv_prog_CXX
17123 if test -n "$CXX"; then
17124 { echo "$as_me:$LINENO: result: $CXX" >&5
17125 echo "${ECHO_T}$CXX" >&6; }
17126 else
17127 { echo "$as_me:$LINENO: result: no" >&5
17128 echo "${ECHO_T}no" >&6; }
17129 fi
17130
17131
17132 test -n "$CXX" && break
17133 done
17134 fi
17135 if test -z "$CXX"; then
17136 ac_ct_CXX=$CXX
17137 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17138 do
17139 # Extract the first word of "$ac_prog", so it can be a program name with args.
17140 set dummy $ac_prog; ac_word=$2
17141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17143 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17144 echo $ECHO_N "(cached) $ECHO_C" >&6
17145 else
17146 if test -n "$ac_ct_CXX"; then
17147 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17148 else
17149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17150 for as_dir in $PATH
17151 do
17152 IFS=$as_save_IFS
17153 test -z "$as_dir" && as_dir=.
17154 for ac_exec_ext in '' $ac_executable_extensions; do
17155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17156 ac_cv_prog_ac_ct_CXX="$ac_prog"
17157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17158 break 2
17159 fi
17160 done
17161 done
17162 IFS=$as_save_IFS
17163
17164 fi
17165 fi
17166 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17167 if test -n "$ac_ct_CXX"; then
17168 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17169 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17170 else
17171 { echo "$as_me:$LINENO: result: no" >&5
17172 echo "${ECHO_T}no" >&6; }
17173 fi
17174
17175
17176 test -n "$ac_ct_CXX" && break
17177 done
17178
17179 if test "x$ac_ct_CXX" = x; then
17180 CXX="g++"
17181 else
17182 case $cross_compiling:$ac_tool_warned in
17183 yes:)
17184 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17185 whose name does not start with the host triplet. If you think this
17186 configuration is useful to you, please write to autoconf@gnu.org." >&5
17187 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17188 whose name does not start with the host triplet. If you think this
17189 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17190 ac_tool_warned=yes ;;
17191 esac
17192 CXX=$ac_ct_CXX
17193 fi
17194 fi
17195
17196 fi
17197 fi
17198 # Provide some information about the compiler.
17199 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17200 ac_compiler=`set X $ac_compile; echo $2`
17201 { (ac_try="$ac_compiler --version >&5"
17202 case "(($ac_try" in
17203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17204 *) ac_try_echo=$ac_try;;
17205 esac
17206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17207 (eval "$ac_compiler --version >&5") 2>&5
17208 ac_status=$?
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); }
17211 { (ac_try="$ac_compiler -v >&5"
17212 case "(($ac_try" in
17213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17214 *) ac_try_echo=$ac_try;;
17215 esac
17216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17217 (eval "$ac_compiler -v >&5") 2>&5
17218 ac_status=$?
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); }
17221 { (ac_try="$ac_compiler -V >&5"
17222 case "(($ac_try" in
17223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17224 *) ac_try_echo=$ac_try;;
17225 esac
17226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17227 (eval "$ac_compiler -V >&5") 2>&5
17228 ac_status=$?
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); }
17231
17232 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17233 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17234 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17236 else
17237 cat >conftest.$ac_ext <<_ACEOF
17238 /* confdefs.h. */
17239 _ACEOF
17240 cat confdefs.h >>conftest.$ac_ext
17241 cat >>conftest.$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17243
17244 int
17245 main ()
17246 {
17247 #ifndef __GNUC__
17248 choke me
17249 #endif
17250
17251 ;
17252 return 0;
17253 }
17254 _ACEOF
17255 rm -f conftest.$ac_objext
17256 if { (ac_try="$ac_compile"
17257 case "(($ac_try" in
17258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17259 *) ac_try_echo=$ac_try;;
17260 esac
17261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17262 (eval "$ac_compile") 2>conftest.er1
17263 ac_status=$?
17264 grep -v '^ *+' conftest.er1 >conftest.err
17265 rm -f conftest.er1
17266 cat conftest.err >&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } && {
17269 test -z "$ac_cxx_werror_flag" ||
17270 test ! -s conftest.err
17271 } && test -s conftest.$ac_objext; then
17272 ac_compiler_gnu=yes
17273 else
17274 echo "$as_me: failed program was:" >&5
17275 sed 's/^/| /' conftest.$ac_ext >&5
17276
17277 ac_compiler_gnu=no
17278 fi
17279
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17281 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17282
17283 fi
17284 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17285 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17286 GXX=`test $ac_compiler_gnu = yes && echo yes`
17287 ac_test_CXXFLAGS=${CXXFLAGS+set}
17288 ac_save_CXXFLAGS=$CXXFLAGS
17289 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17290 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17291 if test "${ac_cv_prog_cxx_g+set}" = set; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17293 else
17294 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17295 ac_cxx_werror_flag=yes
17296 ac_cv_prog_cxx_g=no
17297 CXXFLAGS="-g"
17298 cat >conftest.$ac_ext <<_ACEOF
17299 /* confdefs.h. */
17300 _ACEOF
17301 cat confdefs.h >>conftest.$ac_ext
17302 cat >>conftest.$ac_ext <<_ACEOF
17303 /* end confdefs.h. */
17304
17305 int
17306 main ()
17307 {
17308
17309 ;
17310 return 0;
17311 }
17312 _ACEOF
17313 rm -f conftest.$ac_objext
17314 if { (ac_try="$ac_compile"
17315 case "(($ac_try" in
17316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17317 *) ac_try_echo=$ac_try;;
17318 esac
17319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17320 (eval "$ac_compile") 2>conftest.er1
17321 ac_status=$?
17322 grep -v '^ *+' conftest.er1 >conftest.err
17323 rm -f conftest.er1
17324 cat conftest.err >&5
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); } && {
17327 test -z "$ac_cxx_werror_flag" ||
17328 test ! -s conftest.err
17329 } && test -s conftest.$ac_objext; then
17330 ac_cv_prog_cxx_g=yes
17331 else
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.$ac_ext >&5
17334
17335 CXXFLAGS=""
17336 cat >conftest.$ac_ext <<_ACEOF
17337 /* confdefs.h. */
17338 _ACEOF
17339 cat confdefs.h >>conftest.$ac_ext
17340 cat >>conftest.$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17342
17343 int
17344 main ()
17345 {
17346
17347 ;
17348 return 0;
17349 }
17350 _ACEOF
17351 rm -f conftest.$ac_objext
17352 if { (ac_try="$ac_compile"
17353 case "(($ac_try" in
17354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17355 *) ac_try_echo=$ac_try;;
17356 esac
17357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17358 (eval "$ac_compile") 2>conftest.er1
17359 ac_status=$?
17360 grep -v '^ *+' conftest.er1 >conftest.err
17361 rm -f conftest.er1
17362 cat conftest.err >&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); } && {
17365 test -z "$ac_cxx_werror_flag" ||
17366 test ! -s conftest.err
17367 } && test -s conftest.$ac_objext; then
17368 :
17369 else
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.$ac_ext >&5
17372
17373 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17374 CXXFLAGS="-g"
17375 cat >conftest.$ac_ext <<_ACEOF
17376 /* confdefs.h. */
17377 _ACEOF
17378 cat confdefs.h >>conftest.$ac_ext
17379 cat >>conftest.$ac_ext <<_ACEOF
17380 /* end confdefs.h. */
17381
17382 int
17383 main ()
17384 {
17385
17386 ;
17387 return 0;
17388 }
17389 _ACEOF
17390 rm -f conftest.$ac_objext
17391 if { (ac_try="$ac_compile"
17392 case "(($ac_try" in
17393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17394 *) ac_try_echo=$ac_try;;
17395 esac
17396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17397 (eval "$ac_compile") 2>conftest.er1
17398 ac_status=$?
17399 grep -v '^ *+' conftest.er1 >conftest.err
17400 rm -f conftest.er1
17401 cat conftest.err >&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } && {
17404 test -z "$ac_cxx_werror_flag" ||
17405 test ! -s conftest.err
17406 } && test -s conftest.$ac_objext; then
17407 ac_cv_prog_cxx_g=yes
17408 else
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17411
17412
17413 fi
17414
17415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17416 fi
17417
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419 fi
17420
17421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17422 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17423 fi
17424 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17425 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17426 if test "$ac_test_CXXFLAGS" = set; then
17427 CXXFLAGS=$ac_save_CXXFLAGS
17428 elif test $ac_cv_prog_cxx_g = yes; then
17429 if test "$GXX" = yes; then
17430 CXXFLAGS="-g -O2"
17431 else
17432 CXXFLAGS="-g"
17433 fi
17434 else
17435 if test "$GXX" = yes; then
17436 CXXFLAGS="-O2"
17437 else
17438 CXXFLAGS=
17439 fi
17440 fi
17441 ac_ext=c
17442 ac_cpp='$CPP $CPPFLAGS'
17443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17446
17447
17448
17449
17450
17451
17452
17453
17454 ac_ext=cpp
17455 ac_cpp='$CXXCPP $CPPFLAGS'
17456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17459
17460 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17461 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17462 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17463 echo $ECHO_N "(cached) $ECHO_C" >&6
17464 else
17465 cat >conftest.$ac_ext <<_ACEOF
17466 /* confdefs.h. */
17467 _ACEOF
17468 cat confdefs.h >>conftest.$ac_ext
17469 cat >>conftest.$ac_ext <<_ACEOF
17470 /* end confdefs.h. */
17471
17472 int
17473 main ()
17474 {
17475
17476 #ifndef __INTEL_COMPILER
17477 choke me
17478 #endif
17479
17480 ;
17481 return 0;
17482 }
17483 _ACEOF
17484 rm -f conftest.$ac_objext
17485 if { (ac_try="$ac_compile"
17486 case "(($ac_try" in
17487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17488 *) ac_try_echo=$ac_try;;
17489 esac
17490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17491 (eval "$ac_compile") 2>conftest.er1
17492 ac_status=$?
17493 grep -v '^ *+' conftest.er1 >conftest.err
17494 rm -f conftest.er1
17495 cat conftest.err >&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); } && {
17498 test -z "$ac_cxx_werror_flag" ||
17499 test ! -s conftest.err
17500 } && test -s conftest.$ac_objext; then
17501 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17502 else
17503 echo "$as_me: failed program was:" >&5
17504 sed 's/^/| /' conftest.$ac_ext >&5
17505
17506 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17507
17508 fi
17509
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17511
17512
17513 fi
17514 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17515 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17516 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17517 :; INTELCXX=yes
17518 else
17519 :;
17520 fi
17521 ac_ext=c
17522 ac_cpp='$CPP $CPPFLAGS'
17523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17526
17527
17528
17529
17530 if test "$INTELCXX" = "yes"; then
17531
17532
17533 ac_ext=cpp
17534 ac_cpp='$CXXCPP $CPPFLAGS'
17535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17538
17539 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17540 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17541 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17542 echo $ECHO_N "(cached) $ECHO_C" >&6
17543 else
17544 cat >conftest.$ac_ext <<_ACEOF
17545 /* confdefs.h. */
17546 _ACEOF
17547 cat confdefs.h >>conftest.$ac_ext
17548 cat >>conftest.$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17550
17551 int
17552 main ()
17553 {
17554
17555 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17556 choke me
17557 #endif
17558
17559 ;
17560 return 0;
17561 }
17562 _ACEOF
17563 rm -f conftest.$ac_objext
17564 if { (ac_try="$ac_compile"
17565 case "(($ac_try" in
17566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17567 *) ac_try_echo=$ac_try;;
17568 esac
17569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17570 (eval "$ac_compile") 2>conftest.er1
17571 ac_status=$?
17572 grep -v '^ *+' conftest.er1 >conftest.err
17573 rm -f conftest.er1
17574 cat conftest.err >&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } && {
17577 test -z "$ac_cxx_werror_flag" ||
17578 test ! -s conftest.err
17579 } && test -s conftest.$ac_objext; then
17580 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17581 else
17582 echo "$as_me: failed program was:" >&5
17583 sed 's/^/| /' conftest.$ac_ext >&5
17584
17585 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17586
17587 fi
17588
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17590
17591
17592 fi
17593 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17594 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17595 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17596 :; INTELCXX8=yes
17597 else
17598 :;
17599 fi
17600 ac_ext=c
17601 ac_cpp='$CPP $CPPFLAGS'
17602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17605
17606
17607
17608
17609
17610 ac_ext=cpp
17611 ac_cpp='$CXXCPP $CPPFLAGS'
17612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17615
17616 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17617 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17618 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17619 echo $ECHO_N "(cached) $ECHO_C" >&6
17620 else
17621 cat >conftest.$ac_ext <<_ACEOF
17622 /* confdefs.h. */
17623 _ACEOF
17624 cat confdefs.h >>conftest.$ac_ext
17625 cat >>conftest.$ac_ext <<_ACEOF
17626 /* end confdefs.h. */
17627
17628 int
17629 main ()
17630 {
17631
17632 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17633 choke me
17634 #endif
17635
17636 ;
17637 return 0;
17638 }
17639 _ACEOF
17640 rm -f conftest.$ac_objext
17641 if { (ac_try="$ac_compile"
17642 case "(($ac_try" in
17643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17644 *) ac_try_echo=$ac_try;;
17645 esac
17646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17647 (eval "$ac_compile") 2>conftest.er1
17648 ac_status=$?
17649 grep -v '^ *+' conftest.er1 >conftest.err
17650 rm -f conftest.er1
17651 cat conftest.err >&5
17652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653 (exit $ac_status); } && {
17654 test -z "$ac_cxx_werror_flag" ||
17655 test ! -s conftest.err
17656 } && test -s conftest.$ac_objext; then
17657 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17658 else
17659 echo "$as_me: failed program was:" >&5
17660 sed 's/^/| /' conftest.$ac_ext >&5
17661
17662 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17663
17664 fi
17665
17666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17667
17668
17669 fi
17670 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17671 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17672 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17673 :; INTELCXX10=yes
17674 else
17675 :;
17676 fi
17677 ac_ext=c
17678 ac_cpp='$CPP $CPPFLAGS'
17679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17682
17683
17684
17685 fi
17686
17687 if test "x$GCXX" != "xyes"; then
17688 if test "xCXX" = "xC"; then
17689 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17690 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17691 if test "${bakefile_cv_c_exto+set}" = set; then
17692 echo $ECHO_N "(cached) $ECHO_C" >&6
17693 else
17694 cat >conftest.$ac_ext <<_ACEOF
17695 /* confdefs.h. */
17696 _ACEOF
17697 cat confdefs.h >>conftest.$ac_ext
17698 cat >>conftest.$ac_ext <<_ACEOF
17699 /* end confdefs.h. */
17700
17701 int
17702 main ()
17703 {
17704
17705 ;
17706 return 0;
17707 }
17708 _ACEOF
17709 rm -f conftest.$ac_objext conftest.$ac_ext.o
17710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17711 (eval $ac_compile) 2>&5
17712 ac_status=$?
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); }; then
17715 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17716 case $ac_file in
17717 conftest.$ac_ext.o)
17718 bakefile_cv_c_exto="-ext o"
17719 ;;
17720 *)
17721 ;;
17722 esac
17723 done
17724 else
17725 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17726 See \`config.log' for more details." >&5
17727 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17728 See \`config.log' for more details." >&2;}
17729 { (exit 1); exit 1; }; }
17730
17731 fi
17732
17733 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17734
17735 fi
17736 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17737 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17738 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17739 if test "c" = "c"; then
17740 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17741 fi
17742 if test "c" = "cxx"; then
17743 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17744 fi
17745 fi
17746
17747 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17748 unset ac_cv_prog_cc_g
17749 ac_test_CFLAGS=${CFLAGS+set}
17750 ac_save_CFLAGS=$CFLAGS
17751 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17752 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17753 if test "${ac_cv_prog_cc_g+set}" = set; then
17754 echo $ECHO_N "(cached) $ECHO_C" >&6
17755 else
17756 ac_save_c_werror_flag=$ac_c_werror_flag
17757 ac_c_werror_flag=yes
17758 ac_cv_prog_cc_g=no
17759 CFLAGS="-g"
17760 cat >conftest.$ac_ext <<_ACEOF
17761 /* confdefs.h. */
17762 _ACEOF
17763 cat confdefs.h >>conftest.$ac_ext
17764 cat >>conftest.$ac_ext <<_ACEOF
17765 /* end confdefs.h. */
17766
17767 int
17768 main ()
17769 {
17770
17771 ;
17772 return 0;
17773 }
17774 _ACEOF
17775 rm -f conftest.$ac_objext
17776 if { (ac_try="$ac_compile"
17777 case "(($ac_try" in
17778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17779 *) ac_try_echo=$ac_try;;
17780 esac
17781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17782 (eval "$ac_compile") 2>conftest.er1
17783 ac_status=$?
17784 grep -v '^ *+' conftest.er1 >conftest.err
17785 rm -f conftest.er1
17786 cat conftest.err >&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } && {
17789 test -z "$ac_c_werror_flag" ||
17790 test ! -s conftest.err
17791 } && test -s conftest.$ac_objext; then
17792 ac_cv_prog_cc_g=yes
17793 else
17794 echo "$as_me: failed program was:" >&5
17795 sed 's/^/| /' conftest.$ac_ext >&5
17796
17797 CFLAGS=""
17798 cat >conftest.$ac_ext <<_ACEOF
17799 /* confdefs.h. */
17800 _ACEOF
17801 cat confdefs.h >>conftest.$ac_ext
17802 cat >>conftest.$ac_ext <<_ACEOF
17803 /* end confdefs.h. */
17804
17805 int
17806 main ()
17807 {
17808
17809 ;
17810 return 0;
17811 }
17812 _ACEOF
17813 rm -f conftest.$ac_objext
17814 if { (ac_try="$ac_compile"
17815 case "(($ac_try" in
17816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17817 *) ac_try_echo=$ac_try;;
17818 esac
17819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17820 (eval "$ac_compile") 2>conftest.er1
17821 ac_status=$?
17822 grep -v '^ *+' conftest.er1 >conftest.err
17823 rm -f conftest.er1
17824 cat conftest.err >&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); } && {
17827 test -z "$ac_c_werror_flag" ||
17828 test ! -s conftest.err
17829 } && test -s conftest.$ac_objext; then
17830 :
17831 else
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.$ac_ext >&5
17834
17835 ac_c_werror_flag=$ac_save_c_werror_flag
17836 CFLAGS="-g"
17837 cat >conftest.$ac_ext <<_ACEOF
17838 /* confdefs.h. */
17839 _ACEOF
17840 cat confdefs.h >>conftest.$ac_ext
17841 cat >>conftest.$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17843
17844 int
17845 main ()
17846 {
17847
17848 ;
17849 return 0;
17850 }
17851 _ACEOF
17852 rm -f conftest.$ac_objext
17853 if { (ac_try="$ac_compile"
17854 case "(($ac_try" in
17855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17856 *) ac_try_echo=$ac_try;;
17857 esac
17858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17859 (eval "$ac_compile") 2>conftest.er1
17860 ac_status=$?
17861 grep -v '^ *+' conftest.er1 >conftest.err
17862 rm -f conftest.er1
17863 cat conftest.err >&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } && {
17866 test -z "$ac_c_werror_flag" ||
17867 test ! -s conftest.err
17868 } && test -s conftest.$ac_objext; then
17869 ac_cv_prog_cc_g=yes
17870 else
17871 echo "$as_me: failed program was:" >&5
17872 sed 's/^/| /' conftest.$ac_ext >&5
17873
17874
17875 fi
17876
17877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17878 fi
17879
17880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17881 fi
17882
17883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17884 ac_c_werror_flag=$ac_save_c_werror_flag
17885 fi
17886 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17887 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17888 if test "$ac_test_CFLAGS" = set; then
17889 CFLAGS=$ac_save_CFLAGS
17890 elif test $ac_cv_prog_cc_g = yes; then
17891 if test "$GCC" = yes; then
17892 CFLAGS="-g -O2"
17893 else
17894 CFLAGS="-g"
17895 fi
17896 else
17897 if test "$GCC" = yes; then
17898 CFLAGS="-O2"
17899 else
17900 CFLAGS=
17901 fi
17902 fi
17903 fi
17904 fi
17905
17906 case `uname -s` in
17907 AIX*)
17908
17909
17910 ac_ext=cpp
17911 ac_cpp='$CXXCPP $CPPFLAGS'
17912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17915
17916 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17917 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17918 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17919 echo $ECHO_N "(cached) $ECHO_C" >&6
17920 else
17921 cat >conftest.$ac_ext <<_ACEOF
17922 /* confdefs.h. */
17923 _ACEOF
17924 cat confdefs.h >>conftest.$ac_ext
17925 cat >>conftest.$ac_ext <<_ACEOF
17926 /* end confdefs.h. */
17927
17928 int
17929 main ()
17930 {
17931
17932 #ifndef __xlC__
17933 choke me
17934 #endif
17935
17936 ;
17937 return 0;
17938 }
17939 _ACEOF
17940 rm -f conftest.$ac_objext
17941 if { (ac_try="$ac_compile"
17942 case "(($ac_try" in
17943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17944 *) ac_try_echo=$ac_try;;
17945 esac
17946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17947 (eval "$ac_compile") 2>conftest.er1
17948 ac_status=$?
17949 grep -v '^ *+' conftest.er1 >conftest.err
17950 rm -f conftest.er1
17951 cat conftest.err >&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } && {
17954 test -z "$ac_cxx_werror_flag" ||
17955 test ! -s conftest.err
17956 } && test -s conftest.$ac_objext; then
17957 bakefile_cv_cxx_compiler___xlC__=yes
17958 else
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.$ac_ext >&5
17961
17962 bakefile_cv_cxx_compiler___xlC__=no
17963
17964 fi
17965
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17967
17968
17969 fi
17970 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17971 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17972 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17973 :; XLCXX=yes
17974 else
17975 :;
17976 fi
17977 ac_ext=c
17978 ac_cpp='$CPP $CPPFLAGS'
17979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17982
17983
17984
17985 ;;
17986
17987 Darwin)
17988
17989
17990 ac_ext=cpp
17991 ac_cpp='$CXXCPP $CPPFLAGS'
17992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17995
17996 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17997 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17998 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17999 echo $ECHO_N "(cached) $ECHO_C" >&6
18000 else
18001 cat >conftest.$ac_ext <<_ACEOF
18002 /* confdefs.h. */
18003 _ACEOF
18004 cat confdefs.h >>conftest.$ac_ext
18005 cat >>conftest.$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18007
18008 int
18009 main ()
18010 {
18011
18012 #ifndef __MWERKS__
18013 choke me
18014 #endif
18015
18016 ;
18017 return 0;
18018 }
18019 _ACEOF
18020 rm -f conftest.$ac_objext
18021 if { (ac_try="$ac_compile"
18022 case "(($ac_try" in
18023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18024 *) ac_try_echo=$ac_try;;
18025 esac
18026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18027 (eval "$ac_compile") 2>conftest.er1
18028 ac_status=$?
18029 grep -v '^ *+' conftest.er1 >conftest.err
18030 rm -f conftest.er1
18031 cat conftest.err >&5
18032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033 (exit $ac_status); } && {
18034 test -z "$ac_cxx_werror_flag" ||
18035 test ! -s conftest.err
18036 } && test -s conftest.$ac_objext; then
18037 bakefile_cv_cxx_compiler___MWERKS__=yes
18038 else
18039 echo "$as_me: failed program was:" >&5
18040 sed 's/^/| /' conftest.$ac_ext >&5
18041
18042 bakefile_cv_cxx_compiler___MWERKS__=no
18043
18044 fi
18045
18046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18047
18048
18049 fi
18050 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18051 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18052 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18053 :; MWCXX=yes
18054 else
18055 :;
18056 fi
18057 ac_ext=c
18058 ac_cpp='$CPP $CPPFLAGS'
18059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18062
18063
18064
18065 if test "$MWCXX" != "yes"; then
18066
18067
18068 ac_ext=cpp
18069 ac_cpp='$CXXCPP $CPPFLAGS'
18070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18073
18074 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18075 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18076 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18077 echo $ECHO_N "(cached) $ECHO_C" >&6
18078 else
18079 cat >conftest.$ac_ext <<_ACEOF
18080 /* confdefs.h. */
18081 _ACEOF
18082 cat confdefs.h >>conftest.$ac_ext
18083 cat >>conftest.$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18085
18086 int
18087 main ()
18088 {
18089
18090 #ifndef __xlC__
18091 choke me
18092 #endif
18093
18094 ;
18095 return 0;
18096 }
18097 _ACEOF
18098 rm -f conftest.$ac_objext
18099 if { (ac_try="$ac_compile"
18100 case "(($ac_try" in
18101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18102 *) ac_try_echo=$ac_try;;
18103 esac
18104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18105 (eval "$ac_compile") 2>conftest.er1
18106 ac_status=$?
18107 grep -v '^ *+' conftest.er1 >conftest.err
18108 rm -f conftest.er1
18109 cat conftest.err >&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); } && {
18112 test -z "$ac_cxx_werror_flag" ||
18113 test ! -s conftest.err
18114 } && test -s conftest.$ac_objext; then
18115 bakefile_cv_cxx_compiler___xlC__=yes
18116 else
18117 echo "$as_me: failed program was:" >&5
18118 sed 's/^/| /' conftest.$ac_ext >&5
18119
18120 bakefile_cv_cxx_compiler___xlC__=no
18121
18122 fi
18123
18124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18125
18126
18127 fi
18128 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18129 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18130 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18131 :; XLCXX=yes
18132 else
18133 :;
18134 fi
18135 ac_ext=c
18136 ac_cpp='$CPP $CPPFLAGS'
18137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18140
18141
18142
18143 fi
18144 ;;
18145
18146 IRIX*)
18147
18148
18149 ac_ext=cpp
18150 ac_cpp='$CXXCPP $CPPFLAGS'
18151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18154
18155 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18156 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18157 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18158 echo $ECHO_N "(cached) $ECHO_C" >&6
18159 else
18160 cat >conftest.$ac_ext <<_ACEOF
18161 /* confdefs.h. */
18162 _ACEOF
18163 cat confdefs.h >>conftest.$ac_ext
18164 cat >>conftest.$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18166
18167 int
18168 main ()
18169 {
18170
18171 #ifndef _SGI_COMPILER_VERSION
18172 choke me
18173 #endif
18174
18175 ;
18176 return 0;
18177 }
18178 _ACEOF
18179 rm -f conftest.$ac_objext
18180 if { (ac_try="$ac_compile"
18181 case "(($ac_try" in
18182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18183 *) ac_try_echo=$ac_try;;
18184 esac
18185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18186 (eval "$ac_compile") 2>conftest.er1
18187 ac_status=$?
18188 grep -v '^ *+' conftest.er1 >conftest.err
18189 rm -f conftest.er1
18190 cat conftest.err >&5
18191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } && {
18193 test -z "$ac_cxx_werror_flag" ||
18194 test ! -s conftest.err
18195 } && test -s conftest.$ac_objext; then
18196 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18197 else
18198 echo "$as_me: failed program was:" >&5
18199 sed 's/^/| /' conftest.$ac_ext >&5
18200
18201 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18202
18203 fi
18204
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18206
18207
18208 fi
18209 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18210 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18211 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18212 :; SGICXX=yes
18213 else
18214 :;
18215 fi
18216 ac_ext=c
18217 ac_cpp='$CPP $CPPFLAGS'
18218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18221
18222
18223
18224 ;;
18225
18226 Linux*)
18227 if test "$INTELCXX" != "yes"; then
18228
18229
18230 ac_ext=cpp
18231 ac_cpp='$CXXCPP $CPPFLAGS'
18232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18235
18236 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18237 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18238 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18239 echo $ECHO_N "(cached) $ECHO_C" >&6
18240 else
18241 cat >conftest.$ac_ext <<_ACEOF
18242 /* confdefs.h. */
18243 _ACEOF
18244 cat confdefs.h >>conftest.$ac_ext
18245 cat >>conftest.$ac_ext <<_ACEOF
18246 /* end confdefs.h. */
18247
18248 int
18249 main ()
18250 {
18251
18252 #ifndef __SUNPRO_CC
18253 choke me
18254 #endif
18255
18256 ;
18257 return 0;
18258 }
18259 _ACEOF
18260 rm -f conftest.$ac_objext
18261 if { (ac_try="$ac_compile"
18262 case "(($ac_try" in
18263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18264 *) ac_try_echo=$ac_try;;
18265 esac
18266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18267 (eval "$ac_compile") 2>conftest.er1
18268 ac_status=$?
18269 grep -v '^ *+' conftest.er1 >conftest.err
18270 rm -f conftest.er1
18271 cat conftest.err >&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } && {
18274 test -z "$ac_cxx_werror_flag" ||
18275 test ! -s conftest.err
18276 } && test -s conftest.$ac_objext; then
18277 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18278 else
18279 echo "$as_me: failed program was:" >&5
18280 sed 's/^/| /' conftest.$ac_ext >&5
18281
18282 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18283
18284 fi
18285
18286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18287
18288
18289 fi
18290 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18291 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18292 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18293 :; SUNCXX=yes
18294 else
18295 :;
18296 fi
18297 ac_ext=c
18298 ac_cpp='$CPP $CPPFLAGS'
18299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18302
18303
18304
18305 fi
18306 ;;
18307
18308 HP-UX*)
18309
18310
18311 ac_ext=cpp
18312 ac_cpp='$CXXCPP $CPPFLAGS'
18313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18316
18317 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18318 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18319 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18320 echo $ECHO_N "(cached) $ECHO_C" >&6
18321 else
18322 cat >conftest.$ac_ext <<_ACEOF
18323 /* confdefs.h. */
18324 _ACEOF
18325 cat confdefs.h >>conftest.$ac_ext
18326 cat >>conftest.$ac_ext <<_ACEOF
18327 /* end confdefs.h. */
18328
18329 int
18330 main ()
18331 {
18332
18333 #ifndef __HP_aCC
18334 choke me
18335 #endif
18336
18337 ;
18338 return 0;
18339 }
18340 _ACEOF
18341 rm -f conftest.$ac_objext
18342 if { (ac_try="$ac_compile"
18343 case "(($ac_try" in
18344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18345 *) ac_try_echo=$ac_try;;
18346 esac
18347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18348 (eval "$ac_compile") 2>conftest.er1
18349 ac_status=$?
18350 grep -v '^ *+' conftest.er1 >conftest.err
18351 rm -f conftest.er1
18352 cat conftest.err >&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); } && {
18355 test -z "$ac_cxx_werror_flag" ||
18356 test ! -s conftest.err
18357 } && test -s conftest.$ac_objext; then
18358 bakefile_cv_cxx_compiler___HP_aCC=yes
18359 else
18360 echo "$as_me: failed program was:" >&5
18361 sed 's/^/| /' conftest.$ac_ext >&5
18362
18363 bakefile_cv_cxx_compiler___HP_aCC=no
18364
18365 fi
18366
18367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18368
18369
18370 fi
18371 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18372 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18373 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18374 :; HPCXX=yes
18375 else
18376 :;
18377 fi
18378 ac_ext=c
18379 ac_cpp='$CPP $CPPFLAGS'
18380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18383
18384
18385
18386 ;;
18387
18388 OSF1)
18389
18390
18391 ac_ext=cpp
18392 ac_cpp='$CXXCPP $CPPFLAGS'
18393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18396
18397 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18398 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18399 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18400 echo $ECHO_N "(cached) $ECHO_C" >&6
18401 else
18402 cat >conftest.$ac_ext <<_ACEOF
18403 /* confdefs.h. */
18404 _ACEOF
18405 cat confdefs.h >>conftest.$ac_ext
18406 cat >>conftest.$ac_ext <<_ACEOF
18407 /* end confdefs.h. */
18408
18409 int
18410 main ()
18411 {
18412
18413 #ifndef __DECCXX
18414 choke me
18415 #endif
18416
18417 ;
18418 return 0;
18419 }
18420 _ACEOF
18421 rm -f conftest.$ac_objext
18422 if { (ac_try="$ac_compile"
18423 case "(($ac_try" in
18424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18425 *) ac_try_echo=$ac_try;;
18426 esac
18427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18428 (eval "$ac_compile") 2>conftest.er1
18429 ac_status=$?
18430 grep -v '^ *+' conftest.er1 >conftest.err
18431 rm -f conftest.er1
18432 cat conftest.err >&5
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); } && {
18435 test -z "$ac_cxx_werror_flag" ||
18436 test ! -s conftest.err
18437 } && test -s conftest.$ac_objext; then
18438 bakefile_cv_cxx_compiler___DECCXX=yes
18439 else
18440 echo "$as_me: failed program was:" >&5
18441 sed 's/^/| /' conftest.$ac_ext >&5
18442
18443 bakefile_cv_cxx_compiler___DECCXX=no
18444
18445 fi
18446
18447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18448
18449
18450 fi
18451 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18452 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18453 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18454 :; COMPAQCXX=yes
18455 else
18456 :;
18457 fi
18458 ac_ext=c
18459 ac_cpp='$CPP $CPPFLAGS'
18460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18463
18464
18465
18466 ;;
18467
18468 SunOS)
18469
18470
18471 ac_ext=cpp
18472 ac_cpp='$CXXCPP $CPPFLAGS'
18473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18476
18477 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18478 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18479 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18480 echo $ECHO_N "(cached) $ECHO_C" >&6
18481 else
18482 cat >conftest.$ac_ext <<_ACEOF
18483 /* confdefs.h. */
18484 _ACEOF
18485 cat confdefs.h >>conftest.$ac_ext
18486 cat >>conftest.$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18488
18489 int
18490 main ()
18491 {
18492
18493 #ifndef __SUNPRO_CC
18494 choke me
18495 #endif
18496
18497 ;
18498 return 0;
18499 }
18500 _ACEOF
18501 rm -f conftest.$ac_objext
18502 if { (ac_try="$ac_compile"
18503 case "(($ac_try" in
18504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18505 *) ac_try_echo=$ac_try;;
18506 esac
18507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18508 (eval "$ac_compile") 2>conftest.er1
18509 ac_status=$?
18510 grep -v '^ *+' conftest.er1 >conftest.err
18511 rm -f conftest.er1
18512 cat conftest.err >&5
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); } && {
18515 test -z "$ac_cxx_werror_flag" ||
18516 test ! -s conftest.err
18517 } && test -s conftest.$ac_objext; then
18518 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18519 else
18520 echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.$ac_ext >&5
18522
18523 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18524
18525 fi
18526
18527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18528
18529
18530 fi
18531 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18532 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18533 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18534 :; SUNCXX=yes
18535 else
18536 :;
18537 fi
18538 ac_ext=c
18539 ac_cpp='$CPP $CPPFLAGS'
18540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18543
18544
18545
18546 ;;
18547 esac
18548 fi
18549
18550
18551
18552 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18553 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18554 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18555 { (exit 1); exit 1; }; }
18556 fi
18557
18558 if test "x$SUNCXX" != xyes; then
18559 if test -n "$ac_tool_prefix"; then
18560 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18561 set dummy ${ac_tool_prefix}ar; ac_word=$2
18562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18564 if test "${ac_cv_prog_AR+set}" = set; then
18565 echo $ECHO_N "(cached) $ECHO_C" >&6
18566 else
18567 if test -n "$AR"; then
18568 ac_cv_prog_AR="$AR" # Let the user override the test.
18569 else
18570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18571 for as_dir in $PATH
18572 do
18573 IFS=$as_save_IFS
18574 test -z "$as_dir" && as_dir=.
18575 for ac_exec_ext in '' $ac_executable_extensions; do
18576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18577 ac_cv_prog_AR="${ac_tool_prefix}ar"
18578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18579 break 2
18580 fi
18581 done
18582 done
18583 IFS=$as_save_IFS
18584
18585 fi
18586 fi
18587 AR=$ac_cv_prog_AR
18588 if test -n "$AR"; then
18589 { echo "$as_me:$LINENO: result: $AR" >&5
18590 echo "${ECHO_T}$AR" >&6; }
18591 else
18592 { echo "$as_me:$LINENO: result: no" >&5
18593 echo "${ECHO_T}no" >&6; }
18594 fi
18595
18596
18597 fi
18598 if test -z "$ac_cv_prog_AR"; then
18599 ac_ct_AR=$AR
18600 # Extract the first word of "ar", so it can be a program name with args.
18601 set dummy ar; ac_word=$2
18602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18604 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18605 echo $ECHO_N "(cached) $ECHO_C" >&6
18606 else
18607 if test -n "$ac_ct_AR"; then
18608 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18609 else
18610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18611 for as_dir in $PATH
18612 do
18613 IFS=$as_save_IFS
18614 test -z "$as_dir" && as_dir=.
18615 for ac_exec_ext in '' $ac_executable_extensions; do
18616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18617 ac_cv_prog_ac_ct_AR="ar"
18618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18619 break 2
18620 fi
18621 done
18622 done
18623 IFS=$as_save_IFS
18624
18625 fi
18626 fi
18627 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18628 if test -n "$ac_ct_AR"; then
18629 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18630 echo "${ECHO_T}$ac_ct_AR" >&6; }
18631 else
18632 { echo "$as_me:$LINENO: result: no" >&5
18633 echo "${ECHO_T}no" >&6; }
18634 fi
18635
18636 if test "x$ac_ct_AR" = x; then
18637 AR=""
18638 else
18639 case $cross_compiling:$ac_tool_warned in
18640 yes:)
18641 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18642 whose name does not start with the host triplet. If you think this
18643 configuration is useful to you, please write to autoconf@gnu.org." >&5
18644 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18645 whose name does not start with the host triplet. If you think this
18646 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18647 ac_tool_warned=yes ;;
18648 esac
18649 AR=$ac_ct_AR
18650 fi
18651 else
18652 AR="$ac_cv_prog_AR"
18653 fi
18654
18655 if test "x$AR" = "x" ; then
18656 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18657 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18658 { (exit 1); exit 1; }; }
18659 fi
18660 fi
18661
18662
18663 if test "$wxUSE_MAC" = 1; then
18664
18665 retest_macosx_linking=no
18666
18667 OSX_ARCH_OPTS=""
18668 if test "x$wxUSE_MAC_ARCH" != xno; then
18669 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18670 fi
18671
18672 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18673 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18674 # Implicitly turn on the new --with-macosx-sdk using the default
18675 # SDK which provides the behavior this option has always had.
18676 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18677 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18678 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18679 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18680 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18681 wxUSE_MACOSX_SDK=yes
18682 fi
18683 else
18684 # Complain to user if he specified an argument to --enable-universal_binary
18685 # and also 1) specified --with-macosx-sdk using the default (yes) or
18686 # 2) specified --with-macosx-sdk using a path or 3) specified
18687 # --without-macosx-sdk (no).
18688 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18689 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18690 See \`config.log' for more details." >&5
18691 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18692 See \`config.log' for more details." >&2;}
18693 { (exit 1); exit 1; }; }
18694 else
18695 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18696 # special-case the empty string because the below test simply
18697 # converts "no" to the empty string anyway.
18698 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18699 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18700 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18701 fi
18702 fi
18703 OSX_ARCH_OPTS="-arch ppc -arch i386"
18704 if test "$wxUSE_OSX_COCOA" = 1; then
18705 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18706 fi
18707 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18708 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18709 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18710 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18711
18712 retest_macosx_linking=yes
18713
18714 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18715 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18716 bk_use_pch=no
18717 fi
18718
18719 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18720 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18721 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18722 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18723 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18724
18725 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18726 wxUSE_MACOSX_SDK=
18727 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18728 # TODO: Search for most recent SDK and use it.
18729 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18730 fi
18731
18732
18733 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18734 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18735 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18736 if ! test -d "$wxUSE_MACOSX_SDK"; then
18737 { { echo "$as_me:$LINENO: error: not found
18738 See \`config.log' for more details." >&5
18739 echo "$as_me: error: not found
18740 See \`config.log' for more details." >&2;}
18741 { (exit 1); exit 1; }; }
18742 else
18743 { echo "$as_me:$LINENO: result: exists" >&5
18744 echo "${ECHO_T}exists" >&6; }
18745 fi
18746 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18747 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18748 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18749 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18750 retest_macosx_linking=yes
18751 fi
18752
18753 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18754 wxUSE_MACOSX_VERSION_MIN=
18755 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18756 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18757 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18758 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18759
18760 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/'`
18761
18762 # If that failed, try again with the new key
18763 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18764
18765 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/'`
18766
18767 fi
18768
18769 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18770 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18771 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18772 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18773 else
18774 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18775 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18776 wxUSE_MACOSX_VERSION_MIN=
18777 fi
18778 else
18779 wxUSE_MACOSX_VERSION_MIN=
18780 fi
18781 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18782 for ac_prog in sw_vers
18783 do
18784 # Extract the first word of "$ac_prog", so it can be a program name with args.
18785 set dummy $ac_prog; ac_word=$2
18786 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18788 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18789 echo $ECHO_N "(cached) $ECHO_C" >&6
18790 else
18791 if test -n "$OSX_SW_VERS"; then
18792 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18793 else
18794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18795 for as_dir in $PATH
18796 do
18797 IFS=$as_save_IFS
18798 test -z "$as_dir" && as_dir=.
18799 for ac_exec_ext in '' $ac_executable_extensions; do
18800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18801 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18803 break 2
18804 fi
18805 done
18806 done
18807 IFS=$as_save_IFS
18808
18809 fi
18810 fi
18811 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18812 if test -n "$OSX_SW_VERS"; then
18813 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18814 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18815 else
18816 { echo "$as_me:$LINENO: result: no" >&5
18817 echo "${ECHO_T}no" >&6; }
18818 fi
18819
18820
18821 test -n "$OSX_SW_VERS" && break
18822 done
18823
18824 if test "$OSX_SW_VERS" != ""; then
18825 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18826 else
18827 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18828 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18829 OSX_VERSION="10.4"
18830 fi
18831
18832 case "$OSX_VERSION" in
18833 10.4* )
18834 wxUSE_MACOSX_VERSION_MIN=10.4
18835 ;;
18836
18837 * )
18838 if test "$wxUSE_OSX_CARBON" = 1; then
18839 # otherwise configure stops on leopard for universal_binary
18840 wxUSE_MACOSX_VERSION_MIN=10.4
18841 else
18842 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18843 wxUSE_MACOSX_VERSION_MIN=10.5
18844 fi
18845 ;;
18846 esac
18847 fi
18848
18849 NEEDS_GCC40="no"
18850 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18851 NEEDS_GCC40="yes"
18852 fi
18853
18854 if test "$wxUSE_OSX_CARBON" = 1; then
18855 NEEDS_GCC40="yes"
18856 fi
18857
18858 if test "x$NEEDS_GCC40" == "xyes"; then
18859 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18860 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18861 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18862 if test "x$CC" = "xgcc"; then
18863 CCVERSION=`$CC --version | grep 4.[2-9].`
18864 if test "x$CCVERSION" != "x"; then
18865 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18866 CC="/usr/bin/gcc-4.0"
18867 fi
18868 fi
18869
18870 if test "x$CXX" = "xg++"; then
18871 CCVERSION=`$CXX --version | grep 4.[2-9].`
18872 if test "x$CCVERSION" != "x"; then
18873 CXX="/usr/bin/g++-4.0"
18874 fi
18875 fi
18876 fi
18877
18878 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18879 if test "$wxUSE_OSX_IPHONE" = 1; then
18880 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
18881 else
18882 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18883 fi
18884 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18885 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18886 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18887 retest_macosx_linking=yes
18888 fi
18889
18890 if test "x$retest_macosx_linking" = "xyes"; then
18891 ac_ext=c
18892 ac_cpp='$CPP $CPPFLAGS'
18893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18896
18897 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18898 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18899 cat >conftest.$ac_ext <<_ACEOF
18900 /* confdefs.h. */
18901 _ACEOF
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18905
18906 int
18907 main ()
18908 {
18909
18910 ;
18911 return 0;
18912 }
18913 _ACEOF
18914 rm -f conftest.$ac_objext conftest$ac_exeext
18915 if { (ac_try="$ac_link"
18916 case "(($ac_try" in
18917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18918 *) ac_try_echo=$ac_try;;
18919 esac
18920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18921 (eval "$ac_link") 2>conftest.er1
18922 ac_status=$?
18923 grep -v '^ *+' conftest.er1 >conftest.err
18924 rm -f conftest.er1
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } && {
18928 test -z "$ac_c_werror_flag" ||
18929 test ! -s conftest.err
18930 } && test -s conftest$ac_exeext &&
18931 $as_test_x conftest$ac_exeext; then
18932 { echo "$as_me:$LINENO: result: yes" >&5
18933 echo "${ECHO_T}yes" >&6; }
18934 else
18935 echo "$as_me: failed program was:" >&5
18936 sed 's/^/| /' conftest.$ac_ext >&5
18937
18938 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18939 See \`config.log' for more details." >&5
18940 echo "$as_me: error: no. Try a different SDK
18941 See \`config.log' for more details." >&2;}
18942 { (exit 1); exit 1; }; }; exit 1
18943 fi
18944
18945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18946 conftest$ac_exeext conftest.$ac_ext
18947 ac_ext=c
18948 ac_cpp='$CPP $CPPFLAGS'
18949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18952
18953
18954 ac_ext=cpp
18955 ac_cpp='$CXXCPP $CPPFLAGS'
18956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18959
18960 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18961 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18962 cat >conftest.$ac_ext <<_ACEOF
18963 /* confdefs.h. */
18964 _ACEOF
18965 cat confdefs.h >>conftest.$ac_ext
18966 cat >>conftest.$ac_ext <<_ACEOF
18967 /* end confdefs.h. */
18968
18969 int
18970 main ()
18971 {
18972
18973 ;
18974 return 0;
18975 }
18976 _ACEOF
18977 rm -f conftest.$ac_objext conftest$ac_exeext
18978 if { (ac_try="$ac_link"
18979 case "(($ac_try" in
18980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18981 *) ac_try_echo=$ac_try;;
18982 esac
18983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18984 (eval "$ac_link") 2>conftest.er1
18985 ac_status=$?
18986 grep -v '^ *+' conftest.er1 >conftest.err
18987 rm -f conftest.er1
18988 cat conftest.err >&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } && {
18991 test -z "$ac_cxx_werror_flag" ||
18992 test ! -s conftest.err
18993 } && test -s conftest$ac_exeext &&
18994 $as_test_x conftest$ac_exeext; then
18995 { echo "$as_me:$LINENO: result: yes" >&5
18996 echo "${ECHO_T}yes" >&6; }
18997 else
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.$ac_ext >&5
19000
19001 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19002 See \`config.log' for more details." >&5
19003 echo "$as_me: error: no. Try a different SDK
19004 See \`config.log' for more details." >&2;}
19005 { (exit 1); exit 1; }; }; exit 1
19006 fi
19007
19008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19009 conftest$ac_exeext conftest.$ac_ext
19010 ac_ext=c
19011 ac_cpp='$CPP $CPPFLAGS'
19012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19015
19016 fi
19017
19018 fi
19019 case "${host}" in
19020
19021 *-*-darwin* )
19022 INSTALL_PROGRAM="cp -fp"
19023 INSTALL_DATA="cp -fp"
19024 ;;
19025 *)
19026 ;;
19027 esac
19028
19029
19030 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19031 CXXFLAGS="-qunique $CXXFLAGS"
19032 fi
19033
19034 case "${host}" in
19035 powerpc-*-darwin* )
19036 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19037 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19038 cat >conftest.$ac_ext <<_ACEOF
19039 /* confdefs.h. */
19040 _ACEOF
19041 cat confdefs.h >>conftest.$ac_ext
19042 cat >>conftest.$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19044
19045 int
19046 main ()
19047 {
19048 #ifndef __POWERPC__
19049 choke me for lack of PowerPC
19050 #endif
19051
19052 ;
19053 return 0;
19054 }
19055 _ACEOF
19056 rm -f conftest.$ac_objext
19057 if { (ac_try="$ac_compile"
19058 case "(($ac_try" in
19059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19060 *) ac_try_echo=$ac_try;;
19061 esac
19062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19063 (eval "$ac_compile") 2>conftest.er1
19064 ac_status=$?
19065 grep -v '^ *+' conftest.er1 >conftest.err
19066 rm -f conftest.er1
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_c_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest.$ac_objext; then
19073 { echo "$as_me:$LINENO: result: yes" >&5
19074 echo "${ECHO_T}yes" >&6; }
19075 else
19076 echo "$as_me: failed program was:" >&5
19077 sed 's/^/| /' conftest.$ac_ext >&5
19078
19079 { echo "$as_me:$LINENO: result: no" >&5
19080 echo "${ECHO_T}no" >&6; }
19081 cat >>confdefs.h <<\_ACEOF
19082 #define __POWERPC__ 1
19083 _ACEOF
19084
19085
19086 fi
19087
19088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19089 ;;
19090 esac
19091
19092 case "${host}" in
19093 *-*-darwin* )
19094 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19095 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19096 cat >conftest.$ac_ext <<_ACEOF
19097 /* confdefs.h. */
19098 _ACEOF
19099 cat confdefs.h >>conftest.$ac_ext
19100 cat >>conftest.$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19102 #include <CoreFoundation/CFBase.h>
19103
19104 int
19105 main ()
19106 {
19107
19108 ;
19109 return 0;
19110 }
19111 _ACEOF
19112 rm -f conftest.$ac_objext
19113 if { (ac_try="$ac_compile"
19114 case "(($ac_try" in
19115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19117 esac
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_compile") 2>conftest.er1
19120 ac_status=$?
19121 grep -v '^ *+' conftest.er1 >conftest.err
19122 rm -f conftest.er1
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && {
19126 test -z "$ac_c_werror_flag" ||
19127 test ! -s conftest.err
19128 } && test -s conftest.$ac_objext; then
19129 { echo "$as_me:$LINENO: result: yes" >&5
19130 echo "${ECHO_T}yes" >&6; }
19131 else
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.$ac_ext >&5
19134
19135 { echo "$as_me:$LINENO: result: no" >&5
19136 echo "${ECHO_T}no" >&6; }
19137 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19138 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19139 cat >conftest.$ac_ext <<_ACEOF
19140 /* confdefs.h. */
19141 _ACEOF
19142 cat confdefs.h >>conftest.$ac_ext
19143 cat >>conftest.$ac_ext <<_ACEOF
19144 /* end confdefs.h. */
19145 #define __CF_USE_FRAMEWORK_INCLUDES__
19146 #include <CoreFoundation/CFBase.h>
19147
19148 int
19149 main ()
19150 {
19151
19152 ;
19153 return 0;
19154 }
19155 _ACEOF
19156 rm -f conftest.$ac_objext
19157 if { (ac_try="$ac_compile"
19158 case "(($ac_try" in
19159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19160 *) ac_try_echo=$ac_try;;
19161 esac
19162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19163 (eval "$ac_compile") 2>conftest.er1
19164 ac_status=$?
19165 grep -v '^ *+' conftest.er1 >conftest.err
19166 rm -f conftest.er1
19167 cat conftest.err >&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } && {
19170 test -z "$ac_c_werror_flag" ||
19171 test ! -s conftest.err
19172 } && test -s conftest.$ac_objext; then
19173 { echo "$as_me:$LINENO: result: yes" >&5
19174 echo "${ECHO_T}yes" >&6; }
19175 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19176 else
19177 echo "$as_me: failed program was:" >&5
19178 sed 's/^/| /' conftest.$ac_ext >&5
19179
19180 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19181 See \`config.log' for more details." >&5
19182 echo "$as_me: error: no. CoreFoundation not available.
19183 See \`config.log' for more details." >&2;}
19184 { (exit 1); exit 1; }; }
19185
19186 fi
19187
19188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19189
19190
19191 fi
19192
19193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19194 ;;
19195 esac
19196
19197 wants_win32=0
19198 doesnt_want_win32=0
19199 case "${host}" in
19200 *-*-cygwin*)
19201 if test "$wxUSE_MSW" = 1 ; then
19202 wants_win32=1
19203 else
19204 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19205 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19206 if test "${wx_cv_nocygwin+set}" = set; then
19207 echo $ECHO_N "(cached) $ECHO_C" >&6
19208 else
19209
19210 cat >conftest.$ac_ext <<_ACEOF
19211 /* confdefs.h. */
19212 _ACEOF
19213 cat confdefs.h >>conftest.$ac_ext
19214 cat >>conftest.$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19216
19217 int
19218 main ()
19219 {
19220
19221 #ifdef __MINGW32__
19222 choke me
19223 #endif
19224
19225 ;
19226 return 0;
19227 }
19228 _ACEOF
19229 rm -f conftest.$ac_objext
19230 if { (ac_try="$ac_compile"
19231 case "(($ac_try" in
19232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19233 *) ac_try_echo=$ac_try;;
19234 esac
19235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19236 (eval "$ac_compile") 2>conftest.er1
19237 ac_status=$?
19238 grep -v '^ *+' conftest.er1 >conftest.err
19239 rm -f conftest.er1
19240 cat conftest.err >&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } && {
19243 test -z "$ac_c_werror_flag" ||
19244 test ! -s conftest.err
19245 } && test -s conftest.$ac_objext; then
19246 wx_cv_nocygwin=no
19247 else
19248 echo "$as_me: failed program was:" >&5
19249 sed 's/^/| /' conftest.$ac_ext >&5
19250
19251 wx_cv_nocygwin=yes
19252
19253 fi
19254
19255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19256
19257
19258 fi
19259 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19260 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19261
19262 if test "$wx_cv_nocygwin" = "yes"; then
19263 wants_win32=1
19264 else
19265 doesnt_want_win32=1
19266 fi
19267 fi
19268 if test "$wants_win32" = 1 ; then
19269 BAKEFILE_FORCE_PLATFORM=win32
19270 fi
19271 ;;
19272 *-*-mingw*)
19273 wants_win32=1
19274 ;;
19275 esac
19276
19277 if test "$wxUSE_WINE" = "yes"; then
19278 wants_win32=1
19279 LDFLAGS_GUI="-mwindows"
19280 fi
19281
19282 if test "$wants_win32" = 1 ; then
19283 USE_UNIX=0
19284 USE_WIN32=1
19285 cat >>confdefs.h <<\_ACEOF
19286 #define __WIN32__ 1
19287 _ACEOF
19288
19289 cat >>confdefs.h <<\_ACEOF
19290 #define __WIN95__ 1
19291 _ACEOF
19292
19293 cat >>confdefs.h <<\_ACEOF
19294 #define __WINDOWS__ 1
19295 _ACEOF
19296
19297 cat >>confdefs.h <<\_ACEOF
19298 #define __GNUWIN32__ 1
19299 _ACEOF
19300
19301 cat >>confdefs.h <<\_ACEOF
19302 #define STRICT 1
19303 _ACEOF
19304
19305 fi
19306 if test "$doesnt_want_win32" = 1 ; then
19307 USE_UNIX=1
19308 USE_WIN32=0
19309 fi
19310
19311 if test "$USE_UNIX" = 1 ; then
19312 wxUSE_UNIX=yes
19313 cat >>confdefs.h <<\_ACEOF
19314 #define __UNIX__ 1
19315 _ACEOF
19316
19317 fi
19318
19319 case "${host}" in
19320 *-pc-os2_emx | *-pc-os2-emx )
19321 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19322 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19323 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19324 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19325 echo $ECHO_N "(cached) $ECHO_C" >&6
19326 else
19327 ac_check_lib_save_LIBS=$LIBS
19328 LIBS="-lcExt $LIBS"
19329 cat >conftest.$ac_ext <<_ACEOF
19330 /* confdefs.h. */
19331 _ACEOF
19332 cat confdefs.h >>conftest.$ac_ext
19333 cat >>conftest.$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19335
19336 /* Override any GCC internal prototype to avoid an error.
19337 Use char because int might match the return type of a GCC
19338 builtin and then its argument prototype would still apply. */
19339 #ifdef __cplusplus
19340 extern "C"
19341 #endif
19342 char drand48 ();
19343 int
19344 main ()
19345 {
19346 return drand48 ();
19347 ;
19348 return 0;
19349 }
19350 _ACEOF
19351 rm -f conftest.$ac_objext conftest$ac_exeext
19352 if { (ac_try="$ac_link"
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_link") 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_exeext &&
19368 $as_test_x conftest$ac_exeext; then
19369 ac_cv_lib_cExt_drand48=yes
19370 else
19371 echo "$as_me: failed program was:" >&5
19372 sed 's/^/| /' conftest.$ac_ext >&5
19373
19374 ac_cv_lib_cExt_drand48=no
19375 fi
19376
19377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19378 conftest$ac_exeext conftest.$ac_ext
19379 LIBS=$ac_check_lib_save_LIBS
19380 fi
19381 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19382 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19383 if test $ac_cv_lib_cExt_drand48 = yes; then
19384 LIBS="$LIBS -lcExt"
19385 fi
19386
19387 else
19388 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19389 fi
19390 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19391 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19392 if test "${wx_cv_gccversion+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 else
19395
19396 if test "$cross_compiling" = yes; then
19397 wx_cv_gccversion="EMX2"
19398
19399 else
19400 cat >conftest.$ac_ext <<_ACEOF
19401 /* confdefs.h. */
19402 _ACEOF
19403 cat confdefs.h >>conftest.$ac_ext
19404 cat >>conftest.$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19406
19407 #include <stdio.h>
19408
19409 int main()
19410 {
19411 FILE *f=fopen("conftestval", "w");
19412 if (!f) exit(1);
19413 fprintf(f,
19414 #if (__GNUC__ < 3)
19415 "EMX2"
19416 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19417 "EMX3"
19418 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19419 "Innotek5"
19420 #else
19421 "Innotek6"
19422 #endif
19423 );
19424 exit(0);
19425 }
19426
19427 _ACEOF
19428 rm -f conftest$ac_exeext
19429 if { (ac_try="$ac_link"
19430 case "(($ac_try" in
19431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19432 *) ac_try_echo=$ac_try;;
19433 esac
19434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19435 (eval "$ac_link") 2>&5
19436 ac_status=$?
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19439 { (case "(($ac_try" in
19440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19441 *) ac_try_echo=$ac_try;;
19442 esac
19443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19444 (eval "$ac_try") 2>&5
19445 ac_status=$?
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; }; then
19448 wx_cv_gccversion=`cat conftestval`
19449 else
19450 echo "$as_me: program exited with status $ac_status" >&5
19451 echo "$as_me: failed program was:" >&5
19452 sed 's/^/| /' conftest.$ac_ext >&5
19453
19454 ( exit $ac_status )
19455 wx_cv_gccversion="EMX2"
19456 fi
19457 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19458 fi
19459
19460
19461
19462 fi
19463 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19464 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19465 if test "$wx_cv_gccversion" = "EMX2"; then
19466 LIBS="$LIBS -lstdcpp"
19467 LDFLAGS="$LDFLAGS -Zsysv-signals"
19468 else
19469 if test "$wx_cv_gccversion" = "EMX3"; then
19470 LIBS="$LIBS -lstdcxx -lgcc"
19471 LDFLAGS="$LDFLAGS -Zsysv-signals"
19472 else
19473 LIBS="$LIBS -lstdc++"
19474 fi
19475 fi
19476 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19477 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19478 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19479 wxUSE_OMF=yes
19480 enable_omf=yes
19481 fi
19482 ;;
19483 *)
19484
19485 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19486 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19487 if test "${ac_cv_string_strcasecmp+set}" = set; then
19488 echo $ECHO_N "(cached) $ECHO_C" >&6
19489 else
19490
19491 cat >conftest.$ac_ext <<_ACEOF
19492 /* confdefs.h. */
19493 _ACEOF
19494 cat confdefs.h >>conftest.$ac_ext
19495 cat >>conftest.$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19497
19498 #include <string.h>
19499
19500 int
19501 main ()
19502 {
19503
19504 strcasecmp("foo", "bar");
19505
19506 ;
19507 return 0;
19508 }
19509 _ACEOF
19510 rm -f conftest.$ac_objext conftest$ac_exeext
19511 if { (ac_try="$ac_link"
19512 case "(($ac_try" in
19513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19514 *) ac_try_echo=$ac_try;;
19515 esac
19516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19517 (eval "$ac_link") 2>conftest.er1
19518 ac_status=$?
19519 grep -v '^ *+' conftest.er1 >conftest.err
19520 rm -f conftest.er1
19521 cat conftest.err >&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } && {
19524 test -z "$ac_c_werror_flag" ||
19525 test ! -s conftest.err
19526 } && test -s conftest$ac_exeext &&
19527 $as_test_x conftest$ac_exeext; then
19528 ac_cv_string_strcasecmp=yes
19529 else
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19532
19533 ac_cv_string_strcasecmp=no
19534
19535 fi
19536
19537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19538 conftest$ac_exeext conftest.$ac_ext
19539
19540 fi
19541 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19542 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19543
19544 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19545 cat >>confdefs.h <<\_ACEOF
19546 #define HAVE_STRCASECMP_IN_STRING_H 1
19547 _ACEOF
19548
19549 else
19550 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19551 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19552 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19553 echo $ECHO_N "(cached) $ECHO_C" >&6
19554 else
19555
19556 cat >conftest.$ac_ext <<_ACEOF
19557 /* confdefs.h. */
19558 _ACEOF
19559 cat confdefs.h >>conftest.$ac_ext
19560 cat >>conftest.$ac_ext <<_ACEOF
19561 /* end confdefs.h. */
19562
19563 #include <strings.h>
19564
19565 int
19566 main ()
19567 {
19568
19569 strcasecmp("foo", "bar");
19570
19571 ;
19572 return 0;
19573 }
19574 _ACEOF
19575 rm -f conftest.$ac_objext conftest$ac_exeext
19576 if { (ac_try="$ac_link"
19577 case "(($ac_try" in
19578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19579 *) ac_try_echo=$ac_try;;
19580 esac
19581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19582 (eval "$ac_link") 2>conftest.er1
19583 ac_status=$?
19584 grep -v '^ *+' conftest.er1 >conftest.err
19585 rm -f conftest.er1
19586 cat conftest.err >&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); } && {
19589 test -z "$ac_c_werror_flag" ||
19590 test ! -s conftest.err
19591 } && test -s conftest$ac_exeext &&
19592 $as_test_x conftest$ac_exeext; then
19593 ac_cv_strings_strcasecmp=yes
19594 else
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19597
19598 ac_cv_strings_strcasecmp=no
19599
19600 fi
19601
19602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19603 conftest$ac_exeext conftest.$ac_ext
19604
19605 fi
19606 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19607 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19608
19609 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19610 cat >>confdefs.h <<\_ACEOF
19611 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19612 _ACEOF
19613
19614 else
19615 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19616 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19617 { (exit 1); exit 1; }; }
19618 fi
19619 fi
19620
19621 ;;
19622 esac
19623
19624
19625 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19626 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19627 if test "${ac_cv_header_stdc+set}" = set; then
19628 echo $ECHO_N "(cached) $ECHO_C" >&6
19629 else
19630 cat >conftest.$ac_ext <<_ACEOF
19631 /* confdefs.h. */
19632 _ACEOF
19633 cat confdefs.h >>conftest.$ac_ext
19634 cat >>conftest.$ac_ext <<_ACEOF
19635 /* end confdefs.h. */
19636 #include <stdlib.h>
19637 #include <stdarg.h>
19638 #include <string.h>
19639 #include <float.h>
19640
19641 int
19642 main ()
19643 {
19644
19645 ;
19646 return 0;
19647 }
19648 _ACEOF
19649 rm -f conftest.$ac_objext
19650 if { (ac_try="$ac_compile"
19651 case "(($ac_try" in
19652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19653 *) ac_try_echo=$ac_try;;
19654 esac
19655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19656 (eval "$ac_compile") 2>conftest.er1
19657 ac_status=$?
19658 grep -v '^ *+' conftest.er1 >conftest.err
19659 rm -f conftest.er1
19660 cat conftest.err >&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); } && {
19663 test -z "$ac_c_werror_flag" ||
19664 test ! -s conftest.err
19665 } && test -s conftest.$ac_objext; then
19666 ac_cv_header_stdc=yes
19667 else
19668 echo "$as_me: failed program was:" >&5
19669 sed 's/^/| /' conftest.$ac_ext >&5
19670
19671 ac_cv_header_stdc=no
19672 fi
19673
19674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19675
19676 if test $ac_cv_header_stdc = yes; then
19677 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19678 cat >conftest.$ac_ext <<_ACEOF
19679 /* confdefs.h. */
19680 _ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h. */
19684 #include <string.h>
19685
19686 _ACEOF
19687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19688 $EGREP "memchr" >/dev/null 2>&1; then
19689 :
19690 else
19691 ac_cv_header_stdc=no
19692 fi
19693 rm -f conftest*
19694
19695 fi
19696
19697 if test $ac_cv_header_stdc = yes; then
19698 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19699 cat >conftest.$ac_ext <<_ACEOF
19700 /* confdefs.h. */
19701 _ACEOF
19702 cat confdefs.h >>conftest.$ac_ext
19703 cat >>conftest.$ac_ext <<_ACEOF
19704 /* end confdefs.h. */
19705 #include <stdlib.h>
19706
19707 _ACEOF
19708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19709 $EGREP "free" >/dev/null 2>&1; then
19710 :
19711 else
19712 ac_cv_header_stdc=no
19713 fi
19714 rm -f conftest*
19715
19716 fi
19717
19718 if test $ac_cv_header_stdc = yes; then
19719 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19720 if test "$cross_compiling" = yes; then
19721 :
19722 else
19723 cat >conftest.$ac_ext <<_ACEOF
19724 /* confdefs.h. */
19725 _ACEOF
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19729 #include <ctype.h>
19730 #include <stdlib.h>
19731 #if ((' ' & 0x0FF) == 0x020)
19732 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19733 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19734 #else
19735 # define ISLOWER(c) \
19736 (('a' <= (c) && (c) <= 'i') \
19737 || ('j' <= (c) && (c) <= 'r') \
19738 || ('s' <= (c) && (c) <= 'z'))
19739 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19740 #endif
19741
19742 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19743 int
19744 main ()
19745 {
19746 int i;
19747 for (i = 0; i < 256; i++)
19748 if (XOR (islower (i), ISLOWER (i))
19749 || toupper (i) != TOUPPER (i))
19750 return 2;
19751 return 0;
19752 }
19753 _ACEOF
19754 rm -f conftest$ac_exeext
19755 if { (ac_try="$ac_link"
19756 case "(($ac_try" in
19757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19758 *) ac_try_echo=$ac_try;;
19759 esac
19760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19761 (eval "$ac_link") 2>&5
19762 ac_status=$?
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19765 { (case "(($ac_try" in
19766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19767 *) ac_try_echo=$ac_try;;
19768 esac
19769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19770 (eval "$ac_try") 2>&5
19771 ac_status=$?
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); }; }; then
19774 :
19775 else
19776 echo "$as_me: program exited with status $ac_status" >&5
19777 echo "$as_me: failed program was:" >&5
19778 sed 's/^/| /' conftest.$ac_ext >&5
19779
19780 ( exit $ac_status )
19781 ac_cv_header_stdc=no
19782 fi
19783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19784 fi
19785
19786
19787 fi
19788 fi
19789 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19790 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19791 if test $ac_cv_header_stdc = yes; then
19792
19793 cat >>confdefs.h <<\_ACEOF
19794 #define STDC_HEADERS 1
19795 _ACEOF
19796
19797 fi
19798
19799 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19810 inttypes.h stdint.h unistd.h
19811 do
19812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19813 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19815 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19816 echo $ECHO_N "(cached) $ECHO_C" >&6
19817 else
19818 cat >conftest.$ac_ext <<_ACEOF
19819 /* confdefs.h. */
19820 _ACEOF
19821 cat confdefs.h >>conftest.$ac_ext
19822 cat >>conftest.$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19824 $ac_includes_default
19825
19826 #include <$ac_header>
19827 _ACEOF
19828 rm -f conftest.$ac_objext
19829 if { (ac_try="$ac_compile"
19830 case "(($ac_try" in
19831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19832 *) ac_try_echo=$ac_try;;
19833 esac
19834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19835 (eval "$ac_compile") 2>conftest.er1
19836 ac_status=$?
19837 grep -v '^ *+' conftest.er1 >conftest.err
19838 rm -f conftest.er1
19839 cat conftest.err >&5
19840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19841 (exit $ac_status); } && {
19842 test -z "$ac_c_werror_flag" ||
19843 test ! -s conftest.err
19844 } && test -s conftest.$ac_objext; then
19845 eval "$as_ac_Header=yes"
19846 else
19847 echo "$as_me: failed program was:" >&5
19848 sed 's/^/| /' conftest.$ac_ext >&5
19849
19850 eval "$as_ac_Header=no"
19851 fi
19852
19853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19854 fi
19855 ac_res=`eval echo '${'$as_ac_Header'}'`
19856 { echo "$as_me:$LINENO: result: $ac_res" >&5
19857 echo "${ECHO_T}$ac_res" >&6; }
19858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19859 cat >>confdefs.h <<_ACEOF
19860 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19861 _ACEOF
19862
19863 fi
19864
19865 done
19866
19867
19868
19869
19870 for ac_header in langinfo.h wchar.h
19871 do
19872 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19873 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19875 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19876 echo $ECHO_N "(cached) $ECHO_C" >&6
19877 else
19878 cat >conftest.$ac_ext <<_ACEOF
19879 /* confdefs.h. */
19880 _ACEOF
19881 cat confdefs.h >>conftest.$ac_ext
19882 cat >>conftest.$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19884 $ac_includes_default
19885
19886 #include <$ac_header>
19887 _ACEOF
19888 rm -f conftest.$ac_objext
19889 if { (ac_try="$ac_compile"
19890 case "(($ac_try" in
19891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19892 *) ac_try_echo=$ac_try;;
19893 esac
19894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19895 (eval "$ac_compile") 2>conftest.er1
19896 ac_status=$?
19897 grep -v '^ *+' conftest.er1 >conftest.err
19898 rm -f conftest.er1
19899 cat conftest.err >&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); } && {
19902 test -z "$ac_c_werror_flag" ||
19903 test ! -s conftest.err
19904 } && test -s conftest.$ac_objext; then
19905 eval "$as_ac_Header=yes"
19906 else
19907 echo "$as_me: failed program was:" >&5
19908 sed 's/^/| /' conftest.$ac_ext >&5
19909
19910 eval "$as_ac_Header=no"
19911 fi
19912
19913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19914 fi
19915 ac_res=`eval echo '${'$as_ac_Header'}'`
19916 { echo "$as_me:$LINENO: result: $ac_res" >&5
19917 echo "${ECHO_T}$ac_res" >&6; }
19918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19919 cat >>confdefs.h <<_ACEOF
19920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19921 _ACEOF
19922
19923 fi
19924
19925 done
19926
19927
19928 if test "$ac_cv_header_wchar_h" != "yes"; then
19929
19930 for ac_header in wcstr.h
19931 do
19932 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19933 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19935 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19936 echo $ECHO_N "(cached) $ECHO_C" >&6
19937 else
19938 cat >conftest.$ac_ext <<_ACEOF
19939 /* confdefs.h. */
19940 _ACEOF
19941 cat confdefs.h >>conftest.$ac_ext
19942 cat >>conftest.$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944 $ac_includes_default
19945
19946 #include <$ac_header>
19947 _ACEOF
19948 rm -f conftest.$ac_objext
19949 if { (ac_try="$ac_compile"
19950 case "(($ac_try" in
19951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19952 *) ac_try_echo=$ac_try;;
19953 esac
19954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19955 (eval "$ac_compile") 2>conftest.er1
19956 ac_status=$?
19957 grep -v '^ *+' conftest.er1 >conftest.err
19958 rm -f conftest.er1
19959 cat conftest.err >&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } && {
19962 test -z "$ac_c_werror_flag" ||
19963 test ! -s conftest.err
19964 } && test -s conftest.$ac_objext; then
19965 eval "$as_ac_Header=yes"
19966 else
19967 echo "$as_me: failed program was:" >&5
19968 sed 's/^/| /' conftest.$ac_ext >&5
19969
19970 eval "$as_ac_Header=no"
19971 fi
19972
19973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19974 fi
19975 ac_res=`eval echo '${'$as_ac_Header'}'`
19976 { echo "$as_me:$LINENO: result: $ac_res" >&5
19977 echo "${ECHO_T}$ac_res" >&6; }
19978 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19979 cat >>confdefs.h <<_ACEOF
19980 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19981 _ACEOF
19982
19983 fi
19984
19985 done
19986
19987 fi
19988
19989 case "${host}" in
19990 *-pc-os2_emx | *-pc-os2-emx )
19991 if test $ac_cv_header_langinfo_h = "yes" \
19992 -a \( "$wx_cv_gccversion" = "EMX2" \
19993 -o "$wx_cv_gccversion" = "EMX3" \
19994 -o "$wx_cv_gccversion" = "Innotek5" \); then
19995 LIBS="$LIBS -lintl"
19996 fi
19997 ;;
19998 esac
19999
20000 if test "$USE_UNIX" = 1 ; then
20001
20002 for ac_header in sys/select.h
20003 do
20004 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20005 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20007 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20008 echo $ECHO_N "(cached) $ECHO_C" >&6
20009 else
20010 cat >conftest.$ac_ext <<_ACEOF
20011 /* confdefs.h. */
20012 _ACEOF
20013 cat confdefs.h >>conftest.$ac_ext
20014 cat >>conftest.$ac_ext <<_ACEOF
20015 /* end confdefs.h. */
20016 $ac_includes_default
20017
20018 #include <$ac_header>
20019 _ACEOF
20020 rm -f conftest.$ac_objext
20021 if { (ac_try="$ac_compile"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20025 esac
20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_compile") 2>conftest.er1
20028 ac_status=$?
20029 grep -v '^ *+' conftest.er1 >conftest.err
20030 rm -f conftest.er1
20031 cat conftest.err >&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); } && {
20034 test -z "$ac_c_werror_flag" ||
20035 test ! -s conftest.err
20036 } && test -s conftest.$ac_objext; then
20037 eval "$as_ac_Header=yes"
20038 else
20039 echo "$as_me: failed program was:" >&5
20040 sed 's/^/| /' conftest.$ac_ext >&5
20041
20042 eval "$as_ac_Header=no"
20043 fi
20044
20045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20046 fi
20047 ac_res=`eval echo '${'$as_ac_Header'}'`
20048 { echo "$as_me:$LINENO: result: $ac_res" >&5
20049 echo "${ECHO_T}$ac_res" >&6; }
20050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20051 cat >>confdefs.h <<_ACEOF
20052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20053 _ACEOF
20054
20055 fi
20056
20057 done
20058
20059 fi
20060
20061
20062 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20063 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20064 if test "${ac_cv_c_const+set}" = set; then
20065 echo $ECHO_N "(cached) $ECHO_C" >&6
20066 else
20067 cat >conftest.$ac_ext <<_ACEOF
20068 /* confdefs.h. */
20069 _ACEOF
20070 cat confdefs.h >>conftest.$ac_ext
20071 cat >>conftest.$ac_ext <<_ACEOF
20072 /* end confdefs.h. */
20073
20074 int
20075 main ()
20076 {
20077 /* FIXME: Include the comments suggested by Paul. */
20078 #ifndef __cplusplus
20079 /* Ultrix mips cc rejects this. */
20080 typedef int charset[2];
20081 const charset cs;
20082 /* SunOS 4.1.1 cc rejects this. */
20083 char const *const *pcpcc;
20084 char **ppc;
20085 /* NEC SVR4.0.2 mips cc rejects this. */
20086 struct point {int x, y;};
20087 static struct point const zero = {0,0};
20088 /* AIX XL C 1.02.0.0 rejects this.
20089 It does not let you subtract one const X* pointer from another in
20090 an arm of an if-expression whose if-part is not a constant
20091 expression */
20092 const char *g = "string";
20093 pcpcc = &g + (g ? g-g : 0);
20094 /* HPUX 7.0 cc rejects these. */
20095 ++pcpcc;
20096 ppc = (char**) pcpcc;
20097 pcpcc = (char const *const *) ppc;
20098 { /* SCO 3.2v4 cc rejects this. */
20099 char *t;
20100 char const *s = 0 ? (char *) 0 : (char const *) 0;
20101
20102 *t++ = 0;
20103 if (s) return 0;
20104 }
20105 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20106 int x[] = {25, 17};
20107 const int *foo = &x[0];
20108 ++foo;
20109 }
20110 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20111 typedef const int *iptr;
20112 iptr p = 0;
20113 ++p;
20114 }
20115 { /* AIX XL C 1.02.0.0 rejects this saying
20116 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20117 struct s { int j; const int *ap[3]; };
20118 struct s *b; b->j = 5;
20119 }
20120 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20121 const int foo = 10;
20122 if (!foo) return 0;
20123 }
20124 return !cs[0] && !zero.x;
20125 #endif
20126
20127 ;
20128 return 0;
20129 }
20130 _ACEOF
20131 rm -f conftest.$ac_objext
20132 if { (ac_try="$ac_compile"
20133 case "(($ac_try" in
20134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20135 *) ac_try_echo=$ac_try;;
20136 esac
20137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20138 (eval "$ac_compile") 2>conftest.er1
20139 ac_status=$?
20140 grep -v '^ *+' conftest.er1 >conftest.err
20141 rm -f conftest.er1
20142 cat conftest.err >&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } && {
20145 test -z "$ac_c_werror_flag" ||
20146 test ! -s conftest.err
20147 } && test -s conftest.$ac_objext; then
20148 ac_cv_c_const=yes
20149 else
20150 echo "$as_me: failed program was:" >&5
20151 sed 's/^/| /' conftest.$ac_ext >&5
20152
20153 ac_cv_c_const=no
20154 fi
20155
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20157 fi
20158 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20159 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20160 if test $ac_cv_c_const = no; then
20161
20162 cat >>confdefs.h <<\_ACEOF
20163 #define const
20164 _ACEOF
20165
20166 fi
20167
20168 { echo "$as_me:$LINENO: checking for inline" >&5
20169 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20170 if test "${ac_cv_c_inline+set}" = set; then
20171 echo $ECHO_N "(cached) $ECHO_C" >&6
20172 else
20173 ac_cv_c_inline=no
20174 for ac_kw in inline __inline__ __inline; do
20175 cat >conftest.$ac_ext <<_ACEOF
20176 /* confdefs.h. */
20177 _ACEOF
20178 cat confdefs.h >>conftest.$ac_ext
20179 cat >>conftest.$ac_ext <<_ACEOF
20180 /* end confdefs.h. */
20181 #ifndef __cplusplus
20182 typedef int foo_t;
20183 static $ac_kw foo_t static_foo () {return 0; }
20184 $ac_kw foo_t foo () {return 0; }
20185 #endif
20186
20187 _ACEOF
20188 rm -f conftest.$ac_objext
20189 if { (ac_try="$ac_compile"
20190 case "(($ac_try" in
20191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20192 *) ac_try_echo=$ac_try;;
20193 esac
20194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20195 (eval "$ac_compile") 2>conftest.er1
20196 ac_status=$?
20197 grep -v '^ *+' conftest.er1 >conftest.err
20198 rm -f conftest.er1
20199 cat conftest.err >&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); } && {
20202 test -z "$ac_c_werror_flag" ||
20203 test ! -s conftest.err
20204 } && test -s conftest.$ac_objext; then
20205 ac_cv_c_inline=$ac_kw
20206 else
20207 echo "$as_me: failed program was:" >&5
20208 sed 's/^/| /' conftest.$ac_ext >&5
20209
20210
20211 fi
20212
20213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20214 test "$ac_cv_c_inline" != no && break
20215 done
20216
20217 fi
20218 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20219 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20220
20221
20222 case $ac_cv_c_inline in
20223 inline | yes) ;;
20224 *)
20225 case $ac_cv_c_inline in
20226 no) ac_val=;;
20227 *) ac_val=$ac_cv_c_inline;;
20228 esac
20229 cat >>confdefs.h <<_ACEOF
20230 #ifndef __cplusplus
20231 #define inline $ac_val
20232 #endif
20233 _ACEOF
20234 ;;
20235 esac
20236
20237
20238 { echo "$as_me:$LINENO: checking for short" >&5
20239 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20240 if test "${ac_cv_type_short+set}" = set; then
20241 echo $ECHO_N "(cached) $ECHO_C" >&6
20242 else
20243 cat >conftest.$ac_ext <<_ACEOF
20244 /* confdefs.h. */
20245 _ACEOF
20246 cat confdefs.h >>conftest.$ac_ext
20247 cat >>conftest.$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20249 $ac_includes_default
20250 typedef short ac__type_new_;
20251 int
20252 main ()
20253 {
20254 if ((ac__type_new_ *) 0)
20255 return 0;
20256 if (sizeof (ac__type_new_))
20257 return 0;
20258 ;
20259 return 0;
20260 }
20261 _ACEOF
20262 rm -f conftest.$ac_objext
20263 if { (ac_try="$ac_compile"
20264 case "(($ac_try" in
20265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20266 *) ac_try_echo=$ac_try;;
20267 esac
20268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20269 (eval "$ac_compile") 2>conftest.er1
20270 ac_status=$?
20271 grep -v '^ *+' conftest.er1 >conftest.err
20272 rm -f conftest.er1
20273 cat conftest.err >&5
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); } && {
20276 test -z "$ac_c_werror_flag" ||
20277 test ! -s conftest.err
20278 } && test -s conftest.$ac_objext; then
20279 ac_cv_type_short=yes
20280 else
20281 echo "$as_me: failed program was:" >&5
20282 sed 's/^/| /' conftest.$ac_ext >&5
20283
20284 ac_cv_type_short=no
20285 fi
20286
20287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20288 fi
20289 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20290 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20291
20292 # The cast to long int works around a bug in the HP C Compiler
20293 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20294 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20295 # This bug is HP SR number 8606223364.
20296 { echo "$as_me:$LINENO: checking size of short" >&5
20297 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20298 if test "${ac_cv_sizeof_short+set}" = set; then
20299 echo $ECHO_N "(cached) $ECHO_C" >&6
20300 else
20301 if test "$cross_compiling" = yes; then
20302 # Depending upon the size, compute the lo and hi bounds.
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 short ac__type_sizeof_;
20311 int
20312 main ()
20313 {
20314 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
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_lo=0 ac_mid=0
20339 while :; do
20340 cat >conftest.$ac_ext <<_ACEOF
20341 /* confdefs.h. */
20342 _ACEOF
20343 cat confdefs.h >>conftest.$ac_ext
20344 cat >>conftest.$ac_ext <<_ACEOF
20345 /* end confdefs.h. */
20346 $ac_includes_default
20347 typedef short ac__type_sizeof_;
20348 int
20349 main ()
20350 {
20351 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20352 test_array [0] = 0
20353
20354 ;
20355 return 0;
20356 }
20357 _ACEOF
20358 rm -f conftest.$ac_objext
20359 if { (ac_try="$ac_compile"
20360 case "(($ac_try" in
20361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20362 *) ac_try_echo=$ac_try;;
20363 esac
20364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20365 (eval "$ac_compile") 2>conftest.er1
20366 ac_status=$?
20367 grep -v '^ *+' conftest.er1 >conftest.err
20368 rm -f conftest.er1
20369 cat conftest.err >&5
20370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20371 (exit $ac_status); } && {
20372 test -z "$ac_c_werror_flag" ||
20373 test ! -s conftest.err
20374 } && test -s conftest.$ac_objext; then
20375 ac_hi=$ac_mid; break
20376 else
20377 echo "$as_me: failed program was:" >&5
20378 sed 's/^/| /' conftest.$ac_ext >&5
20379
20380 ac_lo=`expr $ac_mid + 1`
20381 if test $ac_lo -le $ac_mid; then
20382 ac_lo= ac_hi=
20383 break
20384 fi
20385 ac_mid=`expr 2 '*' $ac_mid + 1`
20386 fi
20387
20388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20389 done
20390 else
20391 echo "$as_me: failed program was:" >&5
20392 sed 's/^/| /' conftest.$ac_ext >&5
20393
20394 cat >conftest.$ac_ext <<_ACEOF
20395 /* confdefs.h. */
20396 _ACEOF
20397 cat confdefs.h >>conftest.$ac_ext
20398 cat >>conftest.$ac_ext <<_ACEOF
20399 /* end confdefs.h. */
20400 $ac_includes_default
20401 typedef short ac__type_sizeof_;
20402 int
20403 main ()
20404 {
20405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20406 test_array [0] = 0
20407
20408 ;
20409 return 0;
20410 }
20411 _ACEOF
20412 rm -f conftest.$ac_objext
20413 if { (ac_try="$ac_compile"
20414 case "(($ac_try" in
20415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20416 *) ac_try_echo=$ac_try;;
20417 esac
20418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20419 (eval "$ac_compile") 2>conftest.er1
20420 ac_status=$?
20421 grep -v '^ *+' conftest.er1 >conftest.err
20422 rm -f conftest.er1
20423 cat conftest.err >&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); } && {
20426 test -z "$ac_c_werror_flag" ||
20427 test ! -s conftest.err
20428 } && test -s conftest.$ac_objext; then
20429 ac_hi=-1 ac_mid=-1
20430 while :; do
20431 cat >conftest.$ac_ext <<_ACEOF
20432 /* confdefs.h. */
20433 _ACEOF
20434 cat confdefs.h >>conftest.$ac_ext
20435 cat >>conftest.$ac_ext <<_ACEOF
20436 /* end confdefs.h. */
20437 $ac_includes_default
20438 typedef short ac__type_sizeof_;
20439 int
20440 main ()
20441 {
20442 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20443 test_array [0] = 0
20444
20445 ;
20446 return 0;
20447 }
20448 _ACEOF
20449 rm -f conftest.$ac_objext
20450 if { (ac_try="$ac_compile"
20451 case "(($ac_try" in
20452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20453 *) ac_try_echo=$ac_try;;
20454 esac
20455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20456 (eval "$ac_compile") 2>conftest.er1
20457 ac_status=$?
20458 grep -v '^ *+' conftest.er1 >conftest.err
20459 rm -f conftest.er1
20460 cat conftest.err >&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } && {
20463 test -z "$ac_c_werror_flag" ||
20464 test ! -s conftest.err
20465 } && test -s conftest.$ac_objext; then
20466 ac_lo=$ac_mid; break
20467 else
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.$ac_ext >&5
20470
20471 ac_hi=`expr '(' $ac_mid ')' - 1`
20472 if test $ac_mid -le $ac_hi; then
20473 ac_lo= ac_hi=
20474 break
20475 fi
20476 ac_mid=`expr 2 '*' $ac_mid`
20477 fi
20478
20479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20480 done
20481 else
20482 echo "$as_me: failed program was:" >&5
20483 sed 's/^/| /' conftest.$ac_ext >&5
20484
20485 ac_lo= ac_hi=
20486 fi
20487
20488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20489 fi
20490
20491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20492 # Binary search between lo and hi bounds.
20493 while test "x$ac_lo" != "x$ac_hi"; do
20494 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20495 cat >conftest.$ac_ext <<_ACEOF
20496 /* confdefs.h. */
20497 _ACEOF
20498 cat confdefs.h >>conftest.$ac_ext
20499 cat >>conftest.$ac_ext <<_ACEOF
20500 /* end confdefs.h. */
20501 $ac_includes_default
20502 typedef short ac__type_sizeof_;
20503 int
20504 main ()
20505 {
20506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20507 test_array [0] = 0
20508
20509 ;
20510 return 0;
20511 }
20512 _ACEOF
20513 rm -f conftest.$ac_objext
20514 if { (ac_try="$ac_compile"
20515 case "(($ac_try" in
20516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20517 *) ac_try_echo=$ac_try;;
20518 esac
20519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20520 (eval "$ac_compile") 2>conftest.er1
20521 ac_status=$?
20522 grep -v '^ *+' conftest.er1 >conftest.err
20523 rm -f conftest.er1
20524 cat conftest.err >&5
20525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20526 (exit $ac_status); } && {
20527 test -z "$ac_c_werror_flag" ||
20528 test ! -s conftest.err
20529 } && test -s conftest.$ac_objext; then
20530 ac_hi=$ac_mid
20531 else
20532 echo "$as_me: failed program was:" >&5
20533 sed 's/^/| /' conftest.$ac_ext >&5
20534
20535 ac_lo=`expr '(' $ac_mid ')' + 1`
20536 fi
20537
20538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20539 done
20540 case $ac_lo in
20541 ?*) ac_cv_sizeof_short=$ac_lo;;
20542 '') if test "$ac_cv_type_short" = yes; then
20543 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20544 See \`config.log' for more details." >&5
20545 echo "$as_me: error: cannot compute sizeof (short)
20546 See \`config.log' for more details." >&2;}
20547 { (exit 77); exit 77; }; }
20548 else
20549 ac_cv_sizeof_short=0
20550 fi ;;
20551 esac
20552 else
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 short ac__type_sizeof_;
20561 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20562 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20563 #include <stdio.h>
20564 #include <stdlib.h>
20565 int
20566 main ()
20567 {
20568
20569 FILE *f = fopen ("conftest.val", "w");
20570 if (! f)
20571 return 1;
20572 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20573 {
20574 long int i = longval ();
20575 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20576 return 1;
20577 fprintf (f, "%ld\n", i);
20578 }
20579 else
20580 {
20581 unsigned long int i = ulongval ();
20582 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20583 return 1;
20584 fprintf (f, "%lu\n", i);
20585 }
20586 return ferror (f) || fclose (f) != 0;
20587
20588 ;
20589 return 0;
20590 }
20591 _ACEOF
20592 rm -f conftest$ac_exeext
20593 if { (ac_try="$ac_link"
20594 case "(($ac_try" in
20595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20596 *) ac_try_echo=$ac_try;;
20597 esac
20598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20599 (eval "$ac_link") 2>&5
20600 ac_status=$?
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20603 { (case "(($ac_try" in
20604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20605 *) ac_try_echo=$ac_try;;
20606 esac
20607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20608 (eval "$ac_try") 2>&5
20609 ac_status=$?
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); }; }; then
20612 ac_cv_sizeof_short=`cat conftest.val`
20613 else
20614 echo "$as_me: program exited with status $ac_status" >&5
20615 echo "$as_me: failed program was:" >&5
20616 sed 's/^/| /' conftest.$ac_ext >&5
20617
20618 ( exit $ac_status )
20619 if test "$ac_cv_type_short" = yes; then
20620 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20621 See \`config.log' for more details." >&5
20622 echo "$as_me: error: cannot compute sizeof (short)
20623 See \`config.log' for more details." >&2;}
20624 { (exit 77); exit 77; }; }
20625 else
20626 ac_cv_sizeof_short=0
20627 fi
20628 fi
20629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20630 fi
20631 rm -f conftest.val
20632 fi
20633 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20634 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20635
20636
20637
20638 cat >>confdefs.h <<_ACEOF
20639 #define SIZEOF_SHORT $ac_cv_sizeof_short
20640 _ACEOF
20641
20642
20643 { echo "$as_me:$LINENO: checking for void *" >&5
20644 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20645 if test "${ac_cv_type_void_p+set}" = set; then
20646 echo $ECHO_N "(cached) $ECHO_C" >&6
20647 else
20648 cat >conftest.$ac_ext <<_ACEOF
20649 /* confdefs.h. */
20650 _ACEOF
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 $ac_includes_default
20655 typedef void * ac__type_new_;
20656 int
20657 main ()
20658 {
20659 if ((ac__type_new_ *) 0)
20660 return 0;
20661 if (sizeof (ac__type_new_))
20662 return 0;
20663 ;
20664 return 0;
20665 }
20666 _ACEOF
20667 rm -f conftest.$ac_objext
20668 if { (ac_try="$ac_compile"
20669 case "(($ac_try" in
20670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20671 *) ac_try_echo=$ac_try;;
20672 esac
20673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20674 (eval "$ac_compile") 2>conftest.er1
20675 ac_status=$?
20676 grep -v '^ *+' conftest.er1 >conftest.err
20677 rm -f conftest.er1
20678 cat conftest.err >&5
20679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20680 (exit $ac_status); } && {
20681 test -z "$ac_c_werror_flag" ||
20682 test ! -s conftest.err
20683 } && test -s conftest.$ac_objext; then
20684 ac_cv_type_void_p=yes
20685 else
20686 echo "$as_me: failed program was:" >&5
20687 sed 's/^/| /' conftest.$ac_ext >&5
20688
20689 ac_cv_type_void_p=no
20690 fi
20691
20692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20693 fi
20694 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20695 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20696
20697 # The cast to long int works around a bug in the HP C Compiler
20698 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20699 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20700 # This bug is HP SR number 8606223364.
20701 { echo "$as_me:$LINENO: checking size of void *" >&5
20702 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20703 if test "${ac_cv_sizeof_void_p+set}" = set; then
20704 echo $ECHO_N "(cached) $ECHO_C" >&6
20705 else
20706 if test "$cross_compiling" = yes; then
20707 # Depending upon the size, compute the lo and hi bounds.
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 void * ac__type_sizeof_;
20716 int
20717 main ()
20718 {
20719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
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_lo=0 ac_mid=0
20744 while :; do
20745 cat >conftest.$ac_ext <<_ACEOF
20746 /* confdefs.h. */
20747 _ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 $ac_includes_default
20752 typedef void * ac__type_sizeof_;
20753 int
20754 main ()
20755 {
20756 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20757 test_array [0] = 0
20758
20759 ;
20760 return 0;
20761 }
20762 _ACEOF
20763 rm -f conftest.$ac_objext
20764 if { (ac_try="$ac_compile"
20765 case "(($ac_try" in
20766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20767 *) ac_try_echo=$ac_try;;
20768 esac
20769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20770 (eval "$ac_compile") 2>conftest.er1
20771 ac_status=$?
20772 grep -v '^ *+' conftest.er1 >conftest.err
20773 rm -f conftest.er1
20774 cat conftest.err >&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); } && {
20777 test -z "$ac_c_werror_flag" ||
20778 test ! -s conftest.err
20779 } && test -s conftest.$ac_objext; then
20780 ac_hi=$ac_mid; break
20781 else
20782 echo "$as_me: failed program was:" >&5
20783 sed 's/^/| /' conftest.$ac_ext >&5
20784
20785 ac_lo=`expr $ac_mid + 1`
20786 if test $ac_lo -le $ac_mid; then
20787 ac_lo= ac_hi=
20788 break
20789 fi
20790 ac_mid=`expr 2 '*' $ac_mid + 1`
20791 fi
20792
20793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20794 done
20795 else
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.$ac_ext >&5
20798
20799 cat >conftest.$ac_ext <<_ACEOF
20800 /* confdefs.h. */
20801 _ACEOF
20802 cat confdefs.h >>conftest.$ac_ext
20803 cat >>conftest.$ac_ext <<_ACEOF
20804 /* end confdefs.h. */
20805 $ac_includes_default
20806 typedef void * ac__type_sizeof_;
20807 int
20808 main ()
20809 {
20810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20811 test_array [0] = 0
20812
20813 ;
20814 return 0;
20815 }
20816 _ACEOF
20817 rm -f conftest.$ac_objext
20818 if { (ac_try="$ac_compile"
20819 case "(($ac_try" in
20820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20821 *) ac_try_echo=$ac_try;;
20822 esac
20823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20824 (eval "$ac_compile") 2>conftest.er1
20825 ac_status=$?
20826 grep -v '^ *+' conftest.er1 >conftest.err
20827 rm -f conftest.er1
20828 cat conftest.err >&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); } && {
20831 test -z "$ac_c_werror_flag" ||
20832 test ! -s conftest.err
20833 } && test -s conftest.$ac_objext; then
20834 ac_hi=-1 ac_mid=-1
20835 while :; do
20836 cat >conftest.$ac_ext <<_ACEOF
20837 /* confdefs.h. */
20838 _ACEOF
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 $ac_includes_default
20843 typedef void * ac__type_sizeof_;
20844 int
20845 main ()
20846 {
20847 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20848 test_array [0] = 0
20849
20850 ;
20851 return 0;
20852 }
20853 _ACEOF
20854 rm -f conftest.$ac_objext
20855 if { (ac_try="$ac_compile"
20856 case "(($ac_try" in
20857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20858 *) ac_try_echo=$ac_try;;
20859 esac
20860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20861 (eval "$ac_compile") 2>conftest.er1
20862 ac_status=$?
20863 grep -v '^ *+' conftest.er1 >conftest.err
20864 rm -f conftest.er1
20865 cat conftest.err >&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } && {
20868 test -z "$ac_c_werror_flag" ||
20869 test ! -s conftest.err
20870 } && test -s conftest.$ac_objext; then
20871 ac_lo=$ac_mid; break
20872 else
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.$ac_ext >&5
20875
20876 ac_hi=`expr '(' $ac_mid ')' - 1`
20877 if test $ac_mid -le $ac_hi; then
20878 ac_lo= ac_hi=
20879 break
20880 fi
20881 ac_mid=`expr 2 '*' $ac_mid`
20882 fi
20883
20884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20885 done
20886 else
20887 echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.$ac_ext >&5
20889
20890 ac_lo= ac_hi=
20891 fi
20892
20893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20894 fi
20895
20896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20897 # Binary search between lo and hi bounds.
20898 while test "x$ac_lo" != "x$ac_hi"; do
20899 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20900 cat >conftest.$ac_ext <<_ACEOF
20901 /* confdefs.h. */
20902 _ACEOF
20903 cat confdefs.h >>conftest.$ac_ext
20904 cat >>conftest.$ac_ext <<_ACEOF
20905 /* end confdefs.h. */
20906 $ac_includes_default
20907 typedef void * ac__type_sizeof_;
20908 int
20909 main ()
20910 {
20911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20912 test_array [0] = 0
20913
20914 ;
20915 return 0;
20916 }
20917 _ACEOF
20918 rm -f conftest.$ac_objext
20919 if { (ac_try="$ac_compile"
20920 case "(($ac_try" in
20921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20922 *) ac_try_echo=$ac_try;;
20923 esac
20924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20925 (eval "$ac_compile") 2>conftest.er1
20926 ac_status=$?
20927 grep -v '^ *+' conftest.er1 >conftest.err
20928 rm -f conftest.er1
20929 cat conftest.err >&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); } && {
20932 test -z "$ac_c_werror_flag" ||
20933 test ! -s conftest.err
20934 } && test -s conftest.$ac_objext; then
20935 ac_hi=$ac_mid
20936 else
20937 echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20939
20940 ac_lo=`expr '(' $ac_mid ')' + 1`
20941 fi
20942
20943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20944 done
20945 case $ac_lo in
20946 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20947 '') if test "$ac_cv_type_void_p" = yes; then
20948 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20949 See \`config.log' for more details." >&5
20950 echo "$as_me: error: cannot compute sizeof (void *)
20951 See \`config.log' for more details." >&2;}
20952 { (exit 77); exit 77; }; }
20953 else
20954 ac_cv_sizeof_void_p=0
20955 fi ;;
20956 esac
20957 else
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 void * ac__type_sizeof_;
20966 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20967 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20968 #include <stdio.h>
20969 #include <stdlib.h>
20970 int
20971 main ()
20972 {
20973
20974 FILE *f = fopen ("conftest.val", "w");
20975 if (! f)
20976 return 1;
20977 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20978 {
20979 long int i = longval ();
20980 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20981 return 1;
20982 fprintf (f, "%ld\n", i);
20983 }
20984 else
20985 {
20986 unsigned long int i = ulongval ();
20987 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20988 return 1;
20989 fprintf (f, "%lu\n", i);
20990 }
20991 return ferror (f) || fclose (f) != 0;
20992
20993 ;
20994 return 0;
20995 }
20996 _ACEOF
20997 rm -f conftest$ac_exeext
20998 if { (ac_try="$ac_link"
20999 case "(($ac_try" in
21000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21001 *) ac_try_echo=$ac_try;;
21002 esac
21003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21004 (eval "$ac_link") 2>&5
21005 ac_status=$?
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21008 { (case "(($ac_try" in
21009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21010 *) ac_try_echo=$ac_try;;
21011 esac
21012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21013 (eval "$ac_try") 2>&5
21014 ac_status=$?
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); }; }; then
21017 ac_cv_sizeof_void_p=`cat conftest.val`
21018 else
21019 echo "$as_me: program exited with status $ac_status" >&5
21020 echo "$as_me: failed program was:" >&5
21021 sed 's/^/| /' conftest.$ac_ext >&5
21022
21023 ( exit $ac_status )
21024 if test "$ac_cv_type_void_p" = yes; then
21025 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21026 See \`config.log' for more details." >&5
21027 echo "$as_me: error: cannot compute sizeof (void *)
21028 See \`config.log' for more details." >&2;}
21029 { (exit 77); exit 77; }; }
21030 else
21031 ac_cv_sizeof_void_p=0
21032 fi
21033 fi
21034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21035 fi
21036 rm -f conftest.val
21037 fi
21038 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21039 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21040
21041
21042
21043 cat >>confdefs.h <<_ACEOF
21044 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21045 _ACEOF
21046
21047
21048 { echo "$as_me:$LINENO: checking for int" >&5
21049 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21050 if test "${ac_cv_type_int+set}" = set; then
21051 echo $ECHO_N "(cached) $ECHO_C" >&6
21052 else
21053 cat >conftest.$ac_ext <<_ACEOF
21054 /* confdefs.h. */
21055 _ACEOF
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 $ac_includes_default
21060 typedef int ac__type_new_;
21061 int
21062 main ()
21063 {
21064 if ((ac__type_new_ *) 0)
21065 return 0;
21066 if (sizeof (ac__type_new_))
21067 return 0;
21068 ;
21069 return 0;
21070 }
21071 _ACEOF
21072 rm -f conftest.$ac_objext
21073 if { (ac_try="$ac_compile"
21074 case "(($ac_try" in
21075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21076 *) ac_try_echo=$ac_try;;
21077 esac
21078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21079 (eval "$ac_compile") 2>conftest.er1
21080 ac_status=$?
21081 grep -v '^ *+' conftest.er1 >conftest.err
21082 rm -f conftest.er1
21083 cat conftest.err >&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); } && {
21086 test -z "$ac_c_werror_flag" ||
21087 test ! -s conftest.err
21088 } && test -s conftest.$ac_objext; then
21089 ac_cv_type_int=yes
21090 else
21091 echo "$as_me: failed program was:" >&5
21092 sed 's/^/| /' conftest.$ac_ext >&5
21093
21094 ac_cv_type_int=no
21095 fi
21096
21097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21098 fi
21099 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21100 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21101
21102 # The cast to long int works around a bug in the HP C Compiler
21103 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21104 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21105 # This bug is HP SR number 8606223364.
21106 { echo "$as_me:$LINENO: checking size of int" >&5
21107 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21108 if test "${ac_cv_sizeof_int+set}" = set; then
21109 echo $ECHO_N "(cached) $ECHO_C" >&6
21110 else
21111 if test "$cross_compiling" = yes; then
21112 # Depending upon the size, compute the lo and hi bounds.
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 int ac__type_sizeof_;
21121 int
21122 main ()
21123 {
21124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
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_lo=0 ac_mid=0
21149 while :; do
21150 cat >conftest.$ac_ext <<_ACEOF
21151 /* confdefs.h. */
21152 _ACEOF
21153 cat confdefs.h >>conftest.$ac_ext
21154 cat >>conftest.$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21156 $ac_includes_default
21157 typedef int ac__type_sizeof_;
21158 int
21159 main ()
21160 {
21161 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21162 test_array [0] = 0
21163
21164 ;
21165 return 0;
21166 }
21167 _ACEOF
21168 rm -f conftest.$ac_objext
21169 if { (ac_try="$ac_compile"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21173 esac
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_compile") 2>conftest.er1
21176 ac_status=$?
21177 grep -v '^ *+' conftest.er1 >conftest.err
21178 rm -f conftest.er1
21179 cat conftest.err >&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } && {
21182 test -z "$ac_c_werror_flag" ||
21183 test ! -s conftest.err
21184 } && test -s conftest.$ac_objext; then
21185 ac_hi=$ac_mid; break
21186 else
21187 echo "$as_me: failed program was:" >&5
21188 sed 's/^/| /' conftest.$ac_ext >&5
21189
21190 ac_lo=`expr $ac_mid + 1`
21191 if test $ac_lo -le $ac_mid; then
21192 ac_lo= ac_hi=
21193 break
21194 fi
21195 ac_mid=`expr 2 '*' $ac_mid + 1`
21196 fi
21197
21198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21199 done
21200 else
21201 echo "$as_me: failed program was:" >&5
21202 sed 's/^/| /' conftest.$ac_ext >&5
21203
21204 cat >conftest.$ac_ext <<_ACEOF
21205 /* confdefs.h. */
21206 _ACEOF
21207 cat confdefs.h >>conftest.$ac_ext
21208 cat >>conftest.$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21210 $ac_includes_default
21211 typedef int ac__type_sizeof_;
21212 int
21213 main ()
21214 {
21215 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21216 test_array [0] = 0
21217
21218 ;
21219 return 0;
21220 }
21221 _ACEOF
21222 rm -f conftest.$ac_objext
21223 if { (ac_try="$ac_compile"
21224 case "(($ac_try" in
21225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21226 *) ac_try_echo=$ac_try;;
21227 esac
21228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21229 (eval "$ac_compile") 2>conftest.er1
21230 ac_status=$?
21231 grep -v '^ *+' conftest.er1 >conftest.err
21232 rm -f conftest.er1
21233 cat conftest.err >&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); } && {
21236 test -z "$ac_c_werror_flag" ||
21237 test ! -s conftest.err
21238 } && test -s conftest.$ac_objext; then
21239 ac_hi=-1 ac_mid=-1
21240 while :; do
21241 cat >conftest.$ac_ext <<_ACEOF
21242 /* confdefs.h. */
21243 _ACEOF
21244 cat confdefs.h >>conftest.$ac_ext
21245 cat >>conftest.$ac_ext <<_ACEOF
21246 /* end confdefs.h. */
21247 $ac_includes_default
21248 typedef int ac__type_sizeof_;
21249 int
21250 main ()
21251 {
21252 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21253 test_array [0] = 0
21254
21255 ;
21256 return 0;
21257 }
21258 _ACEOF
21259 rm -f conftest.$ac_objext
21260 if { (ac_try="$ac_compile"
21261 case "(($ac_try" in
21262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21263 *) ac_try_echo=$ac_try;;
21264 esac
21265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21266 (eval "$ac_compile") 2>conftest.er1
21267 ac_status=$?
21268 grep -v '^ *+' conftest.er1 >conftest.err
21269 rm -f conftest.er1
21270 cat conftest.err >&5
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); } && {
21273 test -z "$ac_c_werror_flag" ||
21274 test ! -s conftest.err
21275 } && test -s conftest.$ac_objext; then
21276 ac_lo=$ac_mid; break
21277 else
21278 echo "$as_me: failed program was:" >&5
21279 sed 's/^/| /' conftest.$ac_ext >&5
21280
21281 ac_hi=`expr '(' $ac_mid ')' - 1`
21282 if test $ac_mid -le $ac_hi; then
21283 ac_lo= ac_hi=
21284 break
21285 fi
21286 ac_mid=`expr 2 '*' $ac_mid`
21287 fi
21288
21289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21290 done
21291 else
21292 echo "$as_me: failed program was:" >&5
21293 sed 's/^/| /' conftest.$ac_ext >&5
21294
21295 ac_lo= ac_hi=
21296 fi
21297
21298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21299 fi
21300
21301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21302 # Binary search between lo and hi bounds.
21303 while test "x$ac_lo" != "x$ac_hi"; do
21304 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21305 cat >conftest.$ac_ext <<_ACEOF
21306 /* confdefs.h. */
21307 _ACEOF
21308 cat confdefs.h >>conftest.$ac_ext
21309 cat >>conftest.$ac_ext <<_ACEOF
21310 /* end confdefs.h. */
21311 $ac_includes_default
21312 typedef int ac__type_sizeof_;
21313 int
21314 main ()
21315 {
21316 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21317 test_array [0] = 0
21318
21319 ;
21320 return 0;
21321 }
21322 _ACEOF
21323 rm -f conftest.$ac_objext
21324 if { (ac_try="$ac_compile"
21325 case "(($ac_try" in
21326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21327 *) ac_try_echo=$ac_try;;
21328 esac
21329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21330 (eval "$ac_compile") 2>conftest.er1
21331 ac_status=$?
21332 grep -v '^ *+' conftest.er1 >conftest.err
21333 rm -f conftest.er1
21334 cat conftest.err >&5
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); } && {
21337 test -z "$ac_c_werror_flag" ||
21338 test ! -s conftest.err
21339 } && test -s conftest.$ac_objext; then
21340 ac_hi=$ac_mid
21341 else
21342 echo "$as_me: failed program was:" >&5
21343 sed 's/^/| /' conftest.$ac_ext >&5
21344
21345 ac_lo=`expr '(' $ac_mid ')' + 1`
21346 fi
21347
21348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21349 done
21350 case $ac_lo in
21351 ?*) ac_cv_sizeof_int=$ac_lo;;
21352 '') if test "$ac_cv_type_int" = yes; then
21353 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21354 See \`config.log' for more details." >&5
21355 echo "$as_me: error: cannot compute sizeof (int)
21356 See \`config.log' for more details." >&2;}
21357 { (exit 77); exit 77; }; }
21358 else
21359 ac_cv_sizeof_int=0
21360 fi ;;
21361 esac
21362 else
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 int ac__type_sizeof_;
21371 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21372 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21373 #include <stdio.h>
21374 #include <stdlib.h>
21375 int
21376 main ()
21377 {
21378
21379 FILE *f = fopen ("conftest.val", "w");
21380 if (! f)
21381 return 1;
21382 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21383 {
21384 long int i = longval ();
21385 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21386 return 1;
21387 fprintf (f, "%ld\n", i);
21388 }
21389 else
21390 {
21391 unsigned long int i = ulongval ();
21392 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21393 return 1;
21394 fprintf (f, "%lu\n", i);
21395 }
21396 return ferror (f) || fclose (f) != 0;
21397
21398 ;
21399 return 0;
21400 }
21401 _ACEOF
21402 rm -f conftest$ac_exeext
21403 if { (ac_try="$ac_link"
21404 case "(($ac_try" in
21405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21406 *) ac_try_echo=$ac_try;;
21407 esac
21408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21409 (eval "$ac_link") 2>&5
21410 ac_status=$?
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21413 { (case "(($ac_try" in
21414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21415 *) ac_try_echo=$ac_try;;
21416 esac
21417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21418 (eval "$ac_try") 2>&5
21419 ac_status=$?
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); }; }; then
21422 ac_cv_sizeof_int=`cat conftest.val`
21423 else
21424 echo "$as_me: program exited with status $ac_status" >&5
21425 echo "$as_me: failed program was:" >&5
21426 sed 's/^/| /' conftest.$ac_ext >&5
21427
21428 ( exit $ac_status )
21429 if test "$ac_cv_type_int" = yes; then
21430 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21431 See \`config.log' for more details." >&5
21432 echo "$as_me: error: cannot compute sizeof (int)
21433 See \`config.log' for more details." >&2;}
21434 { (exit 77); exit 77; }; }
21435 else
21436 ac_cv_sizeof_int=0
21437 fi
21438 fi
21439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21440 fi
21441 rm -f conftest.val
21442 fi
21443 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21444 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21445
21446
21447
21448 cat >>confdefs.h <<_ACEOF
21449 #define SIZEOF_INT $ac_cv_sizeof_int
21450 _ACEOF
21451
21452
21453 { echo "$as_me:$LINENO: checking for long" >&5
21454 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21455 if test "${ac_cv_type_long+set}" = set; then
21456 echo $ECHO_N "(cached) $ECHO_C" >&6
21457 else
21458 cat >conftest.$ac_ext <<_ACEOF
21459 /* confdefs.h. */
21460 _ACEOF
21461 cat confdefs.h >>conftest.$ac_ext
21462 cat >>conftest.$ac_ext <<_ACEOF
21463 /* end confdefs.h. */
21464 $ac_includes_default
21465 typedef long ac__type_new_;
21466 int
21467 main ()
21468 {
21469 if ((ac__type_new_ *) 0)
21470 return 0;
21471 if (sizeof (ac__type_new_))
21472 return 0;
21473 ;
21474 return 0;
21475 }
21476 _ACEOF
21477 rm -f conftest.$ac_objext
21478 if { (ac_try="$ac_compile"
21479 case "(($ac_try" in
21480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21481 *) ac_try_echo=$ac_try;;
21482 esac
21483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21484 (eval "$ac_compile") 2>conftest.er1
21485 ac_status=$?
21486 grep -v '^ *+' conftest.er1 >conftest.err
21487 rm -f conftest.er1
21488 cat conftest.err >&5
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); } && {
21491 test -z "$ac_c_werror_flag" ||
21492 test ! -s conftest.err
21493 } && test -s conftest.$ac_objext; then
21494 ac_cv_type_long=yes
21495 else
21496 echo "$as_me: failed program was:" >&5
21497 sed 's/^/| /' conftest.$ac_ext >&5
21498
21499 ac_cv_type_long=no
21500 fi
21501
21502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21503 fi
21504 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21505 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21506
21507 # The cast to long int works around a bug in the HP C Compiler
21508 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21509 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21510 # This bug is HP SR number 8606223364.
21511 { echo "$as_me:$LINENO: checking size of long" >&5
21512 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21513 if test "${ac_cv_sizeof_long+set}" = set; then
21514 echo $ECHO_N "(cached) $ECHO_C" >&6
21515 else
21516 if test "$cross_compiling" = yes; then
21517 # Depending upon the size, compute the lo and hi bounds.
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 long ac__type_sizeof_;
21526 int
21527 main ()
21528 {
21529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
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_lo=0 ac_mid=0
21554 while :; do
21555 cat >conftest.$ac_ext <<_ACEOF
21556 /* confdefs.h. */
21557 _ACEOF
21558 cat confdefs.h >>conftest.$ac_ext
21559 cat >>conftest.$ac_ext <<_ACEOF
21560 /* end confdefs.h. */
21561 $ac_includes_default
21562 typedef long ac__type_sizeof_;
21563 int
21564 main ()
21565 {
21566 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21567 test_array [0] = 0
21568
21569 ;
21570 return 0;
21571 }
21572 _ACEOF
21573 rm -f conftest.$ac_objext
21574 if { (ac_try="$ac_compile"
21575 case "(($ac_try" in
21576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21577 *) ac_try_echo=$ac_try;;
21578 esac
21579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21580 (eval "$ac_compile") 2>conftest.er1
21581 ac_status=$?
21582 grep -v '^ *+' conftest.er1 >conftest.err
21583 rm -f conftest.er1
21584 cat conftest.err >&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } && {
21587 test -z "$ac_c_werror_flag" ||
21588 test ! -s conftest.err
21589 } && test -s conftest.$ac_objext; then
21590 ac_hi=$ac_mid; break
21591 else
21592 echo "$as_me: failed program was:" >&5
21593 sed 's/^/| /' conftest.$ac_ext >&5
21594
21595 ac_lo=`expr $ac_mid + 1`
21596 if test $ac_lo -le $ac_mid; then
21597 ac_lo= ac_hi=
21598 break
21599 fi
21600 ac_mid=`expr 2 '*' $ac_mid + 1`
21601 fi
21602
21603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21604 done
21605 else
21606 echo "$as_me: failed program was:" >&5
21607 sed 's/^/| /' conftest.$ac_ext >&5
21608
21609 cat >conftest.$ac_ext <<_ACEOF
21610 /* confdefs.h. */
21611 _ACEOF
21612 cat confdefs.h >>conftest.$ac_ext
21613 cat >>conftest.$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 $ac_includes_default
21616 typedef long ac__type_sizeof_;
21617 int
21618 main ()
21619 {
21620 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21621 test_array [0] = 0
21622
21623 ;
21624 return 0;
21625 }
21626 _ACEOF
21627 rm -f conftest.$ac_objext
21628 if { (ac_try="$ac_compile"
21629 case "(($ac_try" in
21630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21631 *) ac_try_echo=$ac_try;;
21632 esac
21633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21634 (eval "$ac_compile") 2>conftest.er1
21635 ac_status=$?
21636 grep -v '^ *+' conftest.er1 >conftest.err
21637 rm -f conftest.er1
21638 cat conftest.err >&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); } && {
21641 test -z "$ac_c_werror_flag" ||
21642 test ! -s conftest.err
21643 } && test -s conftest.$ac_objext; then
21644 ac_hi=-1 ac_mid=-1
21645 while :; do
21646 cat >conftest.$ac_ext <<_ACEOF
21647 /* confdefs.h. */
21648 _ACEOF
21649 cat confdefs.h >>conftest.$ac_ext
21650 cat >>conftest.$ac_ext <<_ACEOF
21651 /* end confdefs.h. */
21652 $ac_includes_default
21653 typedef long ac__type_sizeof_;
21654 int
21655 main ()
21656 {
21657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21658 test_array [0] = 0
21659
21660 ;
21661 return 0;
21662 }
21663 _ACEOF
21664 rm -f conftest.$ac_objext
21665 if { (ac_try="$ac_compile"
21666 case "(($ac_try" in
21667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21668 *) ac_try_echo=$ac_try;;
21669 esac
21670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21671 (eval "$ac_compile") 2>conftest.er1
21672 ac_status=$?
21673 grep -v '^ *+' conftest.er1 >conftest.err
21674 rm -f conftest.er1
21675 cat conftest.err >&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); } && {
21678 test -z "$ac_c_werror_flag" ||
21679 test ! -s conftest.err
21680 } && test -s conftest.$ac_objext; then
21681 ac_lo=$ac_mid; break
21682 else
21683 echo "$as_me: failed program was:" >&5
21684 sed 's/^/| /' conftest.$ac_ext >&5
21685
21686 ac_hi=`expr '(' $ac_mid ')' - 1`
21687 if test $ac_mid -le $ac_hi; then
21688 ac_lo= ac_hi=
21689 break
21690 fi
21691 ac_mid=`expr 2 '*' $ac_mid`
21692 fi
21693
21694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21695 done
21696 else
21697 echo "$as_me: failed program was:" >&5
21698 sed 's/^/| /' conftest.$ac_ext >&5
21699
21700 ac_lo= ac_hi=
21701 fi
21702
21703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21704 fi
21705
21706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21707 # Binary search between lo and hi bounds.
21708 while test "x$ac_lo" != "x$ac_hi"; do
21709 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21710 cat >conftest.$ac_ext <<_ACEOF
21711 /* confdefs.h. */
21712 _ACEOF
21713 cat confdefs.h >>conftest.$ac_ext
21714 cat >>conftest.$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 $ac_includes_default
21717 typedef long ac__type_sizeof_;
21718 int
21719 main ()
21720 {
21721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21722 test_array [0] = 0
21723
21724 ;
21725 return 0;
21726 }
21727 _ACEOF
21728 rm -f conftest.$ac_objext
21729 if { (ac_try="$ac_compile"
21730 case "(($ac_try" in
21731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21732 *) ac_try_echo=$ac_try;;
21733 esac
21734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21735 (eval "$ac_compile") 2>conftest.er1
21736 ac_status=$?
21737 grep -v '^ *+' conftest.er1 >conftest.err
21738 rm -f conftest.er1
21739 cat conftest.err >&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } && {
21742 test -z "$ac_c_werror_flag" ||
21743 test ! -s conftest.err
21744 } && test -s conftest.$ac_objext; then
21745 ac_hi=$ac_mid
21746 else
21747 echo "$as_me: failed program was:" >&5
21748 sed 's/^/| /' conftest.$ac_ext >&5
21749
21750 ac_lo=`expr '(' $ac_mid ')' + 1`
21751 fi
21752
21753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21754 done
21755 case $ac_lo in
21756 ?*) ac_cv_sizeof_long=$ac_lo;;
21757 '') if test "$ac_cv_type_long" = yes; then
21758 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21759 See \`config.log' for more details." >&5
21760 echo "$as_me: error: cannot compute sizeof (long)
21761 See \`config.log' for more details." >&2;}
21762 { (exit 77); exit 77; }; }
21763 else
21764 ac_cv_sizeof_long=0
21765 fi ;;
21766 esac
21767 else
21768 cat >conftest.$ac_ext <<_ACEOF
21769 /* confdefs.h. */
21770 _ACEOF
21771 cat confdefs.h >>conftest.$ac_ext
21772 cat >>conftest.$ac_ext <<_ACEOF
21773 /* end confdefs.h. */
21774 $ac_includes_default
21775 typedef long ac__type_sizeof_;
21776 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21777 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21778 #include <stdio.h>
21779 #include <stdlib.h>
21780 int
21781 main ()
21782 {
21783
21784 FILE *f = fopen ("conftest.val", "w");
21785 if (! f)
21786 return 1;
21787 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21788 {
21789 long int i = longval ();
21790 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21791 return 1;
21792 fprintf (f, "%ld\n", i);
21793 }
21794 else
21795 {
21796 unsigned long int i = ulongval ();
21797 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21798 return 1;
21799 fprintf (f, "%lu\n", i);
21800 }
21801 return ferror (f) || fclose (f) != 0;
21802
21803 ;
21804 return 0;
21805 }
21806 _ACEOF
21807 rm -f conftest$ac_exeext
21808 if { (ac_try="$ac_link"
21809 case "(($ac_try" in
21810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21811 *) ac_try_echo=$ac_try;;
21812 esac
21813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21814 (eval "$ac_link") 2>&5
21815 ac_status=$?
21816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21817 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21818 { (case "(($ac_try" in
21819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21820 *) ac_try_echo=$ac_try;;
21821 esac
21822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21823 (eval "$ac_try") 2>&5
21824 ac_status=$?
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); }; }; then
21827 ac_cv_sizeof_long=`cat conftest.val`
21828 else
21829 echo "$as_me: program exited with status $ac_status" >&5
21830 echo "$as_me: failed program was:" >&5
21831 sed 's/^/| /' conftest.$ac_ext >&5
21832
21833 ( exit $ac_status )
21834 if test "$ac_cv_type_long" = yes; then
21835 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21836 See \`config.log' for more details." >&5
21837 echo "$as_me: error: cannot compute sizeof (long)
21838 See \`config.log' for more details." >&2;}
21839 { (exit 77); exit 77; }; }
21840 else
21841 ac_cv_sizeof_long=0
21842 fi
21843 fi
21844 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21845 fi
21846 rm -f conftest.val
21847 fi
21848 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21849 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21850
21851
21852
21853 cat >>confdefs.h <<_ACEOF
21854 #define SIZEOF_LONG $ac_cv_sizeof_long
21855 _ACEOF
21856
21857
21858 { echo "$as_me:$LINENO: checking for size_t" >&5
21859 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21860 if test "${ac_cv_type_size_t+set}" = set; then
21861 echo $ECHO_N "(cached) $ECHO_C" >&6
21862 else
21863 cat >conftest.$ac_ext <<_ACEOF
21864 /* confdefs.h. */
21865 _ACEOF
21866 cat confdefs.h >>conftest.$ac_ext
21867 cat >>conftest.$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21869 $ac_includes_default
21870 typedef size_t ac__type_new_;
21871 int
21872 main ()
21873 {
21874 if ((ac__type_new_ *) 0)
21875 return 0;
21876 if (sizeof (ac__type_new_))
21877 return 0;
21878 ;
21879 return 0;
21880 }
21881 _ACEOF
21882 rm -f conftest.$ac_objext
21883 if { (ac_try="$ac_compile"
21884 case "(($ac_try" in
21885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21886 *) ac_try_echo=$ac_try;;
21887 esac
21888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21889 (eval "$ac_compile") 2>conftest.er1
21890 ac_status=$?
21891 grep -v '^ *+' conftest.er1 >conftest.err
21892 rm -f conftest.er1
21893 cat conftest.err >&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); } && {
21896 test -z "$ac_c_werror_flag" ||
21897 test ! -s conftest.err
21898 } && test -s conftest.$ac_objext; then
21899 ac_cv_type_size_t=yes
21900 else
21901 echo "$as_me: failed program was:" >&5
21902 sed 's/^/| /' conftest.$ac_ext >&5
21903
21904 ac_cv_type_size_t=no
21905 fi
21906
21907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21908 fi
21909 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21910 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21911
21912 # The cast to long int works around a bug in the HP C Compiler
21913 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21914 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21915 # This bug is HP SR number 8606223364.
21916 { echo "$as_me:$LINENO: checking size of size_t" >&5
21917 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21918 if test "${ac_cv_sizeof_size_t+set}" = set; then
21919 echo $ECHO_N "(cached) $ECHO_C" >&6
21920 else
21921 if test "$cross_compiling" = yes; then
21922 # Depending upon the size, compute the lo and hi bounds.
21923 cat >conftest.$ac_ext <<_ACEOF
21924 /* confdefs.h. */
21925 _ACEOF
21926 cat confdefs.h >>conftest.$ac_ext
21927 cat >>conftest.$ac_ext <<_ACEOF
21928 /* end confdefs.h. */
21929 $ac_includes_default
21930 typedef size_t ac__type_sizeof_;
21931 int
21932 main ()
21933 {
21934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21935 test_array [0] = 0
21936
21937 ;
21938 return 0;
21939 }
21940 _ACEOF
21941 rm -f conftest.$ac_objext
21942 if { (ac_try="$ac_compile"
21943 case "(($ac_try" in
21944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21945 *) ac_try_echo=$ac_try;;
21946 esac
21947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21948 (eval "$ac_compile") 2>conftest.er1
21949 ac_status=$?
21950 grep -v '^ *+' conftest.er1 >conftest.err
21951 rm -f conftest.er1
21952 cat conftest.err >&5
21953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954 (exit $ac_status); } && {
21955 test -z "$ac_c_werror_flag" ||
21956 test ! -s conftest.err
21957 } && test -s conftest.$ac_objext; then
21958 ac_lo=0 ac_mid=0
21959 while :; do
21960 cat >conftest.$ac_ext <<_ACEOF
21961 /* confdefs.h. */
21962 _ACEOF
21963 cat confdefs.h >>conftest.$ac_ext
21964 cat >>conftest.$ac_ext <<_ACEOF
21965 /* end confdefs.h. */
21966 $ac_includes_default
21967 typedef size_t ac__type_sizeof_;
21968 int
21969 main ()
21970 {
21971 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21972 test_array [0] = 0
21973
21974 ;
21975 return 0;
21976 }
21977 _ACEOF
21978 rm -f conftest.$ac_objext
21979 if { (ac_try="$ac_compile"
21980 case "(($ac_try" in
21981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21982 *) ac_try_echo=$ac_try;;
21983 esac
21984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21985 (eval "$ac_compile") 2>conftest.er1
21986 ac_status=$?
21987 grep -v '^ *+' conftest.er1 >conftest.err
21988 rm -f conftest.er1
21989 cat conftest.err >&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); } && {
21992 test -z "$ac_c_werror_flag" ||
21993 test ! -s conftest.err
21994 } && test -s conftest.$ac_objext; then
21995 ac_hi=$ac_mid; break
21996 else
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.$ac_ext >&5
21999
22000 ac_lo=`expr $ac_mid + 1`
22001 if test $ac_lo -le $ac_mid; then
22002 ac_lo= ac_hi=
22003 break
22004 fi
22005 ac_mid=`expr 2 '*' $ac_mid + 1`
22006 fi
22007
22008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22009 done
22010 else
22011 echo "$as_me: failed program was:" >&5
22012 sed 's/^/| /' conftest.$ac_ext >&5
22013
22014 cat >conftest.$ac_ext <<_ACEOF
22015 /* confdefs.h. */
22016 _ACEOF
22017 cat confdefs.h >>conftest.$ac_ext
22018 cat >>conftest.$ac_ext <<_ACEOF
22019 /* end confdefs.h. */
22020 $ac_includes_default
22021 typedef size_t ac__type_sizeof_;
22022 int
22023 main ()
22024 {
22025 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22026 test_array [0] = 0
22027
22028 ;
22029 return 0;
22030 }
22031 _ACEOF
22032 rm -f conftest.$ac_objext
22033 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22040 ac_status=$?
22041 grep -v '^ *+' conftest.er1 >conftest.err
22042 rm -f conftest.er1
22043 cat conftest.err >&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } && {
22046 test -z "$ac_c_werror_flag" ||
22047 test ! -s conftest.err
22048 } && test -s conftest.$ac_objext; then
22049 ac_hi=-1 ac_mid=-1
22050 while :; do
22051 cat >conftest.$ac_ext <<_ACEOF
22052 /* confdefs.h. */
22053 _ACEOF
22054 cat confdefs.h >>conftest.$ac_ext
22055 cat >>conftest.$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 $ac_includes_default
22058 typedef size_t ac__type_sizeof_;
22059 int
22060 main ()
22061 {
22062 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22063 test_array [0] = 0
22064
22065 ;
22066 return 0;
22067 }
22068 _ACEOF
22069 rm -f conftest.$ac_objext
22070 if { (ac_try="$ac_compile"
22071 case "(($ac_try" in
22072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22073 *) ac_try_echo=$ac_try;;
22074 esac
22075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22076 (eval "$ac_compile") 2>conftest.er1
22077 ac_status=$?
22078 grep -v '^ *+' conftest.er1 >conftest.err
22079 rm -f conftest.er1
22080 cat conftest.err >&5
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); } && {
22083 test -z "$ac_c_werror_flag" ||
22084 test ! -s conftest.err
22085 } && test -s conftest.$ac_objext; then
22086 ac_lo=$ac_mid; break
22087 else
22088 echo "$as_me: failed program was:" >&5
22089 sed 's/^/| /' conftest.$ac_ext >&5
22090
22091 ac_hi=`expr '(' $ac_mid ')' - 1`
22092 if test $ac_mid -le $ac_hi; then
22093 ac_lo= ac_hi=
22094 break
22095 fi
22096 ac_mid=`expr 2 '*' $ac_mid`
22097 fi
22098
22099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22100 done
22101 else
22102 echo "$as_me: failed program was:" >&5
22103 sed 's/^/| /' conftest.$ac_ext >&5
22104
22105 ac_lo= ac_hi=
22106 fi
22107
22108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22109 fi
22110
22111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22112 # Binary search between lo and hi bounds.
22113 while test "x$ac_lo" != "x$ac_hi"; do
22114 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22115 cat >conftest.$ac_ext <<_ACEOF
22116 /* confdefs.h. */
22117 _ACEOF
22118 cat confdefs.h >>conftest.$ac_ext
22119 cat >>conftest.$ac_ext <<_ACEOF
22120 /* end confdefs.h. */
22121 $ac_includes_default
22122 typedef size_t ac__type_sizeof_;
22123 int
22124 main ()
22125 {
22126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22127 test_array [0] = 0
22128
22129 ;
22130 return 0;
22131 }
22132 _ACEOF
22133 rm -f conftest.$ac_objext
22134 if { (ac_try="$ac_compile"
22135 case "(($ac_try" in
22136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22137 *) ac_try_echo=$ac_try;;
22138 esac
22139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22140 (eval "$ac_compile") 2>conftest.er1
22141 ac_status=$?
22142 grep -v '^ *+' conftest.er1 >conftest.err
22143 rm -f conftest.er1
22144 cat conftest.err >&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } && {
22147 test -z "$ac_c_werror_flag" ||
22148 test ! -s conftest.err
22149 } && test -s conftest.$ac_objext; then
22150 ac_hi=$ac_mid
22151 else
22152 echo "$as_me: failed program was:" >&5
22153 sed 's/^/| /' conftest.$ac_ext >&5
22154
22155 ac_lo=`expr '(' $ac_mid ')' + 1`
22156 fi
22157
22158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22159 done
22160 case $ac_lo in
22161 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22162 '') if test "$ac_cv_type_size_t" = yes; then
22163 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22164 See \`config.log' for more details." >&5
22165 echo "$as_me: error: cannot compute sizeof (size_t)
22166 See \`config.log' for more details." >&2;}
22167 { (exit 77); exit 77; }; }
22168 else
22169 ac_cv_sizeof_size_t=0
22170 fi ;;
22171 esac
22172 else
22173 cat >conftest.$ac_ext <<_ACEOF
22174 /* confdefs.h. */
22175 _ACEOF
22176 cat confdefs.h >>conftest.$ac_ext
22177 cat >>conftest.$ac_ext <<_ACEOF
22178 /* end confdefs.h. */
22179 $ac_includes_default
22180 typedef size_t ac__type_sizeof_;
22181 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22182 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22183 #include <stdio.h>
22184 #include <stdlib.h>
22185 int
22186 main ()
22187 {
22188
22189 FILE *f = fopen ("conftest.val", "w");
22190 if (! f)
22191 return 1;
22192 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22193 {
22194 long int i = longval ();
22195 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22196 return 1;
22197 fprintf (f, "%ld\n", i);
22198 }
22199 else
22200 {
22201 unsigned long int i = ulongval ();
22202 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22203 return 1;
22204 fprintf (f, "%lu\n", i);
22205 }
22206 return ferror (f) || fclose (f) != 0;
22207
22208 ;
22209 return 0;
22210 }
22211 _ACEOF
22212 rm -f conftest$ac_exeext
22213 if { (ac_try="$ac_link"
22214 case "(($ac_try" in
22215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22216 *) ac_try_echo=$ac_try;;
22217 esac
22218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22219 (eval "$ac_link") 2>&5
22220 ac_status=$?
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22223 { (case "(($ac_try" in
22224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22225 *) ac_try_echo=$ac_try;;
22226 esac
22227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22228 (eval "$ac_try") 2>&5
22229 ac_status=$?
22230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231 (exit $ac_status); }; }; then
22232 ac_cv_sizeof_size_t=`cat conftest.val`
22233 else
22234 echo "$as_me: program exited with status $ac_status" >&5
22235 echo "$as_me: failed program was:" >&5
22236 sed 's/^/| /' conftest.$ac_ext >&5
22237
22238 ( exit $ac_status )
22239 if test "$ac_cv_type_size_t" = yes; then
22240 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22241 See \`config.log' for more details." >&5
22242 echo "$as_me: error: cannot compute sizeof (size_t)
22243 See \`config.log' for more details." >&2;}
22244 { (exit 77); exit 77; }; }
22245 else
22246 ac_cv_sizeof_size_t=0
22247 fi
22248 fi
22249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22250 fi
22251 rm -f conftest.val
22252 fi
22253 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22254 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22255
22256
22257
22258 cat >>confdefs.h <<_ACEOF
22259 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22260 _ACEOF
22261
22262
22263
22264 case "${host}" in
22265 arm-*-linux* )
22266 { echo "$as_me:$LINENO: checking for long long" >&5
22267 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22268 if test "${ac_cv_type_long_long+set}" = set; then
22269 echo $ECHO_N "(cached) $ECHO_C" >&6
22270 else
22271 cat >conftest.$ac_ext <<_ACEOF
22272 /* confdefs.h. */
22273 _ACEOF
22274 cat confdefs.h >>conftest.$ac_ext
22275 cat >>conftest.$ac_ext <<_ACEOF
22276 /* end confdefs.h. */
22277 $ac_includes_default
22278 typedef long long ac__type_new_;
22279 int
22280 main ()
22281 {
22282 if ((ac__type_new_ *) 0)
22283 return 0;
22284 if (sizeof (ac__type_new_))
22285 return 0;
22286 ;
22287 return 0;
22288 }
22289 _ACEOF
22290 rm -f conftest.$ac_objext
22291 if { (ac_try="$ac_compile"
22292 case "(($ac_try" in
22293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22294 *) ac_try_echo=$ac_try;;
22295 esac
22296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22297 (eval "$ac_compile") 2>conftest.er1
22298 ac_status=$?
22299 grep -v '^ *+' conftest.er1 >conftest.err
22300 rm -f conftest.er1
22301 cat conftest.err >&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); } && {
22304 test -z "$ac_c_werror_flag" ||
22305 test ! -s conftest.err
22306 } && test -s conftest.$ac_objext; then
22307 ac_cv_type_long_long=yes
22308 else
22309 echo "$as_me: failed program was:" >&5
22310 sed 's/^/| /' conftest.$ac_ext >&5
22311
22312 ac_cv_type_long_long=no
22313 fi
22314
22315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22316 fi
22317 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22318 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22319
22320 # The cast to long int works around a bug in the HP C Compiler
22321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22323 # This bug is HP SR number 8606223364.
22324 { echo "$as_me:$LINENO: checking size of long long" >&5
22325 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22326 if test "${ac_cv_sizeof_long_long+set}" = set; then
22327 echo $ECHO_N "(cached) $ECHO_C" >&6
22328 else
22329 if test "$cross_compiling" = yes; then
22330 # Depending upon the size, compute the lo and hi bounds.
22331 cat >conftest.$ac_ext <<_ACEOF
22332 /* confdefs.h. */
22333 _ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 $ac_includes_default
22338 typedef long long ac__type_sizeof_;
22339 int
22340 main ()
22341 {
22342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22343 test_array [0] = 0
22344
22345 ;
22346 return 0;
22347 }
22348 _ACEOF
22349 rm -f conftest.$ac_objext
22350 if { (ac_try="$ac_compile"
22351 case "(($ac_try" in
22352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22353 *) ac_try_echo=$ac_try;;
22354 esac
22355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22356 (eval "$ac_compile") 2>conftest.er1
22357 ac_status=$?
22358 grep -v '^ *+' conftest.er1 >conftest.err
22359 rm -f conftest.er1
22360 cat conftest.err >&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); } && {
22363 test -z "$ac_c_werror_flag" ||
22364 test ! -s conftest.err
22365 } && test -s conftest.$ac_objext; then
22366 ac_lo=0 ac_mid=0
22367 while :; do
22368 cat >conftest.$ac_ext <<_ACEOF
22369 /* confdefs.h. */
22370 _ACEOF
22371 cat confdefs.h >>conftest.$ac_ext
22372 cat >>conftest.$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22374 $ac_includes_default
22375 typedef long long ac__type_sizeof_;
22376 int
22377 main ()
22378 {
22379 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22380 test_array [0] = 0
22381
22382 ;
22383 return 0;
22384 }
22385 _ACEOF
22386 rm -f conftest.$ac_objext
22387 if { (ac_try="$ac_compile"
22388 case "(($ac_try" in
22389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22390 *) ac_try_echo=$ac_try;;
22391 esac
22392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22393 (eval "$ac_compile") 2>conftest.er1
22394 ac_status=$?
22395 grep -v '^ *+' conftest.er1 >conftest.err
22396 rm -f conftest.er1
22397 cat conftest.err >&5
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); } && {
22400 test -z "$ac_c_werror_flag" ||
22401 test ! -s conftest.err
22402 } && test -s conftest.$ac_objext; then
22403 ac_hi=$ac_mid; break
22404 else
22405 echo "$as_me: failed program was:" >&5
22406 sed 's/^/| /' conftest.$ac_ext >&5
22407
22408 ac_lo=`expr $ac_mid + 1`
22409 if test $ac_lo -le $ac_mid; then
22410 ac_lo= ac_hi=
22411 break
22412 fi
22413 ac_mid=`expr 2 '*' $ac_mid + 1`
22414 fi
22415
22416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22417 done
22418 else
22419 echo "$as_me: failed program was:" >&5
22420 sed 's/^/| /' conftest.$ac_ext >&5
22421
22422 cat >conftest.$ac_ext <<_ACEOF
22423 /* confdefs.h. */
22424 _ACEOF
22425 cat confdefs.h >>conftest.$ac_ext
22426 cat >>conftest.$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22428 $ac_includes_default
22429 typedef long long ac__type_sizeof_;
22430 int
22431 main ()
22432 {
22433 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22434 test_array [0] = 0
22435
22436 ;
22437 return 0;
22438 }
22439 _ACEOF
22440 rm -f conftest.$ac_objext
22441 if { (ac_try="$ac_compile"
22442 case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22445 esac
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_compile") 2>conftest.er1
22448 ac_status=$?
22449 grep -v '^ *+' conftest.er1 >conftest.err
22450 rm -f conftest.er1
22451 cat conftest.err >&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } && {
22454 test -z "$ac_c_werror_flag" ||
22455 test ! -s conftest.err
22456 } && test -s conftest.$ac_objext; then
22457 ac_hi=-1 ac_mid=-1
22458 while :; do
22459 cat >conftest.$ac_ext <<_ACEOF
22460 /* confdefs.h. */
22461 _ACEOF
22462 cat confdefs.h >>conftest.$ac_ext
22463 cat >>conftest.$ac_ext <<_ACEOF
22464 /* end confdefs.h. */
22465 $ac_includes_default
22466 typedef long long ac__type_sizeof_;
22467 int
22468 main ()
22469 {
22470 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22471 test_array [0] = 0
22472
22473 ;
22474 return 0;
22475 }
22476 _ACEOF
22477 rm -f conftest.$ac_objext
22478 if { (ac_try="$ac_compile"
22479 case "(($ac_try" in
22480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22481 *) ac_try_echo=$ac_try;;
22482 esac
22483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22484 (eval "$ac_compile") 2>conftest.er1
22485 ac_status=$?
22486 grep -v '^ *+' conftest.er1 >conftest.err
22487 rm -f conftest.er1
22488 cat conftest.err >&5
22489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490 (exit $ac_status); } && {
22491 test -z "$ac_c_werror_flag" ||
22492 test ! -s conftest.err
22493 } && test -s conftest.$ac_objext; then
22494 ac_lo=$ac_mid; break
22495 else
22496 echo "$as_me: failed program was:" >&5
22497 sed 's/^/| /' conftest.$ac_ext >&5
22498
22499 ac_hi=`expr '(' $ac_mid ')' - 1`
22500 if test $ac_mid -le $ac_hi; then
22501 ac_lo= ac_hi=
22502 break
22503 fi
22504 ac_mid=`expr 2 '*' $ac_mid`
22505 fi
22506
22507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22508 done
22509 else
22510 echo "$as_me: failed program was:" >&5
22511 sed 's/^/| /' conftest.$ac_ext >&5
22512
22513 ac_lo= ac_hi=
22514 fi
22515
22516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22517 fi
22518
22519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22520 # Binary search between lo and hi bounds.
22521 while test "x$ac_lo" != "x$ac_hi"; do
22522 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22523 cat >conftest.$ac_ext <<_ACEOF
22524 /* confdefs.h. */
22525 _ACEOF
22526 cat confdefs.h >>conftest.$ac_ext
22527 cat >>conftest.$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22529 $ac_includes_default
22530 typedef long long ac__type_sizeof_;
22531 int
22532 main ()
22533 {
22534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22535 test_array [0] = 0
22536
22537 ;
22538 return 0;
22539 }
22540 _ACEOF
22541 rm -f conftest.$ac_objext
22542 if { (ac_try="$ac_compile"
22543 case "(($ac_try" in
22544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22545 *) ac_try_echo=$ac_try;;
22546 esac
22547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22548 (eval "$ac_compile") 2>conftest.er1
22549 ac_status=$?
22550 grep -v '^ *+' conftest.er1 >conftest.err
22551 rm -f conftest.er1
22552 cat conftest.err >&5
22553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22554 (exit $ac_status); } && {
22555 test -z "$ac_c_werror_flag" ||
22556 test ! -s conftest.err
22557 } && test -s conftest.$ac_objext; then
22558 ac_hi=$ac_mid
22559 else
22560 echo "$as_me: failed program was:" >&5
22561 sed 's/^/| /' conftest.$ac_ext >&5
22562
22563 ac_lo=`expr '(' $ac_mid ')' + 1`
22564 fi
22565
22566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22567 done
22568 case $ac_lo in
22569 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22570 '') if test "$ac_cv_type_long_long" = yes; then
22571 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22572 See \`config.log' for more details." >&5
22573 echo "$as_me: error: cannot compute sizeof (long long)
22574 See \`config.log' for more details." >&2;}
22575 { (exit 77); exit 77; }; }
22576 else
22577 ac_cv_sizeof_long_long=0
22578 fi ;;
22579 esac
22580 else
22581 cat >conftest.$ac_ext <<_ACEOF
22582 /* confdefs.h. */
22583 _ACEOF
22584 cat confdefs.h >>conftest.$ac_ext
22585 cat >>conftest.$ac_ext <<_ACEOF
22586 /* end confdefs.h. */
22587 $ac_includes_default
22588 typedef long long ac__type_sizeof_;
22589 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22590 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22591 #include <stdio.h>
22592 #include <stdlib.h>
22593 int
22594 main ()
22595 {
22596
22597 FILE *f = fopen ("conftest.val", "w");
22598 if (! f)
22599 return 1;
22600 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22601 {
22602 long int i = longval ();
22603 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22604 return 1;
22605 fprintf (f, "%ld\n", i);
22606 }
22607 else
22608 {
22609 unsigned long int i = ulongval ();
22610 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22611 return 1;
22612 fprintf (f, "%lu\n", i);
22613 }
22614 return ferror (f) || fclose (f) != 0;
22615
22616 ;
22617 return 0;
22618 }
22619 _ACEOF
22620 rm -f conftest$ac_exeext
22621 if { (ac_try="$ac_link"
22622 case "(($ac_try" in
22623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22624 *) ac_try_echo=$ac_try;;
22625 esac
22626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22627 (eval "$ac_link") 2>&5
22628 ac_status=$?
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22631 { (case "(($ac_try" in
22632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22633 *) ac_try_echo=$ac_try;;
22634 esac
22635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22636 (eval "$ac_try") 2>&5
22637 ac_status=$?
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); }; }; then
22640 ac_cv_sizeof_long_long=`cat conftest.val`
22641 else
22642 echo "$as_me: program exited with status $ac_status" >&5
22643 echo "$as_me: failed program was:" >&5
22644 sed 's/^/| /' conftest.$ac_ext >&5
22645
22646 ( exit $ac_status )
22647 if test "$ac_cv_type_long_long" = yes; then
22648 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22649 See \`config.log' for more details." >&5
22650 echo "$as_me: error: cannot compute sizeof (long long)
22651 See \`config.log' for more details." >&2;}
22652 { (exit 77); exit 77; }; }
22653 else
22654 ac_cv_sizeof_long_long=0
22655 fi
22656 fi
22657 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22658 fi
22659 rm -f conftest.val
22660 fi
22661 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22662 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22663
22664
22665
22666 cat >>confdefs.h <<_ACEOF
22667 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22668 _ACEOF
22669
22670
22671 ;;
22672 *-hp-hpux* )
22673 { echo "$as_me:$LINENO: checking for long long" >&5
22674 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22675 if test "${ac_cv_type_long_long+set}" = set; then
22676 echo $ECHO_N "(cached) $ECHO_C" >&6
22677 else
22678 cat >conftest.$ac_ext <<_ACEOF
22679 /* confdefs.h. */
22680 _ACEOF
22681 cat confdefs.h >>conftest.$ac_ext
22682 cat >>conftest.$ac_ext <<_ACEOF
22683 /* end confdefs.h. */
22684 $ac_includes_default
22685 typedef long long ac__type_new_;
22686 int
22687 main ()
22688 {
22689 if ((ac__type_new_ *) 0)
22690 return 0;
22691 if (sizeof (ac__type_new_))
22692 return 0;
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_cv_type_long_long=yes
22715 else
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.$ac_ext >&5
22718
22719 ac_cv_type_long_long=no
22720 fi
22721
22722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22723 fi
22724 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22725 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22726
22727 # The cast to long int works around a bug in the HP C Compiler
22728 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22729 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22730 # This bug is HP SR number 8606223364.
22731 { echo "$as_me:$LINENO: checking size of long long" >&5
22732 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22733 if test "${ac_cv_sizeof_long_long+set}" = set; then
22734 echo $ECHO_N "(cached) $ECHO_C" >&6
22735 else
22736 if test "$cross_compiling" = yes; then
22737 # Depending upon the size, compute the lo and hi bounds.
22738 cat >conftest.$ac_ext <<_ACEOF
22739 /* confdefs.h. */
22740 _ACEOF
22741 cat confdefs.h >>conftest.$ac_ext
22742 cat >>conftest.$ac_ext <<_ACEOF
22743 /* end confdefs.h. */
22744 $ac_includes_default
22745 typedef long long ac__type_sizeof_;
22746 int
22747 main ()
22748 {
22749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22750 test_array [0] = 0
22751
22752 ;
22753 return 0;
22754 }
22755 _ACEOF
22756 rm -f conftest.$ac_objext
22757 if { (ac_try="$ac_compile"
22758 case "(($ac_try" in
22759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22760 *) ac_try_echo=$ac_try;;
22761 esac
22762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22763 (eval "$ac_compile") 2>conftest.er1
22764 ac_status=$?
22765 grep -v '^ *+' conftest.er1 >conftest.err
22766 rm -f conftest.er1
22767 cat conftest.err >&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); } && {
22770 test -z "$ac_c_werror_flag" ||
22771 test ! -s conftest.err
22772 } && test -s conftest.$ac_objext; then
22773 ac_lo=0 ac_mid=0
22774 while :; do
22775 cat >conftest.$ac_ext <<_ACEOF
22776 /* confdefs.h. */
22777 _ACEOF
22778 cat confdefs.h >>conftest.$ac_ext
22779 cat >>conftest.$ac_ext <<_ACEOF
22780 /* end confdefs.h. */
22781 $ac_includes_default
22782 typedef long long ac__type_sizeof_;
22783 int
22784 main ()
22785 {
22786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22787 test_array [0] = 0
22788
22789 ;
22790 return 0;
22791 }
22792 _ACEOF
22793 rm -f conftest.$ac_objext
22794 if { (ac_try="$ac_compile"
22795 case "(($ac_try" in
22796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22797 *) ac_try_echo=$ac_try;;
22798 esac
22799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22800 (eval "$ac_compile") 2>conftest.er1
22801 ac_status=$?
22802 grep -v '^ *+' conftest.er1 >conftest.err
22803 rm -f conftest.er1
22804 cat conftest.err >&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } && {
22807 test -z "$ac_c_werror_flag" ||
22808 test ! -s conftest.err
22809 } && test -s conftest.$ac_objext; then
22810 ac_hi=$ac_mid; break
22811 else
22812 echo "$as_me: failed program was:" >&5
22813 sed 's/^/| /' conftest.$ac_ext >&5
22814
22815 ac_lo=`expr $ac_mid + 1`
22816 if test $ac_lo -le $ac_mid; then
22817 ac_lo= ac_hi=
22818 break
22819 fi
22820 ac_mid=`expr 2 '*' $ac_mid + 1`
22821 fi
22822
22823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22824 done
22825 else
22826 echo "$as_me: failed program was:" >&5
22827 sed 's/^/| /' conftest.$ac_ext >&5
22828
22829 cat >conftest.$ac_ext <<_ACEOF
22830 /* confdefs.h. */
22831 _ACEOF
22832 cat confdefs.h >>conftest.$ac_ext
22833 cat >>conftest.$ac_ext <<_ACEOF
22834 /* end confdefs.h. */
22835 $ac_includes_default
22836 typedef long long ac__type_sizeof_;
22837 int
22838 main ()
22839 {
22840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22841 test_array [0] = 0
22842
22843 ;
22844 return 0;
22845 }
22846 _ACEOF
22847 rm -f conftest.$ac_objext
22848 if { (ac_try="$ac_compile"
22849 case "(($ac_try" in
22850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22851 *) ac_try_echo=$ac_try;;
22852 esac
22853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22854 (eval "$ac_compile") 2>conftest.er1
22855 ac_status=$?
22856 grep -v '^ *+' conftest.er1 >conftest.err
22857 rm -f conftest.er1
22858 cat conftest.err >&5
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); } && {
22861 test -z "$ac_c_werror_flag" ||
22862 test ! -s conftest.err
22863 } && test -s conftest.$ac_objext; then
22864 ac_hi=-1 ac_mid=-1
22865 while :; do
22866 cat >conftest.$ac_ext <<_ACEOF
22867 /* confdefs.h. */
22868 _ACEOF
22869 cat confdefs.h >>conftest.$ac_ext
22870 cat >>conftest.$ac_ext <<_ACEOF
22871 /* end confdefs.h. */
22872 $ac_includes_default
22873 typedef long long ac__type_sizeof_;
22874 int
22875 main ()
22876 {
22877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22878 test_array [0] = 0
22879
22880 ;
22881 return 0;
22882 }
22883 _ACEOF
22884 rm -f conftest.$ac_objext
22885 if { (ac_try="$ac_compile"
22886 case "(($ac_try" in
22887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22888 *) ac_try_echo=$ac_try;;
22889 esac
22890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22891 (eval "$ac_compile") 2>conftest.er1
22892 ac_status=$?
22893 grep -v '^ *+' conftest.er1 >conftest.err
22894 rm -f conftest.er1
22895 cat conftest.err >&5
22896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897 (exit $ac_status); } && {
22898 test -z "$ac_c_werror_flag" ||
22899 test ! -s conftest.err
22900 } && test -s conftest.$ac_objext; then
22901 ac_lo=$ac_mid; break
22902 else
22903 echo "$as_me: failed program was:" >&5
22904 sed 's/^/| /' conftest.$ac_ext >&5
22905
22906 ac_hi=`expr '(' $ac_mid ')' - 1`
22907 if test $ac_mid -le $ac_hi; then
22908 ac_lo= ac_hi=
22909 break
22910 fi
22911 ac_mid=`expr 2 '*' $ac_mid`
22912 fi
22913
22914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22915 done
22916 else
22917 echo "$as_me: failed program was:" >&5
22918 sed 's/^/| /' conftest.$ac_ext >&5
22919
22920 ac_lo= ac_hi=
22921 fi
22922
22923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22924 fi
22925
22926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22927 # Binary search between lo and hi bounds.
22928 while test "x$ac_lo" != "x$ac_hi"; do
22929 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22930 cat >conftest.$ac_ext <<_ACEOF
22931 /* confdefs.h. */
22932 _ACEOF
22933 cat confdefs.h >>conftest.$ac_ext
22934 cat >>conftest.$ac_ext <<_ACEOF
22935 /* end confdefs.h. */
22936 $ac_includes_default
22937 typedef long long ac__type_sizeof_;
22938 int
22939 main ()
22940 {
22941 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22942 test_array [0] = 0
22943
22944 ;
22945 return 0;
22946 }
22947 _ACEOF
22948 rm -f conftest.$ac_objext
22949 if { (ac_try="$ac_compile"
22950 case "(($ac_try" in
22951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22952 *) ac_try_echo=$ac_try;;
22953 esac
22954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22955 (eval "$ac_compile") 2>conftest.er1
22956 ac_status=$?
22957 grep -v '^ *+' conftest.er1 >conftest.err
22958 rm -f conftest.er1
22959 cat conftest.err >&5
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); } && {
22962 test -z "$ac_c_werror_flag" ||
22963 test ! -s conftest.err
22964 } && test -s conftest.$ac_objext; then
22965 ac_hi=$ac_mid
22966 else
22967 echo "$as_me: failed program was:" >&5
22968 sed 's/^/| /' conftest.$ac_ext >&5
22969
22970 ac_lo=`expr '(' $ac_mid ')' + 1`
22971 fi
22972
22973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22974 done
22975 case $ac_lo in
22976 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22977 '') if test "$ac_cv_type_long_long" = yes; then
22978 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22979 See \`config.log' for more details." >&5
22980 echo "$as_me: error: cannot compute sizeof (long long)
22981 See \`config.log' for more details." >&2;}
22982 { (exit 77); exit 77; }; }
22983 else
22984 ac_cv_sizeof_long_long=0
22985 fi ;;
22986 esac
22987 else
22988 cat >conftest.$ac_ext <<_ACEOF
22989 /* confdefs.h. */
22990 _ACEOF
22991 cat confdefs.h >>conftest.$ac_ext
22992 cat >>conftest.$ac_ext <<_ACEOF
22993 /* end confdefs.h. */
22994 $ac_includes_default
22995 typedef long long ac__type_sizeof_;
22996 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22997 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22998 #include <stdio.h>
22999 #include <stdlib.h>
23000 int
23001 main ()
23002 {
23003
23004 FILE *f = fopen ("conftest.val", "w");
23005 if (! f)
23006 return 1;
23007 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23008 {
23009 long int i = longval ();
23010 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23011 return 1;
23012 fprintf (f, "%ld\n", i);
23013 }
23014 else
23015 {
23016 unsigned long int i = ulongval ();
23017 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23018 return 1;
23019 fprintf (f, "%lu\n", i);
23020 }
23021 return ferror (f) || fclose (f) != 0;
23022
23023 ;
23024 return 0;
23025 }
23026 _ACEOF
23027 rm -f conftest$ac_exeext
23028 if { (ac_try="$ac_link"
23029 case "(($ac_try" in
23030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23031 *) ac_try_echo=$ac_try;;
23032 esac
23033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23034 (eval "$ac_link") 2>&5
23035 ac_status=$?
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23038 { (case "(($ac_try" in
23039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23040 *) ac_try_echo=$ac_try;;
23041 esac
23042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23043 (eval "$ac_try") 2>&5
23044 ac_status=$?
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; }; then
23047 ac_cv_sizeof_long_long=`cat conftest.val`
23048 else
23049 echo "$as_me: program exited with status $ac_status" >&5
23050 echo "$as_me: failed program was:" >&5
23051 sed 's/^/| /' conftest.$ac_ext >&5
23052
23053 ( exit $ac_status )
23054 if test "$ac_cv_type_long_long" = yes; then
23055 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23056 See \`config.log' for more details." >&5
23057 echo "$as_me: error: cannot compute sizeof (long long)
23058 See \`config.log' for more details." >&2;}
23059 { (exit 77); exit 77; }; }
23060 else
23061 ac_cv_sizeof_long_long=0
23062 fi
23063 fi
23064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23065 fi
23066 rm -f conftest.val
23067 fi
23068 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23069 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23070
23071
23072
23073 cat >>confdefs.h <<_ACEOF
23074 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23075 _ACEOF
23076
23077
23078 if test "$ac_cv_sizeof_long_long" != 0; then
23079 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23080 fi
23081 ;;
23082 * )
23083 { echo "$as_me:$LINENO: checking for long long" >&5
23084 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23085 if test "${ac_cv_type_long_long+set}" = set; then
23086 echo $ECHO_N "(cached) $ECHO_C" >&6
23087 else
23088 cat >conftest.$ac_ext <<_ACEOF
23089 /* confdefs.h. */
23090 _ACEOF
23091 cat confdefs.h >>conftest.$ac_ext
23092 cat >>conftest.$ac_ext <<_ACEOF
23093 /* end confdefs.h. */
23094 $ac_includes_default
23095 typedef long long ac__type_new_;
23096 int
23097 main ()
23098 {
23099 if ((ac__type_new_ *) 0)
23100 return 0;
23101 if (sizeof (ac__type_new_))
23102 return 0;
23103 ;
23104 return 0;
23105 }
23106 _ACEOF
23107 rm -f conftest.$ac_objext
23108 if { (ac_try="$ac_compile"
23109 case "(($ac_try" in
23110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23111 *) ac_try_echo=$ac_try;;
23112 esac
23113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23114 (eval "$ac_compile") 2>conftest.er1
23115 ac_status=$?
23116 grep -v '^ *+' conftest.er1 >conftest.err
23117 rm -f conftest.er1
23118 cat conftest.err >&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); } && {
23121 test -z "$ac_c_werror_flag" ||
23122 test ! -s conftest.err
23123 } && test -s conftest.$ac_objext; then
23124 ac_cv_type_long_long=yes
23125 else
23126 echo "$as_me: failed program was:" >&5
23127 sed 's/^/| /' conftest.$ac_ext >&5
23128
23129 ac_cv_type_long_long=no
23130 fi
23131
23132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23133 fi
23134 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23135 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23136
23137 # The cast to long int works around a bug in the HP C Compiler
23138 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23139 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23140 # This bug is HP SR number 8606223364.
23141 { echo "$as_me:$LINENO: checking size of long long" >&5
23142 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23143 if test "${ac_cv_sizeof_long_long+set}" = set; then
23144 echo $ECHO_N "(cached) $ECHO_C" >&6
23145 else
23146 if test "$cross_compiling" = yes; then
23147 # Depending upon the size, compute the lo and hi bounds.
23148 cat >conftest.$ac_ext <<_ACEOF
23149 /* confdefs.h. */
23150 _ACEOF
23151 cat confdefs.h >>conftest.$ac_ext
23152 cat >>conftest.$ac_ext <<_ACEOF
23153 /* end confdefs.h. */
23154 $ac_includes_default
23155 typedef long long ac__type_sizeof_;
23156 int
23157 main ()
23158 {
23159 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23160 test_array [0] = 0
23161
23162 ;
23163 return 0;
23164 }
23165 _ACEOF
23166 rm -f conftest.$ac_objext
23167 if { (ac_try="$ac_compile"
23168 case "(($ac_try" in
23169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23170 *) ac_try_echo=$ac_try;;
23171 esac
23172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23173 (eval "$ac_compile") 2>conftest.er1
23174 ac_status=$?
23175 grep -v '^ *+' conftest.er1 >conftest.err
23176 rm -f conftest.er1
23177 cat conftest.err >&5
23178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179 (exit $ac_status); } && {
23180 test -z "$ac_c_werror_flag" ||
23181 test ! -s conftest.err
23182 } && test -s conftest.$ac_objext; then
23183 ac_lo=0 ac_mid=0
23184 while :; do
23185 cat >conftest.$ac_ext <<_ACEOF
23186 /* confdefs.h. */
23187 _ACEOF
23188 cat confdefs.h >>conftest.$ac_ext
23189 cat >>conftest.$ac_ext <<_ACEOF
23190 /* end confdefs.h. */
23191 $ac_includes_default
23192 typedef long long ac__type_sizeof_;
23193 int
23194 main ()
23195 {
23196 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23197 test_array [0] = 0
23198
23199 ;
23200 return 0;
23201 }
23202 _ACEOF
23203 rm -f conftest.$ac_objext
23204 if { (ac_try="$ac_compile"
23205 case "(($ac_try" in
23206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23207 *) ac_try_echo=$ac_try;;
23208 esac
23209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23210 (eval "$ac_compile") 2>conftest.er1
23211 ac_status=$?
23212 grep -v '^ *+' conftest.er1 >conftest.err
23213 rm -f conftest.er1
23214 cat conftest.err >&5
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); } && {
23217 test -z "$ac_c_werror_flag" ||
23218 test ! -s conftest.err
23219 } && test -s conftest.$ac_objext; then
23220 ac_hi=$ac_mid; break
23221 else
23222 echo "$as_me: failed program was:" >&5
23223 sed 's/^/| /' conftest.$ac_ext >&5
23224
23225 ac_lo=`expr $ac_mid + 1`
23226 if test $ac_lo -le $ac_mid; then
23227 ac_lo= ac_hi=
23228 break
23229 fi
23230 ac_mid=`expr 2 '*' $ac_mid + 1`
23231 fi
23232
23233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23234 done
23235 else
23236 echo "$as_me: failed program was:" >&5
23237 sed 's/^/| /' conftest.$ac_ext >&5
23238
23239 cat >conftest.$ac_ext <<_ACEOF
23240 /* confdefs.h. */
23241 _ACEOF
23242 cat confdefs.h >>conftest.$ac_ext
23243 cat >>conftest.$ac_ext <<_ACEOF
23244 /* end confdefs.h. */
23245 $ac_includes_default
23246 typedef long long ac__type_sizeof_;
23247 int
23248 main ()
23249 {
23250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23251 test_array [0] = 0
23252
23253 ;
23254 return 0;
23255 }
23256 _ACEOF
23257 rm -f conftest.$ac_objext
23258 if { (ac_try="$ac_compile"
23259 case "(($ac_try" in
23260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23261 *) ac_try_echo=$ac_try;;
23262 esac
23263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23264 (eval "$ac_compile") 2>conftest.er1
23265 ac_status=$?
23266 grep -v '^ *+' conftest.er1 >conftest.err
23267 rm -f conftest.er1
23268 cat conftest.err >&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } && {
23271 test -z "$ac_c_werror_flag" ||
23272 test ! -s conftest.err
23273 } && test -s conftest.$ac_objext; then
23274 ac_hi=-1 ac_mid=-1
23275 while :; do
23276 cat >conftest.$ac_ext <<_ACEOF
23277 /* confdefs.h. */
23278 _ACEOF
23279 cat confdefs.h >>conftest.$ac_ext
23280 cat >>conftest.$ac_ext <<_ACEOF
23281 /* end confdefs.h. */
23282 $ac_includes_default
23283 typedef long long ac__type_sizeof_;
23284 int
23285 main ()
23286 {
23287 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23288 test_array [0] = 0
23289
23290 ;
23291 return 0;
23292 }
23293 _ACEOF
23294 rm -f conftest.$ac_objext
23295 if { (ac_try="$ac_compile"
23296 case "(($ac_try" in
23297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23298 *) ac_try_echo=$ac_try;;
23299 esac
23300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23301 (eval "$ac_compile") 2>conftest.er1
23302 ac_status=$?
23303 grep -v '^ *+' conftest.er1 >conftest.err
23304 rm -f conftest.er1
23305 cat conftest.err >&5
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); } && {
23308 test -z "$ac_c_werror_flag" ||
23309 test ! -s conftest.err
23310 } && test -s conftest.$ac_objext; then
23311 ac_lo=$ac_mid; break
23312 else
23313 echo "$as_me: failed program was:" >&5
23314 sed 's/^/| /' conftest.$ac_ext >&5
23315
23316 ac_hi=`expr '(' $ac_mid ')' - 1`
23317 if test $ac_mid -le $ac_hi; then
23318 ac_lo= ac_hi=
23319 break
23320 fi
23321 ac_mid=`expr 2 '*' $ac_mid`
23322 fi
23323
23324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23325 done
23326 else
23327 echo "$as_me: failed program was:" >&5
23328 sed 's/^/| /' conftest.$ac_ext >&5
23329
23330 ac_lo= ac_hi=
23331 fi
23332
23333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23334 fi
23335
23336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23337 # Binary search between lo and hi bounds.
23338 while test "x$ac_lo" != "x$ac_hi"; do
23339 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23340 cat >conftest.$ac_ext <<_ACEOF
23341 /* confdefs.h. */
23342 _ACEOF
23343 cat confdefs.h >>conftest.$ac_ext
23344 cat >>conftest.$ac_ext <<_ACEOF
23345 /* end confdefs.h. */
23346 $ac_includes_default
23347 typedef long long ac__type_sizeof_;
23348 int
23349 main ()
23350 {
23351 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23352 test_array [0] = 0
23353
23354 ;
23355 return 0;
23356 }
23357 _ACEOF
23358 rm -f conftest.$ac_objext
23359 if { (ac_try="$ac_compile"
23360 case "(($ac_try" in
23361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23362 *) ac_try_echo=$ac_try;;
23363 esac
23364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23365 (eval "$ac_compile") 2>conftest.er1
23366 ac_status=$?
23367 grep -v '^ *+' conftest.er1 >conftest.err
23368 rm -f conftest.er1
23369 cat conftest.err >&5
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); } && {
23372 test -z "$ac_c_werror_flag" ||
23373 test ! -s conftest.err
23374 } && test -s conftest.$ac_objext; then
23375 ac_hi=$ac_mid
23376 else
23377 echo "$as_me: failed program was:" >&5
23378 sed 's/^/| /' conftest.$ac_ext >&5
23379
23380 ac_lo=`expr '(' $ac_mid ')' + 1`
23381 fi
23382
23383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23384 done
23385 case $ac_lo in
23386 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23387 '') if test "$ac_cv_type_long_long" = yes; then
23388 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23389 See \`config.log' for more details." >&5
23390 echo "$as_me: error: cannot compute sizeof (long long)
23391 See \`config.log' for more details." >&2;}
23392 { (exit 77); exit 77; }; }
23393 else
23394 ac_cv_sizeof_long_long=0
23395 fi ;;
23396 esac
23397 else
23398 cat >conftest.$ac_ext <<_ACEOF
23399 /* confdefs.h. */
23400 _ACEOF
23401 cat confdefs.h >>conftest.$ac_ext
23402 cat >>conftest.$ac_ext <<_ACEOF
23403 /* end confdefs.h. */
23404 $ac_includes_default
23405 typedef long long ac__type_sizeof_;
23406 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23407 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23408 #include <stdio.h>
23409 #include <stdlib.h>
23410 int
23411 main ()
23412 {
23413
23414 FILE *f = fopen ("conftest.val", "w");
23415 if (! f)
23416 return 1;
23417 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23418 {
23419 long int i = longval ();
23420 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23421 return 1;
23422 fprintf (f, "%ld\n", i);
23423 }
23424 else
23425 {
23426 unsigned long int i = ulongval ();
23427 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23428 return 1;
23429 fprintf (f, "%lu\n", i);
23430 }
23431 return ferror (f) || fclose (f) != 0;
23432
23433 ;
23434 return 0;
23435 }
23436 _ACEOF
23437 rm -f conftest$ac_exeext
23438 if { (ac_try="$ac_link"
23439 case "(($ac_try" in
23440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23441 *) ac_try_echo=$ac_try;;
23442 esac
23443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23444 (eval "$ac_link") 2>&5
23445 ac_status=$?
23446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23448 { (case "(($ac_try" in
23449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23450 *) ac_try_echo=$ac_try;;
23451 esac
23452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23453 (eval "$ac_try") 2>&5
23454 ac_status=$?
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); }; }; then
23457 ac_cv_sizeof_long_long=`cat conftest.val`
23458 else
23459 echo "$as_me: program exited with status $ac_status" >&5
23460 echo "$as_me: failed program was:" >&5
23461 sed 's/^/| /' conftest.$ac_ext >&5
23462
23463 ( exit $ac_status )
23464 if test "$ac_cv_type_long_long" = yes; then
23465 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23466 See \`config.log' for more details." >&5
23467 echo "$as_me: error: cannot compute sizeof (long long)
23468 See \`config.log' for more details." >&2;}
23469 { (exit 77); exit 77; }; }
23470 else
23471 ac_cv_sizeof_long_long=0
23472 fi
23473 fi
23474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23475 fi
23476 rm -f conftest.val
23477 fi
23478 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23479 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23480
23481
23482
23483 cat >>confdefs.h <<_ACEOF
23484 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23485 _ACEOF
23486
23487
23488 esac
23489
23490 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23491 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23492 if test "${ac_cv_type_wchar_t+set}" = set; then
23493 echo $ECHO_N "(cached) $ECHO_C" >&6
23494 else
23495 cat >conftest.$ac_ext <<_ACEOF
23496 /* confdefs.h. */
23497 _ACEOF
23498 cat confdefs.h >>conftest.$ac_ext
23499 cat >>conftest.$ac_ext <<_ACEOF
23500 /* end confdefs.h. */
23501
23502 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23503 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23504 # error "fake wchar_t"
23505 #endif
23506 #ifdef HAVE_WCHAR_H
23507 # ifdef __CYGWIN__
23508 # include <stddef.h>
23509 # endif
23510 # include <wchar.h>
23511 #endif
23512 #ifdef HAVE_STDLIB_H
23513 # include <stdlib.h>
23514 #endif
23515 #include <stdio.h>
23516
23517
23518
23519 typedef wchar_t ac__type_new_;
23520 int
23521 main ()
23522 {
23523 if ((ac__type_new_ *) 0)
23524 return 0;
23525 if (sizeof (ac__type_new_))
23526 return 0;
23527 ;
23528 return 0;
23529 }
23530 _ACEOF
23531 rm -f conftest.$ac_objext
23532 if { (ac_try="$ac_compile"
23533 case "(($ac_try" in
23534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23535 *) ac_try_echo=$ac_try;;
23536 esac
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_compile") 2>conftest.er1
23539 ac_status=$?
23540 grep -v '^ *+' conftest.er1 >conftest.err
23541 rm -f conftest.er1
23542 cat conftest.err >&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } && {
23545 test -z "$ac_c_werror_flag" ||
23546 test ! -s conftest.err
23547 } && test -s conftest.$ac_objext; then
23548 ac_cv_type_wchar_t=yes
23549 else
23550 echo "$as_me: failed program was:" >&5
23551 sed 's/^/| /' conftest.$ac_ext >&5
23552
23553 ac_cv_type_wchar_t=no
23554 fi
23555
23556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23557 fi
23558 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23559 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23560
23561 # The cast to long int works around a bug in the HP C Compiler
23562 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23563 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23564 # This bug is HP SR number 8606223364.
23565 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23566 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23567 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23568 echo $ECHO_N "(cached) $ECHO_C" >&6
23569 else
23570 if test "$cross_compiling" = yes; then
23571 # Depending upon the size, compute the lo and hi bounds.
23572 cat >conftest.$ac_ext <<_ACEOF
23573 /* confdefs.h. */
23574 _ACEOF
23575 cat confdefs.h >>conftest.$ac_ext
23576 cat >>conftest.$ac_ext <<_ACEOF
23577 /* end confdefs.h. */
23578
23579 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23580 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23581 # error "fake wchar_t"
23582 #endif
23583 #ifdef HAVE_WCHAR_H
23584 # ifdef __CYGWIN__
23585 # include <stddef.h>
23586 # endif
23587 # include <wchar.h>
23588 #endif
23589 #ifdef HAVE_STDLIB_H
23590 # include <stdlib.h>
23591 #endif
23592 #include <stdio.h>
23593
23594
23595
23596 typedef wchar_t ac__type_sizeof_;
23597 int
23598 main ()
23599 {
23600 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23601 test_array [0] = 0
23602
23603 ;
23604 return 0;
23605 }
23606 _ACEOF
23607 rm -f conftest.$ac_objext
23608 if { (ac_try="$ac_compile"
23609 case "(($ac_try" in
23610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23611 *) ac_try_echo=$ac_try;;
23612 esac
23613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23614 (eval "$ac_compile") 2>conftest.er1
23615 ac_status=$?
23616 grep -v '^ *+' conftest.er1 >conftest.err
23617 rm -f conftest.er1
23618 cat conftest.err >&5
23619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620 (exit $ac_status); } && {
23621 test -z "$ac_c_werror_flag" ||
23622 test ! -s conftest.err
23623 } && test -s conftest.$ac_objext; then
23624 ac_lo=0 ac_mid=0
23625 while :; do
23626 cat >conftest.$ac_ext <<_ACEOF
23627 /* confdefs.h. */
23628 _ACEOF
23629 cat confdefs.h >>conftest.$ac_ext
23630 cat >>conftest.$ac_ext <<_ACEOF
23631 /* end confdefs.h. */
23632
23633 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23634 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23635 # error "fake wchar_t"
23636 #endif
23637 #ifdef HAVE_WCHAR_H
23638 # ifdef __CYGWIN__
23639 # include <stddef.h>
23640 # endif
23641 # include <wchar.h>
23642 #endif
23643 #ifdef HAVE_STDLIB_H
23644 # include <stdlib.h>
23645 #endif
23646 #include <stdio.h>
23647
23648
23649
23650 typedef wchar_t ac__type_sizeof_;
23651 int
23652 main ()
23653 {
23654 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23655 test_array [0] = 0
23656
23657 ;
23658 return 0;
23659 }
23660 _ACEOF
23661 rm -f conftest.$ac_objext
23662 if { (ac_try="$ac_compile"
23663 case "(($ac_try" in
23664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23665 *) ac_try_echo=$ac_try;;
23666 esac
23667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23668 (eval "$ac_compile") 2>conftest.er1
23669 ac_status=$?
23670 grep -v '^ *+' conftest.er1 >conftest.err
23671 rm -f conftest.er1
23672 cat conftest.err >&5
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); } && {
23675 test -z "$ac_c_werror_flag" ||
23676 test ! -s conftest.err
23677 } && test -s conftest.$ac_objext; then
23678 ac_hi=$ac_mid; break
23679 else
23680 echo "$as_me: failed program was:" >&5
23681 sed 's/^/| /' conftest.$ac_ext >&5
23682
23683 ac_lo=`expr $ac_mid + 1`
23684 if test $ac_lo -le $ac_mid; then
23685 ac_lo= ac_hi=
23686 break
23687 fi
23688 ac_mid=`expr 2 '*' $ac_mid + 1`
23689 fi
23690
23691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23692 done
23693 else
23694 echo "$as_me: failed program was:" >&5
23695 sed 's/^/| /' conftest.$ac_ext >&5
23696
23697 cat >conftest.$ac_ext <<_ACEOF
23698 /* confdefs.h. */
23699 _ACEOF
23700 cat confdefs.h >>conftest.$ac_ext
23701 cat >>conftest.$ac_ext <<_ACEOF
23702 /* end confdefs.h. */
23703
23704 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23705 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23706 # error "fake wchar_t"
23707 #endif
23708 #ifdef HAVE_WCHAR_H
23709 # ifdef __CYGWIN__
23710 # include <stddef.h>
23711 # endif
23712 # include <wchar.h>
23713 #endif
23714 #ifdef HAVE_STDLIB_H
23715 # include <stdlib.h>
23716 #endif
23717 #include <stdio.h>
23718
23719
23720
23721 typedef wchar_t ac__type_sizeof_;
23722 int
23723 main ()
23724 {
23725 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23726 test_array [0] = 0
23727
23728 ;
23729 return 0;
23730 }
23731 _ACEOF
23732 rm -f conftest.$ac_objext
23733 if { (ac_try="$ac_compile"
23734 case "(($ac_try" in
23735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23736 *) ac_try_echo=$ac_try;;
23737 esac
23738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23739 (eval "$ac_compile") 2>conftest.er1
23740 ac_status=$?
23741 grep -v '^ *+' conftest.er1 >conftest.err
23742 rm -f conftest.er1
23743 cat conftest.err >&5
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); } && {
23746 test -z "$ac_c_werror_flag" ||
23747 test ! -s conftest.err
23748 } && test -s conftest.$ac_objext; then
23749 ac_hi=-1 ac_mid=-1
23750 while :; do
23751 cat >conftest.$ac_ext <<_ACEOF
23752 /* confdefs.h. */
23753 _ACEOF
23754 cat confdefs.h >>conftest.$ac_ext
23755 cat >>conftest.$ac_ext <<_ACEOF
23756 /* end confdefs.h. */
23757
23758 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23759 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23760 # error "fake wchar_t"
23761 #endif
23762 #ifdef HAVE_WCHAR_H
23763 # ifdef __CYGWIN__
23764 # include <stddef.h>
23765 # endif
23766 # include <wchar.h>
23767 #endif
23768 #ifdef HAVE_STDLIB_H
23769 # include <stdlib.h>
23770 #endif
23771 #include <stdio.h>
23772
23773
23774
23775 typedef wchar_t ac__type_sizeof_;
23776 int
23777 main ()
23778 {
23779 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23780 test_array [0] = 0
23781
23782 ;
23783 return 0;
23784 }
23785 _ACEOF
23786 rm -f conftest.$ac_objext
23787 if { (ac_try="$ac_compile"
23788 case "(($ac_try" in
23789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23790 *) ac_try_echo=$ac_try;;
23791 esac
23792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23793 (eval "$ac_compile") 2>conftest.er1
23794 ac_status=$?
23795 grep -v '^ *+' conftest.er1 >conftest.err
23796 rm -f conftest.er1
23797 cat conftest.err >&5
23798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799 (exit $ac_status); } && {
23800 test -z "$ac_c_werror_flag" ||
23801 test ! -s conftest.err
23802 } && test -s conftest.$ac_objext; then
23803 ac_lo=$ac_mid; break
23804 else
23805 echo "$as_me: failed program was:" >&5
23806 sed 's/^/| /' conftest.$ac_ext >&5
23807
23808 ac_hi=`expr '(' $ac_mid ')' - 1`
23809 if test $ac_mid -le $ac_hi; then
23810 ac_lo= ac_hi=
23811 break
23812 fi
23813 ac_mid=`expr 2 '*' $ac_mid`
23814 fi
23815
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23817 done
23818 else
23819 echo "$as_me: failed program was:" >&5
23820 sed 's/^/| /' conftest.$ac_ext >&5
23821
23822 ac_lo= ac_hi=
23823 fi
23824
23825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23826 fi
23827
23828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23829 # Binary search between lo and hi bounds.
23830 while test "x$ac_lo" != "x$ac_hi"; do
23831 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23832 cat >conftest.$ac_ext <<_ACEOF
23833 /* confdefs.h. */
23834 _ACEOF
23835 cat confdefs.h >>conftest.$ac_ext
23836 cat >>conftest.$ac_ext <<_ACEOF
23837 /* end confdefs.h. */
23838
23839 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23840 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23841 # error "fake wchar_t"
23842 #endif
23843 #ifdef HAVE_WCHAR_H
23844 # ifdef __CYGWIN__
23845 # include <stddef.h>
23846 # endif
23847 # include <wchar.h>
23848 #endif
23849 #ifdef HAVE_STDLIB_H
23850 # include <stdlib.h>
23851 #endif
23852 #include <stdio.h>
23853
23854
23855
23856 typedef wchar_t ac__type_sizeof_;
23857 int
23858 main ()
23859 {
23860 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23861 test_array [0] = 0
23862
23863 ;
23864 return 0;
23865 }
23866 _ACEOF
23867 rm -f conftest.$ac_objext
23868 if { (ac_try="$ac_compile"
23869 case "(($ac_try" in
23870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23871 *) ac_try_echo=$ac_try;;
23872 esac
23873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23874 (eval "$ac_compile") 2>conftest.er1
23875 ac_status=$?
23876 grep -v '^ *+' conftest.er1 >conftest.err
23877 rm -f conftest.er1
23878 cat conftest.err >&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); } && {
23881 test -z "$ac_c_werror_flag" ||
23882 test ! -s conftest.err
23883 } && test -s conftest.$ac_objext; then
23884 ac_hi=$ac_mid
23885 else
23886 echo "$as_me: failed program was:" >&5
23887 sed 's/^/| /' conftest.$ac_ext >&5
23888
23889 ac_lo=`expr '(' $ac_mid ')' + 1`
23890 fi
23891
23892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23893 done
23894 case $ac_lo in
23895 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23896 '') if test "$ac_cv_type_wchar_t" = yes; then
23897 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23898 See \`config.log' for more details." >&5
23899 echo "$as_me: error: cannot compute sizeof (wchar_t)
23900 See \`config.log' for more details." >&2;}
23901 { (exit 77); exit 77; }; }
23902 else
23903 ac_cv_sizeof_wchar_t=0
23904 fi ;;
23905 esac
23906 else
23907 cat >conftest.$ac_ext <<_ACEOF
23908 /* confdefs.h. */
23909 _ACEOF
23910 cat confdefs.h >>conftest.$ac_ext
23911 cat >>conftest.$ac_ext <<_ACEOF
23912 /* end confdefs.h. */
23913
23914 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23915 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23916 # error "fake wchar_t"
23917 #endif
23918 #ifdef HAVE_WCHAR_H
23919 # ifdef __CYGWIN__
23920 # include <stddef.h>
23921 # endif
23922 # include <wchar.h>
23923 #endif
23924 #ifdef HAVE_STDLIB_H
23925 # include <stdlib.h>
23926 #endif
23927 #include <stdio.h>
23928
23929
23930
23931 typedef wchar_t ac__type_sizeof_;
23932 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23933 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23934 #include <stdio.h>
23935 #include <stdlib.h>
23936 int
23937 main ()
23938 {
23939
23940 FILE *f = fopen ("conftest.val", "w");
23941 if (! f)
23942 return 1;
23943 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23944 {
23945 long int i = longval ();
23946 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23947 return 1;
23948 fprintf (f, "%ld\n", i);
23949 }
23950 else
23951 {
23952 unsigned long int i = ulongval ();
23953 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23954 return 1;
23955 fprintf (f, "%lu\n", i);
23956 }
23957 return ferror (f) || fclose (f) != 0;
23958
23959 ;
23960 return 0;
23961 }
23962 _ACEOF
23963 rm -f conftest$ac_exeext
23964 if { (ac_try="$ac_link"
23965 case "(($ac_try" in
23966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23967 *) ac_try_echo=$ac_try;;
23968 esac
23969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23970 (eval "$ac_link") 2>&5
23971 ac_status=$?
23972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23974 { (case "(($ac_try" in
23975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23976 *) ac_try_echo=$ac_try;;
23977 esac
23978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23979 (eval "$ac_try") 2>&5
23980 ac_status=$?
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); }; }; then
23983 ac_cv_sizeof_wchar_t=`cat conftest.val`
23984 else
23985 echo "$as_me: program exited with status $ac_status" >&5
23986 echo "$as_me: failed program was:" >&5
23987 sed 's/^/| /' conftest.$ac_ext >&5
23988
23989 ( exit $ac_status )
23990 if test "$ac_cv_type_wchar_t" = yes; then
23991 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23992 See \`config.log' for more details." >&5
23993 echo "$as_me: error: cannot compute sizeof (wchar_t)
23994 See \`config.log' for more details." >&2;}
23995 { (exit 77); exit 77; }; }
23996 else
23997 ac_cv_sizeof_wchar_t=0
23998 fi
23999 fi
24000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24001 fi
24002 rm -f conftest.val
24003 fi
24004 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24005 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24006
24007
24008
24009 cat >>confdefs.h <<_ACEOF
24010 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24011 _ACEOF
24012
24013
24014 if test "$ac_cv_sizeof_wchar_t" = 0; then
24015 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24016 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24017 { (exit 1); exit 1; }; }
24018 fi
24019 cat >>confdefs.h <<\_ACEOF
24020 #define wxUSE_WCHAR_T 1
24021 _ACEOF
24022
24023
24024 { echo "$as_me:$LINENO: checking for va_copy" >&5
24025 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24026 if test "${wx_cv_func_va_copy+set}" = set; then
24027 echo $ECHO_N "(cached) $ECHO_C" >&6
24028 else
24029
24030 ac_ext=cpp
24031 ac_cpp='$CXXCPP $CPPFLAGS'
24032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24035
24036 cat >conftest.$ac_ext <<_ACEOF
24037
24038 #include <stdarg.h>
24039 void foo(char *f, ...)
24040 {
24041 va_list ap1, ap2;
24042 va_start(ap1, f);
24043 va_copy(ap2, ap1);
24044 va_end(ap2);
24045 va_end(ap1);
24046 }
24047 int main()
24048 {
24049 foo("hi", 17);
24050 return 0;
24051 }
24052 _ACEOF
24053 rm -f conftest.$ac_objext conftest$ac_exeext
24054 if { (ac_try="$ac_link"
24055 case "(($ac_try" in
24056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24057 *) ac_try_echo=$ac_try;;
24058 esac
24059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24060 (eval "$ac_link") 2>conftest.er1
24061 ac_status=$?
24062 grep -v '^ *+' conftest.er1 >conftest.err
24063 rm -f conftest.er1
24064 cat conftest.err >&5
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); } && {
24067 test -z "$ac_cxx_werror_flag" ||
24068 test ! -s conftest.err
24069 } && test -s conftest$ac_exeext &&
24070 $as_test_x conftest$ac_exeext; then
24071 wx_cv_func_va_copy=yes
24072 else
24073 echo "$as_me: failed program was:" >&5
24074 sed 's/^/| /' conftest.$ac_ext >&5
24075
24076 wx_cv_func_va_copy=no
24077
24078 fi
24079
24080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24081 conftest$ac_exeext conftest.$ac_ext
24082 ac_ext=c
24083 ac_cpp='$CPP $CPPFLAGS'
24084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24087
24088
24089
24090 fi
24091 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24092 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24093
24094 if test $wx_cv_func_va_copy = "yes"; then
24095 cat >>confdefs.h <<\_ACEOF
24096 #define HAVE_VA_COPY 1
24097 _ACEOF
24098
24099 else
24100 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24101 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24102 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24103 echo $ECHO_N "(cached) $ECHO_C" >&6
24104 else
24105
24106 if test "$cross_compiling" = yes; then
24107 wx_cv_type_va_list_lvalue=yes
24108
24109 else
24110 cat >conftest.$ac_ext <<_ACEOF
24111
24112 #include <stdarg.h>
24113 int foo(char *f, ...)
24114 {
24115 va_list ap1, ap2;
24116 va_start(ap1, f);
24117 ap2 = ap1;
24118 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24119 return 1;
24120 va_end(ap2);
24121 va_end(ap1);
24122 return 0;
24123 }
24124 int main()
24125 {
24126 return foo("hi", 17);
24127 }
24128 _ACEOF
24129 rm -f conftest$ac_exeext
24130 if { (ac_try="$ac_link"
24131 case "(($ac_try" in
24132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24133 *) ac_try_echo=$ac_try;;
24134 esac
24135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24136 (eval "$ac_link") 2>&5
24137 ac_status=$?
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24140 { (case "(($ac_try" in
24141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24142 *) ac_try_echo=$ac_try;;
24143 esac
24144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24145 (eval "$ac_try") 2>&5
24146 ac_status=$?
24147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148 (exit $ac_status); }; }; then
24149 wx_cv_type_va_list_lvalue=yes
24150 else
24151 echo "$as_me: program exited with status $ac_status" >&5
24152 echo "$as_me: failed program was:" >&5
24153 sed 's/^/| /' conftest.$ac_ext >&5
24154
24155 ( exit $ac_status )
24156 wx_cv_type_va_list_lvalue=no
24157 fi
24158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24159 fi
24160
24161
24162
24163
24164 fi
24165 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24166 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24167
24168 if test $wx_cv_type_va_list_lvalue != "yes"; then
24169 cat >>confdefs.h <<\_ACEOF
24170 #define VA_LIST_IS_ARRAY 1
24171 _ACEOF
24172
24173 fi
24174 fi
24175
24176 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24177
24178 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24179 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24180 if test "${wx_cv_have_variadic_macros+set}" = set; then
24181 echo $ECHO_N "(cached) $ECHO_C" >&6
24182 else
24183
24184 ac_ext=cpp
24185 ac_cpp='$CXXCPP $CPPFLAGS'
24186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24189
24190 cat >conftest.$ac_ext <<_ACEOF
24191 /* confdefs.h. */
24192 _ACEOF
24193 cat confdefs.h >>conftest.$ac_ext
24194 cat >>conftest.$ac_ext <<_ACEOF
24195 /* end confdefs.h. */
24196
24197 #include <stdio.h>
24198 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24199
24200 int
24201 main ()
24202 {
24203
24204 test("%s %d %p", "test", 1, 0);
24205
24206
24207 ;
24208 return 0;
24209 }
24210 _ACEOF
24211 rm -f conftest.$ac_objext
24212 if { (ac_try="$ac_compile"
24213 case "(($ac_try" in
24214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24215 *) ac_try_echo=$ac_try;;
24216 esac
24217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24218 (eval "$ac_compile") 2>conftest.er1
24219 ac_status=$?
24220 grep -v '^ *+' conftest.er1 >conftest.err
24221 rm -f conftest.er1
24222 cat conftest.err >&5
24223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24224 (exit $ac_status); } && {
24225 test -z "$ac_cxx_werror_flag" ||
24226 test ! -s conftest.err
24227 } && test -s conftest.$ac_objext; then
24228 wx_cv_have_variadic_macros=yes
24229 else
24230 echo "$as_me: failed program was:" >&5
24231 sed 's/^/| /' conftest.$ac_ext >&5
24232
24233 wx_cv_have_variadic_macros=no
24234
24235 fi
24236
24237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24238 ac_ext=c
24239 ac_cpp='$CPP $CPPFLAGS'
24240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24243
24244
24245
24246 fi
24247 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24248 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24249
24250 if test $wx_cv_have_variadic_macros = "yes"; then
24251 cat >>confdefs.h <<\_ACEOF
24252 #define HAVE_VARIADIC_MACROS 1
24253 _ACEOF
24254
24255 fi
24256
24257 fi
24258
24259 LARGEFILE_CPPFLAGS=
24260 # Check whether --enable-largefile was given.
24261 if test "${enable_largefile+set}" = set; then
24262 enableval=$enable_largefile;
24263 fi
24264
24265 if test "$enable_largefile" != no; then
24266 wx_largefile=no
24267
24268 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24269 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24270 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24271 echo $ECHO_N "(cached) $ECHO_C" >&6
24272 else
24273
24274 cat >conftest.$ac_ext <<_ACEOF
24275 /* confdefs.h. */
24276 _ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 #define _FILE_OFFSET_BITS 64
24281 #include <sys/types.h>
24282 int
24283 main ()
24284 {
24285 typedef struct {
24286 unsigned int field: sizeof(off_t) == 8;
24287 } wxlf;
24288
24289 ;
24290 return 0;
24291 }
24292 _ACEOF
24293 rm -f conftest.$ac_objext
24294 if { (ac_try="$ac_compile"
24295 case "(($ac_try" in
24296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24297 *) ac_try_echo=$ac_try;;
24298 esac
24299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24300 (eval "$ac_compile") 2>conftest.er1
24301 ac_status=$?
24302 grep -v '^ *+' conftest.er1 >conftest.err
24303 rm -f conftest.er1
24304 cat conftest.err >&5
24305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24306 (exit $ac_status); } && {
24307 test -z "$ac_c_werror_flag" ||
24308 test ! -s conftest.err
24309 } && test -s conftest.$ac_objext; then
24310 ac_cv_sys_file_offset_bits=64
24311 else
24312 echo "$as_me: failed program was:" >&5
24313 sed 's/^/| /' conftest.$ac_ext >&5
24314
24315 ac_cv_sys_file_offset_bits=no
24316 fi
24317
24318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24319
24320
24321 fi
24322 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24323 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24324
24325 if test "$ac_cv_sys_file_offset_bits" != no; then
24326 wx_largefile=yes
24327 cat >>confdefs.h <<_ACEOF
24328 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24329 _ACEOF
24330
24331 fi
24332
24333 if test "x$wx_largefile" != "xyes"; then
24334
24335 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24336 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24337 if test "${ac_cv_sys_large_files+set}" = set; then
24338 echo $ECHO_N "(cached) $ECHO_C" >&6
24339 else
24340
24341 cat >conftest.$ac_ext <<_ACEOF
24342 /* confdefs.h. */
24343 _ACEOF
24344 cat confdefs.h >>conftest.$ac_ext
24345 cat >>conftest.$ac_ext <<_ACEOF
24346 /* end confdefs.h. */
24347 #define _LARGE_FILES 1
24348 #include <sys/types.h>
24349 int
24350 main ()
24351 {
24352 typedef struct {
24353 unsigned int field: sizeof(off_t) == 8;
24354 } wxlf;
24355
24356 ;
24357 return 0;
24358 }
24359 _ACEOF
24360 rm -f conftest.$ac_objext
24361 if { (ac_try="$ac_compile"
24362 case "(($ac_try" in
24363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24364 *) ac_try_echo=$ac_try;;
24365 esac
24366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24367 (eval "$ac_compile") 2>conftest.er1
24368 ac_status=$?
24369 grep -v '^ *+' conftest.er1 >conftest.err
24370 rm -f conftest.er1
24371 cat conftest.err >&5
24372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24373 (exit $ac_status); } && {
24374 test -z "$ac_c_werror_flag" ||
24375 test ! -s conftest.err
24376 } && test -s conftest.$ac_objext; then
24377 ac_cv_sys_large_files=1
24378 else
24379 echo "$as_me: failed program was:" >&5
24380 sed 's/^/| /' conftest.$ac_ext >&5
24381
24382 ac_cv_sys_large_files=no
24383 fi
24384
24385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24386
24387
24388 fi
24389 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24390 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24391
24392 if test "$ac_cv_sys_large_files" != no; then
24393 wx_largefile=yes
24394 cat >>confdefs.h <<_ACEOF
24395 #define _LARGE_FILES $ac_cv_sys_large_files
24396 _ACEOF
24397
24398 fi
24399
24400 fi
24401
24402 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24403 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24404 if test "x$wx_largefile" = "xyes"; then
24405 cat >>confdefs.h <<\_ACEOF
24406 #define HAVE_LARGEFILE_SUPPORT 1
24407 _ACEOF
24408
24409 fi
24410 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24411 echo "${ECHO_T}$wx_largefile" >&6; }
24412 fi
24413
24414 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24415 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24416 elif test "$ac_cv_sys_large_files" = 1; then
24417 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24418 fi
24419
24420 if test -n "$LARGEFILE_CPPFLAGS"; then
24421 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24422
24423 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24424 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24425 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24426 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24427 echo $ECHO_N "(cached) $ECHO_C" >&6
24428 else
24429
24430 ac_ext=cpp
24431 ac_cpp='$CXXCPP $CPPFLAGS'
24432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24435
24436 cat >conftest.$ac_ext <<_ACEOF
24437 /* confdefs.h. */
24438 _ACEOF
24439 cat confdefs.h >>conftest.$ac_ext
24440 cat >>conftest.$ac_ext <<_ACEOF
24441 /* end confdefs.h. */
24442
24443 int
24444 main ()
24445 {
24446
24447 #ifndef __STDC_EXT__
24448 choke me
24449 #endif
24450
24451 ;
24452 return 0;
24453 }
24454 _ACEOF
24455 rm -f conftest.$ac_objext
24456 if { (ac_try="$ac_compile"
24457 case "(($ac_try" in
24458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24459 *) ac_try_echo=$ac_try;;
24460 esac
24461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24462 (eval "$ac_compile") 2>conftest.er1
24463 ac_status=$?
24464 grep -v '^ *+' conftest.er1 >conftest.err
24465 rm -f conftest.er1
24466 cat conftest.err >&5
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); } && {
24469 test -z "$ac_cxx_werror_flag" ||
24470 test ! -s conftest.err
24471 } && test -s conftest.$ac_objext; then
24472 wx_cv_STDC_EXT_required=no
24473 else
24474 echo "$as_me: failed program was:" >&5
24475 sed 's/^/| /' conftest.$ac_ext >&5
24476
24477 wx_cv_STDC_EXT_required=yes
24478
24479 fi
24480
24481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24482 ac_ext=c
24483 ac_cpp='$CPP $CPPFLAGS'
24484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24487
24488
24489
24490 fi
24491 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24492 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24493 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24494 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24495 fi
24496 fi
24497 fi
24498
24499 ac_ext=cpp
24500 ac_cpp='$CXXCPP $CPPFLAGS'
24501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24504
24505 old_CPPFLAGS="$CPPFLAGS"
24506 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24507 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24508 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24509 if test "${ac_cv_sys_largefile_source+set}" = set; then
24510 echo $ECHO_N "(cached) $ECHO_C" >&6
24511 else
24512 while :; do
24513 cat >conftest.$ac_ext <<_ACEOF
24514 /* confdefs.h. */
24515 _ACEOF
24516 cat confdefs.h >>conftest.$ac_ext
24517 cat >>conftest.$ac_ext <<_ACEOF
24518 /* end confdefs.h. */
24519 #include <sys/types.h> /* for off_t */
24520 #include <stdio.h>
24521 int
24522 main ()
24523 {
24524 int (*fp) (FILE *, off_t, int) = fseeko;
24525 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24526 ;
24527 return 0;
24528 }
24529 _ACEOF
24530 rm -f conftest.$ac_objext conftest$ac_exeext
24531 if { (ac_try="$ac_link"
24532 case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24535 esac
24536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_link") 2>conftest.er1
24538 ac_status=$?
24539 grep -v '^ *+' conftest.er1 >conftest.err
24540 rm -f conftest.er1
24541 cat conftest.err >&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } && {
24544 test -z "$ac_cxx_werror_flag" ||
24545 test ! -s conftest.err
24546 } && test -s conftest$ac_exeext &&
24547 $as_test_x conftest$ac_exeext; then
24548 ac_cv_sys_largefile_source=no; break
24549 else
24550 echo "$as_me: failed program was:" >&5
24551 sed 's/^/| /' conftest.$ac_ext >&5
24552
24553
24554 fi
24555
24556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24557 conftest$ac_exeext conftest.$ac_ext
24558 cat >conftest.$ac_ext <<_ACEOF
24559 /* confdefs.h. */
24560 _ACEOF
24561 cat confdefs.h >>conftest.$ac_ext
24562 cat >>conftest.$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24564 #define _LARGEFILE_SOURCE 1
24565 #include <sys/types.h> /* for off_t */
24566 #include <stdio.h>
24567 int
24568 main ()
24569 {
24570 int (*fp) (FILE *, off_t, int) = fseeko;
24571 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24572 ;
24573 return 0;
24574 }
24575 _ACEOF
24576 rm -f conftest.$ac_objext conftest$ac_exeext
24577 if { (ac_try="$ac_link"
24578 case "(($ac_try" in
24579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24580 *) ac_try_echo=$ac_try;;
24581 esac
24582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24583 (eval "$ac_link") 2>conftest.er1
24584 ac_status=$?
24585 grep -v '^ *+' conftest.er1 >conftest.err
24586 rm -f conftest.er1
24587 cat conftest.err >&5
24588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24589 (exit $ac_status); } && {
24590 test -z "$ac_cxx_werror_flag" ||
24591 test ! -s conftest.err
24592 } && test -s conftest$ac_exeext &&
24593 $as_test_x conftest$ac_exeext; then
24594 ac_cv_sys_largefile_source=1; break
24595 else
24596 echo "$as_me: failed program was:" >&5
24597 sed 's/^/| /' conftest.$ac_ext >&5
24598
24599
24600 fi
24601
24602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24603 conftest$ac_exeext conftest.$ac_ext
24604 ac_cv_sys_largefile_source=unknown
24605 break
24606 done
24607 fi
24608 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24609 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24610 case $ac_cv_sys_largefile_source in #(
24611 no | unknown) ;;
24612 *)
24613 cat >>confdefs.h <<_ACEOF
24614 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24615 _ACEOF
24616 ;;
24617 esac
24618 rm -f conftest*
24619
24620 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24621 # in glibc 2.1.3, but that breaks too many other things.
24622 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24623 if test $ac_cv_sys_largefile_source != unknown; then
24624
24625 cat >>confdefs.h <<\_ACEOF
24626 #define HAVE_FSEEKO 1
24627 _ACEOF
24628
24629 fi
24630
24631 CPPFLAGS="$old_CPPFLAGS"
24632 ac_ext=c
24633 ac_cpp='$CPP $CPPFLAGS'
24634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24637
24638 if test "$ac_cv_sys_largefile_source" != no; then
24639 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24640 fi
24641
24642 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24643 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24644 if test "${ac_cv_c_bigendian+set}" = set; then
24645 echo $ECHO_N "(cached) $ECHO_C" >&6
24646 else
24647 ac_cv_c_bigendian=unknown
24648 # See if sys/param.h defines the BYTE_ORDER macro.
24649 cat >conftest.$ac_ext <<_ACEOF
24650 /* confdefs.h. */
24651 _ACEOF
24652 cat confdefs.h >>conftest.$ac_ext
24653 cat >>conftest.$ac_ext <<_ACEOF
24654 /* end confdefs.h. */
24655 #include <sys/types.h>
24656 #include <sys/param.h>
24657 int
24658 main ()
24659 {
24660
24661 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24662 bogus endian macros
24663 #endif
24664 ;
24665 return 0;
24666 }
24667 _ACEOF
24668 rm -f conftest.$ac_objext
24669 if { (ac_try="$ac_compile"
24670 case "(($ac_try" in
24671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24672 *) ac_try_echo=$ac_try;;
24673 esac
24674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24675 (eval "$ac_compile") 2>conftest.er1
24676 ac_status=$?
24677 grep -v '^ *+' conftest.er1 >conftest.err
24678 rm -f conftest.er1
24679 cat conftest.err >&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } && {
24682 test -z "$ac_c_werror_flag" ||
24683 test ! -s conftest.err
24684 } && test -s conftest.$ac_objext; then
24685 # It does; now see whether it defined to BIG_ENDIAN or not.
24686 cat >conftest.$ac_ext <<_ACEOF
24687 /* confdefs.h. */
24688 _ACEOF
24689 cat confdefs.h >>conftest.$ac_ext
24690 cat >>conftest.$ac_ext <<_ACEOF
24691 /* end confdefs.h. */
24692 #include <sys/types.h>
24693 #include <sys/param.h>
24694 int
24695 main ()
24696 {
24697
24698 #if BYTE_ORDER != BIG_ENDIAN
24699 not big endian
24700 #endif
24701 ;
24702 return 0;
24703 }
24704 _ACEOF
24705 rm -f conftest.$ac_objext
24706 if { (ac_try="$ac_compile"
24707 case "(($ac_try" in
24708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24709 *) ac_try_echo=$ac_try;;
24710 esac
24711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24712 (eval "$ac_compile") 2>conftest.er1
24713 ac_status=$?
24714 grep -v '^ *+' conftest.er1 >conftest.err
24715 rm -f conftest.er1
24716 cat conftest.err >&5
24717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 (exit $ac_status); } && {
24719 test -z "$ac_c_werror_flag" ||
24720 test ! -s conftest.err
24721 } && test -s conftest.$ac_objext; then
24722 ac_cv_c_bigendian=yes
24723 else
24724 echo "$as_me: failed program was:" >&5
24725 sed 's/^/| /' conftest.$ac_ext >&5
24726
24727 ac_cv_c_bigendian=no
24728 fi
24729
24730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24731 else
24732 echo "$as_me: failed program was:" >&5
24733 sed 's/^/| /' conftest.$ac_ext >&5
24734
24735
24736 fi
24737
24738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24739 if test $ac_cv_c_bigendian = unknown; then
24740 if test "$cross_compiling" = yes; then
24741 ac_cv_c_bigendian=unknown
24742 else
24743 cat >conftest.$ac_ext <<_ACEOF
24744 /* confdefs.h. */
24745 _ACEOF
24746 cat confdefs.h >>conftest.$ac_ext
24747 cat >>conftest.$ac_ext <<_ACEOF
24748 /* end confdefs.h. */
24749 main () {
24750 /* Are we little or big endian? From Harbison&Steele. */
24751 union
24752 {
24753 long l;
24754 char c[sizeof (long)];
24755 } u;
24756 u.l = 1;
24757 exit (u.c[sizeof (long) - 1] == 1);
24758 }
24759 _ACEOF
24760 rm -f conftest$ac_exeext
24761 if { (ac_try="$ac_link"
24762 case "(($ac_try" in
24763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24764 *) ac_try_echo=$ac_try;;
24765 esac
24766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24767 (eval "$ac_link") 2>&5
24768 ac_status=$?
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24771 { (case "(($ac_try" in
24772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24773 *) ac_try_echo=$ac_try;;
24774 esac
24775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24776 (eval "$ac_try") 2>&5
24777 ac_status=$?
24778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24779 (exit $ac_status); }; }; then
24780 ac_cv_c_bigendian=no
24781 else
24782 echo "$as_me: program exited with status $ac_status" >&5
24783 echo "$as_me: failed program was:" >&5
24784 sed 's/^/| /' conftest.$ac_ext >&5
24785
24786 ( exit $ac_status )
24787 ac_cv_c_bigendian=yes
24788 fi
24789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24790 fi
24791
24792
24793 fi
24794 fi
24795 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24796 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24797 if test $ac_cv_c_bigendian = unknown; then
24798 { 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
24799 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;}
24800 fi
24801 if test $ac_cv_c_bigendian = yes; then
24802 cat >>confdefs.h <<\_ACEOF
24803 #define WORDS_BIGENDIAN 1
24804 _ACEOF
24805
24806 fi
24807
24808
24809
24810
24811 ac_ext=cpp
24812 ac_cpp='$CXXCPP $CPPFLAGS'
24813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24816
24817
24818
24819 for ac_header in iostream
24820 do
24821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24822 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+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
24834
24835 #include <$ac_header>
24836 _ACEOF
24837 rm -f conftest.$ac_objext
24838 if { (ac_try="$ac_compile"
24839 case "(($ac_try" in
24840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24841 *) ac_try_echo=$ac_try;;
24842 esac
24843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24844 (eval "$ac_compile") 2>conftest.er1
24845 ac_status=$?
24846 grep -v '^ *+' conftest.er1 >conftest.err
24847 rm -f conftest.er1
24848 cat conftest.err >&5
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); } && {
24851 test -z "$ac_cxx_werror_flag" ||
24852 test ! -s conftest.err
24853 } && test -s conftest.$ac_objext; then
24854 eval "$as_ac_Header=yes"
24855 else
24856 echo "$as_me: failed program was:" >&5
24857 sed 's/^/| /' conftest.$ac_ext >&5
24858
24859 eval "$as_ac_Header=no"
24860 fi
24861
24862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24863 fi
24864 ac_res=`eval echo '${'$as_ac_Header'}'`
24865 { echo "$as_me:$LINENO: result: $ac_res" >&5
24866 echo "${ECHO_T}$ac_res" >&6; }
24867 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24868 cat >>confdefs.h <<_ACEOF
24869 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24870 _ACEOF
24871
24872 fi
24873
24874 done
24875
24876
24877 if test "$ac_cv_header_iostream" = "yes" ; then
24878 :
24879 else
24880 cat >>confdefs.h <<\_ACEOF
24881 #define wxUSE_IOSTREAMH 1
24882 _ACEOF
24883
24884 fi
24885
24886 ac_ext=c
24887 ac_cpp='$CPP $CPPFLAGS'
24888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24891
24892
24893
24894
24895 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24896 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24897 if test "${wx_cv_explicit+set}" = set; then
24898 echo $ECHO_N "(cached) $ECHO_C" >&6
24899 else
24900
24901
24902 ac_ext=cpp
24903 ac_cpp='$CXXCPP $CPPFLAGS'
24904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24907
24908
24909 cat >conftest.$ac_ext <<_ACEOF
24910 /* confdefs.h. */
24911 _ACEOF
24912 cat confdefs.h >>conftest.$ac_ext
24913 cat >>conftest.$ac_ext <<_ACEOF
24914 /* end confdefs.h. */
24915
24916 class Foo { public: explicit Foo(int) {} };
24917
24918 int
24919 main ()
24920 {
24921
24922 return 0;
24923
24924 ;
24925 return 0;
24926 }
24927 _ACEOF
24928 rm -f conftest.$ac_objext
24929 if { (ac_try="$ac_compile"
24930 case "(($ac_try" in
24931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24932 *) ac_try_echo=$ac_try;;
24933 esac
24934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24935 (eval "$ac_compile") 2>conftest.er1
24936 ac_status=$?
24937 grep -v '^ *+' conftest.er1 >conftest.err
24938 rm -f conftest.er1
24939 cat conftest.err >&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); } && {
24942 test -z "$ac_cxx_werror_flag" ||
24943 test ! -s conftest.err
24944 } && test -s conftest.$ac_objext; then
24945
24946 cat >conftest.$ac_ext <<_ACEOF
24947 /* confdefs.h. */
24948 _ACEOF
24949 cat confdefs.h >>conftest.$ac_ext
24950 cat >>conftest.$ac_ext <<_ACEOF
24951 /* end confdefs.h. */
24952
24953 class Foo { public: explicit Foo(int) {} };
24954 static void TakeFoo(const Foo& foo) { }
24955
24956 int
24957 main ()
24958 {
24959
24960 TakeFoo(17);
24961 return 0;
24962
24963 ;
24964 return 0;
24965 }
24966 _ACEOF
24967 rm -f conftest.$ac_objext
24968 if { (ac_try="$ac_compile"
24969 case "(($ac_try" in
24970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24971 *) ac_try_echo=$ac_try;;
24972 esac
24973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24974 (eval "$ac_compile") 2>conftest.er1
24975 ac_status=$?
24976 grep -v '^ *+' conftest.er1 >conftest.err
24977 rm -f conftest.er1
24978 cat conftest.err >&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); } && {
24981 test -z "$ac_cxx_werror_flag" ||
24982 test ! -s conftest.err
24983 } && test -s conftest.$ac_objext; then
24984 wx_cv_explicit=no
24985 else
24986 echo "$as_me: failed program was:" >&5
24987 sed 's/^/| /' conftest.$ac_ext >&5
24988
24989 wx_cv_explicit=yes
24990
24991 fi
24992
24993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24994
24995 else
24996 echo "$as_me: failed program was:" >&5
24997 sed 's/^/| /' conftest.$ac_ext >&5
24998
24999 wx_cv_explicit=no
25000
25001 fi
25002
25003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25004
25005 ac_ext=c
25006 ac_cpp='$CPP $CPPFLAGS'
25007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25010
25011
25012 fi
25013 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25014 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25015
25016 if test "$wx_cv_explicit" = "yes"; then
25017 cat >>confdefs.h <<\_ACEOF
25018 #define HAVE_EXPLICIT 1
25019 _ACEOF
25020
25021 fi
25022
25023
25024 if test "x$SUNCXX" = xyes; then
25025 CXXFLAGS="-features=tmplife $CXXFLAGS"
25026 fi
25027
25028 if test "x$SUNCC" = xyes; then
25029 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25030 fi
25031
25032 if test "x$SGICC" = "xyes"; then
25033 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25034 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25035 if test "${wx_cv_prog_sgicc744+set}" = set; then
25036 echo $ECHO_N "(cached) $ECHO_C" >&6
25037 else
25038
25039 cat >conftest.$ac_ext <<_ACEOF
25040 /* confdefs.h. */
25041 _ACEOF
25042 cat confdefs.h >>conftest.$ac_ext
25043 cat >>conftest.$ac_ext <<_ACEOF
25044 /* end confdefs.h. */
25045
25046 int
25047 main ()
25048 {
25049
25050 #if _SGI_COMPILER_VERSION >= 744
25051 chock me: mipsPro is 7.4.4 or later
25052 #endif
25053
25054 ;
25055 return 0;
25056 }
25057 _ACEOF
25058 rm -f conftest.$ac_objext
25059 if { (ac_try="$ac_compile"
25060 case "(($ac_try" in
25061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25062 *) ac_try_echo=$ac_try;;
25063 esac
25064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25065 (eval "$ac_compile") 2>conftest.er1
25066 ac_status=$?
25067 grep -v '^ *+' conftest.er1 >conftest.err
25068 rm -f conftest.er1
25069 cat conftest.err >&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); } && {
25072 test -z "$ac_c_werror_flag" ||
25073 test ! -s conftest.err
25074 } && test -s conftest.$ac_objext; then
25075 wx_cv_prog_sgicc744=no
25076 else
25077 echo "$as_me: failed program was:" >&5
25078 sed 's/^/| /' conftest.$ac_ext >&5
25079
25080 wx_cv_prog_sgicc744=yes
25081
25082 fi
25083
25084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25085
25086
25087 fi
25088 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25089 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25090
25091 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25092 CFLAGS="-woff 3970 $CFLAGS"
25093 fi
25094 fi
25095 if test "x$SGICXX" = "xyes"; then
25096 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25097 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25098 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25099 echo $ECHO_N "(cached) $ECHO_C" >&6
25100 else
25101
25102 ac_ext=cpp
25103 ac_cpp='$CXXCPP $CPPFLAGS'
25104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25107
25108 cat >conftest.$ac_ext <<_ACEOF
25109 /* confdefs.h. */
25110 _ACEOF
25111 cat confdefs.h >>conftest.$ac_ext
25112 cat >>conftest.$ac_ext <<_ACEOF
25113 /* end confdefs.h. */
25114
25115 int
25116 main ()
25117 {
25118
25119 #if _SGI_COMPILER_VERSION >= 744
25120 chock me: mipsPro is 7.4.4 or later
25121 #endif
25122
25123 ;
25124 return 0;
25125 }
25126 _ACEOF
25127 rm -f conftest.$ac_objext
25128 if { (ac_try="$ac_compile"
25129 case "(($ac_try" in
25130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25131 *) ac_try_echo=$ac_try;;
25132 esac
25133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25134 (eval "$ac_compile") 2>conftest.er1
25135 ac_status=$?
25136 grep -v '^ *+' conftest.er1 >conftest.err
25137 rm -f conftest.er1
25138 cat conftest.err >&5
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); } && {
25141 test -z "$ac_cxx_werror_flag" ||
25142 test ! -s conftest.err
25143 } && test -s conftest.$ac_objext; then
25144 wx_cv_prog_sgicxx744=no
25145 else
25146 echo "$as_me: failed program was:" >&5
25147 sed 's/^/| /' conftest.$ac_ext >&5
25148
25149 wx_cv_prog_sgicxx744=yes
25150
25151 fi
25152
25153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25154 ac_ext=c
25155 ac_cpp='$CPP $CPPFLAGS'
25156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25159
25160
25161
25162 fi
25163 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25164 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25165
25166 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25167 CXXFLAGS="-woff 3970 $CXXFLAGS"
25168 fi
25169 fi
25170
25171 if test "x$HPCC" = "xyes"; then
25172 CFLAGS="+W 2011,2450 $CFLAGS"
25173 fi
25174 if test "x$HPCXX" = "xyes"; then
25175 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25176 fi
25177
25178 if test "x$COMPAQCXX" = "xyes"; then
25179 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25180 fi
25181
25182 ac_ext=cpp
25183 ac_cpp='$CXXCPP $CPPFLAGS'
25184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25187
25188
25189 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25190 if test "$wxUSE_UNICODE" = "yes"; then
25191 std_string="std::wstring"
25192 char_type="wchar_t"
25193 else
25194 std_string="std::string"
25195 char_type="char"
25196 fi
25197
25198 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25199 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25200 if test "${wx_cv_class_stdstring+set}" = set; then
25201 echo $ECHO_N "(cached) $ECHO_C" >&6
25202 else
25203
25204 cat >conftest.$ac_ext <<_ACEOF
25205 /* confdefs.h. */
25206 _ACEOF
25207 cat confdefs.h >>conftest.$ac_ext
25208 cat >>conftest.$ac_ext <<_ACEOF
25209 /* end confdefs.h. */
25210 #include <string>
25211 int
25212 main ()
25213 {
25214 $std_string foo;
25215 ;
25216 return 0;
25217 }
25218 _ACEOF
25219 rm -f conftest.$ac_objext
25220 if { (ac_try="$ac_compile"
25221 case "(($ac_try" in
25222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25223 *) ac_try_echo=$ac_try;;
25224 esac
25225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25226 (eval "$ac_compile") 2>conftest.er1
25227 ac_status=$?
25228 grep -v '^ *+' conftest.er1 >conftest.err
25229 rm -f conftest.er1
25230 cat conftest.err >&5
25231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232 (exit $ac_status); } && {
25233 test -z "$ac_cxx_werror_flag" ||
25234 test ! -s conftest.err
25235 } && test -s conftest.$ac_objext; then
25236 wx_cv_class_stdstring=yes
25237 else
25238 echo "$as_me: failed program was:" >&5
25239 sed 's/^/| /' conftest.$ac_ext >&5
25240
25241 wx_cv_class_stdstring=no
25242
25243 fi
25244
25245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25246
25247
25248 fi
25249 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25250 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25251
25252 if test "$wx_cv_class_stdstring" = yes; then
25253 if test "$wxUSE_UNICODE" = "yes"; then
25254 cat >>confdefs.h <<\_ACEOF
25255 #define HAVE_STD_WSTRING 1
25256 _ACEOF
25257
25258 fi
25259 else
25260 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25261 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25262 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25263 echo $ECHO_N "(cached) $ECHO_C" >&6
25264 else
25265
25266 cat >conftest.$ac_ext <<_ACEOF
25267 /* confdefs.h. */
25268 _ACEOF
25269 cat confdefs.h >>conftest.$ac_ext
25270 cat >>conftest.$ac_ext <<_ACEOF
25271 /* end confdefs.h. */
25272
25273 #ifdef HAVE_WCHAR_H
25274 # ifdef __CYGWIN__
25275 # include <stddef.h>
25276 # endif
25277 # include <wchar.h>
25278 #endif
25279 #ifdef HAVE_STDLIB_H
25280 # include <stdlib.h>
25281 #endif
25282 #include <stdio.h>
25283 #include <string>
25284
25285 int
25286 main ()
25287 {
25288 std::basic_string<$char_type> foo;
25289 const $char_type* dummy = foo.c_str();
25290 ;
25291 return 0;
25292 }
25293 _ACEOF
25294 rm -f conftest.$ac_objext
25295 if { (ac_try="$ac_compile"
25296 case "(($ac_try" in
25297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25298 *) ac_try_echo=$ac_try;;
25299 esac
25300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25301 (eval "$ac_compile") 2>conftest.er1
25302 ac_status=$?
25303 grep -v '^ *+' conftest.er1 >conftest.err
25304 rm -f conftest.er1
25305 cat conftest.err >&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); } && {
25308 test -z "$ac_cxx_werror_flag" ||
25309 test ! -s conftest.err
25310 } && test -s conftest.$ac_objext; then
25311 wx_cv_class_stdbasicstring=yes
25312 else
25313 echo "$as_me: failed program was:" >&5
25314 sed 's/^/| /' conftest.$ac_ext >&5
25315
25316 wx_cv_class_stdbasicstring=no
25317
25318 fi
25319
25320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25321
25322
25323 fi
25324 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25325 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25326
25327 if test "$wx_cv_class_stdbasicstring" != yes; then
25328 if test "$wxUSE_STL" = "yes"; then
25329 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25330 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25331 { (exit 1); exit 1; }; }
25332 elif test "$wxUSE_STD_STRING" = "yes"; then
25333 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25334 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25335 { (exit 1); exit 1; }; }
25336 else
25337 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25338 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25339 wxUSE_STD_STRING=no
25340 fi
25341 fi
25342 fi
25343 fi
25344
25345 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25346 { echo "$as_me:$LINENO: checking for std::istream" >&5
25347 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25348 if test "${ac_cv_type_std__istream+set}" = set; then
25349 echo $ECHO_N "(cached) $ECHO_C" >&6
25350 else
25351 cat >conftest.$ac_ext <<_ACEOF
25352 /* confdefs.h. */
25353 _ACEOF
25354 cat confdefs.h >>conftest.$ac_ext
25355 cat >>conftest.$ac_ext <<_ACEOF
25356 /* end confdefs.h. */
25357 #include <iostream>
25358
25359 typedef std::istream ac__type_new_;
25360 int
25361 main ()
25362 {
25363 if ((ac__type_new_ *) 0)
25364 return 0;
25365 if (sizeof (ac__type_new_))
25366 return 0;
25367 ;
25368 return 0;
25369 }
25370 _ACEOF
25371 rm -f conftest.$ac_objext
25372 if { (ac_try="$ac_compile"
25373 case "(($ac_try" in
25374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25375 *) ac_try_echo=$ac_try;;
25376 esac
25377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25378 (eval "$ac_compile") 2>conftest.er1
25379 ac_status=$?
25380 grep -v '^ *+' conftest.er1 >conftest.err
25381 rm -f conftest.er1
25382 cat conftest.err >&5
25383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25384 (exit $ac_status); } && {
25385 test -z "$ac_cxx_werror_flag" ||
25386 test ! -s conftest.err
25387 } && test -s conftest.$ac_objext; then
25388 ac_cv_type_std__istream=yes
25389 else
25390 echo "$as_me: failed program was:" >&5
25391 sed 's/^/| /' conftest.$ac_ext >&5
25392
25393 ac_cv_type_std__istream=no
25394 fi
25395
25396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25397 fi
25398 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25399 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25400 if test $ac_cv_type_std__istream = yes; then
25401
25402 cat >>confdefs.h <<_ACEOF
25403 #define HAVE_STD__ISTREAM 1
25404 _ACEOF
25405
25406
25407 else
25408 wxUSE_STD_IOSTREAM=no
25409 fi
25410 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25411 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25412 if test "${ac_cv_type_std__ostream+set}" = set; then
25413 echo $ECHO_N "(cached) $ECHO_C" >&6
25414 else
25415 cat >conftest.$ac_ext <<_ACEOF
25416 /* confdefs.h. */
25417 _ACEOF
25418 cat confdefs.h >>conftest.$ac_ext
25419 cat >>conftest.$ac_ext <<_ACEOF
25420 /* end confdefs.h. */
25421 #include <iostream>
25422
25423 typedef std::ostream ac__type_new_;
25424 int
25425 main ()
25426 {
25427 if ((ac__type_new_ *) 0)
25428 return 0;
25429 if (sizeof (ac__type_new_))
25430 return 0;
25431 ;
25432 return 0;
25433 }
25434 _ACEOF
25435 rm -f conftest.$ac_objext
25436 if { (ac_try="$ac_compile"
25437 case "(($ac_try" in
25438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25439 *) ac_try_echo=$ac_try;;
25440 esac
25441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25442 (eval "$ac_compile") 2>conftest.er1
25443 ac_status=$?
25444 grep -v '^ *+' conftest.er1 >conftest.err
25445 rm -f conftest.er1
25446 cat conftest.err >&5
25447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448 (exit $ac_status); } && {
25449 test -z "$ac_cxx_werror_flag" ||
25450 test ! -s conftest.err
25451 } && test -s conftest.$ac_objext; then
25452 ac_cv_type_std__ostream=yes
25453 else
25454 echo "$as_me: failed program was:" >&5
25455 sed 's/^/| /' conftest.$ac_ext >&5
25456
25457 ac_cv_type_std__ostream=no
25458 fi
25459
25460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25461 fi
25462 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25463 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25464 if test $ac_cv_type_std__ostream = yes; then
25465
25466 cat >>confdefs.h <<_ACEOF
25467 #define HAVE_STD__OSTREAM 1
25468 _ACEOF
25469
25470
25471 else
25472 wxUSE_STD_IOSTREAM=no
25473 fi
25474
25475
25476 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25477 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25478 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25479 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25480 { (exit 1); exit 1; }; }
25481 else
25482 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25483 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25484 fi
25485 fi
25486 fi
25487
25488 if test "$wxUSE_STL" = "yes"; then
25489 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25490 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25491 if test "${wx_cv_lib_stl+set}" = set; then
25492 echo $ECHO_N "(cached) $ECHO_C" >&6
25493 else
25494 cat >conftest.$ac_ext <<_ACEOF
25495 /* confdefs.h. */
25496 _ACEOF
25497 cat confdefs.h >>conftest.$ac_ext
25498 cat >>conftest.$ac_ext <<_ACEOF
25499 /* end confdefs.h. */
25500 #include <string>
25501 #include <functional>
25502 #include <algorithm>
25503 #include <vector>
25504 #include <list>
25505 int
25506 main ()
25507 {
25508 std::vector<int> moo;
25509 std::list<int> foo;
25510 std::vector<int>::iterator it =
25511 std::find_if(moo.begin(), moo.end(),
25512 std::bind2nd(std::less<int>(), 3));
25513 ;
25514 return 0;
25515 }
25516 _ACEOF
25517 rm -f conftest.$ac_objext
25518 if { (ac_try="$ac_compile"
25519 case "(($ac_try" in
25520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25521 *) ac_try_echo=$ac_try;;
25522 esac
25523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25524 (eval "$ac_compile") 2>conftest.er1
25525 ac_status=$?
25526 grep -v '^ *+' conftest.er1 >conftest.err
25527 rm -f conftest.er1
25528 cat conftest.err >&5
25529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25530 (exit $ac_status); } && {
25531 test -z "$ac_cxx_werror_flag" ||
25532 test ! -s conftest.err
25533 } && test -s conftest.$ac_objext; then
25534 wx_cv_lib_stl=yes
25535 else
25536 echo "$as_me: failed program was:" >&5
25537 sed 's/^/| /' conftest.$ac_ext >&5
25538
25539 wx_cv_lib_stl=no
25540
25541 fi
25542
25543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25544
25545 fi
25546 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25547 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25548
25549 if test "$wx_cv_lib_stl" != yes; then
25550 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25551 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25552 { (exit 1); exit 1; }; }
25553 fi
25554
25555 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25556 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25557 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25559 else
25560 cat >conftest.$ac_ext <<_ACEOF
25561 /* confdefs.h. */
25562 _ACEOF
25563 cat confdefs.h >>conftest.$ac_ext
25564 cat >>conftest.$ac_ext <<_ACEOF
25565 /* end confdefs.h. */
25566 #include <string>
25567 int
25568 main ()
25569 {
25570 std::string foo, bar;
25571 foo.compare(bar);
25572 foo.compare(1, 1, bar);
25573 foo.compare(1, 1, bar, 1, 1);
25574 foo.compare("");
25575 foo.compare(1, 1, "");
25576 foo.compare(1, 1, "", 2);
25577 ;
25578 return 0;
25579 }
25580 _ACEOF
25581 rm -f conftest.$ac_objext
25582 if { (ac_try="$ac_compile"
25583 case "(($ac_try" in
25584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25585 *) ac_try_echo=$ac_try;;
25586 esac
25587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25588 (eval "$ac_compile") 2>conftest.er1
25589 ac_status=$?
25590 grep -v '^ *+' conftest.er1 >conftest.err
25591 rm -f conftest.er1
25592 cat conftest.err >&5
25593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594 (exit $ac_status); } && {
25595 test -z "$ac_cxx_werror_flag" ||
25596 test ! -s conftest.err
25597 } && test -s conftest.$ac_objext; then
25598 wx_cv_func_stdstring_compare=yes
25599 else
25600 echo "$as_me: failed program was:" >&5
25601 sed 's/^/| /' conftest.$ac_ext >&5
25602
25603 wx_cv_func_stdstring_compare=no
25604
25605 fi
25606
25607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25608
25609 fi
25610 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25611 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25612
25613 if test "$wx_cv_func_stdstring_compare" = yes; then
25614 cat >>confdefs.h <<\_ACEOF
25615 #define HAVE_STD_STRING_COMPARE 1
25616 _ACEOF
25617
25618 fi
25619
25620 if test "$wx_cv_class_gnuhashmapset" = yes; then
25621 cat >>confdefs.h <<\_ACEOF
25622 #define HAVE_EXT_HASH_MAP 1
25623 _ACEOF
25624
25625 cat >>confdefs.h <<\_ACEOF
25626 #define HAVE_GNU_CXX_HASH_MAP 1
25627 _ACEOF
25628
25629 fi
25630
25631 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25632 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25633 if test "${ac_cv_header_unordered_map+set}" = set; then
25634 echo $ECHO_N "(cached) $ECHO_C" >&6
25635 else
25636 cat >conftest.$ac_ext <<_ACEOF
25637 /* confdefs.h. */
25638 _ACEOF
25639 cat confdefs.h >>conftest.$ac_ext
25640 cat >>conftest.$ac_ext <<_ACEOF
25641 /* end confdefs.h. */
25642
25643
25644
25645 #include <unordered_map>
25646 _ACEOF
25647 rm -f conftest.$ac_objext
25648 if { (ac_try="$ac_compile"
25649 case "(($ac_try" in
25650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25651 *) ac_try_echo=$ac_try;;
25652 esac
25653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25654 (eval "$ac_compile") 2>conftest.er1
25655 ac_status=$?
25656 grep -v '^ *+' conftest.er1 >conftest.err
25657 rm -f conftest.er1
25658 cat conftest.err >&5
25659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660 (exit $ac_status); } && {
25661 test -z "$ac_cxx_werror_flag" ||
25662 test ! -s conftest.err
25663 } && test -s conftest.$ac_objext; then
25664 ac_cv_header_unordered_map=yes
25665 else
25666 echo "$as_me: failed program was:" >&5
25667 sed 's/^/| /' conftest.$ac_ext >&5
25668
25669 ac_cv_header_unordered_map=no
25670 fi
25671
25672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25673 fi
25674 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25675 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25676 if test $ac_cv_header_unordered_map = yes; then
25677 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25678 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25679 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25680 echo $ECHO_N "(cached) $ECHO_C" >&6
25681 else
25682 cat >conftest.$ac_ext <<_ACEOF
25683 /* confdefs.h. */
25684 _ACEOF
25685 cat confdefs.h >>conftest.$ac_ext
25686 cat >>conftest.$ac_ext <<_ACEOF
25687 /* end confdefs.h. */
25688 #include <unordered_map>
25689 #include <unordered_set>
25690 int
25691 main ()
25692 {
25693 std::unordered_map<double*, char*> test1;
25694 std::unordered_set<char*> test2;
25695 ;
25696 return 0;
25697 }
25698 _ACEOF
25699 rm -f conftest.$ac_objext
25700 if { (ac_try="$ac_compile"
25701 case "(($ac_try" in
25702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25703 *) ac_try_echo=$ac_try;;
25704 esac
25705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25706 (eval "$ac_compile") 2>conftest.er1
25707 ac_status=$?
25708 grep -v '^ *+' conftest.er1 >conftest.err
25709 rm -f conftest.er1
25710 cat conftest.err >&5
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); } && {
25713 test -z "$ac_cxx_werror_flag" ||
25714 test ! -s conftest.err
25715 } && test -s conftest.$ac_objext; then
25716 wx_cv_class_stdunorderedmapset=yes
25717 else
25718 echo "$as_me: failed program was:" >&5
25719 sed 's/^/| /' conftest.$ac_ext >&5
25720
25721 wx_cv_class_stdunorderedmapset=no
25722 fi
25723
25724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25725
25726
25727 fi
25728 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25729 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25730 fi
25731
25732
25733
25734 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25735 cat >>confdefs.h <<\_ACEOF
25736 #define HAVE_STD_UNORDERED_MAP 1
25737 _ACEOF
25738
25739 cat >>confdefs.h <<\_ACEOF
25740 #define HAVE_STD_UNORDERED_SET 1
25741 _ACEOF
25742
25743 else
25744 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25745 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25746 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25748 else
25749 cat >conftest.$ac_ext <<_ACEOF
25750 /* confdefs.h. */
25751 _ACEOF
25752 cat confdefs.h >>conftest.$ac_ext
25753 cat >>conftest.$ac_ext <<_ACEOF
25754 /* end confdefs.h. */
25755
25756
25757
25758 #include <tr1/unordered_map>
25759 _ACEOF
25760 rm -f conftest.$ac_objext
25761 if { (ac_try="$ac_compile"
25762 case "(($ac_try" in
25763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25764 *) ac_try_echo=$ac_try;;
25765 esac
25766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25767 (eval "$ac_compile") 2>conftest.er1
25768 ac_status=$?
25769 grep -v '^ *+' conftest.er1 >conftest.err
25770 rm -f conftest.er1
25771 cat conftest.err >&5
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); } && {
25774 test -z "$ac_cxx_werror_flag" ||
25775 test ! -s conftest.err
25776 } && test -s conftest.$ac_objext; then
25777 ac_cv_header_tr1_unordered_map=yes
25778 else
25779 echo "$as_me: failed program was:" >&5
25780 sed 's/^/| /' conftest.$ac_ext >&5
25781
25782 ac_cv_header_tr1_unordered_map=no
25783 fi
25784
25785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25786 fi
25787 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25788 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25789 if test $ac_cv_header_tr1_unordered_map = yes; then
25790 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25791 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25792 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25793 echo $ECHO_N "(cached) $ECHO_C" >&6
25794 else
25795 cat >conftest.$ac_ext <<_ACEOF
25796 /* confdefs.h. */
25797 _ACEOF
25798 cat confdefs.h >>conftest.$ac_ext
25799 cat >>conftest.$ac_ext <<_ACEOF
25800 /* end confdefs.h. */
25801 #include <tr1/unordered_map>
25802 #include <tr1/unordered_set>
25803 int
25804 main ()
25805 {
25806 std::tr1::unordered_map<double*, char*> test1;
25807 std::tr1::unordered_set<char*> test2;
25808 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25809 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25810 #endif
25811 ;
25812 return 0;
25813 }
25814 _ACEOF
25815 rm -f conftest.$ac_objext
25816 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
25830 test ! -s conftest.err
25831 } && test -s conftest.$ac_objext; then
25832 wx_cv_class_tr1unorderedmapset=yes
25833 else
25834 echo "$as_me: failed program was:" >&5
25835 sed 's/^/| /' conftest.$ac_ext >&5
25836
25837 wx_cv_class_tr1unorderedmapset=no
25838 fi
25839
25840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25841
25842
25843 fi
25844 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25845 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25846 fi
25847
25848
25849
25850 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25851 cat >>confdefs.h <<\_ACEOF
25852 #define HAVE_TR1_UNORDERED_MAP 1
25853 _ACEOF
25854
25855 cat >>confdefs.h <<\_ACEOF
25856 #define HAVE_TR1_UNORDERED_SET 1
25857 _ACEOF
25858
25859 else
25860 { echo "$as_me:$LINENO: checking for hash_map" >&5
25861 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25862 if test "${ac_cv_header_hash_map+set}" = set; then
25863 echo $ECHO_N "(cached) $ECHO_C" >&6
25864 else
25865 cat >conftest.$ac_ext <<_ACEOF
25866 /* confdefs.h. */
25867 _ACEOF
25868 cat confdefs.h >>conftest.$ac_ext
25869 cat >>conftest.$ac_ext <<_ACEOF
25870 /* end confdefs.h. */
25871
25872
25873
25874 #include <hash_map>
25875 _ACEOF
25876 rm -f conftest.$ac_objext
25877 if { (ac_try="$ac_compile"
25878 case "(($ac_try" in
25879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25880 *) ac_try_echo=$ac_try;;
25881 esac
25882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25883 (eval "$ac_compile") 2>conftest.er1
25884 ac_status=$?
25885 grep -v '^ *+' conftest.er1 >conftest.err
25886 rm -f conftest.er1
25887 cat conftest.err >&5
25888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889 (exit $ac_status); } && {
25890 test -z "$ac_cxx_werror_flag" ||
25891 test ! -s conftest.err
25892 } && test -s conftest.$ac_objext; then
25893 ac_cv_header_hash_map=yes
25894 else
25895 echo "$as_me: failed program was:" >&5
25896 sed 's/^/| /' conftest.$ac_ext >&5
25897
25898 ac_cv_header_hash_map=no
25899 fi
25900
25901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25902 fi
25903 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25904 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25905 if test $ac_cv_header_hash_map = yes; then
25906 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25907 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25908 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25909 echo $ECHO_N "(cached) $ECHO_C" >&6
25910 else
25911 cat >conftest.$ac_ext <<_ACEOF
25912 /* confdefs.h. */
25913 _ACEOF
25914 cat confdefs.h >>conftest.$ac_ext
25915 cat >>conftest.$ac_ext <<_ACEOF
25916 /* end confdefs.h. */
25917 #include <hash_map>
25918 #include <hash_set>
25919 int
25920 main ()
25921 {
25922 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25923 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25924 ;
25925 return 0;
25926 }
25927 _ACEOF
25928 rm -f conftest.$ac_objext
25929 if { (ac_try="$ac_compile"
25930 case "(($ac_try" in
25931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25932 *) ac_try_echo=$ac_try;;
25933 esac
25934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25935 (eval "$ac_compile") 2>conftest.er1
25936 ac_status=$?
25937 grep -v '^ *+' conftest.er1 >conftest.err
25938 rm -f conftest.er1
25939 cat conftest.err >&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } && {
25942 test -z "$ac_cxx_werror_flag" ||
25943 test ! -s conftest.err
25944 } && test -s conftest.$ac_objext; then
25945 wx_cv_class_stdhashmapset=yes
25946 else
25947 echo "$as_me: failed program was:" >&5
25948 sed 's/^/| /' conftest.$ac_ext >&5
25949
25950 wx_cv_class_stdhashmapset=no
25951 fi
25952
25953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25954
25955
25956 fi
25957 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25958 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25959 fi
25960
25961
25962
25963 if test "$wx_cv_class_stdhashmapset" = yes; then
25964 cat >>confdefs.h <<\_ACEOF
25965 #define HAVE_HASH_MAP 1
25966 _ACEOF
25967
25968 cat >>confdefs.h <<\_ACEOF
25969 #define HAVE_STD_HASH_MAP 1
25970 _ACEOF
25971
25972 fi
25973
25974 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25975 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25976 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25977 echo $ECHO_N "(cached) $ECHO_C" >&6
25978 else
25979 cat >conftest.$ac_ext <<_ACEOF
25980 /* confdefs.h. */
25981 _ACEOF
25982 cat confdefs.h >>conftest.$ac_ext
25983 cat >>conftest.$ac_ext <<_ACEOF
25984 /* end confdefs.h. */
25985
25986
25987
25988 #include <ext/hash_map>
25989 _ACEOF
25990 rm -f conftest.$ac_objext
25991 if { (ac_try="$ac_compile"
25992 case "(($ac_try" in
25993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25994 *) ac_try_echo=$ac_try;;
25995 esac
25996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25997 (eval "$ac_compile") 2>conftest.er1
25998 ac_status=$?
25999 grep -v '^ *+' conftest.er1 >conftest.err
26000 rm -f conftest.er1
26001 cat conftest.err >&5
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); } && {
26004 test -z "$ac_cxx_werror_flag" ||
26005 test ! -s conftest.err
26006 } && test -s conftest.$ac_objext; then
26007 ac_cv_header_ext_hash_map=yes
26008 else
26009 echo "$as_me: failed program was:" >&5
26010 sed 's/^/| /' conftest.$ac_ext >&5
26011
26012 ac_cv_header_ext_hash_map=no
26013 fi
26014
26015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26016 fi
26017 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26018 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26019 if test $ac_cv_header_ext_hash_map = yes; then
26020 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26021 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26022 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26023 echo $ECHO_N "(cached) $ECHO_C" >&6
26024 else
26025 cat >conftest.$ac_ext <<_ACEOF
26026 /* confdefs.h. */
26027 _ACEOF
26028 cat confdefs.h >>conftest.$ac_ext
26029 cat >>conftest.$ac_ext <<_ACEOF
26030 /* end confdefs.h. */
26031 #include <ext/hash_map>
26032 #include <ext/hash_set>
26033 int
26034 main ()
26035 {
26036 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26037 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26038 ;
26039 return 0;
26040 }
26041 _ACEOF
26042 rm -f conftest.$ac_objext
26043 if { (ac_try="$ac_compile"
26044 case "(($ac_try" in
26045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26046 *) ac_try_echo=$ac_try;;
26047 esac
26048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26049 (eval "$ac_compile") 2>conftest.er1
26050 ac_status=$?
26051 grep -v '^ *+' conftest.er1 >conftest.err
26052 rm -f conftest.er1
26053 cat conftest.err >&5
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); } && {
26056 test -z "$ac_cxx_werror_flag" ||
26057 test ! -s conftest.err
26058 } && test -s conftest.$ac_objext; then
26059 wx_cv_class_gnuhashmapset=yes
26060 else
26061 echo "$as_me: failed program was:" >&5
26062 sed 's/^/| /' conftest.$ac_ext >&5
26063
26064 wx_cv_class_gnuhashmapset=no
26065 fi
26066
26067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26068
26069
26070 fi
26071 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26072 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26073 fi
26074
26075
26076
26077 fi
26078 fi
26079 fi
26080
26081 ac_ext=cpp
26082 ac_cpp='$CXXCPP $CPPFLAGS'
26083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26086 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26087 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26088 if test -z "$CXXCPP"; then
26089 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26090 echo $ECHO_N "(cached) $ECHO_C" >&6
26091 else
26092 # Double quotes because CXXCPP needs to be expanded
26093 for CXXCPP in "$CXX -E" "/lib/cpp"
26094 do
26095 ac_preproc_ok=false
26096 for ac_cxx_preproc_warn_flag in '' yes
26097 do
26098 # Use a header file that comes with gcc, so configuring glibc
26099 # with a fresh cross-compiler works.
26100 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26101 # <limits.h> exists even on freestanding compilers.
26102 # On the NeXT, cc -E runs the code through the compiler's parser,
26103 # not just through cpp. "Syntax error" is here to catch this case.
26104 cat >conftest.$ac_ext <<_ACEOF
26105 /* confdefs.h. */
26106 _ACEOF
26107 cat confdefs.h >>conftest.$ac_ext
26108 cat >>conftest.$ac_ext <<_ACEOF
26109 /* end confdefs.h. */
26110 #ifdef __STDC__
26111 # include <limits.h>
26112 #else
26113 # include <assert.h>
26114 #endif
26115 Syntax error
26116 _ACEOF
26117 if { (ac_try="$ac_cpp conftest.$ac_ext"
26118 case "(($ac_try" in
26119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26120 *) ac_try_echo=$ac_try;;
26121 esac
26122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26124 ac_status=$?
26125 grep -v '^ *+' conftest.er1 >conftest.err
26126 rm -f conftest.er1
26127 cat conftest.err >&5
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); } >/dev/null && {
26130 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26131 test ! -s conftest.err
26132 }; then
26133 :
26134 else
26135 echo "$as_me: failed program was:" >&5
26136 sed 's/^/| /' conftest.$ac_ext >&5
26137
26138 # Broken: fails on valid input.
26139 continue
26140 fi
26141
26142 rm -f conftest.err conftest.$ac_ext
26143
26144 # OK, works on sane cases. Now check whether nonexistent headers
26145 # can be detected and how.
26146 cat >conftest.$ac_ext <<_ACEOF
26147 /* confdefs.h. */
26148 _ACEOF
26149 cat confdefs.h >>conftest.$ac_ext
26150 cat >>conftest.$ac_ext <<_ACEOF
26151 /* end confdefs.h. */
26152 #include <ac_nonexistent.h>
26153 _ACEOF
26154 if { (ac_try="$ac_cpp conftest.$ac_ext"
26155 case "(($ac_try" in
26156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26157 *) ac_try_echo=$ac_try;;
26158 esac
26159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26160 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26161 ac_status=$?
26162 grep -v '^ *+' conftest.er1 >conftest.err
26163 rm -f conftest.er1
26164 cat conftest.err >&5
26165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166 (exit $ac_status); } >/dev/null && {
26167 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26168 test ! -s conftest.err
26169 }; then
26170 # Broken: success on invalid input.
26171 continue
26172 else
26173 echo "$as_me: failed program was:" >&5
26174 sed 's/^/| /' conftest.$ac_ext >&5
26175
26176 # Passes both tests.
26177 ac_preproc_ok=:
26178 break
26179 fi
26180
26181 rm -f conftest.err conftest.$ac_ext
26182
26183 done
26184 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26185 rm -f conftest.err conftest.$ac_ext
26186 if $ac_preproc_ok; then
26187 break
26188 fi
26189
26190 done
26191 ac_cv_prog_CXXCPP=$CXXCPP
26192
26193 fi
26194 CXXCPP=$ac_cv_prog_CXXCPP
26195 else
26196 ac_cv_prog_CXXCPP=$CXXCPP
26197 fi
26198 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26199 echo "${ECHO_T}$CXXCPP" >&6; }
26200 ac_preproc_ok=false
26201 for ac_cxx_preproc_warn_flag in '' yes
26202 do
26203 # Use a header file that comes with gcc, so configuring glibc
26204 # with a fresh cross-compiler works.
26205 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26206 # <limits.h> exists even on freestanding compilers.
26207 # On the NeXT, cc -E runs the code through the compiler's parser,
26208 # not just through cpp. "Syntax error" is here to catch this case.
26209 cat >conftest.$ac_ext <<_ACEOF
26210 /* confdefs.h. */
26211 _ACEOF
26212 cat confdefs.h >>conftest.$ac_ext
26213 cat >>conftest.$ac_ext <<_ACEOF
26214 /* end confdefs.h. */
26215 #ifdef __STDC__
26216 # include <limits.h>
26217 #else
26218 # include <assert.h>
26219 #endif
26220 Syntax error
26221 _ACEOF
26222 if { (ac_try="$ac_cpp conftest.$ac_ext"
26223 case "(($ac_try" in
26224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26225 *) ac_try_echo=$ac_try;;
26226 esac
26227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26229 ac_status=$?
26230 grep -v '^ *+' conftest.er1 >conftest.err
26231 rm -f conftest.er1
26232 cat conftest.err >&5
26233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234 (exit $ac_status); } >/dev/null && {
26235 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26236 test ! -s conftest.err
26237 }; then
26238 :
26239 else
26240 echo "$as_me: failed program was:" >&5
26241 sed 's/^/| /' conftest.$ac_ext >&5
26242
26243 # Broken: fails on valid input.
26244 continue
26245 fi
26246
26247 rm -f conftest.err conftest.$ac_ext
26248
26249 # OK, works on sane cases. Now check whether nonexistent headers
26250 # can be detected and how.
26251 cat >conftest.$ac_ext <<_ACEOF
26252 /* confdefs.h. */
26253 _ACEOF
26254 cat confdefs.h >>conftest.$ac_ext
26255 cat >>conftest.$ac_ext <<_ACEOF
26256 /* end confdefs.h. */
26257 #include <ac_nonexistent.h>
26258 _ACEOF
26259 if { (ac_try="$ac_cpp conftest.$ac_ext"
26260 case "(($ac_try" in
26261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26262 *) ac_try_echo=$ac_try;;
26263 esac
26264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26266 ac_status=$?
26267 grep -v '^ *+' conftest.er1 >conftest.err
26268 rm -f conftest.er1
26269 cat conftest.err >&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } >/dev/null && {
26272 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26273 test ! -s conftest.err
26274 }; then
26275 # Broken: success on invalid input.
26276 continue
26277 else
26278 echo "$as_me: failed program was:" >&5
26279 sed 's/^/| /' conftest.$ac_ext >&5
26280
26281 # Passes both tests.
26282 ac_preproc_ok=:
26283 break
26284 fi
26285
26286 rm -f conftest.err conftest.$ac_ext
26287
26288 done
26289 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26290 rm -f conftest.err conftest.$ac_ext
26291 if $ac_preproc_ok; then
26292 :
26293 else
26294 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26295 See \`config.log' for more details." >&5
26296 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26297 See \`config.log' for more details." >&2;}
26298 { (exit 1); exit 1; }; }
26299 fi
26300
26301 ac_ext=cpp
26302 ac_cpp='$CXXCPP $CPPFLAGS'
26303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26306
26307
26308
26309
26310 for ac_header in type_traits tr1/type_traits
26311 do
26312 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26313 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26314 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26316 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26317 echo $ECHO_N "(cached) $ECHO_C" >&6
26318 fi
26319 ac_res=`eval echo '${'$as_ac_Header'}'`
26320 { echo "$as_me:$LINENO: result: $ac_res" >&5
26321 echo "${ECHO_T}$ac_res" >&6; }
26322 else
26323 # Is the header compilable?
26324 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26325 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26326 cat >conftest.$ac_ext <<_ACEOF
26327 /* confdefs.h. */
26328 _ACEOF
26329 cat confdefs.h >>conftest.$ac_ext
26330 cat >>conftest.$ac_ext <<_ACEOF
26331 /* end confdefs.h. */
26332 $ac_includes_default
26333 #include <$ac_header>
26334 _ACEOF
26335 rm -f conftest.$ac_objext
26336 if { (ac_try="$ac_compile"
26337 case "(($ac_try" in
26338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26339 *) ac_try_echo=$ac_try;;
26340 esac
26341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26342 (eval "$ac_compile") 2>conftest.er1
26343 ac_status=$?
26344 grep -v '^ *+' conftest.er1 >conftest.err
26345 rm -f conftest.er1
26346 cat conftest.err >&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); } && {
26349 test -z "$ac_cxx_werror_flag" ||
26350 test ! -s conftest.err
26351 } && test -s conftest.$ac_objext; then
26352 ac_header_compiler=yes
26353 else
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.$ac_ext >&5
26356
26357 ac_header_compiler=no
26358 fi
26359
26360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26361 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26362 echo "${ECHO_T}$ac_header_compiler" >&6; }
26363
26364 # Is the header present?
26365 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26367 cat >conftest.$ac_ext <<_ACEOF
26368 /* confdefs.h. */
26369 _ACEOF
26370 cat confdefs.h >>conftest.$ac_ext
26371 cat >>conftest.$ac_ext <<_ACEOF
26372 /* end confdefs.h. */
26373 #include <$ac_header>
26374 _ACEOF
26375 if { (ac_try="$ac_cpp conftest.$ac_ext"
26376 case "(($ac_try" in
26377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26378 *) ac_try_echo=$ac_try;;
26379 esac
26380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26381 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26382 ac_status=$?
26383 grep -v '^ *+' conftest.er1 >conftest.err
26384 rm -f conftest.er1
26385 cat conftest.err >&5
26386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387 (exit $ac_status); } >/dev/null && {
26388 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26389 test ! -s conftest.err
26390 }; then
26391 ac_header_preproc=yes
26392 else
26393 echo "$as_me: failed program was:" >&5
26394 sed 's/^/| /' conftest.$ac_ext >&5
26395
26396 ac_header_preproc=no
26397 fi
26398
26399 rm -f conftest.err conftest.$ac_ext
26400 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26401 echo "${ECHO_T}$ac_header_preproc" >&6; }
26402
26403 # So? What about this header?
26404 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26405 yes:no: )
26406 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26407 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26409 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26410 ac_header_preproc=yes
26411 ;;
26412 no:yes:* )
26413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26417 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26418 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26419 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26420 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26423 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26424 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26425 ( cat <<\_ASBOX
26426 ## ----------------------------------------- ##
26427 ## Report this to wx-dev@lists.wxwidgets.org ##
26428 ## ----------------------------------------- ##
26429 _ASBOX
26430 ) | sed "s/^/$as_me: WARNING: /" >&2
26431 ;;
26432 esac
26433 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26435 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26436 echo $ECHO_N "(cached) $ECHO_C" >&6
26437 else
26438 eval "$as_ac_Header=\$ac_header_preproc"
26439 fi
26440 ac_res=`eval echo '${'$as_ac_Header'}'`
26441 { echo "$as_me:$LINENO: result: $ac_res" >&5
26442 echo "${ECHO_T}$ac_res" >&6; }
26443
26444 fi
26445 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26446 cat >>confdefs.h <<_ACEOF
26447 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26448 _ACEOF
26449
26450 fi
26451
26452 done
26453
26454
26455
26456
26457 if test -n "$GCC"; then
26458 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26459 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26460 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26461 echo $ECHO_N "(cached) $ECHO_C" >&6
26462 else
26463
26464 cat >conftest.$ac_ext <<_ACEOF
26465 /* confdefs.h. */
26466 _ACEOF
26467 cat confdefs.h >>conftest.$ac_ext
26468 cat >>conftest.$ac_ext <<_ACEOF
26469 /* end confdefs.h. */
26470
26471 int
26472 main ()
26473 {
26474
26475 unsigned int value=0;
26476 /* wxAtomicInc doesn't use return value here */
26477 __sync_fetch_and_add(&value, 2);
26478 __sync_sub_and_fetch(&value, 1);
26479 /* but wxAtomicDec does, so mimic that: */
26480 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26481
26482 ;
26483 return 0;
26484 }
26485 _ACEOF
26486 rm -f conftest.$ac_objext conftest$ac_exeext
26487 if { (ac_try="$ac_link"
26488 case "(($ac_try" in
26489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26490 *) ac_try_echo=$ac_try;;
26491 esac
26492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26493 (eval "$ac_link") 2>conftest.er1
26494 ac_status=$?
26495 grep -v '^ *+' conftest.er1 >conftest.err
26496 rm -f conftest.er1
26497 cat conftest.err >&5
26498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26499 (exit $ac_status); } && {
26500 test -z "$ac_cxx_werror_flag" ||
26501 test ! -s conftest.err
26502 } && test -s conftest$ac_exeext &&
26503 $as_test_x conftest$ac_exeext; then
26504 wx_cv_cc_gcc_atomic_builtins=yes
26505 else
26506 echo "$as_me: failed program was:" >&5
26507 sed 's/^/| /' conftest.$ac_ext >&5
26508
26509 wx_cv_cc_gcc_atomic_builtins=no
26510 fi
26511
26512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26513 conftest$ac_exeext conftest.$ac_ext
26514
26515 fi
26516
26517 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26518 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26519 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26520 cat >>confdefs.h <<\_ACEOF
26521 #define HAVE_GCC_ATOMIC_BUILTINS 1
26522 _ACEOF
26523
26524 fi
26525 fi
26526
26527
26528 ac_ext=c
26529 ac_cpp='$CPP $CPPFLAGS'
26530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26533
26534
26535
26536 SEARCH_INCLUDE="\
26537 /usr/local/include \
26538 /usr/local/X11/include \
26539 /usr/local/include/X11 \
26540 /usr/local/X11R7/include \
26541 /usr/local/X11R6/include \
26542 /usr/local/include/X11R7 \
26543 /usr/local/include/X11R6 \
26544 \
26545 /usr/Motif-2.1/include \
26546 /usr/Motif-1.2/include \
26547 /usr/include/Motif1.2 \
26548 \
26549 /usr/dt/include \
26550 /usr/openwin/include \
26551 \
26552 /usr/include/Xm \
26553 \
26554 /usr/X11R7/include \
26555 /usr/X11R6/include \
26556 /usr/X11R6.4/include \
26557 \
26558 /usr/include/X11R7 \
26559 /usr/include/X11R6 \
26560 \
26561 /usr/X11/include \
26562 /usr/include/X11 \
26563 \
26564 /usr/XFree86/include/X11 \
26565 /usr/pkg/include \
26566 \
26567 /usr/local/X1R5/include \
26568 /usr/local/include/X11R5 \
26569 /usr/X11R5/include \
26570 /usr/include/X11R5 \
26571 \
26572 /usr/local/X11R4/include \
26573 /usr/local/include/X11R4 \
26574 /usr/X11R4/include \
26575 /usr/include/X11R4 \
26576 \
26577 /usr/openwin/share/include"
26578
26579 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26580 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26581
26582 case "${host}" in
26583 *-*-irix6* )
26584 if test "${wx_cv_std_libpath+set}" = set; then
26585 echo $ECHO_N "(cached) $ECHO_C" >&6
26586 else
26587
26588 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26589 for e in a so sl dylib dll.a; do
26590 libc="$d/libc.$e"
26591 if test -f $libc; then
26592 save_LIBS="$LIBS"
26593 LIBS="$libc"
26594 cat >conftest.$ac_ext <<_ACEOF
26595 int main() { return 0; }
26596 _ACEOF
26597 rm -f conftest.$ac_objext conftest$ac_exeext
26598 if { (ac_try="$ac_link"
26599 case "(($ac_try" in
26600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26601 *) ac_try_echo=$ac_try;;
26602 esac
26603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26604 (eval "$ac_link") 2>conftest.er1
26605 ac_status=$?
26606 grep -v '^ *+' conftest.er1 >conftest.err
26607 rm -f conftest.er1
26608 cat conftest.err >&5
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); } && {
26611 test -z "$ac_c_werror_flag" ||
26612 test ! -s conftest.err
26613 } && test -s conftest$ac_exeext &&
26614 $as_test_x conftest$ac_exeext; then
26615 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26616 else
26617 echo "$as_me: failed program was:" >&5
26618 sed 's/^/| /' conftest.$ac_ext >&5
26619
26620
26621 fi
26622
26623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26624 conftest$ac_exeext conftest.$ac_ext
26625 LIBS="$save_LIBS"
26626 if test "x$wx_cv_std_libpath" != "x"; then
26627 break 2
26628 fi
26629 fi
26630 done
26631 done
26632 if test "x$wx_cv_std_libpath" = "x"; then
26633 wx_cv_std_libpath="lib"
26634 fi
26635
26636
26637 fi
26638
26639 ;;
26640
26641 *-*-solaris2* )
26642 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26643 wx_cv_std_libpath="lib/64"
26644 else
26645 wx_cv_std_libpath="lib"
26646 fi
26647 ;;
26648
26649 *-*-linux* )
26650 if test "$ac_cv_sizeof_void_p" = 8 -a \
26651 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26652 wx_cv_std_libpath="lib64"
26653 else
26654 wx_cv_std_libpath="lib"
26655 fi
26656 ;;
26657
26658 *)
26659 wx_cv_std_libpath="lib";
26660 ;;
26661 esac
26662
26663 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26664 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26665
26666 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26667
26668 if test "$build" != "$host" -a "$GCC" = yes; then
26669 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26670 cross_root=`dirname $cross_root`
26671 cross_root=`dirname $cross_root`
26672
26673 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26674 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26675 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26676
26677 if test -z "$PKG_CONFIG_PATH"; then
26678 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26679 export PKG_CONFIG_PATH
26680 fi
26681
26682 if test -z "$x_includes" -o "$x_includes" = NONE; then
26683
26684 ac_find_includes=
26685 for ac_dir in $SEARCH_INCLUDE /usr/include;
26686 do
26687 if test -f "$ac_dir/X11/Intrinsic.h"; then
26688 ac_find_includes=$ac_dir
26689 break
26690 fi
26691 done
26692
26693 x_includes=$ac_find_includes
26694 fi
26695 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26696
26697 ac_find_libraries=
26698 for ac_dir in $SEARCH_LIB;
26699 do
26700 for ac_extension in a so sl dylib dll.a; do
26701 if test -f "$ac_dir/libXt.$ac_extension"; then
26702 ac_find_libraries=$ac_dir
26703 break 2
26704 fi
26705 done
26706 done
26707
26708 x_libraries=$ac_find_libraries
26709 fi
26710 fi
26711 fi
26712
26713
26714 cat >confcache <<\_ACEOF
26715 # This file is a shell script that caches the results of configure
26716 # tests run on this system so they can be shared between configure
26717 # scripts and configure runs, see configure's option --config-cache.
26718 # It is not useful on other systems. If it contains results you don't
26719 # want to keep, you may remove or edit it.
26720 #
26721 # config.status only pays attention to the cache file if you give it
26722 # the --recheck option to rerun configure.
26723 #
26724 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26725 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26726 # following values.
26727
26728 _ACEOF
26729
26730 # The following way of writing the cache mishandles newlines in values,
26731 # but we know of no workaround that is simple, portable, and efficient.
26732 # So, we kill variables containing newlines.
26733 # Ultrix sh set writes to stderr and can't be redirected directly,
26734 # and sets the high bit in the cache file unless we assign to the vars.
26735 (
26736 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26737 eval ac_val=\$$ac_var
26738 case $ac_val in #(
26739 *${as_nl}*)
26740 case $ac_var in #(
26741 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26742 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26743 esac
26744 case $ac_var in #(
26745 _ | IFS | as_nl) ;; #(
26746 *) $as_unset $ac_var ;;
26747 esac ;;
26748 esac
26749 done
26750
26751 (set) 2>&1 |
26752 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26753 *${as_nl}ac_space=\ *)
26754 # `set' does not quote correctly, so add quotes (double-quote
26755 # substitution turns \\\\ into \\, and sed turns \\ into \).
26756 sed -n \
26757 "s/'/'\\\\''/g;
26758 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26759 ;; #(
26760 *)
26761 # `set' quotes correctly as required by POSIX, so do not add quotes.
26762 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26763 ;;
26764 esac |
26765 sort
26766 ) |
26767 sed '
26768 /^ac_cv_env_/b end
26769 t clear
26770 :clear
26771 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26772 t end
26773 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26774 :end' >>confcache
26775 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26776 if test -w "$cache_file"; then
26777 test "x$cache_file" != "x/dev/null" &&
26778 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26779 echo "$as_me: updating cache $cache_file" >&6;}
26780 cat confcache >$cache_file
26781 else
26782 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26783 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26784 fi
26785 fi
26786 rm -f confcache
26787
26788 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26789 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26790 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26791 if test "${wx_cv_lib_glibc21+set}" = set; then
26792 echo $ECHO_N "(cached) $ECHO_C" >&6
26793 else
26794
26795 cat >conftest.$ac_ext <<_ACEOF
26796 /* confdefs.h. */
26797 _ACEOF
26798 cat confdefs.h >>conftest.$ac_ext
26799 cat >>conftest.$ac_ext <<_ACEOF
26800 /* end confdefs.h. */
26801 #include <features.h>
26802 int
26803 main ()
26804 {
26805
26806 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26807 not glibc 2.1
26808 #endif
26809
26810 ;
26811 return 0;
26812 }
26813 _ACEOF
26814 rm -f conftest.$ac_objext
26815 if { (ac_try="$ac_compile"
26816 case "(($ac_try" in
26817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26818 *) ac_try_echo=$ac_try;;
26819 esac
26820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26821 (eval "$ac_compile") 2>conftest.er1
26822 ac_status=$?
26823 grep -v '^ *+' conftest.er1 >conftest.err
26824 rm -f conftest.er1
26825 cat conftest.err >&5
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); } && {
26828 test -z "$ac_c_werror_flag" ||
26829 test ! -s conftest.err
26830 } && test -s conftest.$ac_objext; then
26831
26832 wx_cv_lib_glibc21=yes
26833
26834 else
26835 echo "$as_me: failed program was:" >&5
26836 sed 's/^/| /' conftest.$ac_ext >&5
26837
26838
26839 wx_cv_lib_glibc21=no
26840
26841
26842 fi
26843
26844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26845
26846 fi
26847 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26848 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26849 if test "$wx_cv_lib_glibc21" = "yes"; then
26850 cat >>confdefs.h <<\_ACEOF
26851 #define wxHAVE_GLIBC2 1
26852 _ACEOF
26853
26854 fi
26855 fi
26856
26857 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26858 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26859 cat >>confdefs.h <<\_ACEOF
26860 #define _GNU_SOURCE 1
26861 _ACEOF
26862
26863 fi
26864 fi
26865
26866 have_cos=0
26867 have_floor=0
26868
26869 for ac_func in cos
26870 do
26871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26872 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26874 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26875 echo $ECHO_N "(cached) $ECHO_C" >&6
26876 else
26877 cat >conftest.$ac_ext <<_ACEOF
26878 /* confdefs.h. */
26879 _ACEOF
26880 cat confdefs.h >>conftest.$ac_ext
26881 cat >>conftest.$ac_ext <<_ACEOF
26882 /* end confdefs.h. */
26883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26885 #define $ac_func innocuous_$ac_func
26886
26887 /* System header to define __stub macros and hopefully few prototypes,
26888 which can conflict with char $ac_func (); below.
26889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26890 <limits.h> exists even on freestanding compilers. */
26891
26892 #ifdef __STDC__
26893 # include <limits.h>
26894 #else
26895 # include <assert.h>
26896 #endif
26897
26898 #undef $ac_func
26899
26900 /* Override any GCC internal prototype to avoid an error.
26901 Use char because int might match the return type of a GCC
26902 builtin and then its argument prototype would still apply. */
26903 #ifdef __cplusplus
26904 extern "C"
26905 #endif
26906 char $ac_func ();
26907 /* The GNU C library defines this for functions which it implements
26908 to always fail with ENOSYS. Some functions are actually named
26909 something starting with __ and the normal name is an alias. */
26910 #if defined __stub_$ac_func || defined __stub___$ac_func
26911 choke me
26912 #endif
26913
26914 int
26915 main ()
26916 {
26917 return $ac_func ();
26918 ;
26919 return 0;
26920 }
26921 _ACEOF
26922 rm -f conftest.$ac_objext conftest$ac_exeext
26923 if { (ac_try="$ac_link"
26924 case "(($ac_try" in
26925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26926 *) ac_try_echo=$ac_try;;
26927 esac
26928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26929 (eval "$ac_link") 2>conftest.er1
26930 ac_status=$?
26931 grep -v '^ *+' conftest.er1 >conftest.err
26932 rm -f conftest.er1
26933 cat conftest.err >&5
26934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 (exit $ac_status); } && {
26936 test -z "$ac_c_werror_flag" ||
26937 test ! -s conftest.err
26938 } && test -s conftest$ac_exeext &&
26939 $as_test_x conftest$ac_exeext; then
26940 eval "$as_ac_var=yes"
26941 else
26942 echo "$as_me: failed program was:" >&5
26943 sed 's/^/| /' conftest.$ac_ext >&5
26944
26945 eval "$as_ac_var=no"
26946 fi
26947
26948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26949 conftest$ac_exeext conftest.$ac_ext
26950 fi
26951 ac_res=`eval echo '${'$as_ac_var'}'`
26952 { echo "$as_me:$LINENO: result: $ac_res" >&5
26953 echo "${ECHO_T}$ac_res" >&6; }
26954 if test `eval echo '${'$as_ac_var'}'` = yes; then
26955 cat >>confdefs.h <<_ACEOF
26956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26957 _ACEOF
26958 have_cos=1
26959 fi
26960 done
26961
26962
26963 for ac_func in floor
26964 do
26965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26966 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26968 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26969 echo $ECHO_N "(cached) $ECHO_C" >&6
26970 else
26971 cat >conftest.$ac_ext <<_ACEOF
26972 /* confdefs.h. */
26973 _ACEOF
26974 cat confdefs.h >>conftest.$ac_ext
26975 cat >>conftest.$ac_ext <<_ACEOF
26976 /* end confdefs.h. */
26977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26979 #define $ac_func innocuous_$ac_func
26980
26981 /* System header to define __stub macros and hopefully few prototypes,
26982 which can conflict with char $ac_func (); below.
26983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26984 <limits.h> exists even on freestanding compilers. */
26985
26986 #ifdef __STDC__
26987 # include <limits.h>
26988 #else
26989 # include <assert.h>
26990 #endif
26991
26992 #undef $ac_func
26993
26994 /* Override any GCC internal prototype to avoid an error.
26995 Use char because int might match the return type of a GCC
26996 builtin and then its argument prototype would still apply. */
26997 #ifdef __cplusplus
26998 extern "C"
26999 #endif
27000 char $ac_func ();
27001 /* The GNU C library defines this for functions which it implements
27002 to always fail with ENOSYS. Some functions are actually named
27003 something starting with __ and the normal name is an alias. */
27004 #if defined __stub_$ac_func || defined __stub___$ac_func
27005 choke me
27006 #endif
27007
27008 int
27009 main ()
27010 {
27011 return $ac_func ();
27012 ;
27013 return 0;
27014 }
27015 _ACEOF
27016 rm -f conftest.$ac_objext conftest$ac_exeext
27017 if { (ac_try="$ac_link"
27018 case "(($ac_try" in
27019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27020 *) ac_try_echo=$ac_try;;
27021 esac
27022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27023 (eval "$ac_link") 2>conftest.er1
27024 ac_status=$?
27025 grep -v '^ *+' conftest.er1 >conftest.err
27026 rm -f conftest.er1
27027 cat conftest.err >&5
27028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029 (exit $ac_status); } && {
27030 test -z "$ac_c_werror_flag" ||
27031 test ! -s conftest.err
27032 } && test -s conftest$ac_exeext &&
27033 $as_test_x conftest$ac_exeext; then
27034 eval "$as_ac_var=yes"
27035 else
27036 echo "$as_me: failed program was:" >&5
27037 sed 's/^/| /' conftest.$ac_ext >&5
27038
27039 eval "$as_ac_var=no"
27040 fi
27041
27042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27043 conftest$ac_exeext conftest.$ac_ext
27044 fi
27045 ac_res=`eval echo '${'$as_ac_var'}'`
27046 { echo "$as_me:$LINENO: result: $ac_res" >&5
27047 echo "${ECHO_T}$ac_res" >&6; }
27048 if test `eval echo '${'$as_ac_var'}'` = yes; then
27049 cat >>confdefs.h <<_ACEOF
27050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27051 _ACEOF
27052 have_floor=1
27053 fi
27054 done
27055
27056 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27057 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27058 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27059 { echo "$as_me:$LINENO: result: yes" >&5
27060 echo "${ECHO_T}yes" >&6; }
27061 else
27062 { echo "$as_me:$LINENO: result: no" >&5
27063 echo "${ECHO_T}no" >&6; }
27064 LIBS="$LIBS -lm"
27065 # use different functions to avoid configure caching
27066 have_sin=0
27067 have_ceil=0
27068
27069 for ac_func in sin
27070 do
27071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27072 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27074 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27075 echo $ECHO_N "(cached) $ECHO_C" >&6
27076 else
27077 cat >conftest.$ac_ext <<_ACEOF
27078 /* confdefs.h. */
27079 _ACEOF
27080 cat confdefs.h >>conftest.$ac_ext
27081 cat >>conftest.$ac_ext <<_ACEOF
27082 /* end confdefs.h. */
27083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27085 #define $ac_func innocuous_$ac_func
27086
27087 /* System header to define __stub macros and hopefully few prototypes,
27088 which can conflict with char $ac_func (); below.
27089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27090 <limits.h> exists even on freestanding compilers. */
27091
27092 #ifdef __STDC__
27093 # include <limits.h>
27094 #else
27095 # include <assert.h>
27096 #endif
27097
27098 #undef $ac_func
27099
27100 /* Override any GCC internal prototype to avoid an error.
27101 Use char because int might match the return type of a GCC
27102 builtin and then its argument prototype would still apply. */
27103 #ifdef __cplusplus
27104 extern "C"
27105 #endif
27106 char $ac_func ();
27107 /* The GNU C library defines this for functions which it implements
27108 to always fail with ENOSYS. Some functions are actually named
27109 something starting with __ and the normal name is an alias. */
27110 #if defined __stub_$ac_func || defined __stub___$ac_func
27111 choke me
27112 #endif
27113
27114 int
27115 main ()
27116 {
27117 return $ac_func ();
27118 ;
27119 return 0;
27120 }
27121 _ACEOF
27122 rm -f conftest.$ac_objext conftest$ac_exeext
27123 if { (ac_try="$ac_link"
27124 case "(($ac_try" in
27125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27126 *) ac_try_echo=$ac_try;;
27127 esac
27128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27129 (eval "$ac_link") 2>conftest.er1
27130 ac_status=$?
27131 grep -v '^ *+' conftest.er1 >conftest.err
27132 rm -f conftest.er1
27133 cat conftest.err >&5
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); } && {
27136 test -z "$ac_c_werror_flag" ||
27137 test ! -s conftest.err
27138 } && test -s conftest$ac_exeext &&
27139 $as_test_x conftest$ac_exeext; then
27140 eval "$as_ac_var=yes"
27141 else
27142 echo "$as_me: failed program was:" >&5
27143 sed 's/^/| /' conftest.$ac_ext >&5
27144
27145 eval "$as_ac_var=no"
27146 fi
27147
27148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27149 conftest$ac_exeext conftest.$ac_ext
27150 fi
27151 ac_res=`eval echo '${'$as_ac_var'}'`
27152 { echo "$as_me:$LINENO: result: $ac_res" >&5
27153 echo "${ECHO_T}$ac_res" >&6; }
27154 if test `eval echo '${'$as_ac_var'}'` = yes; then
27155 cat >>confdefs.h <<_ACEOF
27156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27157 _ACEOF
27158 have_sin=1
27159 fi
27160 done
27161
27162
27163 for ac_func in ceil
27164 do
27165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27166 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27168 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27169 echo $ECHO_N "(cached) $ECHO_C" >&6
27170 else
27171 cat >conftest.$ac_ext <<_ACEOF
27172 /* confdefs.h. */
27173 _ACEOF
27174 cat confdefs.h >>conftest.$ac_ext
27175 cat >>conftest.$ac_ext <<_ACEOF
27176 /* end confdefs.h. */
27177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27179 #define $ac_func innocuous_$ac_func
27180
27181 /* System header to define __stub macros and hopefully few prototypes,
27182 which can conflict with char $ac_func (); below.
27183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27184 <limits.h> exists even on freestanding compilers. */
27185
27186 #ifdef __STDC__
27187 # include <limits.h>
27188 #else
27189 # include <assert.h>
27190 #endif
27191
27192 #undef $ac_func
27193
27194 /* Override any GCC internal prototype to avoid an error.
27195 Use char because int might match the return type of a GCC
27196 builtin and then its argument prototype would still apply. */
27197 #ifdef __cplusplus
27198 extern "C"
27199 #endif
27200 char $ac_func ();
27201 /* The GNU C library defines this for functions which it implements
27202 to always fail with ENOSYS. Some functions are actually named
27203 something starting with __ and the normal name is an alias. */
27204 #if defined __stub_$ac_func || defined __stub___$ac_func
27205 choke me
27206 #endif
27207
27208 int
27209 main ()
27210 {
27211 return $ac_func ();
27212 ;
27213 return 0;
27214 }
27215 _ACEOF
27216 rm -f conftest.$ac_objext conftest$ac_exeext
27217 if { (ac_try="$ac_link"
27218 case "(($ac_try" in
27219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27220 *) ac_try_echo=$ac_try;;
27221 esac
27222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27223 (eval "$ac_link") 2>conftest.er1
27224 ac_status=$?
27225 grep -v '^ *+' conftest.er1 >conftest.err
27226 rm -f conftest.er1
27227 cat conftest.err >&5
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); } && {
27230 test -z "$ac_c_werror_flag" ||
27231 test ! -s conftest.err
27232 } && test -s conftest$ac_exeext &&
27233 $as_test_x conftest$ac_exeext; then
27234 eval "$as_ac_var=yes"
27235 else
27236 echo "$as_me: failed program was:" >&5
27237 sed 's/^/| /' conftest.$ac_ext >&5
27238
27239 eval "$as_ac_var=no"
27240 fi
27241
27242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27243 conftest$ac_exeext conftest.$ac_ext
27244 fi
27245 ac_res=`eval echo '${'$as_ac_var'}'`
27246 { echo "$as_me:$LINENO: result: $ac_res" >&5
27247 echo "${ECHO_T}$ac_res" >&6; }
27248 if test `eval echo '${'$as_ac_var'}'` = yes; then
27249 cat >>confdefs.h <<_ACEOF
27250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27251 _ACEOF
27252 have_ceil=1
27253 fi
27254 done
27255
27256 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27257 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27258 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27259 { echo "$as_me:$LINENO: result: yes" >&5
27260 echo "${ECHO_T}yes" >&6; }
27261 else
27262 { echo "$as_me:$LINENO: result: no" >&5
27263 echo "${ECHO_T}no" >&6; }
27264 # not sure we should warn the user, crash, etc.
27265 fi
27266 fi
27267
27268 ac_ext=cpp
27269 ac_cpp='$CXXCPP $CPPFLAGS'
27270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27273
27274 if test "wxUSE_UNICODE" = "yes"; then
27275
27276 for wx_func in wcstoull
27277 do
27278 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27279 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27280 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27281 echo $ECHO_N "(cached) $ECHO_C" >&6
27282 else
27283
27284 cat >conftest.$ac_ext <<_ACEOF
27285
27286 /* confdefs.h. */
27287 _ACEOF
27288 cat confdefs.h >>conftest.$ac_ext
27289 cat >>conftest.$ac_ext <<_ACEOF
27290 /* end confdefs.h. */
27291
27292
27293 $ac_includes_default
27294
27295 int
27296 main ()
27297 {
27298
27299 #ifndef $wx_func
27300 &$wx_func;
27301 #endif
27302
27303
27304 ;
27305 return 0;
27306 }
27307
27308 _ACEOF
27309 rm -f conftest.$ac_objext conftest$ac_exeext
27310 if { (ac_try="$ac_link"
27311 case "(($ac_try" in
27312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27313 *) ac_try_echo=$ac_try;;
27314 esac
27315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27316 (eval "$ac_link") 2>conftest.er1
27317 ac_status=$?
27318 grep -v '^ *+' conftest.er1 >conftest.err
27319 rm -f conftest.er1
27320 cat conftest.err >&5
27321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322 (exit $ac_status); } && {
27323 test -z "$ac_cxx_werror_flag" ||
27324 test ! -s conftest.err
27325 } && test -s conftest$ac_exeext &&
27326 $as_test_x conftest$ac_exeext; then
27327 eval wx_cv_func_$wx_func=yes
27328 else
27329 echo "$as_me: failed program was:" >&5
27330 sed 's/^/| /' conftest.$ac_ext >&5
27331
27332 eval wx_cv_func_$wx_func=no
27333 fi
27334
27335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27336 conftest$ac_exeext conftest.$ac_ext
27337
27338 fi
27339 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27340 { echo "$as_me:$LINENO: result: $ac_res" >&5
27341 echo "${ECHO_T}$ac_res" >&6; }
27342
27343 if eval test \$wx_cv_func_$wx_func = yes
27344 then
27345 cat >>confdefs.h <<_ACEOF
27346 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27347 _ACEOF
27348
27349
27350 else
27351 :
27352
27353 fi
27354 done
27355
27356 else
27357
27358 for wx_func in strtoull
27359 do
27360 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27361 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27362 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27363 echo $ECHO_N "(cached) $ECHO_C" >&6
27364 else
27365
27366 cat >conftest.$ac_ext <<_ACEOF
27367
27368 /* confdefs.h. */
27369 _ACEOF
27370 cat confdefs.h >>conftest.$ac_ext
27371 cat >>conftest.$ac_ext <<_ACEOF
27372 /* end confdefs.h. */
27373
27374
27375 $ac_includes_default
27376
27377 int
27378 main ()
27379 {
27380
27381 #ifndef $wx_func
27382 &$wx_func;
27383 #endif
27384
27385
27386 ;
27387 return 0;
27388 }
27389
27390 _ACEOF
27391 rm -f conftest.$ac_objext conftest$ac_exeext
27392 if { (ac_try="$ac_link"
27393 case "(($ac_try" in
27394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27395 *) ac_try_echo=$ac_try;;
27396 esac
27397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27398 (eval "$ac_link") 2>conftest.er1
27399 ac_status=$?
27400 grep -v '^ *+' conftest.er1 >conftest.err
27401 rm -f conftest.er1
27402 cat conftest.err >&5
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); } && {
27405 test -z "$ac_cxx_werror_flag" ||
27406 test ! -s conftest.err
27407 } && test -s conftest$ac_exeext &&
27408 $as_test_x conftest$ac_exeext; then
27409 eval wx_cv_func_$wx_func=yes
27410 else
27411 echo "$as_me: failed program was:" >&5
27412 sed 's/^/| /' conftest.$ac_ext >&5
27413
27414 eval wx_cv_func_$wx_func=no
27415 fi
27416
27417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27418 conftest$ac_exeext conftest.$ac_ext
27419
27420 fi
27421 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27422 { echo "$as_me:$LINENO: result: $ac_res" >&5
27423 echo "${ECHO_T}$ac_res" >&6; }
27424
27425 if eval test \$wx_cv_func_$wx_func = yes
27426 then
27427 cat >>confdefs.h <<_ACEOF
27428 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27429 _ACEOF
27430
27431
27432 else
27433 :
27434
27435 fi
27436 done
27437
27438 fi
27439 ac_ext=c
27440 ac_cpp='$CPP $CPPFLAGS'
27441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27444
27445
27446
27447
27448 if test "$wxUSE_REGEX" != "no"; then
27449 cat >>confdefs.h <<\_ACEOF
27450 #define wxUSE_REGEX 1
27451 _ACEOF
27452
27453
27454 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27455 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27456 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27457 wxUSE_REGEX=builtin
27458 fi
27459
27460 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27461 { echo "$as_me:$LINENO: checking for regex.h" >&5
27462 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27463 if test "${ac_cv_header_regex_h+set}" = set; then
27464 echo $ECHO_N "(cached) $ECHO_C" >&6
27465 else
27466 cat >conftest.$ac_ext <<_ACEOF
27467 /* confdefs.h. */
27468 _ACEOF
27469 cat confdefs.h >>conftest.$ac_ext
27470 cat >>conftest.$ac_ext <<_ACEOF
27471 /* end confdefs.h. */
27472
27473
27474 #include <regex.h>
27475 _ACEOF
27476 rm -f conftest.$ac_objext
27477 if { (ac_try="$ac_compile"
27478 case "(($ac_try" in
27479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27480 *) ac_try_echo=$ac_try;;
27481 esac
27482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27483 (eval "$ac_compile") 2>conftest.er1
27484 ac_status=$?
27485 grep -v '^ *+' conftest.er1 >conftest.err
27486 rm -f conftest.er1
27487 cat conftest.err >&5
27488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489 (exit $ac_status); } && {
27490 test -z "$ac_c_werror_flag" ||
27491 test ! -s conftest.err
27492 } && test -s conftest.$ac_objext; then
27493 ac_cv_header_regex_h=yes
27494 else
27495 echo "$as_me: failed program was:" >&5
27496 sed 's/^/| /' conftest.$ac_ext >&5
27497
27498 ac_cv_header_regex_h=no
27499 fi
27500
27501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27502 fi
27503 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27504 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27505 if test $ac_cv_header_regex_h = yes; then
27506
27507
27508 for ac_func in regcomp re_search
27509 do
27510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27511 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27513 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27514 echo $ECHO_N "(cached) $ECHO_C" >&6
27515 else
27516 cat >conftest.$ac_ext <<_ACEOF
27517 /* confdefs.h. */
27518 _ACEOF
27519 cat confdefs.h >>conftest.$ac_ext
27520 cat >>conftest.$ac_ext <<_ACEOF
27521 /* end confdefs.h. */
27522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27524 #define $ac_func innocuous_$ac_func
27525
27526 /* System header to define __stub macros and hopefully few prototypes,
27527 which can conflict with char $ac_func (); below.
27528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27529 <limits.h> exists even on freestanding compilers. */
27530
27531 #ifdef __STDC__
27532 # include <limits.h>
27533 #else
27534 # include <assert.h>
27535 #endif
27536
27537 #undef $ac_func
27538
27539 /* Override any GCC internal prototype to avoid an error.
27540 Use char because int might match the return type of a GCC
27541 builtin and then its argument prototype would still apply. */
27542 #ifdef __cplusplus
27543 extern "C"
27544 #endif
27545 char $ac_func ();
27546 /* The GNU C library defines this for functions which it implements
27547 to always fail with ENOSYS. Some functions are actually named
27548 something starting with __ and the normal name is an alias. */
27549 #if defined __stub_$ac_func || defined __stub___$ac_func
27550 choke me
27551 #endif
27552
27553 int
27554 main ()
27555 {
27556 return $ac_func ();
27557 ;
27558 return 0;
27559 }
27560 _ACEOF
27561 rm -f conftest.$ac_objext conftest$ac_exeext
27562 if { (ac_try="$ac_link"
27563 case "(($ac_try" in
27564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27565 *) ac_try_echo=$ac_try;;
27566 esac
27567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27568 (eval "$ac_link") 2>conftest.er1
27569 ac_status=$?
27570 grep -v '^ *+' conftest.er1 >conftest.err
27571 rm -f conftest.er1
27572 cat conftest.err >&5
27573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27574 (exit $ac_status); } && {
27575 test -z "$ac_c_werror_flag" ||
27576 test ! -s conftest.err
27577 } && test -s conftest$ac_exeext &&
27578 $as_test_x conftest$ac_exeext; then
27579 eval "$as_ac_var=yes"
27580 else
27581 echo "$as_me: failed program was:" >&5
27582 sed 's/^/| /' conftest.$ac_ext >&5
27583
27584 eval "$as_ac_var=no"
27585 fi
27586
27587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27588 conftest$ac_exeext conftest.$ac_ext
27589 fi
27590 ac_res=`eval echo '${'$as_ac_var'}'`
27591 { echo "$as_me:$LINENO: result: $ac_res" >&5
27592 echo "${ECHO_T}$ac_res" >&6; }
27593 if test `eval echo '${'$as_ac_var'}'` = yes; then
27594 cat >>confdefs.h <<_ACEOF
27595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27596 _ACEOF
27597
27598 fi
27599 done
27600
27601 fi
27602
27603
27604
27605 if test "x$ac_cv_func_regcomp" != "xyes"; then
27606 if test "$wxUSE_REGEX" = "sys" ; then
27607 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27608 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27609 { (exit 1); exit 1; }; }
27610 else
27611 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27612 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27613 wxUSE_REGEX=builtin
27614 fi
27615 else
27616 wxUSE_REGEX=sys
27617 cat >>confdefs.h <<\_ACEOF
27618 #define WX_NO_REGEX_ADVANCED 1
27619 _ACEOF
27620
27621 fi
27622 fi
27623 fi
27624
27625
27626 ZLIB_LINK=
27627 if test "$wxUSE_ZLIB" != "no" ; then
27628 cat >>confdefs.h <<\_ACEOF
27629 #define wxUSE_ZLIB 1
27630 _ACEOF
27631
27632
27633 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27634 if test "$USE_DARWIN" = 1; then
27635 system_zlib_h_ok="yes"
27636 else
27637 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27638 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27639 if test "${ac_cv_header_zlib_h+set}" = set; then
27640 echo $ECHO_N "(cached) $ECHO_C" >&6
27641 else
27642 if test "$cross_compiling" = yes; then
27643 unset ac_cv_header_zlib_h
27644
27645 else
27646 cat >conftest.$ac_ext <<_ACEOF
27647 /* confdefs.h. */
27648 _ACEOF
27649 cat confdefs.h >>conftest.$ac_ext
27650 cat >>conftest.$ac_ext <<_ACEOF
27651 /* end confdefs.h. */
27652
27653 #include <zlib.h>
27654 #include <stdio.h>
27655
27656 int main()
27657 {
27658 FILE *f=fopen("conftestval", "w");
27659 if (!f) exit(1);
27660 fprintf(f, "%s",
27661 ZLIB_VERSION[0] == '1' &&
27662 (ZLIB_VERSION[2] > '1' ||
27663 (ZLIB_VERSION[2] == '1' &&
27664 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27665 exit(0);
27666 }
27667
27668 _ACEOF
27669 rm -f conftest$ac_exeext
27670 if { (ac_try="$ac_link"
27671 case "(($ac_try" in
27672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27673 *) ac_try_echo=$ac_try;;
27674 esac
27675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27676 (eval "$ac_link") 2>&5
27677 ac_status=$?
27678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27679 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27680 { (case "(($ac_try" in
27681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27682 *) ac_try_echo=$ac_try;;
27683 esac
27684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27685 (eval "$ac_try") 2>&5
27686 ac_status=$?
27687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27688 (exit $ac_status); }; }; then
27689 ac_cv_header_zlib_h=`cat conftestval`
27690 else
27691 echo "$as_me: program exited with status $ac_status" >&5
27692 echo "$as_me: failed program was:" >&5
27693 sed 's/^/| /' conftest.$ac_ext >&5
27694
27695 ( exit $ac_status )
27696 ac_cv_header_zlib_h=no
27697 fi
27698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27699 fi
27700
27701
27702
27703 fi
27704 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27705 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27706 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27707 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27708 if test "${ac_cv_header_zlib_h+set}" = set; then
27709 echo $ECHO_N "(cached) $ECHO_C" >&6
27710 else
27711 cat >conftest.$ac_ext <<_ACEOF
27712 /* confdefs.h. */
27713 _ACEOF
27714 cat confdefs.h >>conftest.$ac_ext
27715 cat >>conftest.$ac_ext <<_ACEOF
27716 /* end confdefs.h. */
27717
27718
27719 #include <zlib.h>
27720 _ACEOF
27721 rm -f conftest.$ac_objext
27722 if { (ac_try="$ac_compile"
27723 case "(($ac_try" in
27724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27725 *) ac_try_echo=$ac_try;;
27726 esac
27727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27728 (eval "$ac_compile") 2>conftest.er1
27729 ac_status=$?
27730 grep -v '^ *+' conftest.er1 >conftest.err
27731 rm -f conftest.er1
27732 cat conftest.err >&5
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); } && {
27735 test -z "$ac_c_werror_flag" ||
27736 test ! -s conftest.err
27737 } && test -s conftest.$ac_objext; then
27738 ac_cv_header_zlib_h=yes
27739 else
27740 echo "$as_me: failed program was:" >&5
27741 sed 's/^/| /' conftest.$ac_ext >&5
27742
27743 ac_cv_header_zlib_h=no
27744 fi
27745
27746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27747 fi
27748 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27749 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27750
27751
27752
27753 system_zlib_h_ok=$ac_cv_header_zlib_h
27754 fi
27755
27756 if test "$system_zlib_h_ok" = "yes"; then
27757 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27758 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27759 if test "${ac_cv_lib_z_deflate+set}" = set; then
27760 echo $ECHO_N "(cached) $ECHO_C" >&6
27761 else
27762 ac_check_lib_save_LIBS=$LIBS
27763 LIBS="-lz $LIBS"
27764 cat >conftest.$ac_ext <<_ACEOF
27765 /* confdefs.h. */
27766 _ACEOF
27767 cat confdefs.h >>conftest.$ac_ext
27768 cat >>conftest.$ac_ext <<_ACEOF
27769 /* end confdefs.h. */
27770
27771 /* Override any GCC internal prototype to avoid an error.
27772 Use char because int might match the return type of a GCC
27773 builtin and then its argument prototype would still apply. */
27774 #ifdef __cplusplus
27775 extern "C"
27776 #endif
27777 char deflate ();
27778 int
27779 main ()
27780 {
27781 return deflate ();
27782 ;
27783 return 0;
27784 }
27785 _ACEOF
27786 rm -f conftest.$ac_objext conftest$ac_exeext
27787 if { (ac_try="$ac_link"
27788 case "(($ac_try" in
27789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27790 *) ac_try_echo=$ac_try;;
27791 esac
27792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27793 (eval "$ac_link") 2>conftest.er1
27794 ac_status=$?
27795 grep -v '^ *+' conftest.er1 >conftest.err
27796 rm -f conftest.er1
27797 cat conftest.err >&5
27798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27799 (exit $ac_status); } && {
27800 test -z "$ac_c_werror_flag" ||
27801 test ! -s conftest.err
27802 } && test -s conftest$ac_exeext &&
27803 $as_test_x conftest$ac_exeext; then
27804 ac_cv_lib_z_deflate=yes
27805 else
27806 echo "$as_me: failed program was:" >&5
27807 sed 's/^/| /' conftest.$ac_ext >&5
27808
27809 ac_cv_lib_z_deflate=no
27810 fi
27811
27812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27813 conftest$ac_exeext conftest.$ac_ext
27814 LIBS=$ac_check_lib_save_LIBS
27815 fi
27816 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27817 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27818 if test $ac_cv_lib_z_deflate = yes; then
27819 ZLIB_LINK=" -lz"
27820 fi
27821
27822 fi
27823
27824 if test "x$ZLIB_LINK" = "x" ; then
27825 if test "$wxUSE_ZLIB" = "sys" ; then
27826 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27827 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27828 { (exit 1); exit 1; }; }
27829 else
27830 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27831 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27832 wxUSE_ZLIB=builtin
27833 fi
27834 else
27835 wxUSE_ZLIB=sys
27836 fi
27837 fi
27838 fi
27839
27840
27841 PNG_LINK=
27842 if test "$wxUSE_LIBPNG" != "no" ; then
27843 cat >>confdefs.h <<\_ACEOF
27844 #define wxUSE_LIBPNG 1
27845 _ACEOF
27846
27847
27848 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27849 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27850 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27851 wxUSE_LIBPNG=sys
27852 fi
27853
27854 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27855 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27856 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27857 wxUSE_LIBPNG=builtin
27858 fi
27859
27860 if test "$wxUSE_MGL" != 1 ; then
27861 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27862 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27863 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27864 if test "${ac_cv_header_png_h+set}" = set; then
27865 echo $ECHO_N "(cached) $ECHO_C" >&6
27866 else
27867 if test "$cross_compiling" = yes; then
27868 unset ac_cv_header_png_h
27869
27870 else
27871 cat >conftest.$ac_ext <<_ACEOF
27872 /* confdefs.h. */
27873 _ACEOF
27874 cat confdefs.h >>conftest.$ac_ext
27875 cat >>conftest.$ac_ext <<_ACEOF
27876 /* end confdefs.h. */
27877
27878 #include <png.h>
27879 #include <stdio.h>
27880
27881 int main()
27882 {
27883 FILE *f=fopen("conftestval", "w");
27884 if (!f) exit(1);
27885 fprintf(f, "%s",
27886 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27887 exit(0);
27888 }
27889
27890 _ACEOF
27891 rm -f conftest$ac_exeext
27892 if { (ac_try="$ac_link"
27893 case "(($ac_try" in
27894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27895 *) ac_try_echo=$ac_try;;
27896 esac
27897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27898 (eval "$ac_link") 2>&5
27899 ac_status=$?
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27902 { (case "(($ac_try" in
27903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27904 *) ac_try_echo=$ac_try;;
27905 esac
27906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27907 (eval "$ac_try") 2>&5
27908 ac_status=$?
27909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27910 (exit $ac_status); }; }; then
27911 ac_cv_header_png_h=`cat conftestval`
27912 else
27913 echo "$as_me: program exited with status $ac_status" >&5
27914 echo "$as_me: failed program was:" >&5
27915 sed 's/^/| /' conftest.$ac_ext >&5
27916
27917 ( exit $ac_status )
27918 ac_cv_header_png_h=no
27919 fi
27920 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27921 fi
27922
27923
27924
27925 fi
27926 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27927 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27928 { echo "$as_me:$LINENO: checking for png.h" >&5
27929 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27930 if test "${ac_cv_header_png_h+set}" = set; then
27931 echo $ECHO_N "(cached) $ECHO_C" >&6
27932 else
27933 cat >conftest.$ac_ext <<_ACEOF
27934 /* confdefs.h. */
27935 _ACEOF
27936 cat confdefs.h >>conftest.$ac_ext
27937 cat >>conftest.$ac_ext <<_ACEOF
27938 /* end confdefs.h. */
27939
27940
27941 #include <png.h>
27942 _ACEOF
27943 rm -f conftest.$ac_objext
27944 if { (ac_try="$ac_compile"
27945 case "(($ac_try" in
27946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27947 *) ac_try_echo=$ac_try;;
27948 esac
27949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27950 (eval "$ac_compile") 2>conftest.er1
27951 ac_status=$?
27952 grep -v '^ *+' conftest.er1 >conftest.err
27953 rm -f conftest.er1
27954 cat conftest.err >&5
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); } && {
27957 test -z "$ac_c_werror_flag" ||
27958 test ! -s conftest.err
27959 } && test -s conftest.$ac_objext; then
27960 ac_cv_header_png_h=yes
27961 else
27962 echo "$as_me: failed program was:" >&5
27963 sed 's/^/| /' conftest.$ac_ext >&5
27964
27965 ac_cv_header_png_h=no
27966 fi
27967
27968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27969 fi
27970 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27971 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27972
27973
27974
27975 if test "$ac_cv_header_png_h" = "yes"; then
27976 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27977 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27978 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27979 echo $ECHO_N "(cached) $ECHO_C" >&6
27980 else
27981 ac_check_lib_save_LIBS=$LIBS
27982 LIBS="-lpng -lz -lm $LIBS"
27983 cat >conftest.$ac_ext <<_ACEOF
27984 /* confdefs.h. */
27985 _ACEOF
27986 cat confdefs.h >>conftest.$ac_ext
27987 cat >>conftest.$ac_ext <<_ACEOF
27988 /* end confdefs.h. */
27989
27990 /* Override any GCC internal prototype to avoid an error.
27991 Use char because int might match the return type of a GCC
27992 builtin and then its argument prototype would still apply. */
27993 #ifdef __cplusplus
27994 extern "C"
27995 #endif
27996 char png_sig_cmp ();
27997 int
27998 main ()
27999 {
28000 return png_sig_cmp ();
28001 ;
28002 return 0;
28003 }
28004 _ACEOF
28005 rm -f conftest.$ac_objext conftest$ac_exeext
28006 if { (ac_try="$ac_link"
28007 case "(($ac_try" in
28008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28009 *) ac_try_echo=$ac_try;;
28010 esac
28011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28012 (eval "$ac_link") 2>conftest.er1
28013 ac_status=$?
28014 grep -v '^ *+' conftest.er1 >conftest.err
28015 rm -f conftest.er1
28016 cat conftest.err >&5
28017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018 (exit $ac_status); } && {
28019 test -z "$ac_c_werror_flag" ||
28020 test ! -s conftest.err
28021 } && test -s conftest$ac_exeext &&
28022 $as_test_x conftest$ac_exeext; then
28023 ac_cv_lib_png_png_sig_cmp=yes
28024 else
28025 echo "$as_me: failed program was:" >&5
28026 sed 's/^/| /' conftest.$ac_ext >&5
28027
28028 ac_cv_lib_png_png_sig_cmp=no
28029 fi
28030
28031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28032 conftest$ac_exeext conftest.$ac_ext
28033 LIBS=$ac_check_lib_save_LIBS
28034 fi
28035 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28036 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28037 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28038 PNG_LINK=" -lpng -lz"
28039 fi
28040
28041 fi
28042
28043 if test "x$PNG_LINK" = "x" ; then
28044 if test "$wxUSE_LIBPNG" = "sys" ; then
28045 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28046 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28047 { (exit 1); exit 1; }; }
28048 else
28049 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28050 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28051 wxUSE_LIBPNG=builtin
28052 fi
28053 else
28054 wxUSE_LIBPNG=sys
28055 fi
28056 fi
28057 fi
28058 fi
28059
28060
28061 JPEG_LINK=
28062 if test "$wxUSE_LIBJPEG" != "no" ; then
28063 cat >>confdefs.h <<\_ACEOF
28064 #define wxUSE_LIBJPEG 1
28065 _ACEOF
28066
28067
28068 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28069 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28070 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28071 wxUSE_LIBJPEG=sys
28072 fi
28073
28074 if test "$wxUSE_MGL" != 1 ; then
28075 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28076 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28077 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28078 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28079 echo $ECHO_N "(cached) $ECHO_C" >&6
28080 else
28081 cat >conftest.$ac_ext <<_ACEOF
28082 /* confdefs.h. */
28083 _ACEOF
28084 cat confdefs.h >>conftest.$ac_ext
28085 cat >>conftest.$ac_ext <<_ACEOF
28086 /* end confdefs.h. */
28087
28088 #undef HAVE_STDLIB_H
28089 #include <stdio.h>
28090 #include <jpeglib.h>
28091
28092 int
28093 main ()
28094 {
28095
28096
28097 ;
28098 return 0;
28099 }
28100 _ACEOF
28101 rm -f conftest.$ac_objext
28102 if { (ac_try="$ac_compile"
28103 case "(($ac_try" in
28104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28105 *) ac_try_echo=$ac_try;;
28106 esac
28107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28108 (eval "$ac_compile") 2>conftest.er1
28109 ac_status=$?
28110 grep -v '^ *+' conftest.er1 >conftest.err
28111 rm -f conftest.er1
28112 cat conftest.err >&5
28113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114 (exit $ac_status); } && {
28115 test -z "$ac_c_werror_flag" ||
28116 test ! -s conftest.err
28117 } && test -s conftest.$ac_objext; then
28118 ac_cv_header_jpeglib_h=yes
28119 else
28120 echo "$as_me: failed program was:" >&5
28121 sed 's/^/| /' conftest.$ac_ext >&5
28122
28123 ac_cv_header_jpeglib_h=no
28124
28125 fi
28126
28127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28128
28129 fi
28130
28131 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28132 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28133
28134 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28135 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28136 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28137 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28138 echo $ECHO_N "(cached) $ECHO_C" >&6
28139 else
28140 ac_check_lib_save_LIBS=$LIBS
28141 LIBS="-ljpeg $LIBS"
28142 cat >conftest.$ac_ext <<_ACEOF
28143 /* confdefs.h. */
28144 _ACEOF
28145 cat confdefs.h >>conftest.$ac_ext
28146 cat >>conftest.$ac_ext <<_ACEOF
28147 /* end confdefs.h. */
28148
28149 /* Override any GCC internal prototype to avoid an error.
28150 Use char because int might match the return type of a GCC
28151 builtin and then its argument prototype would still apply. */
28152 #ifdef __cplusplus
28153 extern "C"
28154 #endif
28155 char jpeg_read_header ();
28156 int
28157 main ()
28158 {
28159 return jpeg_read_header ();
28160 ;
28161 return 0;
28162 }
28163 _ACEOF
28164 rm -f conftest.$ac_objext conftest$ac_exeext
28165 if { (ac_try="$ac_link"
28166 case "(($ac_try" in
28167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28168 *) ac_try_echo=$ac_try;;
28169 esac
28170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28171 (eval "$ac_link") 2>conftest.er1
28172 ac_status=$?
28173 grep -v '^ *+' conftest.er1 >conftest.err
28174 rm -f conftest.er1
28175 cat conftest.err >&5
28176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28177 (exit $ac_status); } && {
28178 test -z "$ac_c_werror_flag" ||
28179 test ! -s conftest.err
28180 } && test -s conftest$ac_exeext &&
28181 $as_test_x conftest$ac_exeext; then
28182 ac_cv_lib_jpeg_jpeg_read_header=yes
28183 else
28184 echo "$as_me: failed program was:" >&5
28185 sed 's/^/| /' conftest.$ac_ext >&5
28186
28187 ac_cv_lib_jpeg_jpeg_read_header=no
28188 fi
28189
28190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28191 conftest$ac_exeext conftest.$ac_ext
28192 LIBS=$ac_check_lib_save_LIBS
28193 fi
28194 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28195 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28196 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28197 JPEG_LINK=" -ljpeg"
28198 fi
28199
28200 fi
28201
28202 if test "x$JPEG_LINK" = "x" ; then
28203 if test "$wxUSE_LIBJPEG" = "sys" ; then
28204 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28205 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28206 { (exit 1); exit 1; }; }
28207 else
28208 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28209 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28210 wxUSE_LIBJPEG=builtin
28211 fi
28212 else
28213 wxUSE_LIBJPEG=sys
28214
28215 if test "$wxUSE_MSW" = 1; then
28216 { echo "$as_me:$LINENO: checking for boolean" >&5
28217 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28218 if test "${ac_cv_type_boolean+set}" = set; then
28219 echo $ECHO_N "(cached) $ECHO_C" >&6
28220 else
28221 cat >conftest.$ac_ext <<_ACEOF
28222 /* confdefs.h. */
28223 _ACEOF
28224 cat confdefs.h >>conftest.$ac_ext
28225 cat >>conftest.$ac_ext <<_ACEOF
28226 /* end confdefs.h. */
28227 #include <windows.h>
28228
28229 typedef boolean ac__type_new_;
28230 int
28231 main ()
28232 {
28233 if ((ac__type_new_ *) 0)
28234 return 0;
28235 if (sizeof (ac__type_new_))
28236 return 0;
28237 ;
28238 return 0;
28239 }
28240 _ACEOF
28241 rm -f conftest.$ac_objext
28242 if { (ac_try="$ac_compile"
28243 case "(($ac_try" in
28244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28245 *) ac_try_echo=$ac_try;;
28246 esac
28247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28248 (eval "$ac_compile") 2>conftest.er1
28249 ac_status=$?
28250 grep -v '^ *+' conftest.er1 >conftest.err
28251 rm -f conftest.er1
28252 cat conftest.err >&5
28253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28254 (exit $ac_status); } && {
28255 test -z "$ac_c_werror_flag" ||
28256 test ! -s conftest.err
28257 } && test -s conftest.$ac_objext; then
28258 ac_cv_type_boolean=yes
28259 else
28260 echo "$as_me: failed program was:" >&5
28261 sed 's/^/| /' conftest.$ac_ext >&5
28262
28263 ac_cv_type_boolean=no
28264 fi
28265
28266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28267 fi
28268 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28269 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28270 if test $ac_cv_type_boolean = yes; then
28271
28272 cat >>confdefs.h <<_ACEOF
28273 #define HAVE_BOOLEAN 1
28274 _ACEOF
28275
28276
28277 { echo "$as_me:$LINENO: checking for boolean" >&5
28278 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28279 if test "${ac_cv_type_boolean+set}" = set; then
28280 echo $ECHO_N "(cached) $ECHO_C" >&6
28281 else
28282 cat >conftest.$ac_ext <<_ACEOF
28283 /* confdefs.h. */
28284 _ACEOF
28285 cat confdefs.h >>conftest.$ac_ext
28286 cat >>conftest.$ac_ext <<_ACEOF
28287 /* end confdefs.h. */
28288
28289 #undef HAVE_BOOLEAN
28290 #include <stdio.h>
28291 #include <jpeglib.h>
28292
28293
28294 typedef boolean ac__type_new_;
28295 int
28296 main ()
28297 {
28298 if ((ac__type_new_ *) 0)
28299 return 0;
28300 if (sizeof (ac__type_new_))
28301 return 0;
28302 ;
28303 return 0;
28304 }
28305 _ACEOF
28306 rm -f conftest.$ac_objext
28307 if { (ac_try="$ac_compile"
28308 case "(($ac_try" in
28309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28310 *) ac_try_echo=$ac_try;;
28311 esac
28312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28313 (eval "$ac_compile") 2>conftest.er1
28314 ac_status=$?
28315 grep -v '^ *+' conftest.er1 >conftest.err
28316 rm -f conftest.er1
28317 cat conftest.err >&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); } && {
28320 test -z "$ac_c_werror_flag" ||
28321 test ! -s conftest.err
28322 } && test -s conftest.$ac_objext; then
28323 ac_cv_type_boolean=yes
28324 else
28325 echo "$as_me: failed program was:" >&5
28326 sed 's/^/| /' conftest.$ac_ext >&5
28327
28328 ac_cv_type_boolean=no
28329 fi
28330
28331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28332 fi
28333 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28334 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28335
28336 # The cast to long int works around a bug in the HP C Compiler
28337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28338 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28339 # This bug is HP SR number 8606223364.
28340 { echo "$as_me:$LINENO: checking size of boolean" >&5
28341 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28342 if test "${ac_cv_sizeof_boolean+set}" = set; then
28343 echo $ECHO_N "(cached) $ECHO_C" >&6
28344 else
28345 if test "$cross_compiling" = yes; then
28346 # Depending upon the size, compute the lo and hi bounds.
28347 cat >conftest.$ac_ext <<_ACEOF
28348 /* confdefs.h. */
28349 _ACEOF
28350 cat confdefs.h >>conftest.$ac_ext
28351 cat >>conftest.$ac_ext <<_ACEOF
28352 /* end confdefs.h. */
28353
28354 #undef HAVE_BOOLEAN
28355 #include <stdio.h>
28356 #include <jpeglib.h>
28357
28358
28359 typedef boolean ac__type_sizeof_;
28360 int
28361 main ()
28362 {
28363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28364 test_array [0] = 0
28365
28366 ;
28367 return 0;
28368 }
28369 _ACEOF
28370 rm -f conftest.$ac_objext
28371 if { (ac_try="$ac_compile"
28372 case "(($ac_try" in
28373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28374 *) ac_try_echo=$ac_try;;
28375 esac
28376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28377 (eval "$ac_compile") 2>conftest.er1
28378 ac_status=$?
28379 grep -v '^ *+' conftest.er1 >conftest.err
28380 rm -f conftest.er1
28381 cat conftest.err >&5
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); } && {
28384 test -z "$ac_c_werror_flag" ||
28385 test ! -s conftest.err
28386 } && test -s conftest.$ac_objext; then
28387 ac_lo=0 ac_mid=0
28388 while :; do
28389 cat >conftest.$ac_ext <<_ACEOF
28390 /* confdefs.h. */
28391 _ACEOF
28392 cat confdefs.h >>conftest.$ac_ext
28393 cat >>conftest.$ac_ext <<_ACEOF
28394 /* end confdefs.h. */
28395
28396 #undef HAVE_BOOLEAN
28397 #include <stdio.h>
28398 #include <jpeglib.h>
28399
28400
28401 typedef boolean ac__type_sizeof_;
28402 int
28403 main ()
28404 {
28405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28406 test_array [0] = 0
28407
28408 ;
28409 return 0;
28410 }
28411 _ACEOF
28412 rm -f conftest.$ac_objext
28413 if { (ac_try="$ac_compile"
28414 case "(($ac_try" in
28415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28416 *) ac_try_echo=$ac_try;;
28417 esac
28418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28419 (eval "$ac_compile") 2>conftest.er1
28420 ac_status=$?
28421 grep -v '^ *+' conftest.er1 >conftest.err
28422 rm -f conftest.er1
28423 cat conftest.err >&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); } && {
28426 test -z "$ac_c_werror_flag" ||
28427 test ! -s conftest.err
28428 } && test -s conftest.$ac_objext; then
28429 ac_hi=$ac_mid; break
28430 else
28431 echo "$as_me: failed program was:" >&5
28432 sed 's/^/| /' conftest.$ac_ext >&5
28433
28434 ac_lo=`expr $ac_mid + 1`
28435 if test $ac_lo -le $ac_mid; then
28436 ac_lo= ac_hi=
28437 break
28438 fi
28439 ac_mid=`expr 2 '*' $ac_mid + 1`
28440 fi
28441
28442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28443 done
28444 else
28445 echo "$as_me: failed program was:" >&5
28446 sed 's/^/| /' conftest.$ac_ext >&5
28447
28448 cat >conftest.$ac_ext <<_ACEOF
28449 /* confdefs.h. */
28450 _ACEOF
28451 cat confdefs.h >>conftest.$ac_ext
28452 cat >>conftest.$ac_ext <<_ACEOF
28453 /* end confdefs.h. */
28454
28455 #undef HAVE_BOOLEAN
28456 #include <stdio.h>
28457 #include <jpeglib.h>
28458
28459
28460 typedef boolean ac__type_sizeof_;
28461 int
28462 main ()
28463 {
28464 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28465 test_array [0] = 0
28466
28467 ;
28468 return 0;
28469 }
28470 _ACEOF
28471 rm -f conftest.$ac_objext
28472 if { (ac_try="$ac_compile"
28473 case "(($ac_try" in
28474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28475 *) ac_try_echo=$ac_try;;
28476 esac
28477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28478 (eval "$ac_compile") 2>conftest.er1
28479 ac_status=$?
28480 grep -v '^ *+' conftest.er1 >conftest.err
28481 rm -f conftest.er1
28482 cat conftest.err >&5
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); } && {
28485 test -z "$ac_c_werror_flag" ||
28486 test ! -s conftest.err
28487 } && test -s conftest.$ac_objext; then
28488 ac_hi=-1 ac_mid=-1
28489 while :; do
28490 cat >conftest.$ac_ext <<_ACEOF
28491 /* confdefs.h. */
28492 _ACEOF
28493 cat confdefs.h >>conftest.$ac_ext
28494 cat >>conftest.$ac_ext <<_ACEOF
28495 /* end confdefs.h. */
28496
28497 #undef HAVE_BOOLEAN
28498 #include <stdio.h>
28499 #include <jpeglib.h>
28500
28501
28502 typedef boolean ac__type_sizeof_;
28503 int
28504 main ()
28505 {
28506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28507 test_array [0] = 0
28508
28509 ;
28510 return 0;
28511 }
28512 _ACEOF
28513 rm -f conftest.$ac_objext
28514 if { (ac_try="$ac_compile"
28515 case "(($ac_try" in
28516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28517 *) ac_try_echo=$ac_try;;
28518 esac
28519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28520 (eval "$ac_compile") 2>conftest.er1
28521 ac_status=$?
28522 grep -v '^ *+' conftest.er1 >conftest.err
28523 rm -f conftest.er1
28524 cat conftest.err >&5
28525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28526 (exit $ac_status); } && {
28527 test -z "$ac_c_werror_flag" ||
28528 test ! -s conftest.err
28529 } && test -s conftest.$ac_objext; then
28530 ac_lo=$ac_mid; break
28531 else
28532 echo "$as_me: failed program was:" >&5
28533 sed 's/^/| /' conftest.$ac_ext >&5
28534
28535 ac_hi=`expr '(' $ac_mid ')' - 1`
28536 if test $ac_mid -le $ac_hi; then
28537 ac_lo= ac_hi=
28538 break
28539 fi
28540 ac_mid=`expr 2 '*' $ac_mid`
28541 fi
28542
28543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28544 done
28545 else
28546 echo "$as_me: failed program was:" >&5
28547 sed 's/^/| /' conftest.$ac_ext >&5
28548
28549 ac_lo= ac_hi=
28550 fi
28551
28552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28553 fi
28554
28555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28556 # Binary search between lo and hi bounds.
28557 while test "x$ac_lo" != "x$ac_hi"; do
28558 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28559 cat >conftest.$ac_ext <<_ACEOF
28560 /* confdefs.h. */
28561 _ACEOF
28562 cat confdefs.h >>conftest.$ac_ext
28563 cat >>conftest.$ac_ext <<_ACEOF
28564 /* end confdefs.h. */
28565
28566 #undef HAVE_BOOLEAN
28567 #include <stdio.h>
28568 #include <jpeglib.h>
28569
28570
28571 typedef boolean ac__type_sizeof_;
28572 int
28573 main ()
28574 {
28575 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28576 test_array [0] = 0
28577
28578 ;
28579 return 0;
28580 }
28581 _ACEOF
28582 rm -f conftest.$ac_objext
28583 if { (ac_try="$ac_compile"
28584 case "(($ac_try" in
28585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28586 *) ac_try_echo=$ac_try;;
28587 esac
28588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28589 (eval "$ac_compile") 2>conftest.er1
28590 ac_status=$?
28591 grep -v '^ *+' conftest.er1 >conftest.err
28592 rm -f conftest.er1
28593 cat conftest.err >&5
28594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595 (exit $ac_status); } && {
28596 test -z "$ac_c_werror_flag" ||
28597 test ! -s conftest.err
28598 } && test -s conftest.$ac_objext; then
28599 ac_hi=$ac_mid
28600 else
28601 echo "$as_me: failed program was:" >&5
28602 sed 's/^/| /' conftest.$ac_ext >&5
28603
28604 ac_lo=`expr '(' $ac_mid ')' + 1`
28605 fi
28606
28607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28608 done
28609 case $ac_lo in
28610 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28611 '') if test "$ac_cv_type_boolean" = yes; then
28612 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28613 See \`config.log' for more details." >&5
28614 echo "$as_me: error: cannot compute sizeof (boolean)
28615 See \`config.log' for more details." >&2;}
28616 { (exit 77); exit 77; }; }
28617 else
28618 ac_cv_sizeof_boolean=0
28619 fi ;;
28620 esac
28621 else
28622 cat >conftest.$ac_ext <<_ACEOF
28623 /* confdefs.h. */
28624 _ACEOF
28625 cat confdefs.h >>conftest.$ac_ext
28626 cat >>conftest.$ac_ext <<_ACEOF
28627 /* end confdefs.h. */
28628
28629 #undef HAVE_BOOLEAN
28630 #include <stdio.h>
28631 #include <jpeglib.h>
28632
28633
28634 typedef boolean ac__type_sizeof_;
28635 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28636 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28637 #include <stdio.h>
28638 #include <stdlib.h>
28639 int
28640 main ()
28641 {
28642
28643 FILE *f = fopen ("conftest.val", "w");
28644 if (! f)
28645 return 1;
28646 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28647 {
28648 long int i = longval ();
28649 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28650 return 1;
28651 fprintf (f, "%ld\n", i);
28652 }
28653 else
28654 {
28655 unsigned long int i = ulongval ();
28656 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28657 return 1;
28658 fprintf (f, "%lu\n", i);
28659 }
28660 return ferror (f) || fclose (f) != 0;
28661
28662 ;
28663 return 0;
28664 }
28665 _ACEOF
28666 rm -f conftest$ac_exeext
28667 if { (ac_try="$ac_link"
28668 case "(($ac_try" in
28669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28670 *) ac_try_echo=$ac_try;;
28671 esac
28672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28673 (eval "$ac_link") 2>&5
28674 ac_status=$?
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28677 { (case "(($ac_try" in
28678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28679 *) ac_try_echo=$ac_try;;
28680 esac
28681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28682 (eval "$ac_try") 2>&5
28683 ac_status=$?
28684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685 (exit $ac_status); }; }; then
28686 ac_cv_sizeof_boolean=`cat conftest.val`
28687 else
28688 echo "$as_me: program exited with status $ac_status" >&5
28689 echo "$as_me: failed program was:" >&5
28690 sed 's/^/| /' conftest.$ac_ext >&5
28691
28692 ( exit $ac_status )
28693 if test "$ac_cv_type_boolean" = yes; then
28694 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28695 See \`config.log' for more details." >&5
28696 echo "$as_me: error: cannot compute sizeof (boolean)
28697 See \`config.log' for more details." >&2;}
28698 { (exit 77); exit 77; }; }
28699 else
28700 ac_cv_sizeof_boolean=0
28701 fi
28702 fi
28703 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28704 fi
28705 rm -f conftest.val
28706 fi
28707 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28708 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28709
28710
28711
28712 cat >>confdefs.h <<_ACEOF
28713 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28714 _ACEOF
28715
28716
28717 cat >>confdefs.h <<_ACEOF
28718 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28719 _ACEOF
28720
28721
28722 fi
28723
28724 fi
28725 fi
28726 fi
28727 fi
28728 fi
28729
28730
28731 TIFF_LINK=
28732 TIFF_PREREQ_LINKS=-lm
28733 if test "$wxUSE_LIBTIFF" != "no" ; then
28734 cat >>confdefs.h <<\_ACEOF
28735 #define wxUSE_LIBTIFF 1
28736 _ACEOF
28737
28738
28739 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28740 if test "$wxUSE_LIBJPEG" = "sys"; then
28741 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28742 fi
28743 if test "$wxUSE_ZLIB" = "sys"; then
28744 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28745 fi
28746 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28747 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28748 if test "${ac_cv_header_tiffio_h+set}" = set; then
28749 echo $ECHO_N "(cached) $ECHO_C" >&6
28750 else
28751 cat >conftest.$ac_ext <<_ACEOF
28752 /* confdefs.h. */
28753 _ACEOF
28754 cat confdefs.h >>conftest.$ac_ext
28755 cat >>conftest.$ac_ext <<_ACEOF
28756 /* end confdefs.h. */
28757
28758
28759
28760 #include <tiffio.h>
28761 _ACEOF
28762 rm -f conftest.$ac_objext
28763 if { (ac_try="$ac_compile"
28764 case "(($ac_try" in
28765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28766 *) ac_try_echo=$ac_try;;
28767 esac
28768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28769 (eval "$ac_compile") 2>conftest.er1
28770 ac_status=$?
28771 grep -v '^ *+' conftest.er1 >conftest.err
28772 rm -f conftest.er1
28773 cat conftest.err >&5
28774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28775 (exit $ac_status); } && {
28776 test -z "$ac_c_werror_flag" ||
28777 test ! -s conftest.err
28778 } && test -s conftest.$ac_objext; then
28779 ac_cv_header_tiffio_h=yes
28780 else
28781 echo "$as_me: failed program was:" >&5
28782 sed 's/^/| /' conftest.$ac_ext >&5
28783
28784 ac_cv_header_tiffio_h=no
28785 fi
28786
28787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28788 fi
28789 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28790 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28791 if test $ac_cv_header_tiffio_h = yes; then
28792
28793 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28794 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28795 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28796 echo $ECHO_N "(cached) $ECHO_C" >&6
28797 else
28798 ac_check_lib_save_LIBS=$LIBS
28799 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28800 cat >conftest.$ac_ext <<_ACEOF
28801 /* confdefs.h. */
28802 _ACEOF
28803 cat confdefs.h >>conftest.$ac_ext
28804 cat >>conftest.$ac_ext <<_ACEOF
28805 /* end confdefs.h. */
28806
28807 /* Override any GCC internal prototype to avoid an error.
28808 Use char because int might match the return type of a GCC
28809 builtin and then its argument prototype would still apply. */
28810 #ifdef __cplusplus
28811 extern "C"
28812 #endif
28813 char TIFFError ();
28814 int
28815 main ()
28816 {
28817 return TIFFError ();
28818 ;
28819 return 0;
28820 }
28821 _ACEOF
28822 rm -f conftest.$ac_objext conftest$ac_exeext
28823 if { (ac_try="$ac_link"
28824 case "(($ac_try" in
28825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28826 *) ac_try_echo=$ac_try;;
28827 esac
28828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28829 (eval "$ac_link") 2>conftest.er1
28830 ac_status=$?
28831 grep -v '^ *+' conftest.er1 >conftest.err
28832 rm -f conftest.er1
28833 cat conftest.err >&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); } && {
28836 test -z "$ac_c_werror_flag" ||
28837 test ! -s conftest.err
28838 } && test -s conftest$ac_exeext &&
28839 $as_test_x conftest$ac_exeext; then
28840 ac_cv_lib_tiff_TIFFError=yes
28841 else
28842 echo "$as_me: failed program was:" >&5
28843 sed 's/^/| /' conftest.$ac_ext >&5
28844
28845 ac_cv_lib_tiff_TIFFError=no
28846 fi
28847
28848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28849 conftest$ac_exeext conftest.$ac_ext
28850 LIBS=$ac_check_lib_save_LIBS
28851 fi
28852 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28853 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28854 if test $ac_cv_lib_tiff_TIFFError = yes; then
28855 TIFF_LINK=" -ltiff"
28856 fi
28857
28858
28859 fi
28860
28861
28862
28863 if test "x$TIFF_LINK" = "x" ; then
28864 if test "$wxUSE_LIBTIFF" = "sys" ; then
28865 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28866 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28867 { (exit 1); exit 1; }; }
28868 else
28869 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28870 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28871 wxUSE_LIBTIFF=builtin
28872 fi
28873 else
28874 wxUSE_LIBTIFF=sys
28875 fi
28876 fi
28877 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28878 if test "$wxUSE_LIBJPEG" = "no"; then
28879 ac_configure_args="$ac_configure_args --disable-jpeg"
28880 fi
28881 subdirs="$subdirs src/tiff"
28882
28883 fi
28884 fi
28885
28886
28887 if test "$wxUSE_EXPAT" != "no"; then
28888 wxUSE_XML=yes
28889 cat >>confdefs.h <<\_ACEOF
28890 #define wxUSE_EXPAT 1
28891 _ACEOF
28892
28893 cat >>confdefs.h <<\_ACEOF
28894 #define wxUSE_XML 1
28895 _ACEOF
28896
28897
28898 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28899 { echo "$as_me:$LINENO: checking for expat.h" >&5
28900 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28901 if test "${ac_cv_header_expat_h+set}" = set; then
28902 echo $ECHO_N "(cached) $ECHO_C" >&6
28903 else
28904 cat >conftest.$ac_ext <<_ACEOF
28905 /* confdefs.h. */
28906 _ACEOF
28907 cat confdefs.h >>conftest.$ac_ext
28908 cat >>conftest.$ac_ext <<_ACEOF
28909 /* end confdefs.h. */
28910
28911
28912 #include <expat.h>
28913 _ACEOF
28914 rm -f conftest.$ac_objext
28915 if { (ac_try="$ac_compile"
28916 case "(($ac_try" in
28917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28918 *) ac_try_echo=$ac_try;;
28919 esac
28920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28921 (eval "$ac_compile") 2>conftest.er1
28922 ac_status=$?
28923 grep -v '^ *+' conftest.er1 >conftest.err
28924 rm -f conftest.er1
28925 cat conftest.err >&5
28926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 (exit $ac_status); } && {
28928 test -z "$ac_c_werror_flag" ||
28929 test ! -s conftest.err
28930 } && test -s conftest.$ac_objext; then
28931 ac_cv_header_expat_h=yes
28932 else
28933 echo "$as_me: failed program was:" >&5
28934 sed 's/^/| /' conftest.$ac_ext >&5
28935
28936 ac_cv_header_expat_h=no
28937 fi
28938
28939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28940 fi
28941 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28942 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28943 if test $ac_cv_header_expat_h = yes; then
28944 found_expat_h=1
28945 fi
28946
28947
28948 if test "x$found_expat_h" = "x1"; then
28949 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28950 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28951 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28952 echo $ECHO_N "(cached) $ECHO_C" >&6
28953 else
28954
28955 ac_ext=cpp
28956 ac_cpp='$CXXCPP $CPPFLAGS'
28957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28960
28961 cat >conftest.$ac_ext <<_ACEOF
28962 /* confdefs.h. */
28963 _ACEOF
28964 cat confdefs.h >>conftest.$ac_ext
28965 cat >>conftest.$ac_ext <<_ACEOF
28966 /* end confdefs.h. */
28967 #include <expat.h>
28968 int
28969 main ()
28970 {
28971
28972 ;
28973 return 0;
28974 }
28975 _ACEOF
28976 rm -f conftest.$ac_objext
28977 if { (ac_try="$ac_compile"
28978 case "(($ac_try" in
28979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28980 *) ac_try_echo=$ac_try;;
28981 esac
28982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28983 (eval "$ac_compile") 2>conftest.er1
28984 ac_status=$?
28985 grep -v '^ *+' conftest.er1 >conftest.err
28986 rm -f conftest.er1
28987 cat conftest.err >&5
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); } && {
28990 test -z "$ac_cxx_werror_flag" ||
28991 test ! -s conftest.err
28992 } && test -s conftest.$ac_objext; then
28993 wx_cv_expat_is_not_broken=yes
28994 else
28995 echo "$as_me: failed program was:" >&5
28996 sed 's/^/| /' conftest.$ac_ext >&5
28997
28998 wx_cv_expat_is_not_broken=no
28999
29000 fi
29001
29002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29003 ac_ext=c
29004 ac_cpp='$CPP $CPPFLAGS'
29005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29008
29009
29010
29011 fi
29012 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29013 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29014 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29015 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29016 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29017 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29018 echo $ECHO_N "(cached) $ECHO_C" >&6
29019 else
29020 ac_check_lib_save_LIBS=$LIBS
29021 LIBS="-lexpat $LIBS"
29022 cat >conftest.$ac_ext <<_ACEOF
29023 /* confdefs.h. */
29024 _ACEOF
29025 cat confdefs.h >>conftest.$ac_ext
29026 cat >>conftest.$ac_ext <<_ACEOF
29027 /* end confdefs.h. */
29028
29029 /* Override any GCC internal prototype to avoid an error.
29030 Use char because int might match the return type of a GCC
29031 builtin and then its argument prototype would still apply. */
29032 #ifdef __cplusplus
29033 extern "C"
29034 #endif
29035 char XML_ParserCreate ();
29036 int
29037 main ()
29038 {
29039 return XML_ParserCreate ();
29040 ;
29041 return 0;
29042 }
29043 _ACEOF
29044 rm -f conftest.$ac_objext conftest$ac_exeext
29045 if { (ac_try="$ac_link"
29046 case "(($ac_try" in
29047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29048 *) ac_try_echo=$ac_try;;
29049 esac
29050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29051 (eval "$ac_link") 2>conftest.er1
29052 ac_status=$?
29053 grep -v '^ *+' conftest.er1 >conftest.err
29054 rm -f conftest.er1
29055 cat conftest.err >&5
29056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29057 (exit $ac_status); } && {
29058 test -z "$ac_c_werror_flag" ||
29059 test ! -s conftest.err
29060 } && test -s conftest$ac_exeext &&
29061 $as_test_x conftest$ac_exeext; then
29062 ac_cv_lib_expat_XML_ParserCreate=yes
29063 else
29064 echo "$as_me: failed program was:" >&5
29065 sed 's/^/| /' conftest.$ac_ext >&5
29066
29067 ac_cv_lib_expat_XML_ParserCreate=no
29068 fi
29069
29070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29071 conftest$ac_exeext conftest.$ac_ext
29072 LIBS=$ac_check_lib_save_LIBS
29073 fi
29074 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29075 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29076 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29077 EXPAT_LINK=" -lexpat"
29078 fi
29079
29080 fi
29081 fi
29082 if test "x$EXPAT_LINK" = "x" ; then
29083 if test "$wxUSE_EXPAT" = "sys" ; then
29084 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29085 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29086 { (exit 1); exit 1; }; }
29087 else
29088 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29089 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29090 wxUSE_EXPAT=builtin
29091 fi
29092 else
29093 wxUSE_EXPAT=sys
29094 fi
29095 fi
29096 if test "$wxUSE_EXPAT" = "builtin" ; then
29097 subdirs="$subdirs src/expat"
29098
29099 fi
29100 fi
29101
29102
29103
29104 if test "$wxUSE_LIBMSPACK" != "no"; then
29105 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29106 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29107 if test "${ac_cv_header_mspack_h+set}" = set; then
29108 echo $ECHO_N "(cached) $ECHO_C" >&6
29109 else
29110 cat >conftest.$ac_ext <<_ACEOF
29111 /* confdefs.h. */
29112 _ACEOF
29113 cat confdefs.h >>conftest.$ac_ext
29114 cat >>conftest.$ac_ext <<_ACEOF
29115 /* end confdefs.h. */
29116
29117
29118 #include <mspack.h>
29119 _ACEOF
29120 rm -f conftest.$ac_objext
29121 if { (ac_try="$ac_compile"
29122 case "(($ac_try" in
29123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29124 *) ac_try_echo=$ac_try;;
29125 esac
29126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29127 (eval "$ac_compile") 2>conftest.er1
29128 ac_status=$?
29129 grep -v '^ *+' conftest.er1 >conftest.err
29130 rm -f conftest.er1
29131 cat conftest.err >&5
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); } && {
29134 test -z "$ac_c_werror_flag" ||
29135 test ! -s conftest.err
29136 } && test -s conftest.$ac_objext; then
29137 ac_cv_header_mspack_h=yes
29138 else
29139 echo "$as_me: failed program was:" >&5
29140 sed 's/^/| /' conftest.$ac_ext >&5
29141
29142 ac_cv_header_mspack_h=no
29143 fi
29144
29145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29146 fi
29147 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29148 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29149 if test $ac_cv_header_mspack_h = yes; then
29150 found_mspack_h=1
29151 fi
29152
29153
29154 if test "x$found_mspack_h" = "x1"; then
29155 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29156 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29157 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29158 echo $ECHO_N "(cached) $ECHO_C" >&6
29159 else
29160 ac_check_lib_save_LIBS=$LIBS
29161 LIBS="-lmspack $LIBS"
29162 cat >conftest.$ac_ext <<_ACEOF
29163 /* confdefs.h. */
29164 _ACEOF
29165 cat confdefs.h >>conftest.$ac_ext
29166 cat >>conftest.$ac_ext <<_ACEOF
29167 /* end confdefs.h. */
29168
29169 /* Override any GCC internal prototype to avoid an error.
29170 Use char because int might match the return type of a GCC
29171 builtin and then its argument prototype would still apply. */
29172 #ifdef __cplusplus
29173 extern "C"
29174 #endif
29175 char mspack_create_chm_decompressor ();
29176 int
29177 main ()
29178 {
29179 return mspack_create_chm_decompressor ();
29180 ;
29181 return 0;
29182 }
29183 _ACEOF
29184 rm -f conftest.$ac_objext conftest$ac_exeext
29185 if { (ac_try="$ac_link"
29186 case "(($ac_try" in
29187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29188 *) ac_try_echo=$ac_try;;
29189 esac
29190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29191 (eval "$ac_link") 2>conftest.er1
29192 ac_status=$?
29193 grep -v '^ *+' conftest.er1 >conftest.err
29194 rm -f conftest.er1
29195 cat conftest.err >&5
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); } && {
29198 test -z "$ac_c_werror_flag" ||
29199 test ! -s conftest.err
29200 } && test -s conftest$ac_exeext &&
29201 $as_test_x conftest$ac_exeext; then
29202 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29203 else
29204 echo "$as_me: failed program was:" >&5
29205 sed 's/^/| /' conftest.$ac_ext >&5
29206
29207 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29208 fi
29209
29210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29211 conftest$ac_exeext conftest.$ac_ext
29212 LIBS=$ac_check_lib_save_LIBS
29213 fi
29214 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29215 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29216 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29217 MSPACK_LINK=" -lmspack"
29218 fi
29219
29220 fi
29221 if test "x$MSPACK_LINK" = "x" ; then
29222 wxUSE_LIBMSPACK=no
29223 fi
29224 fi
29225
29226 if test "$wxUSE_LIBMSPACK" != "no"; then
29227 cat >>confdefs.h <<\_ACEOF
29228 #define wxUSE_LIBMSPACK 1
29229 _ACEOF
29230
29231 fi
29232
29233
29234
29235 AFMINSTALL=
29236 WIN32INSTALL=
29237
29238 TOOLKIT=
29239 TOOLKIT_INCLUDE=
29240 WIDGET_SET=
29241
29242 if test "$USE_WIN32" = 1 ; then
29243
29244 for ac_header in w32api.h
29245 do
29246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29247 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29250 echo $ECHO_N "(cached) $ECHO_C" >&6
29251 else
29252 cat >conftest.$ac_ext <<_ACEOF
29253 /* confdefs.h. */
29254 _ACEOF
29255 cat confdefs.h >>conftest.$ac_ext
29256 cat >>conftest.$ac_ext <<_ACEOF
29257 /* end confdefs.h. */
29258
29259
29260 #include <$ac_header>
29261 _ACEOF
29262 rm -f conftest.$ac_objext
29263 if { (ac_try="$ac_compile"
29264 case "(($ac_try" in
29265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29266 *) ac_try_echo=$ac_try;;
29267 esac
29268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29269 (eval "$ac_compile") 2>conftest.er1
29270 ac_status=$?
29271 grep -v '^ *+' conftest.er1 >conftest.err
29272 rm -f conftest.er1
29273 cat conftest.err >&5
29274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29275 (exit $ac_status); } && {
29276 test -z "$ac_c_werror_flag" ||
29277 test ! -s conftest.err
29278 } && test -s conftest.$ac_objext; then
29279 eval "$as_ac_Header=yes"
29280 else
29281 echo "$as_me: failed program was:" >&5
29282 sed 's/^/| /' conftest.$ac_ext >&5
29283
29284 eval "$as_ac_Header=no"
29285 fi
29286
29287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29288 fi
29289 ac_res=`eval echo '${'$as_ac_Header'}'`
29290 { echo "$as_me:$LINENO: result: $ac_res" >&5
29291 echo "${ECHO_T}$ac_res" >&6; }
29292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29293 cat >>confdefs.h <<_ACEOF
29294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29295 _ACEOF
29296
29297 fi
29298
29299 done
29300
29301 { echo "$as_me:$LINENO: checking for windows.h" >&5
29302 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29303 if test "${ac_cv_header_windows_h+set}" = set; then
29304 echo $ECHO_N "(cached) $ECHO_C" >&6
29305 else
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
29314 #include <windows.h>
29315 _ACEOF
29316 rm -f conftest.$ac_objext
29317 if { (ac_try="$ac_compile"
29318 case "(($ac_try" in
29319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29320 *) ac_try_echo=$ac_try;;
29321 esac
29322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29323 (eval "$ac_compile") 2>conftest.er1
29324 ac_status=$?
29325 grep -v '^ *+' conftest.er1 >conftest.err
29326 rm -f conftest.er1
29327 cat conftest.err >&5
29328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29329 (exit $ac_status); } && {
29330 test -z "$ac_c_werror_flag" ||
29331 test ! -s conftest.err
29332 } && test -s conftest.$ac_objext; then
29333 ac_cv_header_windows_h=yes
29334 else
29335 echo "$as_me: failed program was:" >&5
29336 sed 's/^/| /' conftest.$ac_ext >&5
29337
29338 ac_cv_header_windows_h=no
29339 fi
29340
29341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29342 fi
29343 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29344 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29345 if test $ac_cv_header_windows_h = yes; then
29346 :
29347 else
29348
29349 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29350 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29351 { (exit 1); exit 1; }; }
29352
29353 fi
29354
29355
29356
29357 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29358 case "${host}" in
29359 x86_64-*-mingw32* )
29360 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29361 ;;
29362 esac
29363 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29364 LIBS="$LIBS -loleacc"
29365 fi
29366
29367 case "${host}" in
29368 *-*-cygwin* )
29369 LIBS="$LIBS -lkernel32 -luser32"
29370 esac
29371
29372 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29373 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29374
29375 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29376
29377 WIN32INSTALL=win32install
29378
29379 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29380 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29381 if test "${ac_cv_header_pbt_h+set}" = set; then
29382 echo $ECHO_N "(cached) $ECHO_C" >&6
29383 else
29384 cat >conftest.$ac_ext <<_ACEOF
29385 /* confdefs.h. */
29386 _ACEOF
29387 cat confdefs.h >>conftest.$ac_ext
29388 cat >>conftest.$ac_ext <<_ACEOF
29389 /* end confdefs.h. */
29390
29391
29392 #include <pbt.h>
29393 _ACEOF
29394 rm -f conftest.$ac_objext
29395 if { (ac_try="$ac_compile"
29396 case "(($ac_try" in
29397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29398 *) ac_try_echo=$ac_try;;
29399 esac
29400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29401 (eval "$ac_compile") 2>conftest.er1
29402 ac_status=$?
29403 grep -v '^ *+' conftest.er1 >conftest.err
29404 rm -f conftest.er1
29405 cat conftest.err >&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); } && {
29408 test -z "$ac_c_werror_flag" ||
29409 test ! -s conftest.err
29410 } && test -s conftest.$ac_objext; then
29411 ac_cv_header_pbt_h=yes
29412 else
29413 echo "$as_me: failed program was:" >&5
29414 sed 's/^/| /' conftest.$ac_ext >&5
29415
29416 ac_cv_header_pbt_h=no
29417 fi
29418
29419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29420 fi
29421 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29422 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29423 if test $ac_cv_header_pbt_h = yes; then
29424 :
29425 else
29426 cat >>confdefs.h <<\_ACEOF
29427 #define NEED_PBT_H 1
29428 _ACEOF
29429
29430 fi
29431
29432
29433 fi
29434
29435 if test "$wxUSE_GUI" = "yes"; then
29436 USE_GUI=1
29437
29438 GUI_TK_LIBRARY=
29439
29440 WXGTK12=
29441 WXGTK127=
29442 WXGTK2=
29443 WXGPE=
29444
29445 if test "$wxUSE_OLD_COCOA" = 1 ; then
29446 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29447 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29448 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29449 wxUSE_PRINTING_ARCHITECTURE=no
29450 fi
29451 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29452 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29453 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29454 wxUSE_DRAG_AND_DROP=no
29455 fi
29456 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29457 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29458 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29459 wxUSE_DRAGIMAGE=no
29460 fi
29461 fi
29462
29463 if test "$wxUSE_MSW" = 1 ; then
29464 TOOLKIT=MSW
29465 GUIDIST=MSW_DIST
29466
29467 case "${host}" in
29468 *-*-mingw32* )
29469 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29470 esac
29471 fi
29472
29473 if test "$wxUSE_GTK" = 1; then
29474 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29475 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29476
29477 gtk_version_cached=1
29478 if test "${wx_cv_lib_gtk+set}" = set; then
29479 echo $ECHO_N "(cached) $ECHO_C" >&6
29480 else
29481
29482 gtk_version_cached=0
29483 { echo "$as_me:$LINENO: result: " >&5
29484 echo "${ECHO_T}" >&6; }
29485
29486 GTK_MODULES=
29487 if test "$wxUSE_THREADS" = "yes"; then
29488 GTK_MODULES=gthread
29489 fi
29490
29491 wx_cv_lib_gtk=
29492 if test "x$wxGTK_VERSION" != "x1"
29493 then
29494 case "${host}" in
29495 *-*-solaris2* )
29496 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29497 enable_gtktest=no
29498 fi
29499 esac
29500
29501 # Check whether --enable-gtktest was given.
29502 if test "${enable_gtktest+set}" = set; then
29503 enableval=$enable_gtktest;
29504 else
29505 enable_gtktest=yes
29506 fi
29507
29508
29509 pkg_config_args=gtk+-2.0
29510 for module in . $GTK_MODULES
29511 do
29512 case "$module" in
29513 gthread)
29514 pkg_config_args="$pkg_config_args gthread-2.0"
29515 ;;
29516 esac
29517 done
29518
29519 no_gtk=""
29520
29521 # Extract the first word of "pkg-config", so it can be a program name with args.
29522 set dummy pkg-config; ac_word=$2
29523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29525 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29526 echo $ECHO_N "(cached) $ECHO_C" >&6
29527 else
29528 case $PKG_CONFIG in
29529 [\\/]* | ?:[\\/]*)
29530 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29531 ;;
29532 *)
29533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29534 for as_dir in $PATH
29535 do
29536 IFS=$as_save_IFS
29537 test -z "$as_dir" && as_dir=.
29538 for ac_exec_ext in '' $ac_executable_extensions; do
29539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29540 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29542 break 2
29543 fi
29544 done
29545 done
29546 IFS=$as_save_IFS
29547
29548 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29549 ;;
29550 esac
29551 fi
29552 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29553 if test -n "$PKG_CONFIG"; then
29554 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29555 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29556 else
29557 { echo "$as_me:$LINENO: result: no" >&5
29558 echo "${ECHO_T}no" >&6; }
29559 fi
29560
29561
29562
29563 if test x$PKG_CONFIG != xno ; then
29564 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29565 :
29566 else
29567 echo "*** pkg-config too old; version 0.7 or better required."
29568 no_gtk=yes
29569 PKG_CONFIG=no
29570 fi
29571 else
29572 no_gtk=yes
29573 fi
29574
29575 min_gtk_version=2.4.0
29576 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29577 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29578
29579 if test x$PKG_CONFIG != xno ; then
29580 ## don't try to run the test against uninstalled libtool libs
29581 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29582 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29583 enable_gtktest=no
29584 fi
29585
29586 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29587 :
29588 else
29589 no_gtk=yes
29590 fi
29591 fi
29592
29593 if test x"$no_gtk" = x ; then
29594 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29595 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29596 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29597 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29598 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29599 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29600 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29601 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29602 if test "x$enable_gtktest" = "xyes" ; then
29603 ac_save_CFLAGS="$CFLAGS"
29604 ac_save_LIBS="$LIBS"
29605 CFLAGS="$CFLAGS $GTK_CFLAGS"
29606 LIBS="$GTK_LIBS $LIBS"
29607 rm -f conf.gtktest
29608 if test "$cross_compiling" = yes; then
29609 echo $ac_n "cross compiling; assumed OK... $ac_c"
29610 else
29611 cat >conftest.$ac_ext <<_ACEOF
29612 /* confdefs.h. */
29613 _ACEOF
29614 cat confdefs.h >>conftest.$ac_ext
29615 cat >>conftest.$ac_ext <<_ACEOF
29616 /* end confdefs.h. */
29617
29618 #include <gtk/gtk.h>
29619 #include <stdio.h>
29620 #include <stdlib.h>
29621
29622 int
29623 main ()
29624 {
29625 int major, minor, micro;
29626 char *tmp_version;
29627
29628 system ("touch conf.gtktest");
29629
29630 /* HP/UX 9 (%@#!) writes to sscanf strings */
29631 tmp_version = g_strdup("$min_gtk_version");
29632 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29633 printf("%s, bad version string\n", "$min_gtk_version");
29634 exit(1);
29635 }
29636
29637 if ((gtk_major_version != $gtk_config_major_version) ||
29638 (gtk_minor_version != $gtk_config_minor_version) ||
29639 (gtk_micro_version != $gtk_config_micro_version))
29640 {
29641 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29642 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29643 gtk_major_version, gtk_minor_version, gtk_micro_version);
29644 printf ("*** was found! If pkg-config was correct, then it is best\n");
29645 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29646 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29647 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29648 printf("*** required on your system.\n");
29649 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29650 printf("*** to point to the correct configuration files\n");
29651 }
29652 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29653 (gtk_minor_version != GTK_MINOR_VERSION) ||
29654 (gtk_micro_version != GTK_MICRO_VERSION))
29655 {
29656 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29657 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29658 printf("*** library (version %d.%d.%d)\n",
29659 gtk_major_version, gtk_minor_version, gtk_micro_version);
29660 }
29661 else
29662 {
29663 if ((gtk_major_version > major) ||
29664 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29665 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29666 {
29667 return 0;
29668 }
29669 else
29670 {
29671 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29672 gtk_major_version, gtk_minor_version, gtk_micro_version);
29673 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29674 major, minor, micro);
29675 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29676 printf("***\n");
29677 printf("*** If you have already installed a sufficiently new version, this error\n");
29678 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29679 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29680 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29681 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29682 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29683 printf("*** so that the correct libraries are found at run-time))\n");
29684 }
29685 }
29686 return 1;
29687 }
29688
29689 _ACEOF
29690 rm -f conftest$ac_exeext
29691 if { (ac_try="$ac_link"
29692 case "(($ac_try" in
29693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29694 *) ac_try_echo=$ac_try;;
29695 esac
29696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29697 (eval "$ac_link") 2>&5
29698 ac_status=$?
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29701 { (case "(($ac_try" in
29702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29703 *) ac_try_echo=$ac_try;;
29704 esac
29705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29706 (eval "$ac_try") 2>&5
29707 ac_status=$?
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); }; }; then
29710 :
29711 else
29712 echo "$as_me: program exited with status $ac_status" >&5
29713 echo "$as_me: failed program was:" >&5
29714 sed 's/^/| /' conftest.$ac_ext >&5
29715
29716 ( exit $ac_status )
29717 no_gtk=yes
29718 fi
29719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29720 fi
29721
29722
29723 CFLAGS="$ac_save_CFLAGS"
29724 LIBS="$ac_save_LIBS"
29725 fi
29726 fi
29727 if test "x$no_gtk" = x ; then
29728 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29729 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29730 wx_cv_lib_gtk=2.0
29731 else
29732 { echo "$as_me:$LINENO: result: no" >&5
29733 echo "${ECHO_T}no" >&6; }
29734 if test "$PKG_CONFIG" = "no" ; then
29735 echo "*** A new enough version of pkg-config was not found."
29736 echo "*** See http://pkgconfig.sourceforge.net"
29737 else
29738 if test -f conf.gtktest ; then
29739 :
29740 else
29741 echo "*** Could not run GTK+ test program, checking why..."
29742 ac_save_CFLAGS="$CFLAGS"
29743 ac_save_LIBS="$LIBS"
29744 CFLAGS="$CFLAGS $GTK_CFLAGS"
29745 LIBS="$LIBS $GTK_LIBS"
29746 cat >conftest.$ac_ext <<_ACEOF
29747 /* confdefs.h. */
29748 _ACEOF
29749 cat confdefs.h >>conftest.$ac_ext
29750 cat >>conftest.$ac_ext <<_ACEOF
29751 /* end confdefs.h. */
29752
29753 #include <gtk/gtk.h>
29754 #include <stdio.h>
29755
29756 int
29757 main ()
29758 {
29759 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29760 ;
29761 return 0;
29762 }
29763 _ACEOF
29764 rm -f conftest.$ac_objext conftest$ac_exeext
29765 if { (ac_try="$ac_link"
29766 case "(($ac_try" in
29767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29768 *) ac_try_echo=$ac_try;;
29769 esac
29770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29771 (eval "$ac_link") 2>conftest.er1
29772 ac_status=$?
29773 grep -v '^ *+' conftest.er1 >conftest.err
29774 rm -f conftest.er1
29775 cat conftest.err >&5
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); } && {
29778 test -z "$ac_c_werror_flag" ||
29779 test ! -s conftest.err
29780 } && test -s conftest$ac_exeext &&
29781 $as_test_x conftest$ac_exeext; then
29782 echo "*** The test program compiled, but did not run. This usually means"
29783 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29784 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29785 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29786 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29787 echo "*** is required on your system"
29788 echo "***"
29789 echo "*** If you have an old version installed, it is best to remove it, although"
29790 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29791 else
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.$ac_ext >&5
29794
29795 echo "*** The test program failed to compile or link. See the file config.log for the"
29796 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29797 fi
29798
29799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29800 conftest$ac_exeext conftest.$ac_ext
29801 CFLAGS="$ac_save_CFLAGS"
29802 LIBS="$ac_save_LIBS"
29803 fi
29804 fi
29805 GTK_CFLAGS=""
29806 GTK_LIBS=""
29807 :
29808 fi
29809
29810
29811 rm -f conf.gtktest
29812
29813
29814 case "${host}" in
29815 *-*-solaris2* )
29816 if test "$wxUSE_SHARED" != "yes"; then
29817 GTK_LIBS="$GTK_LIBS -lX11"
29818 fi
29819 esac
29820 fi
29821
29822 if test -z "$wx_cv_lib_gtk"; then
29823 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29824
29825 # Check whether --with-gtk-prefix was given.
29826 if test "${with_gtk_prefix+set}" = set; then
29827 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29828 else
29829 gtk_config_prefix=""
29830 fi
29831
29832
29833 # Check whether --with-gtk-exec-prefix was given.
29834 if test "${with_gtk_exec_prefix+set}" = set; then
29835 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29836 else
29837 gtk_config_exec_prefix=""
29838 fi
29839
29840 # Check whether --enable-gtktest was given.
29841 if test "${enable_gtktest+set}" = set; then
29842 enableval=$enable_gtktest;
29843 else
29844 enable_gtktest=yes
29845 fi
29846
29847
29848 for module in . $GTK_MODULES
29849 do
29850 case "$module" in
29851 gthread)
29852 gtk_config_args="$gtk_config_args gthread"
29853 ;;
29854 esac
29855 done
29856
29857 if test x$gtk_config_exec_prefix != x ; then
29858 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29859 if test x${GTK_CONFIG+set} != xset ; then
29860 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29861 fi
29862 fi
29863 if test x$gtk_config_prefix != x ; then
29864 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29865 if test x${GTK_CONFIG+set} != xset ; then
29866 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29867 fi
29868 fi
29869
29870 # Extract the first word of "gtk-config", so it can be a program name with args.
29871 set dummy gtk-config; ac_word=$2
29872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29874 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29875 echo $ECHO_N "(cached) $ECHO_C" >&6
29876 else
29877 case $GTK_CONFIG in
29878 [\\/]* | ?:[\\/]*)
29879 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29880 ;;
29881 *)
29882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29883 for as_dir in $PATH
29884 do
29885 IFS=$as_save_IFS
29886 test -z "$as_dir" && as_dir=.
29887 for ac_exec_ext in '' $ac_executable_extensions; do
29888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29889 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29891 break 2
29892 fi
29893 done
29894 done
29895 IFS=$as_save_IFS
29896
29897 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29898 ;;
29899 esac
29900 fi
29901 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29902 if test -n "$GTK_CONFIG"; then
29903 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29904 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29905 else
29906 { echo "$as_me:$LINENO: result: no" >&5
29907 echo "${ECHO_T}no" >&6; }
29908 fi
29909
29910
29911 min_gtk_version=1.2.7
29912 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29913 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29914 no_gtk=""
29915 if test "$GTK_CONFIG" = "no" ; then
29916 no_gtk=yes
29917 else
29918 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29919 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29920 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29922 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29924 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29926 if test "x$enable_gtktest" = "xyes" ; then
29927 ac_save_CFLAGS="$CFLAGS"
29928 ac_save_LIBS="$LIBS"
29929 CFLAGS="$CFLAGS $GTK_CFLAGS"
29930 LIBS="$GTK_LIBS $LIBS"
29931 rm -f conf.gtktest
29932 if test "$cross_compiling" = yes; then
29933 echo $ac_n "cross compiling; assumed OK... $ac_c"
29934 else
29935 cat >conftest.$ac_ext <<_ACEOF
29936 /* confdefs.h. */
29937 _ACEOF
29938 cat confdefs.h >>conftest.$ac_ext
29939 cat >>conftest.$ac_ext <<_ACEOF
29940 /* end confdefs.h. */
29941
29942 #include <gtk/gtk.h>
29943 #include <stdio.h>
29944 #include <stdlib.h>
29945
29946 int
29947 main ()
29948 {
29949 int major, minor, micro;
29950 char *tmp_version;
29951
29952 system ("touch conf.gtktest");
29953
29954 /* HP/UX 9 (%@#!) writes to sscanf strings */
29955 tmp_version = g_strdup("$min_gtk_version");
29956 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29957 printf("%s, bad version string\n", "$min_gtk_version");
29958 exit(1);
29959 }
29960
29961 if ((gtk_major_version != $gtk_config_major_version) ||
29962 (gtk_minor_version != $gtk_config_minor_version) ||
29963 (gtk_micro_version != $gtk_config_micro_version))
29964 {
29965 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29966 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29967 gtk_major_version, gtk_minor_version, gtk_micro_version);
29968 printf ("*** was found! If gtk-config was correct, then it is best\n");
29969 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29970 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29971 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29972 printf("*** required on your system.\n");
29973 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29974 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29975 printf("*** before re-running configure\n");
29976 }
29977 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29978 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29979 (gtk_minor_version != GTK_MINOR_VERSION) ||
29980 (gtk_micro_version != GTK_MICRO_VERSION))
29981 {
29982 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29983 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29984 printf("*** library (version %d.%d.%d)\n",
29985 gtk_major_version, gtk_minor_version, gtk_micro_version);
29986 }
29987 #endif /* defined (GTK_MAJOR_VERSION) ... */
29988 else
29989 {
29990 if ((gtk_major_version > major) ||
29991 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29992 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29993 {
29994 return 0;
29995 }
29996 else
29997 {
29998 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29999 gtk_major_version, gtk_minor_version, gtk_micro_version);
30000 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30001 major, minor, micro);
30002 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30003 printf("***\n");
30004 printf("*** If you have already installed a sufficiently new version, this error\n");
30005 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30006 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30007 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30008 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30009 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30010 printf("*** so that the correct libraries are found at run-time))\n");
30011 }
30012 }
30013 return 1;
30014 }
30015
30016 _ACEOF
30017 rm -f conftest$ac_exeext
30018 if { (ac_try="$ac_link"
30019 case "(($ac_try" in
30020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30021 *) ac_try_echo=$ac_try;;
30022 esac
30023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30024 (eval "$ac_link") 2>&5
30025 ac_status=$?
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30028 { (case "(($ac_try" in
30029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30030 *) ac_try_echo=$ac_try;;
30031 esac
30032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30033 (eval "$ac_try") 2>&5
30034 ac_status=$?
30035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30036 (exit $ac_status); }; }; then
30037 :
30038 else
30039 echo "$as_me: program exited with status $ac_status" >&5
30040 echo "$as_me: failed program was:" >&5
30041 sed 's/^/| /' conftest.$ac_ext >&5
30042
30043 ( exit $ac_status )
30044 no_gtk=yes
30045 fi
30046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30047 fi
30048
30049
30050 CFLAGS="$ac_save_CFLAGS"
30051 LIBS="$ac_save_LIBS"
30052 fi
30053 fi
30054 if test "x$no_gtk" = x ; then
30055 { echo "$as_me:$LINENO: result: yes" >&5
30056 echo "${ECHO_T}yes" >&6; }
30057 wx_cv_lib_gtk=1.2.7
30058 else
30059 { echo "$as_me:$LINENO: result: no" >&5
30060 echo "${ECHO_T}no" >&6; }
30061 if test "$GTK_CONFIG" = "no" ; then
30062 echo "*** The gtk-config script installed by GTK could not be found"
30063 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30064 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30065 echo "*** full path to gtk-config."
30066 else
30067 if test -f conf.gtktest ; then
30068 :
30069 else
30070 echo "*** Could not run GTK test program, checking why..."
30071 CFLAGS="$CFLAGS $GTK_CFLAGS"
30072 LIBS="$LIBS $GTK_LIBS"
30073 cat >conftest.$ac_ext <<_ACEOF
30074 /* confdefs.h. */
30075 _ACEOF
30076 cat confdefs.h >>conftest.$ac_ext
30077 cat >>conftest.$ac_ext <<_ACEOF
30078 /* end confdefs.h. */
30079
30080 #include <gtk/gtk.h>
30081 #include <stdio.h>
30082
30083 int
30084 main ()
30085 {
30086 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30087 ;
30088 return 0;
30089 }
30090 _ACEOF
30091 rm -f conftest.$ac_objext conftest$ac_exeext
30092 if { (ac_try="$ac_link"
30093 case "(($ac_try" in
30094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30095 *) ac_try_echo=$ac_try;;
30096 esac
30097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30098 (eval "$ac_link") 2>conftest.er1
30099 ac_status=$?
30100 grep -v '^ *+' conftest.er1 >conftest.err
30101 rm -f conftest.er1
30102 cat conftest.err >&5
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); } && {
30105 test -z "$ac_c_werror_flag" ||
30106 test ! -s conftest.err
30107 } && test -s conftest$ac_exeext &&
30108 $as_test_x conftest$ac_exeext; then
30109 echo "*** The test program compiled, but did not run. This usually means"
30110 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30111 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30112 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30113 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30114 echo "*** is required on your system"
30115 echo "***"
30116 echo "*** If you have an old version installed, it is best to remove it, although"
30117 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30118 echo "***"
30119 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30120 echo "*** came with the system with the command"
30121 echo "***"
30122 echo "*** rpm --erase --nodeps gtk gtk-devel"
30123 else
30124 echo "$as_me: failed program was:" >&5
30125 sed 's/^/| /' conftest.$ac_ext >&5
30126
30127 echo "*** The test program failed to compile or link. See the file config.log for the"
30128 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30129 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30130 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30131 fi
30132
30133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30134 conftest$ac_exeext conftest.$ac_ext
30135 CFLAGS="$ac_save_CFLAGS"
30136 LIBS="$ac_save_LIBS"
30137 fi
30138 fi
30139 GTK_CFLAGS=""
30140 GTK_LIBS=""
30141 :
30142 fi
30143
30144
30145 rm -f conf.gtktest
30146
30147
30148 if test -z "$wx_cv_lib_gtk"; then
30149
30150 # Check whether --with-gtk-prefix was given.
30151 if test "${with_gtk_prefix+set}" = set; then
30152 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30153 else
30154 gtk_config_prefix=""
30155 fi
30156
30157
30158 # Check whether --with-gtk-exec-prefix was given.
30159 if test "${with_gtk_exec_prefix+set}" = set; then
30160 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30161 else
30162 gtk_config_exec_prefix=""
30163 fi
30164
30165 # Check whether --enable-gtktest was given.
30166 if test "${enable_gtktest+set}" = set; then
30167 enableval=$enable_gtktest;
30168 else
30169 enable_gtktest=yes
30170 fi
30171
30172
30173 for module in . $GTK_MODULES
30174 do
30175 case "$module" in
30176 gthread)
30177 gtk_config_args="$gtk_config_args gthread"
30178 ;;
30179 esac
30180 done
30181
30182 if test x$gtk_config_exec_prefix != x ; then
30183 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30184 if test x${GTK_CONFIG+set} != xset ; then
30185 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30186 fi
30187 fi
30188 if test x$gtk_config_prefix != x ; then
30189 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30190 if test x${GTK_CONFIG+set} != xset ; then
30191 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30192 fi
30193 fi
30194
30195 # Extract the first word of "gtk-config", so it can be a program name with args.
30196 set dummy gtk-config; ac_word=$2
30197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30199 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30200 echo $ECHO_N "(cached) $ECHO_C" >&6
30201 else
30202 case $GTK_CONFIG in
30203 [\\/]* | ?:[\\/]*)
30204 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30205 ;;
30206 *)
30207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30208 for as_dir in $PATH
30209 do
30210 IFS=$as_save_IFS
30211 test -z "$as_dir" && as_dir=.
30212 for ac_exec_ext in '' $ac_executable_extensions; do
30213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30214 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30216 break 2
30217 fi
30218 done
30219 done
30220 IFS=$as_save_IFS
30221
30222 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30223 ;;
30224 esac
30225 fi
30226 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30227 if test -n "$GTK_CONFIG"; then
30228 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30229 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30230 else
30231 { echo "$as_me:$LINENO: result: no" >&5
30232 echo "${ECHO_T}no" >&6; }
30233 fi
30234
30235
30236 min_gtk_version=1.2.3
30237 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30238 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30239 no_gtk=""
30240 if test "$GTK_CONFIG" = "no" ; then
30241 no_gtk=yes
30242 else
30243 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30244 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30245 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30246 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30247 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30248 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30249 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30250 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30251 if test "x$enable_gtktest" = "xyes" ; then
30252 ac_save_CFLAGS="$CFLAGS"
30253 ac_save_LIBS="$LIBS"
30254 CFLAGS="$CFLAGS $GTK_CFLAGS"
30255 LIBS="$GTK_LIBS $LIBS"
30256 rm -f conf.gtktest
30257 if test "$cross_compiling" = yes; then
30258 echo $ac_n "cross compiling; assumed OK... $ac_c"
30259 else
30260 cat >conftest.$ac_ext <<_ACEOF
30261 /* confdefs.h. */
30262 _ACEOF
30263 cat confdefs.h >>conftest.$ac_ext
30264 cat >>conftest.$ac_ext <<_ACEOF
30265 /* end confdefs.h. */
30266
30267 #include <gtk/gtk.h>
30268 #include <stdio.h>
30269 #include <stdlib.h>
30270
30271 int
30272 main ()
30273 {
30274 int major, minor, micro;
30275 char *tmp_version;
30276
30277 system ("touch conf.gtktest");
30278
30279 /* HP/UX 9 (%@#!) writes to sscanf strings */
30280 tmp_version = g_strdup("$min_gtk_version");
30281 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30282 printf("%s, bad version string\n", "$min_gtk_version");
30283 exit(1);
30284 }
30285
30286 if ((gtk_major_version != $gtk_config_major_version) ||
30287 (gtk_minor_version != $gtk_config_minor_version) ||
30288 (gtk_micro_version != $gtk_config_micro_version))
30289 {
30290 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30291 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30292 gtk_major_version, gtk_minor_version, gtk_micro_version);
30293 printf ("*** was found! If gtk-config was correct, then it is best\n");
30294 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30295 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30296 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30297 printf("*** required on your system.\n");
30298 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30299 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30300 printf("*** before re-running configure\n");
30301 }
30302 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30303 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30304 (gtk_minor_version != GTK_MINOR_VERSION) ||
30305 (gtk_micro_version != GTK_MICRO_VERSION))
30306 {
30307 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30308 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30309 printf("*** library (version %d.%d.%d)\n",
30310 gtk_major_version, gtk_minor_version, gtk_micro_version);
30311 }
30312 #endif /* defined (GTK_MAJOR_VERSION) ... */
30313 else
30314 {
30315 if ((gtk_major_version > major) ||
30316 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30317 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30318 {
30319 return 0;
30320 }
30321 else
30322 {
30323 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30324 gtk_major_version, gtk_minor_version, gtk_micro_version);
30325 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30326 major, minor, micro);
30327 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30328 printf("***\n");
30329 printf("*** If you have already installed a sufficiently new version, this error\n");
30330 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30331 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30332 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30333 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30334 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30335 printf("*** so that the correct libraries are found at run-time))\n");
30336 }
30337 }
30338 return 1;
30339 }
30340
30341 _ACEOF
30342 rm -f conftest$ac_exeext
30343 if { (ac_try="$ac_link"
30344 case "(($ac_try" in
30345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30346 *) ac_try_echo=$ac_try;;
30347 esac
30348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30349 (eval "$ac_link") 2>&5
30350 ac_status=$?
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30353 { (case "(($ac_try" in
30354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30355 *) ac_try_echo=$ac_try;;
30356 esac
30357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30358 (eval "$ac_try") 2>&5
30359 ac_status=$?
30360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361 (exit $ac_status); }; }; then
30362 :
30363 else
30364 echo "$as_me: program exited with status $ac_status" >&5
30365 echo "$as_me: failed program was:" >&5
30366 sed 's/^/| /' conftest.$ac_ext >&5
30367
30368 ( exit $ac_status )
30369 no_gtk=yes
30370 fi
30371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30372 fi
30373
30374
30375 CFLAGS="$ac_save_CFLAGS"
30376 LIBS="$ac_save_LIBS"
30377 fi
30378 fi
30379 if test "x$no_gtk" = x ; then
30380 { echo "$as_me:$LINENO: result: yes" >&5
30381 echo "${ECHO_T}yes" >&6; }
30382 wx_cv_lib_gtk=1.2.3
30383 else
30384 { echo "$as_me:$LINENO: result: no" >&5
30385 echo "${ECHO_T}no" >&6; }
30386 if test "$GTK_CONFIG" = "no" ; then
30387 echo "*** The gtk-config script installed by GTK could not be found"
30388 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30389 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30390 echo "*** full path to gtk-config."
30391 else
30392 if test -f conf.gtktest ; then
30393 :
30394 else
30395 echo "*** Could not run GTK test program, checking why..."
30396 CFLAGS="$CFLAGS $GTK_CFLAGS"
30397 LIBS="$LIBS $GTK_LIBS"
30398 cat >conftest.$ac_ext <<_ACEOF
30399 /* confdefs.h. */
30400 _ACEOF
30401 cat confdefs.h >>conftest.$ac_ext
30402 cat >>conftest.$ac_ext <<_ACEOF
30403 /* end confdefs.h. */
30404
30405 #include <gtk/gtk.h>
30406 #include <stdio.h>
30407
30408 int
30409 main ()
30410 {
30411 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30412 ;
30413 return 0;
30414 }
30415 _ACEOF
30416 rm -f conftest.$ac_objext conftest$ac_exeext
30417 if { (ac_try="$ac_link"
30418 case "(($ac_try" in
30419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30420 *) ac_try_echo=$ac_try;;
30421 esac
30422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30423 (eval "$ac_link") 2>conftest.er1
30424 ac_status=$?
30425 grep -v '^ *+' conftest.er1 >conftest.err
30426 rm -f conftest.er1
30427 cat conftest.err >&5
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); } && {
30430 test -z "$ac_c_werror_flag" ||
30431 test ! -s conftest.err
30432 } && test -s conftest$ac_exeext &&
30433 $as_test_x conftest$ac_exeext; then
30434 echo "*** The test program compiled, but did not run. This usually means"
30435 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30436 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30437 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30438 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30439 echo "*** is required on your system"
30440 echo "***"
30441 echo "*** If you have an old version installed, it is best to remove it, although"
30442 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30443 echo "***"
30444 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30445 echo "*** came with the system with the command"
30446 echo "***"
30447 echo "*** rpm --erase --nodeps gtk gtk-devel"
30448 else
30449 echo "$as_me: failed program was:" >&5
30450 sed 's/^/| /' conftest.$ac_ext >&5
30451
30452 echo "*** The test program failed to compile or link. See the file config.log for the"
30453 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30454 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30455 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30456 fi
30457
30458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30459 conftest$ac_exeext conftest.$ac_ext
30460 CFLAGS="$ac_save_CFLAGS"
30461 LIBS="$ac_save_LIBS"
30462 fi
30463 fi
30464 GTK_CFLAGS=""
30465 GTK_LIBS=""
30466 :
30467 fi
30468
30469
30470 rm -f conf.gtktest
30471
30472 fi
30473 fi
30474 fi
30475
30476 if test -z "$wx_cv_lib_gtk"; then
30477 wx_cv_lib_gtk=none
30478 else
30479 wx_cv_cflags_gtk=$GTK_CFLAGS
30480 wx_cv_libs_gtk=$GTK_LIBS
30481 fi
30482
30483
30484 fi
30485
30486
30487 if test "$gtk_version_cached" = 1; then
30488 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30489 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30490 fi
30491
30492 case "$wx_cv_lib_gtk" in
30493 2.0) WXGTK2=1
30494 TOOLKIT_VERSION=2
30495 ;;
30496 1.2.7) WXGTK127=1
30497 WXGTK12=1
30498 ;;
30499 1.2.3) WXGTK12=1
30500 ;;
30501 *) { { echo "$as_me:$LINENO: error:
30502 The development files for GTK+ were not found. For GTK+ 2, please
30503 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30504 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30505 and that the version is 1.2.3 or above. Also check that the
30506 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30507 --libs' are in the LD_LIBRARY_PATH or equivalent.
30508 " >&5
30509 echo "$as_me: error:
30510 The development files for GTK+ were not found. For GTK+ 2, please
30511 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30512 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30513 and that the version is 1.2.3 or above. Also check that the
30514 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30515 --libs' are in the LD_LIBRARY_PATH or equivalent.
30516 " >&2;}
30517 { (exit 1); exit 1; }; }
30518 ;;
30519 esac
30520
30521 if test "$WXGTK2" = 1; then
30522 save_CFLAGS="$CFLAGS"
30523 save_LIBS="$LIBS"
30524 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30525 LIBS="$LIBS $wx_cv_libs_gtk"
30526
30527 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30528 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
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 #include <gtk/gtk.h>
30537
30538 int
30539 main ()
30540 {
30541
30542 #if !GTK_CHECK_VERSION(2,18,0)
30543 Not GTK+ 2.18
30544 #endif
30545
30546 ;
30547 return 0;
30548 }
30549 _ACEOF
30550 rm -f conftest.$ac_objext
30551 if { (ac_try="$ac_compile"
30552 case "(($ac_try" in
30553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30554 *) ac_try_echo=$ac_try;;
30555 esac
30556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30557 (eval "$ac_compile") 2>conftest.er1
30558 ac_status=$?
30559 grep -v '^ *+' conftest.er1 >conftest.err
30560 rm -f conftest.er1
30561 cat conftest.err >&5
30562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30563 (exit $ac_status); } && {
30564 test -z "$ac_c_werror_flag" ||
30565 test ! -s conftest.err
30566 } && test -s conftest.$ac_objext; then
30567
30568 cat >>confdefs.h <<\_ACEOF
30569 #define __WXGTK218__ 1
30570 _ACEOF
30571
30572 cat >>confdefs.h <<\_ACEOF
30573 #define __WXGTK210__ 1
30574 _ACEOF
30575
30576 cat >>confdefs.h <<\_ACEOF
30577 #define __WXGTK26__ 1
30578 _ACEOF
30579
30580 { echo "$as_me:$LINENO: result: yes" >&5
30581 echo "${ECHO_T}yes" >&6; }
30582 ac_wxgtk218=1
30583
30584 else
30585 echo "$as_me: failed program was:" >&5
30586 sed 's/^/| /' conftest.$ac_ext >&5
30587
30588
30589 { echo "$as_me:$LINENO: result: no" >&5
30590 echo "${ECHO_T}no" >&6; }
30591 ac_wxgtk218=0
30592
30593 fi
30594
30595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30596
30597 if test "$ac_wxgtk218" = 0; then
30598 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30599 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30600 cat >conftest.$ac_ext <<_ACEOF
30601 /* confdefs.h. */
30602 _ACEOF
30603 cat confdefs.h >>conftest.$ac_ext
30604 cat >>conftest.$ac_ext <<_ACEOF
30605 /* end confdefs.h. */
30606
30607 #include <gtk/gtk.h>
30608
30609 int
30610 main ()
30611 {
30612
30613 #if !GTK_CHECK_VERSION(2,10,0)
30614 Not GTK+ 2.10
30615 #endif
30616
30617 ;
30618 return 0;
30619 }
30620 _ACEOF
30621 rm -f conftest.$ac_objext
30622 if { (ac_try="$ac_compile"
30623 case "(($ac_try" in
30624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30625 *) ac_try_echo=$ac_try;;
30626 esac
30627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30628 (eval "$ac_compile") 2>conftest.er1
30629 ac_status=$?
30630 grep -v '^ *+' conftest.er1 >conftest.err
30631 rm -f conftest.er1
30632 cat conftest.err >&5
30633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30634 (exit $ac_status); } && {
30635 test -z "$ac_c_werror_flag" ||
30636 test ! -s conftest.err
30637 } && test -s conftest.$ac_objext; then
30638
30639 cat >>confdefs.h <<\_ACEOF
30640 #define __WXGTK210__ 1
30641 _ACEOF
30642
30643 cat >>confdefs.h <<\_ACEOF
30644 #define __WXGTK26__ 1
30645 _ACEOF
30646
30647 { echo "$as_me:$LINENO: result: yes" >&5
30648 echo "${ECHO_T}yes" >&6; }
30649 ac_wxgtk210=1
30650
30651 else
30652 echo "$as_me: failed program was:" >&5
30653 sed 's/^/| /' conftest.$ac_ext >&5
30654
30655
30656 { echo "$as_me:$LINENO: result: no" >&5
30657 echo "${ECHO_T}no" >&6; }
30658 ac_wxgtk210=0
30659
30660 fi
30661
30662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30663
30664 if test "$ac_wxgtk210" = 0; then
30665 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30666 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30667 cat >conftest.$ac_ext <<_ACEOF
30668 /* confdefs.h. */
30669 _ACEOF
30670 cat confdefs.h >>conftest.$ac_ext
30671 cat >>conftest.$ac_ext <<_ACEOF
30672 /* end confdefs.h. */
30673
30674 #include <gtk/gtk.h>
30675
30676 int
30677 main ()
30678 {
30679
30680 #if !GTK_CHECK_VERSION(2,6,0)
30681 Not GTK+ 2.6
30682 #endif
30683
30684 ;
30685 return 0;
30686 }
30687 _ACEOF
30688 rm -f conftest.$ac_objext
30689 if { (ac_try="$ac_compile"
30690 case "(($ac_try" in
30691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30692 *) ac_try_echo=$ac_try;;
30693 esac
30694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30695 (eval "$ac_compile") 2>conftest.er1
30696 ac_status=$?
30697 grep -v '^ *+' conftest.er1 >conftest.err
30698 rm -f conftest.er1
30699 cat conftest.err >&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); } && {
30702 test -z "$ac_c_werror_flag" ||
30703 test ! -s conftest.err
30704 } && test -s conftest.$ac_objext; then
30705
30706 cat >>confdefs.h <<\_ACEOF
30707 #define __WXGTK26__ 1
30708 _ACEOF
30709
30710 { echo "$as_me:$LINENO: result: yes" >&5
30711 echo "${ECHO_T}yes" >&6; }
30712 ac_wxgtk26=1
30713
30714 else
30715 echo "$as_me: failed program was:" >&5
30716 sed 's/^/| /' conftest.$ac_ext >&5
30717
30718
30719 { echo "$as_me:$LINENO: result: no" >&5
30720 echo "${ECHO_T}no" >&6; }
30721 ac_wxgtk26=0
30722
30723 fi
30724
30725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30726 fi
30727 fi
30728
30729 CFLAGS="$save_CFLAGS"
30730 LIBS="$save_LIBS"
30731 else
30732 if test "$wxUSE_UNICODE" = "yes"; then
30733 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30734 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30735 wxUSE_UNICODE=no
30736 fi
30737
30738 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30739 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30740 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30741 echo $ECHO_N "(cached) $ECHO_C" >&6
30742 else
30743 ac_check_lib_save_LIBS=$LIBS
30744 LIBS="-lgdk $LIBS"
30745 cat >conftest.$ac_ext <<_ACEOF
30746 /* confdefs.h. */
30747 _ACEOF
30748 cat confdefs.h >>conftest.$ac_ext
30749 cat >>conftest.$ac_ext <<_ACEOF
30750 /* end confdefs.h. */
30751
30752 /* Override any GCC internal prototype to avoid an error.
30753 Use char because int might match the return type of a GCC
30754 builtin and then its argument prototype would still apply. */
30755 #ifdef __cplusplus
30756 extern "C"
30757 #endif
30758 char gdk_im_open ();
30759 int
30760 main ()
30761 {
30762 return gdk_im_open ();
30763 ;
30764 return 0;
30765 }
30766 _ACEOF
30767 rm -f conftest.$ac_objext conftest$ac_exeext
30768 if { (ac_try="$ac_link"
30769 case "(($ac_try" in
30770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30771 *) ac_try_echo=$ac_try;;
30772 esac
30773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30774 (eval "$ac_link") 2>conftest.er1
30775 ac_status=$?
30776 grep -v '^ *+' conftest.er1 >conftest.err
30777 rm -f conftest.er1
30778 cat conftest.err >&5
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); } && {
30781 test -z "$ac_c_werror_flag" ||
30782 test ! -s conftest.err
30783 } && test -s conftest$ac_exeext &&
30784 $as_test_x conftest$ac_exeext; then
30785 ac_cv_lib_gdk_gdk_im_open=yes
30786 else
30787 echo "$as_me: failed program was:" >&5
30788 sed 's/^/| /' conftest.$ac_ext >&5
30789
30790 ac_cv_lib_gdk_gdk_im_open=no
30791 fi
30792
30793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30794 conftest$ac_exeext conftest.$ac_ext
30795 LIBS=$ac_check_lib_save_LIBS
30796 fi
30797 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30798 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30799 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30800 cat >>confdefs.h <<\_ACEOF
30801 #define HAVE_XIM 1
30802 _ACEOF
30803
30804 fi
30805
30806
30807 if test "$USE_DARWIN" != 1; then
30808
30809 for ac_func in poll
30810 do
30811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30812 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30814 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30815 echo $ECHO_N "(cached) $ECHO_C" >&6
30816 else
30817 cat >conftest.$ac_ext <<_ACEOF
30818 /* confdefs.h. */
30819 _ACEOF
30820 cat confdefs.h >>conftest.$ac_ext
30821 cat >>conftest.$ac_ext <<_ACEOF
30822 /* end confdefs.h. */
30823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30825 #define $ac_func innocuous_$ac_func
30826
30827 /* System header to define __stub macros and hopefully few prototypes,
30828 which can conflict with char $ac_func (); below.
30829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30830 <limits.h> exists even on freestanding compilers. */
30831
30832 #ifdef __STDC__
30833 # include <limits.h>
30834 #else
30835 # include <assert.h>
30836 #endif
30837
30838 #undef $ac_func
30839
30840 /* Override any GCC internal prototype to avoid an error.
30841 Use char because int might match the return type of a GCC
30842 builtin and then its argument prototype would still apply. */
30843 #ifdef __cplusplus
30844 extern "C"
30845 #endif
30846 char $ac_func ();
30847 /* The GNU C library defines this for functions which it implements
30848 to always fail with ENOSYS. Some functions are actually named
30849 something starting with __ and the normal name is an alias. */
30850 #if defined __stub_$ac_func || defined __stub___$ac_func
30851 choke me
30852 #endif
30853
30854 int
30855 main ()
30856 {
30857 return $ac_func ();
30858 ;
30859 return 0;
30860 }
30861 _ACEOF
30862 rm -f conftest.$ac_objext conftest$ac_exeext
30863 if { (ac_try="$ac_link"
30864 case "(($ac_try" in
30865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30866 *) ac_try_echo=$ac_try;;
30867 esac
30868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30869 (eval "$ac_link") 2>conftest.er1
30870 ac_status=$?
30871 grep -v '^ *+' conftest.er1 >conftest.err
30872 rm -f conftest.er1
30873 cat conftest.err >&5
30874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30875 (exit $ac_status); } && {
30876 test -z "$ac_c_werror_flag" ||
30877 test ! -s conftest.err
30878 } && test -s conftest$ac_exeext &&
30879 $as_test_x conftest$ac_exeext; then
30880 eval "$as_ac_var=yes"
30881 else
30882 echo "$as_me: failed program was:" >&5
30883 sed 's/^/| /' conftest.$ac_ext >&5
30884
30885 eval "$as_ac_var=no"
30886 fi
30887
30888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30889 conftest$ac_exeext conftest.$ac_ext
30890 fi
30891 ac_res=`eval echo '${'$as_ac_var'}'`
30892 { echo "$as_me:$LINENO: result: $ac_res" >&5
30893 echo "${ECHO_T}$ac_res" >&6; }
30894 if test `eval echo '${'$as_ac_var'}'` = yes; then
30895 cat >>confdefs.h <<_ACEOF
30896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30897 _ACEOF
30898
30899 fi
30900 done
30901
30902 fi
30903 fi
30904
30905 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30906 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30907
30908 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30909
30910 AFMINSTALL=afminstall
30911 TOOLKIT=GTK
30912 GUIDIST=GTK_DIST
30913
30914 if test "$wxUSE_GPE" = "yes"; then
30915 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30916 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30917
30918 ac_find_libraries=
30919 for ac_dir in $SEARCH_LIB;
30920 do
30921 for ac_extension in a so sl dylib dll.a; do
30922 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30923 ac_find_libraries=$ac_dir
30924 break 2
30925 fi
30926 done
30927 done
30928
30929 if test "$ac_find_libraries" != "" ; then
30930
30931 if test "$ac_find_libraries" = "default location"; then
30932 ac_path_to_link=""
30933 else
30934 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30935 result=$?
30936 if test $result = 0; then
30937 ac_path_to_link=""
30938 else
30939 ac_path_to_link=" -L$ac_find_libraries"
30940 fi
30941 fi
30942
30943 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30944 WXGPE=1
30945 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30946 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30947 else
30948 { echo "$as_me:$LINENO: result: not found" >&5
30949 echo "${ECHO_T}not found" >&6; }
30950 fi
30951
30952 fi
30953 fi
30954
30955 if test "$wxUSE_MGL" = 1; then
30956 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30957 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30958 if test "x$MGL_ROOT" = x ; then
30959 { echo "$as_me:$LINENO: result: not found" >&5
30960 echo "${ECHO_T}not found" >&6; }
30961 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30962 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30963 { (exit 1); exit 1; }; }
30964 else
30965 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30966 echo "${ECHO_T}$MGL_ROOT" >&6; }
30967 fi
30968
30969 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30970 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30971 case "${host}" in
30972 *-*-linux* )
30973 if test "x$wxUSE_SHARED" = xyes ; then
30974 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30975 else
30976 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30977 fi
30978 ;;
30979 *-pc-msdosdjgpp )
30980 mgl_os_candidates="dos32/dj2"
30981 ;;
30982 *)
30983 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30984 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30985 { (exit 1); exit 1; }; }
30986 esac
30987
30988 mgl_lib_type=""
30989 mgl_os=""
30990
30991 for mgl_os_i in $mgl_os_candidates ; do
30992 if test "x$mgl_os" = x ; then
30993 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30994 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30995 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30996 mgl_lib_type=debug
30997 mgl_os=$mgl_os_i
30998 fi
30999 fi
31000 if test "x$mgl_lib_type" = x ; then
31001 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31002 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31003 mgl_lib_type=release
31004 mgl_os=$mgl_os_i
31005 fi
31006 fi
31007 fi
31008 done
31009
31010 if test "x$mgl_os" = x ; then
31011 { echo "$as_me:$LINENO: result: not found" >&5
31012 echo "${ECHO_T}not found" >&6; }
31013 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31014 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31015 { (exit 1); exit 1; }; }
31016 fi
31017 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31018 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31019
31020 wxUSE_UNIVERSAL="yes"
31021
31022 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31023 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31024
31025 AFMINSTALL=afminstall
31026 TOOLKIT=MGL
31027 GUIDIST=MGL_DIST
31028 fi
31029
31030 if test "$wxUSE_DFB" = 1; then
31031
31032
31033 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31034 if test -n "$ac_tool_prefix"; then
31035 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31036 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31039 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31040 echo $ECHO_N "(cached) $ECHO_C" >&6
31041 else
31042 case $PKG_CONFIG in
31043 [\\/]* | ?:[\\/]*)
31044 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31045 ;;
31046 *)
31047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31048 for as_dir in $PATH
31049 do
31050 IFS=$as_save_IFS
31051 test -z "$as_dir" && as_dir=.
31052 for ac_exec_ext in '' $ac_executable_extensions; do
31053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31054 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31056 break 2
31057 fi
31058 done
31059 done
31060 IFS=$as_save_IFS
31061
31062 ;;
31063 esac
31064 fi
31065 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31066 if test -n "$PKG_CONFIG"; then
31067 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31068 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31069 else
31070 { echo "$as_me:$LINENO: result: no" >&5
31071 echo "${ECHO_T}no" >&6; }
31072 fi
31073
31074
31075 fi
31076 if test -z "$ac_cv_path_PKG_CONFIG"; then
31077 ac_pt_PKG_CONFIG=$PKG_CONFIG
31078 # Extract the first word of "pkg-config", so it can be a program name with args.
31079 set dummy pkg-config; ac_word=$2
31080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31082 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31083 echo $ECHO_N "(cached) $ECHO_C" >&6
31084 else
31085 case $ac_pt_PKG_CONFIG in
31086 [\\/]* | ?:[\\/]*)
31087 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31088 ;;
31089 *)
31090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31091 for as_dir in $PATH
31092 do
31093 IFS=$as_save_IFS
31094 test -z "$as_dir" && as_dir=.
31095 for ac_exec_ext in '' $ac_executable_extensions; do
31096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31097 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31099 break 2
31100 fi
31101 done
31102 done
31103 IFS=$as_save_IFS
31104
31105 ;;
31106 esac
31107 fi
31108 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31109 if test -n "$ac_pt_PKG_CONFIG"; then
31110 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31111 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31112 else
31113 { echo "$as_me:$LINENO: result: no" >&5
31114 echo "${ECHO_T}no" >&6; }
31115 fi
31116
31117 if test "x$ac_pt_PKG_CONFIG" = x; then
31118 PKG_CONFIG=""
31119 else
31120 case $cross_compiling:$ac_tool_warned in
31121 yes:)
31122 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31123 whose name does not start with the host triplet. If you think this
31124 configuration is useful to you, please write to autoconf@gnu.org." >&5
31125 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31126 whose name does not start with the host triplet. If you think this
31127 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31128 ac_tool_warned=yes ;;
31129 esac
31130 PKG_CONFIG=$ac_pt_PKG_CONFIG
31131 fi
31132 else
31133 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31134 fi
31135
31136 fi
31137 if test -n "$PKG_CONFIG"; then
31138 _pkg_min_version=0.9.0
31139 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31140 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31141 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31142 { echo "$as_me:$LINENO: result: yes" >&5
31143 echo "${ECHO_T}yes" >&6; }
31144 else
31145 { echo "$as_me:$LINENO: result: no" >&5
31146 echo "${ECHO_T}no" >&6; }
31147 PKG_CONFIG=""
31148 fi
31149
31150 fi
31151
31152
31153 pkg_failed=no
31154 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31155 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31156
31157 if test -n "$PKG_CONFIG"; then
31158 if test -n "$DIRECTFB_CFLAGS"; then
31159 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31160 else
31161 if test -n "$PKG_CONFIG" && \
31162 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31163 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31164 ac_status=$?
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); }; then
31167 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31168 else
31169 pkg_failed=yes
31170 fi
31171 fi
31172 else
31173 pkg_failed=untried
31174 fi
31175 if test -n "$PKG_CONFIG"; then
31176 if test -n "$DIRECTFB_LIBS"; then
31177 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31178 else
31179 if test -n "$PKG_CONFIG" && \
31180 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31181 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31182 ac_status=$?
31183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31184 (exit $ac_status); }; then
31185 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31186 else
31187 pkg_failed=yes
31188 fi
31189 fi
31190 else
31191 pkg_failed=untried
31192 fi
31193
31194
31195
31196 if test $pkg_failed = yes; then
31197
31198 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31199 _pkg_short_errors_supported=yes
31200 else
31201 _pkg_short_errors_supported=no
31202 fi
31203 if test $_pkg_short_errors_supported = yes; then
31204 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31205 else
31206 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31207 fi
31208 # Put the nasty error message in config.log where it belongs
31209 echo "$DIRECTFB_PKG_ERRORS" >&5
31210
31211
31212 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31213 echo "$as_me: error: DirectFB not found." >&2;}
31214 { (exit 1); exit 1; }; }
31215
31216
31217 elif test $pkg_failed = untried; then
31218
31219 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31220 echo "$as_me: error: DirectFB not found." >&2;}
31221 { (exit 1); exit 1; }; }
31222
31223
31224 else
31225 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31226 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31227 { echo "$as_me:$LINENO: result: yes" >&5
31228 echo "${ECHO_T}yes" >&6; }
31229
31230 wxUSE_UNIVERSAL="yes"
31231 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31232 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31233 TOOLKIT=DFB
31234 GUIDIST=DFB_DIST
31235
31236 fi
31237 fi
31238
31239 if test "$wxUSE_MICROWIN" = 1; then
31240 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31241 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31242 if test "x$MICROWINDOWS" = x ; then
31243 { echo "$as_me:$LINENO: result: not found" >&5
31244 echo "${ECHO_T}not found" >&6; }
31245 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31246 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31247 { (exit 1); exit 1; }; }
31248 else
31249 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31250 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31251 fi
31252
31253 if test -f $MICROWINDOWS/lib/libmwin.a; then
31254 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31255 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31256 else
31257 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31258 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31259 { (exit 1); exit 1; }; }
31260 fi
31261
31262 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31263 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31264
31265 wxUSE_UNIVERSAL="yes"
31266
31267 AFMINSTALL=afminstall
31268 TOOLKIT=MICROWIN
31269 GUIDIST=MICROWIN_DIST
31270
31271 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31272 fi
31273
31274 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31275 { echo "$as_me:$LINENO: checking for X" >&5
31276 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31277
31278
31279 # Check whether --with-x was given.
31280 if test "${with_x+set}" = set; then
31281 withval=$with_x;
31282 fi
31283
31284 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31285 if test "x$with_x" = xno; then
31286 # The user explicitly disabled X.
31287 have_x=disabled
31288 else
31289 case $x_includes,$x_libraries in #(
31290 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31291 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31292 { (exit 1); exit 1; }; };; #(
31293 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31294 echo $ECHO_N "(cached) $ECHO_C" >&6
31295 else
31296 # One or both of the vars are not set, and there is no cached value.
31297 ac_x_includes=no ac_x_libraries=no
31298 rm -f -r conftest.dir
31299 if mkdir conftest.dir; then
31300 cd conftest.dir
31301 cat >Imakefile <<'_ACEOF'
31302 incroot:
31303 @echo incroot='${INCROOT}'
31304 usrlibdir:
31305 @echo usrlibdir='${USRLIBDIR}'
31306 libdir:
31307 @echo libdir='${LIBDIR}'
31308 _ACEOF
31309 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31310 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31311 for ac_var in incroot usrlibdir libdir; do
31312 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31313 done
31314 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31315 for ac_extension in a so sl; do
31316 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31317 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31318 ac_im_usrlibdir=$ac_im_libdir; break
31319 fi
31320 done
31321 # Screen out bogus values from the imake configuration. They are
31322 # bogus both because they are the default anyway, and because
31323 # using them would break gcc on systems where it needs fixed includes.
31324 case $ac_im_incroot in
31325 /usr/include) ac_x_includes= ;;
31326 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31327 esac
31328 case $ac_im_usrlibdir in
31329 /usr/lib | /lib) ;;
31330 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31331 esac
31332 fi
31333 cd ..
31334 rm -f -r conftest.dir
31335 fi
31336
31337 # Standard set of common directories for X headers.
31338 # Check X11 before X11Rn because it is often a symlink to the current release.
31339 ac_x_header_dirs='
31340 /usr/X11/include
31341 /usr/X11R6/include
31342 /usr/X11R5/include
31343 /usr/X11R4/include
31344
31345 /usr/include/X11
31346 /usr/include/X11R6
31347 /usr/include/X11R5
31348 /usr/include/X11R4
31349
31350 /usr/local/X11/include
31351 /usr/local/X11R6/include
31352 /usr/local/X11R5/include
31353 /usr/local/X11R4/include
31354
31355 /usr/local/include/X11
31356 /usr/local/include/X11R6
31357 /usr/local/include/X11R5
31358 /usr/local/include/X11R4
31359
31360 /usr/X386/include
31361 /usr/x386/include
31362 /usr/XFree86/include/X11
31363
31364 /usr/include
31365 /usr/local/include
31366 /usr/unsupported/include
31367 /usr/athena/include
31368 /usr/local/x11r5/include
31369 /usr/lpp/Xamples/include
31370
31371 /usr/openwin/include
31372 /usr/openwin/share/include'
31373
31374 if test "$ac_x_includes" = no; then
31375 # Guess where to find include files, by looking for Xlib.h.
31376 # First, try using that file with no special directory specified.
31377 cat >conftest.$ac_ext <<_ACEOF
31378 /* confdefs.h. */
31379 _ACEOF
31380 cat confdefs.h >>conftest.$ac_ext
31381 cat >>conftest.$ac_ext <<_ACEOF
31382 /* end confdefs.h. */
31383 #include <X11/Xlib.h>
31384 _ACEOF
31385 if { (ac_try="$ac_cpp conftest.$ac_ext"
31386 case "(($ac_try" in
31387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31388 *) ac_try_echo=$ac_try;;
31389 esac
31390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31391 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31392 ac_status=$?
31393 grep -v '^ *+' conftest.er1 >conftest.err
31394 rm -f conftest.er1
31395 cat conftest.err >&5
31396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31397 (exit $ac_status); } >/dev/null && {
31398 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31399 test ! -s conftest.err
31400 }; then
31401 # We can compile using X headers with no special include directory.
31402 ac_x_includes=
31403 else
31404 echo "$as_me: failed program was:" >&5
31405 sed 's/^/| /' conftest.$ac_ext >&5
31406
31407 for ac_dir in $ac_x_header_dirs; do
31408 if test -r "$ac_dir/X11/Xlib.h"; then
31409 ac_x_includes=$ac_dir
31410 break
31411 fi
31412 done
31413 fi
31414
31415 rm -f conftest.err conftest.$ac_ext
31416 fi # $ac_x_includes = no
31417
31418 if test "$ac_x_libraries" = no; then
31419 # Check for the libraries.
31420 # See if we find them without any special options.
31421 # Don't add to $LIBS permanently.
31422 ac_save_LIBS=$LIBS
31423 LIBS="-lX11 $LIBS"
31424 cat >conftest.$ac_ext <<_ACEOF
31425 /* confdefs.h. */
31426 _ACEOF
31427 cat confdefs.h >>conftest.$ac_ext
31428 cat >>conftest.$ac_ext <<_ACEOF
31429 /* end confdefs.h. */
31430 #include <X11/Xlib.h>
31431 int
31432 main ()
31433 {
31434 XrmInitialize ()
31435 ;
31436 return 0;
31437 }
31438 _ACEOF
31439 rm -f conftest.$ac_objext conftest$ac_exeext
31440 if { (ac_try="$ac_link"
31441 case "(($ac_try" in
31442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31443 *) ac_try_echo=$ac_try;;
31444 esac
31445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31446 (eval "$ac_link") 2>conftest.er1
31447 ac_status=$?
31448 grep -v '^ *+' conftest.er1 >conftest.err
31449 rm -f conftest.er1
31450 cat conftest.err >&5
31451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31452 (exit $ac_status); } && {
31453 test -z "$ac_c_werror_flag" ||
31454 test ! -s conftest.err
31455 } && test -s conftest$ac_exeext &&
31456 $as_test_x conftest$ac_exeext; then
31457 LIBS=$ac_save_LIBS
31458 # We can link X programs with no special library path.
31459 ac_x_libraries=
31460 else
31461 echo "$as_me: failed program was:" >&5
31462 sed 's/^/| /' conftest.$ac_ext >&5
31463
31464 LIBS=$ac_save_LIBS
31465 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31466 do
31467 # Don't even attempt the hair of trying to link an X program!
31468 for ac_extension in a so sl; do
31469 if test -r "$ac_dir/libX11.$ac_extension"; then
31470 ac_x_libraries=$ac_dir
31471 break 2
31472 fi
31473 done
31474 done
31475 fi
31476
31477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31478 conftest$ac_exeext conftest.$ac_ext
31479 fi # $ac_x_libraries = no
31480
31481 case $ac_x_includes,$ac_x_libraries in #(
31482 no,* | *,no | *\'*)
31483 # Didn't find X, or a directory has "'" in its name.
31484 ac_cv_have_x="have_x=no";; #(
31485 *)
31486 # Record where we found X for the cache.
31487 ac_cv_have_x="have_x=yes\
31488 ac_x_includes='$ac_x_includes'\
31489 ac_x_libraries='$ac_x_libraries'"
31490 esac
31491 fi
31492 ;; #(
31493 *) have_x=yes;;
31494 esac
31495 eval "$ac_cv_have_x"
31496 fi # $with_x != no
31497
31498 if test "$have_x" != yes; then
31499 { echo "$as_me:$LINENO: result: $have_x" >&5
31500 echo "${ECHO_T}$have_x" >&6; }
31501 no_x=yes
31502 else
31503 # If each of the values was on the command line, it overrides each guess.
31504 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31505 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31506 # Update the cache value to reflect the command line values.
31507 ac_cv_have_x="have_x=yes\
31508 ac_x_includes='$x_includes'\
31509 ac_x_libraries='$x_libraries'"
31510 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31511 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31512 fi
31513
31514 if test "$no_x" = yes; then
31515 # Not all programs may use this symbol, but it does not hurt to define it.
31516
31517 cat >>confdefs.h <<\_ACEOF
31518 #define X_DISPLAY_MISSING 1
31519 _ACEOF
31520
31521 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31522 else
31523 if test -n "$x_includes"; then
31524 X_CFLAGS="$X_CFLAGS -I$x_includes"
31525 fi
31526
31527 # It would also be nice to do this for all -L options, not just this one.
31528 if test -n "$x_libraries"; then
31529 X_LIBS="$X_LIBS -L$x_libraries"
31530 # For Solaris; some versions of Sun CC require a space after -R and
31531 # others require no space. Words are not sufficient . . . .
31532 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31533 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31534 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31535 ac_xsave_c_werror_flag=$ac_c_werror_flag
31536 ac_c_werror_flag=yes
31537 cat >conftest.$ac_ext <<_ACEOF
31538 /* confdefs.h. */
31539 _ACEOF
31540 cat confdefs.h >>conftest.$ac_ext
31541 cat >>conftest.$ac_ext <<_ACEOF
31542 /* end confdefs.h. */
31543
31544 int
31545 main ()
31546 {
31547
31548 ;
31549 return 0;
31550 }
31551 _ACEOF
31552 rm -f conftest.$ac_objext conftest$ac_exeext
31553 if { (ac_try="$ac_link"
31554 case "(($ac_try" in
31555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31556 *) ac_try_echo=$ac_try;;
31557 esac
31558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31559 (eval "$ac_link") 2>conftest.er1
31560 ac_status=$?
31561 grep -v '^ *+' conftest.er1 >conftest.err
31562 rm -f conftest.er1
31563 cat conftest.err >&5
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); } && {
31566 test -z "$ac_c_werror_flag" ||
31567 test ! -s conftest.err
31568 } && test -s conftest$ac_exeext &&
31569 $as_test_x conftest$ac_exeext; then
31570 { echo "$as_me:$LINENO: result: no" >&5
31571 echo "${ECHO_T}no" >&6; }
31572 X_LIBS="$X_LIBS -R$x_libraries"
31573 else
31574 echo "$as_me: failed program was:" >&5
31575 sed 's/^/| /' conftest.$ac_ext >&5
31576
31577 LIBS="$ac_xsave_LIBS -R $x_libraries"
31578 cat >conftest.$ac_ext <<_ACEOF
31579 /* confdefs.h. */
31580 _ACEOF
31581 cat confdefs.h >>conftest.$ac_ext
31582 cat >>conftest.$ac_ext <<_ACEOF
31583 /* end confdefs.h. */
31584
31585 int
31586 main ()
31587 {
31588
31589 ;
31590 return 0;
31591 }
31592 _ACEOF
31593 rm -f conftest.$ac_objext conftest$ac_exeext
31594 if { (ac_try="$ac_link"
31595 case "(($ac_try" in
31596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31597 *) ac_try_echo=$ac_try;;
31598 esac
31599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31600 (eval "$ac_link") 2>conftest.er1
31601 ac_status=$?
31602 grep -v '^ *+' conftest.er1 >conftest.err
31603 rm -f conftest.er1
31604 cat conftest.err >&5
31605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606 (exit $ac_status); } && {
31607 test -z "$ac_c_werror_flag" ||
31608 test ! -s conftest.err
31609 } && test -s conftest$ac_exeext &&
31610 $as_test_x conftest$ac_exeext; then
31611 { echo "$as_me:$LINENO: result: yes" >&5
31612 echo "${ECHO_T}yes" >&6; }
31613 X_LIBS="$X_LIBS -R $x_libraries"
31614 else
31615 echo "$as_me: failed program was:" >&5
31616 sed 's/^/| /' conftest.$ac_ext >&5
31617
31618 { echo "$as_me:$LINENO: result: neither works" >&5
31619 echo "${ECHO_T}neither works" >&6; }
31620 fi
31621
31622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31623 conftest$ac_exeext conftest.$ac_ext
31624 fi
31625
31626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31627 conftest$ac_exeext conftest.$ac_ext
31628 ac_c_werror_flag=$ac_xsave_c_werror_flag
31629 LIBS=$ac_xsave_LIBS
31630 fi
31631
31632 # Check for system-dependent libraries X programs must link with.
31633 # Do this before checking for the system-independent R6 libraries
31634 # (-lICE), since we may need -lsocket or whatever for X linking.
31635
31636 if test "$ISC" = yes; then
31637 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31638 else
31639 # Martyn Johnson says this is needed for Ultrix, if the X
31640 # libraries were built with DECnet support. And Karl Berry says
31641 # the Alpha needs dnet_stub (dnet does not exist).
31642 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31643 cat >conftest.$ac_ext <<_ACEOF
31644 /* confdefs.h. */
31645 _ACEOF
31646 cat confdefs.h >>conftest.$ac_ext
31647 cat >>conftest.$ac_ext <<_ACEOF
31648 /* end confdefs.h. */
31649
31650 /* Override any GCC internal prototype to avoid an error.
31651 Use char because int might match the return type of a GCC
31652 builtin and then its argument prototype would still apply. */
31653 #ifdef __cplusplus
31654 extern "C"
31655 #endif
31656 char XOpenDisplay ();
31657 int
31658 main ()
31659 {
31660 return XOpenDisplay ();
31661 ;
31662 return 0;
31663 }
31664 _ACEOF
31665 rm -f conftest.$ac_objext conftest$ac_exeext
31666 if { (ac_try="$ac_link"
31667 case "(($ac_try" in
31668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31669 *) ac_try_echo=$ac_try;;
31670 esac
31671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31672 (eval "$ac_link") 2>conftest.er1
31673 ac_status=$?
31674 grep -v '^ *+' conftest.er1 >conftest.err
31675 rm -f conftest.er1
31676 cat conftest.err >&5
31677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31678 (exit $ac_status); } && {
31679 test -z "$ac_c_werror_flag" ||
31680 test ! -s conftest.err
31681 } && test -s conftest$ac_exeext &&
31682 $as_test_x conftest$ac_exeext; then
31683 :
31684 else
31685 echo "$as_me: failed program was:" >&5
31686 sed 's/^/| /' conftest.$ac_ext >&5
31687
31688 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31689 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31690 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31691 echo $ECHO_N "(cached) $ECHO_C" >&6
31692 else
31693 ac_check_lib_save_LIBS=$LIBS
31694 LIBS="-ldnet $LIBS"
31695 cat >conftest.$ac_ext <<_ACEOF
31696 /* confdefs.h. */
31697 _ACEOF
31698 cat confdefs.h >>conftest.$ac_ext
31699 cat >>conftest.$ac_ext <<_ACEOF
31700 /* end confdefs.h. */
31701
31702 /* Override any GCC internal prototype to avoid an error.
31703 Use char because int might match the return type of a GCC
31704 builtin and then its argument prototype would still apply. */
31705 #ifdef __cplusplus
31706 extern "C"
31707 #endif
31708 char dnet_ntoa ();
31709 int
31710 main ()
31711 {
31712 return dnet_ntoa ();
31713 ;
31714 return 0;
31715 }
31716 _ACEOF
31717 rm -f conftest.$ac_objext conftest$ac_exeext
31718 if { (ac_try="$ac_link"
31719 case "(($ac_try" in
31720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31721 *) ac_try_echo=$ac_try;;
31722 esac
31723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31724 (eval "$ac_link") 2>conftest.er1
31725 ac_status=$?
31726 grep -v '^ *+' conftest.er1 >conftest.err
31727 rm -f conftest.er1
31728 cat conftest.err >&5
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); } && {
31731 test -z "$ac_c_werror_flag" ||
31732 test ! -s conftest.err
31733 } && test -s conftest$ac_exeext &&
31734 $as_test_x conftest$ac_exeext; then
31735 ac_cv_lib_dnet_dnet_ntoa=yes
31736 else
31737 echo "$as_me: failed program was:" >&5
31738 sed 's/^/| /' conftest.$ac_ext >&5
31739
31740 ac_cv_lib_dnet_dnet_ntoa=no
31741 fi
31742
31743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31744 conftest$ac_exeext conftest.$ac_ext
31745 LIBS=$ac_check_lib_save_LIBS
31746 fi
31747 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31748 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31749 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31750 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31751 fi
31752
31753 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31754 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31755 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31756 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31757 echo $ECHO_N "(cached) $ECHO_C" >&6
31758 else
31759 ac_check_lib_save_LIBS=$LIBS
31760 LIBS="-ldnet_stub $LIBS"
31761 cat >conftest.$ac_ext <<_ACEOF
31762 /* confdefs.h. */
31763 _ACEOF
31764 cat confdefs.h >>conftest.$ac_ext
31765 cat >>conftest.$ac_ext <<_ACEOF
31766 /* end confdefs.h. */
31767
31768 /* Override any GCC internal prototype to avoid an error.
31769 Use char because int might match the return type of a GCC
31770 builtin and then its argument prototype would still apply. */
31771 #ifdef __cplusplus
31772 extern "C"
31773 #endif
31774 char dnet_ntoa ();
31775 int
31776 main ()
31777 {
31778 return dnet_ntoa ();
31779 ;
31780 return 0;
31781 }
31782 _ACEOF
31783 rm -f conftest.$ac_objext conftest$ac_exeext
31784 if { (ac_try="$ac_link"
31785 case "(($ac_try" in
31786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31787 *) ac_try_echo=$ac_try;;
31788 esac
31789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31790 (eval "$ac_link") 2>conftest.er1
31791 ac_status=$?
31792 grep -v '^ *+' conftest.er1 >conftest.err
31793 rm -f conftest.er1
31794 cat conftest.err >&5
31795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31796 (exit $ac_status); } && {
31797 test -z "$ac_c_werror_flag" ||
31798 test ! -s conftest.err
31799 } && test -s conftest$ac_exeext &&
31800 $as_test_x conftest$ac_exeext; then
31801 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31802 else
31803 echo "$as_me: failed program was:" >&5
31804 sed 's/^/| /' conftest.$ac_ext >&5
31805
31806 ac_cv_lib_dnet_stub_dnet_ntoa=no
31807 fi
31808
31809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31810 conftest$ac_exeext conftest.$ac_ext
31811 LIBS=$ac_check_lib_save_LIBS
31812 fi
31813 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31814 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31815 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31816 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31817 fi
31818
31819 fi
31820 fi
31821
31822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31823 conftest$ac_exeext conftest.$ac_ext
31824 LIBS="$ac_xsave_LIBS"
31825
31826 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31827 # to get the SysV transport functions.
31828 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31829 # needs -lnsl.
31830 # The nsl library prevents programs from opening the X display
31831 # on Irix 5.2, according to T.E. Dickey.
31832 # The functions gethostbyname, getservbyname, and inet_addr are
31833 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31834 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31835 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31836 if test "${ac_cv_func_gethostbyname+set}" = set; then
31837 echo $ECHO_N "(cached) $ECHO_C" >&6
31838 else
31839 cat >conftest.$ac_ext <<_ACEOF
31840 /* confdefs.h. */
31841 _ACEOF
31842 cat confdefs.h >>conftest.$ac_ext
31843 cat >>conftest.$ac_ext <<_ACEOF
31844 /* end confdefs.h. */
31845 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31847 #define gethostbyname innocuous_gethostbyname
31848
31849 /* System header to define __stub macros and hopefully few prototypes,
31850 which can conflict with char gethostbyname (); below.
31851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31852 <limits.h> exists even on freestanding compilers. */
31853
31854 #ifdef __STDC__
31855 # include <limits.h>
31856 #else
31857 # include <assert.h>
31858 #endif
31859
31860 #undef gethostbyname
31861
31862 /* Override any GCC internal prototype to avoid an error.
31863 Use char because int might match the return type of a GCC
31864 builtin and then its argument prototype would still apply. */
31865 #ifdef __cplusplus
31866 extern "C"
31867 #endif
31868 char gethostbyname ();
31869 /* The GNU C library defines this for functions which it implements
31870 to always fail with ENOSYS. Some functions are actually named
31871 something starting with __ and the normal name is an alias. */
31872 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31873 choke me
31874 #endif
31875
31876 int
31877 main ()
31878 {
31879 return gethostbyname ();
31880 ;
31881 return 0;
31882 }
31883 _ACEOF
31884 rm -f conftest.$ac_objext conftest$ac_exeext
31885 if { (ac_try="$ac_link"
31886 case "(($ac_try" in
31887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31888 *) ac_try_echo=$ac_try;;
31889 esac
31890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31891 (eval "$ac_link") 2>conftest.er1
31892 ac_status=$?
31893 grep -v '^ *+' conftest.er1 >conftest.err
31894 rm -f conftest.er1
31895 cat conftest.err >&5
31896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31897 (exit $ac_status); } && {
31898 test -z "$ac_c_werror_flag" ||
31899 test ! -s conftest.err
31900 } && test -s conftest$ac_exeext &&
31901 $as_test_x conftest$ac_exeext; then
31902 ac_cv_func_gethostbyname=yes
31903 else
31904 echo "$as_me: failed program was:" >&5
31905 sed 's/^/| /' conftest.$ac_ext >&5
31906
31907 ac_cv_func_gethostbyname=no
31908 fi
31909
31910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31911 conftest$ac_exeext conftest.$ac_ext
31912 fi
31913 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31914 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31915
31916 if test $ac_cv_func_gethostbyname = no; then
31917 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31918 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31919 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31920 echo $ECHO_N "(cached) $ECHO_C" >&6
31921 else
31922 ac_check_lib_save_LIBS=$LIBS
31923 LIBS="-lnsl $LIBS"
31924 cat >conftest.$ac_ext <<_ACEOF
31925 /* confdefs.h. */
31926 _ACEOF
31927 cat confdefs.h >>conftest.$ac_ext
31928 cat >>conftest.$ac_ext <<_ACEOF
31929 /* end confdefs.h. */
31930
31931 /* Override any GCC internal prototype to avoid an error.
31932 Use char because int might match the return type of a GCC
31933 builtin and then its argument prototype would still apply. */
31934 #ifdef __cplusplus
31935 extern "C"
31936 #endif
31937 char gethostbyname ();
31938 int
31939 main ()
31940 {
31941 return gethostbyname ();
31942 ;
31943 return 0;
31944 }
31945 _ACEOF
31946 rm -f conftest.$ac_objext conftest$ac_exeext
31947 if { (ac_try="$ac_link"
31948 case "(($ac_try" in
31949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31950 *) ac_try_echo=$ac_try;;
31951 esac
31952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31953 (eval "$ac_link") 2>conftest.er1
31954 ac_status=$?
31955 grep -v '^ *+' conftest.er1 >conftest.err
31956 rm -f conftest.er1
31957 cat conftest.err >&5
31958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31959 (exit $ac_status); } && {
31960 test -z "$ac_c_werror_flag" ||
31961 test ! -s conftest.err
31962 } && test -s conftest$ac_exeext &&
31963 $as_test_x conftest$ac_exeext; then
31964 ac_cv_lib_nsl_gethostbyname=yes
31965 else
31966 echo "$as_me: failed program was:" >&5
31967 sed 's/^/| /' conftest.$ac_ext >&5
31968
31969 ac_cv_lib_nsl_gethostbyname=no
31970 fi
31971
31972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31973 conftest$ac_exeext conftest.$ac_ext
31974 LIBS=$ac_check_lib_save_LIBS
31975 fi
31976 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31977 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31978 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31979 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31980 fi
31981
31982 if test $ac_cv_lib_nsl_gethostbyname = no; then
31983 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31984 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31985 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31986 echo $ECHO_N "(cached) $ECHO_C" >&6
31987 else
31988 ac_check_lib_save_LIBS=$LIBS
31989 LIBS="-lbsd $LIBS"
31990 cat >conftest.$ac_ext <<_ACEOF
31991 /* confdefs.h. */
31992 _ACEOF
31993 cat confdefs.h >>conftest.$ac_ext
31994 cat >>conftest.$ac_ext <<_ACEOF
31995 /* end confdefs.h. */
31996
31997 /* Override any GCC internal prototype to avoid an error.
31998 Use char because int might match the return type of a GCC
31999 builtin and then its argument prototype would still apply. */
32000 #ifdef __cplusplus
32001 extern "C"
32002 #endif
32003 char gethostbyname ();
32004 int
32005 main ()
32006 {
32007 return gethostbyname ();
32008 ;
32009 return 0;
32010 }
32011 _ACEOF
32012 rm -f conftest.$ac_objext conftest$ac_exeext
32013 if { (ac_try="$ac_link"
32014 case "(($ac_try" in
32015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32016 *) ac_try_echo=$ac_try;;
32017 esac
32018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32019 (eval "$ac_link") 2>conftest.er1
32020 ac_status=$?
32021 grep -v '^ *+' conftest.er1 >conftest.err
32022 rm -f conftest.er1
32023 cat conftest.err >&5
32024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025 (exit $ac_status); } && {
32026 test -z "$ac_c_werror_flag" ||
32027 test ! -s conftest.err
32028 } && test -s conftest$ac_exeext &&
32029 $as_test_x conftest$ac_exeext; then
32030 ac_cv_lib_bsd_gethostbyname=yes
32031 else
32032 echo "$as_me: failed program was:" >&5
32033 sed 's/^/| /' conftest.$ac_ext >&5
32034
32035 ac_cv_lib_bsd_gethostbyname=no
32036 fi
32037
32038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32039 conftest$ac_exeext conftest.$ac_ext
32040 LIBS=$ac_check_lib_save_LIBS
32041 fi
32042 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32043 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32044 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32045 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32046 fi
32047
32048 fi
32049 fi
32050
32051 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32052 # socket/setsockopt and other routines are undefined under SCO ODT
32053 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32054 # on later versions), says Simon Leinen: it contains gethostby*
32055 # variants that don't use the name server (or something). -lsocket
32056 # must be given before -lnsl if both are needed. We assume that
32057 # if connect needs -lnsl, so does gethostbyname.
32058 { echo "$as_me:$LINENO: checking for connect" >&5
32059 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32060 if test "${ac_cv_func_connect+set}" = set; then
32061 echo $ECHO_N "(cached) $ECHO_C" >&6
32062 else
32063 cat >conftest.$ac_ext <<_ACEOF
32064 /* confdefs.h. */
32065 _ACEOF
32066 cat confdefs.h >>conftest.$ac_ext
32067 cat >>conftest.$ac_ext <<_ACEOF
32068 /* end confdefs.h. */
32069 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32071 #define connect innocuous_connect
32072
32073 /* System header to define __stub macros and hopefully few prototypes,
32074 which can conflict with char connect (); below.
32075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32076 <limits.h> exists even on freestanding compilers. */
32077
32078 #ifdef __STDC__
32079 # include <limits.h>
32080 #else
32081 # include <assert.h>
32082 #endif
32083
32084 #undef connect
32085
32086 /* Override any GCC internal prototype to avoid an error.
32087 Use char because int might match the return type of a GCC
32088 builtin and then its argument prototype would still apply. */
32089 #ifdef __cplusplus
32090 extern "C"
32091 #endif
32092 char connect ();
32093 /* The GNU C library defines this for functions which it implements
32094 to always fail with ENOSYS. Some functions are actually named
32095 something starting with __ and the normal name is an alias. */
32096 #if defined __stub_connect || defined __stub___connect
32097 choke me
32098 #endif
32099
32100 int
32101 main ()
32102 {
32103 return connect ();
32104 ;
32105 return 0;
32106 }
32107 _ACEOF
32108 rm -f conftest.$ac_objext conftest$ac_exeext
32109 if { (ac_try="$ac_link"
32110 case "(($ac_try" in
32111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32112 *) ac_try_echo=$ac_try;;
32113 esac
32114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32115 (eval "$ac_link") 2>conftest.er1
32116 ac_status=$?
32117 grep -v '^ *+' conftest.er1 >conftest.err
32118 rm -f conftest.er1
32119 cat conftest.err >&5
32120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32121 (exit $ac_status); } && {
32122 test -z "$ac_c_werror_flag" ||
32123 test ! -s conftest.err
32124 } && test -s conftest$ac_exeext &&
32125 $as_test_x conftest$ac_exeext; then
32126 ac_cv_func_connect=yes
32127 else
32128 echo "$as_me: failed program was:" >&5
32129 sed 's/^/| /' conftest.$ac_ext >&5
32130
32131 ac_cv_func_connect=no
32132 fi
32133
32134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32135 conftest$ac_exeext conftest.$ac_ext
32136 fi
32137 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32138 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32139
32140 if test $ac_cv_func_connect = no; then
32141 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32142 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32143 if test "${ac_cv_lib_socket_connect+set}" = set; then
32144 echo $ECHO_N "(cached) $ECHO_C" >&6
32145 else
32146 ac_check_lib_save_LIBS=$LIBS
32147 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32148 cat >conftest.$ac_ext <<_ACEOF
32149 /* confdefs.h. */
32150 _ACEOF
32151 cat confdefs.h >>conftest.$ac_ext
32152 cat >>conftest.$ac_ext <<_ACEOF
32153 /* end confdefs.h. */
32154
32155 /* Override any GCC internal prototype to avoid an error.
32156 Use char because int might match the return type of a GCC
32157 builtin and then its argument prototype would still apply. */
32158 #ifdef __cplusplus
32159 extern "C"
32160 #endif
32161 char connect ();
32162 int
32163 main ()
32164 {
32165 return connect ();
32166 ;
32167 return 0;
32168 }
32169 _ACEOF
32170 rm -f conftest.$ac_objext conftest$ac_exeext
32171 if { (ac_try="$ac_link"
32172 case "(($ac_try" in
32173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32174 *) ac_try_echo=$ac_try;;
32175 esac
32176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32177 (eval "$ac_link") 2>conftest.er1
32178 ac_status=$?
32179 grep -v '^ *+' conftest.er1 >conftest.err
32180 rm -f conftest.er1
32181 cat conftest.err >&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); } && {
32184 test -z "$ac_c_werror_flag" ||
32185 test ! -s conftest.err
32186 } && test -s conftest$ac_exeext &&
32187 $as_test_x conftest$ac_exeext; then
32188 ac_cv_lib_socket_connect=yes
32189 else
32190 echo "$as_me: failed program was:" >&5
32191 sed 's/^/| /' conftest.$ac_ext >&5
32192
32193 ac_cv_lib_socket_connect=no
32194 fi
32195
32196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32197 conftest$ac_exeext conftest.$ac_ext
32198 LIBS=$ac_check_lib_save_LIBS
32199 fi
32200 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32201 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32202 if test $ac_cv_lib_socket_connect = yes; then
32203 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32204 fi
32205
32206 fi
32207
32208 # Guillermo Gomez says -lposix is necessary on A/UX.
32209 { echo "$as_me:$LINENO: checking for remove" >&5
32210 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32211 if test "${ac_cv_func_remove+set}" = set; then
32212 echo $ECHO_N "(cached) $ECHO_C" >&6
32213 else
32214 cat >conftest.$ac_ext <<_ACEOF
32215 /* confdefs.h. */
32216 _ACEOF
32217 cat confdefs.h >>conftest.$ac_ext
32218 cat >>conftest.$ac_ext <<_ACEOF
32219 /* end confdefs.h. */
32220 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32222 #define remove innocuous_remove
32223
32224 /* System header to define __stub macros and hopefully few prototypes,
32225 which can conflict with char remove (); below.
32226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32227 <limits.h> exists even on freestanding compilers. */
32228
32229 #ifdef __STDC__
32230 # include <limits.h>
32231 #else
32232 # include <assert.h>
32233 #endif
32234
32235 #undef remove
32236
32237 /* Override any GCC internal prototype to avoid an error.
32238 Use char because int might match the return type of a GCC
32239 builtin and then its argument prototype would still apply. */
32240 #ifdef __cplusplus
32241 extern "C"
32242 #endif
32243 char remove ();
32244 /* The GNU C library defines this for functions which it implements
32245 to always fail with ENOSYS. Some functions are actually named
32246 something starting with __ and the normal name is an alias. */
32247 #if defined __stub_remove || defined __stub___remove
32248 choke me
32249 #endif
32250
32251 int
32252 main ()
32253 {
32254 return remove ();
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_func_remove=yes
32278 else
32279 echo "$as_me: failed program was:" >&5
32280 sed 's/^/| /' conftest.$ac_ext >&5
32281
32282 ac_cv_func_remove=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 fi
32288 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32289 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32290
32291 if test $ac_cv_func_remove = no; then
32292 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32293 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32294 if test "${ac_cv_lib_posix_remove+set}" = set; then
32295 echo $ECHO_N "(cached) $ECHO_C" >&6
32296 else
32297 ac_check_lib_save_LIBS=$LIBS
32298 LIBS="-lposix $LIBS"
32299 cat >conftest.$ac_ext <<_ACEOF
32300 /* confdefs.h. */
32301 _ACEOF
32302 cat confdefs.h >>conftest.$ac_ext
32303 cat >>conftest.$ac_ext <<_ACEOF
32304 /* end confdefs.h. */
32305
32306 /* Override any GCC internal prototype to avoid an error.
32307 Use char because int might match the return type of a GCC
32308 builtin and then its argument prototype would still apply. */
32309 #ifdef __cplusplus
32310 extern "C"
32311 #endif
32312 char remove ();
32313 int
32314 main ()
32315 {
32316 return remove ();
32317 ;
32318 return 0;
32319 }
32320 _ACEOF
32321 rm -f conftest.$ac_objext conftest$ac_exeext
32322 if { (ac_try="$ac_link"
32323 case "(($ac_try" in
32324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32325 *) ac_try_echo=$ac_try;;
32326 esac
32327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32328 (eval "$ac_link") 2>conftest.er1
32329 ac_status=$?
32330 grep -v '^ *+' conftest.er1 >conftest.err
32331 rm -f conftest.er1
32332 cat conftest.err >&5
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); } && {
32335 test -z "$ac_c_werror_flag" ||
32336 test ! -s conftest.err
32337 } && test -s conftest$ac_exeext &&
32338 $as_test_x conftest$ac_exeext; then
32339 ac_cv_lib_posix_remove=yes
32340 else
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.$ac_ext >&5
32343
32344 ac_cv_lib_posix_remove=no
32345 fi
32346
32347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32348 conftest$ac_exeext conftest.$ac_ext
32349 LIBS=$ac_check_lib_save_LIBS
32350 fi
32351 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32352 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32353 if test $ac_cv_lib_posix_remove = yes; then
32354 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32355 fi
32356
32357 fi
32358
32359 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32360 { echo "$as_me:$LINENO: checking for shmat" >&5
32361 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32362 if test "${ac_cv_func_shmat+set}" = set; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32364 else
32365 cat >conftest.$ac_ext <<_ACEOF
32366 /* confdefs.h. */
32367 _ACEOF
32368 cat confdefs.h >>conftest.$ac_ext
32369 cat >>conftest.$ac_ext <<_ACEOF
32370 /* end confdefs.h. */
32371 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32373 #define shmat innocuous_shmat
32374
32375 /* System header to define __stub macros and hopefully few prototypes,
32376 which can conflict with char shmat (); below.
32377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32378 <limits.h> exists even on freestanding compilers. */
32379
32380 #ifdef __STDC__
32381 # include <limits.h>
32382 #else
32383 # include <assert.h>
32384 #endif
32385
32386 #undef shmat
32387
32388 /* Override any GCC internal prototype to avoid an error.
32389 Use char because int might match the return type of a GCC
32390 builtin and then its argument prototype would still apply. */
32391 #ifdef __cplusplus
32392 extern "C"
32393 #endif
32394 char shmat ();
32395 /* The GNU C library defines this for functions which it implements
32396 to always fail with ENOSYS. Some functions are actually named
32397 something starting with __ and the normal name is an alias. */
32398 #if defined __stub_shmat || defined __stub___shmat
32399 choke me
32400 #endif
32401
32402 int
32403 main ()
32404 {
32405 return shmat ();
32406 ;
32407 return 0;
32408 }
32409 _ACEOF
32410 rm -f conftest.$ac_objext conftest$ac_exeext
32411 if { (ac_try="$ac_link"
32412 case "(($ac_try" in
32413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32414 *) ac_try_echo=$ac_try;;
32415 esac
32416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32417 (eval "$ac_link") 2>conftest.er1
32418 ac_status=$?
32419 grep -v '^ *+' conftest.er1 >conftest.err
32420 rm -f conftest.er1
32421 cat conftest.err >&5
32422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423 (exit $ac_status); } && {
32424 test -z "$ac_c_werror_flag" ||
32425 test ! -s conftest.err
32426 } && test -s conftest$ac_exeext &&
32427 $as_test_x conftest$ac_exeext; then
32428 ac_cv_func_shmat=yes
32429 else
32430 echo "$as_me: failed program was:" >&5
32431 sed 's/^/| /' conftest.$ac_ext >&5
32432
32433 ac_cv_func_shmat=no
32434 fi
32435
32436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32437 conftest$ac_exeext conftest.$ac_ext
32438 fi
32439 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32440 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32441
32442 if test $ac_cv_func_shmat = no; then
32443 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32444 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32445 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32446 echo $ECHO_N "(cached) $ECHO_C" >&6
32447 else
32448 ac_check_lib_save_LIBS=$LIBS
32449 LIBS="-lipc $LIBS"
32450 cat >conftest.$ac_ext <<_ACEOF
32451 /* confdefs.h. */
32452 _ACEOF
32453 cat confdefs.h >>conftest.$ac_ext
32454 cat >>conftest.$ac_ext <<_ACEOF
32455 /* end confdefs.h. */
32456
32457 /* Override any GCC internal prototype to avoid an error.
32458 Use char because int might match the return type of a GCC
32459 builtin and then its argument prototype would still apply. */
32460 #ifdef __cplusplus
32461 extern "C"
32462 #endif
32463 char shmat ();
32464 int
32465 main ()
32466 {
32467 return shmat ();
32468 ;
32469 return 0;
32470 }
32471 _ACEOF
32472 rm -f conftest.$ac_objext conftest$ac_exeext
32473 if { (ac_try="$ac_link"
32474 case "(($ac_try" in
32475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32476 *) ac_try_echo=$ac_try;;
32477 esac
32478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32479 (eval "$ac_link") 2>conftest.er1
32480 ac_status=$?
32481 grep -v '^ *+' conftest.er1 >conftest.err
32482 rm -f conftest.er1
32483 cat conftest.err >&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); } && {
32486 test -z "$ac_c_werror_flag" ||
32487 test ! -s conftest.err
32488 } && test -s conftest$ac_exeext &&
32489 $as_test_x conftest$ac_exeext; then
32490 ac_cv_lib_ipc_shmat=yes
32491 else
32492 echo "$as_me: failed program was:" >&5
32493 sed 's/^/| /' conftest.$ac_ext >&5
32494
32495 ac_cv_lib_ipc_shmat=no
32496 fi
32497
32498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32499 conftest$ac_exeext conftest.$ac_ext
32500 LIBS=$ac_check_lib_save_LIBS
32501 fi
32502 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32503 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32504 if test $ac_cv_lib_ipc_shmat = yes; then
32505 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32506 fi
32507
32508 fi
32509 fi
32510
32511 # Check for libraries that X11R6 Xt/Xaw programs need.
32512 ac_save_LDFLAGS=$LDFLAGS
32513 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32514 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32515 # check for ICE first), but we must link in the order -lSM -lICE or
32516 # we get undefined symbols. So assume we have SM if we have ICE.
32517 # These have to be linked with before -lX11, unlike the other
32518 # libraries we check for below, so use a different variable.
32519 # John Interrante, Karl Berry
32520 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32521 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32522 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32523 echo $ECHO_N "(cached) $ECHO_C" >&6
32524 else
32525 ac_check_lib_save_LIBS=$LIBS
32526 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32527 cat >conftest.$ac_ext <<_ACEOF
32528 /* confdefs.h. */
32529 _ACEOF
32530 cat confdefs.h >>conftest.$ac_ext
32531 cat >>conftest.$ac_ext <<_ACEOF
32532 /* end confdefs.h. */
32533
32534 /* Override any GCC internal prototype to avoid an error.
32535 Use char because int might match the return type of a GCC
32536 builtin and then its argument prototype would still apply. */
32537 #ifdef __cplusplus
32538 extern "C"
32539 #endif
32540 char IceConnectionNumber ();
32541 int
32542 main ()
32543 {
32544 return IceConnectionNumber ();
32545 ;
32546 return 0;
32547 }
32548 _ACEOF
32549 rm -f conftest.$ac_objext conftest$ac_exeext
32550 if { (ac_try="$ac_link"
32551 case "(($ac_try" in
32552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32553 *) ac_try_echo=$ac_try;;
32554 esac
32555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32556 (eval "$ac_link") 2>conftest.er1
32557 ac_status=$?
32558 grep -v '^ *+' conftest.er1 >conftest.err
32559 rm -f conftest.er1
32560 cat conftest.err >&5
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); } && {
32563 test -z "$ac_c_werror_flag" ||
32564 test ! -s conftest.err
32565 } && test -s conftest$ac_exeext &&
32566 $as_test_x conftest$ac_exeext; then
32567 ac_cv_lib_ICE_IceConnectionNumber=yes
32568 else
32569 echo "$as_me: failed program was:" >&5
32570 sed 's/^/| /' conftest.$ac_ext >&5
32571
32572 ac_cv_lib_ICE_IceConnectionNumber=no
32573 fi
32574
32575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32576 conftest$ac_exeext conftest.$ac_ext
32577 LIBS=$ac_check_lib_save_LIBS
32578 fi
32579 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32580 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32581 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32582 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32583 fi
32584
32585 LDFLAGS=$ac_save_LDFLAGS
32586
32587 fi
32588
32589
32590 if test "$no_x" = "yes"; then
32591 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32592 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32593 { (exit 1); exit 1; }; }
32594 fi
32595
32596 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32597 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32598 AFMINSTALL=afminstall
32599 COMPILED_X_PROGRAM=0
32600
32601 fi
32602
32603 if test "$wxUSE_X11" = 1; then
32604 if test "$wxUSE_NANOX" = "yes"; then
32605 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32606 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32607 if test "x$MICROWIN" = x ; then
32608 { echo "$as_me:$LINENO: result: not found" >&5
32609 echo "${ECHO_T}not found" >&6; }
32610 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32611 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32612 { (exit 1); exit 1; }; }
32613 else
32614 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32615 echo "${ECHO_T}$MICROWIN" >&6; }
32616 cat >>confdefs.h <<\_ACEOF
32617 #define wxUSE_NANOX 1
32618 _ACEOF
32619
32620 fi
32621 fi
32622
32623 if test "$wxUSE_UNICODE" = "yes"; then
32624
32625
32626 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32627 if test -n "$ac_tool_prefix"; then
32628 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32629 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32632 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32633 echo $ECHO_N "(cached) $ECHO_C" >&6
32634 else
32635 case $PKG_CONFIG in
32636 [\\/]* | ?:[\\/]*)
32637 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32638 ;;
32639 *)
32640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32641 for as_dir in $PATH
32642 do
32643 IFS=$as_save_IFS
32644 test -z "$as_dir" && as_dir=.
32645 for ac_exec_ext in '' $ac_executable_extensions; do
32646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32647 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32649 break 2
32650 fi
32651 done
32652 done
32653 IFS=$as_save_IFS
32654
32655 ;;
32656 esac
32657 fi
32658 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32659 if test -n "$PKG_CONFIG"; then
32660 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32661 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32662 else
32663 { echo "$as_me:$LINENO: result: no" >&5
32664 echo "${ECHO_T}no" >&6; }
32665 fi
32666
32667
32668 fi
32669 if test -z "$ac_cv_path_PKG_CONFIG"; then
32670 ac_pt_PKG_CONFIG=$PKG_CONFIG
32671 # Extract the first word of "pkg-config", so it can be a program name with args.
32672 set dummy pkg-config; ac_word=$2
32673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32675 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32676 echo $ECHO_N "(cached) $ECHO_C" >&6
32677 else
32678 case $ac_pt_PKG_CONFIG in
32679 [\\/]* | ?:[\\/]*)
32680 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32681 ;;
32682 *)
32683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32684 for as_dir in $PATH
32685 do
32686 IFS=$as_save_IFS
32687 test -z "$as_dir" && as_dir=.
32688 for ac_exec_ext in '' $ac_executable_extensions; do
32689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32690 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32692 break 2
32693 fi
32694 done
32695 done
32696 IFS=$as_save_IFS
32697
32698 ;;
32699 esac
32700 fi
32701 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32702 if test -n "$ac_pt_PKG_CONFIG"; then
32703 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32704 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32705 else
32706 { echo "$as_me:$LINENO: result: no" >&5
32707 echo "${ECHO_T}no" >&6; }
32708 fi
32709
32710 if test "x$ac_pt_PKG_CONFIG" = x; then
32711 PKG_CONFIG=""
32712 else
32713 case $cross_compiling:$ac_tool_warned in
32714 yes:)
32715 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32716 whose name does not start with the host triplet. If you think this
32717 configuration is useful to you, please write to autoconf@gnu.org." >&5
32718 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32719 whose name does not start with the host triplet. If you think this
32720 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32721 ac_tool_warned=yes ;;
32722 esac
32723 PKG_CONFIG=$ac_pt_PKG_CONFIG
32724 fi
32725 else
32726 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32727 fi
32728
32729 fi
32730 if test -n "$PKG_CONFIG"; then
32731 _pkg_min_version=0.9.0
32732 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32733 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32734 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32735 { echo "$as_me:$LINENO: result: yes" >&5
32736 echo "${ECHO_T}yes" >&6; }
32737 else
32738 { echo "$as_me:$LINENO: result: no" >&5
32739 echo "${ECHO_T}no" >&6; }
32740 PKG_CONFIG=""
32741 fi
32742
32743 fi
32744
32745
32746 pkg_failed=no
32747 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32748 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32749
32750 if test -n "$PKG_CONFIG"; then
32751 if test -n "$PANGOX_CFLAGS"; then
32752 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32753 else
32754 if test -n "$PKG_CONFIG" && \
32755 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32756 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32757 ac_status=$?
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); }; then
32760 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32761 else
32762 pkg_failed=yes
32763 fi
32764 fi
32765 else
32766 pkg_failed=untried
32767 fi
32768 if test -n "$PKG_CONFIG"; then
32769 if test -n "$PANGOX_LIBS"; then
32770 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32771 else
32772 if test -n "$PKG_CONFIG" && \
32773 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32774 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32775 ac_status=$?
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; then
32778 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32779 else
32780 pkg_failed=yes
32781 fi
32782 fi
32783 else
32784 pkg_failed=untried
32785 fi
32786
32787
32788
32789 if test $pkg_failed = yes; then
32790
32791 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32792 _pkg_short_errors_supported=yes
32793 else
32794 _pkg_short_errors_supported=no
32795 fi
32796 if test $_pkg_short_errors_supported = yes; then
32797 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32798 else
32799 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32800 fi
32801 # Put the nasty error message in config.log where it belongs
32802 echo "$PANGOX_PKG_ERRORS" >&5
32803
32804
32805 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32806 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32807 { (exit 1); exit 1; }; }
32808
32809
32810 elif test $pkg_failed = untried; then
32811
32812 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32813 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32814 { (exit 1); exit 1; }; }
32815
32816
32817 else
32818 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32819 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32820 { echo "$as_me:$LINENO: result: yes" >&5
32821 echo "${ECHO_T}yes" >&6; }
32822
32823 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32824 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32825 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32826
32827 fi
32828
32829 pkg_failed=no
32830 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32831 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32832
32833 if test -n "$PKG_CONFIG"; then
32834 if test -n "$PANGOFT2_CFLAGS"; then
32835 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32836 else
32837 if test -n "$PKG_CONFIG" && \
32838 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32839 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32840 ac_status=$?
32841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842 (exit $ac_status); }; then
32843 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32844 else
32845 pkg_failed=yes
32846 fi
32847 fi
32848 else
32849 pkg_failed=untried
32850 fi
32851 if test -n "$PKG_CONFIG"; then
32852 if test -n "$PANGOFT2_LIBS"; then
32853 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32854 else
32855 if test -n "$PKG_CONFIG" && \
32856 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32857 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32858 ac_status=$?
32859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32860 (exit $ac_status); }; then
32861 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32862 else
32863 pkg_failed=yes
32864 fi
32865 fi
32866 else
32867 pkg_failed=untried
32868 fi
32869
32870
32871
32872 if test $pkg_failed = yes; then
32873
32874 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32875 _pkg_short_errors_supported=yes
32876 else
32877 _pkg_short_errors_supported=no
32878 fi
32879 if test $_pkg_short_errors_supported = yes; then
32880 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32881 else
32882 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32883 fi
32884 # Put the nasty error message in config.log where it belongs
32885 echo "$PANGOFT2_PKG_ERRORS" >&5
32886
32887
32888 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32889 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32890 wxUSE_PRINTING_ARCHITECTURE="no"
32891
32892
32893 elif test $pkg_failed = untried; then
32894
32895 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32896 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32897 wxUSE_PRINTING_ARCHITECTURE="no"
32898
32899
32900 else
32901 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32902 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32903 { echo "$as_me:$LINENO: result: yes" >&5
32904 echo "${ECHO_T}yes" >&6; }
32905
32906 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32907 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32908 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32909
32910 fi
32911
32912 pkg_failed=no
32913 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32914 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32915
32916 if test -n "$PKG_CONFIG"; then
32917 if test -n "$PANGOXFT_CFLAGS"; then
32918 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32919 else
32920 if test -n "$PKG_CONFIG" && \
32921 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32922 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32923 ac_status=$?
32924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32925 (exit $ac_status); }; then
32926 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32927 else
32928 pkg_failed=yes
32929 fi
32930 fi
32931 else
32932 pkg_failed=untried
32933 fi
32934 if test -n "$PKG_CONFIG"; then
32935 if test -n "$PANGOXFT_LIBS"; then
32936 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32937 else
32938 if test -n "$PKG_CONFIG" && \
32939 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32940 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32941 ac_status=$?
32942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32943 (exit $ac_status); }; then
32944 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32945 else
32946 pkg_failed=yes
32947 fi
32948 fi
32949 else
32950 pkg_failed=untried
32951 fi
32952
32953
32954
32955 if test $pkg_failed = yes; then
32956
32957 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32958 _pkg_short_errors_supported=yes
32959 else
32960 _pkg_short_errors_supported=no
32961 fi
32962 if test $_pkg_short_errors_supported = yes; then
32963 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32964 else
32965 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32966 fi
32967 # Put the nasty error message in config.log where it belongs
32968 echo "$PANGOXFT_PKG_ERRORS" >&5
32969
32970
32971 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32972 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32973
32974
32975 elif test $pkg_failed = untried; then
32976
32977 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32978 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32979
32980
32981 else
32982 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32983 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32984 { echo "$as_me:$LINENO: result: yes" >&5
32985 echo "${ECHO_T}yes" >&6; }
32986
32987 cat >>confdefs.h <<\_ACEOF
32988 #define HAVE_PANGO_XFT 1
32989 _ACEOF
32990
32991 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32992 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32993 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32994
32995 fi
32996 save_LIBS="$LIBS"
32997 LIBS="$LIBS $PANGOX_LIBS"
32998
32999 for ac_func in pango_font_family_is_monospace
33000 do
33001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33002 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33004 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33005 echo $ECHO_N "(cached) $ECHO_C" >&6
33006 else
33007 cat >conftest.$ac_ext <<_ACEOF
33008 /* confdefs.h. */
33009 _ACEOF
33010 cat confdefs.h >>conftest.$ac_ext
33011 cat >>conftest.$ac_ext <<_ACEOF
33012 /* end confdefs.h. */
33013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33015 #define $ac_func innocuous_$ac_func
33016
33017 /* System header to define __stub macros and hopefully few prototypes,
33018 which can conflict with char $ac_func (); below.
33019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33020 <limits.h> exists even on freestanding compilers. */
33021
33022 #ifdef __STDC__
33023 # include <limits.h>
33024 #else
33025 # include <assert.h>
33026 #endif
33027
33028 #undef $ac_func
33029
33030 /* Override any GCC internal prototype to avoid an error.
33031 Use char because int might match the return type of a GCC
33032 builtin and then its argument prototype would still apply. */
33033 #ifdef __cplusplus
33034 extern "C"
33035 #endif
33036 char $ac_func ();
33037 /* The GNU C library defines this for functions which it implements
33038 to always fail with ENOSYS. Some functions are actually named
33039 something starting with __ and the normal name is an alias. */
33040 #if defined __stub_$ac_func || defined __stub___$ac_func
33041 choke me
33042 #endif
33043
33044 int
33045 main ()
33046 {
33047 return $ac_func ();
33048 ;
33049 return 0;
33050 }
33051 _ACEOF
33052 rm -f conftest.$ac_objext conftest$ac_exeext
33053 if { (ac_try="$ac_link"
33054 case "(($ac_try" in
33055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33056 *) ac_try_echo=$ac_try;;
33057 esac
33058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33059 (eval "$ac_link") 2>conftest.er1
33060 ac_status=$?
33061 grep -v '^ *+' conftest.er1 >conftest.err
33062 rm -f conftest.er1
33063 cat conftest.err >&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); } && {
33066 test -z "$ac_c_werror_flag" ||
33067 test ! -s conftest.err
33068 } && test -s conftest$ac_exeext &&
33069 $as_test_x conftest$ac_exeext; then
33070 eval "$as_ac_var=yes"
33071 else
33072 echo "$as_me: failed program was:" >&5
33073 sed 's/^/| /' conftest.$ac_ext >&5
33074
33075 eval "$as_ac_var=no"
33076 fi
33077
33078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33079 conftest$ac_exeext conftest.$ac_ext
33080 fi
33081 ac_res=`eval echo '${'$as_ac_var'}'`
33082 { echo "$as_me:$LINENO: result: $ac_res" >&5
33083 echo "${ECHO_T}$ac_res" >&6; }
33084 if test `eval echo '${'$as_ac_var'}'` = yes; then
33085 cat >>confdefs.h <<_ACEOF
33086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33087 _ACEOF
33088
33089 fi
33090 done
33091
33092 LIBS="$save_LIBS"
33093 fi
33094
33095 wxUSE_UNIVERSAL="yes"
33096
33097 if test "$wxUSE_NANOX" = "yes"; then
33098 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33099 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"
33100 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33101 else
33102 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33103 fi
33104
33105 TOOLKIT=X11
33106 GUIDIST=X11_DIST
33107 fi
33108
33109 if test "$wxUSE_MOTIF" = 1; then
33110 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33111 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33112
33113 ac_find_includes=
33114 for ac_dir in $SEARCH_INCLUDE /usr/include;
33115 do
33116 if test -f "$ac_dir/Xm/Xm.h"; then
33117 ac_find_includes=$ac_dir
33118 break
33119 fi
33120 done
33121
33122 if test "$ac_find_includes" != "" ; then
33123 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33124 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33125
33126 if test "x$ac_find_includes" = "x/usr/include"; then
33127 ac_path_to_include=""
33128 else
33129 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33130 result=$?
33131 if test $result = 0; then
33132 ac_path_to_include=""
33133 else
33134 ac_path_to_include=" -I$ac_find_includes"
33135 fi
33136 fi
33137
33138 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33139 else
33140 save_CFLAGS=$CFLAGS
33141 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33142
33143 cat >conftest.$ac_ext <<_ACEOF
33144 /* confdefs.h. */
33145 _ACEOF
33146 cat confdefs.h >>conftest.$ac_ext
33147 cat >>conftest.$ac_ext <<_ACEOF
33148 /* end confdefs.h. */
33149
33150 #include <Xm/Xm.h>
33151
33152 int
33153 main ()
33154 {
33155
33156 int version;
33157 version = xmUseVersion;
33158
33159 ;
33160 return 0;
33161 }
33162 _ACEOF
33163 rm -f conftest.$ac_objext
33164 if { (ac_try="$ac_compile"
33165 case "(($ac_try" in
33166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33167 *) ac_try_echo=$ac_try;;
33168 esac
33169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33170 (eval "$ac_compile") 2>conftest.er1
33171 ac_status=$?
33172 grep -v '^ *+' conftest.er1 >conftest.err
33173 rm -f conftest.er1
33174 cat conftest.err >&5
33175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33176 (exit $ac_status); } && {
33177 test -z "$ac_c_werror_flag" ||
33178 test ! -s conftest.err
33179 } && test -s conftest.$ac_objext; then
33180
33181 { echo "$as_me:$LINENO: result: found in default search path" >&5
33182 echo "${ECHO_T}found in default search path" >&6; }
33183 COMPILED_X_PROGRAM=1
33184
33185 else
33186 echo "$as_me: failed program was:" >&5
33187 sed 's/^/| /' conftest.$ac_ext >&5
33188
33189
33190 { echo "$as_me:$LINENO: result: no" >&5
33191 echo "${ECHO_T}no" >&6; }
33192 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33193 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33194 { (exit 1); exit 1; }; }
33195
33196
33197 fi
33198
33199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33200
33201 CFLAGS=$save_CFLAGS
33202 fi
33203
33204
33205 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33206 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33207
33208 ac_find_libraries=
33209 for ac_dir in $SEARCH_LIB;
33210 do
33211 for ac_extension in a so sl dylib dll.a; do
33212 if test -f "$ac_dir/libXm.$ac_extension"; then
33213 ac_find_libraries=$ac_dir
33214 break 2
33215 fi
33216 done
33217 done
33218
33219
33220 if test "x$ac_find_libraries" != "x" ; then
33221 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33222 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33223
33224
33225 if test "$ac_find_libraries" = "default location"; then
33226 ac_path_to_link=""
33227 else
33228 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33229 result=$?
33230 if test $result = 0; then
33231 ac_path_to_link=""
33232 else
33233 ac_path_to_link=" -L$ac_find_libraries"
33234 fi
33235 fi
33236
33237 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33238 else
33239 save_CFLAGS=$CFLAGS
33240 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33241 save_LIBS="$LIBS"
33242 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33243
33244 cat >conftest.$ac_ext <<_ACEOF
33245 /* confdefs.h. */
33246 _ACEOF
33247 cat confdefs.h >>conftest.$ac_ext
33248 cat >>conftest.$ac_ext <<_ACEOF
33249 /* end confdefs.h. */
33250
33251 #include <Xm/Xm.h>
33252
33253 int
33254 main ()
33255 {
33256
33257 int version;
33258 version = xmUseVersion;
33259
33260 ;
33261 return 0;
33262 }
33263 _ACEOF
33264 rm -f conftest.$ac_objext conftest$ac_exeext
33265 if { (ac_try="$ac_link"
33266 case "(($ac_try" in
33267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33268 *) ac_try_echo=$ac_try;;
33269 esac
33270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33271 (eval "$ac_link") 2>conftest.er1
33272 ac_status=$?
33273 grep -v '^ *+' conftest.er1 >conftest.err
33274 rm -f conftest.er1
33275 cat conftest.err >&5
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); } && {
33278 test -z "$ac_c_werror_flag" ||
33279 test ! -s conftest.err
33280 } && test -s conftest$ac_exeext &&
33281 $as_test_x conftest$ac_exeext; then
33282
33283 { echo "$as_me:$LINENO: result: found in default search path" >&5
33284 echo "${ECHO_T}found in default search path" >&6; }
33285 COMPILED_X_PROGRAM=1
33286
33287 else
33288 echo "$as_me: failed program was:" >&5
33289 sed 's/^/| /' conftest.$ac_ext >&5
33290
33291
33292 { echo "$as_me:$LINENO: result: no" >&5
33293 echo "${ECHO_T}no" >&6; }
33294 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33295 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33296 { (exit 1); exit 1; }; }
33297
33298
33299 fi
33300
33301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33302 conftest$ac_exeext conftest.$ac_ext
33303
33304 CFLAGS=$save_CFLAGS
33305 LIBS="$save_LIBS"
33306 fi
33307
33308 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33309 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33310 libp_link=""
33311 libsm_ice_link=""
33312 libs_found=0
33313 for libp in "" " -lXp"; do
33314 if test "$libs_found" = 0; then
33315 for libsm_ice in "" " -lSM -lICE"; do
33316 if test "$libs_found" = 0; then
33317 save_LIBS="$LIBS"
33318 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33319 save_CFLAGS=$CFLAGS
33320 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33321
33322 cat >conftest.$ac_ext <<_ACEOF
33323 /* confdefs.h. */
33324 _ACEOF
33325 cat confdefs.h >>conftest.$ac_ext
33326 cat >>conftest.$ac_ext <<_ACEOF
33327 /* end confdefs.h. */
33328
33329 #include <Xm/Xm.h>
33330 #include <Xm/List.h>
33331
33332 int
33333 main ()
33334 {
33335
33336 XmString string = NULL;
33337 Widget w = NULL;
33338 int position = 0;
33339 XmListAddItem(w, string, position);
33340
33341 ;
33342 return 0;
33343 }
33344 _ACEOF
33345 rm -f conftest.$ac_objext conftest$ac_exeext
33346 if { (ac_try="$ac_link"
33347 case "(($ac_try" in
33348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33349 *) ac_try_echo=$ac_try;;
33350 esac
33351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33352 (eval "$ac_link") 2>conftest.er1
33353 ac_status=$?
33354 grep -v '^ *+' conftest.er1 >conftest.err
33355 rm -f conftest.er1
33356 cat conftest.err >&5
33357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33358 (exit $ac_status); } && {
33359 test -z "$ac_c_werror_flag" ||
33360 test ! -s conftest.err
33361 } && test -s conftest$ac_exeext &&
33362 $as_test_x conftest$ac_exeext; then
33363
33364 libp_link="$libp"
33365 libsm_ice_link="$libsm_ice"
33366 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33367 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33368 libs_found=1
33369
33370 else
33371 echo "$as_me: failed program was:" >&5
33372 sed 's/^/| /' conftest.$ac_ext >&5
33373
33374
33375
33376 fi
33377
33378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33379 conftest$ac_exeext conftest.$ac_ext
33380
33381 LIBS="$save_LIBS"
33382 CFLAGS=$save_CFLAGS
33383 fi
33384 done
33385 fi
33386 done
33387
33388 if test "$libs_found" = 0; then
33389 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33390 echo "${ECHO_T}can't find the right libraries" >&6; }
33391 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33392 echo "$as_me: error: can't link a simple motif program" >&2;}
33393 { (exit 1); exit 1; }; }
33394 fi
33395
33396 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33397 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33398 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33399 echo $ECHO_N "(cached) $ECHO_C" >&6
33400 else
33401 ac_check_lib_save_LIBS=$LIBS
33402 LIBS="-lSgm $LIBS"
33403 cat >conftest.$ac_ext <<_ACEOF
33404 /* confdefs.h. */
33405 _ACEOF
33406 cat confdefs.h >>conftest.$ac_ext
33407 cat >>conftest.$ac_ext <<_ACEOF
33408 /* end confdefs.h. */
33409
33410 /* Override any GCC internal prototype to avoid an error.
33411 Use char because int might match the return type of a GCC
33412 builtin and then its argument prototype would still apply. */
33413 #ifdef __cplusplus
33414 extern "C"
33415 #endif
33416 char SgCreateList ();
33417 int
33418 main ()
33419 {
33420 return SgCreateList ();
33421 ;
33422 return 0;
33423 }
33424 _ACEOF
33425 rm -f conftest.$ac_objext conftest$ac_exeext
33426 if { (ac_try="$ac_link"
33427 case "(($ac_try" in
33428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33429 *) ac_try_echo=$ac_try;;
33430 esac
33431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33432 (eval "$ac_link") 2>conftest.er1
33433 ac_status=$?
33434 grep -v '^ *+' conftest.er1 >conftest.err
33435 rm -f conftest.er1
33436 cat conftest.err >&5
33437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33438 (exit $ac_status); } && {
33439 test -z "$ac_c_werror_flag" ||
33440 test ! -s conftest.err
33441 } && test -s conftest$ac_exeext &&
33442 $as_test_x conftest$ac_exeext; then
33443 ac_cv_lib_Sgm_SgCreateList=yes
33444 else
33445 echo "$as_me: failed program was:" >&5
33446 sed 's/^/| /' conftest.$ac_ext >&5
33447
33448 ac_cv_lib_Sgm_SgCreateList=no
33449 fi
33450
33451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33452 conftest$ac_exeext conftest.$ac_ext
33453 LIBS=$ac_check_lib_save_LIBS
33454 fi
33455 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33456 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33457 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33458 libsgm_link=" -lSgm"
33459 fi
33460
33461
33462 save_CFLAGS=$CFLAGS
33463 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33464
33465 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33466 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33467 if test "${wx_cv_lib_motif2+set}" = set; then
33468 echo $ECHO_N "(cached) $ECHO_C" >&6
33469 else
33470 cat >conftest.$ac_ext <<_ACEOF
33471 /* confdefs.h. */
33472 _ACEOF
33473 cat confdefs.h >>conftest.$ac_ext
33474 cat >>conftest.$ac_ext <<_ACEOF
33475 /* end confdefs.h. */
33476
33477 #include <Xm/Xm.h>
33478
33479 int
33480 main ()
33481 {
33482
33483 #if XmVersion < 2000
33484 Not Motif 2
33485 #endif
33486
33487 ;
33488 return 0;
33489 }
33490 _ACEOF
33491 rm -f conftest.$ac_objext
33492 if { (ac_try="$ac_compile"
33493 case "(($ac_try" in
33494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33495 *) ac_try_echo=$ac_try;;
33496 esac
33497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33498 (eval "$ac_compile") 2>conftest.er1
33499 ac_status=$?
33500 grep -v '^ *+' conftest.er1 >conftest.err
33501 rm -f conftest.er1
33502 cat conftest.err >&5
33503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33504 (exit $ac_status); } && {
33505 test -z "$ac_c_werror_flag" ||
33506 test ! -s conftest.err
33507 } && test -s conftest.$ac_objext; then
33508 wx_cv_lib_motif2="yes"
33509 else
33510 echo "$as_me: failed program was:" >&5
33511 sed 's/^/| /' conftest.$ac_ext >&5
33512
33513 wx_cv_lib_motif2="no"
33514 fi
33515
33516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33517 fi
33518 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33519 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33520 if test "$wx_cv_lib_motif2" = "yes"; then
33521 cat >>confdefs.h <<\_ACEOF
33522 #define __WXMOTIF20__ 1
33523 _ACEOF
33524
33525 else
33526 cat >>confdefs.h <<\_ACEOF
33527 #define __WXMOTIF20__ 0
33528 _ACEOF
33529
33530 fi
33531
33532 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33533 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33534 if test "${wx_cv_lib_lesstif+set}" = set; then
33535 echo $ECHO_N "(cached) $ECHO_C" >&6
33536 else
33537 cat >conftest.$ac_ext <<_ACEOF
33538 /* confdefs.h. */
33539 _ACEOF
33540 cat confdefs.h >>conftest.$ac_ext
33541 cat >>conftest.$ac_ext <<_ACEOF
33542 /* end confdefs.h. */
33543
33544 #include <Xm/Xm.h>
33545
33546 int
33547 main ()
33548 {
33549
33550 #if !defined(LesstifVersion) || LesstifVersion <= 0
33551 Not Lesstif
33552 #endif
33553
33554 ;
33555 return 0;
33556 }
33557 _ACEOF
33558 rm -f conftest.$ac_objext
33559 if { (ac_try="$ac_compile"
33560 case "(($ac_try" in
33561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33562 *) ac_try_echo=$ac_try;;
33563 esac
33564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33565 (eval "$ac_compile") 2>conftest.er1
33566 ac_status=$?
33567 grep -v '^ *+' conftest.er1 >conftest.err
33568 rm -f conftest.er1
33569 cat conftest.err >&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); } && {
33572 test -z "$ac_c_werror_flag" ||
33573 test ! -s conftest.err
33574 } && test -s conftest.$ac_objext; then
33575 wx_cv_lib_lesstif="yes"
33576 else
33577 echo "$as_me: failed program was:" >&5
33578 sed 's/^/| /' conftest.$ac_ext >&5
33579
33580 wx_cv_lib_lesstif="no"
33581 fi
33582
33583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33584
33585 fi
33586 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33587 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33588 if test "$wx_cv_lib_lesstif" = "yes"; then
33589 cat >>confdefs.h <<\_ACEOF
33590 #define __WXLESSTIF__ 1
33591 _ACEOF
33592
33593 else
33594 cat >>confdefs.h <<\_ACEOF
33595 #define __WXLESSTIF__ 0
33596 _ACEOF
33597
33598 fi
33599
33600 CFLAGS=$save_CFLAGS
33601
33602 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33603 TOOLKIT=MOTIF
33604 GUIDIST=MOTIF_DIST
33605 fi
33606
33607 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33608 if test "$wxUSE_LIBXPM" = "sys"; then
33609 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33610 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33611
33612 ac_find_libraries=
33613 for ac_dir in $SEARCH_LIB;
33614 do
33615 for ac_extension in a so sl dylib dll.a; do
33616 if test -f "$ac_dir/libXpm.$ac_extension"; then
33617 ac_find_libraries=$ac_dir
33618 break 2
33619 fi
33620 done
33621 done
33622
33623 if test "$ac_find_libraries" != "" ; then
33624
33625 if test "$ac_find_libraries" = "default location"; then
33626 ac_path_to_link=""
33627 else
33628 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33629 result=$?
33630 if test $result = 0; then
33631 ac_path_to_link=""
33632 else
33633 ac_path_to_link=" -L$ac_find_libraries"
33634 fi
33635 fi
33636
33637 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33638 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33639 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33640
33641 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33642 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33643 if test "${wx_cv_x11_xpm_h+set}" = set; then
33644 echo $ECHO_N "(cached) $ECHO_C" >&6
33645 else
33646
33647 save_CFLAGS=$CFLAGS
33648 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33649
33650 cat >conftest.$ac_ext <<_ACEOF
33651 /* confdefs.h. */
33652 _ACEOF
33653 cat confdefs.h >>conftest.$ac_ext
33654 cat >>conftest.$ac_ext <<_ACEOF
33655 /* end confdefs.h. */
33656
33657 #include <X11/xpm.h>
33658
33659 int
33660 main ()
33661 {
33662
33663 int version;
33664 version = XpmLibraryVersion();
33665
33666 ;
33667 return 0;
33668 }
33669 _ACEOF
33670 rm -f conftest.$ac_objext
33671 if { (ac_try="$ac_compile"
33672 case "(($ac_try" in
33673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33674 *) ac_try_echo=$ac_try;;
33675 esac
33676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33677 (eval "$ac_compile") 2>conftest.er1
33678 ac_status=$?
33679 grep -v '^ *+' conftest.er1 >conftest.err
33680 rm -f conftest.er1
33681 cat conftest.err >&5
33682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683 (exit $ac_status); } && {
33684 test -z "$ac_c_werror_flag" ||
33685 test ! -s conftest.err
33686 } && test -s conftest.$ac_objext; then
33687 wx_cv_x11_xpm_h=yes
33688 else
33689 echo "$as_me: failed program was:" >&5
33690 sed 's/^/| /' conftest.$ac_ext >&5
33691
33692 wx_cv_x11_xpm_h=no
33693
33694 fi
33695
33696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33697
33698 CFLAGS=$save_CFLAGS
33699
33700
33701 fi
33702 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33703 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33704
33705 if test $wx_cv_x11_xpm_h = "yes"; then
33706 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33707 cat >>confdefs.h <<\_ACEOF
33708 #define wxHAVE_LIB_XPM 1
33709 _ACEOF
33710
33711 else
33712 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33713 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33714 fi
33715 fi
33716
33717 fi
33718
33719 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33720 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33721 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33722 echo $ECHO_N "(cached) $ECHO_C" >&6
33723 else
33724 ac_check_lib_save_LIBS=$LIBS
33725 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33726 cat >conftest.$ac_ext <<_ACEOF
33727 /* confdefs.h. */
33728 _ACEOF
33729 cat confdefs.h >>conftest.$ac_ext
33730 cat >>conftest.$ac_ext <<_ACEOF
33731 /* end confdefs.h. */
33732
33733 /* Override any GCC internal prototype to avoid an error.
33734 Use char because int might match the return type of a GCC
33735 builtin and then its argument prototype would still apply. */
33736 #ifdef __cplusplus
33737 extern "C"
33738 #endif
33739 char XShapeQueryExtension ();
33740 int
33741 main ()
33742 {
33743 return XShapeQueryExtension ();
33744 ;
33745 return 0;
33746 }
33747 _ACEOF
33748 rm -f conftest.$ac_objext conftest$ac_exeext
33749 if { (ac_try="$ac_link"
33750 case "(($ac_try" in
33751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33752 *) ac_try_echo=$ac_try;;
33753 esac
33754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33755 (eval "$ac_link") 2>conftest.er1
33756 ac_status=$?
33757 grep -v '^ *+' conftest.er1 >conftest.err
33758 rm -f conftest.er1
33759 cat conftest.err >&5
33760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761 (exit $ac_status); } && {
33762 test -z "$ac_c_werror_flag" ||
33763 test ! -s conftest.err
33764 } && test -s conftest$ac_exeext &&
33765 $as_test_x conftest$ac_exeext; then
33766 ac_cv_lib_Xext_XShapeQueryExtension=yes
33767 else
33768 echo "$as_me: failed program was:" >&5
33769 sed 's/^/| /' conftest.$ac_ext >&5
33770
33771 ac_cv_lib_Xext_XShapeQueryExtension=no
33772 fi
33773
33774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33775 conftest$ac_exeext conftest.$ac_ext
33776 LIBS=$ac_check_lib_save_LIBS
33777 fi
33778 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33779 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33780 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33781
33782 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33783 wxHAVE_XEXT_LIB=1
33784
33785 fi
33786
33787
33788 if test "$wxHAVE_XEXT_LIB" = 1; then
33789 save_CFLAGS="$CFLAGS"
33790 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33791
33792 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33793 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33794 cat >conftest.$ac_ext <<_ACEOF
33795 /* confdefs.h. */
33796 _ACEOF
33797 cat confdefs.h >>conftest.$ac_ext
33798 cat >>conftest.$ac_ext <<_ACEOF
33799 /* end confdefs.h. */
33800
33801 #include <X11/Xlib.h>
33802 #include <X11/extensions/shape.h>
33803
33804 int
33805 main ()
33806 {
33807
33808 int dummy1, dummy2;
33809 XShapeQueryExtension((Display*)NULL,
33810 (int*)NULL, (int*)NULL);
33811
33812 ;
33813 return 0;
33814 }
33815 _ACEOF
33816 rm -f conftest.$ac_objext
33817 if { (ac_try="$ac_compile"
33818 case "(($ac_try" in
33819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33820 *) ac_try_echo=$ac_try;;
33821 esac
33822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33823 (eval "$ac_compile") 2>conftest.er1
33824 ac_status=$?
33825 grep -v '^ *+' conftest.er1 >conftest.err
33826 rm -f conftest.er1
33827 cat conftest.err >&5
33828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33829 (exit $ac_status); } && {
33830 test -z "$ac_c_werror_flag" ||
33831 test ! -s conftest.err
33832 } && test -s conftest.$ac_objext; then
33833
33834 cat >>confdefs.h <<\_ACEOF
33835 #define HAVE_XSHAPE 1
33836 _ACEOF
33837
33838 { echo "$as_me:$LINENO: result: found" >&5
33839 echo "${ECHO_T}found" >&6; }
33840
33841 else
33842 echo "$as_me: failed program was:" >&5
33843 sed 's/^/| /' conftest.$ac_ext >&5
33844
33845
33846 { echo "$as_me:$LINENO: result: not found" >&5
33847 echo "${ECHO_T}not found" >&6; }
33848
33849 fi
33850
33851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33852 CFLAGS="$save_CFLAGS"
33853
33854 fi
33855 fi
33856
33857 if test "$wxUSE_OSX_CARBON" = 1; then
33858 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33859 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33860 if test "$GCC" = yes; then
33861 { echo "$as_me:$LINENO: result: gcc" >&5
33862 echo "${ECHO_T}gcc" >&6; }
33863 CPPFLAGS_PASCAL="-fpascal-strings"
33864 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33865 { echo "$as_me:$LINENO: result: xlc" >&5
33866 echo "${ECHO_T}xlc" >&6; }
33867 CPPFLAGS_PASCAL="-qmacpstr"
33868 else
33869 { echo "$as_me:$LINENO: result: none" >&5
33870 echo "${ECHO_T}none" >&6; }
33871 fi
33872
33873 if test "x$wxUSE_UNIX" = "xyes"; then
33874 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33875 else
33876 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33877 fi
33878
33879 TOOLKIT=OSX_CARBON
33880 GUIDIST=OSX_CARBON_DIST
33881 WXBASEPORT="_carbon"
33882
33883 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33884 fi
33885
33886 if test "$wxUSE_OSX_COCOA" = 1; then
33887 TOOLKIT=OSX_COCOA
33888 GUIDIST=OSX_COCOA_DIST
33889
33890 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33891 fi
33892
33893 if test "$wxUSE_OSX_IPHONE" = 1; then
33894 TOOLKIT=OSX_IPHONE
33895 fi
33896
33897 if test "$wxUSE_OLD_COCOA" = 1; then
33898 TOOLKIT=COCOA
33899 GUIDIST=COCOA_DIST
33900 fi
33901
33902 if test "$wxUSE_PM" = 1; then
33903 TOOLKIT=PM
33904 GUIDIST=PM_DIST
33905 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33906 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33907 if test "${wx_cv_spbcdata+set}" = set; then
33908 echo $ECHO_N "(cached) $ECHO_C" >&6
33909 else
33910
33911 cat >conftest.$ac_ext <<_ACEOF
33912 /* confdefs.h. */
33913 _ACEOF
33914 cat confdefs.h >>conftest.$ac_ext
33915 cat >>conftest.$ac_ext <<_ACEOF
33916 /* end confdefs.h. */
33917
33918 #define INCL_PM
33919 #include <os2.h>
33920
33921 int
33922 main ()
33923 {
33924
33925 SPBCDATA test;
33926
33927 ;
33928 return 0;
33929 }
33930 _ACEOF
33931 rm -f conftest.$ac_objext
33932 if { (ac_try="$ac_compile"
33933 case "(($ac_try" in
33934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33935 *) ac_try_echo=$ac_try;;
33936 esac
33937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33938 (eval "$ac_compile") 2>conftest.er1
33939 ac_status=$?
33940 grep -v '^ *+' conftest.er1 >conftest.err
33941 rm -f conftest.er1
33942 cat conftest.err >&5
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); } && {
33945 test -z "$ac_c_werror_flag" ||
33946 test ! -s conftest.err
33947 } && test -s conftest.$ac_objext; then
33948 wx_cv_spbcdata=yes
33949 else
33950 echo "$as_me: failed program was:" >&5
33951 sed 's/^/| /' conftest.$ac_ext >&5
33952
33953 wx_cv_spbcdata=no
33954
33955 fi
33956
33957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33958
33959
33960 fi
33961 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33962 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33963
33964 if test $wx_cv_spbcdata = "yes"; then
33965 cat >>confdefs.h <<\_ACEOF
33966 #define HAVE_SPBCDATA 1
33967 _ACEOF
33968
33969 fi
33970 fi
33971
33972 if test "$TOOLKIT" = "PM" ; then
33973 TOOLKIT_DIR="os2"
33974 else
33975 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33976 fi
33977
33978 if test "$wxUSE_UNIVERSAL" = "yes"; then
33979 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33980 WIDGET_SET=univ
33981 fi
33982
33983 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33984 DISTDIR="wx\$(TOOLKIT)"
33985 else
33986 USE_GUI=0
33987
33988 TOOLKIT_DIR="base"
33989
33990 if test "$USE_WIN32" = 1 ; then
33991 TOOLKIT="MSW"
33992 fi
33993
33994 GUIDIST="BASE_DIST"
33995 DISTDIR="wxBase"
33996 fi
33997
33998
33999
34000 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34001 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34002 wxUSE_UNICODE_UTF8=yes
34003 elif test "$USE_OS2" = 1 ; then
34004 wxUSE_UNICODE_UTF8=yes
34005 else
34006 wxUSE_UNICODE_UTF8=no
34007 fi
34008 fi
34009
34010
34011 if test "$wxUSE_GUI" = "yes"; then
34012 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34013
34014 for ac_header in X11/Xlib.h
34015 do
34016 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34017 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34020 echo $ECHO_N "(cached) $ECHO_C" >&6
34021 else
34022 cat >conftest.$ac_ext <<_ACEOF
34023 /* confdefs.h. */
34024 _ACEOF
34025 cat confdefs.h >>conftest.$ac_ext
34026 cat >>conftest.$ac_ext <<_ACEOF
34027 /* end confdefs.h. */
34028
34029
34030 #include <$ac_header>
34031 _ACEOF
34032 rm -f conftest.$ac_objext
34033 if { (ac_try="$ac_compile"
34034 case "(($ac_try" in
34035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34036 *) ac_try_echo=$ac_try;;
34037 esac
34038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34039 (eval "$ac_compile") 2>conftest.er1
34040 ac_status=$?
34041 grep -v '^ *+' conftest.er1 >conftest.err
34042 rm -f conftest.er1
34043 cat conftest.err >&5
34044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34045 (exit $ac_status); } && {
34046 test -z "$ac_c_werror_flag" ||
34047 test ! -s conftest.err
34048 } && test -s conftest.$ac_objext; then
34049 eval "$as_ac_Header=yes"
34050 else
34051 echo "$as_me: failed program was:" >&5
34052 sed 's/^/| /' conftest.$ac_ext >&5
34053
34054 eval "$as_ac_Header=no"
34055 fi
34056
34057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34058 fi
34059 ac_res=`eval echo '${'$as_ac_Header'}'`
34060 { echo "$as_me:$LINENO: result: $ac_res" >&5
34061 echo "${ECHO_T}$ac_res" >&6; }
34062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34063 cat >>confdefs.h <<_ACEOF
34064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34065 _ACEOF
34066
34067 fi
34068
34069 done
34070
34071
34072 for ac_header in X11/XKBlib.h
34073 do
34074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34075 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34077 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34078 echo $ECHO_N "(cached) $ECHO_C" >&6
34079 else
34080 cat >conftest.$ac_ext <<_ACEOF
34081 /* confdefs.h. */
34082 _ACEOF
34083 cat confdefs.h >>conftest.$ac_ext
34084 cat >>conftest.$ac_ext <<_ACEOF
34085 /* end confdefs.h. */
34086
34087 #if HAVE_X11_XLIB_H
34088 #include <X11/Xlib.h>
34089 #endif
34090
34091
34092 #include <$ac_header>
34093 _ACEOF
34094 rm -f conftest.$ac_objext
34095 if { (ac_try="$ac_compile"
34096 case "(($ac_try" in
34097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34098 *) ac_try_echo=$ac_try;;
34099 esac
34100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34101 (eval "$ac_compile") 2>conftest.er1
34102 ac_status=$?
34103 grep -v '^ *+' conftest.er1 >conftest.err
34104 rm -f conftest.er1
34105 cat conftest.err >&5
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); } && {
34108 test -z "$ac_c_werror_flag" ||
34109 test ! -s conftest.err
34110 } && test -s conftest.$ac_objext; then
34111 eval "$as_ac_Header=yes"
34112 else
34113 echo "$as_me: failed program was:" >&5
34114 sed 's/^/| /' conftest.$ac_ext >&5
34115
34116 eval "$as_ac_Header=no"
34117 fi
34118
34119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34120 fi
34121 ac_res=`eval echo '${'$as_ac_Header'}'`
34122 { echo "$as_me:$LINENO: result: $ac_res" >&5
34123 echo "${ECHO_T}$ac_res" >&6; }
34124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34125 cat >>confdefs.h <<_ACEOF
34126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34127 _ACEOF
34128
34129 fi
34130
34131 done
34132
34133 fi
34134 fi
34135
34136
34137
34138 USE_XINERAMA=0
34139 if test "$wxUSE_DISPLAY" = "yes"; then
34140 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34141 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34142 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34143
34144 ac_find_libraries=
34145 for ac_dir in $SEARCH_LIB;
34146 do
34147 for ac_extension in a so sl dylib dll.a; do
34148 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34149 ac_find_libraries=$ac_dir
34150 break 2
34151 fi
34152 done
34153 done
34154
34155 if test "$ac_find_libraries" != "" ; then
34156
34157 if test "$ac_find_libraries" = "default location"; then
34158 ac_path_to_link=""
34159 else
34160 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34161 result=$?
34162 if test $result = 0; then
34163 ac_path_to_link=""
34164 else
34165 ac_path_to_link=" -L$ac_find_libraries"
34166 fi
34167 fi
34168
34169 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34170 LDFLAGS="$LDFLAGS $ac_path_to_link"
34171 fi
34172 USE_XINERAMA=1
34173 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34174 { echo "$as_me:$LINENO: result: yes" >&5
34175 echo "${ECHO_T}yes" >&6; }
34176 else
34177 { echo "$as_me:$LINENO: result: no" >&5
34178 echo "${ECHO_T}no" >&6; }
34179 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34180 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34181 wxUSE_DISPLAY="no"
34182 fi
34183 elif test "$wxUSE_MSW" = 1; then
34184 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34185 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34186 if test "${ac_cv_header_ddraw_h+set}" = set; then
34187 echo $ECHO_N "(cached) $ECHO_C" >&6
34188 else
34189 cat >conftest.$ac_ext <<_ACEOF
34190 /* confdefs.h. */
34191 _ACEOF
34192 cat confdefs.h >>conftest.$ac_ext
34193 cat >>conftest.$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34195 #include <windows.h>
34196
34197 #include <ddraw.h>
34198 _ACEOF
34199 rm -f conftest.$ac_objext
34200 if { (ac_try="$ac_compile"
34201 case "(($ac_try" in
34202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34203 *) ac_try_echo=$ac_try;;
34204 esac
34205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34206 (eval "$ac_compile") 2>conftest.er1
34207 ac_status=$?
34208 grep -v '^ *+' conftest.er1 >conftest.err
34209 rm -f conftest.er1
34210 cat conftest.err >&5
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); } && {
34213 test -z "$ac_c_werror_flag" ||
34214 test ! -s conftest.err
34215 } && test -s conftest.$ac_objext; then
34216 ac_cv_header_ddraw_h=yes
34217 else
34218 echo "$as_me: failed program was:" >&5
34219 sed 's/^/| /' conftest.$ac_ext >&5
34220
34221 ac_cv_header_ddraw_h=no
34222 fi
34223
34224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34225 fi
34226 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34227 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34228
34229
34230 fi
34231 fi
34232
34233 if test "$wxUSE_DISPLAY" = "yes"; then
34234 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34235 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34236 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34237
34238 ac_find_libraries=
34239 for ac_dir in $SEARCH_LIB;
34240 do
34241 for ac_extension in a so sl dylib dll.a; do
34242 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34243 ac_find_libraries=$ac_dir
34244 break 2
34245 fi
34246 done
34247 done
34248
34249 if test "$ac_find_libraries" != "" ; then
34250 { echo "$as_me:$LINENO: result: yes" >&5
34251 echo "${ECHO_T}yes" >&6; }
34252
34253 for ac_header in X11/extensions/xf86vmode.h
34254 do
34255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34256 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34259 echo $ECHO_N "(cached) $ECHO_C" >&6
34260 else
34261 cat >conftest.$ac_ext <<_ACEOF
34262 /* confdefs.h. */
34263 _ACEOF
34264 cat confdefs.h >>conftest.$ac_ext
34265 cat >>conftest.$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34267
34268 #if HAVE_X11_XLIB_H
34269 #include <X11/Xlib.h>
34270 #endif
34271
34272
34273 #include <$ac_header>
34274 _ACEOF
34275 rm -f conftest.$ac_objext
34276 if { (ac_try="$ac_compile"
34277 case "(($ac_try" in
34278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34279 *) ac_try_echo=$ac_try;;
34280 esac
34281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34282 (eval "$ac_compile") 2>conftest.er1
34283 ac_status=$?
34284 grep -v '^ *+' conftest.er1 >conftest.err
34285 rm -f conftest.er1
34286 cat conftest.err >&5
34287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288 (exit $ac_status); } && {
34289 test -z "$ac_c_werror_flag" ||
34290 test ! -s conftest.err
34291 } && test -s conftest.$ac_objext; then
34292 eval "$as_ac_Header=yes"
34293 else
34294 echo "$as_me: failed program was:" >&5
34295 sed 's/^/| /' conftest.$ac_ext >&5
34296
34297 eval "$as_ac_Header=no"
34298 fi
34299
34300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34301 fi
34302 ac_res=`eval echo '${'$as_ac_Header'}'`
34303 { echo "$as_me:$LINENO: result: $ac_res" >&5
34304 echo "${ECHO_T}$ac_res" >&6; }
34305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34306 cat >>confdefs.h <<_ACEOF
34307 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34308 _ACEOF
34309
34310 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34311
34312 fi
34313
34314 done
34315
34316 else
34317 { echo "$as_me:$LINENO: result: no" >&5
34318 echo "${ECHO_T}no" >&6; }
34319 fi
34320 fi
34321 fi
34322
34323 if test "$wxUSE_DETECT_SM" = "yes"; then
34324 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34325 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34326 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34327
34328 ac_find_libraries=
34329 for ac_dir in $SEARCH_LIB;
34330 do
34331 for ac_extension in a so sl dylib dll.a; do
34332 if test -f "$ac_dir/libSM.$ac_extension"; then
34333 ac_find_libraries=$ac_dir
34334 break 2
34335 fi
34336 done
34337 done
34338
34339 if test "$ac_find_libraries" != "" ; then
34340
34341 if test "$ac_find_libraries" = "default location"; then
34342 ac_path_to_link=""
34343 else
34344 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34345 result=$?
34346 if test $result = 0; then
34347 ac_path_to_link=""
34348 else
34349 ac_path_to_link=" -L$ac_find_libraries"
34350 fi
34351 fi
34352
34353 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34354 LDFLAGS="$LDFLAGS $ac_path_to_link"
34355 fi
34356 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34357 { echo "$as_me:$LINENO: result: yes" >&5
34358 echo "${ECHO_T}yes" >&6; }
34359 else
34360 { echo "$as_me:$LINENO: result: no" >&5
34361 echo "${ECHO_T}no" >&6; }
34362 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34363 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34364 wxUSE_DETECT_SM="no"
34365 fi
34366 else
34367 wxUSE_DETECT_SM="no"
34368 fi
34369 fi
34370
34371
34372
34373 USE_OPENGL=0
34374 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34375
34376
34377 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34378 OPENGL_LIBS="-framework OpenGL -framework AGL"
34379 elif test "$wxUSE_MSW" = 1; then
34380 OPENGL_LIBS="-lopengl32 -lglu32"
34381 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34382
34383 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34384 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34385
34386 ac_find_includes=
34387 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34388 do
34389 if test -f "$ac_dir/GL/gl.h"; then
34390 ac_find_includes=$ac_dir
34391 break
34392 fi
34393 done
34394
34395 if test "$ac_find_includes" != "" ; then
34396 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34397 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34398
34399 if test "x$ac_find_includes" = "x/usr/include"; then
34400 ac_path_to_include=""
34401 else
34402 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34403 result=$?
34404 if test $result = 0; then
34405 ac_path_to_include=""
34406 else
34407 ac_path_to_include=" -I$ac_find_includes"
34408 fi
34409 fi
34410
34411 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34412 else
34413 { echo "$as_me:$LINENO: result: not found" >&5
34414 echo "${ECHO_T}not found" >&6; }
34415 fi
34416
34417 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34418 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34419 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34420 echo $ECHO_N "(cached) $ECHO_C" >&6
34421 else
34422 cat >conftest.$ac_ext <<_ACEOF
34423 /* confdefs.h. */
34424 _ACEOF
34425 cat confdefs.h >>conftest.$ac_ext
34426 cat >>conftest.$ac_ext <<_ACEOF
34427 /* end confdefs.h. */
34428
34429
34430 #include <GL/gl.h>
34431 _ACEOF
34432 rm -f conftest.$ac_objext
34433 if { (ac_try="$ac_compile"
34434 case "(($ac_try" in
34435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34436 *) ac_try_echo=$ac_try;;
34437 esac
34438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34439 (eval "$ac_compile") 2>conftest.er1
34440 ac_status=$?
34441 grep -v '^ *+' conftest.er1 >conftest.err
34442 rm -f conftest.er1
34443 cat conftest.err >&5
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); } && {
34446 test -z "$ac_c_werror_flag" ||
34447 test ! -s conftest.err
34448 } && test -s conftest.$ac_objext; then
34449 ac_cv_header_GL_gl_h=yes
34450 else
34451 echo "$as_me: failed program was:" >&5
34452 sed 's/^/| /' conftest.$ac_ext >&5
34453
34454 ac_cv_header_GL_gl_h=no
34455 fi
34456
34457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34458 fi
34459 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34460 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34461 if test $ac_cv_header_GL_gl_h = yes; then
34462
34463 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34464 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34465 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34466 echo $ECHO_N "(cached) $ECHO_C" >&6
34467 else
34468 cat >conftest.$ac_ext <<_ACEOF
34469 /* confdefs.h. */
34470 _ACEOF
34471 cat confdefs.h >>conftest.$ac_ext
34472 cat >>conftest.$ac_ext <<_ACEOF
34473 /* end confdefs.h. */
34474
34475
34476 #include <GL/glu.h>
34477 _ACEOF
34478 rm -f conftest.$ac_objext
34479 if { (ac_try="$ac_compile"
34480 case "(($ac_try" in
34481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34482 *) ac_try_echo=$ac_try;;
34483 esac
34484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34485 (eval "$ac_compile") 2>conftest.er1
34486 ac_status=$?
34487 grep -v '^ *+' conftest.er1 >conftest.err
34488 rm -f conftest.er1
34489 cat conftest.err >&5
34490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34491 (exit $ac_status); } && {
34492 test -z "$ac_c_werror_flag" ||
34493 test ! -s conftest.err
34494 } && test -s conftest.$ac_objext; then
34495 ac_cv_header_GL_glu_h=yes
34496 else
34497 echo "$as_me: failed program was:" >&5
34498 sed 's/^/| /' conftest.$ac_ext >&5
34499
34500 ac_cv_header_GL_glu_h=no
34501 fi
34502
34503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34504 fi
34505 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34506 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34507 if test $ac_cv_header_GL_glu_h = yes; then
34508
34509 found_gl=0
34510
34511 { echo "$as_me:$LINENO: checking for -lGL" >&5
34512 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34513
34514 ac_find_libraries=
34515 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34516 do
34517 for ac_extension in a so sl dylib dll.a; do
34518 if test -f "$ac_dir/libGL.$ac_extension"; then
34519 ac_find_libraries=$ac_dir
34520 break 2
34521 fi
34522 done
34523 done
34524
34525 if test "$ac_find_libraries" != "" ; then
34526 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34527 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34528
34529
34530 if test "$ac_find_libraries" = "default location"; then
34531 ac_path_to_link=""
34532 else
34533 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34534 result=$?
34535 if test $result = 0; then
34536 ac_path_to_link=""
34537 else
34538 ac_path_to_link=" -L$ac_find_libraries"
34539 fi
34540 fi
34541
34542 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34543 LDFLAGS_GL="$ac_path_to_link"
34544 fi
34545
34546 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34547 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34548
34549 ac_find_libraries=
34550 for ac_dir in $SEARCH_LIB;
34551 do
34552 for ac_extension in a so sl dylib dll.a; do
34553 if test -f "$ac_dir/libGLU.$ac_extension"; then
34554 ac_find_libraries=$ac_dir
34555 break 2
34556 fi
34557 done
34558 done
34559
34560 if test "$ac_find_libraries" != "" ; then
34561
34562 if test "$ac_find_libraries" = "default location"; then
34563 ac_path_to_link=""
34564 else
34565 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34566 result=$?
34567 if test $result = 0; then
34568 ac_path_to_link=""
34569 else
34570 ac_path_to_link=" -L$ac_find_libraries"
34571 fi
34572 fi
34573
34574 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34575 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34576 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34577 fi
34578
34579 found_gl=1
34580 OPENGL_LIBS="-lGL -lGLU"
34581 { echo "$as_me:$LINENO: result: yes" >&5
34582 echo "${ECHO_T}yes" >&6; }
34583 else
34584 { echo "$as_me:$LINENO: result: no" >&5
34585 echo "${ECHO_T}no" >&6; }
34586 fi
34587 else
34588 { echo "$as_me:$LINENO: result: no" >&5
34589 echo "${ECHO_T}no" >&6; }
34590 fi
34591
34592 if test "$found_gl" != 1; then
34593 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34594 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34595
34596 ac_find_libraries=
34597 for ac_dir in $SEARCH_LIB;
34598 do
34599 for ac_extension in a so sl dylib dll.a; do
34600 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34601 ac_find_libraries=$ac_dir
34602 break 2
34603 fi
34604 done
34605 done
34606
34607 if test "$ac_find_libraries" != "" ; then
34608
34609 if test "$ac_find_libraries" = "default location"; then
34610 ac_path_to_link=""
34611 else
34612 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34613 result=$?
34614 if test $result = 0; then
34615 ac_path_to_link=""
34616 else
34617 ac_path_to_link=" -L$ac_find_libraries"
34618 fi
34619 fi
34620
34621 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34622 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34623 { echo "$as_me:$LINENO: result: yes" >&5
34624 echo "${ECHO_T}yes" >&6; }
34625 else
34626 { echo "$as_me:$LINENO: result: no" >&5
34627 echo "${ECHO_T}no" >&6; }
34628 fi
34629 fi
34630
34631 fi
34632
34633
34634
34635 fi
34636
34637
34638
34639 if test "x$OPENGL_LIBS" = "x"; then
34640 if test "$wxUSE_OPENGL" = "yes"; then
34641 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34642 echo "$as_me: error: OpenGL libraries not available" >&2;}
34643 { (exit 1); exit 1; }; }
34644 else
34645 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34646 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34647 wxUSE_OPENGL=no
34648 USE_OPENGL=0
34649 fi
34650 fi
34651 else
34652 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34653 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34654 wxUSE_OPENGL="no"
34655 fi
34656
34657 if test "$wxUSE_OPENGL" = "auto"; then
34658 wxUSE_OPENGL=yes
34659 fi
34660
34661 if test "$wxUSE_OPENGL" = "yes"; then
34662 USE_OPENGL=1
34663 cat >>confdefs.h <<\_ACEOF
34664 #define wxUSE_OPENGL 1
34665 _ACEOF
34666
34667 cat >>confdefs.h <<\_ACEOF
34668 #define wxUSE_GLCANVAS 1
34669 _ACEOF
34670
34671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34672 fi
34673 fi
34674
34675
34676 if test -n "$TOOLKIT" ; then
34677 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34678 fi
34679
34680
34681
34682 if test "$wxUSE_SHARED" = "yes"; then
34683 case "${host}" in
34684 *-pc-msdosdjgpp )
34685 wxUSE_SHARED=no
34686 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34687 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34688 ;;
34689 esac
34690 fi
34691
34692 if test "$wxUSE_SHARED" = "yes"; then
34693
34694
34695 case "${host}" in
34696 *-*-cygwin* | *-*-mingw* )
34697 wx_cv_version_script=no
34698 ;;
34699
34700 *)
34701 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34702 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34703 if test "${wx_cv_version_script+set}" = set; then
34704 echo $ECHO_N "(cached) $ECHO_C" >&6
34705 else
34706
34707 echo "VER_1 { *; };" >conftest.sym
34708 echo "int main() { return 0; }" >conftest.cpp
34709
34710 if { ac_try='
34711 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34712 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34714 (eval $ac_try) 2>&5
34715 ac_status=$?
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); }; } ; then
34718 if test -s conftest.stderr ; then
34719 wx_cv_version_script=no
34720 else
34721 wx_cv_version_script=yes
34722 fi
34723 else
34724 wx_cv_version_script=no
34725 fi
34726
34727 if test $wx_cv_version_script = yes
34728 then
34729 echo "struct B { virtual ~B() { } }; \
34730 struct D : public B { }; \
34731 void F() { D d; }" > conftest.cpp
34732
34733 if { ac_try='
34734 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34735 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34737 (eval $ac_try) 2>&5
34738 ac_status=$?
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); }; } &&
34741 { ac_try='
34742 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34743 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34745 (eval $ac_try) 2>&5
34746 ac_status=$?
34747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34748 (exit $ac_status); }; }
34749 then
34750 if { ac_try='
34751 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34752 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34754 (eval $ac_try) 2>&5
34755 ac_status=$?
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); }; }
34758 then
34759 wx_cv_version_script=yes
34760 else
34761 wx_cv_version_script=no
34762 fi
34763 fi
34764 fi
34765
34766 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34767 rm -f conftest1.output conftest2.output conftest3.output
34768
34769 fi
34770 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34771 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34772
34773 if test $wx_cv_version_script = yes ; then
34774 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34775 fi
34776 ;;
34777 esac
34778
34779
34780 if test "$wxUSE_VISIBILITY" != "no"; then
34781
34782
34783 if test -n "$GCC"; then
34784 CFLAGS_VISIBILITY="-fvisibility=hidden"
34785 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34786 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34787 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34788 if test "${wx_cv_cc_visibility+set}" = set; then
34789 echo $ECHO_N "(cached) $ECHO_C" >&6
34790 else
34791
34792 wx_save_CXXFLAGS="$CXXFLAGS"
34793 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34794 ac_ext=cpp
34795 ac_cpp='$CXXCPP $CPPFLAGS'
34796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34799
34800 cat >conftest.$ac_ext <<_ACEOF
34801 /* confdefs.h. */
34802 _ACEOF
34803 cat confdefs.h >>conftest.$ac_ext
34804 cat >>conftest.$ac_ext <<_ACEOF
34805 /* end confdefs.h. */
34806
34807 /* we need gcc >= 4.0, older versions with visibility support
34808 didn't have class visibility: */
34809 #if defined(__GNUC__) && __GNUC__ < 4
34810 error this gcc is too old;
34811 #endif
34812
34813 /* visibility only makes sense for ELF shared libs: */
34814 #if !defined(__ELF__) && !defined(__APPLE__)
34815 error this platform has no visibility;
34816 #endif
34817
34818 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34819 extern __attribute__((__visibility__("default"))) int exportedvar;
34820 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34821 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34822 class __attribute__((__visibility__("default"))) Foo {
34823 Foo() {}
34824 };
34825
34826 int
34827 main ()
34828 {
34829
34830 ;
34831 return 0;
34832 }
34833 _ACEOF
34834 rm -f conftest.$ac_objext
34835 if { (ac_try="$ac_compile"
34836 case "(($ac_try" in
34837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34838 *) ac_try_echo=$ac_try;;
34839 esac
34840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34841 (eval "$ac_compile") 2>conftest.er1
34842 ac_status=$?
34843 grep -v '^ *+' conftest.er1 >conftest.err
34844 rm -f conftest.er1
34845 cat conftest.err >&5
34846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34847 (exit $ac_status); } && {
34848 test -z "$ac_cxx_werror_flag" ||
34849 test ! -s conftest.err
34850 } && test -s conftest.$ac_objext; then
34851 wx_cv_cc_visibility=yes
34852 else
34853 echo "$as_me: failed program was:" >&5
34854 sed 's/^/| /' conftest.$ac_ext >&5
34855
34856 wx_cv_cc_visibility=no
34857 fi
34858
34859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34860 ac_ext=c
34861 ac_cpp='$CPP $CPPFLAGS'
34862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34865
34866 CXXFLAGS="$wx_save_CXXFLAGS"
34867 fi
34868
34869 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34870 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34871 if test $wx_cv_cc_visibility = yes; then
34872 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34873 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34874 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34875 echo $ECHO_N "(cached) $ECHO_C" >&6
34876 else
34877
34878 wx_save_CXXFLAGS="$CXXFLAGS"
34879 wx_save_LDFLAGS="$LDFLAGS"
34880 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34881 LDFLAGS="$LDFLAGS -shared -fPIC"
34882 ac_ext=cpp
34883 ac_cpp='$CXXCPP $CPPFLAGS'
34884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34887
34888 cat >conftest.$ac_ext <<_ACEOF
34889 /* confdefs.h. */
34890 _ACEOF
34891 cat confdefs.h >>conftest.$ac_ext
34892 cat >>conftest.$ac_ext <<_ACEOF
34893 /* end confdefs.h. */
34894
34895 #include <string>
34896
34897 int
34898 main ()
34899 {
34900
34901 std::string s("hello");
34902 return s.length();
34903
34904 ;
34905 return 0;
34906 }
34907 _ACEOF
34908 rm -f conftest.$ac_objext conftest$ac_exeext
34909 if { (ac_try="$ac_link"
34910 case "(($ac_try" in
34911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34912 *) ac_try_echo=$ac_try;;
34913 esac
34914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34915 (eval "$ac_link") 2>conftest.er1
34916 ac_status=$?
34917 grep -v '^ *+' conftest.er1 >conftest.err
34918 rm -f conftest.er1
34919 cat conftest.err >&5
34920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34921 (exit $ac_status); } && {
34922 test -z "$ac_cxx_werror_flag" ||
34923 test ! -s conftest.err
34924 } && test -s conftest$ac_exeext &&
34925 $as_test_x conftest$ac_exeext; then
34926 wx_cv_cc_broken_libstdcxx_visibility=no
34927 else
34928 echo "$as_me: failed program was:" >&5
34929 sed 's/^/| /' conftest.$ac_ext >&5
34930
34931 wx_cv_cc_broken_libstdcxx_visibility=yes
34932 fi
34933
34934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34935 conftest$ac_exeext conftest.$ac_ext
34936 ac_ext=c
34937 ac_cpp='$CPP $CPPFLAGS'
34938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34941
34942 CXXFLAGS="$wx_save_CXXFLAGS"
34943 LDFLAGS="$wx_save_LDFLAGS"
34944 fi
34945
34946 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34947 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34948
34949 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34950 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34951 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34952 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34953 echo $ECHO_N "(cached) $ECHO_C" >&6
34954 else
34955
34956 ac_ext=cpp
34957 ac_cpp='$CXXCPP $CPPFLAGS'
34958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34961
34962 cat >conftest.$ac_ext <<_ACEOF
34963 /* confdefs.h. */
34964 _ACEOF
34965 cat confdefs.h >>conftest.$ac_ext
34966 cat >>conftest.$ac_ext <<_ACEOF
34967 /* end confdefs.h. */
34968
34969 #pragma GCC visibility push(default)
34970 #include <string>
34971 #pragma GCC visibility pop
34972
34973 int
34974 main ()
34975 {
34976
34977 std::string s("hello");
34978 return s.length();
34979
34980 ;
34981 return 0;
34982 }
34983 _ACEOF
34984 rm -f conftest.$ac_objext conftest$ac_exeext
34985 if { (ac_try="$ac_link"
34986 case "(($ac_try" in
34987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34988 *) ac_try_echo=$ac_try;;
34989 esac
34990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34991 (eval "$ac_link") 2>conftest.er1
34992 ac_status=$?
34993 grep -v '^ *+' conftest.er1 >conftest.err
34994 rm -f conftest.er1
34995 cat conftest.err >&5
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); } && {
34998 test -z "$ac_cxx_werror_flag" ||
34999 test ! -s conftest.err
35000 } && test -s conftest$ac_exeext &&
35001 $as_test_x conftest$ac_exeext; then
35002 wx_cv_cc_visibility_workaround=no
35003 else
35004 echo "$as_me: failed program was:" >&5
35005 sed 's/^/| /' conftest.$ac_ext >&5
35006
35007 wx_cv_cc_visibility_workaround=yes
35008 fi
35009
35010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35011 conftest$ac_exeext conftest.$ac_ext
35012 ac_ext=c
35013 ac_cpp='$CPP $CPPFLAGS'
35014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35017
35018
35019 fi
35020
35021 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35022 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35023
35024 if test $wx_cv_cc_visibility_workaround = no; then
35025 wx_cv_cc_visibility=no
35026 fi
35027 fi
35028 fi
35029
35030 if test $wx_cv_cc_visibility = yes; then
35031 cat >>confdefs.h <<\_ACEOF
35032 #define HAVE_VISIBILITY 1
35033 _ACEOF
35034
35035 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35036 cat >>confdefs.h <<\_ACEOF
35037 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35038 _ACEOF
35039
35040 fi
35041 else
35042 CFLAGS_VISIBILITY=""
35043 CXXFLAGS_VISIBILITY=""
35044 fi
35045
35046
35047 fi
35048
35049 fi
35050
35051 if test "x$SUNCXX" = xyes; then
35052 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35053 WXCONFIG_RPATH="-R\$libdir"
35054 else
35055 case "${host}" in
35056 *-*-linux* | *-*-gnu* )
35057 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35058 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35059 ;;
35060
35061 *-*-solaris2* )
35062
35063 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35064
35065 saveLdflags="$LDFLAGS"
35066 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35067 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35068 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35069 cat >conftest.$ac_ext <<_ACEOF
35070 /* confdefs.h. */
35071 _ACEOF
35072 cat confdefs.h >>conftest.$ac_ext
35073 cat >>conftest.$ac_ext <<_ACEOF
35074 /* end confdefs.h. */
35075
35076 int
35077 main ()
35078 {
35079
35080 ;
35081 return 0;
35082 }
35083 _ACEOF
35084 rm -f conftest.$ac_objext conftest$ac_exeext
35085 if { (ac_try="$ac_link"
35086 case "(($ac_try" in
35087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35088 *) ac_try_echo=$ac_try;;
35089 esac
35090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35091 (eval "$ac_link") 2>conftest.er1
35092 ac_status=$?
35093 grep -v '^ *+' conftest.er1 >conftest.err
35094 rm -f conftest.er1
35095 cat conftest.err >&5
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); } && {
35098 test -z "$ac_c_werror_flag" ||
35099 test ! -s conftest.err
35100 } && test -s conftest$ac_exeext &&
35101 $as_test_x conftest$ac_exeext; then
35102
35103 { echo "$as_me:$LINENO: result: yes" >&5
35104 echo "${ECHO_T}yes" >&6; }
35105 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35106 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35107
35108 else
35109 echo "$as_me: failed program was:" >&5
35110 sed 's/^/| /' conftest.$ac_ext >&5
35111
35112
35113 { echo "$as_me:$LINENO: result: no" >&5
35114 echo "${ECHO_T}no" >&6; }
35115 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35116 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35117 LDFLAGS="$saveLdflags -Wl,-R,/"
35118 cat >conftest.$ac_ext <<_ACEOF
35119 /* confdefs.h. */
35120 _ACEOF
35121 cat confdefs.h >>conftest.$ac_ext
35122 cat >>conftest.$ac_ext <<_ACEOF
35123 /* end confdefs.h. */
35124
35125 int
35126 main ()
35127 {
35128
35129 ;
35130 return 0;
35131 }
35132 _ACEOF
35133 rm -f conftest.$ac_objext conftest$ac_exeext
35134 if { (ac_try="$ac_link"
35135 case "(($ac_try" in
35136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35137 *) ac_try_echo=$ac_try;;
35138 esac
35139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35140 (eval "$ac_link") 2>conftest.er1
35141 ac_status=$?
35142 grep -v '^ *+' conftest.er1 >conftest.err
35143 rm -f conftest.er1
35144 cat conftest.err >&5
35145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35146 (exit $ac_status); } && {
35147 test -z "$ac_c_werror_flag" ||
35148 test ! -s conftest.err
35149 } && test -s conftest$ac_exeext &&
35150 $as_test_x conftest$ac_exeext; then
35151
35152 { echo "$as_me:$LINENO: result: yes" >&5
35153 echo "${ECHO_T}yes" >&6; }
35154 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35155 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35156
35157 else
35158 echo "$as_me: failed program was:" >&5
35159 sed 's/^/| /' conftest.$ac_ext >&5
35160
35161
35162 { echo "$as_me:$LINENO: result: no" >&5
35163 echo "${ECHO_T}no" >&6; }
35164
35165 fi
35166
35167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35168 conftest$ac_exeext conftest.$ac_ext
35169
35170 fi
35171
35172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35173 conftest$ac_exeext conftest.$ac_ext
35174 LDFLAGS="$saveLdflags"
35175 ;;
35176
35177 *-*-darwin* )
35178 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35179 if test "$install_name_tool" -a -x "$install_name_tool"; then
35180 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35181 cat <<EOF >change-install-names
35182 #!/bin/sh
35183 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35184 for i in \${libnames} ; do
35185 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35186 for dep in \${libnames} ; do
35187 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35188 done
35189 done
35190 EOF
35191 chmod +x change-install-names
35192 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35193 fi
35194
35195 HEADER_PAD_OPTION="-headerpad_max_install_names"
35196 ;;
35197
35198 *-*-cygwin* | *-*-mingw32* )
35199 ;;
35200
35201 *-*-hpux* )
35202 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35203 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35204 ;;
35205
35206 esac
35207 fi
35208
35209 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35210
35211 if test $wxUSE_RPATH = "no"; then
35212 SAMPLES_RPATH_FLAG=''
35213 DYLIB_PATH_POSTLINK=''
35214 WXCONFIG_RPATH=''
35215 fi
35216
35217 SHARED=1
35218
35219 else
35220
35221 config_linkage_component="-static"
35222 SHARED=0
35223
35224 fi
35225
35226
35227 UNICODE=0
35228 lib_unicode_suffix=
35229 WX_CHARTYPE="ansi"
35230 if test "$wxUSE_UNICODE" = "yes"; then
35231 lib_unicode_suffix=u
35232 WX_CHARTYPE="unicode"
35233 UNICODE=1
35234 fi
35235
35236 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35237 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35238
35239 DEBUG_INFO=0
35240 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35241 DEBUG_INFO=1
35242 fi
35243
35244 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35245
35246 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35247
35248 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35249
35250
35251 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35252 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35253 else
35254 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35255 fi
35256 if test "${TOOLKIT_DIR}" = "os2"; then
35257 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35258 else
35259 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35260 fi
35261
35262
35263
35264 if test "$wxUSE_OLD_COCOA" = 1; then
35265
35266 ac_ext=c
35267 ac_cpp='$CPP $CPPFLAGS'
35268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35271
35272 ac_ext=m
35273
35274 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35275 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35276 cat >conftest.$ac_ext <<_ACEOF
35277 /* confdefs.h. */
35278 _ACEOF
35279 cat confdefs.h >>conftest.$ac_ext
35280 cat >>conftest.$ac_ext <<_ACEOF
35281 /* end confdefs.h. */
35282 #include <AppKit/NSEvent.h>
35283 #include <CoreFoundation/CoreFoundation.h>
35284
35285 int
35286 main ()
35287 {
35288
35289 ;
35290 return 0;
35291 }
35292 _ACEOF
35293 rm -f conftest.$ac_objext
35294 if { (ac_try="$ac_compile"
35295 case "(($ac_try" in
35296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35297 *) ac_try_echo=$ac_try;;
35298 esac
35299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35300 (eval "$ac_compile") 2>conftest.er1
35301 ac_status=$?
35302 grep -v '^ *+' conftest.er1 >conftest.err
35303 rm -f conftest.er1
35304 cat conftest.err >&5
35305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306 (exit $ac_status); } && {
35307 test -z "$ac_c_werror_flag" ||
35308 test ! -s conftest.err
35309 } && test -s conftest.$ac_objext; then
35310 { echo "$as_me:$LINENO: result: no" >&5
35311 echo "${ECHO_T}no" >&6; }
35312 else
35313 echo "$as_me: failed program was:" >&5
35314 sed 's/^/| /' conftest.$ac_ext >&5
35315
35316 { echo "$as_me:$LINENO: result: yes" >&5
35317 echo "${ECHO_T}yes" >&6; }
35318 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35319 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35320 cat >conftest.$ac_ext <<_ACEOF
35321 /* confdefs.h. */
35322 _ACEOF
35323 cat confdefs.h >>conftest.$ac_ext
35324 cat >>conftest.$ac_ext <<_ACEOF
35325 /* end confdefs.h. */
35326 #define __Point__ 1
35327 #include <AppKit/NSEvent.h>
35328 #include <CoreFoundation/CoreFoundation.h>
35329
35330 int
35331 main ()
35332 {
35333
35334 ;
35335 return 0;
35336 }
35337 _ACEOF
35338 rm -f conftest.$ac_objext
35339 if { (ac_try="$ac_compile"
35340 case "(($ac_try" in
35341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35342 *) ac_try_echo=$ac_try;;
35343 esac
35344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35345 (eval "$ac_compile") 2>conftest.er1
35346 ac_status=$?
35347 grep -v '^ *+' conftest.er1 >conftest.err
35348 rm -f conftest.er1
35349 cat conftest.err >&5
35350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35351 (exit $ac_status); } && {
35352 test -z "$ac_c_werror_flag" ||
35353 test ! -s conftest.err
35354 } && test -s conftest.$ac_objext; then
35355 { echo "$as_me:$LINENO: result: yes" >&5
35356 echo "${ECHO_T}yes" >&6; }
35357 cat >>confdefs.h <<\_ACEOF
35358 #define __Point__ 1
35359 _ACEOF
35360
35361
35362 else
35363 echo "$as_me: failed program was:" >&5
35364 sed 's/^/| /' conftest.$ac_ext >&5
35365
35366 { { echo "$as_me:$LINENO: error: no
35367 See \`config.log' for more details." >&5
35368 echo "$as_me: error: no
35369 See \`config.log' for more details." >&2;}
35370 { (exit 1); exit 1; }; }
35371
35372 fi
35373
35374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35375
35376 fi
35377
35378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35379 ac_ext=c
35380 ac_cpp='$CPP $CPPFLAGS'
35381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35384
35385 fi
35386
35387
35388 { echo "$as_me:$LINENO: checking for mode_t" >&5
35389 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35390 if test "${ac_cv_type_mode_t+set}" = set; then
35391 echo $ECHO_N "(cached) $ECHO_C" >&6
35392 else
35393 cat >conftest.$ac_ext <<_ACEOF
35394 /* confdefs.h. */
35395 _ACEOF
35396 cat confdefs.h >>conftest.$ac_ext
35397 cat >>conftest.$ac_ext <<_ACEOF
35398 /* end confdefs.h. */
35399 $ac_includes_default
35400 typedef mode_t ac__type_new_;
35401 int
35402 main ()
35403 {
35404 if ((ac__type_new_ *) 0)
35405 return 0;
35406 if (sizeof (ac__type_new_))
35407 return 0;
35408 ;
35409 return 0;
35410 }
35411 _ACEOF
35412 rm -f conftest.$ac_objext
35413 if { (ac_try="$ac_compile"
35414 case "(($ac_try" in
35415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35416 *) ac_try_echo=$ac_try;;
35417 esac
35418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35419 (eval "$ac_compile") 2>conftest.er1
35420 ac_status=$?
35421 grep -v '^ *+' conftest.er1 >conftest.err
35422 rm -f conftest.er1
35423 cat conftest.err >&5
35424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35425 (exit $ac_status); } && {
35426 test -z "$ac_c_werror_flag" ||
35427 test ! -s conftest.err
35428 } && test -s conftest.$ac_objext; then
35429 ac_cv_type_mode_t=yes
35430 else
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.$ac_ext >&5
35433
35434 ac_cv_type_mode_t=no
35435 fi
35436
35437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35438 fi
35439 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35440 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35441 if test $ac_cv_type_mode_t = yes; then
35442 :
35443 else
35444
35445 cat >>confdefs.h <<_ACEOF
35446 #define mode_t int
35447 _ACEOF
35448
35449 fi
35450
35451 { echo "$as_me:$LINENO: checking for off_t" >&5
35452 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35453 if test "${ac_cv_type_off_t+set}" = set; then
35454 echo $ECHO_N "(cached) $ECHO_C" >&6
35455 else
35456 cat >conftest.$ac_ext <<_ACEOF
35457 /* confdefs.h. */
35458 _ACEOF
35459 cat confdefs.h >>conftest.$ac_ext
35460 cat >>conftest.$ac_ext <<_ACEOF
35461 /* end confdefs.h. */
35462 $ac_includes_default
35463 typedef off_t ac__type_new_;
35464 int
35465 main ()
35466 {
35467 if ((ac__type_new_ *) 0)
35468 return 0;
35469 if (sizeof (ac__type_new_))
35470 return 0;
35471 ;
35472 return 0;
35473 }
35474 _ACEOF
35475 rm -f conftest.$ac_objext
35476 if { (ac_try="$ac_compile"
35477 case "(($ac_try" in
35478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35479 *) ac_try_echo=$ac_try;;
35480 esac
35481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35482 (eval "$ac_compile") 2>conftest.er1
35483 ac_status=$?
35484 grep -v '^ *+' conftest.er1 >conftest.err
35485 rm -f conftest.er1
35486 cat conftest.err >&5
35487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35488 (exit $ac_status); } && {
35489 test -z "$ac_c_werror_flag" ||
35490 test ! -s conftest.err
35491 } && test -s conftest.$ac_objext; then
35492 ac_cv_type_off_t=yes
35493 else
35494 echo "$as_me: failed program was:" >&5
35495 sed 's/^/| /' conftest.$ac_ext >&5
35496
35497 ac_cv_type_off_t=no
35498 fi
35499
35500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35501 fi
35502 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35503 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35504 if test $ac_cv_type_off_t = yes; then
35505 :
35506 else
35507
35508 cat >>confdefs.h <<_ACEOF
35509 #define off_t long int
35510 _ACEOF
35511
35512 fi
35513
35514 { echo "$as_me:$LINENO: checking for pid_t" >&5
35515 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35516 if test "${ac_cv_type_pid_t+set}" = set; then
35517 echo $ECHO_N "(cached) $ECHO_C" >&6
35518 else
35519 cat >conftest.$ac_ext <<_ACEOF
35520 /* confdefs.h. */
35521 _ACEOF
35522 cat confdefs.h >>conftest.$ac_ext
35523 cat >>conftest.$ac_ext <<_ACEOF
35524 /* end confdefs.h. */
35525 $ac_includes_default
35526 typedef pid_t ac__type_new_;
35527 int
35528 main ()
35529 {
35530 if ((ac__type_new_ *) 0)
35531 return 0;
35532 if (sizeof (ac__type_new_))
35533 return 0;
35534 ;
35535 return 0;
35536 }
35537 _ACEOF
35538 rm -f conftest.$ac_objext
35539 if { (ac_try="$ac_compile"
35540 case "(($ac_try" in
35541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35542 *) ac_try_echo=$ac_try;;
35543 esac
35544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35545 (eval "$ac_compile") 2>conftest.er1
35546 ac_status=$?
35547 grep -v '^ *+' conftest.er1 >conftest.err
35548 rm -f conftest.er1
35549 cat conftest.err >&5
35550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35551 (exit $ac_status); } && {
35552 test -z "$ac_c_werror_flag" ||
35553 test ! -s conftest.err
35554 } && test -s conftest.$ac_objext; then
35555 ac_cv_type_pid_t=yes
35556 else
35557 echo "$as_me: failed program was:" >&5
35558 sed 's/^/| /' conftest.$ac_ext >&5
35559
35560 ac_cv_type_pid_t=no
35561 fi
35562
35563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35564 fi
35565 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35566 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35567 if test $ac_cv_type_pid_t = yes; then
35568 :
35569 else
35570
35571 cat >>confdefs.h <<_ACEOF
35572 #define pid_t int
35573 _ACEOF
35574
35575 fi
35576
35577 { echo "$as_me:$LINENO: checking for size_t" >&5
35578 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35579 if test "${ac_cv_type_size_t+set}" = set; then
35580 echo $ECHO_N "(cached) $ECHO_C" >&6
35581 else
35582 cat >conftest.$ac_ext <<_ACEOF
35583 /* confdefs.h. */
35584 _ACEOF
35585 cat confdefs.h >>conftest.$ac_ext
35586 cat >>conftest.$ac_ext <<_ACEOF
35587 /* end confdefs.h. */
35588 $ac_includes_default
35589 typedef size_t ac__type_new_;
35590 int
35591 main ()
35592 {
35593 if ((ac__type_new_ *) 0)
35594 return 0;
35595 if (sizeof (ac__type_new_))
35596 return 0;
35597 ;
35598 return 0;
35599 }
35600 _ACEOF
35601 rm -f conftest.$ac_objext
35602 if { (ac_try="$ac_compile"
35603 case "(($ac_try" in
35604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35605 *) ac_try_echo=$ac_try;;
35606 esac
35607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35608 (eval "$ac_compile") 2>conftest.er1
35609 ac_status=$?
35610 grep -v '^ *+' conftest.er1 >conftest.err
35611 rm -f conftest.er1
35612 cat conftest.err >&5
35613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35614 (exit $ac_status); } && {
35615 test -z "$ac_c_werror_flag" ||
35616 test ! -s conftest.err
35617 } && test -s conftest.$ac_objext; then
35618 ac_cv_type_size_t=yes
35619 else
35620 echo "$as_me: failed program was:" >&5
35621 sed 's/^/| /' conftest.$ac_ext >&5
35622
35623 ac_cv_type_size_t=no
35624 fi
35625
35626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35627 fi
35628 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35629 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35630 if test $ac_cv_type_size_t = yes; then
35631 :
35632 else
35633
35634 cat >>confdefs.h <<_ACEOF
35635 #define size_t unsigned int
35636 _ACEOF
35637
35638 fi
35639
35640
35641 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35642 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35643 if test "${ac_cv_type_ssize_t+set}" = set; then
35644 echo $ECHO_N "(cached) $ECHO_C" >&6
35645 else
35646 cat >conftest.$ac_ext <<_ACEOF
35647 /* confdefs.h. */
35648 _ACEOF
35649 cat confdefs.h >>conftest.$ac_ext
35650 cat >>conftest.$ac_ext <<_ACEOF
35651 /* end confdefs.h. */
35652 $ac_includes_default
35653 typedef ssize_t ac__type_new_;
35654 int
35655 main ()
35656 {
35657 if ((ac__type_new_ *) 0)
35658 return 0;
35659 if (sizeof (ac__type_new_))
35660 return 0;
35661 ;
35662 return 0;
35663 }
35664 _ACEOF
35665 rm -f conftest.$ac_objext
35666 if { (ac_try="$ac_compile"
35667 case "(($ac_try" in
35668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35669 *) ac_try_echo=$ac_try;;
35670 esac
35671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35672 (eval "$ac_compile") 2>conftest.er1
35673 ac_status=$?
35674 grep -v '^ *+' conftest.er1 >conftest.err
35675 rm -f conftest.er1
35676 cat conftest.err >&5
35677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35678 (exit $ac_status); } && {
35679 test -z "$ac_c_werror_flag" ||
35680 test ! -s conftest.err
35681 } && test -s conftest.$ac_objext; then
35682 ac_cv_type_ssize_t=yes
35683 else
35684 echo "$as_me: failed program was:" >&5
35685 sed 's/^/| /' conftest.$ac_ext >&5
35686
35687 ac_cv_type_ssize_t=no
35688 fi
35689
35690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35691 fi
35692 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35693 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35694 if test $ac_cv_type_ssize_t = yes; then
35695
35696 cat >>confdefs.h <<_ACEOF
35697 #define HAVE_SSIZE_T 1
35698 _ACEOF
35699
35700
35701 fi
35702
35703
35704 ac_ext=cpp
35705 ac_cpp='$CXXCPP $CPPFLAGS'
35706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35709 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35710 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35711 if test "${wx_cv_size_t_is_uint+set}" = set; then
35712 echo $ECHO_N "(cached) $ECHO_C" >&6
35713 else
35714
35715 cat >conftest.$ac_ext <<_ACEOF
35716 /* confdefs.h. */
35717 _ACEOF
35718 cat confdefs.h >>conftest.$ac_ext
35719 cat >>conftest.$ac_ext <<_ACEOF
35720 /* end confdefs.h. */
35721 #include <stddef.h>
35722 int
35723 main ()
35724 {
35725
35726 return 0; }
35727
35728 struct Foo { void foo(size_t); void foo(unsigned int); };
35729
35730 int bar() {
35731
35732 ;
35733 return 0;
35734 }
35735 _ACEOF
35736 rm -f conftest.$ac_objext
35737 if { (ac_try="$ac_compile"
35738 case "(($ac_try" in
35739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35740 *) ac_try_echo=$ac_try;;
35741 esac
35742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35743 (eval "$ac_compile") 2>conftest.er1
35744 ac_status=$?
35745 grep -v '^ *+' conftest.er1 >conftest.err
35746 rm -f conftest.er1
35747 cat conftest.err >&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); } && {
35750 test -z "$ac_cxx_werror_flag" ||
35751 test ! -s conftest.err
35752 } && test -s conftest.$ac_objext; then
35753 wx_cv_size_t_is_uint=no
35754 else
35755 echo "$as_me: failed program was:" >&5
35756 sed 's/^/| /' conftest.$ac_ext >&5
35757
35758 wx_cv_size_t_is_uint=yes
35759
35760 fi
35761
35762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35763
35764
35765 fi
35766 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35767 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35768
35769 if test "$wx_cv_size_t_is_uint" = "yes"; then
35770 cat >>confdefs.h <<\_ACEOF
35771 #define wxSIZE_T_IS_UINT 1
35772 _ACEOF
35773
35774 else
35775 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35776 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35777 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35778 echo $ECHO_N "(cached) $ECHO_C" >&6
35779 else
35780 cat >conftest.$ac_ext <<_ACEOF
35781 /* confdefs.h. */
35782 _ACEOF
35783 cat confdefs.h >>conftest.$ac_ext
35784 cat >>conftest.$ac_ext <<_ACEOF
35785 /* end confdefs.h. */
35786 #include <stddef.h>
35787 int
35788 main ()
35789 {
35790
35791 return 0; }
35792
35793 struct Foo { void foo(size_t); void foo(unsigned long); };
35794
35795 int bar() {
35796
35797 ;
35798 return 0;
35799 }
35800 _ACEOF
35801 rm -f conftest.$ac_objext
35802 if { (ac_try="$ac_compile"
35803 case "(($ac_try" in
35804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35805 *) ac_try_echo=$ac_try;;
35806 esac
35807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35808 (eval "$ac_compile") 2>conftest.er1
35809 ac_status=$?
35810 grep -v '^ *+' conftest.er1 >conftest.err
35811 rm -f conftest.er1
35812 cat conftest.err >&5
35813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35814 (exit $ac_status); } && {
35815 test -z "$ac_cxx_werror_flag" ||
35816 test ! -s conftest.err
35817 } && test -s conftest.$ac_objext; then
35818 wx_cv_size_t_is_ulong=no
35819 else
35820 echo "$as_me: failed program was:" >&5
35821 sed 's/^/| /' conftest.$ac_ext >&5
35822
35823 wx_cv_size_t_is_ulong=yes
35824
35825 fi
35826
35827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35828
35829 fi
35830 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35831 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35832
35833 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35834 cat >>confdefs.h <<\_ACEOF
35835 #define wxSIZE_T_IS_ULONG 1
35836 _ACEOF
35837
35838 fi
35839 fi
35840
35841 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35842 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35843 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35844 echo $ECHO_N "(cached) $ECHO_C" >&6
35845 else
35846 cat >conftest.$ac_ext <<_ACEOF
35847 /* confdefs.h. */
35848 _ACEOF
35849 cat confdefs.h >>conftest.$ac_ext
35850 cat >>conftest.$ac_ext <<_ACEOF
35851 /* end confdefs.h. */
35852 #include <wchar.h>
35853 int
35854 main ()
35855 {
35856
35857 return 0; }
35858
35859 struct Foo { void foo(wchar_t);
35860 void foo(unsigned short);
35861 void foo(unsigned int);
35862 void foo(unsigned long); };
35863
35864 int bar() {
35865
35866 ;
35867 return 0;
35868 }
35869 _ACEOF
35870 rm -f conftest.$ac_objext
35871 if { (ac_try="$ac_compile"
35872 case "(($ac_try" in
35873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35874 *) ac_try_echo=$ac_try;;
35875 esac
35876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35877 (eval "$ac_compile") 2>conftest.er1
35878 ac_status=$?
35879 grep -v '^ *+' conftest.er1 >conftest.err
35880 rm -f conftest.er1
35881 cat conftest.err >&5
35882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35883 (exit $ac_status); } && {
35884 test -z "$ac_cxx_werror_flag" ||
35885 test ! -s conftest.err
35886 } && test -s conftest.$ac_objext; then
35887 wx_cv_wchar_t_is_separate_type=yes
35888 else
35889 echo "$as_me: failed program was:" >&5
35890 sed 's/^/| /' conftest.$ac_ext >&5
35891
35892 wx_cv_wchar_t_is_separate_type=no
35893
35894 fi
35895
35896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35897
35898 fi
35899 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35900 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35901
35902 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35903 cat >>confdefs.h <<\_ACEOF
35904 #define wxWCHAR_T_IS_REAL_TYPE 1
35905 _ACEOF
35906
35907 else
35908 cat >>confdefs.h <<\_ACEOF
35909 #define wxWCHAR_T_IS_REAL_TYPE 0
35910 _ACEOF
35911
35912 fi
35913
35914 ac_ext=c
35915 ac_cpp='$CPP $CPPFLAGS'
35916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35919
35920
35921 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35922 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35923 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35924 echo $ECHO_N "(cached) $ECHO_C" >&6
35925 else
35926
35927 cat >conftest.$ac_ext <<_ACEOF
35928 /* confdefs.h. */
35929 _ACEOF
35930 cat confdefs.h >>conftest.$ac_ext
35931 cat >>conftest.$ac_ext <<_ACEOF
35932 /* end confdefs.h. */
35933 #include <pwd.h>
35934 int
35935 main ()
35936 {
35937
35938 char *p;
35939 struct passwd *pw;
35940 p = pw->pw_gecos;
35941
35942 ;
35943 return 0;
35944 }
35945 _ACEOF
35946 rm -f conftest.$ac_objext
35947 if { (ac_try="$ac_compile"
35948 case "(($ac_try" in
35949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35950 *) ac_try_echo=$ac_try;;
35951 esac
35952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35953 (eval "$ac_compile") 2>conftest.er1
35954 ac_status=$?
35955 grep -v '^ *+' conftest.er1 >conftest.err
35956 rm -f conftest.er1
35957 cat conftest.err >&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); } && {
35960 test -z "$ac_c_werror_flag" ||
35961 test ! -s conftest.err
35962 } && test -s conftest.$ac_objext; then
35963
35964 wx_cv_struct_pw_gecos=yes
35965
35966 else
35967 echo "$as_me: failed program was:" >&5
35968 sed 's/^/| /' conftest.$ac_ext >&5
35969
35970
35971 wx_cv_struct_pw_gecos=no
35972
35973
35974 fi
35975
35976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35977
35978
35979 fi
35980 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35981 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35982
35983 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35984 cat >>confdefs.h <<\_ACEOF
35985 #define HAVE_PW_GECOS 1
35986 _ACEOF
35987
35988 fi
35989
35990
35991 WCSLEN_FOUND=0
35992 WCHAR_LINK=
35993
35994 for ac_func in wcslen
35995 do
35996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35997 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35999 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36000 echo $ECHO_N "(cached) $ECHO_C" >&6
36001 else
36002 cat >conftest.$ac_ext <<_ACEOF
36003 /* confdefs.h. */
36004 _ACEOF
36005 cat confdefs.h >>conftest.$ac_ext
36006 cat >>conftest.$ac_ext <<_ACEOF
36007 /* end confdefs.h. */
36008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36010 #define $ac_func innocuous_$ac_func
36011
36012 /* System header to define __stub macros and hopefully few prototypes,
36013 which can conflict with char $ac_func (); below.
36014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36015 <limits.h> exists even on freestanding compilers. */
36016
36017 #ifdef __STDC__
36018 # include <limits.h>
36019 #else
36020 # include <assert.h>
36021 #endif
36022
36023 #undef $ac_func
36024
36025 /* Override any GCC internal prototype to avoid an error.
36026 Use char because int might match the return type of a GCC
36027 builtin and then its argument prototype would still apply. */
36028 #ifdef __cplusplus
36029 extern "C"
36030 #endif
36031 char $ac_func ();
36032 /* The GNU C library defines this for functions which it implements
36033 to always fail with ENOSYS. Some functions are actually named
36034 something starting with __ and the normal name is an alias. */
36035 #if defined __stub_$ac_func || defined __stub___$ac_func
36036 choke me
36037 #endif
36038
36039 int
36040 main ()
36041 {
36042 return $ac_func ();
36043 ;
36044 return 0;
36045 }
36046 _ACEOF
36047 rm -f conftest.$ac_objext conftest$ac_exeext
36048 if { (ac_try="$ac_link"
36049 case "(($ac_try" in
36050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36051 *) ac_try_echo=$ac_try;;
36052 esac
36053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36054 (eval "$ac_link") 2>conftest.er1
36055 ac_status=$?
36056 grep -v '^ *+' conftest.er1 >conftest.err
36057 rm -f conftest.er1
36058 cat conftest.err >&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } && {
36061 test -z "$ac_c_werror_flag" ||
36062 test ! -s conftest.err
36063 } && test -s conftest$ac_exeext &&
36064 $as_test_x conftest$ac_exeext; then
36065 eval "$as_ac_var=yes"
36066 else
36067 echo "$as_me: failed program was:" >&5
36068 sed 's/^/| /' conftest.$ac_ext >&5
36069
36070 eval "$as_ac_var=no"
36071 fi
36072
36073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36074 conftest$ac_exeext conftest.$ac_ext
36075 fi
36076 ac_res=`eval echo '${'$as_ac_var'}'`
36077 { echo "$as_me:$LINENO: result: $ac_res" >&5
36078 echo "${ECHO_T}$ac_res" >&6; }
36079 if test `eval echo '${'$as_ac_var'}'` = yes; then
36080 cat >>confdefs.h <<_ACEOF
36081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36082 _ACEOF
36083 WCSLEN_FOUND=1
36084 fi
36085 done
36086
36087
36088 if test "$WCSLEN_FOUND" = 0; then
36089 if test "$TOOLKIT" = "MSW"; then
36090 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36091 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36092 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36093 echo $ECHO_N "(cached) $ECHO_C" >&6
36094 else
36095 ac_check_lib_save_LIBS=$LIBS
36096 LIBS="-lmsvcrt $LIBS"
36097 cat >conftest.$ac_ext <<_ACEOF
36098 /* confdefs.h. */
36099 _ACEOF
36100 cat confdefs.h >>conftest.$ac_ext
36101 cat >>conftest.$ac_ext <<_ACEOF
36102 /* end confdefs.h. */
36103
36104 /* Override any GCC internal prototype to avoid an error.
36105 Use char because int might match the return type of a GCC
36106 builtin and then its argument prototype would still apply. */
36107 #ifdef __cplusplus
36108 extern "C"
36109 #endif
36110 char wcslen ();
36111 int
36112 main ()
36113 {
36114 return wcslen ();
36115 ;
36116 return 0;
36117 }
36118 _ACEOF
36119 rm -f conftest.$ac_objext conftest$ac_exeext
36120 if { (ac_try="$ac_link"
36121 case "(($ac_try" in
36122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36123 *) ac_try_echo=$ac_try;;
36124 esac
36125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36126 (eval "$ac_link") 2>conftest.er1
36127 ac_status=$?
36128 grep -v '^ *+' conftest.er1 >conftest.err
36129 rm -f conftest.er1
36130 cat conftest.err >&5
36131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132 (exit $ac_status); } && {
36133 test -z "$ac_c_werror_flag" ||
36134 test ! -s conftest.err
36135 } && test -s conftest$ac_exeext &&
36136 $as_test_x conftest$ac_exeext; then
36137 ac_cv_lib_msvcrt_wcslen=yes
36138 else
36139 echo "$as_me: failed program was:" >&5
36140 sed 's/^/| /' conftest.$ac_ext >&5
36141
36142 ac_cv_lib_msvcrt_wcslen=no
36143 fi
36144
36145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36146 conftest$ac_exeext conftest.$ac_ext
36147 LIBS=$ac_check_lib_save_LIBS
36148 fi
36149 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36150 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36151 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36152 WCHAR_OK=1
36153 fi
36154
36155 else
36156 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36157 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36158 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36159 echo $ECHO_N "(cached) $ECHO_C" >&6
36160 else
36161 ac_check_lib_save_LIBS=$LIBS
36162 LIBS="-lw $LIBS"
36163 cat >conftest.$ac_ext <<_ACEOF
36164 /* confdefs.h. */
36165 _ACEOF
36166 cat confdefs.h >>conftest.$ac_ext
36167 cat >>conftest.$ac_ext <<_ACEOF
36168 /* end confdefs.h. */
36169
36170 /* Override any GCC internal prototype to avoid an error.
36171 Use char because int might match the return type of a GCC
36172 builtin and then its argument prototype would still apply. */
36173 #ifdef __cplusplus
36174 extern "C"
36175 #endif
36176 char wcslen ();
36177 int
36178 main ()
36179 {
36180 return wcslen ();
36181 ;
36182 return 0;
36183 }
36184 _ACEOF
36185 rm -f conftest.$ac_objext conftest$ac_exeext
36186 if { (ac_try="$ac_link"
36187 case "(($ac_try" in
36188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36189 *) ac_try_echo=$ac_try;;
36190 esac
36191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36192 (eval "$ac_link") 2>conftest.er1
36193 ac_status=$?
36194 grep -v '^ *+' conftest.er1 >conftest.err
36195 rm -f conftest.er1
36196 cat conftest.err >&5
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); } && {
36199 test -z "$ac_c_werror_flag" ||
36200 test ! -s conftest.err
36201 } && test -s conftest$ac_exeext &&
36202 $as_test_x conftest$ac_exeext; then
36203 ac_cv_lib_w_wcslen=yes
36204 else
36205 echo "$as_me: failed program was:" >&5
36206 sed 's/^/| /' conftest.$ac_ext >&5
36207
36208 ac_cv_lib_w_wcslen=no
36209 fi
36210
36211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36212 conftest$ac_exeext conftest.$ac_ext
36213 LIBS=$ac_check_lib_save_LIBS
36214 fi
36215 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36216 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36217 if test $ac_cv_lib_w_wcslen = yes; then
36218
36219 WCHAR_LINK=" -lw"
36220 WCSLEN_FOUND=1
36221
36222 fi
36223
36224 fi
36225 fi
36226
36227 if test "$WCSLEN_FOUND" = 1; then
36228 cat >>confdefs.h <<\_ACEOF
36229 #define HAVE_WCSLEN 1
36230 _ACEOF
36231
36232 fi
36233
36234
36235
36236
36237
36238
36239
36240 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36241 do
36242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36243 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36245 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36246 echo $ECHO_N "(cached) $ECHO_C" >&6
36247 else
36248 cat >conftest.$ac_ext <<_ACEOF
36249 /* confdefs.h. */
36250 _ACEOF
36251 cat confdefs.h >>conftest.$ac_ext
36252 cat >>conftest.$ac_ext <<_ACEOF
36253 /* end confdefs.h. */
36254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36256 #define $ac_func innocuous_$ac_func
36257
36258 /* System header to define __stub macros and hopefully few prototypes,
36259 which can conflict with char $ac_func (); below.
36260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36261 <limits.h> exists even on freestanding compilers. */
36262
36263 #ifdef __STDC__
36264 # include <limits.h>
36265 #else
36266 # include <assert.h>
36267 #endif
36268
36269 #undef $ac_func
36270
36271 /* Override any GCC internal prototype to avoid an error.
36272 Use char because int might match the return type of a GCC
36273 builtin and then its argument prototype would still apply. */
36274 #ifdef __cplusplus
36275 extern "C"
36276 #endif
36277 char $ac_func ();
36278 /* The GNU C library defines this for functions which it implements
36279 to always fail with ENOSYS. Some functions are actually named
36280 something starting with __ and the normal name is an alias. */
36281 #if defined __stub_$ac_func || defined __stub___$ac_func
36282 choke me
36283 #endif
36284
36285 int
36286 main ()
36287 {
36288 return $ac_func ();
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 eval "$as_ac_var=yes"
36312 else
36313 echo "$as_me: failed program was:" >&5
36314 sed 's/^/| /' conftest.$ac_ext >&5
36315
36316 eval "$as_ac_var=no"
36317 fi
36318
36319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36320 conftest$ac_exeext conftest.$ac_ext
36321 fi
36322 ac_res=`eval echo '${'$as_ac_var'}'`
36323 { echo "$as_me:$LINENO: result: $ac_res" >&5
36324 echo "${ECHO_T}$ac_res" >&6; }
36325 if test `eval echo '${'$as_ac_var'}'` = yes; then
36326 cat >>confdefs.h <<_ACEOF
36327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36328 _ACEOF
36329
36330 fi
36331 done
36332
36333
36334 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36335 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36336 fi
36337
36338 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36339 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36340 if test "${ac_cv_type_mbstate_t+set}" = set; then
36341 echo $ECHO_N "(cached) $ECHO_C" >&6
36342 else
36343 cat >conftest.$ac_ext <<_ACEOF
36344 /* confdefs.h. */
36345 _ACEOF
36346 cat confdefs.h >>conftest.$ac_ext
36347 cat >>conftest.$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36349 #include <wchar.h>
36350
36351 typedef mbstate_t ac__type_new_;
36352 int
36353 main ()
36354 {
36355 if ((ac__type_new_ *) 0)
36356 return 0;
36357 if (sizeof (ac__type_new_))
36358 return 0;
36359 ;
36360 return 0;
36361 }
36362 _ACEOF
36363 rm -f conftest.$ac_objext
36364 if { (ac_try="$ac_compile"
36365 case "(($ac_try" in
36366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36367 *) ac_try_echo=$ac_try;;
36368 esac
36369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36370 (eval "$ac_compile") 2>conftest.er1
36371 ac_status=$?
36372 grep -v '^ *+' conftest.er1 >conftest.err
36373 rm -f conftest.er1
36374 cat conftest.err >&5
36375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36376 (exit $ac_status); } && {
36377 test -z "$ac_c_werror_flag" ||
36378 test ! -s conftest.err
36379 } && test -s conftest.$ac_objext; then
36380 ac_cv_type_mbstate_t=yes
36381 else
36382 echo "$as_me: failed program was:" >&5
36383 sed 's/^/| /' conftest.$ac_ext >&5
36384
36385 ac_cv_type_mbstate_t=no
36386 fi
36387
36388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36389 fi
36390 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36391 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36392 if test $ac_cv_type_mbstate_t = yes; then
36393
36394 cat >>confdefs.h <<_ACEOF
36395 #define HAVE_MBSTATE_T 1
36396 _ACEOF
36397
36398
36399 for ac_func in wcsrtombs
36400 do
36401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36402 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36404 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36405 echo $ECHO_N "(cached) $ECHO_C" >&6
36406 else
36407 cat >conftest.$ac_ext <<_ACEOF
36408 /* confdefs.h. */
36409 _ACEOF
36410 cat confdefs.h >>conftest.$ac_ext
36411 cat >>conftest.$ac_ext <<_ACEOF
36412 /* end confdefs.h. */
36413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36415 #define $ac_func innocuous_$ac_func
36416
36417 /* System header to define __stub macros and hopefully few prototypes,
36418 which can conflict with char $ac_func (); below.
36419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36420 <limits.h> exists even on freestanding compilers. */
36421
36422 #ifdef __STDC__
36423 # include <limits.h>
36424 #else
36425 # include <assert.h>
36426 #endif
36427
36428 #undef $ac_func
36429
36430 /* Override any GCC internal prototype to avoid an error.
36431 Use char because int might match the return type of a GCC
36432 builtin and then its argument prototype would still apply. */
36433 #ifdef __cplusplus
36434 extern "C"
36435 #endif
36436 char $ac_func ();
36437 /* The GNU C library defines this for functions which it implements
36438 to always fail with ENOSYS. Some functions are actually named
36439 something starting with __ and the normal name is an alias. */
36440 #if defined __stub_$ac_func || defined __stub___$ac_func
36441 choke me
36442 #endif
36443
36444 int
36445 main ()
36446 {
36447 return $ac_func ();
36448 ;
36449 return 0;
36450 }
36451 _ACEOF
36452 rm -f conftest.$ac_objext conftest$ac_exeext
36453 if { (ac_try="$ac_link"
36454 case "(($ac_try" in
36455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36456 *) ac_try_echo=$ac_try;;
36457 esac
36458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36459 (eval "$ac_link") 2>conftest.er1
36460 ac_status=$?
36461 grep -v '^ *+' conftest.er1 >conftest.err
36462 rm -f conftest.er1
36463 cat conftest.err >&5
36464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36465 (exit $ac_status); } && {
36466 test -z "$ac_c_werror_flag" ||
36467 test ! -s conftest.err
36468 } && test -s conftest$ac_exeext &&
36469 $as_test_x conftest$ac_exeext; then
36470 eval "$as_ac_var=yes"
36471 else
36472 echo "$as_me: failed program was:" >&5
36473 sed 's/^/| /' conftest.$ac_ext >&5
36474
36475 eval "$as_ac_var=no"
36476 fi
36477
36478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36479 conftest$ac_exeext conftest.$ac_ext
36480 fi
36481 ac_res=`eval echo '${'$as_ac_var'}'`
36482 { echo "$as_me:$LINENO: result: $ac_res" >&5
36483 echo "${ECHO_T}$ac_res" >&6; }
36484 if test `eval echo '${'$as_ac_var'}'` = yes; then
36485 cat >>confdefs.h <<_ACEOF
36486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36487 _ACEOF
36488
36489 fi
36490 done
36491
36492 fi
36493
36494
36495
36496
36497
36498 for ac_func in snprintf vsnprintf vsscanf
36499 do
36500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36503 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36504 echo $ECHO_N "(cached) $ECHO_C" >&6
36505 else
36506 cat >conftest.$ac_ext <<_ACEOF
36507 /* confdefs.h. */
36508 _ACEOF
36509 cat confdefs.h >>conftest.$ac_ext
36510 cat >>conftest.$ac_ext <<_ACEOF
36511 /* end confdefs.h. */
36512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36514 #define $ac_func innocuous_$ac_func
36515
36516 /* System header to define __stub macros and hopefully few prototypes,
36517 which can conflict with char $ac_func (); below.
36518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36519 <limits.h> exists even on freestanding compilers. */
36520
36521 #ifdef __STDC__
36522 # include <limits.h>
36523 #else
36524 # include <assert.h>
36525 #endif
36526
36527 #undef $ac_func
36528
36529 /* Override any GCC internal prototype to avoid an error.
36530 Use char because int might match the return type of a GCC
36531 builtin and then its argument prototype would still apply. */
36532 #ifdef __cplusplus
36533 extern "C"
36534 #endif
36535 char $ac_func ();
36536 /* The GNU C library defines this for functions which it implements
36537 to always fail with ENOSYS. Some functions are actually named
36538 something starting with __ and the normal name is an alias. */
36539 #if defined __stub_$ac_func || defined __stub___$ac_func
36540 choke me
36541 #endif
36542
36543 int
36544 main ()
36545 {
36546 return $ac_func ();
36547 ;
36548 return 0;
36549 }
36550 _ACEOF
36551 rm -f conftest.$ac_objext conftest$ac_exeext
36552 if { (ac_try="$ac_link"
36553 case "(($ac_try" in
36554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36555 *) ac_try_echo=$ac_try;;
36556 esac
36557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36558 (eval "$ac_link") 2>conftest.er1
36559 ac_status=$?
36560 grep -v '^ *+' conftest.er1 >conftest.err
36561 rm -f conftest.er1
36562 cat conftest.err >&5
36563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36564 (exit $ac_status); } && {
36565 test -z "$ac_c_werror_flag" ||
36566 test ! -s conftest.err
36567 } && test -s conftest$ac_exeext &&
36568 $as_test_x conftest$ac_exeext; then
36569 eval "$as_ac_var=yes"
36570 else
36571 echo "$as_me: failed program was:" >&5
36572 sed 's/^/| /' conftest.$ac_ext >&5
36573
36574 eval "$as_ac_var=no"
36575 fi
36576
36577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36578 conftest$ac_exeext conftest.$ac_ext
36579 fi
36580 ac_res=`eval echo '${'$as_ac_var'}'`
36581 { echo "$as_me:$LINENO: result: $ac_res" >&5
36582 echo "${ECHO_T}$ac_res" >&6; }
36583 if test `eval echo '${'$as_ac_var'}'` = yes; then
36584 cat >>confdefs.h <<_ACEOF
36585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36586 _ACEOF
36587
36588 fi
36589 done
36590
36591
36592 ac_ext=cpp
36593 ac_cpp='$CXXCPP $CPPFLAGS'
36594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36597
36598 if test "$ac_cv_func_vsnprintf" = "yes"; then
36599 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36600 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36601 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36602 echo $ECHO_N "(cached) $ECHO_C" >&6
36603 else
36604
36605 cat >conftest.$ac_ext <<_ACEOF
36606 /* confdefs.h. */
36607 _ACEOF
36608 cat confdefs.h >>conftest.$ac_ext
36609 cat >>conftest.$ac_ext <<_ACEOF
36610 /* end confdefs.h. */
36611
36612 #include <stdio.h>
36613 #include <stdarg.h>
36614 #ifdef __MSL__
36615 #if __MSL__ >= 0x6000
36616 namespace std {}
36617 using namespace std;
36618 #endif
36619 #endif
36620
36621 int
36622 main ()
36623 {
36624
36625 char *buf;
36626 va_list ap;
36627 vsnprintf(buf, 10u, "%s", ap);
36628
36629 ;
36630 return 0;
36631 }
36632 _ACEOF
36633 rm -f conftest.$ac_objext
36634 if { (ac_try="$ac_compile"
36635 case "(($ac_try" in
36636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36637 *) ac_try_echo=$ac_try;;
36638 esac
36639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36640 (eval "$ac_compile") 2>conftest.er1
36641 ac_status=$?
36642 grep -v '^ *+' conftest.er1 >conftest.err
36643 rm -f conftest.er1
36644 cat conftest.err >&5
36645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646 (exit $ac_status); } && {
36647 test -z "$ac_cxx_werror_flag" ||
36648 test ! -s conftest.err
36649 } && test -s conftest.$ac_objext; then
36650 wx_cv_func_vsnprintf_decl=yes
36651 else
36652 echo "$as_me: failed program was:" >&5
36653 sed 's/^/| /' conftest.$ac_ext >&5
36654
36655 wx_cv_func_vsnprintf_decl=no
36656
36657 fi
36658
36659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36660
36661
36662 fi
36663 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36664 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36665
36666 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36667 cat >>confdefs.h <<\_ACEOF
36668 #define HAVE_VSNPRINTF_DECL 1
36669 _ACEOF
36670
36671
36672 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36673 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36674 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36675 echo $ECHO_N "(cached) $ECHO_C" >&6
36676 else
36677
36678 cat >conftest.$ac_ext <<_ACEOF
36679 /* confdefs.h. */
36680 _ACEOF
36681 cat confdefs.h >>conftest.$ac_ext
36682 cat >>conftest.$ac_ext <<_ACEOF
36683 /* end confdefs.h. */
36684
36685 #include <stdio.h>
36686 #include <stdarg.h>
36687 #ifdef __MSL__
36688 #if __MSL__ >= 0x6000
36689 namespace std {}
36690 using namespace std;
36691 #endif
36692 #endif
36693
36694 int
36695 main ()
36696 {
36697
36698 char *buf;
36699 va_list ap;
36700 const char *fmt = "%s";
36701 vsnprintf(buf, 10u, fmt, ap);
36702
36703 ;
36704 return 0;
36705 }
36706 _ACEOF
36707 rm -f conftest.$ac_objext
36708 if { (ac_try="$ac_compile"
36709 case "(($ac_try" in
36710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36711 *) ac_try_echo=$ac_try;;
36712 esac
36713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36714 (eval "$ac_compile") 2>conftest.er1
36715 ac_status=$?
36716 grep -v '^ *+' conftest.er1 >conftest.err
36717 rm -f conftest.er1
36718 cat conftest.err >&5
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); } && {
36721 test -z "$ac_cxx_werror_flag" ||
36722 test ! -s conftest.err
36723 } && test -s conftest.$ac_objext; then
36724 wx_cv_func_broken_vsnprintf_decl=no
36725 else
36726 echo "$as_me: failed program was:" >&5
36727 sed 's/^/| /' conftest.$ac_ext >&5
36728
36729 wx_cv_func_broken_vsnprintf_decl=yes
36730
36731 fi
36732
36733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36734
36735
36736 fi
36737 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36738 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36739
36740 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36741 cat >>confdefs.h <<\_ACEOF
36742 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36743 _ACEOF
36744
36745 fi
36746 fi
36747 fi
36748
36749 if test "$ac_cv_func_snprintf" = "yes"; then
36750 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36751 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36752 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36753 echo $ECHO_N "(cached) $ECHO_C" >&6
36754 else
36755
36756 cat >conftest.$ac_ext <<_ACEOF
36757 /* confdefs.h. */
36758 _ACEOF
36759 cat confdefs.h >>conftest.$ac_ext
36760 cat >>conftest.$ac_ext <<_ACEOF
36761 /* end confdefs.h. */
36762
36763 #include <stdio.h>
36764 #include <stdarg.h>
36765 #ifdef __MSL__
36766 #if __MSL__ >= 0x6000
36767 namespace std {}
36768 using namespace std;
36769 #endif
36770 #endif
36771
36772 int
36773 main ()
36774 {
36775
36776 char *buf;
36777 snprintf(buf, 10u, "%s", "wx");
36778
36779 ;
36780 return 0;
36781 }
36782 _ACEOF
36783 rm -f conftest.$ac_objext
36784 if { (ac_try="$ac_compile"
36785 case "(($ac_try" in
36786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36787 *) ac_try_echo=$ac_try;;
36788 esac
36789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36790 (eval "$ac_compile") 2>conftest.er1
36791 ac_status=$?
36792 grep -v '^ *+' conftest.er1 >conftest.err
36793 rm -f conftest.er1
36794 cat conftest.err >&5
36795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36796 (exit $ac_status); } && {
36797 test -z "$ac_cxx_werror_flag" ||
36798 test ! -s conftest.err
36799 } && test -s conftest.$ac_objext; then
36800 wx_cv_func_snprintf_decl=yes
36801 else
36802 echo "$as_me: failed program was:" >&5
36803 sed 's/^/| /' conftest.$ac_ext >&5
36804
36805 wx_cv_func_snprintf_decl=no
36806
36807 fi
36808
36809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36810
36811
36812 fi
36813 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36814 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36815
36816 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36817 cat >>confdefs.h <<\_ACEOF
36818 #define HAVE_SNPRINTF_DECL 1
36819 _ACEOF
36820
36821 fi
36822
36823 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36824
36825 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36826 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36827 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36828 echo $ECHO_N "(cached) $ECHO_C" >&6
36829 else
36830
36831 if test "$cross_compiling" = yes; then
36832
36833 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36834 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36835 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36836 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36837 wx_cv_func_snprintf_pos_params=no
36838
36839
36840 else
36841 cat >conftest.$ac_ext <<_ACEOF
36842 /* confdefs.h. */
36843 _ACEOF
36844 cat confdefs.h >>conftest.$ac_ext
36845 cat >>conftest.$ac_ext <<_ACEOF
36846 /* end confdefs.h. */
36847
36848 #include <stdio.h>
36849
36850 int main (void)
36851 {
36852 char buffer[128];
36853 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36854 if (strcmp ("2 3 1", buffer) == 0)
36855 exit (0);
36856 exit (1);
36857 }
36858
36859 _ACEOF
36860 rm -f conftest$ac_exeext
36861 if { (ac_try="$ac_link"
36862 case "(($ac_try" in
36863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36864 *) ac_try_echo=$ac_try;;
36865 esac
36866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36867 (eval "$ac_link") 2>&5
36868 ac_status=$?
36869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36870 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36871 { (case "(($ac_try" in
36872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36873 *) ac_try_echo=$ac_try;;
36874 esac
36875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36876 (eval "$ac_try") 2>&5
36877 ac_status=$?
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); }; }; then
36880 wx_cv_func_snprintf_pos_params=no
36881 else
36882 echo "$as_me: program exited with status $ac_status" >&5
36883 echo "$as_me: failed program was:" >&5
36884 sed 's/^/| /' conftest.$ac_ext >&5
36885
36886 ( exit $ac_status )
36887 wx_cv_func_snprintf_pos_params=yes
36888 fi
36889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36890 fi
36891
36892
36893
36894
36895 fi
36896 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36897 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36898
36899 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36900 cat >>confdefs.h <<\_ACEOF
36901 #define HAVE_UNIX98_PRINTF 1
36902 _ACEOF
36903
36904 fi
36905 fi
36906 fi
36907
36908 if test "$ac_cv_func_vsscanf" = "yes"; then
36909 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36910 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36911 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36913 else
36914
36915 cat >conftest.$ac_ext <<_ACEOF
36916 /* confdefs.h. */
36917 _ACEOF
36918 cat confdefs.h >>conftest.$ac_ext
36919 cat >>conftest.$ac_ext <<_ACEOF
36920 /* end confdefs.h. */
36921
36922 #include <stdio.h>
36923 #include <stdarg.h>
36924 #ifdef __MSL__
36925 #if __MSL__ >= 0x6000
36926 namespace std {}
36927 using namespace std;
36928 #endif
36929 #endif
36930
36931 int
36932 main ()
36933 {
36934
36935 char *buf;
36936 va_list args;
36937 vsscanf(buf, "%s", args);
36938
36939 ;
36940 return 0;
36941 }
36942 _ACEOF
36943 rm -f conftest.$ac_objext
36944 if { (ac_try="$ac_compile"
36945 case "(($ac_try" in
36946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36947 *) ac_try_echo=$ac_try;;
36948 esac
36949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36950 (eval "$ac_compile") 2>conftest.er1
36951 ac_status=$?
36952 grep -v '^ *+' conftest.er1 >conftest.err
36953 rm -f conftest.er1
36954 cat conftest.err >&5
36955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36956 (exit $ac_status); } && {
36957 test -z "$ac_cxx_werror_flag" ||
36958 test ! -s conftest.err
36959 } && test -s conftest.$ac_objext; then
36960 wx_cv_func_vsscanf_decl=yes
36961 else
36962 echo "$as_me: failed program was:" >&5
36963 sed 's/^/| /' conftest.$ac_ext >&5
36964
36965 wx_cv_func_vsscanf_decl=no
36966
36967 fi
36968
36969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36970
36971
36972 fi
36973 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36974 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36975
36976 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36977 cat >>confdefs.h <<\_ACEOF
36978 #define HAVE_VSSCANF_DECL 1
36979 _ACEOF
36980
36981 fi
36982 fi
36983 ac_ext=c
36984 ac_cpp='$CPP $CPPFLAGS'
36985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36988
36989
36990 if test "$wxUSE_UNICODE" = yes; then
36991
36992 wchar_headers="#include <stdio.h>
36993 #include <wchar.h>"
36994 case "${host}" in
36995 *-*-solaris2* )
36996
36997 for ac_header in widec.h
36998 do
36999 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37000 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37002 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37003 echo $ECHO_N "(cached) $ECHO_C" >&6
37004 else
37005 cat >conftest.$ac_ext <<_ACEOF
37006 /* confdefs.h. */
37007 _ACEOF
37008 cat confdefs.h >>conftest.$ac_ext
37009 cat >>conftest.$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37011 $ac_includes_default
37012
37013 #include <$ac_header>
37014 _ACEOF
37015 rm -f conftest.$ac_objext
37016 if { (ac_try="$ac_compile"
37017 case "(($ac_try" in
37018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37019 *) ac_try_echo=$ac_try;;
37020 esac
37021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37022 (eval "$ac_compile") 2>conftest.er1
37023 ac_status=$?
37024 grep -v '^ *+' conftest.er1 >conftest.err
37025 rm -f conftest.er1
37026 cat conftest.err >&5
37027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37028 (exit $ac_status); } && {
37029 test -z "$ac_c_werror_flag" ||
37030 test ! -s conftest.err
37031 } && test -s conftest.$ac_objext; then
37032 eval "$as_ac_Header=yes"
37033 else
37034 echo "$as_me: failed program was:" >&5
37035 sed 's/^/| /' conftest.$ac_ext >&5
37036
37037 eval "$as_ac_Header=no"
37038 fi
37039
37040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37041 fi
37042 ac_res=`eval echo '${'$as_ac_Header'}'`
37043 { echo "$as_me:$LINENO: result: $ac_res" >&5
37044 echo "${ECHO_T}$ac_res" >&6; }
37045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37046 cat >>confdefs.h <<_ACEOF
37047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37048 _ACEOF
37049
37050 fi
37051
37052 done
37053
37054 if test "$ac_cv_header_widec_h" = "yes"; then
37055 wchar_headers="$wchar_headers
37056 #include <widec.h>"
37057 fi
37058 esac
37059
37060
37061 for wx_func in putws fputws wprintf vswprintf vswscanf
37062 do
37063 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37064 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37065 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37066 echo $ECHO_N "(cached) $ECHO_C" >&6
37067 else
37068
37069 cat >conftest.$ac_ext <<_ACEOF
37070
37071 /* confdefs.h. */
37072 _ACEOF
37073 cat confdefs.h >>conftest.$ac_ext
37074 cat >>conftest.$ac_ext <<_ACEOF
37075 /* end confdefs.h. */
37076
37077 $wchar_headers
37078 $ac_includes_default
37079
37080 int
37081 main ()
37082 {
37083
37084 #ifndef $wx_func
37085 &$wx_func;
37086 #endif
37087
37088
37089 ;
37090 return 0;
37091 }
37092
37093 _ACEOF
37094 rm -f conftest.$ac_objext conftest$ac_exeext
37095 if { (ac_try="$ac_link"
37096 case "(($ac_try" in
37097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37098 *) ac_try_echo=$ac_try;;
37099 esac
37100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37101 (eval "$ac_link") 2>conftest.er1
37102 ac_status=$?
37103 grep -v '^ *+' conftest.er1 >conftest.err
37104 rm -f conftest.er1
37105 cat conftest.err >&5
37106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107 (exit $ac_status); } && {
37108 test -z "$ac_c_werror_flag" ||
37109 test ! -s conftest.err
37110 } && test -s conftest$ac_exeext &&
37111 $as_test_x conftest$ac_exeext; then
37112 eval wx_cv_func_$wx_func=yes
37113 else
37114 echo "$as_me: failed program was:" >&5
37115 sed 's/^/| /' conftest.$ac_ext >&5
37116
37117 eval wx_cv_func_$wx_func=no
37118 fi
37119
37120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37121 conftest$ac_exeext conftest.$ac_ext
37122
37123 fi
37124 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37125 { echo "$as_me:$LINENO: result: $ac_res" >&5
37126 echo "${ECHO_T}$ac_res" >&6; }
37127
37128 if eval test \$wx_cv_func_$wx_func = yes
37129 then
37130 cat >>confdefs.h <<_ACEOF
37131 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37132 _ACEOF
37133
37134
37135 else
37136 :
37137
37138 fi
37139 done
37140
37141
37142 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37143 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37144 cat >conftest.$ac_ext <<_ACEOF
37145 /* confdefs.h. */
37146 _ACEOF
37147 cat confdefs.h >>conftest.$ac_ext
37148 cat >>conftest.$ac_ext <<_ACEOF
37149 /* end confdefs.h. */
37150 #include <wchar.h>
37151 int
37152 main ()
37153 {
37154 &_vsnwprintf;
37155 ;
37156 return 0;
37157 }
37158 _ACEOF
37159 rm -f conftest.$ac_objext
37160 if { (ac_try="$ac_compile"
37161 case "(($ac_try" in
37162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37163 *) ac_try_echo=$ac_try;;
37164 esac
37165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37166 (eval "$ac_compile") 2>conftest.er1
37167 ac_status=$?
37168 grep -v '^ *+' conftest.er1 >conftest.err
37169 rm -f conftest.er1
37170 cat conftest.err >&5
37171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172 (exit $ac_status); } && {
37173 test -z "$ac_c_werror_flag" ||
37174 test ! -s conftest.err
37175 } && test -s conftest.$ac_objext; then
37176 { echo "$as_me:$LINENO: result: yes" >&5
37177 echo "${ECHO_T}yes" >&6; }
37178 cat >>confdefs.h <<\_ACEOF
37179 #define HAVE__VSNWPRINTF 1
37180 _ACEOF
37181
37182 else
37183 echo "$as_me: failed program was:" >&5
37184 sed 's/^/| /' conftest.$ac_ext >&5
37185
37186 { echo "$as_me:$LINENO: result: no" >&5
37187 echo "${ECHO_T}no" >&6; }
37188 fi
37189
37190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37191 fi
37192
37193 if test "$wxUSE_FILE" = "yes"; then
37194
37195 for wx_func in fsync
37196 do
37197 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37198 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37199 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37200 echo $ECHO_N "(cached) $ECHO_C" >&6
37201 else
37202
37203 cat >conftest.$ac_ext <<_ACEOF
37204
37205 /* confdefs.h. */
37206 _ACEOF
37207 cat confdefs.h >>conftest.$ac_ext
37208 cat >>conftest.$ac_ext <<_ACEOF
37209 /* end confdefs.h. */
37210
37211
37212 $ac_includes_default
37213
37214 int
37215 main ()
37216 {
37217
37218 #ifndef $wx_func
37219 &$wx_func;
37220 #endif
37221
37222
37223 ;
37224 return 0;
37225 }
37226
37227 _ACEOF
37228 rm -f conftest.$ac_objext conftest$ac_exeext
37229 if { (ac_try="$ac_link"
37230 case "(($ac_try" in
37231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37232 *) ac_try_echo=$ac_try;;
37233 esac
37234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37235 (eval "$ac_link") 2>conftest.er1
37236 ac_status=$?
37237 grep -v '^ *+' conftest.er1 >conftest.err
37238 rm -f conftest.er1
37239 cat conftest.err >&5
37240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241 (exit $ac_status); } && {
37242 test -z "$ac_c_werror_flag" ||
37243 test ! -s conftest.err
37244 } && test -s conftest$ac_exeext &&
37245 $as_test_x conftest$ac_exeext; then
37246 eval wx_cv_func_$wx_func=yes
37247 else
37248 echo "$as_me: failed program was:" >&5
37249 sed 's/^/| /' conftest.$ac_ext >&5
37250
37251 eval wx_cv_func_$wx_func=no
37252 fi
37253
37254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37255 conftest$ac_exeext conftest.$ac_ext
37256
37257 fi
37258 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37259 { echo "$as_me:$LINENO: result: $ac_res" >&5
37260 echo "${ECHO_T}$ac_res" >&6; }
37261
37262 if eval test \$wx_cv_func_$wx_func = yes
37263 then
37264 cat >>confdefs.h <<_ACEOF
37265 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37266 _ACEOF
37267
37268
37269 else
37270 :
37271
37272 fi
37273 done
37274
37275 fi
37276
37277 ac_ext=cpp
37278 ac_cpp='$CXXCPP $CPPFLAGS'
37279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37282
37283
37284 for wx_func in round
37285 do
37286 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37287 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37288 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37289 echo $ECHO_N "(cached) $ECHO_C" >&6
37290 else
37291
37292 cat >conftest.$ac_ext <<_ACEOF
37293
37294 /* confdefs.h. */
37295 _ACEOF
37296 cat confdefs.h >>conftest.$ac_ext
37297 cat >>conftest.$ac_ext <<_ACEOF
37298 /* end confdefs.h. */
37299
37300 #include <math.h>
37301 $ac_includes_default
37302
37303 int
37304 main ()
37305 {
37306
37307 #ifndef $wx_func
37308 &$wx_func;
37309 #endif
37310
37311
37312 ;
37313 return 0;
37314 }
37315
37316 _ACEOF
37317 rm -f conftest.$ac_objext conftest$ac_exeext
37318 if { (ac_try="$ac_link"
37319 case "(($ac_try" in
37320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37321 *) ac_try_echo=$ac_try;;
37322 esac
37323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37324 (eval "$ac_link") 2>conftest.er1
37325 ac_status=$?
37326 grep -v '^ *+' conftest.er1 >conftest.err
37327 rm -f conftest.er1
37328 cat conftest.err >&5
37329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37330 (exit $ac_status); } && {
37331 test -z "$ac_cxx_werror_flag" ||
37332 test ! -s conftest.err
37333 } && test -s conftest$ac_exeext &&
37334 $as_test_x conftest$ac_exeext; then
37335 eval wx_cv_func_$wx_func=yes
37336 else
37337 echo "$as_me: failed program was:" >&5
37338 sed 's/^/| /' conftest.$ac_ext >&5
37339
37340 eval wx_cv_func_$wx_func=no
37341 fi
37342
37343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37344 conftest$ac_exeext conftest.$ac_ext
37345
37346 fi
37347 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37348 { echo "$as_me:$LINENO: result: $ac_res" >&5
37349 echo "${ECHO_T}$ac_res" >&6; }
37350
37351 if eval test \$wx_cv_func_$wx_func = yes
37352 then
37353 cat >>confdefs.h <<_ACEOF
37354 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37355 _ACEOF
37356
37357
37358 else
37359 :
37360
37361 fi
37362 done
37363
37364 ac_ext=c
37365 ac_cpp='$CPP $CPPFLAGS'
37366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37369
37370
37371 if test "$TOOLKIT" != "MSW"; then
37372
37373 if test "$wxUSE_LIBICONV" != "no" ; then
37374
37375
37376
37377 # Check whether --with-libiconv-prefix was given.
37378 if test "${with_libiconv_prefix+set}" = set; then
37379 withval=$with_libiconv_prefix;
37380 for dir in `echo "$withval" | tr : ' '`; do
37381 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37382 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37383 done
37384
37385 fi
37386
37387
37388 { echo "$as_me:$LINENO: checking for iconv" >&5
37389 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37390 if test "${am_cv_func_iconv+set}" = set; then
37391 echo $ECHO_N "(cached) $ECHO_C" >&6
37392 else
37393
37394 am_cv_func_iconv="no, consider installing GNU libiconv"
37395 am_cv_lib_iconv=no
37396 cat >conftest.$ac_ext <<_ACEOF
37397 /* confdefs.h. */
37398 _ACEOF
37399 cat confdefs.h >>conftest.$ac_ext
37400 cat >>conftest.$ac_ext <<_ACEOF
37401 /* end confdefs.h. */
37402 #include <stdlib.h>
37403 #include <iconv.h>
37404 int
37405 main ()
37406 {
37407 iconv_t cd = iconv_open("","");
37408 iconv(cd,NULL,NULL,NULL,NULL);
37409 iconv_close(cd);
37410 ;
37411 return 0;
37412 }
37413 _ACEOF
37414 rm -f conftest.$ac_objext conftest$ac_exeext
37415 if { (ac_try="$ac_link"
37416 case "(($ac_try" in
37417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37418 *) ac_try_echo=$ac_try;;
37419 esac
37420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37421 (eval "$ac_link") 2>conftest.er1
37422 ac_status=$?
37423 grep -v '^ *+' conftest.er1 >conftest.err
37424 rm -f conftest.er1
37425 cat conftest.err >&5
37426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37427 (exit $ac_status); } && {
37428 test -z "$ac_c_werror_flag" ||
37429 test ! -s conftest.err
37430 } && test -s conftest$ac_exeext &&
37431 $as_test_x conftest$ac_exeext; then
37432 am_cv_func_iconv=yes
37433 else
37434 echo "$as_me: failed program was:" >&5
37435 sed 's/^/| /' conftest.$ac_ext >&5
37436
37437
37438 fi
37439
37440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37441 conftest$ac_exeext conftest.$ac_ext
37442 if test "$am_cv_func_iconv" != yes; then
37443 am_save_LIBS="$LIBS"
37444 LIBS="$LIBS -liconv"
37445 cat >conftest.$ac_ext <<_ACEOF
37446 /* confdefs.h. */
37447 _ACEOF
37448 cat confdefs.h >>conftest.$ac_ext
37449 cat >>conftest.$ac_ext <<_ACEOF
37450 /* end confdefs.h. */
37451 #include <stdlib.h>
37452 #include <iconv.h>
37453 int
37454 main ()
37455 {
37456 iconv_t cd = iconv_open("","");
37457 iconv(cd,NULL,NULL,NULL,NULL);
37458 iconv_close(cd);
37459 ;
37460 return 0;
37461 }
37462 _ACEOF
37463 rm -f conftest.$ac_objext conftest$ac_exeext
37464 if { (ac_try="$ac_link"
37465 case "(($ac_try" in
37466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37467 *) ac_try_echo=$ac_try;;
37468 esac
37469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37470 (eval "$ac_link") 2>conftest.er1
37471 ac_status=$?
37472 grep -v '^ *+' conftest.er1 >conftest.err
37473 rm -f conftest.er1
37474 cat conftest.err >&5
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); } && {
37477 test -z "$ac_c_werror_flag" ||
37478 test ! -s conftest.err
37479 } && test -s conftest$ac_exeext &&
37480 $as_test_x conftest$ac_exeext; then
37481 am_cv_lib_iconv=yes
37482 am_cv_func_iconv=yes
37483 else
37484 echo "$as_me: failed program was:" >&5
37485 sed 's/^/| /' conftest.$ac_ext >&5
37486
37487
37488 fi
37489
37490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37491 conftest$ac_exeext conftest.$ac_ext
37492 LIBS="$am_save_LIBS"
37493 fi
37494
37495 fi
37496 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37497 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37498 if test "$am_cv_func_iconv" = yes; then
37499
37500 cat >>confdefs.h <<\_ACEOF
37501 #define HAVE_ICONV 1
37502 _ACEOF
37503
37504 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37505 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37506 if test "${wx_cv_func_iconv_const+set}" = set; then
37507 echo $ECHO_N "(cached) $ECHO_C" >&6
37508 else
37509 cat >conftest.$ac_ext <<_ACEOF
37510 /* confdefs.h. */
37511 _ACEOF
37512 cat confdefs.h >>conftest.$ac_ext
37513 cat >>conftest.$ac_ext <<_ACEOF
37514 /* end confdefs.h. */
37515
37516 #include <stdlib.h>
37517 #include <iconv.h>
37518 extern
37519 #ifdef __cplusplus
37520 "C"
37521 #endif
37522 #if defined(__STDC__) || defined(__cplusplus)
37523 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37524 #else
37525 size_t iconv();
37526 #endif
37527
37528 int
37529 main ()
37530 {
37531
37532 ;
37533 return 0;
37534 }
37535 _ACEOF
37536 rm -f conftest.$ac_objext
37537 if { (ac_try="$ac_compile"
37538 case "(($ac_try" in
37539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37540 *) ac_try_echo=$ac_try;;
37541 esac
37542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37543 (eval "$ac_compile") 2>conftest.er1
37544 ac_status=$?
37545 grep -v '^ *+' conftest.er1 >conftest.err
37546 rm -f conftest.er1
37547 cat conftest.err >&5
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); } && {
37550 test -z "$ac_c_werror_flag" ||
37551 test ! -s conftest.err
37552 } && test -s conftest.$ac_objext; then
37553 wx_cv_func_iconv_const="no"
37554 else
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.$ac_ext >&5
37557
37558 wx_cv_func_iconv_const="yes"
37559
37560 fi
37561
37562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37563
37564 fi
37565 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37566 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37567
37568 iconv_const=
37569 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37570 iconv_const="const"
37571 fi
37572
37573
37574 cat >>confdefs.h <<_ACEOF
37575 #define ICONV_CONST $iconv_const
37576 _ACEOF
37577
37578 fi
37579 LIBICONV=
37580 if test "$am_cv_lib_iconv" = yes; then
37581 LIBICONV="-liconv"
37582 fi
37583
37584
37585 LIBS="$LIBICONV $LIBS"
37586 fi
37587
37588 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37589
37590 for ac_func in sigaction
37591 do
37592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37593 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37595 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37596 echo $ECHO_N "(cached) $ECHO_C" >&6
37597 else
37598 cat >conftest.$ac_ext <<_ACEOF
37599 /* confdefs.h. */
37600 _ACEOF
37601 cat confdefs.h >>conftest.$ac_ext
37602 cat >>conftest.$ac_ext <<_ACEOF
37603 /* end confdefs.h. */
37604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37606 #define $ac_func innocuous_$ac_func
37607
37608 /* System header to define __stub macros and hopefully few prototypes,
37609 which can conflict with char $ac_func (); below.
37610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37611 <limits.h> exists even on freestanding compilers. */
37612
37613 #ifdef __STDC__
37614 # include <limits.h>
37615 #else
37616 # include <assert.h>
37617 #endif
37618
37619 #undef $ac_func
37620
37621 /* Override any GCC internal prototype to avoid an error.
37622 Use char because int might match the return type of a GCC
37623 builtin and then its argument prototype would still apply. */
37624 #ifdef __cplusplus
37625 extern "C"
37626 #endif
37627 char $ac_func ();
37628 /* The GNU C library defines this for functions which it implements
37629 to always fail with ENOSYS. Some functions are actually named
37630 something starting with __ and the normal name is an alias. */
37631 #if defined __stub_$ac_func || defined __stub___$ac_func
37632 choke me
37633 #endif
37634
37635 int
37636 main ()
37637 {
37638 return $ac_func ();
37639 ;
37640 return 0;
37641 }
37642 _ACEOF
37643 rm -f conftest.$ac_objext conftest$ac_exeext
37644 if { (ac_try="$ac_link"
37645 case "(($ac_try" in
37646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37647 *) ac_try_echo=$ac_try;;
37648 esac
37649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37650 (eval "$ac_link") 2>conftest.er1
37651 ac_status=$?
37652 grep -v '^ *+' conftest.er1 >conftest.err
37653 rm -f conftest.er1
37654 cat conftest.err >&5
37655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37656 (exit $ac_status); } && {
37657 test -z "$ac_c_werror_flag" ||
37658 test ! -s conftest.err
37659 } && test -s conftest$ac_exeext &&
37660 $as_test_x conftest$ac_exeext; then
37661 eval "$as_ac_var=yes"
37662 else
37663 echo "$as_me: failed program was:" >&5
37664 sed 's/^/| /' conftest.$ac_ext >&5
37665
37666 eval "$as_ac_var=no"
37667 fi
37668
37669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37670 conftest$ac_exeext conftest.$ac_ext
37671 fi
37672 ac_res=`eval echo '${'$as_ac_var'}'`
37673 { echo "$as_me:$LINENO: result: $ac_res" >&5
37674 echo "${ECHO_T}$ac_res" >&6; }
37675 if test `eval echo '${'$as_ac_var'}'` = yes; then
37676 cat >>confdefs.h <<_ACEOF
37677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37678 _ACEOF
37679
37680 fi
37681 done
37682
37683
37684 if test "$ac_cv_func_sigaction" = "no"; then
37685 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37686 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37687 wxUSE_ON_FATAL_EXCEPTION=no
37688 fi
37689
37690 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37691 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37692 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37693 if test "${wx_cv_type_sa_handler+set}" = set; then
37694 echo $ECHO_N "(cached) $ECHO_C" >&6
37695 else
37696
37697 ac_ext=cpp
37698 ac_cpp='$CXXCPP $CPPFLAGS'
37699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37702
37703 cat >conftest.$ac_ext <<_ACEOF
37704 /* confdefs.h. */
37705 _ACEOF
37706 cat confdefs.h >>conftest.$ac_ext
37707 cat >>conftest.$ac_ext <<_ACEOF
37708 /* end confdefs.h. */
37709 #include <signal.h>
37710 int
37711 main ()
37712 {
37713
37714 extern void testSigHandler(int);
37715
37716 struct sigaction sa;
37717 sa.sa_handler = testSigHandler;
37718
37719 ;
37720 return 0;
37721 }
37722 _ACEOF
37723 rm -f conftest.$ac_objext
37724 if { (ac_try="$ac_compile"
37725 case "(($ac_try" in
37726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37727 *) ac_try_echo=$ac_try;;
37728 esac
37729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37730 (eval "$ac_compile") 2>conftest.er1
37731 ac_status=$?
37732 grep -v '^ *+' conftest.er1 >conftest.err
37733 rm -f conftest.er1
37734 cat conftest.err >&5
37735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37736 (exit $ac_status); } && {
37737 test -z "$ac_cxx_werror_flag" ||
37738 test ! -s conftest.err
37739 } && test -s conftest.$ac_objext; then
37740
37741 wx_cv_type_sa_handler=int
37742
37743 else
37744 echo "$as_me: failed program was:" >&5
37745 sed 's/^/| /' conftest.$ac_ext >&5
37746
37747
37748 wx_cv_type_sa_handler=void
37749
37750 fi
37751
37752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37753 ac_ext=c
37754 ac_cpp='$CPP $CPPFLAGS'
37755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37758
37759
37760 fi
37761 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37762 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37763
37764 cat >>confdefs.h <<_ACEOF
37765 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37766 _ACEOF
37767
37768 fi
37769 fi
37770
37771 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37772 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37773 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37774 if test "${wx_cv_func_backtrace+set}" = set; then
37775 echo $ECHO_N "(cached) $ECHO_C" >&6
37776 else
37777
37778 ac_ext=cpp
37779 ac_cpp='$CXXCPP $CPPFLAGS'
37780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37783
37784 cat >conftest.$ac_ext <<_ACEOF
37785 /* confdefs.h. */
37786 _ACEOF
37787 cat confdefs.h >>conftest.$ac_ext
37788 cat >>conftest.$ac_ext <<_ACEOF
37789 /* end confdefs.h. */
37790 #include <execinfo.h>
37791 int
37792 main ()
37793 {
37794
37795 void *trace[1];
37796 char **messages;
37797
37798 backtrace(trace, 1);
37799 messages = backtrace_symbols(trace, 1);
37800
37801 ;
37802 return 0;
37803 }
37804 _ACEOF
37805 rm -f conftest.$ac_objext
37806 if { (ac_try="$ac_compile"
37807 case "(($ac_try" in
37808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37809 *) ac_try_echo=$ac_try;;
37810 esac
37811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37812 (eval "$ac_compile") 2>conftest.er1
37813 ac_status=$?
37814 grep -v '^ *+' conftest.er1 >conftest.err
37815 rm -f conftest.er1
37816 cat conftest.err >&5
37817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37818 (exit $ac_status); } && {
37819 test -z "$ac_cxx_werror_flag" ||
37820 test ! -s conftest.err
37821 } && test -s conftest.$ac_objext; then
37822 wx_cv_func_backtrace=yes
37823 else
37824 echo "$as_me: failed program was:" >&5
37825 sed 's/^/| /' conftest.$ac_ext >&5
37826
37827 wx_cv_func_backtrace=no
37828
37829 fi
37830
37831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37832 ac_ext=c
37833 ac_cpp='$CPP $CPPFLAGS'
37834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37837
37838
37839
37840 fi
37841 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37842 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37843
37844
37845 if test "$wx_cv_func_backtrace" = "no"; then
37846 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37847 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37848 wxUSE_STACKWALKER=no
37849 else
37850 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37851 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37852 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37853 echo $ECHO_N "(cached) $ECHO_C" >&6
37854 else
37855
37856 ac_ext=cpp
37857 ac_cpp='$CXXCPP $CPPFLAGS'
37858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37861
37862 cat >conftest.$ac_ext <<_ACEOF
37863 /* confdefs.h. */
37864 _ACEOF
37865 cat confdefs.h >>conftest.$ac_ext
37866 cat >>conftest.$ac_ext <<_ACEOF
37867 /* end confdefs.h. */
37868 #include <cxxabi.h>
37869 int
37870 main ()
37871 {
37872
37873 int rc;
37874 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37875
37876 ;
37877 return 0;
37878 }
37879 _ACEOF
37880 rm -f conftest.$ac_objext conftest$ac_exeext
37881 if { (ac_try="$ac_link"
37882 case "(($ac_try" in
37883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37884 *) ac_try_echo=$ac_try;;
37885 esac
37886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37887 (eval "$ac_link") 2>conftest.er1
37888 ac_status=$?
37889 grep -v '^ *+' conftest.er1 >conftest.err
37890 rm -f conftest.er1
37891 cat conftest.err >&5
37892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37893 (exit $ac_status); } && {
37894 test -z "$ac_cxx_werror_flag" ||
37895 test ! -s conftest.err
37896 } && test -s conftest$ac_exeext &&
37897 $as_test_x conftest$ac_exeext; then
37898 wx_cv_func_cxa_demangle=yes
37899 else
37900 echo "$as_me: failed program was:" >&5
37901 sed 's/^/| /' conftest.$ac_ext >&5
37902
37903 wx_cv_func_cxa_demangle=no
37904
37905 fi
37906
37907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37908 conftest$ac_exeext conftest.$ac_ext
37909 ac_ext=c
37910 ac_cpp='$CPP $CPPFLAGS'
37911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37914
37915
37916
37917 fi
37918 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37919 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37920
37921 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37922 cat >>confdefs.h <<\_ACEOF
37923 #define HAVE_CXA_DEMANGLE 1
37924 _ACEOF
37925
37926 fi
37927 fi
37928 fi
37929
37930 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37931 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37932 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37933 wxUSE_STACKWALKER=no
37934 fi
37935
37936
37937
37938
37939 for ac_func in mkstemp mktemp
37940 do
37941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37942 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37944 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37945 echo $ECHO_N "(cached) $ECHO_C" >&6
37946 else
37947 cat >conftest.$ac_ext <<_ACEOF
37948 /* confdefs.h. */
37949 _ACEOF
37950 cat confdefs.h >>conftest.$ac_ext
37951 cat >>conftest.$ac_ext <<_ACEOF
37952 /* end confdefs.h. */
37953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37955 #define $ac_func innocuous_$ac_func
37956
37957 /* System header to define __stub macros and hopefully few prototypes,
37958 which can conflict with char $ac_func (); below.
37959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37960 <limits.h> exists even on freestanding compilers. */
37961
37962 #ifdef __STDC__
37963 # include <limits.h>
37964 #else
37965 # include <assert.h>
37966 #endif
37967
37968 #undef $ac_func
37969
37970 /* Override any GCC internal prototype to avoid an error.
37971 Use char because int might match the return type of a GCC
37972 builtin and then its argument prototype would still apply. */
37973 #ifdef __cplusplus
37974 extern "C"
37975 #endif
37976 char $ac_func ();
37977 /* The GNU C library defines this for functions which it implements
37978 to always fail with ENOSYS. Some functions are actually named
37979 something starting with __ and the normal name is an alias. */
37980 #if defined __stub_$ac_func || defined __stub___$ac_func
37981 choke me
37982 #endif
37983
37984 int
37985 main ()
37986 {
37987 return $ac_func ();
37988 ;
37989 return 0;
37990 }
37991 _ACEOF
37992 rm -f conftest.$ac_objext conftest$ac_exeext
37993 if { (ac_try="$ac_link"
37994 case "(($ac_try" in
37995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37996 *) ac_try_echo=$ac_try;;
37997 esac
37998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37999 (eval "$ac_link") 2>conftest.er1
38000 ac_status=$?
38001 grep -v '^ *+' conftest.er1 >conftest.err
38002 rm -f conftest.er1
38003 cat conftest.err >&5
38004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38005 (exit $ac_status); } && {
38006 test -z "$ac_c_werror_flag" ||
38007 test ! -s conftest.err
38008 } && test -s conftest$ac_exeext &&
38009 $as_test_x conftest$ac_exeext; then
38010 eval "$as_ac_var=yes"
38011 else
38012 echo "$as_me: failed program was:" >&5
38013 sed 's/^/| /' conftest.$ac_ext >&5
38014
38015 eval "$as_ac_var=no"
38016 fi
38017
38018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38019 conftest$ac_exeext conftest.$ac_ext
38020 fi
38021 ac_res=`eval echo '${'$as_ac_var'}'`
38022 { echo "$as_me:$LINENO: result: $ac_res" >&5
38023 echo "${ECHO_T}$ac_res" >&6; }
38024 if test `eval echo '${'$as_ac_var'}'` = yes; then
38025 cat >>confdefs.h <<_ACEOF
38026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38027 _ACEOF
38028 break
38029 fi
38030 done
38031
38032
38033 { echo "$as_me:$LINENO: checking for statfs" >&5
38034 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38035 if test "${wx_cv_func_statfs+set}" = set; then
38036 echo $ECHO_N "(cached) $ECHO_C" >&6
38037 else
38038 cat >conftest.$ac_ext <<_ACEOF
38039 /* confdefs.h. */
38040 _ACEOF
38041 cat confdefs.h >>conftest.$ac_ext
38042 cat >>conftest.$ac_ext <<_ACEOF
38043 /* end confdefs.h. */
38044
38045 #if defined(__BSD__)
38046 #include <sys/param.h>
38047 #include <sys/mount.h>
38048 #else
38049 #include <sys/vfs.h>
38050 #endif
38051
38052 int
38053 main ()
38054 {
38055
38056 long l;
38057 struct statfs fs;
38058 statfs("/", &fs);
38059 l = fs.f_bsize;
38060 l += fs.f_blocks;
38061 l += fs.f_bavail;
38062
38063 ;
38064 return 0;
38065 }
38066 _ACEOF
38067 rm -f conftest.$ac_objext
38068 if { (ac_try="$ac_compile"
38069 case "(($ac_try" in
38070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38071 *) ac_try_echo=$ac_try;;
38072 esac
38073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38074 (eval "$ac_compile") 2>conftest.er1
38075 ac_status=$?
38076 grep -v '^ *+' conftest.er1 >conftest.err
38077 rm -f conftest.er1
38078 cat conftest.err >&5
38079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38080 (exit $ac_status); } && {
38081 test -z "$ac_c_werror_flag" ||
38082 test ! -s conftest.err
38083 } && test -s conftest.$ac_objext; then
38084 wx_cv_func_statfs=yes
38085 else
38086 echo "$as_me: failed program was:" >&5
38087 sed 's/^/| /' conftest.$ac_ext >&5
38088
38089 wx_cv_func_statfs=no
38090
38091 fi
38092
38093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38094
38095 fi
38096 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38097 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38098
38099 if test "$wx_cv_func_statfs" = "yes"; then
38100 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38101 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38102 if test "${wx_cv_func_statfs_decl+set}" = set; then
38103 echo $ECHO_N "(cached) $ECHO_C" >&6
38104 else
38105 ac_ext=cpp
38106 ac_cpp='$CXXCPP $CPPFLAGS'
38107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38110
38111 cat >conftest.$ac_ext <<_ACEOF
38112 /* confdefs.h. */
38113 _ACEOF
38114 cat confdefs.h >>conftest.$ac_ext
38115 cat >>conftest.$ac_ext <<_ACEOF
38116 /* end confdefs.h. */
38117
38118 #if defined(__BSD__)
38119 #include <sys/param.h>
38120 #include <sys/mount.h>
38121 #else
38122 #include <sys/vfs.h>
38123 #endif
38124
38125 int
38126 main ()
38127 {
38128
38129 struct statfs fs;
38130 statfs("", &fs);
38131
38132 ;
38133 return 0;
38134 }
38135 _ACEOF
38136 rm -f conftest.$ac_objext
38137 if { (ac_try="$ac_compile"
38138 case "(($ac_try" in
38139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38140 *) ac_try_echo=$ac_try;;
38141 esac
38142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38143 (eval "$ac_compile") 2>conftest.er1
38144 ac_status=$?
38145 grep -v '^ *+' conftest.er1 >conftest.err
38146 rm -f conftest.er1
38147 cat conftest.err >&5
38148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38149 (exit $ac_status); } && {
38150 test -z "$ac_cxx_werror_flag" ||
38151 test ! -s conftest.err
38152 } && test -s conftest.$ac_objext; then
38153 wx_cv_func_statfs_decl=yes
38154 else
38155 echo "$as_me: failed program was:" >&5
38156 sed 's/^/| /' conftest.$ac_ext >&5
38157
38158 wx_cv_func_statfs_decl=no
38159
38160 fi
38161
38162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38163 ac_ext=c
38164 ac_cpp='$CPP $CPPFLAGS'
38165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38168
38169
38170 fi
38171 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38172 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38173
38174 if test "$wx_cv_func_statfs_decl" = "yes"; then
38175 cat >>confdefs.h <<\_ACEOF
38176 #define HAVE_STATFS_DECL 1
38177 _ACEOF
38178
38179 fi
38180
38181 wx_cv_type_statvfs_t="struct statfs"
38182 cat >>confdefs.h <<\_ACEOF
38183 #define HAVE_STATFS 1
38184 _ACEOF
38185
38186 else
38187 { echo "$as_me:$LINENO: checking for statvfs" >&5
38188 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38189 if test "${wx_cv_func_statvfs+set}" = set; then
38190 echo $ECHO_N "(cached) $ECHO_C" >&6
38191 else
38192 cat >conftest.$ac_ext <<_ACEOF
38193 /* confdefs.h. */
38194 _ACEOF
38195 cat confdefs.h >>conftest.$ac_ext
38196 cat >>conftest.$ac_ext <<_ACEOF
38197 /* end confdefs.h. */
38198
38199 #include <stddef.h>
38200 #include <sys/statvfs.h>
38201
38202 int
38203 main ()
38204 {
38205
38206 statvfs("/", NULL);
38207
38208 ;
38209 return 0;
38210 }
38211 _ACEOF
38212 rm -f conftest.$ac_objext
38213 if { (ac_try="$ac_compile"
38214 case "(($ac_try" in
38215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38216 *) ac_try_echo=$ac_try;;
38217 esac
38218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38219 (eval "$ac_compile") 2>conftest.er1
38220 ac_status=$?
38221 grep -v '^ *+' conftest.er1 >conftest.err
38222 rm -f conftest.er1
38223 cat conftest.err >&5
38224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225 (exit $ac_status); } && {
38226 test -z "$ac_c_werror_flag" ||
38227 test ! -s conftest.err
38228 } && test -s conftest.$ac_objext; then
38229 wx_cv_func_statvfs=yes
38230 else
38231 echo "$as_me: failed program was:" >&5
38232 sed 's/^/| /' conftest.$ac_ext >&5
38233
38234 wx_cv_func_statvfs=no
38235
38236 fi
38237
38238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38239
38240 fi
38241 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38242 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38243
38244 if test "$wx_cv_func_statvfs" = "yes"; then
38245 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38246 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38247 if test "${wx_cv_type_statvfs_t+set}" = set; then
38248 echo $ECHO_N "(cached) $ECHO_C" >&6
38249 else
38250 ac_ext=cpp
38251 ac_cpp='$CXXCPP $CPPFLAGS'
38252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38255
38256 cat >conftest.$ac_ext <<_ACEOF
38257 /* confdefs.h. */
38258 _ACEOF
38259 cat confdefs.h >>conftest.$ac_ext
38260 cat >>conftest.$ac_ext <<_ACEOF
38261 /* end confdefs.h. */
38262
38263 #include <sys/statvfs.h>
38264
38265 int
38266 main ()
38267 {
38268
38269 long l;
38270 statvfs_t fs;
38271 statvfs("/", &fs);
38272 l = fs.f_bsize;
38273 l += fs.f_blocks;
38274 l += fs.f_bavail;
38275
38276 ;
38277 return 0;
38278 }
38279 _ACEOF
38280 rm -f conftest.$ac_objext
38281 if { (ac_try="$ac_compile"
38282 case "(($ac_try" in
38283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38284 *) ac_try_echo=$ac_try;;
38285 esac
38286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38287 (eval "$ac_compile") 2>conftest.er1
38288 ac_status=$?
38289 grep -v '^ *+' conftest.er1 >conftest.err
38290 rm -f conftest.er1
38291 cat conftest.err >&5
38292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38293 (exit $ac_status); } && {
38294 test -z "$ac_cxx_werror_flag" ||
38295 test ! -s conftest.err
38296 } && test -s conftest.$ac_objext; then
38297 wx_cv_type_statvfs_t=statvfs_t
38298 else
38299 echo "$as_me: failed program was:" >&5
38300 sed 's/^/| /' conftest.$ac_ext >&5
38301
38302
38303 cat >conftest.$ac_ext <<_ACEOF
38304 /* confdefs.h. */
38305 _ACEOF
38306 cat confdefs.h >>conftest.$ac_ext
38307 cat >>conftest.$ac_ext <<_ACEOF
38308 /* end confdefs.h. */
38309
38310 #include <sys/statvfs.h>
38311
38312 int
38313 main ()
38314 {
38315
38316 long l;
38317 struct statvfs fs;
38318 statvfs("/", &fs);
38319 l = fs.f_bsize;
38320 l += fs.f_blocks;
38321 l += fs.f_bavail;
38322
38323 ;
38324 return 0;
38325 }
38326 _ACEOF
38327 rm -f conftest.$ac_objext
38328 if { (ac_try="$ac_compile"
38329 case "(($ac_try" in
38330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38331 *) ac_try_echo=$ac_try;;
38332 esac
38333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38334 (eval "$ac_compile") 2>conftest.er1
38335 ac_status=$?
38336 grep -v '^ *+' conftest.er1 >conftest.err
38337 rm -f conftest.er1
38338 cat conftest.err >&5
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); } && {
38341 test -z "$ac_cxx_werror_flag" ||
38342 test ! -s conftest.err
38343 } && test -s conftest.$ac_objext; then
38344 wx_cv_type_statvfs_t="struct statvfs"
38345 else
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.$ac_ext >&5
38348
38349 wx_cv_type_statvfs_t="unknown"
38350
38351 fi
38352
38353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38354
38355
38356 fi
38357
38358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38359 ac_ext=c
38360 ac_cpp='$CPP $CPPFLAGS'
38361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38364
38365
38366 fi
38367 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38368 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38369
38370 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38371 cat >>confdefs.h <<\_ACEOF
38372 #define HAVE_STATVFS 1
38373 _ACEOF
38374
38375 fi
38376 else
38377 wx_cv_type_statvfs_t="unknown"
38378 fi
38379 fi
38380
38381 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38382 cat >>confdefs.h <<_ACEOF
38383 #define WX_STATFS_T $wx_cv_type_statvfs_t
38384 _ACEOF
38385
38386 else
38387 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38388 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38389 fi
38390
38391 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38392
38393
38394 for ac_func in fcntl flock
38395 do
38396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38397 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38399 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38400 echo $ECHO_N "(cached) $ECHO_C" >&6
38401 else
38402 cat >conftest.$ac_ext <<_ACEOF
38403 /* confdefs.h. */
38404 _ACEOF
38405 cat confdefs.h >>conftest.$ac_ext
38406 cat >>conftest.$ac_ext <<_ACEOF
38407 /* end confdefs.h. */
38408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38410 #define $ac_func innocuous_$ac_func
38411
38412 /* System header to define __stub macros and hopefully few prototypes,
38413 which can conflict with char $ac_func (); below.
38414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38415 <limits.h> exists even on freestanding compilers. */
38416
38417 #ifdef __STDC__
38418 # include <limits.h>
38419 #else
38420 # include <assert.h>
38421 #endif
38422
38423 #undef $ac_func
38424
38425 /* Override any GCC internal prototype to avoid an error.
38426 Use char because int might match the return type of a GCC
38427 builtin and then its argument prototype would still apply. */
38428 #ifdef __cplusplus
38429 extern "C"
38430 #endif
38431 char $ac_func ();
38432 /* The GNU C library defines this for functions which it implements
38433 to always fail with ENOSYS. Some functions are actually named
38434 something starting with __ and the normal name is an alias. */
38435 #if defined __stub_$ac_func || defined __stub___$ac_func
38436 choke me
38437 #endif
38438
38439 int
38440 main ()
38441 {
38442 return $ac_func ();
38443 ;
38444 return 0;
38445 }
38446 _ACEOF
38447 rm -f conftest.$ac_objext conftest$ac_exeext
38448 if { (ac_try="$ac_link"
38449 case "(($ac_try" in
38450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38451 *) ac_try_echo=$ac_try;;
38452 esac
38453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38454 (eval "$ac_link") 2>conftest.er1
38455 ac_status=$?
38456 grep -v '^ *+' conftest.er1 >conftest.err
38457 rm -f conftest.er1
38458 cat conftest.err >&5
38459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38460 (exit $ac_status); } && {
38461 test -z "$ac_c_werror_flag" ||
38462 test ! -s conftest.err
38463 } && test -s conftest$ac_exeext &&
38464 $as_test_x conftest$ac_exeext; then
38465 eval "$as_ac_var=yes"
38466 else
38467 echo "$as_me: failed program was:" >&5
38468 sed 's/^/| /' conftest.$ac_ext >&5
38469
38470 eval "$as_ac_var=no"
38471 fi
38472
38473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38474 conftest$ac_exeext conftest.$ac_ext
38475 fi
38476 ac_res=`eval echo '${'$as_ac_var'}'`
38477 { echo "$as_me:$LINENO: result: $ac_res" >&5
38478 echo "${ECHO_T}$ac_res" >&6; }
38479 if test `eval echo '${'$as_ac_var'}'` = yes; then
38480 cat >>confdefs.h <<_ACEOF
38481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38482 _ACEOF
38483 break
38484 fi
38485 done
38486
38487
38488 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38489 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38490 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38491 wxUSE_SNGLINST_CHECKER=no
38492 fi
38493 fi
38494
38495
38496
38497 for ac_func in setenv putenv
38498 do
38499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38500 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38502 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38503 echo $ECHO_N "(cached) $ECHO_C" >&6
38504 else
38505 cat >conftest.$ac_ext <<_ACEOF
38506 /* confdefs.h. */
38507 _ACEOF
38508 cat confdefs.h >>conftest.$ac_ext
38509 cat >>conftest.$ac_ext <<_ACEOF
38510 /* end confdefs.h. */
38511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38513 #define $ac_func innocuous_$ac_func
38514
38515 /* System header to define __stub macros and hopefully few prototypes,
38516 which can conflict with char $ac_func (); below.
38517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38518 <limits.h> exists even on freestanding compilers. */
38519
38520 #ifdef __STDC__
38521 # include <limits.h>
38522 #else
38523 # include <assert.h>
38524 #endif
38525
38526 #undef $ac_func
38527
38528 /* Override any GCC internal prototype to avoid an error.
38529 Use char because int might match the return type of a GCC
38530 builtin and then its argument prototype would still apply. */
38531 #ifdef __cplusplus
38532 extern "C"
38533 #endif
38534 char $ac_func ();
38535 /* The GNU C library defines this for functions which it implements
38536 to always fail with ENOSYS. Some functions are actually named
38537 something starting with __ and the normal name is an alias. */
38538 #if defined __stub_$ac_func || defined __stub___$ac_func
38539 choke me
38540 #endif
38541
38542 int
38543 main ()
38544 {
38545 return $ac_func ();
38546 ;
38547 return 0;
38548 }
38549 _ACEOF
38550 rm -f conftest.$ac_objext conftest$ac_exeext
38551 if { (ac_try="$ac_link"
38552 case "(($ac_try" in
38553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38554 *) ac_try_echo=$ac_try;;
38555 esac
38556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38557 (eval "$ac_link") 2>conftest.er1
38558 ac_status=$?
38559 grep -v '^ *+' conftest.er1 >conftest.err
38560 rm -f conftest.er1
38561 cat conftest.err >&5
38562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38563 (exit $ac_status); } && {
38564 test -z "$ac_c_werror_flag" ||
38565 test ! -s conftest.err
38566 } && test -s conftest$ac_exeext &&
38567 $as_test_x conftest$ac_exeext; then
38568 eval "$as_ac_var=yes"
38569 else
38570 echo "$as_me: failed program was:" >&5
38571 sed 's/^/| /' conftest.$ac_ext >&5
38572
38573 eval "$as_ac_var=no"
38574 fi
38575
38576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38577 conftest$ac_exeext conftest.$ac_ext
38578 fi
38579 ac_res=`eval echo '${'$as_ac_var'}'`
38580 { echo "$as_me:$LINENO: result: $ac_res" >&5
38581 echo "${ECHO_T}$ac_res" >&6; }
38582 if test `eval echo '${'$as_ac_var'}'` = yes; then
38583 cat >>confdefs.h <<_ACEOF
38584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38585 _ACEOF
38586 break
38587 fi
38588 done
38589
38590 if test "$ac_cv_func_setenv" = "yes"; then
38591
38592 for ac_func in unsetenv
38593 do
38594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38595 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38597 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38598 echo $ECHO_N "(cached) $ECHO_C" >&6
38599 else
38600 cat >conftest.$ac_ext <<_ACEOF
38601 /* confdefs.h. */
38602 _ACEOF
38603 cat confdefs.h >>conftest.$ac_ext
38604 cat >>conftest.$ac_ext <<_ACEOF
38605 /* end confdefs.h. */
38606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38608 #define $ac_func innocuous_$ac_func
38609
38610 /* System header to define __stub macros and hopefully few prototypes,
38611 which can conflict with char $ac_func (); below.
38612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38613 <limits.h> exists even on freestanding compilers. */
38614
38615 #ifdef __STDC__
38616 # include <limits.h>
38617 #else
38618 # include <assert.h>
38619 #endif
38620
38621 #undef $ac_func
38622
38623 /* Override any GCC internal prototype to avoid an error.
38624 Use char because int might match the return type of a GCC
38625 builtin and then its argument prototype would still apply. */
38626 #ifdef __cplusplus
38627 extern "C"
38628 #endif
38629 char $ac_func ();
38630 /* The GNU C library defines this for functions which it implements
38631 to always fail with ENOSYS. Some functions are actually named
38632 something starting with __ and the normal name is an alias. */
38633 #if defined __stub_$ac_func || defined __stub___$ac_func
38634 choke me
38635 #endif
38636
38637 int
38638 main ()
38639 {
38640 return $ac_func ();
38641 ;
38642 return 0;
38643 }
38644 _ACEOF
38645 rm -f conftest.$ac_objext conftest$ac_exeext
38646 if { (ac_try="$ac_link"
38647 case "(($ac_try" in
38648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38649 *) ac_try_echo=$ac_try;;
38650 esac
38651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38652 (eval "$ac_link") 2>conftest.er1
38653 ac_status=$?
38654 grep -v '^ *+' conftest.er1 >conftest.err
38655 rm -f conftest.er1
38656 cat conftest.err >&5
38657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658 (exit $ac_status); } && {
38659 test -z "$ac_c_werror_flag" ||
38660 test ! -s conftest.err
38661 } && test -s conftest$ac_exeext &&
38662 $as_test_x conftest$ac_exeext; then
38663 eval "$as_ac_var=yes"
38664 else
38665 echo "$as_me: failed program was:" >&5
38666 sed 's/^/| /' conftest.$ac_ext >&5
38667
38668 eval "$as_ac_var=no"
38669 fi
38670
38671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38672 conftest$ac_exeext conftest.$ac_ext
38673 fi
38674 ac_res=`eval echo '${'$as_ac_var'}'`
38675 { echo "$as_me:$LINENO: result: $ac_res" >&5
38676 echo "${ECHO_T}$ac_res" >&6; }
38677 if test `eval echo '${'$as_ac_var'}'` = yes; then
38678 cat >>confdefs.h <<_ACEOF
38679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38680 _ACEOF
38681
38682 fi
38683 done
38684
38685 fi
38686
38687 HAVE_SOME_SLEEP_FUNC=0
38688 if test "$USE_BEOS" = 1; then
38689 cat >>confdefs.h <<\_ACEOF
38690 #define HAVE_SLEEP 1
38691 _ACEOF
38692
38693 HAVE_SOME_SLEEP_FUNC=1
38694 fi
38695
38696 if test "$USE_DARWIN" = 1; then
38697 cat >>confdefs.h <<\_ACEOF
38698 #define HAVE_USLEEP 1
38699 _ACEOF
38700
38701 HAVE_SOME_SLEEP_FUNC=1
38702 fi
38703
38704 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38705 POSIX4_LINK=
38706
38707 for ac_func in nanosleep
38708 do
38709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38713 echo $ECHO_N "(cached) $ECHO_C" >&6
38714 else
38715 cat >conftest.$ac_ext <<_ACEOF
38716 /* confdefs.h. */
38717 _ACEOF
38718 cat confdefs.h >>conftest.$ac_ext
38719 cat >>conftest.$ac_ext <<_ACEOF
38720 /* end confdefs.h. */
38721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38723 #define $ac_func innocuous_$ac_func
38724
38725 /* System header to define __stub macros and hopefully few prototypes,
38726 which can conflict with char $ac_func (); below.
38727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38728 <limits.h> exists even on freestanding compilers. */
38729
38730 #ifdef __STDC__
38731 # include <limits.h>
38732 #else
38733 # include <assert.h>
38734 #endif
38735
38736 #undef $ac_func
38737
38738 /* Override any GCC internal prototype to avoid an error.
38739 Use char because int might match the return type of a GCC
38740 builtin and then its argument prototype would still apply. */
38741 #ifdef __cplusplus
38742 extern "C"
38743 #endif
38744 char $ac_func ();
38745 /* The GNU C library defines this for functions which it implements
38746 to always fail with ENOSYS. Some functions are actually named
38747 something starting with __ and the normal name is an alias. */
38748 #if defined __stub_$ac_func || defined __stub___$ac_func
38749 choke me
38750 #endif
38751
38752 int
38753 main ()
38754 {
38755 return $ac_func ();
38756 ;
38757 return 0;
38758 }
38759 _ACEOF
38760 rm -f conftest.$ac_objext conftest$ac_exeext
38761 if { (ac_try="$ac_link"
38762 case "(($ac_try" in
38763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38764 *) ac_try_echo=$ac_try;;
38765 esac
38766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38767 (eval "$ac_link") 2>conftest.er1
38768 ac_status=$?
38769 grep -v '^ *+' conftest.er1 >conftest.err
38770 rm -f conftest.er1
38771 cat conftest.err >&5
38772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38773 (exit $ac_status); } && {
38774 test -z "$ac_c_werror_flag" ||
38775 test ! -s conftest.err
38776 } && test -s conftest$ac_exeext &&
38777 $as_test_x conftest$ac_exeext; then
38778 eval "$as_ac_var=yes"
38779 else
38780 echo "$as_me: failed program was:" >&5
38781 sed 's/^/| /' conftest.$ac_ext >&5
38782
38783 eval "$as_ac_var=no"
38784 fi
38785
38786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38787 conftest$ac_exeext conftest.$ac_ext
38788 fi
38789 ac_res=`eval echo '${'$as_ac_var'}'`
38790 { echo "$as_me:$LINENO: result: $ac_res" >&5
38791 echo "${ECHO_T}$ac_res" >&6; }
38792 if test `eval echo '${'$as_ac_var'}'` = yes; then
38793 cat >>confdefs.h <<_ACEOF
38794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38795 _ACEOF
38796 cat >>confdefs.h <<\_ACEOF
38797 #define HAVE_NANOSLEEP 1
38798 _ACEOF
38799
38800 else
38801
38802 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38803 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38804 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38805 echo $ECHO_N "(cached) $ECHO_C" >&6
38806 else
38807 ac_check_lib_save_LIBS=$LIBS
38808 LIBS="-lposix4 $LIBS"
38809 cat >conftest.$ac_ext <<_ACEOF
38810 /* confdefs.h. */
38811 _ACEOF
38812 cat confdefs.h >>conftest.$ac_ext
38813 cat >>conftest.$ac_ext <<_ACEOF
38814 /* end confdefs.h. */
38815
38816 /* Override any GCC internal prototype to avoid an error.
38817 Use char because int might match the return type of a GCC
38818 builtin and then its argument prototype would still apply. */
38819 #ifdef __cplusplus
38820 extern "C"
38821 #endif
38822 char nanosleep ();
38823 int
38824 main ()
38825 {
38826 return nanosleep ();
38827 ;
38828 return 0;
38829 }
38830 _ACEOF
38831 rm -f conftest.$ac_objext conftest$ac_exeext
38832 if { (ac_try="$ac_link"
38833 case "(($ac_try" in
38834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38835 *) ac_try_echo=$ac_try;;
38836 esac
38837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38838 (eval "$ac_link") 2>conftest.er1
38839 ac_status=$?
38840 grep -v '^ *+' conftest.er1 >conftest.err
38841 rm -f conftest.er1
38842 cat conftest.err >&5
38843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38844 (exit $ac_status); } && {
38845 test -z "$ac_c_werror_flag" ||
38846 test ! -s conftest.err
38847 } && test -s conftest$ac_exeext &&
38848 $as_test_x conftest$ac_exeext; then
38849 ac_cv_lib_posix4_nanosleep=yes
38850 else
38851 echo "$as_me: failed program was:" >&5
38852 sed 's/^/| /' conftest.$ac_ext >&5
38853
38854 ac_cv_lib_posix4_nanosleep=no
38855 fi
38856
38857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38858 conftest$ac_exeext conftest.$ac_ext
38859 LIBS=$ac_check_lib_save_LIBS
38860 fi
38861 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38862 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38863 if test $ac_cv_lib_posix4_nanosleep = yes; then
38864
38865 cat >>confdefs.h <<\_ACEOF
38866 #define HAVE_NANOSLEEP 1
38867 _ACEOF
38868
38869 POSIX4_LINK=" -lposix4"
38870
38871 else
38872
38873
38874 for wx_func in usleep
38875 do
38876 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38877 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38878 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38879 echo $ECHO_N "(cached) $ECHO_C" >&6
38880 else
38881
38882 cat >conftest.$ac_ext <<_ACEOF
38883
38884 /* confdefs.h. */
38885 _ACEOF
38886 cat confdefs.h >>conftest.$ac_ext
38887 cat >>conftest.$ac_ext <<_ACEOF
38888 /* end confdefs.h. */
38889
38890
38891 $ac_includes_default
38892
38893 int
38894 main ()
38895 {
38896
38897 #ifndef $wx_func
38898 &$wx_func;
38899 #endif
38900
38901
38902 ;
38903 return 0;
38904 }
38905
38906 _ACEOF
38907 rm -f conftest.$ac_objext conftest$ac_exeext
38908 if { (ac_try="$ac_link"
38909 case "(($ac_try" in
38910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38911 *) ac_try_echo=$ac_try;;
38912 esac
38913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38914 (eval "$ac_link") 2>conftest.er1
38915 ac_status=$?
38916 grep -v '^ *+' conftest.er1 >conftest.err
38917 rm -f conftest.er1
38918 cat conftest.err >&5
38919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920 (exit $ac_status); } && {
38921 test -z "$ac_c_werror_flag" ||
38922 test ! -s conftest.err
38923 } && test -s conftest$ac_exeext &&
38924 $as_test_x conftest$ac_exeext; then
38925 eval wx_cv_func_$wx_func=yes
38926 else
38927 echo "$as_me: failed program was:" >&5
38928 sed 's/^/| /' conftest.$ac_ext >&5
38929
38930 eval wx_cv_func_$wx_func=no
38931 fi
38932
38933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38934 conftest$ac_exeext conftest.$ac_ext
38935
38936 fi
38937 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38938 { echo "$as_me:$LINENO: result: $ac_res" >&5
38939 echo "${ECHO_T}$ac_res" >&6; }
38940
38941 if eval test \$wx_cv_func_$wx_func = yes
38942 then
38943 cat >>confdefs.h <<_ACEOF
38944 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38945 _ACEOF
38946
38947
38948 else
38949 :
38950 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38951 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38952
38953 fi
38954 done
38955
38956
38957
38958 fi
38959
38960
38961
38962 fi
38963 done
38964
38965 fi
38966
38967
38968 for wx_func in uname
38969 do
38970 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38971 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38972 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38973 echo $ECHO_N "(cached) $ECHO_C" >&6
38974 else
38975
38976 cat >conftest.$ac_ext <<_ACEOF
38977
38978 /* confdefs.h. */
38979 _ACEOF
38980 cat confdefs.h >>conftest.$ac_ext
38981 cat >>conftest.$ac_ext <<_ACEOF
38982 /* end confdefs.h. */
38983
38984 #include <sys/utsname.h>
38985 $ac_includes_default
38986
38987 int
38988 main ()
38989 {
38990
38991 #ifndef $wx_func
38992 &$wx_func;
38993 #endif
38994
38995
38996 ;
38997 return 0;
38998 }
38999
39000 _ACEOF
39001 rm -f conftest.$ac_objext conftest$ac_exeext
39002 if { (ac_try="$ac_link"
39003 case "(($ac_try" in
39004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39005 *) ac_try_echo=$ac_try;;
39006 esac
39007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39008 (eval "$ac_link") 2>conftest.er1
39009 ac_status=$?
39010 grep -v '^ *+' conftest.er1 >conftest.err
39011 rm -f conftest.er1
39012 cat conftest.err >&5
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); } && {
39015 test -z "$ac_c_werror_flag" ||
39016 test ! -s conftest.err
39017 } && test -s conftest$ac_exeext &&
39018 $as_test_x conftest$ac_exeext; then
39019 eval wx_cv_func_$wx_func=yes
39020 else
39021 echo "$as_me: failed program was:" >&5
39022 sed 's/^/| /' conftest.$ac_ext >&5
39023
39024 eval wx_cv_func_$wx_func=no
39025 fi
39026
39027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39028 conftest$ac_exeext conftest.$ac_ext
39029
39030 fi
39031 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39032 { echo "$as_me:$LINENO: result: $ac_res" >&5
39033 echo "${ECHO_T}$ac_res" >&6; }
39034
39035 if eval test \$wx_cv_func_$wx_func = yes
39036 then
39037 cat >>confdefs.h <<_ACEOF
39038 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39039 _ACEOF
39040
39041
39042 else
39043 :
39044
39045 fi
39046 done
39047
39048 if test "$wx_cv_func_uname" != yes; then
39049
39050 for wx_func in gethostname
39051 do
39052 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39053 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39054 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39055 echo $ECHO_N "(cached) $ECHO_C" >&6
39056 else
39057
39058 cat >conftest.$ac_ext <<_ACEOF
39059
39060 /* confdefs.h. */
39061 _ACEOF
39062 cat confdefs.h >>conftest.$ac_ext
39063 cat >>conftest.$ac_ext <<_ACEOF
39064 /* end confdefs.h. */
39065
39066
39067 $ac_includes_default
39068
39069 int
39070 main ()
39071 {
39072
39073 #ifndef $wx_func
39074 &$wx_func;
39075 #endif
39076
39077
39078 ;
39079 return 0;
39080 }
39081
39082 _ACEOF
39083 rm -f conftest.$ac_objext conftest$ac_exeext
39084 if { (ac_try="$ac_link"
39085 case "(($ac_try" in
39086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39087 *) ac_try_echo=$ac_try;;
39088 esac
39089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39090 (eval "$ac_link") 2>conftest.er1
39091 ac_status=$?
39092 grep -v '^ *+' conftest.er1 >conftest.err
39093 rm -f conftest.er1
39094 cat conftest.err >&5
39095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39096 (exit $ac_status); } && {
39097 test -z "$ac_c_werror_flag" ||
39098 test ! -s conftest.err
39099 } && test -s conftest$ac_exeext &&
39100 $as_test_x conftest$ac_exeext; then
39101 eval wx_cv_func_$wx_func=yes
39102 else
39103 echo "$as_me: failed program was:" >&5
39104 sed 's/^/| /' conftest.$ac_ext >&5
39105
39106 eval wx_cv_func_$wx_func=no
39107 fi
39108
39109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39110 conftest$ac_exeext conftest.$ac_ext
39111
39112 fi
39113 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39114 { echo "$as_me:$LINENO: result: $ac_res" >&5
39115 echo "${ECHO_T}$ac_res" >&6; }
39116
39117 if eval test \$wx_cv_func_$wx_func = yes
39118 then
39119 cat >>confdefs.h <<_ACEOF
39120 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39121 _ACEOF
39122
39123
39124 else
39125 :
39126
39127 fi
39128 done
39129
39130 fi
39131
39132
39133 for wx_func in strtok_r
39134 do
39135 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39136 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39137 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39138 echo $ECHO_N "(cached) $ECHO_C" >&6
39139 else
39140
39141 cat >conftest.$ac_ext <<_ACEOF
39142
39143 /* confdefs.h. */
39144 _ACEOF
39145 cat confdefs.h >>conftest.$ac_ext
39146 cat >>conftest.$ac_ext <<_ACEOF
39147 /* end confdefs.h. */
39148
39149 #define _REENTRANT
39150 $ac_includes_default
39151
39152 int
39153 main ()
39154 {
39155
39156 #ifndef $wx_func
39157 &$wx_func;
39158 #endif
39159
39160
39161 ;
39162 return 0;
39163 }
39164
39165 _ACEOF
39166 rm -f conftest.$ac_objext conftest$ac_exeext
39167 if { (ac_try="$ac_link"
39168 case "(($ac_try" in
39169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39170 *) ac_try_echo=$ac_try;;
39171 esac
39172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39173 (eval "$ac_link") 2>conftest.er1
39174 ac_status=$?
39175 grep -v '^ *+' conftest.er1 >conftest.err
39176 rm -f conftest.er1
39177 cat conftest.err >&5
39178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39179 (exit $ac_status); } && {
39180 test -z "$ac_c_werror_flag" ||
39181 test ! -s conftest.err
39182 } && test -s conftest$ac_exeext &&
39183 $as_test_x conftest$ac_exeext; then
39184 eval wx_cv_func_$wx_func=yes
39185 else
39186 echo "$as_me: failed program was:" >&5
39187 sed 's/^/| /' conftest.$ac_ext >&5
39188
39189 eval wx_cv_func_$wx_func=no
39190 fi
39191
39192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39193 conftest$ac_exeext conftest.$ac_ext
39194
39195 fi
39196 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39197 { echo "$as_me:$LINENO: result: $ac_res" >&5
39198 echo "${ECHO_T}$ac_res" >&6; }
39199
39200 if eval test \$wx_cv_func_$wx_func = yes
39201 then
39202 cat >>confdefs.h <<_ACEOF
39203 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39204 _ACEOF
39205
39206
39207 else
39208 :
39209
39210 fi
39211 done
39212
39213
39214 INET_LINK=
39215
39216 for ac_func in inet_addr
39217 do
39218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39219 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39221 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39222 echo $ECHO_N "(cached) $ECHO_C" >&6
39223 else
39224 cat >conftest.$ac_ext <<_ACEOF
39225 /* confdefs.h. */
39226 _ACEOF
39227 cat confdefs.h >>conftest.$ac_ext
39228 cat >>conftest.$ac_ext <<_ACEOF
39229 /* end confdefs.h. */
39230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39232 #define $ac_func innocuous_$ac_func
39233
39234 /* System header to define __stub macros and hopefully few prototypes,
39235 which can conflict with char $ac_func (); below.
39236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39237 <limits.h> exists even on freestanding compilers. */
39238
39239 #ifdef __STDC__
39240 # include <limits.h>
39241 #else
39242 # include <assert.h>
39243 #endif
39244
39245 #undef $ac_func
39246
39247 /* Override any GCC internal prototype to avoid an error.
39248 Use char because int might match the return type of a GCC
39249 builtin and then its argument prototype would still apply. */
39250 #ifdef __cplusplus
39251 extern "C"
39252 #endif
39253 char $ac_func ();
39254 /* The GNU C library defines this for functions which it implements
39255 to always fail with ENOSYS. Some functions are actually named
39256 something starting with __ and the normal name is an alias. */
39257 #if defined __stub_$ac_func || defined __stub___$ac_func
39258 choke me
39259 #endif
39260
39261 int
39262 main ()
39263 {
39264 return $ac_func ();
39265 ;
39266 return 0;
39267 }
39268 _ACEOF
39269 rm -f conftest.$ac_objext conftest$ac_exeext
39270 if { (ac_try="$ac_link"
39271 case "(($ac_try" in
39272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39273 *) ac_try_echo=$ac_try;;
39274 esac
39275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39276 (eval "$ac_link") 2>conftest.er1
39277 ac_status=$?
39278 grep -v '^ *+' conftest.er1 >conftest.err
39279 rm -f conftest.er1
39280 cat conftest.err >&5
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); } && {
39283 test -z "$ac_c_werror_flag" ||
39284 test ! -s conftest.err
39285 } && test -s conftest$ac_exeext &&
39286 $as_test_x conftest$ac_exeext; then
39287 eval "$as_ac_var=yes"
39288 else
39289 echo "$as_me: failed program was:" >&5
39290 sed 's/^/| /' conftest.$ac_ext >&5
39291
39292 eval "$as_ac_var=no"
39293 fi
39294
39295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39296 conftest$ac_exeext conftest.$ac_ext
39297 fi
39298 ac_res=`eval echo '${'$as_ac_var'}'`
39299 { echo "$as_me:$LINENO: result: $ac_res" >&5
39300 echo "${ECHO_T}$ac_res" >&6; }
39301 if test `eval echo '${'$as_ac_var'}'` = yes; then
39302 cat >>confdefs.h <<_ACEOF
39303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39304 _ACEOF
39305 cat >>confdefs.h <<\_ACEOF
39306 #define HAVE_INET_ADDR 1
39307 _ACEOF
39308
39309 else
39310
39311 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39312 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39313 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39314 echo $ECHO_N "(cached) $ECHO_C" >&6
39315 else
39316 ac_check_lib_save_LIBS=$LIBS
39317 LIBS="-lnsl $LIBS"
39318 cat >conftest.$ac_ext <<_ACEOF
39319 /* confdefs.h. */
39320 _ACEOF
39321 cat confdefs.h >>conftest.$ac_ext
39322 cat >>conftest.$ac_ext <<_ACEOF
39323 /* end confdefs.h. */
39324
39325 /* Override any GCC internal prototype to avoid an error.
39326 Use char because int might match the return type of a GCC
39327 builtin and then its argument prototype would still apply. */
39328 #ifdef __cplusplus
39329 extern "C"
39330 #endif
39331 char inet_addr ();
39332 int
39333 main ()
39334 {
39335 return inet_addr ();
39336 ;
39337 return 0;
39338 }
39339 _ACEOF
39340 rm -f conftest.$ac_objext conftest$ac_exeext
39341 if { (ac_try="$ac_link"
39342 case "(($ac_try" in
39343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39344 *) ac_try_echo=$ac_try;;
39345 esac
39346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39347 (eval "$ac_link") 2>conftest.er1
39348 ac_status=$?
39349 grep -v '^ *+' conftest.er1 >conftest.err
39350 rm -f conftest.er1
39351 cat conftest.err >&5
39352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39353 (exit $ac_status); } && {
39354 test -z "$ac_c_werror_flag" ||
39355 test ! -s conftest.err
39356 } && test -s conftest$ac_exeext &&
39357 $as_test_x conftest$ac_exeext; then
39358 ac_cv_lib_nsl_inet_addr=yes
39359 else
39360 echo "$as_me: failed program was:" >&5
39361 sed 's/^/| /' conftest.$ac_ext >&5
39362
39363 ac_cv_lib_nsl_inet_addr=no
39364 fi
39365
39366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39367 conftest$ac_exeext conftest.$ac_ext
39368 LIBS=$ac_check_lib_save_LIBS
39369 fi
39370 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39371 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39372 if test $ac_cv_lib_nsl_inet_addr = yes; then
39373 INET_LINK="nsl"
39374 else
39375
39376 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39377 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39378 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39379 echo $ECHO_N "(cached) $ECHO_C" >&6
39380 else
39381 ac_check_lib_save_LIBS=$LIBS
39382 LIBS="-lresolv $LIBS"
39383 cat >conftest.$ac_ext <<_ACEOF
39384 /* confdefs.h. */
39385 _ACEOF
39386 cat confdefs.h >>conftest.$ac_ext
39387 cat >>conftest.$ac_ext <<_ACEOF
39388 /* end confdefs.h. */
39389
39390 /* Override any GCC internal prototype to avoid an error.
39391 Use char because int might match the return type of a GCC
39392 builtin and then its argument prototype would still apply. */
39393 #ifdef __cplusplus
39394 extern "C"
39395 #endif
39396 char inet_addr ();
39397 int
39398 main ()
39399 {
39400 return inet_addr ();
39401 ;
39402 return 0;
39403 }
39404 _ACEOF
39405 rm -f conftest.$ac_objext conftest$ac_exeext
39406 if { (ac_try="$ac_link"
39407 case "(($ac_try" in
39408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39409 *) ac_try_echo=$ac_try;;
39410 esac
39411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39412 (eval "$ac_link") 2>conftest.er1
39413 ac_status=$?
39414 grep -v '^ *+' conftest.er1 >conftest.err
39415 rm -f conftest.er1
39416 cat conftest.err >&5
39417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39418 (exit $ac_status); } && {
39419 test -z "$ac_c_werror_flag" ||
39420 test ! -s conftest.err
39421 } && test -s conftest$ac_exeext &&
39422 $as_test_x conftest$ac_exeext; then
39423 ac_cv_lib_resolv_inet_addr=yes
39424 else
39425 echo "$as_me: failed program was:" >&5
39426 sed 's/^/| /' conftest.$ac_ext >&5
39427
39428 ac_cv_lib_resolv_inet_addr=no
39429 fi
39430
39431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39432 conftest$ac_exeext conftest.$ac_ext
39433 LIBS=$ac_check_lib_save_LIBS
39434 fi
39435 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39436 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39437 if test $ac_cv_lib_resolv_inet_addr = yes; then
39438 INET_LINK="resolv"
39439 else
39440
39441 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39442 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39443 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39444 echo $ECHO_N "(cached) $ECHO_C" >&6
39445 else
39446 ac_check_lib_save_LIBS=$LIBS
39447 LIBS="-lsocket $LIBS"
39448 cat >conftest.$ac_ext <<_ACEOF
39449 /* confdefs.h. */
39450 _ACEOF
39451 cat confdefs.h >>conftest.$ac_ext
39452 cat >>conftest.$ac_ext <<_ACEOF
39453 /* end confdefs.h. */
39454
39455 /* Override any GCC internal prototype to avoid an error.
39456 Use char because int might match the return type of a GCC
39457 builtin and then its argument prototype would still apply. */
39458 #ifdef __cplusplus
39459 extern "C"
39460 #endif
39461 char inet_addr ();
39462 int
39463 main ()
39464 {
39465 return inet_addr ();
39466 ;
39467 return 0;
39468 }
39469 _ACEOF
39470 rm -f conftest.$ac_objext conftest$ac_exeext
39471 if { (ac_try="$ac_link"
39472 case "(($ac_try" in
39473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39474 *) ac_try_echo=$ac_try;;
39475 esac
39476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39477 (eval "$ac_link") 2>conftest.er1
39478 ac_status=$?
39479 grep -v '^ *+' conftest.er1 >conftest.err
39480 rm -f conftest.er1
39481 cat conftest.err >&5
39482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39483 (exit $ac_status); } && {
39484 test -z "$ac_c_werror_flag" ||
39485 test ! -s conftest.err
39486 } && test -s conftest$ac_exeext &&
39487 $as_test_x conftest$ac_exeext; then
39488 ac_cv_lib_socket_inet_addr=yes
39489 else
39490 echo "$as_me: failed program was:" >&5
39491 sed 's/^/| /' conftest.$ac_ext >&5
39492
39493 ac_cv_lib_socket_inet_addr=no
39494 fi
39495
39496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39497 conftest$ac_exeext conftest.$ac_ext
39498 LIBS=$ac_check_lib_save_LIBS
39499 fi
39500 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39501 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39502 if test $ac_cv_lib_socket_inet_addr = yes; then
39503 INET_LINK="socket"
39504
39505 fi
39506
39507
39508
39509 fi
39510
39511
39512
39513 fi
39514
39515
39516
39517 fi
39518 done
39519
39520
39521
39522 for ac_func in inet_aton
39523 do
39524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39525 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39527 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39528 echo $ECHO_N "(cached) $ECHO_C" >&6
39529 else
39530 cat >conftest.$ac_ext <<_ACEOF
39531 /* confdefs.h. */
39532 _ACEOF
39533 cat confdefs.h >>conftest.$ac_ext
39534 cat >>conftest.$ac_ext <<_ACEOF
39535 /* end confdefs.h. */
39536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39538 #define $ac_func innocuous_$ac_func
39539
39540 /* System header to define __stub macros and hopefully few prototypes,
39541 which can conflict with char $ac_func (); below.
39542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39543 <limits.h> exists even on freestanding compilers. */
39544
39545 #ifdef __STDC__
39546 # include <limits.h>
39547 #else
39548 # include <assert.h>
39549 #endif
39550
39551 #undef $ac_func
39552
39553 /* Override any GCC internal prototype to avoid an error.
39554 Use char because int might match the return type of a GCC
39555 builtin and then its argument prototype would still apply. */
39556 #ifdef __cplusplus
39557 extern "C"
39558 #endif
39559 char $ac_func ();
39560 /* The GNU C library defines this for functions which it implements
39561 to always fail with ENOSYS. Some functions are actually named
39562 something starting with __ and the normal name is an alias. */
39563 #if defined __stub_$ac_func || defined __stub___$ac_func
39564 choke me
39565 #endif
39566
39567 int
39568 main ()
39569 {
39570 return $ac_func ();
39571 ;
39572 return 0;
39573 }
39574 _ACEOF
39575 rm -f conftest.$ac_objext conftest$ac_exeext
39576 if { (ac_try="$ac_link"
39577 case "(($ac_try" in
39578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39579 *) ac_try_echo=$ac_try;;
39580 esac
39581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39582 (eval "$ac_link") 2>conftest.er1
39583 ac_status=$?
39584 grep -v '^ *+' conftest.er1 >conftest.err
39585 rm -f conftest.er1
39586 cat conftest.err >&5
39587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588 (exit $ac_status); } && {
39589 test -z "$ac_c_werror_flag" ||
39590 test ! -s conftest.err
39591 } && test -s conftest$ac_exeext &&
39592 $as_test_x conftest$ac_exeext; then
39593 eval "$as_ac_var=yes"
39594 else
39595 echo "$as_me: failed program was:" >&5
39596 sed 's/^/| /' conftest.$ac_ext >&5
39597
39598 eval "$as_ac_var=no"
39599 fi
39600
39601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39602 conftest$ac_exeext conftest.$ac_ext
39603 fi
39604 ac_res=`eval echo '${'$as_ac_var'}'`
39605 { echo "$as_me:$LINENO: result: $ac_res" >&5
39606 echo "${ECHO_T}$ac_res" >&6; }
39607 if test `eval echo '${'$as_ac_var'}'` = yes; then
39608 cat >>confdefs.h <<_ACEOF
39609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39610 _ACEOF
39611 cat >>confdefs.h <<\_ACEOF
39612 #define HAVE_INET_ATON 1
39613 _ACEOF
39614
39615 else
39616
39617 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39618 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39619 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39620 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39621 echo $ECHO_N "(cached) $ECHO_C" >&6
39622 else
39623 ac_check_lib_save_LIBS=$LIBS
39624 LIBS="-l$INET_LINK $LIBS"
39625 cat >conftest.$ac_ext <<_ACEOF
39626 /* confdefs.h. */
39627 _ACEOF
39628 cat confdefs.h >>conftest.$ac_ext
39629 cat >>conftest.$ac_ext <<_ACEOF
39630 /* end confdefs.h. */
39631
39632 /* Override any GCC internal prototype to avoid an error.
39633 Use char because int might match the return type of a GCC
39634 builtin and then its argument prototype would still apply. */
39635 #ifdef __cplusplus
39636 extern "C"
39637 #endif
39638 char inet_aton ();
39639 int
39640 main ()
39641 {
39642 return inet_aton ();
39643 ;
39644 return 0;
39645 }
39646 _ACEOF
39647 rm -f conftest.$ac_objext conftest$ac_exeext
39648 if { (ac_try="$ac_link"
39649 case "(($ac_try" in
39650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39651 *) ac_try_echo=$ac_try;;
39652 esac
39653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39654 (eval "$ac_link") 2>conftest.er1
39655 ac_status=$?
39656 grep -v '^ *+' conftest.er1 >conftest.err
39657 rm -f conftest.er1
39658 cat conftest.err >&5
39659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39660 (exit $ac_status); } && {
39661 test -z "$ac_c_werror_flag" ||
39662 test ! -s conftest.err
39663 } && test -s conftest$ac_exeext &&
39664 $as_test_x conftest$ac_exeext; then
39665 eval "$as_ac_Lib=yes"
39666 else
39667 echo "$as_me: failed program was:" >&5
39668 sed 's/^/| /' conftest.$ac_ext >&5
39669
39670 eval "$as_ac_Lib=no"
39671 fi
39672
39673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39674 conftest$ac_exeext conftest.$ac_ext
39675 LIBS=$ac_check_lib_save_LIBS
39676 fi
39677 ac_res=`eval echo '${'$as_ac_Lib'}'`
39678 { echo "$as_me:$LINENO: result: $ac_res" >&5
39679 echo "${ECHO_T}$ac_res" >&6; }
39680 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39681 cat >>confdefs.h <<\_ACEOF
39682 #define HAVE_INET_ATON 1
39683 _ACEOF
39684
39685 fi
39686
39687
39688 fi
39689 done
39690
39691
39692 if test "x$INET_LINK" != "x"; then
39693 cat >>confdefs.h <<\_ACEOF
39694 #define HAVE_INET_ADDR 1
39695 _ACEOF
39696
39697 INET_LINK=" -l$INET_LINK"
39698 fi
39699
39700
39701 for wx_func in fdopen
39702 do
39703 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39704 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39705 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39706 echo $ECHO_N "(cached) $ECHO_C" >&6
39707 else
39708
39709 cat >conftest.$ac_ext <<_ACEOF
39710
39711 /* confdefs.h. */
39712 _ACEOF
39713 cat confdefs.h >>conftest.$ac_ext
39714 cat >>conftest.$ac_ext <<_ACEOF
39715 /* end confdefs.h. */
39716
39717
39718 $ac_includes_default
39719
39720 int
39721 main ()
39722 {
39723
39724 #ifndef $wx_func
39725 &$wx_func;
39726 #endif
39727
39728
39729 ;
39730 return 0;
39731 }
39732
39733 _ACEOF
39734 rm -f conftest.$ac_objext conftest$ac_exeext
39735 if { (ac_try="$ac_link"
39736 case "(($ac_try" in
39737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39738 *) ac_try_echo=$ac_try;;
39739 esac
39740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39741 (eval "$ac_link") 2>conftest.er1
39742 ac_status=$?
39743 grep -v '^ *+' conftest.er1 >conftest.err
39744 rm -f conftest.er1
39745 cat conftest.err >&5
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); } && {
39748 test -z "$ac_c_werror_flag" ||
39749 test ! -s conftest.err
39750 } && test -s conftest$ac_exeext &&
39751 $as_test_x conftest$ac_exeext; then
39752 eval wx_cv_func_$wx_func=yes
39753 else
39754 echo "$as_me: failed program was:" >&5
39755 sed 's/^/| /' conftest.$ac_ext >&5
39756
39757 eval wx_cv_func_$wx_func=no
39758 fi
39759
39760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39761 conftest$ac_exeext conftest.$ac_ext
39762
39763 fi
39764 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39765 { echo "$as_me:$LINENO: result: $ac_res" >&5
39766 echo "${ECHO_T}$ac_res" >&6; }
39767
39768 if eval test \$wx_cv_func_$wx_func = yes
39769 then
39770 cat >>confdefs.h <<_ACEOF
39771 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39772 _ACEOF
39773
39774
39775 else
39776 :
39777
39778 fi
39779 done
39780
39781
39782 if test "$wxUSE_TARSTREAM" = "yes"; then
39783
39784 for wx_func in sysconf
39785 do
39786 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39787 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39788 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39789 echo $ECHO_N "(cached) $ECHO_C" >&6
39790 else
39791
39792 cat >conftest.$ac_ext <<_ACEOF
39793
39794 /* confdefs.h. */
39795 _ACEOF
39796 cat confdefs.h >>conftest.$ac_ext
39797 cat >>conftest.$ac_ext <<_ACEOF
39798 /* end confdefs.h. */
39799
39800
39801 $ac_includes_default
39802
39803 int
39804 main ()
39805 {
39806
39807 #ifndef $wx_func
39808 &$wx_func;
39809 #endif
39810
39811
39812 ;
39813 return 0;
39814 }
39815
39816 _ACEOF
39817 rm -f conftest.$ac_objext conftest$ac_exeext
39818 if { (ac_try="$ac_link"
39819 case "(($ac_try" in
39820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39821 *) ac_try_echo=$ac_try;;
39822 esac
39823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39824 (eval "$ac_link") 2>conftest.er1
39825 ac_status=$?
39826 grep -v '^ *+' conftest.er1 >conftest.err
39827 rm -f conftest.er1
39828 cat conftest.err >&5
39829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39830 (exit $ac_status); } && {
39831 test -z "$ac_c_werror_flag" ||
39832 test ! -s conftest.err
39833 } && test -s conftest$ac_exeext &&
39834 $as_test_x conftest$ac_exeext; then
39835 eval wx_cv_func_$wx_func=yes
39836 else
39837 echo "$as_me: failed program was:" >&5
39838 sed 's/^/| /' conftest.$ac_ext >&5
39839
39840 eval wx_cv_func_$wx_func=no
39841 fi
39842
39843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39844 conftest$ac_exeext conftest.$ac_ext
39845
39846 fi
39847 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39848 { echo "$as_me:$LINENO: result: $ac_res" >&5
39849 echo "${ECHO_T}$ac_res" >&6; }
39850
39851 if eval test \$wx_cv_func_$wx_func = yes
39852 then
39853 cat >>confdefs.h <<_ACEOF
39854 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39855 _ACEOF
39856
39857
39858 else
39859 :
39860
39861 fi
39862 done
39863
39864
39865
39866 for wx_func in getpwuid_r
39867 do
39868 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39869 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39870 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39871 echo $ECHO_N "(cached) $ECHO_C" >&6
39872 else
39873
39874 cat >conftest.$ac_ext <<_ACEOF
39875
39876 /* confdefs.h. */
39877 _ACEOF
39878 cat confdefs.h >>conftest.$ac_ext
39879 cat >>conftest.$ac_ext <<_ACEOF
39880 /* end confdefs.h. */
39881
39882
39883 #define _REENTRANT
39884 #include <pwd.h>
39885
39886 $ac_includes_default
39887
39888 int
39889 main ()
39890 {
39891
39892 #ifndef $wx_func
39893 &$wx_func;
39894 #endif
39895
39896 struct passwd pw, *ppw;
39897 char buf[1024];
39898 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39899
39900
39901 ;
39902 return 0;
39903 }
39904
39905 _ACEOF
39906 rm -f conftest.$ac_objext conftest$ac_exeext
39907 if { (ac_try="$ac_link"
39908 case "(($ac_try" in
39909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39910 *) ac_try_echo=$ac_try;;
39911 esac
39912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39913 (eval "$ac_link") 2>conftest.er1
39914 ac_status=$?
39915 grep -v '^ *+' conftest.er1 >conftest.err
39916 rm -f conftest.er1
39917 cat conftest.err >&5
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); } && {
39920 test -z "$ac_c_werror_flag" ||
39921 test ! -s conftest.err
39922 } && test -s conftest$ac_exeext &&
39923 $as_test_x conftest$ac_exeext; then
39924 eval wx_cv_func_$wx_func=yes
39925 else
39926 echo "$as_me: failed program was:" >&5
39927 sed 's/^/| /' conftest.$ac_ext >&5
39928
39929 eval wx_cv_func_$wx_func=no
39930 fi
39931
39932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39933 conftest$ac_exeext conftest.$ac_ext
39934
39935 fi
39936 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39937 { echo "$as_me:$LINENO: result: $ac_res" >&5
39938 echo "${ECHO_T}$ac_res" >&6; }
39939
39940 if eval test \$wx_cv_func_$wx_func = yes
39941 then
39942 cat >>confdefs.h <<_ACEOF
39943 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39944 _ACEOF
39945
39946
39947 else
39948 :
39949
39950 fi
39951 done
39952
39953
39954
39955 for wx_func in getgrgid_r
39956 do
39957 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39958 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39959 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39960 echo $ECHO_N "(cached) $ECHO_C" >&6
39961 else
39962
39963 cat >conftest.$ac_ext <<_ACEOF
39964
39965 /* confdefs.h. */
39966 _ACEOF
39967 cat confdefs.h >>conftest.$ac_ext
39968 cat >>conftest.$ac_ext <<_ACEOF
39969 /* end confdefs.h. */
39970
39971
39972 #define _REENTRANT
39973 #include <grp.h>
39974
39975 $ac_includes_default
39976
39977 int
39978 main ()
39979 {
39980
39981 #ifndef $wx_func
39982 &$wx_func;
39983 #endif
39984
39985 struct group grp, *pgrp;
39986 char buf[1024];
39987 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39988
39989
39990 ;
39991 return 0;
39992 }
39993
39994 _ACEOF
39995 rm -f conftest.$ac_objext conftest$ac_exeext
39996 if { (ac_try="$ac_link"
39997 case "(($ac_try" in
39998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39999 *) ac_try_echo=$ac_try;;
40000 esac
40001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40002 (eval "$ac_link") 2>conftest.er1
40003 ac_status=$?
40004 grep -v '^ *+' conftest.er1 >conftest.err
40005 rm -f conftest.er1
40006 cat conftest.err >&5
40007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40008 (exit $ac_status); } && {
40009 test -z "$ac_c_werror_flag" ||
40010 test ! -s conftest.err
40011 } && test -s conftest$ac_exeext &&
40012 $as_test_x conftest$ac_exeext; then
40013 eval wx_cv_func_$wx_func=yes
40014 else
40015 echo "$as_me: failed program was:" >&5
40016 sed 's/^/| /' conftest.$ac_ext >&5
40017
40018 eval wx_cv_func_$wx_func=no
40019 fi
40020
40021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40022 conftest$ac_exeext conftest.$ac_ext
40023
40024 fi
40025 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40026 { echo "$as_me:$LINENO: result: $ac_res" >&5
40027 echo "${ECHO_T}$ac_res" >&6; }
40028
40029 if eval test \$wx_cv_func_$wx_func = yes
40030 then
40031 cat >>confdefs.h <<_ACEOF
40032 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40033 _ACEOF
40034
40035
40036 else
40037 :
40038
40039 fi
40040 done
40041
40042 fi
40043
40044 fi
40045
40046
40047
40048 cat >confcache <<\_ACEOF
40049 # This file is a shell script that caches the results of configure
40050 # tests run on this system so they can be shared between configure
40051 # scripts and configure runs, see configure's option --config-cache.
40052 # It is not useful on other systems. If it contains results you don't
40053 # want to keep, you may remove or edit it.
40054 #
40055 # config.status only pays attention to the cache file if you give it
40056 # the --recheck option to rerun configure.
40057 #
40058 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40059 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40060 # following values.
40061
40062 _ACEOF
40063
40064 # The following way of writing the cache mishandles newlines in values,
40065 # but we know of no workaround that is simple, portable, and efficient.
40066 # So, we kill variables containing newlines.
40067 # Ultrix sh set writes to stderr and can't be redirected directly,
40068 # and sets the high bit in the cache file unless we assign to the vars.
40069 (
40070 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40071 eval ac_val=\$$ac_var
40072 case $ac_val in #(
40073 *${as_nl}*)
40074 case $ac_var in #(
40075 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40076 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40077 esac
40078 case $ac_var in #(
40079 _ | IFS | as_nl) ;; #(
40080 *) $as_unset $ac_var ;;
40081 esac ;;
40082 esac
40083 done
40084
40085 (set) 2>&1 |
40086 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40087 *${as_nl}ac_space=\ *)
40088 # `set' does not quote correctly, so add quotes (double-quote
40089 # substitution turns \\\\ into \\, and sed turns \\ into \).
40090 sed -n \
40091 "s/'/'\\\\''/g;
40092 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40093 ;; #(
40094 *)
40095 # `set' quotes correctly as required by POSIX, so do not add quotes.
40096 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40097 ;;
40098 esac |
40099 sort
40100 ) |
40101 sed '
40102 /^ac_cv_env_/b end
40103 t clear
40104 :clear
40105 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40106 t end
40107 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40108 :end' >>confcache
40109 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40110 if test -w "$cache_file"; then
40111 test "x$cache_file" != "x/dev/null" &&
40112 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40113 echo "$as_me: updating cache $cache_file" >&6;}
40114 cat confcache >$cache_file
40115 else
40116 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40117 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40118 fi
40119 fi
40120 rm -f confcache
40121
40122
40123 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40124
40125
40126 THREADS_LINK=
40127 THREADS_CFLAGS=
40128
40129 if test "$wxUSE_THREADS" = "yes" ; then
40130 if test "$USE_BEOS" = 1; then
40131 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40132 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40133 wxUSE_THREADS="no"
40134 fi
40135 fi
40136
40137 if test "$wxUSE_THREADS" = "yes" ; then
40138
40139
40140 THREAD_OPTS="-pthread"
40141 if test "x$SUNCXX" = xyes; then
40142 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40143 fi
40144
40145 case "${host}" in
40146 *-*-solaris2* | *-*-sunos4* )
40147 if test "x$GCC" = "xyes"; then
40148 THREAD_OPTS="-pthreads $THREAD_OPTS"
40149 fi
40150 ;;
40151 *-*-freebsd*)
40152 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40153 ;;
40154 *-*-darwin* | *-*-cygwin* )
40155 THREAD_OPTS=""
40156 ;;
40157 *-*-aix*)
40158 THREAD_OPTS="pthreads"
40159 ;;
40160 *-hp-hpux* )
40161 if test "x$GCC" = "xyes"; then
40162 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40163 THREAD_OPTS=""
40164 else
40165 THREAD_OPTS="-mt"
40166 fi
40167 ;;
40168
40169 *-*-irix* )
40170 if test "x$GCC" = "xyes"; then
40171 THREAD_OPTS=""
40172 fi
40173 ;;
40174
40175 *-*-qnx*)
40176 THREAD_OPTS=""
40177 ;;
40178
40179 *-*-*UnixWare*)
40180 if test "x$GCC" != "xyes"; then
40181 THREAD_OPTS="-Ethread"
40182 fi
40183 ;;
40184 esac
40185
40186 case "${host}" in
40187 *-*-qnx*)
40188 THREAD_OPTS="none pthread"
40189 ;;
40190
40191 *)
40192 THREAD_OPTS="$THREAD_OPTS pthread none"
40193 ;;
40194 esac
40195
40196 THREADS_OK=no
40197 for flag in $THREAD_OPTS; do
40198 case $flag in
40199 none)
40200 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40201 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40202 ;;
40203
40204 -*)
40205 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40206 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40207 THREADS_CFLAGS="$flag"
40208 ;;
40209
40210 *)
40211 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40212 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40213 THREADS_LINK="-l$flag"
40214 ;;
40215 esac
40216
40217 save_LIBS="$LIBS"
40218 save_CFLAGS="$CFLAGS"
40219 LIBS="$THREADS_LINK $LIBS"
40220 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40221
40222 cat >conftest.$ac_ext <<_ACEOF
40223 /* confdefs.h. */
40224 _ACEOF
40225 cat confdefs.h >>conftest.$ac_ext
40226 cat >>conftest.$ac_ext <<_ACEOF
40227 /* end confdefs.h. */
40228 #include <pthread.h>
40229 int
40230 main ()
40231 {
40232 pthread_create(0,0,0,0);
40233 ;
40234 return 0;
40235 }
40236 _ACEOF
40237 rm -f conftest.$ac_objext conftest$ac_exeext
40238 if { (ac_try="$ac_link"
40239 case "(($ac_try" in
40240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40241 *) ac_try_echo=$ac_try;;
40242 esac
40243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40244 (eval "$ac_link") 2>conftest.er1
40245 ac_status=$?
40246 grep -v '^ *+' conftest.er1 >conftest.err
40247 rm -f conftest.er1
40248 cat conftest.err >&5
40249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40250 (exit $ac_status); } && {
40251 test -z "$ac_c_werror_flag" ||
40252 test ! -s conftest.err
40253 } && test -s conftest$ac_exeext &&
40254 $as_test_x conftest$ac_exeext; then
40255 THREADS_OK=yes
40256 else
40257 echo "$as_me: failed program was:" >&5
40258 sed 's/^/| /' conftest.$ac_ext >&5
40259
40260
40261 fi
40262
40263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40264 conftest$ac_exeext conftest.$ac_ext
40265
40266 LIBS="$save_LIBS"
40267 CFLAGS="$save_CFLAGS"
40268
40269 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40270 echo "${ECHO_T}$THREADS_OK" >&6; }
40271 if test "x$THREADS_OK" = "xyes"; then
40272 break;
40273 fi
40274
40275 THREADS_LINK=""
40276 THREADS_CFLAGS=""
40277 done
40278
40279 if test "x$THREADS_OK" != "xyes"; then
40280 wxUSE_THREADS=no
40281 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40282 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40283 else
40284 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40285 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40286 LIBS="$THREADS_LINK $LIBS"
40287
40288 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40289 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40290 flag=no
40291 case "${host}" in
40292 *-aix*)
40293 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40294 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40295 flag="-D_THREAD_SAFE"
40296 ;;
40297 *-freebsd*)
40298 flag="-D_THREAD_SAFE"
40299 ;;
40300 *-hp-hpux* )
40301 flag="-D_REENTRANT"
40302 if test "x$GCC" != "xyes"; then
40303 flag="$flag -D_RWSTD_MULTI_THREAD"
40304 fi
40305 ;;
40306 *solaris* | alpha*-osf*)
40307 flag="-D_REENTRANT"
40308 ;;
40309 esac
40310 { echo "$as_me:$LINENO: result: ${flag}" >&5
40311 echo "${ECHO_T}${flag}" >&6; }
40312 if test "x$flag" != xno; then
40313 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40314 fi
40315
40316 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40317 fi
40318 fi
40319
40320 if test "$wxUSE_THREADS" = "yes" ; then
40321
40322 for ac_func in thr_setconcurrency
40323 do
40324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40328 echo $ECHO_N "(cached) $ECHO_C" >&6
40329 else
40330 cat >conftest.$ac_ext <<_ACEOF
40331 /* confdefs.h. */
40332 _ACEOF
40333 cat confdefs.h >>conftest.$ac_ext
40334 cat >>conftest.$ac_ext <<_ACEOF
40335 /* end confdefs.h. */
40336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40338 #define $ac_func innocuous_$ac_func
40339
40340 /* System header to define __stub macros and hopefully few prototypes,
40341 which can conflict with char $ac_func (); below.
40342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40343 <limits.h> exists even on freestanding compilers. */
40344
40345 #ifdef __STDC__
40346 # include <limits.h>
40347 #else
40348 # include <assert.h>
40349 #endif
40350
40351 #undef $ac_func
40352
40353 /* Override any GCC internal prototype to avoid an error.
40354 Use char because int might match the return type of a GCC
40355 builtin and then its argument prototype would still apply. */
40356 #ifdef __cplusplus
40357 extern "C"
40358 #endif
40359 char $ac_func ();
40360 /* The GNU C library defines this for functions which it implements
40361 to always fail with ENOSYS. Some functions are actually named
40362 something starting with __ and the normal name is an alias. */
40363 #if defined __stub_$ac_func || defined __stub___$ac_func
40364 choke me
40365 #endif
40366
40367 int
40368 main ()
40369 {
40370 return $ac_func ();
40371 ;
40372 return 0;
40373 }
40374 _ACEOF
40375 rm -f conftest.$ac_objext conftest$ac_exeext
40376 if { (ac_try="$ac_link"
40377 case "(($ac_try" in
40378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40379 *) ac_try_echo=$ac_try;;
40380 esac
40381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40382 (eval "$ac_link") 2>conftest.er1
40383 ac_status=$?
40384 grep -v '^ *+' conftest.er1 >conftest.err
40385 rm -f conftest.er1
40386 cat conftest.err >&5
40387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40388 (exit $ac_status); } && {
40389 test -z "$ac_c_werror_flag" ||
40390 test ! -s conftest.err
40391 } && test -s conftest$ac_exeext &&
40392 $as_test_x conftest$ac_exeext; then
40393 eval "$as_ac_var=yes"
40394 else
40395 echo "$as_me: failed program was:" >&5
40396 sed 's/^/| /' conftest.$ac_ext >&5
40397
40398 eval "$as_ac_var=no"
40399 fi
40400
40401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40402 conftest$ac_exeext conftest.$ac_ext
40403 fi
40404 ac_res=`eval echo '${'$as_ac_var'}'`
40405 { echo "$as_me:$LINENO: result: $ac_res" >&5
40406 echo "${ECHO_T}$ac_res" >&6; }
40407 if test `eval echo '${'$as_ac_var'}'` = yes; then
40408 cat >>confdefs.h <<_ACEOF
40409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40410 _ACEOF
40411
40412 fi
40413 done
40414
40415
40416 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40417 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40418 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40419 echo $ECHO_N "(cached) $ECHO_C" >&6
40420 else
40421
40422 ac_ext=cpp
40423 ac_cpp='$CXXCPP $CPPFLAGS'
40424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40427
40428 cat >conftest.$ac_ext <<_ACEOF
40429 /* confdefs.h. */
40430 _ACEOF
40431 cat confdefs.h >>conftest.$ac_ext
40432 cat >>conftest.$ac_ext <<_ACEOF
40433 /* end confdefs.h. */
40434 #include <pthread.h>
40435 void ThreadCleanupFunc(void *p);
40436
40437 int
40438 main ()
40439 {
40440
40441 void *p;
40442 pthread_cleanup_push(ThreadCleanupFunc, p);
40443 pthread_cleanup_pop(0);
40444
40445 ;
40446 return 0;
40447 }
40448 _ACEOF
40449 rm -f conftest.$ac_objext
40450 if { (ac_try="$ac_compile"
40451 case "(($ac_try" in
40452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40453 *) ac_try_echo=$ac_try;;
40454 esac
40455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40456 (eval "$ac_compile") 2>conftest.er1
40457 ac_status=$?
40458 grep -v '^ *+' conftest.er1 >conftest.err
40459 rm -f conftest.er1
40460 cat conftest.err >&5
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); } && {
40463 test -z "$ac_cxx_werror_flag" ||
40464 test ! -s conftest.err
40465 } && test -s conftest.$ac_objext; then
40466
40467 wx_cv_func_pthread_cleanup=yes
40468
40469 else
40470 echo "$as_me: failed program was:" >&5
40471 sed 's/^/| /' conftest.$ac_ext >&5
40472
40473
40474 wx_cv_func_pthread_cleanup=no
40475
40476
40477 fi
40478
40479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40480 ac_ext=c
40481 ac_cpp='$CPP $CPPFLAGS'
40482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40485
40486
40487 fi
40488 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40489 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40490 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40491 cat >>confdefs.h <<\_ACEOF
40492 #define wxHAVE_PTHREAD_CLEANUP 1
40493 _ACEOF
40494
40495 fi
40496
40497
40498 for ac_header in sched.h
40499 do
40500 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40501 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40504 echo $ECHO_N "(cached) $ECHO_C" >&6
40505 else
40506 cat >conftest.$ac_ext <<_ACEOF
40507 /* confdefs.h. */
40508 _ACEOF
40509 cat confdefs.h >>conftest.$ac_ext
40510 cat >>conftest.$ac_ext <<_ACEOF
40511 /* end confdefs.h. */
40512 $ac_includes_default
40513
40514 #include <$ac_header>
40515 _ACEOF
40516 rm -f conftest.$ac_objext
40517 if { (ac_try="$ac_compile"
40518 case "(($ac_try" in
40519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40520 *) ac_try_echo=$ac_try;;
40521 esac
40522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40523 (eval "$ac_compile") 2>conftest.er1
40524 ac_status=$?
40525 grep -v '^ *+' conftest.er1 >conftest.err
40526 rm -f conftest.er1
40527 cat conftest.err >&5
40528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40529 (exit $ac_status); } && {
40530 test -z "$ac_c_werror_flag" ||
40531 test ! -s conftest.err
40532 } && test -s conftest.$ac_objext; then
40533 eval "$as_ac_Header=yes"
40534 else
40535 echo "$as_me: failed program was:" >&5
40536 sed 's/^/| /' conftest.$ac_ext >&5
40537
40538 eval "$as_ac_Header=no"
40539 fi
40540
40541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40542 fi
40543 ac_res=`eval echo '${'$as_ac_Header'}'`
40544 { echo "$as_me:$LINENO: result: $ac_res" >&5
40545 echo "${ECHO_T}$ac_res" >&6; }
40546 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40547 cat >>confdefs.h <<_ACEOF
40548 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40549 _ACEOF
40550
40551 fi
40552
40553 done
40554
40555 if test "$ac_cv_header_sched_h" = "yes"; then
40556 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40557 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40558 if test "${ac_cv_func_sched_yield+set}" = set; then
40559 echo $ECHO_N "(cached) $ECHO_C" >&6
40560 else
40561 cat >conftest.$ac_ext <<_ACEOF
40562 /* confdefs.h. */
40563 _ACEOF
40564 cat confdefs.h >>conftest.$ac_ext
40565 cat >>conftest.$ac_ext <<_ACEOF
40566 /* end confdefs.h. */
40567 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40569 #define sched_yield innocuous_sched_yield
40570
40571 /* System header to define __stub macros and hopefully few prototypes,
40572 which can conflict with char sched_yield (); below.
40573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40574 <limits.h> exists even on freestanding compilers. */
40575
40576 #ifdef __STDC__
40577 # include <limits.h>
40578 #else
40579 # include <assert.h>
40580 #endif
40581
40582 #undef sched_yield
40583
40584 /* Override any GCC internal prototype to avoid an error.
40585 Use char because int might match the return type of a GCC
40586 builtin and then its argument prototype would still apply. */
40587 #ifdef __cplusplus
40588 extern "C"
40589 #endif
40590 char sched_yield ();
40591 /* The GNU C library defines this for functions which it implements
40592 to always fail with ENOSYS. Some functions are actually named
40593 something starting with __ and the normal name is an alias. */
40594 #if defined __stub_sched_yield || defined __stub___sched_yield
40595 choke me
40596 #endif
40597
40598 int
40599 main ()
40600 {
40601 return sched_yield ();
40602 ;
40603 return 0;
40604 }
40605 _ACEOF
40606 rm -f conftest.$ac_objext conftest$ac_exeext
40607 if { (ac_try="$ac_link"
40608 case "(($ac_try" in
40609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40610 *) ac_try_echo=$ac_try;;
40611 esac
40612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40613 (eval "$ac_link") 2>conftest.er1
40614 ac_status=$?
40615 grep -v '^ *+' conftest.er1 >conftest.err
40616 rm -f conftest.er1
40617 cat conftest.err >&5
40618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40619 (exit $ac_status); } && {
40620 test -z "$ac_c_werror_flag" ||
40621 test ! -s conftest.err
40622 } && test -s conftest$ac_exeext &&
40623 $as_test_x conftest$ac_exeext; then
40624 ac_cv_func_sched_yield=yes
40625 else
40626 echo "$as_me: failed program was:" >&5
40627 sed 's/^/| /' conftest.$ac_ext >&5
40628
40629 ac_cv_func_sched_yield=no
40630 fi
40631
40632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40633 conftest$ac_exeext conftest.$ac_ext
40634 fi
40635 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40636 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40637 if test $ac_cv_func_sched_yield = yes; then
40638 cat >>confdefs.h <<\_ACEOF
40639 #define HAVE_SCHED_YIELD 1
40640 _ACEOF
40641
40642 else
40643
40644 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40645 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40646 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40647 echo $ECHO_N "(cached) $ECHO_C" >&6
40648 else
40649 ac_check_lib_save_LIBS=$LIBS
40650 LIBS="-lposix4 $LIBS"
40651 cat >conftest.$ac_ext <<_ACEOF
40652 /* confdefs.h. */
40653 _ACEOF
40654 cat confdefs.h >>conftest.$ac_ext
40655 cat >>conftest.$ac_ext <<_ACEOF
40656 /* end confdefs.h. */
40657
40658 /* Override any GCC internal prototype to avoid an error.
40659 Use char because int might match the return type of a GCC
40660 builtin and then its argument prototype would still apply. */
40661 #ifdef __cplusplus
40662 extern "C"
40663 #endif
40664 char sched_yield ();
40665 int
40666 main ()
40667 {
40668 return sched_yield ();
40669 ;
40670 return 0;
40671 }
40672 _ACEOF
40673 rm -f conftest.$ac_objext conftest$ac_exeext
40674 if { (ac_try="$ac_link"
40675 case "(($ac_try" in
40676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40677 *) ac_try_echo=$ac_try;;
40678 esac
40679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40680 (eval "$ac_link") 2>conftest.er1
40681 ac_status=$?
40682 grep -v '^ *+' conftest.er1 >conftest.err
40683 rm -f conftest.er1
40684 cat conftest.err >&5
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); } && {
40687 test -z "$ac_c_werror_flag" ||
40688 test ! -s conftest.err
40689 } && test -s conftest$ac_exeext &&
40690 $as_test_x conftest$ac_exeext; then
40691 ac_cv_lib_posix4_sched_yield=yes
40692 else
40693 echo "$as_me: failed program was:" >&5
40694 sed 's/^/| /' conftest.$ac_ext >&5
40695
40696 ac_cv_lib_posix4_sched_yield=no
40697 fi
40698
40699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40700 conftest$ac_exeext conftest.$ac_ext
40701 LIBS=$ac_check_lib_save_LIBS
40702 fi
40703 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40704 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40705 if test $ac_cv_lib_posix4_sched_yield = yes; then
40706 cat >>confdefs.h <<\_ACEOF
40707 #define HAVE_SCHED_YIELD 1
40708 _ACEOF
40709 POSIX4_LINK=" -lposix4"
40710 else
40711 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40712 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40713
40714 fi
40715
40716
40717
40718 fi
40719
40720 fi
40721
40722 HAVE_PRIOR_FUNCS=0
40723 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40724 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40725 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40726 echo $ECHO_N "(cached) $ECHO_C" >&6
40727 else
40728 cat >conftest.$ac_ext <<_ACEOF
40729 /* confdefs.h. */
40730 _ACEOF
40731 cat confdefs.h >>conftest.$ac_ext
40732 cat >>conftest.$ac_ext <<_ACEOF
40733 /* end confdefs.h. */
40734 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40736 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40737
40738 /* System header to define __stub macros and hopefully few prototypes,
40739 which can conflict with char pthread_attr_getschedpolicy (); below.
40740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40741 <limits.h> exists even on freestanding compilers. */
40742
40743 #ifdef __STDC__
40744 # include <limits.h>
40745 #else
40746 # include <assert.h>
40747 #endif
40748
40749 #undef pthread_attr_getschedpolicy
40750
40751 /* Override any GCC internal prototype to avoid an error.
40752 Use char because int might match the return type of a GCC
40753 builtin and then its argument prototype would still apply. */
40754 #ifdef __cplusplus
40755 extern "C"
40756 #endif
40757 char pthread_attr_getschedpolicy ();
40758 /* The GNU C library defines this for functions which it implements
40759 to always fail with ENOSYS. Some functions are actually named
40760 something starting with __ and the normal name is an alias. */
40761 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40762 choke me
40763 #endif
40764
40765 int
40766 main ()
40767 {
40768 return pthread_attr_getschedpolicy ();
40769 ;
40770 return 0;
40771 }
40772 _ACEOF
40773 rm -f conftest.$ac_objext conftest$ac_exeext
40774 if { (ac_try="$ac_link"
40775 case "(($ac_try" in
40776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40777 *) ac_try_echo=$ac_try;;
40778 esac
40779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40780 (eval "$ac_link") 2>conftest.er1
40781 ac_status=$?
40782 grep -v '^ *+' conftest.er1 >conftest.err
40783 rm -f conftest.er1
40784 cat conftest.err >&5
40785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40786 (exit $ac_status); } && {
40787 test -z "$ac_c_werror_flag" ||
40788 test ! -s conftest.err
40789 } && test -s conftest$ac_exeext &&
40790 $as_test_x conftest$ac_exeext; then
40791 ac_cv_func_pthread_attr_getschedpolicy=yes
40792 else
40793 echo "$as_me: failed program was:" >&5
40794 sed 's/^/| /' conftest.$ac_ext >&5
40795
40796 ac_cv_func_pthread_attr_getschedpolicy=no
40797 fi
40798
40799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40800 conftest$ac_exeext conftest.$ac_ext
40801 fi
40802 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40803 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40804 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40805 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40806 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40807 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40808 echo $ECHO_N "(cached) $ECHO_C" >&6
40809 else
40810 cat >conftest.$ac_ext <<_ACEOF
40811 /* confdefs.h. */
40812 _ACEOF
40813 cat confdefs.h >>conftest.$ac_ext
40814 cat >>conftest.$ac_ext <<_ACEOF
40815 /* end confdefs.h. */
40816 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40818 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40819
40820 /* System header to define __stub macros and hopefully few prototypes,
40821 which can conflict with char pthread_attr_setschedparam (); below.
40822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40823 <limits.h> exists even on freestanding compilers. */
40824
40825 #ifdef __STDC__
40826 # include <limits.h>
40827 #else
40828 # include <assert.h>
40829 #endif
40830
40831 #undef pthread_attr_setschedparam
40832
40833 /* Override any GCC internal prototype to avoid an error.
40834 Use char because int might match the return type of a GCC
40835 builtin and then its argument prototype would still apply. */
40836 #ifdef __cplusplus
40837 extern "C"
40838 #endif
40839 char pthread_attr_setschedparam ();
40840 /* The GNU C library defines this for functions which it implements
40841 to always fail with ENOSYS. Some functions are actually named
40842 something starting with __ and the normal name is an alias. */
40843 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40844 choke me
40845 #endif
40846
40847 int
40848 main ()
40849 {
40850 return pthread_attr_setschedparam ();
40851 ;
40852 return 0;
40853 }
40854 _ACEOF
40855 rm -f conftest.$ac_objext conftest$ac_exeext
40856 if { (ac_try="$ac_link"
40857 case "(($ac_try" in
40858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40859 *) ac_try_echo=$ac_try;;
40860 esac
40861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40862 (eval "$ac_link") 2>conftest.er1
40863 ac_status=$?
40864 grep -v '^ *+' conftest.er1 >conftest.err
40865 rm -f conftest.er1
40866 cat conftest.err >&5
40867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40868 (exit $ac_status); } && {
40869 test -z "$ac_c_werror_flag" ||
40870 test ! -s conftest.err
40871 } && test -s conftest$ac_exeext &&
40872 $as_test_x conftest$ac_exeext; then
40873 ac_cv_func_pthread_attr_setschedparam=yes
40874 else
40875 echo "$as_me: failed program was:" >&5
40876 sed 's/^/| /' conftest.$ac_ext >&5
40877
40878 ac_cv_func_pthread_attr_setschedparam=no
40879 fi
40880
40881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40882 conftest$ac_exeext conftest.$ac_ext
40883 fi
40884 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40885 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40886 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40887 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40888 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40889 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40890 echo $ECHO_N "(cached) $ECHO_C" >&6
40891 else
40892 cat >conftest.$ac_ext <<_ACEOF
40893 /* confdefs.h. */
40894 _ACEOF
40895 cat confdefs.h >>conftest.$ac_ext
40896 cat >>conftest.$ac_ext <<_ACEOF
40897 /* end confdefs.h. */
40898 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40900 #define sched_get_priority_max innocuous_sched_get_priority_max
40901
40902 /* System header to define __stub macros and hopefully few prototypes,
40903 which can conflict with char sched_get_priority_max (); below.
40904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40905 <limits.h> exists even on freestanding compilers. */
40906
40907 #ifdef __STDC__
40908 # include <limits.h>
40909 #else
40910 # include <assert.h>
40911 #endif
40912
40913 #undef sched_get_priority_max
40914
40915 /* Override any GCC internal prototype to avoid an error.
40916 Use char because int might match the return type of a GCC
40917 builtin and then its argument prototype would still apply. */
40918 #ifdef __cplusplus
40919 extern "C"
40920 #endif
40921 char sched_get_priority_max ();
40922 /* The GNU C library defines this for functions which it implements
40923 to always fail with ENOSYS. Some functions are actually named
40924 something starting with __ and the normal name is an alias. */
40925 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40926 choke me
40927 #endif
40928
40929 int
40930 main ()
40931 {
40932 return sched_get_priority_max ();
40933 ;
40934 return 0;
40935 }
40936 _ACEOF
40937 rm -f conftest.$ac_objext conftest$ac_exeext
40938 if { (ac_try="$ac_link"
40939 case "(($ac_try" in
40940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40941 *) ac_try_echo=$ac_try;;
40942 esac
40943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40944 (eval "$ac_link") 2>conftest.er1
40945 ac_status=$?
40946 grep -v '^ *+' conftest.er1 >conftest.err
40947 rm -f conftest.er1
40948 cat conftest.err >&5
40949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40950 (exit $ac_status); } && {
40951 test -z "$ac_c_werror_flag" ||
40952 test ! -s conftest.err
40953 } && test -s conftest$ac_exeext &&
40954 $as_test_x conftest$ac_exeext; then
40955 ac_cv_func_sched_get_priority_max=yes
40956 else
40957 echo "$as_me: failed program was:" >&5
40958 sed 's/^/| /' conftest.$ac_ext >&5
40959
40960 ac_cv_func_sched_get_priority_max=no
40961 fi
40962
40963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40964 conftest$ac_exeext conftest.$ac_ext
40965 fi
40966 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40967 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40968 if test $ac_cv_func_sched_get_priority_max = yes; then
40969 HAVE_PRIOR_FUNCS=1
40970 else
40971 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40972 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40973 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40974 echo $ECHO_N "(cached) $ECHO_C" >&6
40975 else
40976 ac_check_lib_save_LIBS=$LIBS
40977 LIBS="-lposix4 $LIBS"
40978 cat >conftest.$ac_ext <<_ACEOF
40979 /* confdefs.h. */
40980 _ACEOF
40981 cat confdefs.h >>conftest.$ac_ext
40982 cat >>conftest.$ac_ext <<_ACEOF
40983 /* end confdefs.h. */
40984
40985 /* Override any GCC internal prototype to avoid an error.
40986 Use char because int might match the return type of a GCC
40987 builtin and then its argument prototype would still apply. */
40988 #ifdef __cplusplus
40989 extern "C"
40990 #endif
40991 char sched_get_priority_max ();
40992 int
40993 main ()
40994 {
40995 return sched_get_priority_max ();
40996 ;
40997 return 0;
40998 }
40999 _ACEOF
41000 rm -f conftest.$ac_objext conftest$ac_exeext
41001 if { (ac_try="$ac_link"
41002 case "(($ac_try" in
41003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41004 *) ac_try_echo=$ac_try;;
41005 esac
41006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41007 (eval "$ac_link") 2>conftest.er1
41008 ac_status=$?
41009 grep -v '^ *+' conftest.er1 >conftest.err
41010 rm -f conftest.er1
41011 cat conftest.err >&5
41012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41013 (exit $ac_status); } && {
41014 test -z "$ac_c_werror_flag" ||
41015 test ! -s conftest.err
41016 } && test -s conftest$ac_exeext &&
41017 $as_test_x conftest$ac_exeext; then
41018 ac_cv_lib_posix4_sched_get_priority_max=yes
41019 else
41020 echo "$as_me: failed program was:" >&5
41021 sed 's/^/| /' conftest.$ac_ext >&5
41022
41023 ac_cv_lib_posix4_sched_get_priority_max=no
41024 fi
41025
41026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41027 conftest$ac_exeext conftest.$ac_ext
41028 LIBS=$ac_check_lib_save_LIBS
41029 fi
41030 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41031 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41032 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41033
41034 HAVE_PRIOR_FUNCS=1
41035 POSIX4_LINK=" -lposix4"
41036
41037 fi
41038
41039
41040 fi
41041
41042
41043 fi
41044
41045
41046 fi
41047
41048
41049 if test "$HAVE_PRIOR_FUNCS" = 1; then
41050 cat >>confdefs.h <<\_ACEOF
41051 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41052 _ACEOF
41053
41054 else
41055 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41056 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41057 fi
41058
41059 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41060 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41061 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41062 echo $ECHO_N "(cached) $ECHO_C" >&6
41063 else
41064 cat >conftest.$ac_ext <<_ACEOF
41065 /* confdefs.h. */
41066 _ACEOF
41067 cat confdefs.h >>conftest.$ac_ext
41068 cat >>conftest.$ac_ext <<_ACEOF
41069 /* end confdefs.h. */
41070 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41072 #define pthread_cancel innocuous_pthread_cancel
41073
41074 /* System header to define __stub macros and hopefully few prototypes,
41075 which can conflict with char pthread_cancel (); below.
41076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41077 <limits.h> exists even on freestanding compilers. */
41078
41079 #ifdef __STDC__
41080 # include <limits.h>
41081 #else
41082 # include <assert.h>
41083 #endif
41084
41085 #undef pthread_cancel
41086
41087 /* Override any GCC internal prototype to avoid an error.
41088 Use char because int might match the return type of a GCC
41089 builtin and then its argument prototype would still apply. */
41090 #ifdef __cplusplus
41091 extern "C"
41092 #endif
41093 char pthread_cancel ();
41094 /* The GNU C library defines this for functions which it implements
41095 to always fail with ENOSYS. Some functions are actually named
41096 something starting with __ and the normal name is an alias. */
41097 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41098 choke me
41099 #endif
41100
41101 int
41102 main ()
41103 {
41104 return pthread_cancel ();
41105 ;
41106 return 0;
41107 }
41108 _ACEOF
41109 rm -f conftest.$ac_objext conftest$ac_exeext
41110 if { (ac_try="$ac_link"
41111 case "(($ac_try" in
41112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41113 *) ac_try_echo=$ac_try;;
41114 esac
41115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41116 (eval "$ac_link") 2>conftest.er1
41117 ac_status=$?
41118 grep -v '^ *+' conftest.er1 >conftest.err
41119 rm -f conftest.er1
41120 cat conftest.err >&5
41121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41122 (exit $ac_status); } && {
41123 test -z "$ac_c_werror_flag" ||
41124 test ! -s conftest.err
41125 } && test -s conftest$ac_exeext &&
41126 $as_test_x conftest$ac_exeext; then
41127 ac_cv_func_pthread_cancel=yes
41128 else
41129 echo "$as_me: failed program was:" >&5
41130 sed 's/^/| /' conftest.$ac_ext >&5
41131
41132 ac_cv_func_pthread_cancel=no
41133 fi
41134
41135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41136 conftest$ac_exeext conftest.$ac_ext
41137 fi
41138 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41139 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41140 if test $ac_cv_func_pthread_cancel = yes; then
41141 cat >>confdefs.h <<\_ACEOF
41142 #define HAVE_PTHREAD_CANCEL 1
41143 _ACEOF
41144
41145 else
41146 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41147 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41148 fi
41149
41150
41151 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41152 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41153 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41154 echo $ECHO_N "(cached) $ECHO_C" >&6
41155 else
41156 cat >conftest.$ac_ext <<_ACEOF
41157 /* confdefs.h. */
41158 _ACEOF
41159 cat confdefs.h >>conftest.$ac_ext
41160 cat >>conftest.$ac_ext <<_ACEOF
41161 /* end confdefs.h. */
41162 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41164 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41165
41166 /* System header to define __stub macros and hopefully few prototypes,
41167 which can conflict with char pthread_mutex_timedlock (); below.
41168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41169 <limits.h> exists even on freestanding compilers. */
41170
41171 #ifdef __STDC__
41172 # include <limits.h>
41173 #else
41174 # include <assert.h>
41175 #endif
41176
41177 #undef pthread_mutex_timedlock
41178
41179 /* Override any GCC internal prototype to avoid an error.
41180 Use char because int might match the return type of a GCC
41181 builtin and then its argument prototype would still apply. */
41182 #ifdef __cplusplus
41183 extern "C"
41184 #endif
41185 char pthread_mutex_timedlock ();
41186 /* The GNU C library defines this for functions which it implements
41187 to always fail with ENOSYS. Some functions are actually named
41188 something starting with __ and the normal name is an alias. */
41189 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41190 choke me
41191 #endif
41192
41193 int
41194 main ()
41195 {
41196 return pthread_mutex_timedlock ();
41197 ;
41198 return 0;
41199 }
41200 _ACEOF
41201 rm -f conftest.$ac_objext conftest$ac_exeext
41202 if { (ac_try="$ac_link"
41203 case "(($ac_try" in
41204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41205 *) ac_try_echo=$ac_try;;
41206 esac
41207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41208 (eval "$ac_link") 2>conftest.er1
41209 ac_status=$?
41210 grep -v '^ *+' conftest.er1 >conftest.err
41211 rm -f conftest.er1
41212 cat conftest.err >&5
41213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41214 (exit $ac_status); } && {
41215 test -z "$ac_c_werror_flag" ||
41216 test ! -s conftest.err
41217 } && test -s conftest$ac_exeext &&
41218 $as_test_x conftest$ac_exeext; then
41219 ac_cv_func_pthread_mutex_timedlock=yes
41220 else
41221 echo "$as_me: failed program was:" >&5
41222 sed 's/^/| /' conftest.$ac_ext >&5
41223
41224 ac_cv_func_pthread_mutex_timedlock=no
41225 fi
41226
41227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41228 conftest$ac_exeext conftest.$ac_ext
41229 fi
41230 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41231 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41232 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41233 cat >>confdefs.h <<\_ACEOF
41234 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41235 _ACEOF
41236
41237 else
41238 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41239 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41240 fi
41241
41242
41243 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41244 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41245 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41246 echo $ECHO_N "(cached) $ECHO_C" >&6
41247 else
41248 cat >conftest.$ac_ext <<_ACEOF
41249 /* confdefs.h. */
41250 _ACEOF
41251 cat confdefs.h >>conftest.$ac_ext
41252 cat >>conftest.$ac_ext <<_ACEOF
41253 /* end confdefs.h. */
41254 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41256 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41257
41258 /* System header to define __stub macros and hopefully few prototypes,
41259 which can conflict with char pthread_attr_setstacksize (); below.
41260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41261 <limits.h> exists even on freestanding compilers. */
41262
41263 #ifdef __STDC__
41264 # include <limits.h>
41265 #else
41266 # include <assert.h>
41267 #endif
41268
41269 #undef pthread_attr_setstacksize
41270
41271 /* Override any GCC internal prototype to avoid an error.
41272 Use char because int might match the return type of a GCC
41273 builtin and then its argument prototype would still apply. */
41274 #ifdef __cplusplus
41275 extern "C"
41276 #endif
41277 char pthread_attr_setstacksize ();
41278 /* The GNU C library defines this for functions which it implements
41279 to always fail with ENOSYS. Some functions are actually named
41280 something starting with __ and the normal name is an alias. */
41281 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41282 choke me
41283 #endif
41284
41285 int
41286 main ()
41287 {
41288 return pthread_attr_setstacksize ();
41289 ;
41290 return 0;
41291 }
41292 _ACEOF
41293 rm -f conftest.$ac_objext conftest$ac_exeext
41294 if { (ac_try="$ac_link"
41295 case "(($ac_try" in
41296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41297 *) ac_try_echo=$ac_try;;
41298 esac
41299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41300 (eval "$ac_link") 2>conftest.er1
41301 ac_status=$?
41302 grep -v '^ *+' conftest.er1 >conftest.err
41303 rm -f conftest.er1
41304 cat conftest.err >&5
41305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41306 (exit $ac_status); } && {
41307 test -z "$ac_c_werror_flag" ||
41308 test ! -s conftest.err
41309 } && test -s conftest$ac_exeext &&
41310 $as_test_x conftest$ac_exeext; then
41311 ac_cv_func_pthread_attr_setstacksize=yes
41312 else
41313 echo "$as_me: failed program was:" >&5
41314 sed 's/^/| /' conftest.$ac_ext >&5
41315
41316 ac_cv_func_pthread_attr_setstacksize=no
41317 fi
41318
41319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41320 conftest$ac_exeext conftest.$ac_ext
41321 fi
41322 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41323 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41324 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41325 cat >>confdefs.h <<\_ACEOF
41326 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41327 _ACEOF
41328
41329 fi
41330
41331
41332
41333 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41334 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41335 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41336 echo $ECHO_N "(cached) $ECHO_C" >&6
41337 else
41338
41339 cat >conftest.$ac_ext <<_ACEOF
41340 /* confdefs.h. */
41341 _ACEOF
41342 cat confdefs.h >>conftest.$ac_ext
41343 cat >>conftest.$ac_ext <<_ACEOF
41344 /* end confdefs.h. */
41345 #include <pthread.h>
41346 int
41347 main ()
41348 {
41349
41350 pthread_mutexattr_t attr;
41351 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41352
41353 ;
41354 return 0;
41355 }
41356 _ACEOF
41357 rm -f conftest.$ac_objext
41358 if { (ac_try="$ac_compile"
41359 case "(($ac_try" in
41360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41361 *) ac_try_echo=$ac_try;;
41362 esac
41363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41364 (eval "$ac_compile") 2>conftest.er1
41365 ac_status=$?
41366 grep -v '^ *+' conftest.er1 >conftest.err
41367 rm -f conftest.er1
41368 cat conftest.err >&5
41369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41370 (exit $ac_status); } && {
41371 test -z "$ac_c_werror_flag" ||
41372 test ! -s conftest.err
41373 } && test -s conftest.$ac_objext; then
41374 wx_cv_type_pthread_mutexattr_t=yes
41375 else
41376 echo "$as_me: failed program was:" >&5
41377 sed 's/^/| /' conftest.$ac_ext >&5
41378
41379 wx_cv_type_pthread_mutexattr_t=no
41380
41381 fi
41382
41383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41384
41385 fi
41386 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41387 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41388
41389 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41390 cat >>confdefs.h <<\_ACEOF
41391 #define HAVE_PTHREAD_MUTEXATTR_T 1
41392 _ACEOF
41393
41394
41395 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41396 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41397 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41398 echo $ECHO_N "(cached) $ECHO_C" >&6
41399 else
41400
41401 cat >conftest.$ac_ext <<_ACEOF
41402 /* confdefs.h. */
41403 _ACEOF
41404 cat confdefs.h >>conftest.$ac_ext
41405 cat >>conftest.$ac_ext <<_ACEOF
41406 /* end confdefs.h. */
41407 #include <pthread.h>
41408 int
41409 main ()
41410 {
41411
41412 pthread_mutexattr_t attr;
41413 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41414
41415 ;
41416 return 0;
41417 }
41418 _ACEOF
41419 rm -f conftest.$ac_objext
41420 if { (ac_try="$ac_compile"
41421 case "(($ac_try" in
41422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41423 *) ac_try_echo=$ac_try;;
41424 esac
41425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41426 (eval "$ac_compile") 2>conftest.er1
41427 ac_status=$?
41428 grep -v '^ *+' conftest.er1 >conftest.err
41429 rm -f conftest.er1
41430 cat conftest.err >&5
41431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41432 (exit $ac_status); } && {
41433 test -z "$ac_c_werror_flag" ||
41434 test ! -s conftest.err
41435 } && test -s conftest.$ac_objext; then
41436 wx_cv_func_pthread_mutexattr_settype_decl=yes
41437 else
41438 echo "$as_me: failed program was:" >&5
41439 sed 's/^/| /' conftest.$ac_ext >&5
41440
41441 wx_cv_func_pthread_mutexattr_settype_decl=no
41442
41443 fi
41444
41445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41446
41447 fi
41448 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41449 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41450 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41451 cat >>confdefs.h <<\_ACEOF
41452 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41453 _ACEOF
41454
41455 fi
41456 else
41457 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41458 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41459 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41460 echo $ECHO_N "(cached) $ECHO_C" >&6
41461 else
41462
41463 cat >conftest.$ac_ext <<_ACEOF
41464 /* confdefs.h. */
41465 _ACEOF
41466 cat confdefs.h >>conftest.$ac_ext
41467 cat >>conftest.$ac_ext <<_ACEOF
41468 /* end confdefs.h. */
41469 #include <pthread.h>
41470 int
41471 main ()
41472 {
41473
41474 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41475
41476 ;
41477 return 0;
41478 }
41479 _ACEOF
41480 rm -f conftest.$ac_objext
41481 if { (ac_try="$ac_compile"
41482 case "(($ac_try" in
41483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41484 *) ac_try_echo=$ac_try;;
41485 esac
41486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41487 (eval "$ac_compile") 2>conftest.er1
41488 ac_status=$?
41489 grep -v '^ *+' conftest.er1 >conftest.err
41490 rm -f conftest.er1
41491 cat conftest.err >&5
41492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41493 (exit $ac_status); } && {
41494 test -z "$ac_c_werror_flag" ||
41495 test ! -s conftest.err
41496 } && test -s conftest.$ac_objext; then
41497
41498 wx_cv_type_pthread_rec_mutex_init=yes
41499
41500 else
41501 echo "$as_me: failed program was:" >&5
41502 sed 's/^/| /' conftest.$ac_ext >&5
41503
41504
41505 wx_cv_type_pthread_rec_mutex_init=no
41506
41507
41508 fi
41509
41510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41511
41512 fi
41513 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41514 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41515 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41516 cat >>confdefs.h <<\_ACEOF
41517 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41518 _ACEOF
41519
41520 else
41521 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41522 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41523 fi
41524 fi
41525
41526 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41527 if test "$USE_NETBSD" = 1; then
41528 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41529 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41530 wxUSE_COMPILER_TLS=no
41531 else
41532 wxUSE_COMPILER_TLS=yes
41533 fi
41534 fi
41535
41536 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41537 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41538 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41539 if test "${wx_cv_cc___thread+set}" = set; then
41540 echo $ECHO_N "(cached) $ECHO_C" >&6
41541 else
41542
41543 cat >conftest.$ac_ext <<_ACEOF
41544 /* confdefs.h. */
41545 _ACEOF
41546 cat confdefs.h >>conftest.$ac_ext
41547 cat >>conftest.$ac_ext <<_ACEOF
41548 /* end confdefs.h. */
41549 #include <pthread.h>
41550 int
41551 main ()
41552 {
41553
41554 static __thread int n = 0;
41555 static __thread int *p = 0;
41556
41557 ;
41558 return 0;
41559 }
41560 _ACEOF
41561 rm -f conftest.$ac_objext
41562 if { (ac_try="$ac_compile"
41563 case "(($ac_try" in
41564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41565 *) ac_try_echo=$ac_try;;
41566 esac
41567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41568 (eval "$ac_compile") 2>conftest.er1
41569 ac_status=$?
41570 grep -v '^ *+' conftest.er1 >conftest.err
41571 rm -f conftest.er1
41572 cat conftest.err >&5
41573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574 (exit $ac_status); } && {
41575 test -z "$ac_c_werror_flag" ||
41576 test ! -s conftest.err
41577 } && test -s conftest.$ac_objext; then
41578 wx_cv_cc___thread=yes
41579 else
41580 echo "$as_me: failed program was:" >&5
41581 sed 's/^/| /' conftest.$ac_ext >&5
41582
41583 wx_cv_cc___thread=no
41584
41585 fi
41586
41587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41588
41589
41590 fi
41591 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41592 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41593
41594 if test "$wx_cv_cc___thread" = "yes"; then
41595
41596 GXX_VERSION=""
41597
41598
41599
41600 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41601 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41602
41603 if test "x$GCC" = "xyes" ; then
41604
41605 if test -z "" ; then
41606
41607 ax_gcc_option_test="int main()
41608 {
41609 return 0;
41610 }"
41611
41612 else
41613
41614 ax_gcc_option_test=""
41615
41616 fi
41617
41618
41619 # Dump the test program to file
41620 cat <<EOF > conftest.c
41621 $ax_gcc_option_test
41622 EOF
41623
41624 # Dump back the file to the log, useful for debugging purposes
41625 { ac_try='cat conftest.c 1>&5'
41626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41627 (eval $ac_try) 2>&5
41628 ac_status=$?
41629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41630 (exit $ac_status); }; }
41631
41632 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41634 (eval $ac_try) 2>&5
41635 ac_status=$?
41636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41637 (exit $ac_status); }; } ; then
41638
41639 { echo "$as_me:$LINENO: result: yes" >&5
41640 echo "${ECHO_T}yes" >&6; }
41641
41642 ax_gcc_version_option=yes
41643
41644
41645 else
41646
41647 { echo "$as_me:$LINENO: result: no" >&5
41648 echo "${ECHO_T}no" >&6; }
41649
41650 ax_gcc_version_option=no
41651
41652
41653 fi
41654
41655
41656 else
41657
41658 { echo "$as_me:$LINENO: result: no gcc available" >&5
41659 echo "${ECHO_T}no gcc available" >&6; }
41660
41661 fi
41662
41663
41664 if test "x$GXX" = "xyes"; then
41665
41666 if test "x$ax_gxx_version_option" != "no"; then
41667
41668 { echo "$as_me:$LINENO: checking gxx version" >&5
41669 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41670 if test "${ax_cv_gxx_version+set}" = set; then
41671 echo $ECHO_N "(cached) $ECHO_C" >&6
41672 else
41673
41674 ax_cv_gxx_version="`$CXX -dumpversion`"
41675 if test "x$ax_cv_gxx_version" = "x"; then
41676
41677 ax_cv_gxx_version=""
41678
41679 fi
41680
41681
41682 fi
41683 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41684 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41685 GXX_VERSION=$ax_cv_gxx_version
41686
41687 fi
41688
41689
41690 fi
41691
41692
41693
41694 if test -n "$ax_cv_gxx_version"; then
41695 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41696 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41697 case "$ax_cv_gxx_version" in
41698 1.* | 2.* | 3.* )
41699 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41700 echo "${ECHO_T}no, it's broken" >&6; }
41701 wx_cv_cc___thread=no
41702 ;;
41703 *)
41704 { echo "$as_me:$LINENO: result: yes, it works" >&5
41705 echo "${ECHO_T}yes, it works" >&6; }
41706 ;;
41707 esac
41708 fi
41709 fi
41710
41711 if test "$wx_cv_cc___thread" = "yes"; then
41712 cat >>confdefs.h <<\_ACEOF
41713 #define HAVE___THREAD_KEYWORD 1
41714 _ACEOF
41715
41716 fi
41717 fi
41718 fi
41719
41720 else
41721 if test "$wxUSE_THREADS" = "yes" ; then
41722 case "${host}" in
41723 x86_64-*-mingw32* )
41724 ;;
41725 *-*-mingw32* )
41726 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41727 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41728 if test "${wx_cv_cflags_mthread+set}" = set; then
41729 echo $ECHO_N "(cached) $ECHO_C" >&6
41730 else
41731
41732 CFLAGS_OLD="$CFLAGS"
41733 CFLAGS="-mthreads $CFLAGS"
41734 cat >conftest.$ac_ext <<_ACEOF
41735 /* confdefs.h. */
41736 _ACEOF
41737 cat confdefs.h >>conftest.$ac_ext
41738 cat >>conftest.$ac_ext <<_ACEOF
41739 /* end confdefs.h. */
41740
41741 int
41742 main ()
41743 {
41744
41745 ;
41746 return 0;
41747 }
41748 _ACEOF
41749 rm -f conftest.$ac_objext
41750 if { (ac_try="$ac_compile"
41751 case "(($ac_try" in
41752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41753 *) ac_try_echo=$ac_try;;
41754 esac
41755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41756 (eval "$ac_compile") 2>conftest.er1
41757 ac_status=$?
41758 grep -v '^ *+' conftest.er1 >conftest.err
41759 rm -f conftest.er1
41760 cat conftest.err >&5
41761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41762 (exit $ac_status); } && {
41763 test -z "$ac_c_werror_flag" ||
41764 test ! -s conftest.err
41765 } && test -s conftest.$ac_objext; then
41766 wx_cv_cflags_mthread=yes
41767 else
41768 echo "$as_me: failed program was:" >&5
41769 sed 's/^/| /' conftest.$ac_ext >&5
41770
41771 wx_cv_cflags_mthread=no
41772
41773 fi
41774
41775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41776
41777
41778 fi
41779 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41780 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41781
41782 if test "$wx_cv_cflags_mthread" = "yes"; then
41783 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41784 LDFLAGS="$LDFLAGS -mthreads"
41785 else
41786 CFLAGS="$CFLAGS_OLD"
41787 fi
41788 ;;
41789 *-pc-os2*emx )
41790 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41791 LDFLAGS="$LDFLAGS -Zmt"
41792 ;;
41793 esac
41794 fi
41795 fi
41796
41797 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41798 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41799 if test "${ac_cv_func_localtime_r+set}" = set; then
41800 echo $ECHO_N "(cached) $ECHO_C" >&6
41801 else
41802 cat >conftest.$ac_ext <<_ACEOF
41803 /* confdefs.h. */
41804 _ACEOF
41805 cat confdefs.h >>conftest.$ac_ext
41806 cat >>conftest.$ac_ext <<_ACEOF
41807 /* end confdefs.h. */
41808 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41810 #define localtime_r innocuous_localtime_r
41811
41812 /* System header to define __stub macros and hopefully few prototypes,
41813 which can conflict with char localtime_r (); below.
41814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41815 <limits.h> exists even on freestanding compilers. */
41816
41817 #ifdef __STDC__
41818 # include <limits.h>
41819 #else
41820 # include <assert.h>
41821 #endif
41822
41823 #undef localtime_r
41824
41825 /* Override any GCC internal prototype to avoid an error.
41826 Use char because int might match the return type of a GCC
41827 builtin and then its argument prototype would still apply. */
41828 #ifdef __cplusplus
41829 extern "C"
41830 #endif
41831 char localtime_r ();
41832 /* The GNU C library defines this for functions which it implements
41833 to always fail with ENOSYS. Some functions are actually named
41834 something starting with __ and the normal name is an alias. */
41835 #if defined __stub_localtime_r || defined __stub___localtime_r
41836 choke me
41837 #endif
41838
41839 int
41840 main ()
41841 {
41842 return localtime_r ();
41843 ;
41844 return 0;
41845 }
41846 _ACEOF
41847 rm -f conftest.$ac_objext conftest$ac_exeext
41848 if { (ac_try="$ac_link"
41849 case "(($ac_try" in
41850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41851 *) ac_try_echo=$ac_try;;
41852 esac
41853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41854 (eval "$ac_link") 2>conftest.er1
41855 ac_status=$?
41856 grep -v '^ *+' conftest.er1 >conftest.err
41857 rm -f conftest.er1
41858 cat conftest.err >&5
41859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41860 (exit $ac_status); } && {
41861 test -z "$ac_c_werror_flag" ||
41862 test ! -s conftest.err
41863 } && test -s conftest$ac_exeext &&
41864 $as_test_x conftest$ac_exeext; then
41865 ac_cv_func_localtime_r=yes
41866 else
41867 echo "$as_me: failed program was:" >&5
41868 sed 's/^/| /' conftest.$ac_ext >&5
41869
41870 ac_cv_func_localtime_r=no
41871 fi
41872
41873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41874 conftest$ac_exeext conftest.$ac_ext
41875 fi
41876 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41877 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41878 if test $ac_cv_func_localtime_r = yes; then
41879 cat >>confdefs.h <<\_ACEOF
41880 #define HAVE_LOCALTIME_R 1
41881 _ACEOF
41882
41883 fi
41884
41885 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41886 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41887 if test "${ac_cv_func_gmtime_r+set}" = set; then
41888 echo $ECHO_N "(cached) $ECHO_C" >&6
41889 else
41890 cat >conftest.$ac_ext <<_ACEOF
41891 /* confdefs.h. */
41892 _ACEOF
41893 cat confdefs.h >>conftest.$ac_ext
41894 cat >>conftest.$ac_ext <<_ACEOF
41895 /* end confdefs.h. */
41896 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41898 #define gmtime_r innocuous_gmtime_r
41899
41900 /* System header to define __stub macros and hopefully few prototypes,
41901 which can conflict with char gmtime_r (); below.
41902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41903 <limits.h> exists even on freestanding compilers. */
41904
41905 #ifdef __STDC__
41906 # include <limits.h>
41907 #else
41908 # include <assert.h>
41909 #endif
41910
41911 #undef gmtime_r
41912
41913 /* Override any GCC internal prototype to avoid an error.
41914 Use char because int might match the return type of a GCC
41915 builtin and then its argument prototype would still apply. */
41916 #ifdef __cplusplus
41917 extern "C"
41918 #endif
41919 char gmtime_r ();
41920 /* The GNU C library defines this for functions which it implements
41921 to always fail with ENOSYS. Some functions are actually named
41922 something starting with __ and the normal name is an alias. */
41923 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41924 choke me
41925 #endif
41926
41927 int
41928 main ()
41929 {
41930 return gmtime_r ();
41931 ;
41932 return 0;
41933 }
41934 _ACEOF
41935 rm -f conftest.$ac_objext conftest$ac_exeext
41936 if { (ac_try="$ac_link"
41937 case "(($ac_try" in
41938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41939 *) ac_try_echo=$ac_try;;
41940 esac
41941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41942 (eval "$ac_link") 2>conftest.er1
41943 ac_status=$?
41944 grep -v '^ *+' conftest.er1 >conftest.err
41945 rm -f conftest.er1
41946 cat conftest.err >&5
41947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41948 (exit $ac_status); } && {
41949 test -z "$ac_c_werror_flag" ||
41950 test ! -s conftest.err
41951 } && test -s conftest$ac_exeext &&
41952 $as_test_x conftest$ac_exeext; then
41953 ac_cv_func_gmtime_r=yes
41954 else
41955 echo "$as_me: failed program was:" >&5
41956 sed 's/^/| /' conftest.$ac_ext >&5
41957
41958 ac_cv_func_gmtime_r=no
41959 fi
41960
41961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41962 conftest$ac_exeext conftest.$ac_ext
41963 fi
41964 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41965 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41966 if test $ac_cv_func_gmtime_r = yes; then
41967 cat >>confdefs.h <<\_ACEOF
41968 #define HAVE_GMTIME_R 1
41969 _ACEOF
41970
41971 fi
41972
41973
41974
41975
41976 ac_ext=c
41977 ac_cpp='$CPP $CPPFLAGS'
41978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41981
41982 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41983 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41984
41985 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41986 echo $ECHO_N "(cached) $ECHO_C" >&6
41987 else
41988
41989
41990 ################################################################
41991
41992 ac_cv_func_which_gethostbyname_r=unknown
41993
41994 #
41995 # ONE ARGUMENT (sanity check)
41996 #
41997
41998 # This should fail, as there is no variant of gethostbyname_r() that takes
41999 # a single argument. If it actually compiles, then we can assume that
42000 # netdb.h is not declaring the function, and the compiler is thereby
42001 # assuming an implicit prototype. In which case, we're out of luck.
42002 #
42003 cat >conftest.$ac_ext <<_ACEOF
42004 /* confdefs.h. */
42005 _ACEOF
42006 cat confdefs.h >>conftest.$ac_ext
42007 cat >>conftest.$ac_ext <<_ACEOF
42008 /* end confdefs.h. */
42009 #include <netdb.h>
42010 int
42011 main ()
42012 {
42013
42014 char *name = "www.gnu.org";
42015 (void)gethostbyname_r(name) /* ; */
42016
42017 ;
42018 return 0;
42019 }
42020 _ACEOF
42021 rm -f conftest.$ac_objext
42022 if { (ac_try="$ac_compile"
42023 case "(($ac_try" in
42024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42025 *) ac_try_echo=$ac_try;;
42026 esac
42027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42028 (eval "$ac_compile") 2>conftest.er1
42029 ac_status=$?
42030 grep -v '^ *+' conftest.er1 >conftest.err
42031 rm -f conftest.er1
42032 cat conftest.err >&5
42033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42034 (exit $ac_status); } && {
42035 test -z "$ac_c_werror_flag" ||
42036 test ! -s conftest.err
42037 } && test -s conftest.$ac_objext; then
42038 ac_cv_func_which_gethostbyname_r=no
42039 else
42040 echo "$as_me: failed program was:" >&5
42041 sed 's/^/| /' conftest.$ac_ext >&5
42042
42043
42044 fi
42045
42046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42047
42048 #
42049 # SIX ARGUMENTS
42050 # (e.g. Linux)
42051 #
42052
42053 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42054
42055 cat >conftest.$ac_ext <<_ACEOF
42056 /* confdefs.h. */
42057 _ACEOF
42058 cat confdefs.h >>conftest.$ac_ext
42059 cat >>conftest.$ac_ext <<_ACEOF
42060 /* end confdefs.h. */
42061 #include <netdb.h>
42062 int
42063 main ()
42064 {
42065
42066 char *name = "www.gnu.org";
42067 struct hostent ret, *retp;
42068 char buf[1024];
42069 int buflen = 1024;
42070 int my_h_errno;
42071 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42072
42073 ;
42074 return 0;
42075 }
42076 _ACEOF
42077 rm -f conftest.$ac_objext
42078 if { (ac_try="$ac_compile"
42079 case "(($ac_try" in
42080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42081 *) ac_try_echo=$ac_try;;
42082 esac
42083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42084 (eval "$ac_compile") 2>conftest.er1
42085 ac_status=$?
42086 grep -v '^ *+' conftest.er1 >conftest.err
42087 rm -f conftest.er1
42088 cat conftest.err >&5
42089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42090 (exit $ac_status); } && {
42091 test -z "$ac_c_werror_flag" ||
42092 test ! -s conftest.err
42093 } && test -s conftest.$ac_objext; then
42094 ac_cv_func_which_gethostbyname_r=six
42095 else
42096 echo "$as_me: failed program was:" >&5
42097 sed 's/^/| /' conftest.$ac_ext >&5
42098
42099
42100 fi
42101
42102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42103
42104 fi
42105
42106 #
42107 # FIVE ARGUMENTS
42108 # (e.g. Solaris)
42109 #
42110
42111 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42112
42113 cat >conftest.$ac_ext <<_ACEOF
42114 /* confdefs.h. */
42115 _ACEOF
42116 cat confdefs.h >>conftest.$ac_ext
42117 cat >>conftest.$ac_ext <<_ACEOF
42118 /* end confdefs.h. */
42119 #include <netdb.h>
42120 int
42121 main ()
42122 {
42123
42124 char *name = "www.gnu.org";
42125 struct hostent ret;
42126 char buf[1024];
42127 int buflen = 1024;
42128 int my_h_errno;
42129 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42130
42131 ;
42132 return 0;
42133 }
42134 _ACEOF
42135 rm -f conftest.$ac_objext
42136 if { (ac_try="$ac_compile"
42137 case "(($ac_try" in
42138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42139 *) ac_try_echo=$ac_try;;
42140 esac
42141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42142 (eval "$ac_compile") 2>conftest.er1
42143 ac_status=$?
42144 grep -v '^ *+' conftest.er1 >conftest.err
42145 rm -f conftest.er1
42146 cat conftest.err >&5
42147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42148 (exit $ac_status); } && {
42149 test -z "$ac_c_werror_flag" ||
42150 test ! -s conftest.err
42151 } && test -s conftest.$ac_objext; then
42152 ac_cv_func_which_gethostbyname_r=five
42153 else
42154 echo "$as_me: failed program was:" >&5
42155 sed 's/^/| /' conftest.$ac_ext >&5
42156
42157
42158 fi
42159
42160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42161
42162 fi
42163
42164 #
42165 # THREE ARGUMENTS
42166 # (e.g. AIX, HP-UX, Tru64)
42167 #
42168
42169 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42170
42171 cat >conftest.$ac_ext <<_ACEOF
42172 /* confdefs.h. */
42173 _ACEOF
42174 cat confdefs.h >>conftest.$ac_ext
42175 cat >>conftest.$ac_ext <<_ACEOF
42176 /* end confdefs.h. */
42177 #include <netdb.h>
42178 int
42179 main ()
42180 {
42181
42182 char *name = "www.gnu.org";
42183 struct hostent ret;
42184 struct hostent_data data;
42185 (void)gethostbyname_r(name, &ret, &data) /* ; */
42186
42187 ;
42188 return 0;
42189 }
42190 _ACEOF
42191 rm -f conftest.$ac_objext
42192 if { (ac_try="$ac_compile"
42193 case "(($ac_try" in
42194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42195 *) ac_try_echo=$ac_try;;
42196 esac
42197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42198 (eval "$ac_compile") 2>conftest.er1
42199 ac_status=$?
42200 grep -v '^ *+' conftest.er1 >conftest.err
42201 rm -f conftest.er1
42202 cat conftest.err >&5
42203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42204 (exit $ac_status); } && {
42205 test -z "$ac_c_werror_flag" ||
42206 test ! -s conftest.err
42207 } && test -s conftest.$ac_objext; then
42208 ac_cv_func_which_gethostbyname_r=three
42209 else
42210 echo "$as_me: failed program was:" >&5
42211 sed 's/^/| /' conftest.$ac_ext >&5
42212
42213
42214 fi
42215
42216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42217
42218 fi
42219
42220 ################################################################
42221
42222
42223 fi
42224
42225 case "$ac_cv_func_which_gethostbyname_r" in
42226 three)
42227 { echo "$as_me:$LINENO: result: three" >&5
42228 echo "${ECHO_T}three" >&6; }
42229 cat >>confdefs.h <<\_ACEOF
42230 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42231 _ACEOF
42232
42233 ;;
42234
42235 five)
42236 { echo "$as_me:$LINENO: result: five" >&5
42237 echo "${ECHO_T}five" >&6; }
42238 cat >>confdefs.h <<\_ACEOF
42239 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42240 _ACEOF
42241
42242 ;;
42243
42244 six)
42245 { echo "$as_me:$LINENO: result: six" >&5
42246 echo "${ECHO_T}six" >&6; }
42247 cat >>confdefs.h <<\_ACEOF
42248 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42249 _ACEOF
42250
42251 ;;
42252
42253 no)
42254 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42255 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42256 ;;
42257
42258 unknown)
42259 { echo "$as_me:$LINENO: result: can't tell" >&5
42260 echo "${ECHO_T}can't tell" >&6; }
42261 ;;
42262
42263 *)
42264 { { echo "$as_me:$LINENO: error: internal error" >&5
42265 echo "$as_me: error: internal error" >&2;}
42266 { (exit 1); exit 1; }; }
42267 ;;
42268 esac
42269
42270 ac_ext=c
42271 ac_cpp='$CPP $CPPFLAGS'
42272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42275
42276
42277
42278 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42279 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42280 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42281 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42282 if test "${ac_cv_func_gethostbyname+set}" = set; then
42283 echo $ECHO_N "(cached) $ECHO_C" >&6
42284 else
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 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42293 #define gethostbyname innocuous_gethostbyname
42294
42295 /* System header to define __stub macros and hopefully few prototypes,
42296 which can conflict with char gethostbyname (); below.
42297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42298 <limits.h> exists even on freestanding compilers. */
42299
42300 #ifdef __STDC__
42301 # include <limits.h>
42302 #else
42303 # include <assert.h>
42304 #endif
42305
42306 #undef gethostbyname
42307
42308 /* Override any GCC internal prototype to avoid an error.
42309 Use char because int might match the return type of a GCC
42310 builtin and then its argument prototype would still apply. */
42311 #ifdef __cplusplus
42312 extern "C"
42313 #endif
42314 char gethostbyname ();
42315 /* The GNU C library defines this for functions which it implements
42316 to always fail with ENOSYS. Some functions are actually named
42317 something starting with __ and the normal name is an alias. */
42318 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42319 choke me
42320 #endif
42321
42322 int
42323 main ()
42324 {
42325 return gethostbyname ();
42326 ;
42327 return 0;
42328 }
42329 _ACEOF
42330 rm -f conftest.$ac_objext conftest$ac_exeext
42331 if { (ac_try="$ac_link"
42332 case "(($ac_try" in
42333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42334 *) ac_try_echo=$ac_try;;
42335 esac
42336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42337 (eval "$ac_link") 2>conftest.er1
42338 ac_status=$?
42339 grep -v '^ *+' conftest.er1 >conftest.err
42340 rm -f conftest.er1
42341 cat conftest.err >&5
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); } && {
42344 test -z "$ac_c_werror_flag" ||
42345 test ! -s conftest.err
42346 } && test -s conftest$ac_exeext &&
42347 $as_test_x conftest$ac_exeext; then
42348 ac_cv_func_gethostbyname=yes
42349 else
42350 echo "$as_me: failed program was:" >&5
42351 sed 's/^/| /' conftest.$ac_ext >&5
42352
42353 ac_cv_func_gethostbyname=no
42354 fi
42355
42356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42357 conftest$ac_exeext conftest.$ac_ext
42358 fi
42359 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42360 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42361 if test $ac_cv_func_gethostbyname = yes; then
42362 cat >>confdefs.h <<\_ACEOF
42363 #define HAVE_GETHOSTBYNAME 1
42364 _ACEOF
42365
42366 fi
42367
42368 fi
42369
42370 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42371 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42372 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42373 echo $ECHO_N "(cached) $ECHO_C" >&6
42374 else
42375
42376 ac_ext=cpp
42377 ac_cpp='$CXXCPP $CPPFLAGS'
42378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42381
42382
42383 cat >conftest.$ac_ext <<_ACEOF
42384 /* confdefs.h. */
42385 _ACEOF
42386 cat confdefs.h >>conftest.$ac_ext
42387 cat >>conftest.$ac_ext <<_ACEOF
42388 /* end confdefs.h. */
42389 #include <netdb.h>
42390 int
42391 main ()
42392 {
42393
42394 char *name;
42395 char *proto;
42396 struct servent *se, *res;
42397 char buffer[2048];
42398 int buflen = 2048;
42399 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42400
42401 ;
42402 return 0;
42403 }
42404 _ACEOF
42405 rm -f conftest.$ac_objext
42406 if { (ac_try="$ac_compile"
42407 case "(($ac_try" in
42408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42409 *) ac_try_echo=$ac_try;;
42410 esac
42411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42412 (eval "$ac_compile") 2>conftest.er1
42413 ac_status=$?
42414 grep -v '^ *+' conftest.er1 >conftest.err
42415 rm -f conftest.er1
42416 cat conftest.err >&5
42417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42418 (exit $ac_status); } && {
42419 test -z "$ac_cxx_werror_flag" ||
42420 test ! -s conftest.err
42421 } && test -s conftest.$ac_objext; then
42422 ac_cv_func_which_getservbyname_r=six
42423 else
42424 echo "$as_me: failed program was:" >&5
42425 sed 's/^/| /' conftest.$ac_ext >&5
42426
42427
42428 cat >conftest.$ac_ext <<_ACEOF
42429 /* confdefs.h. */
42430 _ACEOF
42431 cat confdefs.h >>conftest.$ac_ext
42432 cat >>conftest.$ac_ext <<_ACEOF
42433 /* end confdefs.h. */
42434 #include <netdb.h>
42435 int
42436 main ()
42437 {
42438
42439 char *name;
42440 char *proto;
42441 struct servent *se;
42442 char buffer[2048];
42443 int buflen = 2048;
42444 (void) getservbyname_r(name, proto, se, buffer, buflen)
42445
42446 ;
42447 return 0;
42448 }
42449 _ACEOF
42450 rm -f conftest.$ac_objext
42451 if { (ac_try="$ac_compile"
42452 case "(($ac_try" in
42453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42454 *) ac_try_echo=$ac_try;;
42455 esac
42456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42457 (eval "$ac_compile") 2>conftest.er1
42458 ac_status=$?
42459 grep -v '^ *+' conftest.er1 >conftest.err
42460 rm -f conftest.er1
42461 cat conftest.err >&5
42462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42463 (exit $ac_status); } && {
42464 test -z "$ac_cxx_werror_flag" ||
42465 test ! -s conftest.err
42466 } && test -s conftest.$ac_objext; then
42467 ac_cv_func_which_getservbyname_r=five
42468 else
42469 echo "$as_me: failed program was:" >&5
42470 sed 's/^/| /' conftest.$ac_ext >&5
42471
42472
42473 cat >conftest.$ac_ext <<_ACEOF
42474 /* confdefs.h. */
42475 _ACEOF
42476 cat confdefs.h >>conftest.$ac_ext
42477 cat >>conftest.$ac_ext <<_ACEOF
42478 /* end confdefs.h. */
42479 #include <netdb.h>
42480 int
42481 main ()
42482 {
42483
42484 char *name;
42485 char *proto;
42486 struct servent *se;
42487 struct servent_data data;
42488 (void) getservbyname_r(name, proto, se, &data);
42489
42490 ;
42491 return 0;
42492 }
42493 _ACEOF
42494 rm -f conftest.$ac_objext
42495 if { (ac_try="$ac_compile"
42496 case "(($ac_try" in
42497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42498 *) ac_try_echo=$ac_try;;
42499 esac
42500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42501 (eval "$ac_compile") 2>conftest.er1
42502 ac_status=$?
42503 grep -v '^ *+' conftest.er1 >conftest.err
42504 rm -f conftest.er1
42505 cat conftest.err >&5
42506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42507 (exit $ac_status); } && {
42508 test -z "$ac_cxx_werror_flag" ||
42509 test ! -s conftest.err
42510 } && test -s conftest.$ac_objext; then
42511 ac_cv_func_which_getservbyname_r=four
42512 else
42513 echo "$as_me: failed program was:" >&5
42514 sed 's/^/| /' conftest.$ac_ext >&5
42515
42516 ac_cv_func_which_getservbyname_r=no
42517
42518 fi
42519
42520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42521
42522
42523 fi
42524
42525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42526
42527
42528 fi
42529
42530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42531 ac_ext=c
42532 ac_cpp='$CPP $CPPFLAGS'
42533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42536
42537
42538
42539 fi
42540 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42541 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42542
42543 if test $ac_cv_func_which_getservbyname_r = six; then
42544 cat >>confdefs.h <<\_ACEOF
42545 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42546 _ACEOF
42547
42548 elif test $ac_cv_func_which_getservbyname_r = five; then
42549 cat >>confdefs.h <<\_ACEOF
42550 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42551 _ACEOF
42552
42553 elif test $ac_cv_func_which_getservbyname_r = four; then
42554 cat >>confdefs.h <<\_ACEOF
42555 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42556 _ACEOF
42557
42558 fi
42559
42560
42561 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42562 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42563
42564 for ac_func in getservbyname
42565 do
42566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42567 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42569 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42570 echo $ECHO_N "(cached) $ECHO_C" >&6
42571 else
42572 cat >conftest.$ac_ext <<_ACEOF
42573 /* confdefs.h. */
42574 _ACEOF
42575 cat confdefs.h >>conftest.$ac_ext
42576 cat >>conftest.$ac_ext <<_ACEOF
42577 /* end confdefs.h. */
42578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42580 #define $ac_func innocuous_$ac_func
42581
42582 /* System header to define __stub macros and hopefully few prototypes,
42583 which can conflict with char $ac_func (); below.
42584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42585 <limits.h> exists even on freestanding compilers. */
42586
42587 #ifdef __STDC__
42588 # include <limits.h>
42589 #else
42590 # include <assert.h>
42591 #endif
42592
42593 #undef $ac_func
42594
42595 /* Override any GCC internal prototype to avoid an error.
42596 Use char because int might match the return type of a GCC
42597 builtin and then its argument prototype would still apply. */
42598 #ifdef __cplusplus
42599 extern "C"
42600 #endif
42601 char $ac_func ();
42602 /* The GNU C library defines this for functions which it implements
42603 to always fail with ENOSYS. Some functions are actually named
42604 something starting with __ and the normal name is an alias. */
42605 #if defined __stub_$ac_func || defined __stub___$ac_func
42606 choke me
42607 #endif
42608
42609 int
42610 main ()
42611 {
42612 return $ac_func ();
42613 ;
42614 return 0;
42615 }
42616 _ACEOF
42617 rm -f conftest.$ac_objext conftest$ac_exeext
42618 if { (ac_try="$ac_link"
42619 case "(($ac_try" in
42620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42621 *) ac_try_echo=$ac_try;;
42622 esac
42623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42624 (eval "$ac_link") 2>conftest.er1
42625 ac_status=$?
42626 grep -v '^ *+' conftest.er1 >conftest.err
42627 rm -f conftest.er1
42628 cat conftest.err >&5
42629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42630 (exit $ac_status); } && {
42631 test -z "$ac_c_werror_flag" ||
42632 test ! -s conftest.err
42633 } && test -s conftest$ac_exeext &&
42634 $as_test_x conftest$ac_exeext; then
42635 eval "$as_ac_var=yes"
42636 else
42637 echo "$as_me: failed program was:" >&5
42638 sed 's/^/| /' conftest.$ac_ext >&5
42639
42640 eval "$as_ac_var=no"
42641 fi
42642
42643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42644 conftest$ac_exeext conftest.$ac_ext
42645 fi
42646 ac_res=`eval echo '${'$as_ac_var'}'`
42647 { echo "$as_me:$LINENO: result: $ac_res" >&5
42648 echo "${ECHO_T}$ac_res" >&6; }
42649 if test `eval echo '${'$as_ac_var'}'` = yes; then
42650 cat >>confdefs.h <<_ACEOF
42651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42652 _ACEOF
42653 cat >>confdefs.h <<\_ACEOF
42654 #define HAVE_GETSERVBYNAME 1
42655 _ACEOF
42656
42657 fi
42658 done
42659
42660 fi
42661
42662 if test "$wxUSE_THREADS" = "yes"; then
42663 cat >>confdefs.h <<\_ACEOF
42664 #define wxUSE_THREADS 1
42665 _ACEOF
42666
42667
42668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42669 else
42670 if test "$wx_cv_func_strtok_r" = "yes"; then
42671 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42672 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42673 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42674 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42675 { echo "$as_me:$LINENO: result: yes" >&5
42676 echo "${ECHO_T}yes" >&6; }
42677 else
42678 { echo "$as_me:$LINENO: result: no" >&5
42679 echo "${ECHO_T}no" >&6; }
42680 fi
42681 fi
42682 fi
42683
42684 if test "$WXGTK2" = 1 ; then
42685 cat >>confdefs.h <<_ACEOF
42686 #define __WXGTK20__ $WXGTK2
42687 _ACEOF
42688
42689 WXGTK12=1
42690 fi
42691
42692 if test "$WXGTK12" = 1 ; then
42693 cat >>confdefs.h <<_ACEOF
42694 #define __WXGTK12__ $WXGTK12
42695 _ACEOF
42696
42697 fi
42698
42699 if test "$WXGTK127" = 1 ; then
42700 cat >>confdefs.h <<_ACEOF
42701 #define __WXGTK127__ $WXGTK127
42702 _ACEOF
42703
42704 fi
42705
42706 if test "$WXGPE" = 1 ; then
42707 cat >>confdefs.h <<_ACEOF
42708 #define __WXGPE__ $WXGPE
42709 _ACEOF
42710
42711 fi
42712
42713 DEBUG_CFLAGS=
42714 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42715 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42716 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42717 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42718 DEBUG_CFLAGS="-g"
42719 fi
42720
42721 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42722 wxUSE_DEBUG_INFO=yes
42723 if test "$GCC" = yes; then
42724 DEBUG_CFLAGS="-ggdb"
42725 fi
42726 fi
42727
42728 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42729 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42730
42731 if test "$wxUSE_GTK" = 1 ; then
42732 if test "x$wxGTK_VERSION" = "x1" ; then
42733 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42734 fi
42735 fi
42736 fi
42737
42738 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42739 cat >>confdefs.h <<\_ACEOF
42740 #define wxUSE_MEMORY_TRACING 1
42741 _ACEOF
42742
42743 cat >>confdefs.h <<\_ACEOF
42744 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42745 _ACEOF
42746
42747 cat >>confdefs.h <<\_ACEOF
42748 #define wxUSE_DEBUG_NEW_ALWAYS 1
42749 _ACEOF
42750
42751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42752 fi
42753
42754 if test "$wxUSE_DMALLOC" = "yes" ; then
42755 DMALLOC_LIBS="-ldmallocthcxx"
42756 fi
42757
42758 PROFILE_FLAGS=
42759 if test "$wxUSE_PROFILE" = "yes" ; then
42760 PROFILE_FLAGS=" -pg"
42761 fi
42762
42763 if test "$GCC" = "yes" ; then
42764 if test "$wxUSE_NO_RTTI" = "yes" ; then
42765 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42766 fi
42767 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42768 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42769 fi
42770 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42771 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42772 fi
42773
42774 case "${host}" in
42775 powerpc*-*-aix* )
42776 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42777 ;;
42778 *-hppa* )
42779 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42780 ;;
42781 esac
42782 fi
42783
42784 OPTIMISE_CFLAGS=
42785 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42786 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42787 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42788 else
42789 if test "$wxUSE_OPTIMISE" = "no" ; then
42790 if test "$GCC" = yes ; then
42791 OPTIMISE_CFLAGS="-O0"
42792 fi
42793 else
42794 if test "$GCC" = yes ; then
42795 case "${host}" in
42796 *-pc-os2_emx | *-pc-os2-emx )
42797 OPTIMISE_CFLAGS="-O2"
42798 ;;
42799 *)
42800 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42801 ;;
42802 esac
42803 else
42804 OPTIMISE_CFLAGS="-O"
42805 fi
42806 fi
42807 fi
42808
42809
42810 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42811 cat >>confdefs.h <<\_ACEOF
42812 #define WXWIN_COMPATIBILITY_2_6 1
42813 _ACEOF
42814
42815
42816 WXWIN_COMPATIBILITY_2_8="yes"
42817 fi
42818
42819 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42820 cat >>confdefs.h <<\_ACEOF
42821 #define WXWIN_COMPATIBILITY_2_8 1
42822 _ACEOF
42823
42824 fi
42825
42826
42827 if test "$wxUSE_GUI" = "yes"; then
42828 cat >>confdefs.h <<\_ACEOF
42829 #define wxUSE_GUI 1
42830 _ACEOF
42831
42832
42833 fi
42834
42835
42836 if test "$wxUSE_UNIX" = "yes"; then
42837 cat >>confdefs.h <<\_ACEOF
42838 #define wxUSE_UNIX 1
42839 _ACEOF
42840
42841 fi
42842
42843
42844 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42845
42846 HAVE_DL_FUNCS=0
42847 HAVE_SHL_FUNCS=0
42848 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42849 if test "$USE_DOS" = 1; then
42850 HAVE_DL_FUNCS=0
42851 else
42852
42853 for ac_func in dlopen
42854 do
42855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42856 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42858 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42859 echo $ECHO_N "(cached) $ECHO_C" >&6
42860 else
42861 cat >conftest.$ac_ext <<_ACEOF
42862 /* confdefs.h. */
42863 _ACEOF
42864 cat confdefs.h >>conftest.$ac_ext
42865 cat >>conftest.$ac_ext <<_ACEOF
42866 /* end confdefs.h. */
42867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42869 #define $ac_func innocuous_$ac_func
42870
42871 /* System header to define __stub macros and hopefully few prototypes,
42872 which can conflict with char $ac_func (); below.
42873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42874 <limits.h> exists even on freestanding compilers. */
42875
42876 #ifdef __STDC__
42877 # include <limits.h>
42878 #else
42879 # include <assert.h>
42880 #endif
42881
42882 #undef $ac_func
42883
42884 /* Override any GCC internal prototype to avoid an error.
42885 Use char because int might match the return type of a GCC
42886 builtin and then its argument prototype would still apply. */
42887 #ifdef __cplusplus
42888 extern "C"
42889 #endif
42890 char $ac_func ();
42891 /* The GNU C library defines this for functions which it implements
42892 to always fail with ENOSYS. Some functions are actually named
42893 something starting with __ and the normal name is an alias. */
42894 #if defined __stub_$ac_func || defined __stub___$ac_func
42895 choke me
42896 #endif
42897
42898 int
42899 main ()
42900 {
42901 return $ac_func ();
42902 ;
42903 return 0;
42904 }
42905 _ACEOF
42906 rm -f conftest.$ac_objext conftest$ac_exeext
42907 if { (ac_try="$ac_link"
42908 case "(($ac_try" in
42909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42910 *) ac_try_echo=$ac_try;;
42911 esac
42912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42913 (eval "$ac_link") 2>conftest.er1
42914 ac_status=$?
42915 grep -v '^ *+' conftest.er1 >conftest.err
42916 rm -f conftest.er1
42917 cat conftest.err >&5
42918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42919 (exit $ac_status); } && {
42920 test -z "$ac_c_werror_flag" ||
42921 test ! -s conftest.err
42922 } && test -s conftest$ac_exeext &&
42923 $as_test_x conftest$ac_exeext; then
42924 eval "$as_ac_var=yes"
42925 else
42926 echo "$as_me: failed program was:" >&5
42927 sed 's/^/| /' conftest.$ac_ext >&5
42928
42929 eval "$as_ac_var=no"
42930 fi
42931
42932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42933 conftest$ac_exeext conftest.$ac_ext
42934 fi
42935 ac_res=`eval echo '${'$as_ac_var'}'`
42936 { echo "$as_me:$LINENO: result: $ac_res" >&5
42937 echo "${ECHO_T}$ac_res" >&6; }
42938 if test `eval echo '${'$as_ac_var'}'` = yes; then
42939 cat >>confdefs.h <<_ACEOF
42940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42941 _ACEOF
42942
42943 cat >>confdefs.h <<\_ACEOF
42944 #define HAVE_DLOPEN 1
42945 _ACEOF
42946
42947 HAVE_DL_FUNCS=1
42948
42949 else
42950
42951 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42952 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42953 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42954 echo $ECHO_N "(cached) $ECHO_C" >&6
42955 else
42956 ac_check_lib_save_LIBS=$LIBS
42957 LIBS="-ldl $LIBS"
42958 cat >conftest.$ac_ext <<_ACEOF
42959 /* confdefs.h. */
42960 _ACEOF
42961 cat confdefs.h >>conftest.$ac_ext
42962 cat >>conftest.$ac_ext <<_ACEOF
42963 /* end confdefs.h. */
42964
42965 /* Override any GCC internal prototype to avoid an error.
42966 Use char because int might match the return type of a GCC
42967 builtin and then its argument prototype would still apply. */
42968 #ifdef __cplusplus
42969 extern "C"
42970 #endif
42971 char dlopen ();
42972 int
42973 main ()
42974 {
42975 return dlopen ();
42976 ;
42977 return 0;
42978 }
42979 _ACEOF
42980 rm -f conftest.$ac_objext conftest$ac_exeext
42981 if { (ac_try="$ac_link"
42982 case "(($ac_try" in
42983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42984 *) ac_try_echo=$ac_try;;
42985 esac
42986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42987 (eval "$ac_link") 2>conftest.er1
42988 ac_status=$?
42989 grep -v '^ *+' conftest.er1 >conftest.err
42990 rm -f conftest.er1
42991 cat conftest.err >&5
42992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42993 (exit $ac_status); } && {
42994 test -z "$ac_c_werror_flag" ||
42995 test ! -s conftest.err
42996 } && test -s conftest$ac_exeext &&
42997 $as_test_x conftest$ac_exeext; then
42998 ac_cv_lib_dl_dlopen=yes
42999 else
43000 echo "$as_me: failed program was:" >&5
43001 sed 's/^/| /' conftest.$ac_ext >&5
43002
43003 ac_cv_lib_dl_dlopen=no
43004 fi
43005
43006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43007 conftest$ac_exeext conftest.$ac_ext
43008 LIBS=$ac_check_lib_save_LIBS
43009 fi
43010 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43011 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43012 if test $ac_cv_lib_dl_dlopen = yes; then
43013
43014 cat >>confdefs.h <<\_ACEOF
43015 #define HAVE_DLOPEN 1
43016 _ACEOF
43017
43018 HAVE_DL_FUNCS=1
43019 DL_LINK=" -ldl$DL_LINK"
43020
43021 else
43022
43023
43024 for ac_func in shl_load
43025 do
43026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43027 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43029 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43030 echo $ECHO_N "(cached) $ECHO_C" >&6
43031 else
43032 cat >conftest.$ac_ext <<_ACEOF
43033 /* confdefs.h. */
43034 _ACEOF
43035 cat confdefs.h >>conftest.$ac_ext
43036 cat >>conftest.$ac_ext <<_ACEOF
43037 /* end confdefs.h. */
43038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43040 #define $ac_func innocuous_$ac_func
43041
43042 /* System header to define __stub macros and hopefully few prototypes,
43043 which can conflict with char $ac_func (); below.
43044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43045 <limits.h> exists even on freestanding compilers. */
43046
43047 #ifdef __STDC__
43048 # include <limits.h>
43049 #else
43050 # include <assert.h>
43051 #endif
43052
43053 #undef $ac_func
43054
43055 /* Override any GCC internal prototype to avoid an error.
43056 Use char because int might match the return type of a GCC
43057 builtin and then its argument prototype would still apply. */
43058 #ifdef __cplusplus
43059 extern "C"
43060 #endif
43061 char $ac_func ();
43062 /* The GNU C library defines this for functions which it implements
43063 to always fail with ENOSYS. Some functions are actually named
43064 something starting with __ and the normal name is an alias. */
43065 #if defined __stub_$ac_func || defined __stub___$ac_func
43066 choke me
43067 #endif
43068
43069 int
43070 main ()
43071 {
43072 return $ac_func ();
43073 ;
43074 return 0;
43075 }
43076 _ACEOF
43077 rm -f conftest.$ac_objext conftest$ac_exeext
43078 if { (ac_try="$ac_link"
43079 case "(($ac_try" in
43080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43081 *) ac_try_echo=$ac_try;;
43082 esac
43083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43084 (eval "$ac_link") 2>conftest.er1
43085 ac_status=$?
43086 grep -v '^ *+' conftest.er1 >conftest.err
43087 rm -f conftest.er1
43088 cat conftest.err >&5
43089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43090 (exit $ac_status); } && {
43091 test -z "$ac_c_werror_flag" ||
43092 test ! -s conftest.err
43093 } && test -s conftest$ac_exeext &&
43094 $as_test_x conftest$ac_exeext; then
43095 eval "$as_ac_var=yes"
43096 else
43097 echo "$as_me: failed program was:" >&5
43098 sed 's/^/| /' conftest.$ac_ext >&5
43099
43100 eval "$as_ac_var=no"
43101 fi
43102
43103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43104 conftest$ac_exeext conftest.$ac_ext
43105 fi
43106 ac_res=`eval echo '${'$as_ac_var'}'`
43107 { echo "$as_me:$LINENO: result: $ac_res" >&5
43108 echo "${ECHO_T}$ac_res" >&6; }
43109 if test `eval echo '${'$as_ac_var'}'` = yes; then
43110 cat >>confdefs.h <<_ACEOF
43111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43112 _ACEOF
43113
43114 cat >>confdefs.h <<\_ACEOF
43115 #define HAVE_SHL_LOAD 1
43116 _ACEOF
43117
43118 HAVE_SHL_FUNCS=1
43119
43120 else
43121
43122 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43123 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43124 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43125 echo $ECHO_N "(cached) $ECHO_C" >&6
43126 else
43127 ac_check_lib_save_LIBS=$LIBS
43128 LIBS="-lshl_load $LIBS"
43129 cat >conftest.$ac_ext <<_ACEOF
43130 /* confdefs.h. */
43131 _ACEOF
43132 cat confdefs.h >>conftest.$ac_ext
43133 cat >>conftest.$ac_ext <<_ACEOF
43134 /* end confdefs.h. */
43135
43136 /* Override any GCC internal prototype to avoid an error.
43137 Use char because int might match the return type of a GCC
43138 builtin and then its argument prototype would still apply. */
43139 #ifdef __cplusplus
43140 extern "C"
43141 #endif
43142 char dld ();
43143 int
43144 main ()
43145 {
43146 return dld ();
43147 ;
43148 return 0;
43149 }
43150 _ACEOF
43151 rm -f conftest.$ac_objext conftest$ac_exeext
43152 if { (ac_try="$ac_link"
43153 case "(($ac_try" in
43154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43155 *) ac_try_echo=$ac_try;;
43156 esac
43157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43158 (eval "$ac_link") 2>conftest.er1
43159 ac_status=$?
43160 grep -v '^ *+' conftest.er1 >conftest.err
43161 rm -f conftest.er1
43162 cat conftest.err >&5
43163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43164 (exit $ac_status); } && {
43165 test -z "$ac_c_werror_flag" ||
43166 test ! -s conftest.err
43167 } && test -s conftest$ac_exeext &&
43168 $as_test_x conftest$ac_exeext; then
43169 ac_cv_lib_shl_load_dld=yes
43170 else
43171 echo "$as_me: failed program was:" >&5
43172 sed 's/^/| /' conftest.$ac_ext >&5
43173
43174 ac_cv_lib_shl_load_dld=no
43175 fi
43176
43177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43178 conftest$ac_exeext conftest.$ac_ext
43179 LIBS=$ac_check_lib_save_LIBS
43180 fi
43181 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43182 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43183 if test $ac_cv_lib_shl_load_dld = yes; then
43184
43185 HAVE_SHL_FUNCS=1
43186 DL_LINK=" -ldld$DL_LINK"
43187
43188 fi
43189
43190
43191 fi
43192 done
43193
43194
43195 fi
43196
43197
43198 fi
43199 done
43200
43201
43202 if test "$HAVE_DL_FUNCS" = 1; then
43203
43204 for ac_func in dlerror
43205 do
43206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43207 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43209 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43210 echo $ECHO_N "(cached) $ECHO_C" >&6
43211 else
43212 cat >conftest.$ac_ext <<_ACEOF
43213 /* confdefs.h. */
43214 _ACEOF
43215 cat confdefs.h >>conftest.$ac_ext
43216 cat >>conftest.$ac_ext <<_ACEOF
43217 /* end confdefs.h. */
43218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43220 #define $ac_func innocuous_$ac_func
43221
43222 /* System header to define __stub macros and hopefully few prototypes,
43223 which can conflict with char $ac_func (); below.
43224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43225 <limits.h> exists even on freestanding compilers. */
43226
43227 #ifdef __STDC__
43228 # include <limits.h>
43229 #else
43230 # include <assert.h>
43231 #endif
43232
43233 #undef $ac_func
43234
43235 /* Override any GCC internal prototype to avoid an error.
43236 Use char because int might match the return type of a GCC
43237 builtin and then its argument prototype would still apply. */
43238 #ifdef __cplusplus
43239 extern "C"
43240 #endif
43241 char $ac_func ();
43242 /* The GNU C library defines this for functions which it implements
43243 to always fail with ENOSYS. Some functions are actually named
43244 something starting with __ and the normal name is an alias. */
43245 #if defined __stub_$ac_func || defined __stub___$ac_func
43246 choke me
43247 #endif
43248
43249 int
43250 main ()
43251 {
43252 return $ac_func ();
43253 ;
43254 return 0;
43255 }
43256 _ACEOF
43257 rm -f conftest.$ac_objext conftest$ac_exeext
43258 if { (ac_try="$ac_link"
43259 case "(($ac_try" in
43260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43261 *) ac_try_echo=$ac_try;;
43262 esac
43263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43264 (eval "$ac_link") 2>conftest.er1
43265 ac_status=$?
43266 grep -v '^ *+' conftest.er1 >conftest.err
43267 rm -f conftest.er1
43268 cat conftest.err >&5
43269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43270 (exit $ac_status); } && {
43271 test -z "$ac_c_werror_flag" ||
43272 test ! -s conftest.err
43273 } && test -s conftest$ac_exeext &&
43274 $as_test_x conftest$ac_exeext; then
43275 eval "$as_ac_var=yes"
43276 else
43277 echo "$as_me: failed program was:" >&5
43278 sed 's/^/| /' conftest.$ac_ext >&5
43279
43280 eval "$as_ac_var=no"
43281 fi
43282
43283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43284 conftest$ac_exeext conftest.$ac_ext
43285 fi
43286 ac_res=`eval echo '${'$as_ac_var'}'`
43287 { echo "$as_me:$LINENO: result: $ac_res" >&5
43288 echo "${ECHO_T}$ac_res" >&6; }
43289 if test `eval echo '${'$as_ac_var'}'` = yes; then
43290 cat >>confdefs.h <<_ACEOF
43291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43292 _ACEOF
43293 cat >>confdefs.h <<\_ACEOF
43294 #define HAVE_DLERROR 1
43295 _ACEOF
43296
43297 else
43298
43299 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43300 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43301 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43302 echo $ECHO_N "(cached) $ECHO_C" >&6
43303 else
43304 ac_check_lib_save_LIBS=$LIBS
43305 LIBS="-ldl $LIBS"
43306 cat >conftest.$ac_ext <<_ACEOF
43307 /* confdefs.h. */
43308 _ACEOF
43309 cat confdefs.h >>conftest.$ac_ext
43310 cat >>conftest.$ac_ext <<_ACEOF
43311 /* end confdefs.h. */
43312
43313 /* Override any GCC internal prototype to avoid an error.
43314 Use char because int might match the return type of a GCC
43315 builtin and then its argument prototype would still apply. */
43316 #ifdef __cplusplus
43317 extern "C"
43318 #endif
43319 char dlerror ();
43320 int
43321 main ()
43322 {
43323 return dlerror ();
43324 ;
43325 return 0;
43326 }
43327 _ACEOF
43328 rm -f conftest.$ac_objext conftest$ac_exeext
43329 if { (ac_try="$ac_link"
43330 case "(($ac_try" in
43331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43332 *) ac_try_echo=$ac_try;;
43333 esac
43334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43335 (eval "$ac_link") 2>conftest.er1
43336 ac_status=$?
43337 grep -v '^ *+' conftest.er1 >conftest.err
43338 rm -f conftest.er1
43339 cat conftest.err >&5
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); } && {
43342 test -z "$ac_c_werror_flag" ||
43343 test ! -s conftest.err
43344 } && test -s conftest$ac_exeext &&
43345 $as_test_x conftest$ac_exeext; then
43346 ac_cv_lib_dl_dlerror=yes
43347 else
43348 echo "$as_me: failed program was:" >&5
43349 sed 's/^/| /' conftest.$ac_ext >&5
43350
43351 ac_cv_lib_dl_dlerror=no
43352 fi
43353
43354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43355 conftest$ac_exeext conftest.$ac_ext
43356 LIBS=$ac_check_lib_save_LIBS
43357 fi
43358 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43359 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43360 if test $ac_cv_lib_dl_dlerror = yes; then
43361 cat >>confdefs.h <<\_ACEOF
43362 #define HAVE_DLERROR 1
43363 _ACEOF
43364
43365 fi
43366
43367
43368
43369 fi
43370 done
43371
43372 fi
43373 fi
43374
43375 if test "$USE_DARWIN" = 1; then
43376 HAVE_DL_FUNCS=1
43377 fi
43378
43379 if test "$HAVE_DL_FUNCS" = 0; then
43380 if test "$HAVE_SHL_FUNCS" = 0; then
43381 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43382 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43383 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43384 wxUSE_DYNAMIC_LOADER=no
43385 wxUSE_DYNLIB_CLASS=no
43386 else
43387 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43388 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43389 fi
43390 fi
43391 fi
43392 fi
43393 fi
43394
43395 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43396 cat >>confdefs.h <<\_ACEOF
43397 #define wxUSE_DYNAMIC_LOADER 1
43398 _ACEOF
43399
43400 fi
43401 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43402 cat >>confdefs.h <<\_ACEOF
43403 #define wxUSE_DYNLIB_CLASS 1
43404 _ACEOF
43405
43406 fi
43407
43408
43409
43410 if test "$wxUSE_PLUGINS" = "yes" ; then
43411 if test "$wxUSE_SHARED" = "no" ; then
43412 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43413 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43414 wxUSE_PLUGINS=no
43415 fi
43416 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43417 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43418 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43419 wxUSE_PLUGINS=no
43420 fi
43421 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43422 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43423 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43424 wxUSE_PLUGINS=no
43425 fi
43426 if test "$wxUSE_PLUGINS" = "yes" ; then
43427 cat >>confdefs.h <<\_ACEOF
43428 #define wxUSE_PLUGINS 1
43429 _ACEOF
43430
43431 fi
43432 fi
43433
43434
43435 if test "$wxUSE_FSWATCHER" = "yes"; then
43436 if test "$wxUSE_MSW" != "1"; then
43437 if test "$wxUSE_UNIX" = "yes"; then
43438
43439 for ac_header in sys/inotify.h
43440 do
43441 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43442 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43445 echo $ECHO_N "(cached) $ECHO_C" >&6
43446 else
43447 cat >conftest.$ac_ext <<_ACEOF
43448 /* confdefs.h. */
43449 _ACEOF
43450 cat confdefs.h >>conftest.$ac_ext
43451 cat >>conftest.$ac_ext <<_ACEOF
43452 /* end confdefs.h. */
43453 $ac_includes_default
43454
43455 #include <$ac_header>
43456 _ACEOF
43457 rm -f conftest.$ac_objext
43458 if { (ac_try="$ac_compile"
43459 case "(($ac_try" in
43460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43461 *) ac_try_echo=$ac_try;;
43462 esac
43463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43464 (eval "$ac_compile") 2>conftest.er1
43465 ac_status=$?
43466 grep -v '^ *+' conftest.er1 >conftest.err
43467 rm -f conftest.er1
43468 cat conftest.err >&5
43469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43470 (exit $ac_status); } && {
43471 test -z "$ac_c_werror_flag" ||
43472 test ! -s conftest.err
43473 } && test -s conftest.$ac_objext; then
43474 eval "$as_ac_Header=yes"
43475 else
43476 echo "$as_me: failed program was:" >&5
43477 sed 's/^/| /' conftest.$ac_ext >&5
43478
43479 eval "$as_ac_Header=no"
43480 fi
43481
43482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43483 fi
43484 ac_res=`eval echo '${'$as_ac_Header'}'`
43485 { echo "$as_me:$LINENO: result: $ac_res" >&5
43486 echo "${ECHO_T}$ac_res" >&6; }
43487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43488 cat >>confdefs.h <<_ACEOF
43489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43490 _ACEOF
43491
43492 fi
43493
43494 done
43495
43496 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43497 cat >>confdefs.h <<\_ACEOF
43498 #define wxHAS_INOTIFY 1
43499 _ACEOF
43500
43501 else
43502
43503 for ac_header in sys/event.h
43504 do
43505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43506 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43509 echo $ECHO_N "(cached) $ECHO_C" >&6
43510 else
43511 cat >conftest.$ac_ext <<_ACEOF
43512 /* confdefs.h. */
43513 _ACEOF
43514 cat confdefs.h >>conftest.$ac_ext
43515 cat >>conftest.$ac_ext <<_ACEOF
43516 /* end confdefs.h. */
43517 $ac_includes_default
43518
43519 #include <$ac_header>
43520 _ACEOF
43521 rm -f conftest.$ac_objext
43522 if { (ac_try="$ac_compile"
43523 case "(($ac_try" in
43524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43525 *) ac_try_echo=$ac_try;;
43526 esac
43527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43528 (eval "$ac_compile") 2>conftest.er1
43529 ac_status=$?
43530 grep -v '^ *+' conftest.er1 >conftest.err
43531 rm -f conftest.er1
43532 cat conftest.err >&5
43533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43534 (exit $ac_status); } && {
43535 test -z "$ac_c_werror_flag" ||
43536 test ! -s conftest.err
43537 } && test -s conftest.$ac_objext; then
43538 eval "$as_ac_Header=yes"
43539 else
43540 echo "$as_me: failed program was:" >&5
43541 sed 's/^/| /' conftest.$ac_ext >&5
43542
43543 eval "$as_ac_Header=no"
43544 fi
43545
43546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43547 fi
43548 ac_res=`eval echo '${'$as_ac_Header'}'`
43549 { echo "$as_me:$LINENO: result: $ac_res" >&5
43550 echo "${ECHO_T}$ac_res" >&6; }
43551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43552 cat >>confdefs.h <<_ACEOF
43553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43554 _ACEOF
43555
43556 fi
43557
43558 done
43559
43560 if test "$ac_cv_header_sys_event_h" = "yes"; then
43561 cat >>confdefs.h <<\_ACEOF
43562 #define wxHAS_KQUEUE 1
43563 _ACEOF
43564
43565 else
43566 wxUSE_FSWATCHER=no
43567 fi
43568 fi
43569 else
43570 wxUSE_FSWATCHER=no
43571 fi
43572 fi
43573
43574 if test "$wxUSE_FSWATCHER" = "yes"; then
43575 cat >>confdefs.h <<\_ACEOF
43576 #define wxUSE_FSWATCHER 1
43577 _ACEOF
43578
43579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43580 else
43581 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43582 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43583 fi
43584 fi
43585
43586
43587 if test "$wxUSE_STL" = "yes"; then
43588 cat >>confdefs.h <<\_ACEOF
43589 #define wxUSE_STL 1
43590 _ACEOF
43591
43592 fi
43593
43594 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43595 cat >>confdefs.h <<\_ACEOF
43596 #define wxUSE_EXTENDED_RTTI 1
43597 _ACEOF
43598
43599 fi
43600
43601 if test "$wxUSE_ANY" = "yes"; then
43602 cat >>confdefs.h <<\_ACEOF
43603 #define wxUSE_ANY 1
43604 _ACEOF
43605
43606 fi
43607
43608 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43609 cat >>confdefs.h <<\_ACEOF
43610 #define wxUSE_APPLE_IEEE 1
43611 _ACEOF
43612
43613 fi
43614
43615 if test "$wxUSE_TIMER" = "yes"; then
43616 cat >>confdefs.h <<\_ACEOF
43617 #define wxUSE_TIMER 1
43618 _ACEOF
43619
43620 fi
43621
43622 if test "$USE_UNIX" = 1 ; then
43623 if test "$wxUSE_MGL" != 1; then
43624 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43625 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43626 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43627 echo $ECHO_N "(cached) $ECHO_C" >&6
43628 else
43629
43630 cat >conftest.$ac_ext <<_ACEOF
43631 /* confdefs.h. */
43632 _ACEOF
43633 cat confdefs.h >>conftest.$ac_ext
43634 cat >>conftest.$ac_ext <<_ACEOF
43635 /* end confdefs.h. */
43636
43637 #include <sys/ioctl.h>
43638 #include <sys/soundcard.h>
43639
43640 int
43641 main ()
43642 {
43643
43644 ioctl(0, SNDCTL_DSP_SPEED, 0);
43645
43646 ;
43647 return 0;
43648 }
43649 _ACEOF
43650 rm -f conftest.$ac_objext conftest$ac_exeext
43651 if { (ac_try="$ac_link"
43652 case "(($ac_try" in
43653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43654 *) ac_try_echo=$ac_try;;
43655 esac
43656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43657 (eval "$ac_link") 2>conftest.er1
43658 ac_status=$?
43659 grep -v '^ *+' conftest.er1 >conftest.err
43660 rm -f conftest.er1
43661 cat conftest.err >&5
43662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43663 (exit $ac_status); } && {
43664 test -z "$ac_c_werror_flag" ||
43665 test ! -s conftest.err
43666 } && test -s conftest$ac_exeext &&
43667 $as_test_x conftest$ac_exeext; then
43668 ac_cv_header_sys_soundcard=yes
43669 else
43670 echo "$as_me: failed program was:" >&5
43671 sed 's/^/| /' conftest.$ac_ext >&5
43672
43673
43674 saveLibs="$LIBS"
43675 LIBS="$saveLibs -lossaudio"
43676 cat >conftest.$ac_ext <<_ACEOF
43677 /* confdefs.h. */
43678 _ACEOF
43679 cat confdefs.h >>conftest.$ac_ext
43680 cat >>conftest.$ac_ext <<_ACEOF
43681 /* end confdefs.h. */
43682
43683 #include <sys/ioctl.h>
43684 #include <sys/soundcard.h>
43685
43686 int
43687 main ()
43688 {
43689
43690 ioctl(0, SNDCTL_DSP_SPEED, 0);
43691
43692 ;
43693 return 0;
43694 }
43695 _ACEOF
43696 rm -f conftest.$ac_objext conftest$ac_exeext
43697 if { (ac_try="$ac_link"
43698 case "(($ac_try" in
43699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43700 *) ac_try_echo=$ac_try;;
43701 esac
43702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43703 (eval "$ac_link") 2>conftest.er1
43704 ac_status=$?
43705 grep -v '^ *+' conftest.er1 >conftest.err
43706 rm -f conftest.er1
43707 cat conftest.err >&5
43708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43709 (exit $ac_status); } && {
43710 test -z "$ac_c_werror_flag" ||
43711 test ! -s conftest.err
43712 } && test -s conftest$ac_exeext &&
43713 $as_test_x conftest$ac_exeext; then
43714 ac_cv_header_sys_soundcard=yes
43715 else
43716 echo "$as_me: failed program was:" >&5
43717 sed 's/^/| /' conftest.$ac_ext >&5
43718
43719
43720 LIBS="$saveLibs"
43721 ac_cv_header_sys_soundcard=no
43722
43723
43724 fi
43725
43726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43727 conftest$ac_exeext conftest.$ac_ext
43728
43729
43730 fi
43731
43732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43733 conftest$ac_exeext conftest.$ac_ext
43734
43735 fi
43736 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43737 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43738 fi
43739
43740 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43741 cat >>confdefs.h <<\_ACEOF
43742 #define HAVE_SYS_SOUNDCARD_H 1
43743 _ACEOF
43744
43745 fi
43746 fi
43747
43748 WITH_PLUGIN_SDL=0
43749 if test "$wxUSE_SOUND" = "yes"; then
43750 if test "$USE_UNIX" = 1 ; then
43751 if test "$wxUSE_LIBSDL" != "no"; then
43752
43753 # Check whether --with-sdl-prefix was given.
43754 if test "${with_sdl_prefix+set}" = set; then
43755 withval=$with_sdl_prefix; sdl_prefix="$withval"
43756 else
43757 sdl_prefix=""
43758 fi
43759
43760
43761 # Check whether --with-sdl-exec-prefix was given.
43762 if test "${with_sdl_exec_prefix+set}" = set; then
43763 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43764 else
43765 sdl_exec_prefix=""
43766 fi
43767
43768 # Check whether --enable-sdltest was given.
43769 if test "${enable_sdltest+set}" = set; then
43770 enableval=$enable_sdltest;
43771 else
43772 enable_sdltest=yes
43773 fi
43774
43775
43776 if test x$sdl_exec_prefix != x ; then
43777 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43778 if test x${SDL_CONFIG+set} != xset ; then
43779 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43780 fi
43781 fi
43782 if test x$sdl_prefix != x ; then
43783 sdl_args="$sdl_args --prefix=$sdl_prefix"
43784 if test x${SDL_CONFIG+set} != xset ; then
43785 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43786 fi
43787 fi
43788
43789 if test "x$prefix" != xNONE; then
43790 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43791 fi
43792 # Extract the first word of "sdl-config", so it can be a program name with args.
43793 set dummy sdl-config; ac_word=$2
43794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43796 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43797 echo $ECHO_N "(cached) $ECHO_C" >&6
43798 else
43799 case $SDL_CONFIG in
43800 [\\/]* | ?:[\\/]*)
43801 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43802 ;;
43803 *)
43804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43805 for as_dir in $PATH
43806 do
43807 IFS=$as_save_IFS
43808 test -z "$as_dir" && as_dir=.
43809 for ac_exec_ext in '' $ac_executable_extensions; do
43810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43811 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43813 break 2
43814 fi
43815 done
43816 done
43817 IFS=$as_save_IFS
43818
43819 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43820 ;;
43821 esac
43822 fi
43823 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43824 if test -n "$SDL_CONFIG"; then
43825 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43826 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43827 else
43828 { echo "$as_me:$LINENO: result: no" >&5
43829 echo "${ECHO_T}no" >&6; }
43830 fi
43831
43832
43833 min_sdl_version=1.2.0
43834 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43835 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43836 no_sdl=""
43837 if test "$SDL_CONFIG" = "no" ; then
43838 no_sdl=yes
43839 else
43840 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43841 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43842
43843 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43844 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43845 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43846 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43847 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43848 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43849 if test "x$enable_sdltest" = "xyes" ; then
43850 ac_save_CFLAGS="$CFLAGS"
43851 ac_save_CXXFLAGS="$CXXFLAGS"
43852 ac_save_LIBS="$LIBS"
43853 CFLAGS="$CFLAGS $SDL_CFLAGS"
43854 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43855 LIBS="$LIBS $SDL_LIBS"
43856 rm -f conf.sdltest
43857 if test "$cross_compiling" = yes; then
43858 echo $ac_n "cross compiling; assumed OK... $ac_c"
43859 else
43860 cat >conftest.$ac_ext <<_ACEOF
43861 /* confdefs.h. */
43862 _ACEOF
43863 cat confdefs.h >>conftest.$ac_ext
43864 cat >>conftest.$ac_ext <<_ACEOF
43865 /* end confdefs.h. */
43866
43867 #include <stdio.h>
43868 #include <stdlib.h>
43869 #include <string.h>
43870 #include "SDL.h"
43871
43872 char*
43873 my_strdup (char *str)
43874 {
43875 char *new_str;
43876
43877 if (str)
43878 {
43879 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43880 strcpy (new_str, str);
43881 }
43882 else
43883 new_str = NULL;
43884
43885 return new_str;
43886 }
43887
43888 int main (int argc, char *argv[])
43889 {
43890 int major, minor, micro;
43891 char *tmp_version;
43892
43893 /* This hangs on some systems (?)
43894 system ("touch conf.sdltest");
43895 */
43896 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43897
43898 /* HP/UX 9 (%@#!) writes to sscanf strings */
43899 tmp_version = my_strdup("$min_sdl_version");
43900 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43901 printf("%s, bad version string\n", "$min_sdl_version");
43902 exit(1);
43903 }
43904
43905 if (($sdl_major_version > major) ||
43906 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43907 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43908 {
43909 return 0;
43910 }
43911 else
43912 {
43913 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43914 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43915 printf("*** best to upgrade to the required version.\n");
43916 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43917 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43918 printf("*** config.cache before re-running configure\n");
43919 return 1;
43920 }
43921 }
43922
43923
43924 _ACEOF
43925 rm -f conftest$ac_exeext
43926 if { (ac_try="$ac_link"
43927 case "(($ac_try" in
43928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43929 *) ac_try_echo=$ac_try;;
43930 esac
43931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43932 (eval "$ac_link") 2>&5
43933 ac_status=$?
43934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43935 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43936 { (case "(($ac_try" in
43937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43938 *) ac_try_echo=$ac_try;;
43939 esac
43940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43941 (eval "$ac_try") 2>&5
43942 ac_status=$?
43943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43944 (exit $ac_status); }; }; then
43945 :
43946 else
43947 echo "$as_me: program exited with status $ac_status" >&5
43948 echo "$as_me: failed program was:" >&5
43949 sed 's/^/| /' conftest.$ac_ext >&5
43950
43951 ( exit $ac_status )
43952 no_sdl=yes
43953 fi
43954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43955 fi
43956
43957
43958 CFLAGS="$ac_save_CFLAGS"
43959 CXXFLAGS="$ac_save_CXXFLAGS"
43960 LIBS="$ac_save_LIBS"
43961 fi
43962 fi
43963 if test "x$no_sdl" = x ; then
43964 { echo "$as_me:$LINENO: result: yes" >&5
43965 echo "${ECHO_T}yes" >&6; }
43966
43967 EXTRALIBS_SDL="$SDL_LIBS"
43968 CFLAGS="$SDL_CFLAGS $CFLAGS"
43969 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43970 cat >>confdefs.h <<\_ACEOF
43971 #define wxUSE_LIBSDL 1
43972 _ACEOF
43973
43974
43975 else
43976 { echo "$as_me:$LINENO: result: no" >&5
43977 echo "${ECHO_T}no" >&6; }
43978 if test "$SDL_CONFIG" = "no" ; then
43979 echo "*** The sdl-config script installed by SDL could not be found"
43980 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43981 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43982 echo "*** full path to sdl-config."
43983 else
43984 if test -f conf.sdltest ; then
43985 :
43986 else
43987 echo "*** Could not run SDL test program, checking why..."
43988 CFLAGS="$CFLAGS $SDL_CFLAGS"
43989 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43990 LIBS="$LIBS $SDL_LIBS"
43991 cat >conftest.$ac_ext <<_ACEOF
43992 /* confdefs.h. */
43993 _ACEOF
43994 cat confdefs.h >>conftest.$ac_ext
43995 cat >>conftest.$ac_ext <<_ACEOF
43996 /* end confdefs.h. */
43997
43998 #include <stdio.h>
43999 #include "SDL.h"
44000
44001 int main(int argc, char *argv[])
44002 { return 0; }
44003 #undef main
44004 #define main K_and_R_C_main
44005
44006 int
44007 main ()
44008 {
44009 return 0;
44010 ;
44011 return 0;
44012 }
44013 _ACEOF
44014 rm -f conftest.$ac_objext conftest$ac_exeext
44015 if { (ac_try="$ac_link"
44016 case "(($ac_try" in
44017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44018 *) ac_try_echo=$ac_try;;
44019 esac
44020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44021 (eval "$ac_link") 2>conftest.er1
44022 ac_status=$?
44023 grep -v '^ *+' conftest.er1 >conftest.err
44024 rm -f conftest.er1
44025 cat conftest.err >&5
44026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44027 (exit $ac_status); } && {
44028 test -z "$ac_c_werror_flag" ||
44029 test ! -s conftest.err
44030 } && test -s conftest$ac_exeext &&
44031 $as_test_x conftest$ac_exeext; then
44032 echo "*** The test program compiled, but did not run. This usually means"
44033 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44034 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44035 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44036 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44037 echo "*** is required on your system"
44038 echo "***"
44039 echo "*** If you have an old version installed, it is best to remove it, although"
44040 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44041 else
44042 echo "$as_me: failed program was:" >&5
44043 sed 's/^/| /' conftest.$ac_ext >&5
44044
44045 echo "*** The test program failed to compile or link. See the file config.log for the"
44046 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44047 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44048 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44049 fi
44050
44051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44052 conftest$ac_exeext conftest.$ac_ext
44053 CFLAGS="$ac_save_CFLAGS"
44054 CXXFLAGS="$ac_save_CXXFLAGS"
44055 LIBS="$ac_save_LIBS"
44056 fi
44057 fi
44058 SDL_CFLAGS=""
44059 SDL_LIBS=""
44060 wxUSE_LIBSDL="no"
44061 fi
44062
44063
44064 rm -f conf.sdltest
44065
44066 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44067 WITH_PLUGIN_SDL=1
44068 fi
44069 fi
44070 else
44071 if test "$wxUSE_MGL" = 1; then
44072 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44073 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44074 wxUSE_SOUND="no"
44075 fi
44076 fi
44077 fi
44078
44079 if test "$wxUSE_SOUND" = "yes"; then
44080 cat >>confdefs.h <<\_ACEOF
44081 #define wxUSE_SOUND 1
44082 _ACEOF
44083
44084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44085 fi
44086
44087 if test "$WXGTK2" = 1; then
44088
44089
44090 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44091 if test -n "$ac_tool_prefix"; then
44092 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44093 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44096 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44097 echo $ECHO_N "(cached) $ECHO_C" >&6
44098 else
44099 case $PKG_CONFIG in
44100 [\\/]* | ?:[\\/]*)
44101 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44102 ;;
44103 *)
44104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44105 for as_dir in $PATH
44106 do
44107 IFS=$as_save_IFS
44108 test -z "$as_dir" && as_dir=.
44109 for ac_exec_ext in '' $ac_executable_extensions; do
44110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44111 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44113 break 2
44114 fi
44115 done
44116 done
44117 IFS=$as_save_IFS
44118
44119 ;;
44120 esac
44121 fi
44122 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44123 if test -n "$PKG_CONFIG"; then
44124 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44125 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44126 else
44127 { echo "$as_me:$LINENO: result: no" >&5
44128 echo "${ECHO_T}no" >&6; }
44129 fi
44130
44131
44132 fi
44133 if test -z "$ac_cv_path_PKG_CONFIG"; then
44134 ac_pt_PKG_CONFIG=$PKG_CONFIG
44135 # Extract the first word of "pkg-config", so it can be a program name with args.
44136 set dummy pkg-config; ac_word=$2
44137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44139 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44140 echo $ECHO_N "(cached) $ECHO_C" >&6
44141 else
44142 case $ac_pt_PKG_CONFIG in
44143 [\\/]* | ?:[\\/]*)
44144 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44145 ;;
44146 *)
44147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44148 for as_dir in $PATH
44149 do
44150 IFS=$as_save_IFS
44151 test -z "$as_dir" && as_dir=.
44152 for ac_exec_ext in '' $ac_executable_extensions; do
44153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44154 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44156 break 2
44157 fi
44158 done
44159 done
44160 IFS=$as_save_IFS
44161
44162 ;;
44163 esac
44164 fi
44165 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44166 if test -n "$ac_pt_PKG_CONFIG"; then
44167 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44168 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44169 else
44170 { echo "$as_me:$LINENO: result: no" >&5
44171 echo "${ECHO_T}no" >&6; }
44172 fi
44173
44174 if test "x$ac_pt_PKG_CONFIG" = x; then
44175 PKG_CONFIG=""
44176 else
44177 case $cross_compiling:$ac_tool_warned in
44178 yes:)
44179 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44180 whose name does not start with the host triplet. If you think this
44181 configuration is useful to you, please write to autoconf@gnu.org." >&5
44182 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44183 whose name does not start with the host triplet. If you think this
44184 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44185 ac_tool_warned=yes ;;
44186 esac
44187 PKG_CONFIG=$ac_pt_PKG_CONFIG
44188 fi
44189 else
44190 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44191 fi
44192
44193 fi
44194 if test -n "$PKG_CONFIG"; then
44195 _pkg_min_version=0.9.0
44196 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44197 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44198 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44199 { echo "$as_me:$LINENO: result: yes" >&5
44200 echo "${ECHO_T}yes" >&6; }
44201 else
44202 { echo "$as_me:$LINENO: result: no" >&5
44203 echo "${ECHO_T}no" >&6; }
44204 PKG_CONFIG=""
44205 fi
44206
44207 fi
44208
44209 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44210
44211 if test "$wxUSE_GTKPRINT" = "yes" ; then
44212
44213
44214 pkg_failed=no
44215 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44216 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44217
44218 if test -n "$PKG_CONFIG"; then
44219 if test -n "$GTKPRINT_CFLAGS"; then
44220 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44221 else
44222 if test -n "$PKG_CONFIG" && \
44223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44224 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44225 ac_status=$?
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); }; then
44228 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44229 else
44230 pkg_failed=yes
44231 fi
44232 fi
44233 else
44234 pkg_failed=untried
44235 fi
44236 if test -n "$PKG_CONFIG"; then
44237 if test -n "$GTKPRINT_LIBS"; then
44238 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44239 else
44240 if test -n "$PKG_CONFIG" && \
44241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44242 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44243 ac_status=$?
44244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44245 (exit $ac_status); }; then
44246 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44247 else
44248 pkg_failed=yes
44249 fi
44250 fi
44251 else
44252 pkg_failed=untried
44253 fi
44254
44255
44256
44257 if test $pkg_failed = yes; then
44258
44259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44260 _pkg_short_errors_supported=yes
44261 else
44262 _pkg_short_errors_supported=no
44263 fi
44264 if test $_pkg_short_errors_supported = yes; then
44265 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44266 else
44267 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44268 fi
44269 # Put the nasty error message in config.log where it belongs
44270 echo "$GTKPRINT_PKG_ERRORS" >&5
44271
44272
44273 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44274 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44275 wxUSE_GTKPRINT="no"
44276
44277
44278 elif test $pkg_failed = untried; then
44279
44280 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44281 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44282 wxUSE_GTKPRINT="no"
44283
44284
44285 else
44286 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44287 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44288 { echo "$as_me:$LINENO: result: yes" >&5
44289 echo "${ECHO_T}yes" >&6; }
44290
44291 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44292 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44293 cat >>confdefs.h <<\_ACEOF
44294 #define wxUSE_GTKPRINT 1
44295 _ACEOF
44296
44297
44298 fi
44299 fi
44300
44301 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44302
44303
44304 pkg_failed=no
44305 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44306 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44307
44308 if test -n "$PKG_CONFIG"; then
44309 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44310 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44311 else
44312 if test -n "$PKG_CONFIG" && \
44313 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44314 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44315 ac_status=$?
44316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44317 (exit $ac_status); }; then
44318 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44319 else
44320 pkg_failed=yes
44321 fi
44322 fi
44323 else
44324 pkg_failed=untried
44325 fi
44326 if test -n "$PKG_CONFIG"; then
44327 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44328 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44329 else
44330 if test -n "$PKG_CONFIG" && \
44331 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44332 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44333 ac_status=$?
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); }; then
44336 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44337 else
44338 pkg_failed=yes
44339 fi
44340 fi
44341 else
44342 pkg_failed=untried
44343 fi
44344
44345
44346
44347 if test $pkg_failed = yes; then
44348
44349 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44350 _pkg_short_errors_supported=yes
44351 else
44352 _pkg_short_errors_supported=no
44353 fi
44354 if test $_pkg_short_errors_supported = yes; then
44355 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44356 else
44357 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44358 fi
44359 # Put the nasty error message in config.log where it belongs
44360 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44361
44362
44363 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44364 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44365 wxUSE_LIBGNOMEPRINT="no"
44366
44367
44368 elif test $pkg_failed = untried; then
44369
44370 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44371 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44372 wxUSE_LIBGNOMEPRINT="no"
44373
44374
44375 else
44376 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44377 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44378 { echo "$as_me:$LINENO: result: yes" >&5
44379 echo "${ECHO_T}yes" >&6; }
44380
44381 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44382 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44383 cat >>confdefs.h <<\_ACEOF
44384 #define wxUSE_LIBGNOMEPRINT 1
44385 _ACEOF
44386
44387
44388 fi
44389 fi
44390 fi
44391
44392 if test "$wxUSE_MIMETYPE" = "yes" ; then
44393 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44394
44395
44396 pkg_failed=no
44397 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44398 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44399
44400 if test -n "$PKG_CONFIG"; then
44401 if test -n "$GNOMEVFS_CFLAGS"; then
44402 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44403 else
44404 if test -n "$PKG_CONFIG" && \
44405 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44406 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44407 ac_status=$?
44408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44409 (exit $ac_status); }; then
44410 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44411 else
44412 pkg_failed=yes
44413 fi
44414 fi
44415 else
44416 pkg_failed=untried
44417 fi
44418 if test -n "$PKG_CONFIG"; then
44419 if test -n "$GNOMEVFS_LIBS"; then
44420 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44421 else
44422 if test -n "$PKG_CONFIG" && \
44423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44424 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44425 ac_status=$?
44426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44427 (exit $ac_status); }; then
44428 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44429 else
44430 pkg_failed=yes
44431 fi
44432 fi
44433 else
44434 pkg_failed=untried
44435 fi
44436
44437
44438
44439 if test $pkg_failed = yes; then
44440
44441 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44442 _pkg_short_errors_supported=yes
44443 else
44444 _pkg_short_errors_supported=no
44445 fi
44446 if test $_pkg_short_errors_supported = yes; then
44447 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44448 else
44449 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44450 fi
44451 # Put the nasty error message in config.log where it belongs
44452 echo "$GNOMEVFS_PKG_ERRORS" >&5
44453
44454
44455 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44456 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44457 wxUSE_LIBGNOMEVFS="no"
44458
44459
44460 elif test $pkg_failed = untried; then
44461
44462 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44463 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44464 wxUSE_LIBGNOMEVFS="no"
44465
44466
44467 else
44468 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44469 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44470 { echo "$as_me:$LINENO: result: yes" >&5
44471 echo "${ECHO_T}yes" >&6; }
44472
44473 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44474 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44475 cat >>confdefs.h <<\_ACEOF
44476 #define wxUSE_LIBGNOMEVFS 1
44477 _ACEOF
44478
44479
44480 fi
44481 fi
44482 fi
44483
44484 if test "$wxUSE_LIBHILDON" = "yes" ; then
44485
44486 pkg_failed=no
44487 { echo "$as_me:$LINENO: checking for HILDON" >&5
44488 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44489
44490 if test -n "$PKG_CONFIG"; then
44491 if test -n "$HILDON_CFLAGS"; then
44492 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44493 else
44494 if test -n "$PKG_CONFIG" && \
44495 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44496 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44497 ac_status=$?
44498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44499 (exit $ac_status); }; then
44500 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44501 else
44502 pkg_failed=yes
44503 fi
44504 fi
44505 else
44506 pkg_failed=untried
44507 fi
44508 if test -n "$PKG_CONFIG"; then
44509 if test -n "$HILDON_LIBS"; then
44510 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44511 else
44512 if test -n "$PKG_CONFIG" && \
44513 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44514 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44515 ac_status=$?
44516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44517 (exit $ac_status); }; then
44518 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44519 else
44520 pkg_failed=yes
44521 fi
44522 fi
44523 else
44524 pkg_failed=untried
44525 fi
44526
44527
44528
44529 if test $pkg_failed = yes; then
44530
44531 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44532 _pkg_short_errors_supported=yes
44533 else
44534 _pkg_short_errors_supported=no
44535 fi
44536 if test $_pkg_short_errors_supported = yes; then
44537 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44538 else
44539 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44540 fi
44541 # Put the nasty error message in config.log where it belongs
44542 echo "$HILDON_PKG_ERRORS" >&5
44543
44544
44545 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44546 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44547 wxUSE_LIBHILDON="no"
44548 ac_hildon_lgpl=0
44549
44550
44551 elif test $pkg_failed = untried; then
44552
44553 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44554 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44555 wxUSE_LIBHILDON="no"
44556 ac_hildon_lgpl=0
44557
44558
44559 else
44560 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44561 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44562 { echo "$as_me:$LINENO: result: yes" >&5
44563 echo "${ECHO_T}yes" >&6; }
44564
44565 EXTRALIBS_HILDON="$HILDON_LIBS"
44566 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44567 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44568 cat >>confdefs.h <<\_ACEOF
44569 #define wxUSE_LIBHILDON 1
44570 _ACEOF
44571
44572 ac_hildon_lgpl=1
44573
44574 fi
44575
44576 if test "$ac_hildon_lgpl" = 0 ; then
44577
44578 pkg_failed=no
44579 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44580 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44581
44582 if test -n "$PKG_CONFIG"; then
44583 if test -n "$HILDON2_CFLAGS"; then
44584 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44585 else
44586 if test -n "$PKG_CONFIG" && \
44587 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44588 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44589 ac_status=$?
44590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44591 (exit $ac_status); }; then
44592 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44593 else
44594 pkg_failed=yes
44595 fi
44596 fi
44597 else
44598 pkg_failed=untried
44599 fi
44600 if test -n "$PKG_CONFIG"; then
44601 if test -n "$HILDON2_LIBS"; then
44602 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44603 else
44604 if test -n "$PKG_CONFIG" && \
44605 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44606 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44607 ac_status=$?
44608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44609 (exit $ac_status); }; then
44610 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44611 else
44612 pkg_failed=yes
44613 fi
44614 fi
44615 else
44616 pkg_failed=untried
44617 fi
44618
44619
44620
44621 if test $pkg_failed = yes; then
44622
44623 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44624 _pkg_short_errors_supported=yes
44625 else
44626 _pkg_short_errors_supported=no
44627 fi
44628 if test $_pkg_short_errors_supported = yes; then
44629 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44630 else
44631 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44632 fi
44633 # Put the nasty error message in config.log where it belongs
44634 echo "$HILDON2_PKG_ERRORS" >&5
44635
44636
44637 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44638 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44639 wxUSE_LIBHILDON2="no"
44640
44641
44642 elif test $pkg_failed = untried; then
44643
44644 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44645 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44646 wxUSE_LIBHILDON2="no"
44647
44648
44649 else
44650 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44651 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44652 { echo "$as_me:$LINENO: result: yes" >&5
44653 echo "${ECHO_T}yes" >&6; }
44654
44655 EXTRALIBS_HILDON="$HILDON2_LIBS"
44656 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44657 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44658 cat >>confdefs.h <<\_ACEOF
44659 #define wxUSE_LIBHILDON2 1
44660 _ACEOF
44661
44662
44663 fi
44664 fi
44665 fi
44666 fi
44667
44668 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44669 cat >>confdefs.h <<\_ACEOF
44670 #define wxUSE_CMDLINE_PARSER 1
44671 _ACEOF
44672
44673 fi
44674
44675 if test "$wxUSE_STOPWATCH" = "yes"; then
44676 cat >>confdefs.h <<\_ACEOF
44677 #define wxUSE_STOPWATCH 1
44678 _ACEOF
44679
44680 fi
44681
44682 if test "$wxUSE_DATETIME" = "yes"; then
44683 cat >>confdefs.h <<\_ACEOF
44684 #define wxUSE_DATETIME 1
44685 _ACEOF
44686
44687 fi
44688
44689 if test "$wxUSE_FILE" = "yes"; then
44690 cat >>confdefs.h <<\_ACEOF
44691 #define wxUSE_FILE 1
44692 _ACEOF
44693
44694 fi
44695
44696 if test "$wxUSE_FFILE" = "yes"; then
44697 cat >>confdefs.h <<\_ACEOF
44698 #define wxUSE_FFILE 1
44699 _ACEOF
44700
44701 fi
44702
44703 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44704 if test "$wxUSE_STREAMS" != yes; then
44705 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44706 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44707 wxUSE_ARCHIVE_STREAMS=no
44708 else
44709 cat >>confdefs.h <<\_ACEOF
44710 #define wxUSE_ARCHIVE_STREAMS 1
44711 _ACEOF
44712
44713 fi
44714 fi
44715
44716 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44717 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44718 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44719 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44720 elif test "$wxUSE_ZLIB" = "no"; then
44721 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44722 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44723 else
44724 cat >>confdefs.h <<\_ACEOF
44725 #define wxUSE_ZIPSTREAM 1
44726 _ACEOF
44727
44728 fi
44729 fi
44730
44731 if test "$wxUSE_TARSTREAM" = "yes"; then
44732 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44733 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44734 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44735 else
44736 cat >>confdefs.h <<\_ACEOF
44737 #define wxUSE_TARSTREAM 1
44738 _ACEOF
44739
44740 fi
44741 fi
44742
44743 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44744 cat >>confdefs.h <<\_ACEOF
44745 #define wxUSE_FILE_HISTORY 1
44746 _ACEOF
44747
44748 fi
44749
44750 if test "$wxUSE_FILESYSTEM" = "yes"; then
44751 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44752 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44753 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44754 wxUSE_FILESYSTEM=no
44755 else
44756 cat >>confdefs.h <<\_ACEOF
44757 #define wxUSE_FILESYSTEM 1
44758 _ACEOF
44759
44760 fi
44761 fi
44762
44763 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44764 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44765 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44766 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44767 else
44768 cat >>confdefs.h <<\_ACEOF
44769 #define wxUSE_FS_ARCHIVE 1
44770 _ACEOF
44771
44772 fi
44773 fi
44774
44775 if test "$wxUSE_FS_ZIP" = "yes"; then
44776 if test "$wxUSE_FS_ARCHIVE" != yes; then
44777 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44778 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44779 else
44780 cat >>confdefs.h <<\_ACEOF
44781 #define wxUSE_FS_ZIP 1
44782 _ACEOF
44783
44784 fi
44785 fi
44786
44787 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44788 if test "$USE_UNIX" != 1; then
44789 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44790 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44791 wxUSE_ON_FATAL_EXCEPTION=no
44792 else
44793 cat >>confdefs.h <<\_ACEOF
44794 #define wxUSE_ON_FATAL_EXCEPTION 1
44795 _ACEOF
44796
44797 fi
44798 fi
44799
44800 if test "$wxUSE_STACKWALKER" = "yes"; then
44801 cat >>confdefs.h <<\_ACEOF
44802 #define wxUSE_STACKWALKER 1
44803 _ACEOF
44804
44805 fi
44806
44807 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44808 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44809 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44810 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44811 wxUSE_DEBUGREPORT=no
44812 else
44813 cat >>confdefs.h <<\_ACEOF
44814 #define wxUSE_DEBUGREPORT 1
44815 _ACEOF
44816
44817 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44819 fi
44820 fi
44821 fi
44822
44823 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_SNGLINST_CHECKER 1
44826 _ACEOF
44827
44828 fi
44829
44830 if test "$wxUSE_BUSYINFO" = "yes"; then
44831 cat >>confdefs.h <<\_ACEOF
44832 #define wxUSE_BUSYINFO 1
44833 _ACEOF
44834
44835 fi
44836
44837 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44838 cat >>confdefs.h <<\_ACEOF
44839 #define wxUSE_STD_IOSTREAM 1
44840 _ACEOF
44841
44842 fi
44843
44844 if test "$wxUSE_STD_STRING" = "yes"; then
44845 cat >>confdefs.h <<\_ACEOF
44846 #define wxUSE_STD_STRING 1
44847 _ACEOF
44848
44849 fi
44850
44851 if test "$wxUSE_STDPATHS" = "yes"; then
44852 cat >>confdefs.h <<\_ACEOF
44853 #define wxUSE_STDPATHS 1
44854 _ACEOF
44855
44856 fi
44857
44858 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44859 cat >>confdefs.h <<\_ACEOF
44860 #define wxUSE_TEXTBUFFER 1
44861 _ACEOF
44862
44863 fi
44864
44865 if test "$wxUSE_TEXTFILE" = "yes"; then
44866 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44867 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44868 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44869 else
44870 cat >>confdefs.h <<\_ACEOF
44871 #define wxUSE_TEXTFILE 1
44872 _ACEOF
44873
44874 fi
44875 fi
44876
44877 if test "$wxUSE_CONFIG" = "yes" ; then
44878 if test "$wxUSE_TEXTFILE" != "yes"; then
44879 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44880 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44881 else
44882 cat >>confdefs.h <<\_ACEOF
44883 #define wxUSE_CONFIG 1
44884 _ACEOF
44885
44886 cat >>confdefs.h <<\_ACEOF
44887 #define wxUSE_CONFIG_NATIVE 1
44888 _ACEOF
44889
44890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44891 fi
44892 fi
44893
44894 if test "$wxUSE_INTL" = "yes" ; then
44895 if test "$wxUSE_FILE" != "yes"; then
44896 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44897 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44898 else
44899 cat >>confdefs.h <<\_ACEOF
44900 #define wxUSE_INTL 1
44901 _ACEOF
44902
44903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44904 GUIDIST="$GUIDIST INTL_DIST"
44905 fi
44906 fi
44907
44908 if test "$wxUSE_XLOCALE" = "yes" ; then
44909 cat >>confdefs.h <<\_ACEOF
44910 #define wxUSE_XLOCALE 1
44911 _ACEOF
44912
44913 { echo "$as_me:$LINENO: checking for locale_t" >&5
44914 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44915 if test "${ac_cv_type_locale_t+set}" = set; then
44916 echo $ECHO_N "(cached) $ECHO_C" >&6
44917 else
44918 cat >conftest.$ac_ext <<_ACEOF
44919 /* confdefs.h. */
44920 _ACEOF
44921 cat confdefs.h >>conftest.$ac_ext
44922 cat >>conftest.$ac_ext <<_ACEOF
44923 /* end confdefs.h. */
44924 #include <xlocale.h>
44925 #include <locale.h>
44926
44927 typedef locale_t ac__type_new_;
44928 int
44929 main ()
44930 {
44931 if ((ac__type_new_ *) 0)
44932 return 0;
44933 if (sizeof (ac__type_new_))
44934 return 0;
44935 ;
44936 return 0;
44937 }
44938 _ACEOF
44939 rm -f conftest.$ac_objext
44940 if { (ac_try="$ac_compile"
44941 case "(($ac_try" in
44942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44943 *) ac_try_echo=$ac_try;;
44944 esac
44945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44946 (eval "$ac_compile") 2>conftest.er1
44947 ac_status=$?
44948 grep -v '^ *+' conftest.er1 >conftest.err
44949 rm -f conftest.er1
44950 cat conftest.err >&5
44951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44952 (exit $ac_status); } && {
44953 test -z "$ac_c_werror_flag" ||
44954 test ! -s conftest.err
44955 } && test -s conftest.$ac_objext; then
44956 ac_cv_type_locale_t=yes
44957 else
44958 echo "$as_me: failed program was:" >&5
44959 sed 's/^/| /' conftest.$ac_ext >&5
44960
44961 ac_cv_type_locale_t=no
44962 fi
44963
44964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44965 fi
44966 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44967 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44968 if test $ac_cv_type_locale_t = yes; then
44969
44970 cat >>confdefs.h <<_ACEOF
44971 #define HAVE_LOCALE_T 1
44972 _ACEOF
44973
44974
44975 fi
44976
44977 fi
44978
44979 if test "$wxUSE_LOG" = "yes"; then
44980 cat >>confdefs.h <<\_ACEOF
44981 #define wxUSE_LOG 1
44982 _ACEOF
44983
44984
44985 if test "$wxUSE_LOGGUI" = "yes"; then
44986 cat >>confdefs.h <<\_ACEOF
44987 #define wxUSE_LOGGUI 1
44988 _ACEOF
44989
44990 fi
44991
44992 if test "$wxUSE_LOGWINDOW" = "yes"; then
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_LOGWINDOW 1
44995 _ACEOF
44996
44997 fi
44998
44999 if test "$wxUSE_LOGDIALOG" = "yes"; then
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_LOG_DIALOG 1
45002 _ACEOF
45003
45004 fi
45005
45006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45007 fi
45008
45009 if test "$wxUSE_LONGLONG" = "yes"; then
45010 cat >>confdefs.h <<\_ACEOF
45011 #define wxUSE_LONGLONG 1
45012 _ACEOF
45013
45014 fi
45015
45016 if test "$wxUSE_GEOMETRY" = "yes"; then
45017 cat >>confdefs.h <<\_ACEOF
45018 #define wxUSE_GEOMETRY 1
45019 _ACEOF
45020
45021 fi
45022
45023 if test "$wxUSE_BASE64" = "yes"; then
45024 cat >>confdefs.h <<\_ACEOF
45025 #define wxUSE_BASE64 1
45026 _ACEOF
45027
45028 fi
45029
45030 if test "$wxUSE_STREAMS" = "yes" ; then
45031 cat >>confdefs.h <<\_ACEOF
45032 #define wxUSE_STREAMS 1
45033 _ACEOF
45034
45035 fi
45036
45037 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45038 cat >>confdefs.h <<\_ACEOF
45039 #define wxUSE_PRINTF_POS_PARAMS 1
45040 _ACEOF
45041
45042 fi
45043
45044 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45045 cat >>confdefs.h <<\_ACEOF
45046 #define wxUSE_OBJC_UNIQUIFYING 1
45047 _ACEOF
45048
45049 fi
45050
45051
45052 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45053 cat >>confdefs.h <<\_ACEOF
45054 #define wxUSE_CONSOLE_EVENTLOOP 1
45055 _ACEOF
45056
45057
45058 if test "$wxUSE_UNIX" = "yes"; then
45059 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45060 cat >>confdefs.h <<\_ACEOF
45061 #define wxUSE_SELECT_DISPATCHER 1
45062 _ACEOF
45063
45064 fi
45065
45066 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45067
45068 for ac_header in sys/epoll.h
45069 do
45070 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45071 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45073 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45074 echo $ECHO_N "(cached) $ECHO_C" >&6
45075 else
45076 cat >conftest.$ac_ext <<_ACEOF
45077 /* confdefs.h. */
45078 _ACEOF
45079 cat confdefs.h >>conftest.$ac_ext
45080 cat >>conftest.$ac_ext <<_ACEOF
45081 /* end confdefs.h. */
45082 $ac_includes_default
45083
45084 #include <$ac_header>
45085 _ACEOF
45086 rm -f conftest.$ac_objext
45087 if { (ac_try="$ac_compile"
45088 case "(($ac_try" in
45089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45090 *) ac_try_echo=$ac_try;;
45091 esac
45092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45093 (eval "$ac_compile") 2>conftest.er1
45094 ac_status=$?
45095 grep -v '^ *+' conftest.er1 >conftest.err
45096 rm -f conftest.er1
45097 cat conftest.err >&5
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); } && {
45100 test -z "$ac_c_werror_flag" ||
45101 test ! -s conftest.err
45102 } && test -s conftest.$ac_objext; then
45103 eval "$as_ac_Header=yes"
45104 else
45105 echo "$as_me: failed program was:" >&5
45106 sed 's/^/| /' conftest.$ac_ext >&5
45107
45108 eval "$as_ac_Header=no"
45109 fi
45110
45111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45112 fi
45113 ac_res=`eval echo '${'$as_ac_Header'}'`
45114 { echo "$as_me:$LINENO: result: $ac_res" >&5
45115 echo "${ECHO_T}$ac_res" >&6; }
45116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45117 cat >>confdefs.h <<_ACEOF
45118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45119 _ACEOF
45120
45121 fi
45122
45123 done
45124
45125 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45126 cat >>confdefs.h <<\_ACEOF
45127 #define wxUSE_EPOLL_DISPATCHER 1
45128 _ACEOF
45129
45130 else
45131 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45132 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45133 fi
45134 fi
45135 fi
45136 fi
45137
45138
45139
45140
45141 for ac_func in gettimeofday ftime
45142 do
45143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45144 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45146 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45147 echo $ECHO_N "(cached) $ECHO_C" >&6
45148 else
45149 cat >conftest.$ac_ext <<_ACEOF
45150 /* confdefs.h. */
45151 _ACEOF
45152 cat confdefs.h >>conftest.$ac_ext
45153 cat >>conftest.$ac_ext <<_ACEOF
45154 /* end confdefs.h. */
45155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45157 #define $ac_func innocuous_$ac_func
45158
45159 /* System header to define __stub macros and hopefully few prototypes,
45160 which can conflict with char $ac_func (); below.
45161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45162 <limits.h> exists even on freestanding compilers. */
45163
45164 #ifdef __STDC__
45165 # include <limits.h>
45166 #else
45167 # include <assert.h>
45168 #endif
45169
45170 #undef $ac_func
45171
45172 /* Override any GCC internal prototype to avoid an error.
45173 Use char because int might match the return type of a GCC
45174 builtin and then its argument prototype would still apply. */
45175 #ifdef __cplusplus
45176 extern "C"
45177 #endif
45178 char $ac_func ();
45179 /* The GNU C library defines this for functions which it implements
45180 to always fail with ENOSYS. Some functions are actually named
45181 something starting with __ and the normal name is an alias. */
45182 #if defined __stub_$ac_func || defined __stub___$ac_func
45183 choke me
45184 #endif
45185
45186 int
45187 main ()
45188 {
45189 return $ac_func ();
45190 ;
45191 return 0;
45192 }
45193 _ACEOF
45194 rm -f conftest.$ac_objext conftest$ac_exeext
45195 if { (ac_try="$ac_link"
45196 case "(($ac_try" in
45197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45198 *) ac_try_echo=$ac_try;;
45199 esac
45200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45201 (eval "$ac_link") 2>conftest.er1
45202 ac_status=$?
45203 grep -v '^ *+' conftest.er1 >conftest.err
45204 rm -f conftest.er1
45205 cat conftest.err >&5
45206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45207 (exit $ac_status); } && {
45208 test -z "$ac_c_werror_flag" ||
45209 test ! -s conftest.err
45210 } && test -s conftest$ac_exeext &&
45211 $as_test_x conftest$ac_exeext; then
45212 eval "$as_ac_var=yes"
45213 else
45214 echo "$as_me: failed program was:" >&5
45215 sed 's/^/| /' conftest.$ac_ext >&5
45216
45217 eval "$as_ac_var=no"
45218 fi
45219
45220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45221 conftest$ac_exeext conftest.$ac_ext
45222 fi
45223 ac_res=`eval echo '${'$as_ac_var'}'`
45224 { echo "$as_me:$LINENO: result: $ac_res" >&5
45225 echo "${ECHO_T}$ac_res" >&6; }
45226 if test `eval echo '${'$as_ac_var'}'` = yes; then
45227 cat >>confdefs.h <<_ACEOF
45228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45229 _ACEOF
45230 break
45231 fi
45232 done
45233
45234
45235 if test "$ac_cv_func_gettimeofday" = "yes"; then
45236 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45237 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45238 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45239 echo $ECHO_N "(cached) $ECHO_C" >&6
45240 else
45241
45242 cat >conftest.$ac_ext <<_ACEOF
45243 /* confdefs.h. */
45244 _ACEOF
45245 cat confdefs.h >>conftest.$ac_ext
45246 cat >>conftest.$ac_ext <<_ACEOF
45247 /* end confdefs.h. */
45248
45249 #include <sys/time.h>
45250 #include <unistd.h>
45251
45252 int
45253 main ()
45254 {
45255
45256 struct timeval tv;
45257 gettimeofday(&tv, NULL);
45258
45259 ;
45260 return 0;
45261 }
45262 _ACEOF
45263 rm -f conftest.$ac_objext
45264 if { (ac_try="$ac_compile"
45265 case "(($ac_try" in
45266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45267 *) ac_try_echo=$ac_try;;
45268 esac
45269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45270 (eval "$ac_compile") 2>conftest.er1
45271 ac_status=$?
45272 grep -v '^ *+' conftest.er1 >conftest.err
45273 rm -f conftest.er1
45274 cat conftest.err >&5
45275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45276 (exit $ac_status); } && {
45277 test -z "$ac_c_werror_flag" ||
45278 test ! -s conftest.err
45279 } && test -s conftest.$ac_objext; then
45280 wx_cv_func_gettimeofday_has_2_args=yes
45281 else
45282 echo "$as_me: failed program was:" >&5
45283 sed 's/^/| /' conftest.$ac_ext >&5
45284
45285 cat >conftest.$ac_ext <<_ACEOF
45286 /* confdefs.h. */
45287 _ACEOF
45288 cat confdefs.h >>conftest.$ac_ext
45289 cat >>conftest.$ac_ext <<_ACEOF
45290 /* end confdefs.h. */
45291
45292 #include <sys/time.h>
45293 #include <unistd.h>
45294
45295 int
45296 main ()
45297 {
45298
45299 struct timeval tv;
45300 gettimeofday(&tv);
45301
45302 ;
45303 return 0;
45304 }
45305 _ACEOF
45306 rm -f conftest.$ac_objext
45307 if { (ac_try="$ac_compile"
45308 case "(($ac_try" in
45309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45310 *) ac_try_echo=$ac_try;;
45311 esac
45312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45313 (eval "$ac_compile") 2>conftest.er1
45314 ac_status=$?
45315 grep -v '^ *+' conftest.er1 >conftest.err
45316 rm -f conftest.er1
45317 cat conftest.err >&5
45318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45319 (exit $ac_status); } && {
45320 test -z "$ac_c_werror_flag" ||
45321 test ! -s conftest.err
45322 } && test -s conftest.$ac_objext; then
45323 wx_cv_func_gettimeofday_has_2_args=no
45324 else
45325 echo "$as_me: failed program was:" >&5
45326 sed 's/^/| /' conftest.$ac_ext >&5
45327
45328
45329 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45330 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45331 wx_cv_func_gettimeofday_has_2_args=unknown
45332
45333
45334 fi
45335
45336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45337
45338 fi
45339
45340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45341
45342 fi
45343 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45344 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45345
45346 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45347 cat >>confdefs.h <<\_ACEOF
45348 #define WX_GETTIMEOFDAY_NO_TZ 1
45349 _ACEOF
45350
45351 fi
45352 fi
45353
45354 if test "$wxUSE_DATETIME" = "yes"; then
45355 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45356 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45357 if test "${wx_cv_var_timezone+set}" = set; then
45358 echo $ECHO_N "(cached) $ECHO_C" >&6
45359 else
45360
45361 ac_ext=cpp
45362 ac_cpp='$CXXCPP $CPPFLAGS'
45363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45366
45367 cat >conftest.$ac_ext <<_ACEOF
45368 /* confdefs.h. */
45369 _ACEOF
45370 cat confdefs.h >>conftest.$ac_ext
45371 cat >>conftest.$ac_ext <<_ACEOF
45372 /* end confdefs.h. */
45373
45374 #include <time.h>
45375
45376 int
45377 main ()
45378 {
45379
45380 int tz;
45381 tz = timezone;
45382
45383 ;
45384 return 0;
45385 }
45386 _ACEOF
45387 rm -f conftest.$ac_objext
45388 if { (ac_try="$ac_compile"
45389 case "(($ac_try" in
45390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45391 *) ac_try_echo=$ac_try;;
45392 esac
45393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45394 (eval "$ac_compile") 2>conftest.er1
45395 ac_status=$?
45396 grep -v '^ *+' conftest.er1 >conftest.err
45397 rm -f conftest.er1
45398 cat conftest.err >&5
45399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45400 (exit $ac_status); } && {
45401 test -z "$ac_cxx_werror_flag" ||
45402 test ! -s conftest.err
45403 } && test -s conftest.$ac_objext; then
45404
45405 wx_cv_var_timezone=timezone
45406
45407 else
45408 echo "$as_me: failed program was:" >&5
45409 sed 's/^/| /' conftest.$ac_ext >&5
45410
45411
45412 cat >conftest.$ac_ext <<_ACEOF
45413 /* confdefs.h. */
45414 _ACEOF
45415 cat confdefs.h >>conftest.$ac_ext
45416 cat >>conftest.$ac_ext <<_ACEOF
45417 /* end confdefs.h. */
45418
45419 #include <time.h>
45420
45421 int
45422 main ()
45423 {
45424
45425 int tz;
45426 tz = _timezone;
45427
45428 ;
45429 return 0;
45430 }
45431 _ACEOF
45432 rm -f conftest.$ac_objext
45433 if { (ac_try="$ac_compile"
45434 case "(($ac_try" in
45435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45436 *) ac_try_echo=$ac_try;;
45437 esac
45438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45439 (eval "$ac_compile") 2>conftest.er1
45440 ac_status=$?
45441 grep -v '^ *+' conftest.er1 >conftest.err
45442 rm -f conftest.er1
45443 cat conftest.err >&5
45444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445 (exit $ac_status); } && {
45446 test -z "$ac_cxx_werror_flag" ||
45447 test ! -s conftest.err
45448 } && test -s conftest.$ac_objext; then
45449
45450 wx_cv_var_timezone=_timezone
45451
45452 else
45453 echo "$as_me: failed program was:" >&5
45454 sed 's/^/| /' conftest.$ac_ext >&5
45455
45456
45457 cat >conftest.$ac_ext <<_ACEOF
45458 /* confdefs.h. */
45459 _ACEOF
45460 cat confdefs.h >>conftest.$ac_ext
45461 cat >>conftest.$ac_ext <<_ACEOF
45462 /* end confdefs.h. */
45463
45464 #include <time.h>
45465
45466 int
45467 main ()
45468 {
45469
45470 int tz;
45471 tz = __timezone;
45472
45473 ;
45474 return 0;
45475 }
45476 _ACEOF
45477 rm -f conftest.$ac_objext
45478 if { (ac_try="$ac_compile"
45479 case "(($ac_try" in
45480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45481 *) ac_try_echo=$ac_try;;
45482 esac
45483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45484 (eval "$ac_compile") 2>conftest.er1
45485 ac_status=$?
45486 grep -v '^ *+' conftest.er1 >conftest.err
45487 rm -f conftest.er1
45488 cat conftest.err >&5
45489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45490 (exit $ac_status); } && {
45491 test -z "$ac_cxx_werror_flag" ||
45492 test ! -s conftest.err
45493 } && test -s conftest.$ac_objext; then
45494
45495 wx_cv_var_timezone=__timezone
45496
45497 else
45498 echo "$as_me: failed program was:" >&5
45499 sed 's/^/| /' conftest.$ac_ext >&5
45500
45501
45502 if test "$USE_DOS" = 0 ; then
45503 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45504 echo "$as_me: WARNING: no timezone variable" >&2;}
45505 fi
45506
45507
45508 fi
45509
45510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45511
45512
45513 fi
45514
45515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45516
45517
45518 fi
45519
45520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45521 ac_ext=c
45522 ac_cpp='$CPP $CPPFLAGS'
45523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45526
45527
45528
45529 fi
45530 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45531 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45532
45533 if test "x$wx_cv_var_timezone" != x ; then
45534 cat >>confdefs.h <<_ACEOF
45535 #define WX_TIMEZONE $wx_cv_var_timezone
45536 _ACEOF
45537
45538 fi
45539
45540
45541 for ac_func in localtime
45542 do
45543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45544 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45546 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45547 echo $ECHO_N "(cached) $ECHO_C" >&6
45548 else
45549 cat >conftest.$ac_ext <<_ACEOF
45550 /* confdefs.h. */
45551 _ACEOF
45552 cat confdefs.h >>conftest.$ac_ext
45553 cat >>conftest.$ac_ext <<_ACEOF
45554 /* end confdefs.h. */
45555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45557 #define $ac_func innocuous_$ac_func
45558
45559 /* System header to define __stub macros and hopefully few prototypes,
45560 which can conflict with char $ac_func (); below.
45561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45562 <limits.h> exists even on freestanding compilers. */
45563
45564 #ifdef __STDC__
45565 # include <limits.h>
45566 #else
45567 # include <assert.h>
45568 #endif
45569
45570 #undef $ac_func
45571
45572 /* Override any GCC internal prototype to avoid an error.
45573 Use char because int might match the return type of a GCC
45574 builtin and then its argument prototype would still apply. */
45575 #ifdef __cplusplus
45576 extern "C"
45577 #endif
45578 char $ac_func ();
45579 /* The GNU C library defines this for functions which it implements
45580 to always fail with ENOSYS. Some functions are actually named
45581 something starting with __ and the normal name is an alias. */
45582 #if defined __stub_$ac_func || defined __stub___$ac_func
45583 choke me
45584 #endif
45585
45586 int
45587 main ()
45588 {
45589 return $ac_func ();
45590 ;
45591 return 0;
45592 }
45593 _ACEOF
45594 rm -f conftest.$ac_objext conftest$ac_exeext
45595 if { (ac_try="$ac_link"
45596 case "(($ac_try" in
45597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45598 *) ac_try_echo=$ac_try;;
45599 esac
45600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45601 (eval "$ac_link") 2>conftest.er1
45602 ac_status=$?
45603 grep -v '^ *+' conftest.er1 >conftest.err
45604 rm -f conftest.er1
45605 cat conftest.err >&5
45606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45607 (exit $ac_status); } && {
45608 test -z "$ac_c_werror_flag" ||
45609 test ! -s conftest.err
45610 } && test -s conftest$ac_exeext &&
45611 $as_test_x conftest$ac_exeext; then
45612 eval "$as_ac_var=yes"
45613 else
45614 echo "$as_me: failed program was:" >&5
45615 sed 's/^/| /' conftest.$ac_ext >&5
45616
45617 eval "$as_ac_var=no"
45618 fi
45619
45620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45621 conftest$ac_exeext conftest.$ac_ext
45622 fi
45623 ac_res=`eval echo '${'$as_ac_var'}'`
45624 { echo "$as_me:$LINENO: result: $ac_res" >&5
45625 echo "${ECHO_T}$ac_res" >&6; }
45626 if test `eval echo '${'$as_ac_var'}'` = yes; then
45627 cat >>confdefs.h <<_ACEOF
45628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45629 _ACEOF
45630
45631 fi
45632 done
45633
45634
45635 if test "$ac_cv_func_localtime" = "yes"; then
45636 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45637 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45638 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45639 echo $ECHO_N "(cached) $ECHO_C" >&6
45640 else
45641
45642 cat >conftest.$ac_ext <<_ACEOF
45643 /* confdefs.h. */
45644 _ACEOF
45645 cat confdefs.h >>conftest.$ac_ext
45646 cat >>conftest.$ac_ext <<_ACEOF
45647 /* end confdefs.h. */
45648
45649 #include <time.h>
45650
45651 int
45652 main ()
45653 {
45654
45655 struct tm tm;
45656 tm.tm_gmtoff++;
45657
45658 ;
45659 return 0;
45660 }
45661 _ACEOF
45662 rm -f conftest.$ac_objext
45663 if { (ac_try="$ac_compile"
45664 case "(($ac_try" in
45665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45666 *) ac_try_echo=$ac_try;;
45667 esac
45668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45669 (eval "$ac_compile") 2>conftest.er1
45670 ac_status=$?
45671 grep -v '^ *+' conftest.er1 >conftest.err
45672 rm -f conftest.er1
45673 cat conftest.err >&5
45674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45675 (exit $ac_status); } && {
45676 test -z "$ac_c_werror_flag" ||
45677 test ! -s conftest.err
45678 } && test -s conftest.$ac_objext; then
45679
45680 wx_cv_struct_tm_has_gmtoff=yes
45681
45682 else
45683 echo "$as_me: failed program was:" >&5
45684 sed 's/^/| /' conftest.$ac_ext >&5
45685
45686 wx_cv_struct_tm_has_gmtoff=no
45687
45688 fi
45689
45690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45691
45692 fi
45693 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45694 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45695 fi
45696
45697 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45698 cat >>confdefs.h <<\_ACEOF
45699 #define WX_GMTOFF_IN_TM 1
45700 _ACEOF
45701
45702 fi
45703
45704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45705 fi
45706
45707
45708 if test "$wxUSE_SOCKETS" = "yes"; then
45709 if test "$wxUSE_MGL" = 1; then
45710 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45711 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45712 wxUSE_SOCKETS="no"
45713 fi
45714 fi
45715
45716 if test "$wxUSE_SOCKETS" = "yes"; then
45717 if test "$TOOLKIT" != "MSW"; then
45718 { echo "$as_me:$LINENO: checking for socket" >&5
45719 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45720 if test "${ac_cv_func_socket+set}" = set; then
45721 echo $ECHO_N "(cached) $ECHO_C" >&6
45722 else
45723 cat >conftest.$ac_ext <<_ACEOF
45724 /* confdefs.h. */
45725 _ACEOF
45726 cat confdefs.h >>conftest.$ac_ext
45727 cat >>conftest.$ac_ext <<_ACEOF
45728 /* end confdefs.h. */
45729 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45731 #define socket innocuous_socket
45732
45733 /* System header to define __stub macros and hopefully few prototypes,
45734 which can conflict with char socket (); below.
45735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45736 <limits.h> exists even on freestanding compilers. */
45737
45738 #ifdef __STDC__
45739 # include <limits.h>
45740 #else
45741 # include <assert.h>
45742 #endif
45743
45744 #undef socket
45745
45746 /* Override any GCC internal prototype to avoid an error.
45747 Use char because int might match the return type of a GCC
45748 builtin and then its argument prototype would still apply. */
45749 #ifdef __cplusplus
45750 extern "C"
45751 #endif
45752 char socket ();
45753 /* The GNU C library defines this for functions which it implements
45754 to always fail with ENOSYS. Some functions are actually named
45755 something starting with __ and the normal name is an alias. */
45756 #if defined __stub_socket || defined __stub___socket
45757 choke me
45758 #endif
45759
45760 int
45761 main ()
45762 {
45763 return socket ();
45764 ;
45765 return 0;
45766 }
45767 _ACEOF
45768 rm -f conftest.$ac_objext conftest$ac_exeext
45769 if { (ac_try="$ac_link"
45770 case "(($ac_try" in
45771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45772 *) ac_try_echo=$ac_try;;
45773 esac
45774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45775 (eval "$ac_link") 2>conftest.er1
45776 ac_status=$?
45777 grep -v '^ *+' conftest.er1 >conftest.err
45778 rm -f conftest.er1
45779 cat conftest.err >&5
45780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45781 (exit $ac_status); } && {
45782 test -z "$ac_c_werror_flag" ||
45783 test ! -s conftest.err
45784 } && test -s conftest$ac_exeext &&
45785 $as_test_x conftest$ac_exeext; then
45786 ac_cv_func_socket=yes
45787 else
45788 echo "$as_me: failed program was:" >&5
45789 sed 's/^/| /' conftest.$ac_ext >&5
45790
45791 ac_cv_func_socket=no
45792 fi
45793
45794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45795 conftest$ac_exeext conftest.$ac_ext
45796 fi
45797 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45798 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45799 if test $ac_cv_func_socket = yes; then
45800 :
45801 else
45802
45803 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45804 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45805 if test "${ac_cv_lib_socket_socket+set}" = set; then
45806 echo $ECHO_N "(cached) $ECHO_C" >&6
45807 else
45808 ac_check_lib_save_LIBS=$LIBS
45809 LIBS="-lsocket $LIBS"
45810 cat >conftest.$ac_ext <<_ACEOF
45811 /* confdefs.h. */
45812 _ACEOF
45813 cat confdefs.h >>conftest.$ac_ext
45814 cat >>conftest.$ac_ext <<_ACEOF
45815 /* end confdefs.h. */
45816
45817 /* Override any GCC internal prototype to avoid an error.
45818 Use char because int might match the return type of a GCC
45819 builtin and then its argument prototype would still apply. */
45820 #ifdef __cplusplus
45821 extern "C"
45822 #endif
45823 char socket ();
45824 int
45825 main ()
45826 {
45827 return socket ();
45828 ;
45829 return 0;
45830 }
45831 _ACEOF
45832 rm -f conftest.$ac_objext conftest$ac_exeext
45833 if { (ac_try="$ac_link"
45834 case "(($ac_try" in
45835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45836 *) ac_try_echo=$ac_try;;
45837 esac
45838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45839 (eval "$ac_link") 2>conftest.er1
45840 ac_status=$?
45841 grep -v '^ *+' conftest.er1 >conftest.err
45842 rm -f conftest.er1
45843 cat conftest.err >&5
45844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45845 (exit $ac_status); } && {
45846 test -z "$ac_c_werror_flag" ||
45847 test ! -s conftest.err
45848 } && test -s conftest$ac_exeext &&
45849 $as_test_x conftest$ac_exeext; then
45850 ac_cv_lib_socket_socket=yes
45851 else
45852 echo "$as_me: failed program was:" >&5
45853 sed 's/^/| /' conftest.$ac_ext >&5
45854
45855 ac_cv_lib_socket_socket=no
45856 fi
45857
45858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45859 conftest$ac_exeext conftest.$ac_ext
45860 LIBS=$ac_check_lib_save_LIBS
45861 fi
45862 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45863 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45864 if test $ac_cv_lib_socket_socket = yes; then
45865 if test "$INET_LINK" != " -lsocket"; then
45866 INET_LINK="$INET_LINK -lsocket"
45867 fi
45868 else
45869
45870 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45871 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45872 wxUSE_SOCKETS=no
45873
45874
45875 fi
45876
45877
45878
45879 fi
45880
45881 fi
45882 fi
45883
45884 if test "$wxUSE_SOCKETS" = "yes" ; then
45885 if test "$TOOLKIT" != "MSW"; then
45886 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45887 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45888 if test "${wx_cv_type_getsockname3+set}" = set; then
45889 echo $ECHO_N "(cached) $ECHO_C" >&6
45890 else
45891
45892 ac_ext=cpp
45893 ac_cpp='$CXXCPP $CPPFLAGS'
45894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45897
45898 cat >conftest.$ac_ext <<_ACEOF
45899 /* confdefs.h. */
45900 _ACEOF
45901 cat confdefs.h >>conftest.$ac_ext
45902 cat >>conftest.$ac_ext <<_ACEOF
45903 /* end confdefs.h. */
45904
45905 #include <sys/types.h>
45906 #include <sys/socket.h>
45907
45908 int
45909 main ()
45910 {
45911
45912 socklen_t len;
45913 getsockname(0, 0, &len);
45914
45915 ;
45916 return 0;
45917 }
45918 _ACEOF
45919 rm -f conftest.$ac_objext
45920 if { (ac_try="$ac_compile"
45921 case "(($ac_try" in
45922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45923 *) ac_try_echo=$ac_try;;
45924 esac
45925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45926 (eval "$ac_compile") 2>conftest.er1
45927 ac_status=$?
45928 grep -v '^ *+' conftest.er1 >conftest.err
45929 rm -f conftest.er1
45930 cat conftest.err >&5
45931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45932 (exit $ac_status); } && {
45933 test -z "$ac_cxx_werror_flag" ||
45934 test ! -s conftest.err
45935 } && test -s conftest.$ac_objext; then
45936 wx_cv_type_getsockname3=socklen_t
45937 else
45938 echo "$as_me: failed program was:" >&5
45939 sed 's/^/| /' conftest.$ac_ext >&5
45940
45941
45942 CFLAGS_OLD="$CFLAGS"
45943 if test "$GCC" = yes ; then
45944 CFLAGS="-Werror $CFLAGS"
45945 fi
45946
45947 cat >conftest.$ac_ext <<_ACEOF
45948 /* confdefs.h. */
45949 _ACEOF
45950 cat confdefs.h >>conftest.$ac_ext
45951 cat >>conftest.$ac_ext <<_ACEOF
45952 /* end confdefs.h. */
45953
45954 #include <sys/types.h>
45955 #include <sys/socket.h>
45956
45957 int
45958 main ()
45959 {
45960
45961 size_t len;
45962 getsockname(0, 0, &len);
45963
45964 ;
45965 return 0;
45966 }
45967 _ACEOF
45968 rm -f conftest.$ac_objext
45969 if { (ac_try="$ac_compile"
45970 case "(($ac_try" in
45971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45972 *) ac_try_echo=$ac_try;;
45973 esac
45974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45975 (eval "$ac_compile") 2>conftest.er1
45976 ac_status=$?
45977 grep -v '^ *+' conftest.er1 >conftest.err
45978 rm -f conftest.er1
45979 cat conftest.err >&5
45980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45981 (exit $ac_status); } && {
45982 test -z "$ac_cxx_werror_flag" ||
45983 test ! -s conftest.err
45984 } && test -s conftest.$ac_objext; then
45985 wx_cv_type_getsockname3=size_t
45986 else
45987 echo "$as_me: failed program was:" >&5
45988 sed 's/^/| /' conftest.$ac_ext >&5
45989
45990 cat >conftest.$ac_ext <<_ACEOF
45991 /* confdefs.h. */
45992 _ACEOF
45993 cat confdefs.h >>conftest.$ac_ext
45994 cat >>conftest.$ac_ext <<_ACEOF
45995 /* end confdefs.h. */
45996
45997 #include <sys/types.h>
45998 #include <sys/socket.h>
45999
46000 int
46001 main ()
46002 {
46003
46004 int len;
46005 getsockname(0, 0, &len);
46006
46007 ;
46008 return 0;
46009 }
46010 _ACEOF
46011 rm -f conftest.$ac_objext
46012 if { (ac_try="$ac_compile"
46013 case "(($ac_try" in
46014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46015 *) ac_try_echo=$ac_try;;
46016 esac
46017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46018 (eval "$ac_compile") 2>conftest.er1
46019 ac_status=$?
46020 grep -v '^ *+' conftest.er1 >conftest.err
46021 rm -f conftest.er1
46022 cat conftest.err >&5
46023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46024 (exit $ac_status); } && {
46025 test -z "$ac_cxx_werror_flag" ||
46026 test ! -s conftest.err
46027 } && test -s conftest.$ac_objext; then
46028 wx_cv_type_getsockname3=int
46029 else
46030 echo "$as_me: failed program was:" >&5
46031 sed 's/^/| /' conftest.$ac_ext >&5
46032
46033 wx_cv_type_getsockname3=unknown
46034
46035 fi
46036
46037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46038
46039 fi
46040
46041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46042
46043 CFLAGS="$CFLAGS_OLD"
46044
46045
46046 fi
46047
46048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46049 ac_ext=c
46050 ac_cpp='$CPP $CPPFLAGS'
46051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46054
46055
46056 fi
46057 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46058 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46059
46060 if test "$wx_cv_type_getsockname3" = "unknown"; then
46061 wxUSE_SOCKETS=no
46062 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46063 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46064 else
46065 cat >>confdefs.h <<_ACEOF
46066 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46067 _ACEOF
46068
46069 fi
46070 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46071 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46072 if test "${wx_cv_type_getsockopt5+set}" = set; then
46073 echo $ECHO_N "(cached) $ECHO_C" >&6
46074 else
46075
46076 ac_ext=cpp
46077 ac_cpp='$CXXCPP $CPPFLAGS'
46078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46081
46082 cat >conftest.$ac_ext <<_ACEOF
46083 /* confdefs.h. */
46084 _ACEOF
46085 cat confdefs.h >>conftest.$ac_ext
46086 cat >>conftest.$ac_ext <<_ACEOF
46087 /* end confdefs.h. */
46088
46089 #include <sys/types.h>
46090 #include <sys/socket.h>
46091
46092 int
46093 main ()
46094 {
46095
46096 socklen_t len;
46097 getsockopt(0, 0, 0, 0, &len);
46098
46099 ;
46100 return 0;
46101 }
46102 _ACEOF
46103 rm -f conftest.$ac_objext
46104 if { (ac_try="$ac_compile"
46105 case "(($ac_try" in
46106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46107 *) ac_try_echo=$ac_try;;
46108 esac
46109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46110 (eval "$ac_compile") 2>conftest.er1
46111 ac_status=$?
46112 grep -v '^ *+' conftest.er1 >conftest.err
46113 rm -f conftest.er1
46114 cat conftest.err >&5
46115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46116 (exit $ac_status); } && {
46117 test -z "$ac_cxx_werror_flag" ||
46118 test ! -s conftest.err
46119 } && test -s conftest.$ac_objext; then
46120 wx_cv_type_getsockopt5=socklen_t
46121 else
46122 echo "$as_me: failed program was:" >&5
46123 sed 's/^/| /' conftest.$ac_ext >&5
46124
46125
46126 cat >conftest.$ac_ext <<_ACEOF
46127 /* confdefs.h. */
46128 _ACEOF
46129 cat confdefs.h >>conftest.$ac_ext
46130 cat >>conftest.$ac_ext <<_ACEOF
46131 /* end confdefs.h. */
46132
46133 #include <sys/types.h>
46134 #include <sys/socket.h>
46135
46136 int
46137 main ()
46138 {
46139
46140 size_t len;
46141 getsockopt(0, 0, 0, 0, &len);
46142
46143 ;
46144 return 0;
46145 }
46146 _ACEOF
46147 rm -f conftest.$ac_objext
46148 if { (ac_try="$ac_compile"
46149 case "(($ac_try" in
46150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46151 *) ac_try_echo=$ac_try;;
46152 esac
46153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46154 (eval "$ac_compile") 2>conftest.er1
46155 ac_status=$?
46156 grep -v '^ *+' conftest.er1 >conftest.err
46157 rm -f conftest.er1
46158 cat conftest.err >&5
46159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46160 (exit $ac_status); } && {
46161 test -z "$ac_cxx_werror_flag" ||
46162 test ! -s conftest.err
46163 } && test -s conftest.$ac_objext; then
46164 wx_cv_type_getsockopt5=size_t
46165 else
46166 echo "$as_me: failed program was:" >&5
46167 sed 's/^/| /' conftest.$ac_ext >&5
46168
46169 cat >conftest.$ac_ext <<_ACEOF
46170 /* confdefs.h. */
46171 _ACEOF
46172 cat confdefs.h >>conftest.$ac_ext
46173 cat >>conftest.$ac_ext <<_ACEOF
46174 /* end confdefs.h. */
46175
46176 #include <sys/types.h>
46177 #include <sys/socket.h>
46178
46179 int
46180 main ()
46181 {
46182
46183 int len;
46184 getsockopt(0, 0, 0, 0, &len);
46185
46186 ;
46187 return 0;
46188 }
46189 _ACEOF
46190 rm -f conftest.$ac_objext
46191 if { (ac_try="$ac_compile"
46192 case "(($ac_try" in
46193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46194 *) ac_try_echo=$ac_try;;
46195 esac
46196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46197 (eval "$ac_compile") 2>conftest.er1
46198 ac_status=$?
46199 grep -v '^ *+' conftest.er1 >conftest.err
46200 rm -f conftest.er1
46201 cat conftest.err >&5
46202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46203 (exit $ac_status); } && {
46204 test -z "$ac_cxx_werror_flag" ||
46205 test ! -s conftest.err
46206 } && test -s conftest.$ac_objext; then
46207 wx_cv_type_getsockopt5=int
46208 else
46209 echo "$as_me: failed program was:" >&5
46210 sed 's/^/| /' conftest.$ac_ext >&5
46211
46212 wx_cv_type_getsockopt5=unknown
46213
46214 fi
46215
46216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46217
46218 fi
46219
46220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46221
46222
46223 fi
46224
46225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46226 ac_ext=c
46227 ac_cpp='$CPP $CPPFLAGS'
46228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46231
46232
46233 fi
46234 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46235 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46236
46237 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46238 wxUSE_SOCKETS=no
46239 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46240 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46241 else
46242 cat >>confdefs.h <<_ACEOF
46243 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46244 _ACEOF
46245
46246 fi
46247 fi
46248 fi
46249
46250 if test "$wxUSE_SOCKETS" = "yes" ; then
46251 if test "$wxUSE_IPV6" = "yes"; then
46252 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46253 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46254 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46255 echo $ECHO_N "(cached) $ECHO_C" >&6
46256 else
46257
46258 cat >conftest.$ac_ext <<_ACEOF
46259 /* confdefs.h. */
46260 _ACEOF
46261 cat confdefs.h >>conftest.$ac_ext
46262 cat >>conftest.$ac_ext <<_ACEOF
46263 /* end confdefs.h. */
46264
46265 #include <sys/types.h>
46266 #include <sys/socket.h>
46267 #include <netinet/in.h>
46268
46269 int
46270 main ()
46271 {
46272
46273 struct sockaddr_in6 sa6;
46274
46275 ;
46276 return 0;
46277 }
46278 _ACEOF
46279 rm -f conftest.$ac_objext
46280 if { (ac_try="$ac_compile"
46281 case "(($ac_try" in
46282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46283 *) ac_try_echo=$ac_try;;
46284 esac
46285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46286 (eval "$ac_compile") 2>conftest.er1
46287 ac_status=$?
46288 grep -v '^ *+' conftest.er1 >conftest.err
46289 rm -f conftest.er1
46290 cat conftest.err >&5
46291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46292 (exit $ac_status); } && {
46293 test -z "$ac_c_werror_flag" ||
46294 test ! -s conftest.err
46295 } && test -s conftest.$ac_objext; then
46296 wx_cv_type_sockaddr_in6=yes
46297 else
46298 echo "$as_me: failed program was:" >&5
46299 sed 's/^/| /' conftest.$ac_ext >&5
46300
46301 wx_cv_type_sockaddr_in6=no
46302
46303 fi
46304
46305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46306
46307
46308 fi
46309 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46310 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46311
46312 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46313 cat >>confdefs.h <<\_ACEOF
46314 #define wxUSE_IPV6 1
46315 _ACEOF
46316
46317 else
46318 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46319 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46320 fi
46321 fi
46322
46323 cat >>confdefs.h <<\_ACEOF
46324 #define wxUSE_SOCKETS 1
46325 _ACEOF
46326
46327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46328 fi
46329
46330 if test "$wxUSE_PROTOCOL" = "yes"; then
46331 if test "$wxUSE_SOCKETS" != "yes"; then
46332 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46333 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46334 wxUSE_PROTOCOL=no
46335 fi
46336 fi
46337
46338 if test "$wxUSE_PROTOCOL" = "yes"; then
46339 cat >>confdefs.h <<\_ACEOF
46340 #define wxUSE_PROTOCOL 1
46341 _ACEOF
46342
46343
46344 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46345 cat >>confdefs.h <<\_ACEOF
46346 #define wxUSE_PROTOCOL_HTTP 1
46347 _ACEOF
46348
46349 fi
46350 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46351 cat >>confdefs.h <<\_ACEOF
46352 #define wxUSE_PROTOCOL_FTP 1
46353 _ACEOF
46354
46355 fi
46356 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46357 cat >>confdefs.h <<\_ACEOF
46358 #define wxUSE_PROTOCOL_FILE 1
46359 _ACEOF
46360
46361 fi
46362 else
46363 if test "$wxUSE_FS_INET" = "yes"; then
46364 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46365 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46366 wxUSE_FS_INET="no"
46367 fi
46368 fi
46369
46370 if test "$wxUSE_URL" = "yes"; then
46371 if test "$wxUSE_PROTOCOL" != "yes"; then
46372 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46373 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46374 wxUSE_URL=no
46375 fi
46376 if test "$wxUSE_URL" = "yes"; then
46377 cat >>confdefs.h <<\_ACEOF
46378 #define wxUSE_URL 1
46379 _ACEOF
46380
46381 fi
46382 fi
46383
46384 if test "$wxUSE_VARIANT" = "yes"; then
46385 cat >>confdefs.h <<\_ACEOF
46386 #define wxUSE_VARIANT 1
46387 _ACEOF
46388
46389 fi
46390
46391 if test "$wxUSE_FS_INET" = "yes"; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_FS_INET 1
46394 _ACEOF
46395
46396 fi
46397
46398
46399 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46400 wxUSE_JOYSTICK=no
46401
46402 if test "$TOOLKIT" = "MSW"; then
46403 wxUSE_JOYSTICK=yes
46404
46405 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46406 if test "$USE_DARWIN" = 1; then
46407 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46408 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46409 ac_ext=cpp
46410 ac_cpp='$CXXCPP $CPPFLAGS'
46411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46414
46415 cat >conftest.$ac_ext <<_ACEOF
46416 /* confdefs.h. */
46417 _ACEOF
46418 cat confdefs.h >>conftest.$ac_ext
46419 cat >>conftest.$ac_ext <<_ACEOF
46420 /* end confdefs.h. */
46421 #include <IOKit/hid/IOHIDLib.h>
46422 int
46423 main ()
46424 {
46425 IOHIDQueueInterface *qi = NULL;
46426 IOHIDCallbackFunction cb = NULL;
46427 qi->setEventCallout(NULL, cb, NULL, NULL);
46428 ;
46429 return 0;
46430 }
46431 _ACEOF
46432 rm -f conftest.$ac_objext
46433 if { (ac_try="$ac_compile"
46434 case "(($ac_try" in
46435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46436 *) ac_try_echo=$ac_try;;
46437 esac
46438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46439 (eval "$ac_compile") 2>conftest.er1
46440 ac_status=$?
46441 grep -v '^ *+' conftest.er1 >conftest.err
46442 rm -f conftest.er1
46443 cat conftest.err >&5
46444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46445 (exit $ac_status); } && {
46446 test -z "$ac_cxx_werror_flag" ||
46447 test ! -s conftest.err
46448 } && test -s conftest.$ac_objext; then
46449 wxUSE_JOYSTICK=yes
46450
46451 else
46452 echo "$as_me: failed program was:" >&5
46453 sed 's/^/| /' conftest.$ac_ext >&5
46454
46455
46456 fi
46457
46458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46459 ac_ext=c
46460 ac_cpp='$CPP $CPPFLAGS'
46461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46464
46465 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46466 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46467 fi
46468
46469 else
46470 if test "$wxUSE_MGL" != 1; then
46471
46472 for ac_header in linux/joystick.h
46473 do
46474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46475 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46478 echo $ECHO_N "(cached) $ECHO_C" >&6
46479 else
46480 cat >conftest.$ac_ext <<_ACEOF
46481 /* confdefs.h. */
46482 _ACEOF
46483 cat confdefs.h >>conftest.$ac_ext
46484 cat >>conftest.$ac_ext <<_ACEOF
46485 /* end confdefs.h. */
46486 $ac_includes_default
46487
46488 #include <$ac_header>
46489 _ACEOF
46490 rm -f conftest.$ac_objext
46491 if { (ac_try="$ac_compile"
46492 case "(($ac_try" in
46493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46494 *) ac_try_echo=$ac_try;;
46495 esac
46496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46497 (eval "$ac_compile") 2>conftest.er1
46498 ac_status=$?
46499 grep -v '^ *+' conftest.er1 >conftest.err
46500 rm -f conftest.er1
46501 cat conftest.err >&5
46502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46503 (exit $ac_status); } && {
46504 test -z "$ac_c_werror_flag" ||
46505 test ! -s conftest.err
46506 } && test -s conftest.$ac_objext; then
46507 eval "$as_ac_Header=yes"
46508 else
46509 echo "$as_me: failed program was:" >&5
46510 sed 's/^/| /' conftest.$ac_ext >&5
46511
46512 eval "$as_ac_Header=no"
46513 fi
46514
46515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46516 fi
46517 ac_res=`eval echo '${'$as_ac_Header'}'`
46518 { echo "$as_me:$LINENO: result: $ac_res" >&5
46519 echo "${ECHO_T}$ac_res" >&6; }
46520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46521 cat >>confdefs.h <<_ACEOF
46522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46523 _ACEOF
46524 wxUSE_JOYSTICK=yes
46525 fi
46526
46527 done
46528
46529 fi
46530 fi
46531
46532 if test "$wxUSE_JOYSTICK" = "yes"; then
46533 cat >>confdefs.h <<\_ACEOF
46534 #define wxUSE_JOYSTICK 1
46535 _ACEOF
46536
46537 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46538 else
46539 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46540 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46541 fi
46542 fi
46543
46544
46545
46546 if test "$wxUSE_FONTENUM" = "yes" ; then
46547 cat >>confdefs.h <<\_ACEOF
46548 #define wxUSE_FONTENUM 1
46549 _ACEOF
46550
46551 fi
46552
46553 if test "$wxUSE_FONTMAP" = "yes" ; then
46554 cat >>confdefs.h <<\_ACEOF
46555 #define wxUSE_FONTMAP 1
46556 _ACEOF
46557
46558 fi
46559
46560 if test "$wxUSE_UNICODE" = "yes" ; then
46561 cat >>confdefs.h <<\_ACEOF
46562 #define wxUSE_UNICODE 1
46563 _ACEOF
46564
46565
46566 if test "$USE_WIN32" != 1; then
46567 wxUSE_UNICODE_MSLU=no
46568 fi
46569
46570 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46571 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46572 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46573 if test "${ac_cv_lib_unicows_main+set}" = set; then
46574 echo $ECHO_N "(cached) $ECHO_C" >&6
46575 else
46576 ac_check_lib_save_LIBS=$LIBS
46577 LIBS="-lunicows $LIBS"
46578 cat >conftest.$ac_ext <<_ACEOF
46579 /* confdefs.h. */
46580 _ACEOF
46581 cat confdefs.h >>conftest.$ac_ext
46582 cat >>conftest.$ac_ext <<_ACEOF
46583 /* end confdefs.h. */
46584
46585
46586 int
46587 main ()
46588 {
46589 return main ();
46590 ;
46591 return 0;
46592 }
46593 _ACEOF
46594 rm -f conftest.$ac_objext conftest$ac_exeext
46595 if { (ac_try="$ac_link"
46596 case "(($ac_try" in
46597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46598 *) ac_try_echo=$ac_try;;
46599 esac
46600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46601 (eval "$ac_link") 2>conftest.er1
46602 ac_status=$?
46603 grep -v '^ *+' conftest.er1 >conftest.err
46604 rm -f conftest.er1
46605 cat conftest.err >&5
46606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46607 (exit $ac_status); } && {
46608 test -z "$ac_c_werror_flag" ||
46609 test ! -s conftest.err
46610 } && test -s conftest$ac_exeext &&
46611 $as_test_x conftest$ac_exeext; then
46612 ac_cv_lib_unicows_main=yes
46613 else
46614 echo "$as_me: failed program was:" >&5
46615 sed 's/^/| /' conftest.$ac_ext >&5
46616
46617 ac_cv_lib_unicows_main=no
46618 fi
46619
46620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46621 conftest$ac_exeext conftest.$ac_ext
46622 LIBS=$ac_check_lib_save_LIBS
46623 fi
46624 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46625 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46626 if test $ac_cv_lib_unicows_main = yes; then
46627
46628 cat >>confdefs.h <<\_ACEOF
46629 #define wxUSE_UNICODE_MSLU 1
46630 _ACEOF
46631
46632
46633 else
46634
46635 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46636 Applications will only run on Windows NT/2000/XP!" >&5
46637 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46638 Applications will only run on Windows NT/2000/XP!" >&2;}
46639 wxUSE_UNICODE_MSLU=no
46640
46641 fi
46642
46643 fi
46644 fi
46645
46646 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46647 cat >>confdefs.h <<\_ACEOF
46648 #define wxUSE_UNICODE_UTF8 1
46649 _ACEOF
46650
46651
46652 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46653 cat >>confdefs.h <<\_ACEOF
46654 #define wxUSE_UTF8_LOCALE_ONLY 1
46655 _ACEOF
46656
46657 fi
46658 fi
46659
46660
46661 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46662 cat >>confdefs.h <<\_ACEOF
46663 #define wxUSE_CONSTRAINTS 1
46664 _ACEOF
46665
46666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46667 fi
46668
46669 if test "$wxUSE_MDI" = "yes"; then
46670 cat >>confdefs.h <<\_ACEOF
46671 #define wxUSE_MDI 1
46672 _ACEOF
46673
46674
46675 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46676 cat >>confdefs.h <<\_ACEOF
46677 #define wxUSE_MDI_ARCHITECTURE 1
46678 _ACEOF
46679
46680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46681 fi
46682 fi
46683
46684 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46685 cat >>confdefs.h <<\_ACEOF
46686 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46687 _ACEOF
46688
46689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46690 fi
46691
46692 if test "$wxUSE_HELP" = "yes"; then
46693 cat >>confdefs.h <<\_ACEOF
46694 #define wxUSE_HELP 1
46695 _ACEOF
46696
46697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46698
46699 if test "$wxUSE_MSW" = 1; then
46700 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46701 cat >>confdefs.h <<\_ACEOF
46702 #define wxUSE_MS_HTML_HELP 1
46703 _ACEOF
46704
46705 fi
46706 fi
46707
46708 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46709 if test "$wxUSE_HTML" = "yes"; then
46710 cat >>confdefs.h <<\_ACEOF
46711 #define wxUSE_WXHTML_HELP 1
46712 _ACEOF
46713
46714 else
46715 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46716 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46717 wxUSE_WXHTML_HELP=no
46718 fi
46719 fi
46720 fi
46721
46722 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46723 cat >>confdefs.h <<\_ACEOF
46724 #define wxUSE_PRINTING_ARCHITECTURE 1
46725 _ACEOF
46726
46727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46728 fi
46729
46730 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46731 cat >>confdefs.h <<\_ACEOF
46732 #define wxUSE_POSTSCRIPT 1
46733 _ACEOF
46734
46735 fi
46736
46737 cat >>confdefs.h <<\_ACEOF
46738 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46739 _ACEOF
46740
46741
46742 if test "$wxUSE_SVG" = "yes"; then
46743 cat >>confdefs.h <<\_ACEOF
46744 #define wxUSE_SVG 1
46745 _ACEOF
46746
46747 fi
46748
46749
46750 if test "$wxUSE_METAFILE" = "yes"; then
46751 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46752 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46753 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46754 wxUSE_METAFILE=no
46755 fi
46756 fi
46757
46758
46759 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46760 -o "$wxUSE_CLIPBOARD" = "yes" \
46761 -o "$wxUSE_OLE" = "yes" \
46762 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46763 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46764 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46765 if test "${ac_cv_header_ole2_h+set}" = set; then
46766 echo $ECHO_N "(cached) $ECHO_C" >&6
46767 else
46768 cat >conftest.$ac_ext <<_ACEOF
46769 /* confdefs.h. */
46770 _ACEOF
46771 cat confdefs.h >>conftest.$ac_ext
46772 cat >>conftest.$ac_ext <<_ACEOF
46773 /* end confdefs.h. */
46774
46775
46776 #include <ole2.h>
46777 _ACEOF
46778 rm -f conftest.$ac_objext
46779 if { (ac_try="$ac_compile"
46780 case "(($ac_try" in
46781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46782 *) ac_try_echo=$ac_try;;
46783 esac
46784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46785 (eval "$ac_compile") 2>conftest.er1
46786 ac_status=$?
46787 grep -v '^ *+' conftest.er1 >conftest.err
46788 rm -f conftest.er1
46789 cat conftest.err >&5
46790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46791 (exit $ac_status); } && {
46792 test -z "$ac_c_werror_flag" ||
46793 test ! -s conftest.err
46794 } && test -s conftest.$ac_objext; then
46795 ac_cv_header_ole2_h=yes
46796 else
46797 echo "$as_me: failed program was:" >&5
46798 sed 's/^/| /' conftest.$ac_ext >&5
46799
46800 ac_cv_header_ole2_h=no
46801 fi
46802
46803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46804 fi
46805 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46806 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46807
46808
46809
46810 if test "$ac_cv_header_ole2_h" = "yes" ; then
46811 if test "$GCC" = yes ; then
46812 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46813 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46814 cat >conftest.$ac_ext <<_ACEOF
46815 /* confdefs.h. */
46816 _ACEOF
46817 cat confdefs.h >>conftest.$ac_ext
46818 cat >>conftest.$ac_ext <<_ACEOF
46819 /* end confdefs.h. */
46820 #include <windows.h>
46821 #include <ole2.h>
46822 int
46823 main ()
46824 {
46825
46826 ;
46827 return 0;
46828 }
46829 _ACEOF
46830 rm -f conftest.$ac_objext
46831 if { (ac_try="$ac_compile"
46832 case "(($ac_try" in
46833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46834 *) ac_try_echo=$ac_try;;
46835 esac
46836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46837 (eval "$ac_compile") 2>conftest.er1
46838 ac_status=$?
46839 grep -v '^ *+' conftest.er1 >conftest.err
46840 rm -f conftest.er1
46841 cat conftest.err >&5
46842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46843 (exit $ac_status); } && {
46844 test -z "$ac_c_werror_flag" ||
46845 test ! -s conftest.err
46846 } && test -s conftest.$ac_objext; then
46847 { echo "$as_me:$LINENO: result: no" >&5
46848 echo "${ECHO_T}no" >&6; }
46849 else
46850 echo "$as_me: failed program was:" >&5
46851 sed 's/^/| /' conftest.$ac_ext >&5
46852
46853 { echo "$as_me:$LINENO: result: yes" >&5
46854 echo "${ECHO_T}yes" >&6; }
46855 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46856 fi
46857
46858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46859 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46860 if test "$wxUSE_OLE" = "yes" ; then
46861 cat >>confdefs.h <<\_ACEOF
46862 #define wxUSE_OLE 1
46863 _ACEOF
46864
46865 cat >>confdefs.h <<\_ACEOF
46866 #define wxUSE_OLE_AUTOMATION 1
46867 _ACEOF
46868
46869 cat >>confdefs.h <<\_ACEOF
46870 #define wxUSE_ACTIVEX 1
46871 _ACEOF
46872
46873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46874 fi
46875 fi
46876
46877 if test "$wxUSE_DATAOBJ" = "yes" ; then
46878 cat >>confdefs.h <<\_ACEOF
46879 #define wxUSE_DATAOBJ 1
46880 _ACEOF
46881
46882 fi
46883 else
46884 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46885 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46886
46887 wxUSE_CLIPBOARD=no
46888 wxUSE_DRAG_AND_DROP=no
46889 wxUSE_DATAOBJ=no
46890 wxUSE_OLE=no
46891 fi
46892
46893 if test "$wxUSE_METAFILE" = "yes"; then
46894 cat >>confdefs.h <<\_ACEOF
46895 #define wxUSE_METAFILE 1
46896 _ACEOF
46897
46898
46899 cat >>confdefs.h <<\_ACEOF
46900 #define wxUSE_ENH_METAFILE 1
46901 _ACEOF
46902
46903 fi
46904 fi
46905
46906 if test "$wxUSE_IPC" = "yes"; then
46907 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46908 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46909 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46910 wxUSE_IPC=no
46911 fi
46912
46913 if test "$wxUSE_IPC" = "yes"; then
46914 cat >>confdefs.h <<\_ACEOF
46915 #define wxUSE_IPC 1
46916 _ACEOF
46917
46918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46919 fi
46920 fi
46921
46922 if test "$wxUSE_DATAOBJ" = "yes"; then
46923 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46924 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46925 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46926 wxUSE_DATAOBJ=no
46927 else
46928 cat >>confdefs.h <<\_ACEOF
46929 #define wxUSE_DATAOBJ 1
46930 _ACEOF
46931
46932 fi
46933 else
46934 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46935 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46936 wxUSE_CLIPBOARD=no
46937 wxUSE_DRAG_AND_DROP=no
46938 fi
46939
46940 if test "$wxUSE_CLIPBOARD" = "yes"; then
46941 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46942 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46943 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46944 wxUSE_CLIPBOARD=no
46945 fi
46946
46947 if test "$wxUSE_CLIPBOARD" = "yes"; then
46948 cat >>confdefs.h <<\_ACEOF
46949 #define wxUSE_CLIPBOARD 1
46950 _ACEOF
46951
46952 fi
46953 fi
46954
46955 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46956 if test "$wxUSE_GTK" = 1; then
46957 if test "$WXGTK12" != 1; then
46958 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46959 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46960 wxUSE_DRAG_AND_DROP=no
46961 fi
46962 fi
46963
46964 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46965 "$wxUSE_DFB" = 1; then
46966 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46967 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46968 wxUSE_DRAG_AND_DROP=no
46969 fi
46970
46971 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46972 cat >>confdefs.h <<\_ACEOF
46973 #define wxUSE_DRAG_AND_DROP 1
46974 _ACEOF
46975
46976 fi
46977
46978 fi
46979
46980 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46982 fi
46983
46984 if test "$wxUSE_CLIPBOARD" = "yes"; then
46985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46986 fi
46987
46988 if test "$wxUSE_SPLINES" = "yes" ; then
46989 cat >>confdefs.h <<\_ACEOF
46990 #define wxUSE_SPLINES 1
46991 _ACEOF
46992
46993 fi
46994
46995 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46996 cat >>confdefs.h <<\_ACEOF
46997 #define wxUSE_MOUSEWHEEL 1
46998 _ACEOF
46999
47000 fi
47001
47002 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47003 cat >>confdefs.h <<\_ACEOF
47004 #define wxUSE_UIACTIONSIMULATOR 1
47005 _ACEOF
47006
47007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47008 fi
47009
47010
47011 USES_CONTROLS=0
47012 if test "$wxUSE_CONTROLS" = "yes"; then
47013 USES_CONTROLS=1
47014 fi
47015
47016 if test "$wxUSE_ACCEL" = "yes"; then
47017 cat >>confdefs.h <<\_ACEOF
47018 #define wxUSE_ACCEL 1
47019 _ACEOF
47020
47021 USES_CONTROLS=1
47022 fi
47023
47024 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47025 cat >>confdefs.h <<\_ACEOF
47026 #define wxUSE_ANIMATIONCTRL 1
47027 _ACEOF
47028
47029 USES_CONTROLS=1
47030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47031 fi
47032
47033 if test "$wxUSE_BUTTON" = "yes"; then
47034 cat >>confdefs.h <<\_ACEOF
47035 #define wxUSE_BUTTON 1
47036 _ACEOF
47037
47038 USES_CONTROLS=1
47039 fi
47040
47041 if test "$wxUSE_BMPBUTTON" = "yes"; then
47042 cat >>confdefs.h <<\_ACEOF
47043 #define wxUSE_BMPBUTTON 1
47044 _ACEOF
47045
47046 USES_CONTROLS=1
47047 fi
47048
47049 if test "$wxUSE_CALCTRL" = "yes"; then
47050 cat >>confdefs.h <<\_ACEOF
47051 #define wxUSE_CALENDARCTRL 1
47052 _ACEOF
47053
47054 USES_CONTROLS=1
47055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47056 fi
47057
47058 if test "$wxUSE_CARET" = "yes"; then
47059 cat >>confdefs.h <<\_ACEOF
47060 #define wxUSE_CARET 1
47061 _ACEOF
47062
47063 USES_CONTROLS=1
47064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47065 fi
47066
47067 if test "$wxUSE_COLLPANE" = "yes"; then
47068 cat >>confdefs.h <<\_ACEOF
47069 #define wxUSE_COLLPANE 1
47070 _ACEOF
47071
47072 USES_CONTROLS=1
47073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47074 fi
47075
47076 if test "$wxUSE_COMBOBOX" = "yes"; then
47077 cat >>confdefs.h <<\_ACEOF
47078 #define wxUSE_COMBOBOX 1
47079 _ACEOF
47080
47081 USES_CONTROLS=1
47082 fi
47083
47084 if test "$wxUSE_COMBOCTRL" = "yes"; then
47085 cat >>confdefs.h <<\_ACEOF
47086 #define wxUSE_COMBOCTRL 1
47087 _ACEOF
47088
47089 USES_CONTROLS=1
47090 fi
47091
47092 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47093 cat >>confdefs.h <<\_ACEOF
47094 #define wxUSE_COMMANDLINKBUTTON 1
47095 _ACEOF
47096
47097 USES_CONTROLS=1
47098 fi
47099
47100 if test "$wxUSE_CHOICE" = "yes"; then
47101 cat >>confdefs.h <<\_ACEOF
47102 #define wxUSE_CHOICE 1
47103 _ACEOF
47104
47105 USES_CONTROLS=1
47106 fi
47107
47108 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47109 cat >>confdefs.h <<\_ACEOF
47110 #define wxUSE_CHOICEBOOK 1
47111 _ACEOF
47112
47113 USES_CONTROLS=1
47114 fi
47115
47116 if test "$wxUSE_CHECKBOX" = "yes"; then
47117 cat >>confdefs.h <<\_ACEOF
47118 #define wxUSE_CHECKBOX 1
47119 _ACEOF
47120
47121 USES_CONTROLS=1
47122 fi
47123
47124 if test "$wxUSE_CHECKLST" = "yes"; then
47125 cat >>confdefs.h <<\_ACEOF
47126 #define wxUSE_CHECKLISTBOX 1
47127 _ACEOF
47128
47129 USES_CONTROLS=1
47130 fi
47131
47132 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47133 cat >>confdefs.h <<\_ACEOF
47134 #define wxUSE_COLOURPICKERCTRL 1
47135 _ACEOF
47136
47137 USES_CONTROLS=1
47138 fi
47139
47140 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47141 cat >>confdefs.h <<\_ACEOF
47142 #define wxUSE_DATEPICKCTRL 1
47143 _ACEOF
47144
47145 USES_CONTROLS=1
47146 fi
47147
47148 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47149 cat >>confdefs.h <<\_ACEOF
47150 #define wxUSE_DIRPICKERCTRL 1
47151 _ACEOF
47152
47153 USES_CONTROLS=1
47154 fi
47155
47156 if test "$wxUSE_FILECTRL" = "yes"; then
47157 cat >>confdefs.h <<\_ACEOF
47158 #define wxUSE_FILECTRL 1
47159 _ACEOF
47160
47161 USES_CONTROLS=1
47162 fi
47163
47164 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47165 cat >>confdefs.h <<\_ACEOF
47166 #define wxUSE_FILEPICKERCTRL 1
47167 _ACEOF
47168
47169 USES_CONTROLS=1
47170 fi
47171
47172 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47173 cat >>confdefs.h <<\_ACEOF
47174 #define wxUSE_FONTPICKERCTRL 1
47175 _ACEOF
47176
47177 USES_CONTROLS=1
47178 fi
47179
47180 if test "$wxUSE_DISPLAY" = "yes"; then
47181 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47182 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47183 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47184 wxUSE_DISPLAY=no
47185 else
47186 cat >>confdefs.h <<\_ACEOF
47187 #define wxUSE_DISPLAY 1
47188 _ACEOF
47189
47190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47191 fi
47192 fi
47193
47194 if test "$wxUSE_DETECT_SM" = "yes"; then
47195 cat >>confdefs.h <<\_ACEOF
47196 #define wxUSE_DETECT_SM 1
47197 _ACEOF
47198
47199 fi
47200
47201 if test "$wxUSE_GAUGE" = "yes"; then
47202 cat >>confdefs.h <<\_ACEOF
47203 #define wxUSE_GAUGE 1
47204 _ACEOF
47205
47206 USES_CONTROLS=1
47207 fi
47208
47209 if test "$wxUSE_GRID" = "yes"; then
47210 cat >>confdefs.h <<\_ACEOF
47211 #define wxUSE_GRID 1
47212 _ACEOF
47213
47214 USES_CONTROLS=1
47215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47216 fi
47217
47218 if test "$wxUSE_HEADERCTRL" = "yes"; then
47219 cat >>confdefs.h <<\_ACEOF
47220 #define wxUSE_HEADERCTRL 1
47221 _ACEOF
47222
47223 USES_CONTROLS=1
47224 fi
47225
47226 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47227 cat >>confdefs.h <<\_ACEOF
47228 #define wxUSE_HYPERLINKCTRL 1
47229 _ACEOF
47230
47231 USES_CONTROLS=1
47232 fi
47233
47234 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47235 cat >>confdefs.h <<\_ACEOF
47236 #define wxUSE_BITMAPCOMBOBOX 1
47237 _ACEOF
47238
47239 USES_CONTROLS=1
47240 fi
47241
47242 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47243 cat >>confdefs.h <<\_ACEOF
47244 #define wxUSE_DATAVIEWCTRL 1
47245 _ACEOF
47246
47247 USES_CONTROLS=1
47248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47249 fi
47250
47251 if test "$wxUSE_IMAGLIST" = "yes"; then
47252 cat >>confdefs.h <<\_ACEOF
47253 #define wxUSE_IMAGLIST 1
47254 _ACEOF
47255
47256 fi
47257
47258 if test "$wxUSE_INFOBAR" = "yes"; then
47259 cat >>confdefs.h <<\_ACEOF
47260 #define wxUSE_INFOBAR 1
47261 _ACEOF
47262
47263 fi
47264
47265 if test "$wxUSE_LISTBOOK" = "yes"; then
47266 cat >>confdefs.h <<\_ACEOF
47267 #define wxUSE_LISTBOOK 1
47268 _ACEOF
47269
47270 USES_CONTROLS=1
47271 fi
47272
47273 if test "$wxUSE_LISTBOX" = "yes"; then
47274 cat >>confdefs.h <<\_ACEOF
47275 #define wxUSE_LISTBOX 1
47276 _ACEOF
47277
47278 USES_CONTROLS=1
47279 fi
47280
47281 if test "$wxUSE_LISTCTRL" = "yes"; then
47282 if test "$wxUSE_IMAGLIST" = "yes"; then
47283 cat >>confdefs.h <<\_ACEOF
47284 #define wxUSE_LISTCTRL 1
47285 _ACEOF
47286
47287 USES_CONTROLS=1
47288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47289 else
47290 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47291 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47292 fi
47293 fi
47294
47295 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47296 cat >>confdefs.h <<\_ACEOF
47297 #define wxUSE_EDITABLELISTBOX 1
47298 _ACEOF
47299
47300 USES_CONTROLS=1
47301 fi
47302
47303 if test "$wxUSE_NOTEBOOK" = "yes"; then
47304 cat >>confdefs.h <<\_ACEOF
47305 #define wxUSE_NOTEBOOK 1
47306 _ACEOF
47307
47308 USES_CONTROLS=1
47309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47310 fi
47311
47312 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47313 cat >>confdefs.h <<\_ACEOF
47314 #define wxUSE_NOTIFICATION_MESSAGE 1
47315 _ACEOF
47316
47317 fi
47318
47319 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47320 cat >>confdefs.h <<\_ACEOF
47321 #define wxUSE_ODCOMBOBOX 1
47322 _ACEOF
47323
47324 USES_CONTROLS=1
47325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47326 fi
47327
47328 if test "$wxUSE_RADIOBOX" = "yes"; then
47329 cat >>confdefs.h <<\_ACEOF
47330 #define wxUSE_RADIOBOX 1
47331 _ACEOF
47332
47333 USES_CONTROLS=1
47334 fi
47335
47336 if test "$wxUSE_RADIOBTN" = "yes"; then
47337 cat >>confdefs.h <<\_ACEOF
47338 #define wxUSE_RADIOBTN 1
47339 _ACEOF
47340
47341 USES_CONTROLS=1
47342 fi
47343
47344 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47345 cat >>confdefs.h <<\_ACEOF
47346 #define wxUSE_REARRANGECTRL 1
47347 _ACEOF
47348
47349 fi
47350
47351 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47352 cat >>confdefs.h <<\_ACEOF
47353 #define wxUSE_RICHMSGDLG 1
47354 _ACEOF
47355
47356 fi
47357
47358 if test "$wxUSE_SASH" = "yes"; then
47359 cat >>confdefs.h <<\_ACEOF
47360 #define wxUSE_SASH 1
47361 _ACEOF
47362
47363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47364 fi
47365
47366 if test "$wxUSE_SCROLLBAR" = "yes"; then
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_SCROLLBAR 1
47369 _ACEOF
47370
47371 USES_CONTROLS=1
47372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47373 fi
47374
47375 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47376 cat >>confdefs.h <<\_ACEOF
47377 #define wxUSE_SEARCHCTRL 1
47378 _ACEOF
47379
47380 USES_CONTROLS=1
47381 fi
47382
47383 if test "$wxUSE_SLIDER" = "yes"; then
47384 cat >>confdefs.h <<\_ACEOF
47385 #define wxUSE_SLIDER 1
47386 _ACEOF
47387
47388 USES_CONTROLS=1
47389 fi
47390
47391 if test "$wxUSE_SPINBTN" = "yes"; then
47392 cat >>confdefs.h <<\_ACEOF
47393 #define wxUSE_SPINBTN 1
47394 _ACEOF
47395
47396 USES_CONTROLS=1
47397 fi
47398
47399 if test "$wxUSE_SPINCTRL" = "yes"; then
47400 cat >>confdefs.h <<\_ACEOF
47401 #define wxUSE_SPINCTRL 1
47402 _ACEOF
47403
47404 USES_CONTROLS=1
47405 fi
47406
47407 if test "$wxUSE_SPLITTER" = "yes"; then
47408 cat >>confdefs.h <<\_ACEOF
47409 #define wxUSE_SPLITTER 1
47410 _ACEOF
47411
47412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47413 fi
47414
47415 if test "$wxUSE_STATBMP" = "yes"; then
47416 cat >>confdefs.h <<\_ACEOF
47417 #define wxUSE_STATBMP 1
47418 _ACEOF
47419
47420 USES_CONTROLS=1
47421 fi
47422
47423 if test "$wxUSE_STATBOX" = "yes"; then
47424 cat >>confdefs.h <<\_ACEOF
47425 #define wxUSE_STATBOX 1
47426 _ACEOF
47427
47428 USES_CONTROLS=1
47429 fi
47430
47431 if test "$wxUSE_STATTEXT" = "yes"; then
47432 cat >>confdefs.h <<\_ACEOF
47433 #define wxUSE_STATTEXT 1
47434 _ACEOF
47435
47436 USES_CONTROLS=1
47437 fi
47438
47439 if test "$wxUSE_STATLINE" = "yes"; then
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_STATLINE 1
47442 _ACEOF
47443
47444 USES_CONTROLS=1
47445 fi
47446
47447 if test "$wxUSE_STATUSBAR" = "yes"; then
47448 cat >>confdefs.h <<\_ACEOF
47449 #define wxUSE_NATIVE_STATUSBAR 1
47450 _ACEOF
47451
47452 cat >>confdefs.h <<\_ACEOF
47453 #define wxUSE_STATUSBAR 1
47454 _ACEOF
47455
47456 USES_CONTROLS=1
47457
47458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47459 fi
47460
47461 if test "$wxUSE_TEXTCTRL" = "yes"; then
47462 cat >>confdefs.h <<\_ACEOF
47463 #define wxUSE_TEXTCTRL 1
47464 _ACEOF
47465
47466 USES_CONTROLS=1
47467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47468
47469 cat >>confdefs.h <<\_ACEOF
47470 #define wxUSE_RICHEDIT 1
47471 _ACEOF
47472
47473 cat >>confdefs.h <<\_ACEOF
47474 #define wxUSE_RICHEDIT2 1
47475 _ACEOF
47476
47477 fi
47478
47479 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47480 if test "$wxUSE_OLD_COCOA" = 1 ; then
47481 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47482 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47483 wxUSE_TOGGLEBTN=no
47484 fi
47485
47486 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47487 cat >>confdefs.h <<\_ACEOF
47488 #define wxUSE_TOGGLEBTN 1
47489 _ACEOF
47490
47491 USES_CONTROLS=1
47492 fi
47493 fi
47494
47495 if test "$wxUSE_TOOLBAR" = "yes"; then
47496 cat >>confdefs.h <<\_ACEOF
47497 #define wxUSE_TOOLBAR 1
47498 _ACEOF
47499
47500 USES_CONTROLS=1
47501
47502 if test "$wxUSE_UNIVERSAL" = "yes"; then
47503 wxUSE_TOOLBAR_NATIVE="no"
47504 else
47505 wxUSE_TOOLBAR_NATIVE="yes"
47506 cat >>confdefs.h <<\_ACEOF
47507 #define wxUSE_TOOLBAR_NATIVE 1
47508 _ACEOF
47509
47510 fi
47511
47512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47513 fi
47514
47515 if test "$wxUSE_TOOLTIPS" = "yes"; then
47516 if test "$wxUSE_MOTIF" = 1; then
47517 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47518 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47519 else
47520 if test "$wxUSE_UNIVERSAL" = "yes"; then
47521 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47522 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47523 else
47524 cat >>confdefs.h <<\_ACEOF
47525 #define wxUSE_TOOLTIPS 1
47526 _ACEOF
47527
47528 fi
47529 fi
47530 fi
47531
47532 if test "$wxUSE_TREEBOOK" = "yes"; then
47533 cat >>confdefs.h <<\_ACEOF
47534 #define wxUSE_TREEBOOK 1
47535 _ACEOF
47536
47537 USES_CONTROLS=1
47538 fi
47539
47540 if test "$wxUSE_TOOLBOOK" = "yes"; then
47541 cat >>confdefs.h <<\_ACEOF
47542 #define wxUSE_TOOLBOOK 1
47543 _ACEOF
47544
47545 USES_CONTROLS=1
47546 fi
47547
47548 if test "$wxUSE_TREECTRL" = "yes"; then
47549 if test "$wxUSE_IMAGLIST" = "yes"; then
47550 cat >>confdefs.h <<\_ACEOF
47551 #define wxUSE_TREECTRL 1
47552 _ACEOF
47553
47554 USES_CONTROLS=1
47555 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47556 else
47557 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47558 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47559 fi
47560 fi
47561
47562 if test "$wxUSE_POPUPWIN" = "yes"; then
47563 if test "$wxUSE_OLD_COCOA" = 1 ; then
47564 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47565 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47566 else
47567 if test "$wxUSE_PM" = 1; then
47568 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47569 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47570 else
47571 cat >>confdefs.h <<\_ACEOF
47572 #define wxUSE_POPUPWIN 1
47573 _ACEOF
47574
47575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47576
47577 USES_CONTROLS=1
47578 fi
47579 fi
47580 fi
47581
47582 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47583 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47584 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47585 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47586 else
47587 cat >>confdefs.h <<\_ACEOF
47588 #define wxUSE_DIALUP_MANAGER 1
47589 _ACEOF
47590
47591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47592 fi
47593 fi
47594
47595 if test "$wxUSE_TIPWINDOW" = "yes"; then
47596 if test "$wxUSE_PM" = 1; then
47597 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47598 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47599 else
47600 cat >>confdefs.h <<\_ACEOF
47601 #define wxUSE_TIPWINDOW 1
47602 _ACEOF
47603
47604 fi
47605 fi
47606
47607 if test "$USES_CONTROLS" = 1; then
47608 cat >>confdefs.h <<\_ACEOF
47609 #define wxUSE_CONTROLS 1
47610 _ACEOF
47611
47612 fi
47613
47614
47615 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47616 cat >>confdefs.h <<\_ACEOF
47617 #define wxUSE_ACCESSIBILITY 1
47618 _ACEOF
47619
47620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47621 fi
47622
47623 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47624 cat >>confdefs.h <<\_ACEOF
47625 #define wxUSE_ARTPROVIDER_STD 1
47626 _ACEOF
47627
47628 fi
47629
47630 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47631 if test "$wxUSE_GTK" != 1; then
47632 if test "$wxUSE_LIBPNG" != no -a \
47633 "$wxUSE_IMAGE" = yes -a \
47634 "$wxUSE_STREAMS" = yes; then
47635 wxUSE_ARTPROVIDER_TANGO="yes"
47636 fi
47637 fi
47638 fi
47639
47640 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47641 cat >>confdefs.h <<\_ACEOF
47642 #define wxUSE_ARTPROVIDER_TANGO 1
47643 _ACEOF
47644
47645 fi
47646
47647 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47648 cat >>confdefs.h <<\_ACEOF
47649 #define wxUSE_DRAGIMAGE 1
47650 _ACEOF
47651
47652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47653 fi
47654
47655 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47656 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47657 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47658 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47659 else
47660 cat >>confdefs.h <<\_ACEOF
47661 #define wxUSE_EXCEPTIONS 1
47662 _ACEOF
47663
47664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47665 fi
47666 fi
47667
47668 USE_HTML=0
47669 if test "$wxUSE_HTML" = "yes"; then
47670 cat >>confdefs.h <<\_ACEOF
47671 #define wxUSE_HTML 1
47672 _ACEOF
47673
47674 USE_HTML=1
47675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47676 fi
47677 if test "$wxUSE_WEBKIT" = "yes"; then
47678 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47679 old_CPPFLAGS="$CPPFLAGS"
47680 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47681 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47682 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47683 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47684 echo $ECHO_N "(cached) $ECHO_C" >&6
47685 else
47686 cat >conftest.$ac_ext <<_ACEOF
47687 /* confdefs.h. */
47688 _ACEOF
47689 cat confdefs.h >>conftest.$ac_ext
47690 cat >>conftest.$ac_ext <<_ACEOF
47691 /* end confdefs.h. */
47692
47693 #include <Carbon/Carbon.h>
47694 #include <WebKit/WebKit.h>
47695
47696
47697 #include <WebKit/HIWebView.h>
47698 _ACEOF
47699 rm -f conftest.$ac_objext
47700 if { (ac_try="$ac_compile"
47701 case "(($ac_try" in
47702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47703 *) ac_try_echo=$ac_try;;
47704 esac
47705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47706 (eval "$ac_compile") 2>conftest.er1
47707 ac_status=$?
47708 grep -v '^ *+' conftest.er1 >conftest.err
47709 rm -f conftest.er1
47710 cat conftest.err >&5
47711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47712 (exit $ac_status); } && {
47713 test -z "$ac_c_werror_flag" ||
47714 test ! -s conftest.err
47715 } && test -s conftest.$ac_objext; then
47716 ac_cv_header_WebKit_HIWebView_h=yes
47717 else
47718 echo "$as_me: failed program was:" >&5
47719 sed 's/^/| /' conftest.$ac_ext >&5
47720
47721 ac_cv_header_WebKit_HIWebView_h=no
47722 fi
47723
47724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47725 fi
47726 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47727 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47728 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47729
47730 cat >>confdefs.h <<\_ACEOF
47731 #define wxUSE_WEBKIT 1
47732 _ACEOF
47733
47734 WEBKIT_LINK="-framework WebKit"
47735
47736 else
47737
47738 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47739 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47740 wxUSE_WEBKIT=no
47741
47742 fi
47743
47744
47745 CPPFLAGS="$old_CPPFLAGS"
47746 elif test "$wxUSE_OLD_COCOA" = 1; then
47747 cat >>confdefs.h <<\_ACEOF
47748 #define wxUSE_WEBKIT 1
47749 _ACEOF
47750
47751 else
47752 wxUSE_WEBKIT=no
47753 fi
47754 if test "$wxUSE_WEBKIT" = "yes"; then
47755 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47756 fi
47757 fi
47758
47759 USE_XRC=0
47760 if test "$wxUSE_XRC" = "yes"; then
47761 if test "$wxUSE_XML" != "yes"; then
47762 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47763 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47764 wxUSE_XRC=no
47765 else
47766 cat >>confdefs.h <<\_ACEOF
47767 #define wxUSE_XRC 1
47768 _ACEOF
47769
47770 USE_XRC=1
47771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47772 fi
47773 fi
47774
47775 USE_AUI=0
47776 if test "$wxUSE_AUI" = "yes"; then
47777 cat >>confdefs.h <<\_ACEOF
47778 #define wxUSE_AUI 1
47779 _ACEOF
47780
47781 USE_AUI=1
47782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47783 fi
47784
47785 USE_PROPGRID=0
47786 if test "$wxUSE_PROPGRID" = "yes"; then
47787 cat >>confdefs.h <<\_ACEOF
47788 #define wxUSE_PROPGRID 1
47789 _ACEOF
47790
47791 USE_PROPGRID=1
47792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47793 fi
47794
47795 USE_RIBBON=0
47796 if test "$wxUSE_RIBBON" = "yes"; then
47797 cat >>confdefs.h <<\_ACEOF
47798 #define wxUSE_RIBBON 1
47799 _ACEOF
47800
47801 USE_RIBBON=1
47802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47803 fi
47804
47805 USE_STC=0
47806 if test "$wxUSE_STC" = "yes"; then
47807 cat >>confdefs.h <<\_ACEOF
47808 #define wxUSE_STC 1
47809 _ACEOF
47810
47811 USE_STC=1
47812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47813
47814 # Extract the first word of "python", so it can be a program name with args.
47815 set dummy python; ac_word=$2
47816 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47818 if test "${ac_cv_path_PYTHON+set}" = set; then
47819 echo $ECHO_N "(cached) $ECHO_C" >&6
47820 else
47821 case $PYTHON in
47822 [\\/]* | ?:[\\/]*)
47823 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47824 ;;
47825 *)
47826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47827 for as_dir in $PATH
47828 do
47829 IFS=$as_save_IFS
47830 test -z "$as_dir" && as_dir=.
47831 for ac_exec_ext in '' $ac_executable_extensions; do
47832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47833 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47835 break 2
47836 fi
47837 done
47838 done
47839 IFS=$as_save_IFS
47840
47841 ;;
47842 esac
47843 fi
47844 PYTHON=$ac_cv_path_PYTHON
47845 if test -n "$PYTHON"; then
47846 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47847 echo "${ECHO_T}$PYTHON" >&6; }
47848 else
47849 { echo "$as_me:$LINENO: result: no" >&5
47850 echo "${ECHO_T}no" >&6; }
47851 fi
47852
47853
47854 if test "x$PYTHON" = "x"; then
47855 COND_PYTHON="#"
47856 fi
47857
47858 fi
47859
47860 if test "$wxUSE_MENUS" = "yes"; then
47861 cat >>confdefs.h <<\_ACEOF
47862 #define wxUSE_MENUS 1
47863 _ACEOF
47864
47865 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47866 fi
47867
47868 if test "$wxUSE_METAFILE" = "yes"; then
47869 cat >>confdefs.h <<\_ACEOF
47870 #define wxUSE_METAFILE 1
47871 _ACEOF
47872
47873 fi
47874
47875 if test "$wxUSE_MIMETYPE" = "yes"; then
47876 cat >>confdefs.h <<\_ACEOF
47877 #define wxUSE_MIMETYPE 1
47878 _ACEOF
47879
47880 fi
47881
47882 if test "$wxUSE_MINIFRAME" = "yes"; then
47883 cat >>confdefs.h <<\_ACEOF
47884 #define wxUSE_MINIFRAME 1
47885 _ACEOF
47886
47887 fi
47888
47889 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47890 cat >>confdefs.h <<\_ACEOF
47891 #define wxUSE_SYSTEM_OPTIONS 1
47892 _ACEOF
47893
47894 fi
47895
47896 if test "$wxUSE_TASKBARICON" = "yes"; then
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_TASKBARICON 1
47899 _ACEOF
47900
47901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47902 fi
47903
47904
47905 if test "$wxUSE_VALIDATORS" = "yes"; then
47906 cat >>confdefs.h <<\_ACEOF
47907 #define wxUSE_VALIDATORS 1
47908 _ACEOF
47909
47910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47911 fi
47912
47913 if test "$wxUSE_PALETTE" = "yes" ; then
47914 if test "$wxUSE_DFB" = 1; then
47915 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47916 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47917 wxUSE_PALETTE=no
47918 else
47919 cat >>confdefs.h <<\_ACEOF
47920 #define wxUSE_PALETTE 1
47921 _ACEOF
47922
47923 fi
47924 fi
47925
47926 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47927 LIBS=" -lunicows $LIBS"
47928 fi
47929
47930 USE_RICHTEXT=0
47931 if test "$wxUSE_RICHTEXT" = "yes"; then
47932 cat >>confdefs.h <<\_ACEOF
47933 #define wxUSE_RICHTEXT 1
47934 _ACEOF
47935
47936 USE_RICHTEXT=1
47937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47938 fi
47939
47940
47941 if test "$wxUSE_IMAGE" = "yes" ; then
47942 cat >>confdefs.h <<\_ACEOF
47943 #define wxUSE_IMAGE 1
47944 _ACEOF
47945
47946
47947 if test "$wxUSE_GIF" = "yes" ; then
47948 cat >>confdefs.h <<\_ACEOF
47949 #define wxUSE_GIF 1
47950 _ACEOF
47951
47952 fi
47953
47954 if test "$wxUSE_PCX" = "yes" ; then
47955 cat >>confdefs.h <<\_ACEOF
47956 #define wxUSE_PCX 1
47957 _ACEOF
47958
47959 fi
47960
47961 if test "$wxUSE_TGA" = "yes" ; then
47962 cat >>confdefs.h <<\_ACEOF
47963 #define wxUSE_TGA 1
47964 _ACEOF
47965
47966 fi
47967
47968 if test "$wxUSE_IFF" = "yes" ; then
47969 cat >>confdefs.h <<\_ACEOF
47970 #define wxUSE_IFF 1
47971 _ACEOF
47972
47973 fi
47974
47975 if test "$wxUSE_PNM" = "yes" ; then
47976 cat >>confdefs.h <<\_ACEOF
47977 #define wxUSE_PNM 1
47978 _ACEOF
47979
47980 fi
47981
47982 if test "$wxUSE_XPM" = "yes" ; then
47983 cat >>confdefs.h <<\_ACEOF
47984 #define wxUSE_XPM 1
47985 _ACEOF
47986
47987 fi
47988
47989 if test "$wxUSE_ICO_CUR" = "yes" ; then
47990 cat >>confdefs.h <<\_ACEOF
47991 #define wxUSE_ICO_CUR 1
47992 _ACEOF
47993
47994 fi
47995 fi
47996
47997
47998 if test "$wxUSE_ABOUTDLG" = "yes"; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_ABOUTDLG 1
48001 _ACEOF
48002
48003 fi
48004
48005 if test "$wxUSE_CHOICEDLG" = "yes"; then
48006 cat >>confdefs.h <<\_ACEOF
48007 #define wxUSE_CHOICEDLG 1
48008 _ACEOF
48009
48010 fi
48011
48012 if test "$wxUSE_COLOURDLG" = "yes"; then
48013 cat >>confdefs.h <<\_ACEOF
48014 #define wxUSE_COLOURDLG 1
48015 _ACEOF
48016
48017 fi
48018
48019 if test "$wxUSE_FILEDLG" = "yes"; then
48020 cat >>confdefs.h <<\_ACEOF
48021 #define wxUSE_FILEDLG 1
48022 _ACEOF
48023
48024 fi
48025
48026 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48027 cat >>confdefs.h <<\_ACEOF
48028 #define wxUSE_FINDREPLDLG 1
48029 _ACEOF
48030
48031 fi
48032
48033 if test "$wxUSE_FONTDLG" = "yes"; then
48034 cat >>confdefs.h <<\_ACEOF
48035 #define wxUSE_FONTDLG 1
48036 _ACEOF
48037
48038 fi
48039
48040 if test "$wxUSE_DIRDLG" = "yes"; then
48041 if test "$wxUSE_TREECTRL" != "yes"; then
48042 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48043 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48044 else
48045 cat >>confdefs.h <<\_ACEOF
48046 #define wxUSE_DIRDLG 1
48047 _ACEOF
48048
48049 fi
48050 fi
48051
48052 if test "$wxUSE_MSGDLG" = "yes"; then
48053 cat >>confdefs.h <<\_ACEOF
48054 #define wxUSE_MSGDLG 1
48055 _ACEOF
48056
48057 fi
48058
48059 if test "$wxUSE_NUMBERDLG" = "yes"; then
48060 cat >>confdefs.h <<\_ACEOF
48061 #define wxUSE_NUMBERDLG 1
48062 _ACEOF
48063
48064 fi
48065
48066 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48067 cat >>confdefs.h <<\_ACEOF
48068 #define wxUSE_PROGRESSDLG 1
48069 _ACEOF
48070
48071 fi
48072
48073 if test "$wxUSE_SPLASH" = "yes"; then
48074 cat >>confdefs.h <<\_ACEOF
48075 #define wxUSE_SPLASH 1
48076 _ACEOF
48077
48078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48079 fi
48080
48081 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48082 cat >>confdefs.h <<\_ACEOF
48083 #define wxUSE_STARTUP_TIPS 1
48084 _ACEOF
48085
48086 fi
48087
48088 if test "$wxUSE_TEXTDLG" = "yes"; then
48089 cat >>confdefs.h <<\_ACEOF
48090 #define wxUSE_TEXTDLG 1
48091 _ACEOF
48092
48093 fi
48094
48095 if test "$wxUSE_WIZARDDLG" = "yes"; then
48096 cat >>confdefs.h <<\_ACEOF
48097 #define wxUSE_WIZARDDLG 1
48098 _ACEOF
48099
48100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48101 fi
48102
48103
48104 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48105 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48106 cat >>confdefs.h <<\_ACEOF
48107 #define wxUSE_OWNER_DRAWN 1
48108 _ACEOF
48109
48110 fi
48111 fi
48112
48113
48114 if test "$wxUSE_MSW" = 1 ; then
48115
48116 if test "$wxUSE_DC_CACHEING" = "yes"; then
48117 cat >>confdefs.h <<\_ACEOF
48118 #define wxUSE_DC_CACHEING 1
48119 _ACEOF
48120
48121 fi
48122
48123 if test "$wxUSE_DIB" = "yes"; then
48124 cat >>confdefs.h <<\_ACEOF
48125 #define wxUSE_WXDIB 1
48126 _ACEOF
48127
48128 fi
48129
48130 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48131 cat >>confdefs.h <<\_ACEOF
48132 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48133 _ACEOF
48134
48135 fi
48136
48137 if test "$wxUSE_UXTHEME" = "yes"; then
48138 cat >>confdefs.h <<\_ACEOF
48139 #define wxUSE_UXTHEME 1
48140 _ACEOF
48141
48142 fi
48143
48144 fi
48145
48146 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48147 cat >>confdefs.h <<\_ACEOF
48148 #define wxUSE_AUTOID_MANAGEMENT 1
48149 _ACEOF
48150
48151 fi
48152
48153 if test "$USE_WIN32" = 1 ; then
48154 if test "$wxUSE_INICONF" = "yes"; then
48155 cat >>confdefs.h <<\_ACEOF
48156 #define wxUSE_INICONF 1
48157 _ACEOF
48158
48159 fi
48160
48161 if test "$wxUSE_REGKEY" = "yes"; then
48162 cat >>confdefs.h <<\_ACEOF
48163 #define wxUSE_REGKEY 1
48164 _ACEOF
48165
48166 fi
48167 fi
48168
48169
48170 if test "$wxUSE_MAC" = 1; then
48171 wxUSE_GRAPHICS_CONTEXT="yes"
48172 fi
48173
48174 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48175 wx_has_graphics=0
48176 if test "$wxUSE_MSW" = 1; then
48177 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48178 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48179 if test "${wx_cv_lib_gdiplus+set}" = set; then
48180 echo $ECHO_N "(cached) $ECHO_C" >&6
48181 else
48182
48183 ac_ext=cpp
48184 ac_cpp='$CXXCPP $CPPFLAGS'
48185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48188
48189 cat >conftest.$ac_ext <<_ACEOF
48190 /* confdefs.h. */
48191 _ACEOF
48192 cat confdefs.h >>conftest.$ac_ext
48193 cat >>conftest.$ac_ext <<_ACEOF
48194 /* end confdefs.h. */
48195 #include <windows.h>
48196 #include <gdiplus.h>
48197 int
48198 main ()
48199 {
48200
48201 using namespace Gdiplus;
48202
48203 ;
48204 return 0;
48205 }
48206 _ACEOF
48207 rm -f conftest.$ac_objext
48208 if { (ac_try="$ac_compile"
48209 case "(($ac_try" in
48210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48211 *) ac_try_echo=$ac_try;;
48212 esac
48213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48214 (eval "$ac_compile") 2>conftest.er1
48215 ac_status=$?
48216 grep -v '^ *+' conftest.er1 >conftest.err
48217 rm -f conftest.er1
48218 cat conftest.err >&5
48219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48220 (exit $ac_status); } && {
48221 test -z "$ac_cxx_werror_flag" ||
48222 test ! -s conftest.err
48223 } && test -s conftest.$ac_objext; then
48224 wx_cv_lib_gdiplus=yes
48225 else
48226 echo "$as_me: failed program was:" >&5
48227 sed 's/^/| /' conftest.$ac_ext >&5
48228
48229 wx_cv_lib_gdiplus=no
48230
48231 fi
48232
48233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48234 ac_ext=c
48235 ac_cpp='$CPP $CPPFLAGS'
48236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48239
48240
48241
48242 fi
48243 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48244 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48245 if test "$wx_cv_lib_gdiplus" = "yes"; then
48246 wx_has_graphics=1
48247 fi
48248 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48249
48250 pkg_failed=no
48251 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48252 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48253
48254 if test -n "$PKG_CONFIG"; then
48255 if test -n "$CAIRO_CFLAGS"; then
48256 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48257 else
48258 if test -n "$PKG_CONFIG" && \
48259 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48260 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48261 ac_status=$?
48262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48263 (exit $ac_status); }; then
48264 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48265 else
48266 pkg_failed=yes
48267 fi
48268 fi
48269 else
48270 pkg_failed=untried
48271 fi
48272 if test -n "$PKG_CONFIG"; then
48273 if test -n "$CAIRO_LIBS"; then
48274 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48275 else
48276 if test -n "$PKG_CONFIG" && \
48277 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48278 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48279 ac_status=$?
48280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48281 (exit $ac_status); }; then
48282 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48283 else
48284 pkg_failed=yes
48285 fi
48286 fi
48287 else
48288 pkg_failed=untried
48289 fi
48290
48291
48292
48293 if test $pkg_failed = yes; then
48294
48295 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48296 _pkg_short_errors_supported=yes
48297 else
48298 _pkg_short_errors_supported=no
48299 fi
48300 if test $_pkg_short_errors_supported = yes; then
48301 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48302 else
48303 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48304 fi
48305 # Put the nasty error message in config.log where it belongs
48306 echo "$CAIRO_PKG_ERRORS" >&5
48307
48308 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48309 echo "$as_me: WARNING: Cairo library not found" >&2;}
48310
48311 elif test $pkg_failed = untried; then
48312 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48313 echo "$as_me: WARNING: Cairo library not found" >&2;}
48314
48315 else
48316 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48317 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48318 { echo "$as_me:$LINENO: result: yes" >&5
48319 echo "${ECHO_T}yes" >&6; }
48320 wx_has_graphics=1
48321 fi
48322 if test "$wx_has_graphics" = 1; then
48323 cat >>confdefs.h <<\_ACEOF
48324 #define wxUSE_CAIRO 1
48325 _ACEOF
48326
48327
48328 if test "$wxUSE_GTK" != 1; then
48329 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48330 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48331 fi
48332 fi
48333 else
48334 wx_has_graphics=1
48335 fi
48336
48337 if test "$wx_has_graphics" = 1; then
48338 cat >>confdefs.h <<\_ACEOF
48339 #define wxUSE_GRAPHICS_CONTEXT 1
48340 _ACEOF
48341
48342 else
48343 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48344 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48345 fi
48346 fi
48347
48348
48349 USE_MEDIA=0
48350
48351 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48352 USE_MEDIA=1
48353
48354 if test "$wxUSE_GTK" = 1; then
48355 wxUSE_GSTREAMER="no"
48356
48357 GST_VERSION_MAJOR=0
48358 GST_VERSION_MINOR=10
48359 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48360
48361 if test "$wxUSE_GSTREAMER8" = "no"; then
48362
48363 pkg_failed=no
48364 { echo "$as_me:$LINENO: checking for GST" >&5
48365 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48366
48367 if test -n "$PKG_CONFIG"; then
48368 if test -n "$GST_CFLAGS"; then
48369 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48370 else
48371 if test -n "$PKG_CONFIG" && \
48372 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48373 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48374 ac_status=$?
48375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48376 (exit $ac_status); }; then
48377 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48378 else
48379 pkg_failed=yes
48380 fi
48381 fi
48382 else
48383 pkg_failed=untried
48384 fi
48385 if test -n "$PKG_CONFIG"; then
48386 if test -n "$GST_LIBS"; then
48387 pkg_cv_GST_LIBS="$GST_LIBS"
48388 else
48389 if test -n "$PKG_CONFIG" && \
48390 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48391 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48392 ac_status=$?
48393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48394 (exit $ac_status); }; then
48395 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48396 else
48397 pkg_failed=yes
48398 fi
48399 fi
48400 else
48401 pkg_failed=untried
48402 fi
48403
48404
48405
48406 if test $pkg_failed = yes; then
48407
48408 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48409 _pkg_short_errors_supported=yes
48410 else
48411 _pkg_short_errors_supported=no
48412 fi
48413 if test $_pkg_short_errors_supported = yes; then
48414 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48415 else
48416 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48417 fi
48418 # Put the nasty error message in config.log where it belongs
48419 echo "$GST_PKG_ERRORS" >&5
48420
48421
48422 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48423 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48424 GST_VERSION_MINOR=8
48425
48426
48427 elif test $pkg_failed = untried; then
48428
48429 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48430 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48431 GST_VERSION_MINOR=8
48432
48433
48434 else
48435 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48436 GST_LIBS=$pkg_cv_GST_LIBS
48437 { echo "$as_me:$LINENO: result: yes" >&5
48438 echo "${ECHO_T}yes" >&6; }
48439
48440 wxUSE_GSTREAMER="yes"
48441 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48442
48443 fi
48444 else
48445 GST_VERSION_MINOR=8
48446 fi
48447
48448 if test $GST_VERSION_MINOR = "8"; then
48449 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48450
48451 pkg_failed=no
48452 { echo "$as_me:$LINENO: checking for GST" >&5
48453 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48454
48455 if test -n "$PKG_CONFIG"; then
48456 if test -n "$GST_CFLAGS"; then
48457 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48458 else
48459 if test -n "$PKG_CONFIG" && \
48460 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48461 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48462 ac_status=$?
48463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48464 (exit $ac_status); }; then
48465 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48466 else
48467 pkg_failed=yes
48468 fi
48469 fi
48470 else
48471 pkg_failed=untried
48472 fi
48473 if test -n "$PKG_CONFIG"; then
48474 if test -n "$GST_LIBS"; then
48475 pkg_cv_GST_LIBS="$GST_LIBS"
48476 else
48477 if test -n "$PKG_CONFIG" && \
48478 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48479 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48480 ac_status=$?
48481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48482 (exit $ac_status); }; then
48483 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48484 else
48485 pkg_failed=yes
48486 fi
48487 fi
48488 else
48489 pkg_failed=untried
48490 fi
48491
48492
48493
48494 if test $pkg_failed = yes; then
48495
48496 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48497 _pkg_short_errors_supported=yes
48498 else
48499 _pkg_short_errors_supported=no
48500 fi
48501 if test $_pkg_short_errors_supported = yes; then
48502 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48503 else
48504 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48505 fi
48506 # Put the nasty error message in config.log where it belongs
48507 echo "$GST_PKG_ERRORS" >&5
48508
48509
48510 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48511 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48512
48513 elif test $pkg_failed = untried; then
48514
48515 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48516 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48517
48518 else
48519 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48520 GST_LIBS=$pkg_cv_GST_LIBS
48521 { echo "$as_me:$LINENO: result: yes" >&5
48522 echo "${ECHO_T}yes" >&6; }
48523 wxUSE_GSTREAMER="yes"
48524 fi
48525 fi
48526
48527
48528 if test "$wxUSE_GSTREAMER" = "yes"; then
48529 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48530 EXTRALIBS_MEDIA="$GST_LIBS"
48531
48532 cat >>confdefs.h <<\_ACEOF
48533 #define wxUSE_GSTREAMER 1
48534 _ACEOF
48535
48536 else
48537 USE_MEDIA=0
48538 fi
48539 fi
48540
48541 if test $USE_MEDIA = 1; then
48542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48543 cat >>confdefs.h <<\_ACEOF
48544 #define wxUSE_MEDIACTRL 1
48545 _ACEOF
48546
48547 else
48548 if test "$wxUSE_MEDIACTRL" = "yes"; then
48549 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48550 echo "$as_me: error: GStreamer not available" >&2;}
48551 { (exit 1); exit 1; }; }
48552 else
48553 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48554 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48555 fi
48556 fi
48557 fi
48558
48559
48560 if test "$cross_compiling" != "no"; then
48561 OSINFO="\"$host\""
48562 else
48563 OSINFO=`uname -s -r -m`
48564 OSINFO="\"$OSINFO\""
48565 fi
48566
48567 cat >>confdefs.h <<_ACEOF
48568 #define WXWIN_OS_DESCRIPTION $OSINFO
48569 _ACEOF
48570
48571
48572
48573 if test "x$prefix" != "xNONE"; then
48574 wxPREFIX=$prefix
48575 else
48576 wxPREFIX=$ac_default_prefix
48577 fi
48578
48579 cat >>confdefs.h <<_ACEOF
48580 #define wxINSTALL_PREFIX "$wxPREFIX"
48581 _ACEOF
48582
48583
48584
48585
48586 STD_BASE_LIBS="base"
48587 STD_GUI_LIBS=""
48588 BUILT_WX_LIBS="base"
48589 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48590
48591 if test "$wxUSE_SOCKETS" = "yes" ; then
48592 STD_BASE_LIBS="net $STD_BASE_LIBS"
48593 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48594 fi
48595 if test "$wxUSE_XML" = "yes" ; then
48596 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48597 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48598 fi
48599
48600 if test "$wxUSE_GUI" = "yes"; then
48601 STD_GUI_LIBS="adv core"
48602 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48603
48604 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48605 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48606 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48607 fi
48608 if test "$wxUSE_HTML" = "yes" ; then
48609 STD_GUI_LIBS="html $STD_GUI_LIBS"
48610 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48611 fi
48612 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48613 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48614 fi
48615 if test "$wxUSE_OPENGL" = "yes" ; then
48616 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48617 fi
48618 if test "$wxUSE_AUI" = "yes" ; then
48619 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48620 fi
48621 if test "$wxUSE_PROPGRID" = "yes" ; then
48622 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48623 fi
48624 if test "$wxUSE_RIBBON" = "yes" ; then
48625 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48626 fi
48627 if test "$wxUSE_RICHTEXT" = "yes" ; then
48628 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48629 fi
48630 if test "$wxUSE_STC" = "yes" ; then
48631 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48632 fi
48633 if test "$wxUSE_XRC" = "yes" ; then
48634 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48635 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48636 fi
48637 fi
48638
48639
48640
48641
48642
48643
48644
48645 EXTRA_FRAMEWORKS=
48646 if test "$wxUSE_MAC" = 1 ; then
48647 if test "$USE_DARWIN" = 1; then
48648 if test "$wxUSE_OSX_IPHONE" = 1; then
48649 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48650 else
48651 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48652 fi
48653 fi
48654 fi
48655 if test "$wxUSE_OLD_COCOA" = 1 ; then
48656 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48657 if test "$wxUSE_MEDIACTRL" = "yes"; then
48658 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48659 fi
48660 fi
48661 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48662 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48663 fi
48664
48665 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48666 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48667
48668 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48669
48670 if test "$wxUSE_GUI" = "yes"; then
48671
48672
48673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48674 erase event exec font image minimal render \
48675 shaped svg taborder vscroll widgets wrapsizer"
48676
48677 if test "$wxUSE_MONOLITHIC" != "yes"; then
48678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48679 fi
48680 if test "$TOOLKIT" = "MSW"; then
48681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48682 if test "$wxUSE_UNIVERSAL" != "yes"; then
48683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48684 fi
48685 fi
48686 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48688 fi
48689 else
48690 SAMPLES_SUBDIRS="console"
48691 if test "$wxUSE_SOCKETS" = "yes" ; then
48692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48693 fi
48694 if test "$wxUSE_IPC" = "yes" ; then
48695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48696 fi
48697 fi
48698
48699
48700 if test "x$INTELCC" = "xyes" ; then
48701 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48702 elif test "$GCC" = yes ; then
48703 CWARNINGS="-Wall -Wundef"
48704 fi
48705
48706 if test "x$INTELCXX" = "xyes" ; then
48707 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48708 elif test "$GXX" = yes ; then
48709 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48710 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48711 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48712 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48713 echo $ECHO_N "(cached) $ECHO_C" >&6
48714 else
48715 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48716
48717 ac_ext=cpp
48718 ac_cpp='$CXXCPP $CPPFLAGS'
48719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48722
48723 ac_save_CXXFLAGS="$CXXFLAGS"
48724 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48725 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48726 cat >conftest.$ac_ext <<_ACEOF
48727 /* confdefs.h. */
48728 _ACEOF
48729 cat confdefs.h >>conftest.$ac_ext
48730 cat >>conftest.$ac_ext <<_ACEOF
48731 /* end confdefs.h. */
48732
48733 int
48734 main ()
48735 {
48736 return 0;
48737 ;
48738 return 0;
48739 }
48740 _ACEOF
48741 rm -f conftest.$ac_objext
48742 if { (ac_try="$ac_compile"
48743 case "(($ac_try" in
48744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48745 *) ac_try_echo=$ac_try;;
48746 esac
48747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48748 (eval "$ac_compile") 2>conftest.er1
48749 ac_status=$?
48750 grep -v '^ *+' conftest.er1 >conftest.err
48751 rm -f conftest.er1
48752 cat conftest.err >&5
48753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48754 (exit $ac_status); } && {
48755 test -z "$ac_cxx_werror_flag" ||
48756 test ! -s conftest.err
48757 } && test -s conftest.$ac_objext; then
48758 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
48759 else
48760 echo "$as_me: failed program was:" >&5
48761 sed 's/^/| /' conftest.$ac_ext >&5
48762
48763
48764 fi
48765
48766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48767 done
48768 CXXFLAGS="$ac_save_CXXFLAGS"
48769 ac_ext=c
48770 ac_cpp='$CPP $CPPFLAGS'
48771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48774
48775
48776 fi
48777 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48778 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48779 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48780 .ok|.ok,*) ;;
48781 .|.no|.no,*) ;;
48782 *)
48783 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48784 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48785 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48786 ac_status=$?
48787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48788 (exit $ac_status); }
48789 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48790 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48791 ac_status=$?
48792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48793 (exit $ac_status); }
48794 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48795 fi
48796 ;;
48797 esac
48798
48799
48800 if test "$wxUSE_MAC" = 1 ; then
48801 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48802 fi
48803 fi
48804
48805
48806 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48807 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48808
48809
48810 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48811 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48812 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48813 $CPPFLAGS `
48814
48815 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48816 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48817 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48818 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48819 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48820
48821 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48822
48823
48824 if test "x$MWCC" = "xyes"; then
48825
48826 CC="$CC -cwd source -I-"
48827 CXX="$CXX -cwd source -I-"
48828 fi
48829
48830
48831 LIBS=`echo $LIBS`
48832 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48833 EXTRALIBS_XML="$EXPAT_LINK"
48834 EXTRALIBS_HTML="$MSPACK_LINK"
48835 EXTRALIBS_MEDIA="$GST_LIBS"
48836 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48837 if test "$wxUSE_GUI" = "yes"; then
48838 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48839 fi
48840 if test "$wxUSE_OPENGL" = "yes"; then
48841 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48842 fi
48843
48844 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48845
48846 WXCONFIG_LIBS="$LIBS"
48847
48848 if test "$wxUSE_REGEX" = "builtin" ; then
48849 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48850 fi
48851 if test "$wxUSE_EXPAT" = "builtin" ; then
48852 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48853 fi
48854 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48855 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48856 fi
48857 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48858 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48859 fi
48860 if test "$wxUSE_LIBPNG" = "builtin" ; then
48861 wxconfig_3rdparty="png $wxconfig_3rdparty"
48862 fi
48863 if test "$wxUSE_ZLIB" = "builtin" ; then
48864 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48865 fi
48866
48867 for i in $wxconfig_3rdparty ; do
48868 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48869 done
48870
48871
48872 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48873 WXUNIV=1
48874
48875 case "$wxUNIV_THEMES" in
48876 ''|all)
48877 cat >>confdefs.h <<\_ACEOF
48878 #define wxUSE_ALL_THEMES 1
48879 _ACEOF
48880
48881 ;;
48882
48883 *)
48884 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48885 cat >>confdefs.h <<_ACEOF
48886 #define wxUSE_THEME_$t 1
48887 _ACEOF
48888
48889 done
48890 esac
48891 else
48892 WXUNIV=0
48893 fi
48894
48895
48896
48897
48898
48899
48900
48901
48902 if test $wxUSE_MONOLITHIC = "yes" ; then
48903 MONOLITHIC=1
48904 else
48905 MONOLITHIC=0
48906 fi
48907
48908 if test $wxUSE_PLUGINS = "yes" ; then
48909 USE_PLUGINS=1
48910 else
48911 USE_PLUGINS=0
48912 fi
48913
48914 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48915 USE_QA=1
48916 else
48917 USE_QA=0
48918 fi
48919
48920 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48921 OFFICIAL_BUILD=1
48922 else
48923 OFFICIAL_BUILD=0
48924 fi
48925
48926
48927
48928
48929
48930
48931
48932
48933
48934
48935
48936
48937
48938
48939
48940
48941
48942
48943
48944
48945
48946
48947
48948
48949
48950
48951
48952 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48953
48954
48955
48956
48957
48958
48959
48960
48961
48962
48963 case "$TOOLKIT" in
48964 GTK)
48965 TOOLKIT_DESC="GTK+"
48966 if test "$WXGTK2" = 1; then
48967 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48968 if test "$wxUSE_GTKPRINT" = "yes" ; then
48969 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48970 fi
48971 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48972 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48973 fi
48974 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48975 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48976 fi
48977 if test "$wxUSE_LIBHILDON" = "yes"; then
48978 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48979 fi
48980 if test "$wxUSE_LIBHILDON2" = "yes"; then
48981 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48982 fi
48983
48984 if test "$TOOLKIT_EXTRA" != ""; then
48985 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48986 fi
48987 fi
48988 ;;
48989
48990 ?*)
48991 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48992 ;;
48993
48994 *)
48995 TOOLKIT_DESC="base only"
48996 ;;
48997 esac
48998
48999 if test "$wxUSE_WINE" = "yes"; then
49000 BAKEFILE_FORCE_PLATFORM=win32
49001 fi
49002
49003 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49004 then
49005 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49006 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49007 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49008 echo $ECHO_N "(cached) $ECHO_C" >&6
49009 else
49010
49011 echo '#include <stdio.h>
49012 const wchar_t test_var[] = L"awidetest";' > conftest.h
49013
49014 echo '#include "conftest.h"
49015 int main()
49016 {
49017 printf("%ls", test_var);
49018 return 0;
49019 }' > conftest.cpp
49020
49021 wx_cv_gcc_pch_bug="pch not supported"
49022
49023 if $CXX conftest.h >/dev/null 2>&1
49024 then
49025 wx_cv_gcc_pch_bug=
49026
49027 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49028 then
49029 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49030 grep awidetest >/dev/null
49031 then
49032 wx_cv_gcc_pch_bug=no
49033 else
49034 wx_cv_gcc_pch_bug=yes
49035 fi
49036 fi
49037 fi
49038
49039 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49040
49041 fi
49042 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49043 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49044
49045 if test "$wx_cv_gcc_pch_bug" = yes; then
49046 bk_use_pch=no
49047 fi
49048 fi
49049
49050
49051
49052
49053
49054
49055
49056 if test "x$BAKEFILE_HOST" = "x"; then
49057 if test "x${host}" = "x" ; then
49058 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49059 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49060 { (exit 1); exit 1; }; }
49061 fi
49062
49063 BAKEFILE_HOST="${host}"
49064 fi
49065
49066 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49067
49068 if test -n "$ac_tool_prefix"; then
49069 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49070 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49073 if test "${ac_cv_prog_RANLIB+set}" = set; then
49074 echo $ECHO_N "(cached) $ECHO_C" >&6
49075 else
49076 if test -n "$RANLIB"; then
49077 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49078 else
49079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49080 for as_dir in $PATH
49081 do
49082 IFS=$as_save_IFS
49083 test -z "$as_dir" && as_dir=.
49084 for ac_exec_ext in '' $ac_executable_extensions; do
49085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49086 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49088 break 2
49089 fi
49090 done
49091 done
49092 IFS=$as_save_IFS
49093
49094 fi
49095 fi
49096 RANLIB=$ac_cv_prog_RANLIB
49097 if test -n "$RANLIB"; then
49098 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49099 echo "${ECHO_T}$RANLIB" >&6; }
49100 else
49101 { echo "$as_me:$LINENO: result: no" >&5
49102 echo "${ECHO_T}no" >&6; }
49103 fi
49104
49105
49106 fi
49107 if test -z "$ac_cv_prog_RANLIB"; then
49108 ac_ct_RANLIB=$RANLIB
49109 # Extract the first word of "ranlib", so it can be a program name with args.
49110 set dummy ranlib; ac_word=$2
49111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49113 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49114 echo $ECHO_N "(cached) $ECHO_C" >&6
49115 else
49116 if test -n "$ac_ct_RANLIB"; then
49117 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49118 else
49119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49120 for as_dir in $PATH
49121 do
49122 IFS=$as_save_IFS
49123 test -z "$as_dir" && as_dir=.
49124 for ac_exec_ext in '' $ac_executable_extensions; do
49125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49126 ac_cv_prog_ac_ct_RANLIB="ranlib"
49127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49128 break 2
49129 fi
49130 done
49131 done
49132 IFS=$as_save_IFS
49133
49134 fi
49135 fi
49136 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49137 if test -n "$ac_ct_RANLIB"; then
49138 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49139 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49140 else
49141 { echo "$as_me:$LINENO: result: no" >&5
49142 echo "${ECHO_T}no" >&6; }
49143 fi
49144
49145 if test "x$ac_ct_RANLIB" = x; then
49146 RANLIB=":"
49147 else
49148 case $cross_compiling:$ac_tool_warned in
49149 yes:)
49150 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49151 whose name does not start with the host triplet. If you think this
49152 configuration is useful to you, please write to autoconf@gnu.org." >&5
49153 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49154 whose name does not start with the host triplet. If you think this
49155 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49156 ac_tool_warned=yes ;;
49157 esac
49158 RANLIB=$ac_ct_RANLIB
49159 fi
49160 else
49161 RANLIB="$ac_cv_prog_RANLIB"
49162 fi
49163
49164 # Find a good install program. We prefer a C program (faster),
49165 # so one script is as good as another. But avoid the broken or
49166 # incompatible versions:
49167 # SysV /etc/install, /usr/sbin/install
49168 # SunOS /usr/etc/install
49169 # IRIX /sbin/install
49170 # AIX /bin/install
49171 # AmigaOS /C/install, which installs bootblocks on floppy discs
49172 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49173 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49174 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49175 # OS/2's system install, which has a completely different semantic
49176 # ./install, which can be erroneously created by make from ./install.sh.
49177 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49178 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49179 if test -z "$INSTALL"; then
49180 if test "${ac_cv_path_install+set}" = set; then
49181 echo $ECHO_N "(cached) $ECHO_C" >&6
49182 else
49183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49184 for as_dir in $PATH
49185 do
49186 IFS=$as_save_IFS
49187 test -z "$as_dir" && as_dir=.
49188 # Account for people who put trailing slashes in PATH elements.
49189 case $as_dir/ in
49190 ./ | .// | /cC/* | \
49191 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49192 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49193 /usr/ucb/* ) ;;
49194 *)
49195 # OSF1 and SCO ODT 3.0 have their own names for install.
49196 # Don't use installbsd from OSF since it installs stuff as root
49197 # by default.
49198 for ac_prog in ginstall scoinst install; do
49199 for ac_exec_ext in '' $ac_executable_extensions; do
49200 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49201 if test $ac_prog = install &&
49202 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49203 # AIX install. It has an incompatible calling convention.
49204 :
49205 elif test $ac_prog = install &&
49206 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49207 # program-specific install script used by HP pwplus--don't use.
49208 :
49209 else
49210 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49211 break 3
49212 fi
49213 fi
49214 done
49215 done
49216 ;;
49217 esac
49218 done
49219 IFS=$as_save_IFS
49220
49221
49222 fi
49223 if test "${ac_cv_path_install+set}" = set; then
49224 INSTALL=$ac_cv_path_install
49225 else
49226 # As a last resort, use the slow shell script. Don't cache a
49227 # value for INSTALL within a source directory, because that will
49228 # break other packages using the cache if that directory is
49229 # removed, or if the value is a relative name.
49230 INSTALL=$ac_install_sh
49231 fi
49232 fi
49233 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49234 echo "${ECHO_T}$INSTALL" >&6; }
49235
49236 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49237 # It thinks the first close brace ends the variable substitution.
49238 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49239
49240 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49241
49242 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49243
49244 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49245 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49246 LN_S=$as_ln_s
49247 if test "$LN_S" = "ln -s"; then
49248 { echo "$as_me:$LINENO: result: yes" >&5
49249 echo "${ECHO_T}yes" >&6; }
49250 else
49251 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49252 echo "${ECHO_T}no, using $LN_S" >&6; }
49253 fi
49254
49255
49256 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49257 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49258 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49259 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49260 echo $ECHO_N "(cached) $ECHO_C" >&6
49261 else
49262 cat >conftest.make <<\_ACEOF
49263 SHELL = /bin/sh
49264 all:
49265 @echo '@@@%%%=$(MAKE)=@@@%%%'
49266 _ACEOF
49267 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49268 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49269 *@@@%%%=?*=@@@%%%*)
49270 eval ac_cv_prog_make_${ac_make}_set=yes;;
49271 *)
49272 eval ac_cv_prog_make_${ac_make}_set=no;;
49273 esac
49274 rm -f conftest.make
49275 fi
49276 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49277 { echo "$as_me:$LINENO: result: yes" >&5
49278 echo "${ECHO_T}yes" >&6; }
49279 SET_MAKE=
49280 else
49281 { echo "$as_me:$LINENO: result: no" >&5
49282 echo "${ECHO_T}no" >&6; }
49283 SET_MAKE="MAKE=${MAKE-make}"
49284 fi
49285
49286
49287
49288 if test "x$SUNCXX" = "xyes"; then
49289 AR=$CXX
49290 AROPTIONS="-xar -o"
49291
49292 elif test "x$SGICC" = "xyes"; then
49293 AR=$CXX
49294 AROPTIONS="-ar -o"
49295
49296 else
49297 if test -n "$ac_tool_prefix"; then
49298 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49299 set dummy ${ac_tool_prefix}ar; ac_word=$2
49300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49302 if test "${ac_cv_prog_AR+set}" = set; then
49303 echo $ECHO_N "(cached) $ECHO_C" >&6
49304 else
49305 if test -n "$AR"; then
49306 ac_cv_prog_AR="$AR" # Let the user override the test.
49307 else
49308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49309 for as_dir in $PATH
49310 do
49311 IFS=$as_save_IFS
49312 test -z "$as_dir" && as_dir=.
49313 for ac_exec_ext in '' $ac_executable_extensions; do
49314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49315 ac_cv_prog_AR="${ac_tool_prefix}ar"
49316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49317 break 2
49318 fi
49319 done
49320 done
49321 IFS=$as_save_IFS
49322
49323 fi
49324 fi
49325 AR=$ac_cv_prog_AR
49326 if test -n "$AR"; then
49327 { echo "$as_me:$LINENO: result: $AR" >&5
49328 echo "${ECHO_T}$AR" >&6; }
49329 else
49330 { echo "$as_me:$LINENO: result: no" >&5
49331 echo "${ECHO_T}no" >&6; }
49332 fi
49333
49334
49335 fi
49336 if test -z "$ac_cv_prog_AR"; then
49337 ac_ct_AR=$AR
49338 # Extract the first word of "ar", so it can be a program name with args.
49339 set dummy ar; ac_word=$2
49340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49342 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49343 echo $ECHO_N "(cached) $ECHO_C" >&6
49344 else
49345 if test -n "$ac_ct_AR"; then
49346 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49347 else
49348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49349 for as_dir in $PATH
49350 do
49351 IFS=$as_save_IFS
49352 test -z "$as_dir" && as_dir=.
49353 for ac_exec_ext in '' $ac_executable_extensions; do
49354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49355 ac_cv_prog_ac_ct_AR="ar"
49356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49357 break 2
49358 fi
49359 done
49360 done
49361 IFS=$as_save_IFS
49362
49363 fi
49364 fi
49365 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49366 if test -n "$ac_ct_AR"; then
49367 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49368 echo "${ECHO_T}$ac_ct_AR" >&6; }
49369 else
49370 { echo "$as_me:$LINENO: result: no" >&5
49371 echo "${ECHO_T}no" >&6; }
49372 fi
49373
49374 if test "x$ac_ct_AR" = x; then
49375 AR="ar"
49376 else
49377 case $cross_compiling:$ac_tool_warned in
49378 yes:)
49379 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49380 whose name does not start with the host triplet. If you think this
49381 configuration is useful to you, please write to autoconf@gnu.org." >&5
49382 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49383 whose name does not start with the host triplet. If you think this
49384 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49385 ac_tool_warned=yes ;;
49386 esac
49387 AR=$ac_ct_AR
49388 fi
49389 else
49390 AR="$ac_cv_prog_AR"
49391 fi
49392
49393 AROPTIONS=rcu
49394 fi
49395
49396
49397 if test -n "$ac_tool_prefix"; then
49398 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49399 set dummy ${ac_tool_prefix}strip; ac_word=$2
49400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49402 if test "${ac_cv_prog_STRIP+set}" = set; then
49403 echo $ECHO_N "(cached) $ECHO_C" >&6
49404 else
49405 if test -n "$STRIP"; then
49406 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49407 else
49408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49409 for as_dir in $PATH
49410 do
49411 IFS=$as_save_IFS
49412 test -z "$as_dir" && as_dir=.
49413 for ac_exec_ext in '' $ac_executable_extensions; do
49414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49415 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49417 break 2
49418 fi
49419 done
49420 done
49421 IFS=$as_save_IFS
49422
49423 fi
49424 fi
49425 STRIP=$ac_cv_prog_STRIP
49426 if test -n "$STRIP"; then
49427 { echo "$as_me:$LINENO: result: $STRIP" >&5
49428 echo "${ECHO_T}$STRIP" >&6; }
49429 else
49430 { echo "$as_me:$LINENO: result: no" >&5
49431 echo "${ECHO_T}no" >&6; }
49432 fi
49433
49434
49435 fi
49436 if test -z "$ac_cv_prog_STRIP"; then
49437 ac_ct_STRIP=$STRIP
49438 # Extract the first word of "strip", so it can be a program name with args.
49439 set dummy strip; ac_word=$2
49440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49442 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49443 echo $ECHO_N "(cached) $ECHO_C" >&6
49444 else
49445 if test -n "$ac_ct_STRIP"; then
49446 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49447 else
49448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49449 for as_dir in $PATH
49450 do
49451 IFS=$as_save_IFS
49452 test -z "$as_dir" && as_dir=.
49453 for ac_exec_ext in '' $ac_executable_extensions; do
49454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49455 ac_cv_prog_ac_ct_STRIP="strip"
49456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49457 break 2
49458 fi
49459 done
49460 done
49461 IFS=$as_save_IFS
49462
49463 fi
49464 fi
49465 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49466 if test -n "$ac_ct_STRIP"; then
49467 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49468 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49469 else
49470 { echo "$as_me:$LINENO: result: no" >&5
49471 echo "${ECHO_T}no" >&6; }
49472 fi
49473
49474 if test "x$ac_ct_STRIP" = x; then
49475 STRIP=":"
49476 else
49477 case $cross_compiling:$ac_tool_warned in
49478 yes:)
49479 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49480 whose name does not start with the host triplet. If you think this
49481 configuration is useful to you, please write to autoconf@gnu.org." >&5
49482 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49483 whose name does not start with the host triplet. If you think this
49484 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49485 ac_tool_warned=yes ;;
49486 esac
49487 STRIP=$ac_ct_STRIP
49488 fi
49489 else
49490 STRIP="$ac_cv_prog_STRIP"
49491 fi
49492
49493 if test -n "$ac_tool_prefix"; then
49494 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49495 set dummy ${ac_tool_prefix}nm; ac_word=$2
49496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49498 if test "${ac_cv_prog_NM+set}" = set; then
49499 echo $ECHO_N "(cached) $ECHO_C" >&6
49500 else
49501 if test -n "$NM"; then
49502 ac_cv_prog_NM="$NM" # Let the user override the test.
49503 else
49504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49505 for as_dir in $PATH
49506 do
49507 IFS=$as_save_IFS
49508 test -z "$as_dir" && as_dir=.
49509 for ac_exec_ext in '' $ac_executable_extensions; do
49510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49511 ac_cv_prog_NM="${ac_tool_prefix}nm"
49512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49513 break 2
49514 fi
49515 done
49516 done
49517 IFS=$as_save_IFS
49518
49519 fi
49520 fi
49521 NM=$ac_cv_prog_NM
49522 if test -n "$NM"; then
49523 { echo "$as_me:$LINENO: result: $NM" >&5
49524 echo "${ECHO_T}$NM" >&6; }
49525 else
49526 { echo "$as_me:$LINENO: result: no" >&5
49527 echo "${ECHO_T}no" >&6; }
49528 fi
49529
49530
49531 fi
49532 if test -z "$ac_cv_prog_NM"; then
49533 ac_ct_NM=$NM
49534 # Extract the first word of "nm", so it can be a program name with args.
49535 set dummy nm; ac_word=$2
49536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49538 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49539 echo $ECHO_N "(cached) $ECHO_C" >&6
49540 else
49541 if test -n "$ac_ct_NM"; then
49542 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49543 else
49544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49545 for as_dir in $PATH
49546 do
49547 IFS=$as_save_IFS
49548 test -z "$as_dir" && as_dir=.
49549 for ac_exec_ext in '' $ac_executable_extensions; do
49550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49551 ac_cv_prog_ac_ct_NM="nm"
49552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49553 break 2
49554 fi
49555 done
49556 done
49557 IFS=$as_save_IFS
49558
49559 fi
49560 fi
49561 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49562 if test -n "$ac_ct_NM"; then
49563 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49564 echo "${ECHO_T}$ac_ct_NM" >&6; }
49565 else
49566 { echo "$as_me:$LINENO: result: no" >&5
49567 echo "${ECHO_T}no" >&6; }
49568 fi
49569
49570 if test "x$ac_ct_NM" = x; then
49571 NM=":"
49572 else
49573 case $cross_compiling:$ac_tool_warned in
49574 yes:)
49575 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49576 whose name does not start with the host triplet. If you think this
49577 configuration is useful to you, please write to autoconf@gnu.org." >&5
49578 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49579 whose name does not start with the host triplet. If you think this
49580 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49581 ac_tool_warned=yes ;;
49582 esac
49583 NM=$ac_ct_NM
49584 fi
49585 else
49586 NM="$ac_cv_prog_NM"
49587 fi
49588
49589
49590 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49591 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49592 INSTALL_TEST_DIR=acbftest$$
49593 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49594 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49595 rmdir $INSTALL_TEST_DIR
49596 INSTALL_DIR='$(INSTALL) -d'
49597 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49598 echo "${ECHO_T}$INSTALL -d" >&6; }
49599 else
49600 INSTALL_DIR="mkdir -p"
49601 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49602 echo "${ECHO_T}mkdir -p" >&6; }
49603 fi
49604
49605
49606 LDFLAGS_GUI=
49607 case ${BAKEFILE_HOST} in
49608 *-*-cygwin* | *-*-mingw32* )
49609 LDFLAGS_GUI="-mwindows"
49610 esac
49611
49612
49613 fi
49614
49615 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49616 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49617 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49618 echo $ECHO_N "(cached) $ECHO_C" >&6
49619 else
49620
49621 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49622 egrep -s GNU > /dev/null); then
49623 bakefile_cv_prog_makeisgnu="yes"
49624 else
49625 bakefile_cv_prog_makeisgnu="no"
49626 fi
49627
49628 fi
49629 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49630 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49631
49632 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49633 IF_GNU_MAKE=""
49634 else
49635 IF_GNU_MAKE="#"
49636 fi
49637
49638
49639
49640 PLATFORM_UNIX=0
49641 PLATFORM_WIN32=0
49642 PLATFORM_MSDOS=0
49643 PLATFORM_MAC=0
49644 PLATFORM_MACOS=0
49645 PLATFORM_MACOSX=0
49646 PLATFORM_OS2=0
49647 PLATFORM_BEOS=0
49648
49649 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49650 case "${BAKEFILE_HOST}" in
49651 *-*-mingw32* )
49652 PLATFORM_WIN32=1
49653 ;;
49654 *-pc-msdosdjgpp )
49655 PLATFORM_MSDOS=1
49656 ;;
49657 *-pc-os2_emx | *-pc-os2-emx )
49658 PLATFORM_OS2=1
49659 ;;
49660 *-*-darwin* )
49661 PLATFORM_MAC=1
49662 PLATFORM_MACOSX=1
49663 ;;
49664 *-*-beos* )
49665 PLATFORM_BEOS=1
49666 ;;
49667 powerpc-apple-macos* )
49668 PLATFORM_MAC=1
49669 PLATFORM_MACOS=1
49670 ;;
49671 * )
49672 PLATFORM_UNIX=1
49673 ;;
49674 esac
49675 else
49676 case "$BAKEFILE_FORCE_PLATFORM" in
49677 win32 )
49678 PLATFORM_WIN32=1
49679 ;;
49680 msdos )
49681 PLATFORM_MSDOS=1
49682 ;;
49683 os2 )
49684 PLATFORM_OS2=1
49685 ;;
49686 darwin )
49687 PLATFORM_MAC=1
49688 PLATFORM_MACOSX=1
49689 ;;
49690 unix )
49691 PLATFORM_UNIX=1
49692 ;;
49693 beos )
49694 PLATFORM_BEOS=1
49695 ;;
49696 * )
49697 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49698 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49699 { (exit 1); exit 1; }; }
49700 ;;
49701 esac
49702 fi
49703
49704
49705
49706
49707
49708
49709
49710
49711
49712
49713
49714 # Check whether --enable-omf was given.
49715 if test "${enable_omf+set}" = set; then
49716 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49717 fi
49718
49719
49720 case "${BAKEFILE_HOST}" in
49721 *-*-darwin* )
49722 if test "x$GCC" = "xyes"; then
49723 CFLAGS="$CFLAGS -fno-common"
49724 CXXFLAGS="$CXXFLAGS -fno-common"
49725 fi
49726 if test "x$XLCC" = "xyes"; then
49727 CFLAGS="$CFLAGS -qnocommon"
49728 CXXFLAGS="$CXXFLAGS -qnocommon"
49729 fi
49730 ;;
49731
49732 *-pc-os2_emx | *-pc-os2-emx )
49733 if test "x$bk_os2_use_omf" = "xyes" ; then
49734 AR=emxomfar
49735 RANLIB=:
49736 LDFLAGS="-Zomf $LDFLAGS"
49737 CFLAGS="-Zomf $CFLAGS"
49738 CXXFLAGS="-Zomf $CXXFLAGS"
49739 OS2_LIBEXT="lib"
49740 else
49741 OS2_LIBEXT="a"
49742 fi
49743 ;;
49744
49745 i*86-*-beos* )
49746 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49747 ;;
49748 esac
49749
49750
49751 SO_SUFFIX="so"
49752 SO_SUFFIX_MODULE="so"
49753 EXEEXT=""
49754 LIBPREFIX="lib"
49755 LIBEXT=".a"
49756 DLLPREFIX="lib"
49757 DLLPREFIX_MODULE=""
49758 DLLIMP_SUFFIX=""
49759 dlldir="$libdir"
49760
49761 case "${BAKEFILE_HOST}" in
49762 ia64-hp-hpux* )
49763 ;;
49764 *-hp-hpux* )
49765 SO_SUFFIX="sl"
49766 SO_SUFFIX_MODULE="sl"
49767 ;;
49768 *-*-aix* )
49769 SO_SUFFIX="a"
49770 SO_SUFFIX_MODULE="a"
49771 ;;
49772 *-*-cygwin* )
49773 SO_SUFFIX="dll"
49774 SO_SUFFIX_MODULE="dll"
49775 DLLIMP_SUFFIX="dll.a"
49776 EXEEXT=".exe"
49777 DLLPREFIX="cyg"
49778 dlldir="$bindir"
49779 ;;
49780 *-*-mingw32* )
49781 SO_SUFFIX="dll"
49782 SO_SUFFIX_MODULE="dll"
49783 DLLIMP_SUFFIX="dll.a"
49784 EXEEXT=".exe"
49785 DLLPREFIX=""
49786 dlldir="$bindir"
49787 ;;
49788 *-pc-msdosdjgpp )
49789 EXEEXT=".exe"
49790 DLLPREFIX=""
49791 dlldir="$bindir"
49792 ;;
49793 *-pc-os2_emx | *-pc-os2-emx )
49794 SO_SUFFIX="dll"
49795 SO_SUFFIX_MODULE="dll"
49796 DLLIMP_SUFFIX=$OS2_LIBEXT
49797 EXEEXT=".exe"
49798 DLLPREFIX=""
49799 LIBPREFIX=""
49800 LIBEXT=".$OS2_LIBEXT"
49801 dlldir="$bindir"
49802 ;;
49803 *-*-darwin* )
49804 SO_SUFFIX="dylib"
49805 SO_SUFFIX_MODULE="bundle"
49806 ;;
49807 esac
49808
49809 if test "x$DLLIMP_SUFFIX" = "x" ; then
49810 DLLIMP_SUFFIX="$SO_SUFFIX"
49811 fi
49812
49813
49814
49815
49816
49817
49818
49819
49820
49821
49822
49823
49824 PIC_FLAG=""
49825 if test "x$GCC" = "xyes"; then
49826 PIC_FLAG="-fPIC"
49827 fi
49828
49829 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49830 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49831 WINDOWS_IMPLIB=0
49832
49833 case "${BAKEFILE_HOST}" in
49834 *-hp-hpux* )
49835 if test "x$GCC" != "xyes"; then
49836 LDFLAGS="$LDFLAGS -L/usr/lib"
49837
49838 SHARED_LD_CC="${CC} -b -o"
49839 SHARED_LD_CXX="${CXX} -b -o"
49840 PIC_FLAG="+Z"
49841 fi
49842 ;;
49843
49844 *-*-linux* )
49845 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49846 PIC_FLAG="-KPIC"
49847 elif test "x$SUNCXX" = "xyes"; then
49848 SHARED_LD_CC="${CC} -G -o"
49849 SHARED_LD_CXX="${CXX} -G -o"
49850 PIC_FLAG="-KPIC"
49851 fi
49852 ;;
49853
49854 *-*-solaris2* )
49855 if test "x$SUNCXX" = xyes ; then
49856 SHARED_LD_CC="${CC} -G -o"
49857 SHARED_LD_CXX="${CXX} -G -o"
49858 PIC_FLAG="-KPIC"
49859 fi
49860 ;;
49861
49862 *-*-darwin* )
49863
49864 D='$'
49865 cat <<EOF >shared-ld-sh
49866 #!/bin/sh
49867 #-----------------------------------------------------------------------------
49868 #-- Name: distrib/mac/shared-ld-sh
49869 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49870 #-- Author: Gilles Depeyrot
49871 #-- Copyright: (c) 2002 Gilles Depeyrot
49872 #-- Licence: any use permitted
49873 #-----------------------------------------------------------------------------
49874
49875 verbose=0
49876 args=""
49877 objects=""
49878 linking_flag="-dynamiclib"
49879 ldargs="-r -keep_private_externs -nostdlib"
49880
49881 if test "x${D}CXX" = "x"; then
49882 CXX="c++"
49883 fi
49884
49885 while test ${D}# -gt 0; do
49886 case ${D}1 in
49887
49888 -v)
49889 verbose=1
49890 ;;
49891
49892 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49893 # collect these options and values
49894 args="${D}{args} ${D}1 ${D}2"
49895 shift
49896 ;;
49897
49898 -arch|-isysroot)
49899 # collect these options and values
49900 ldargs="${D}{ldargs} ${D}1 ${D}2"
49901 shift
49902 ;;
49903
49904 -s|-Wl,*)
49905 # collect these load args
49906 ldargs="${D}{ldargs} ${D}1"
49907 ;;
49908
49909 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49910 # collect these options
49911 args="${D}{args} ${D}1"
49912 ;;
49913
49914 -dynamiclib|-bundle)
49915 linking_flag="${D}1"
49916 ;;
49917
49918 -*)
49919 echo "shared-ld: unhandled option '${D}1'"
49920 exit 1
49921 ;;
49922
49923 *.o | *.a | *.dylib)
49924 # collect object files
49925 objects="${D}{objects} ${D}1"
49926 ;;
49927
49928 *)
49929 echo "shared-ld: unhandled argument '${D}1'"
49930 exit 1
49931 ;;
49932
49933 esac
49934 shift
49935 done
49936
49937 status=0
49938
49939 #
49940 # Link one module containing all the others
49941 #
49942 if test ${D}{verbose} = 1; then
49943 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49944 fi
49945 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49946 status=${D}?
49947
49948 #
49949 # Link the shared library from the single module created, but only if the
49950 # previous command didn't fail:
49951 #
49952 if test ${D}{status} = 0; then
49953 if test ${D}{verbose} = 1; then
49954 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49955 fi
49956 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49957 status=${D}?
49958 fi
49959
49960 #
49961 # Remove intermediate module
49962 #
49963 rm -f master.${D}${D}.o
49964
49965 exit ${D}status
49966 EOF
49967
49968 chmod +x shared-ld-sh
49969
49970 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49971 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49972
49973
49974 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49975 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49976 if test "${bakefile_cv_gcc31+set}" = set; then
49977 echo $ECHO_N "(cached) $ECHO_C" >&6
49978 else
49979
49980 cat >conftest.$ac_ext <<_ACEOF
49981 /* confdefs.h. */
49982 _ACEOF
49983 cat confdefs.h >>conftest.$ac_ext
49984 cat >>conftest.$ac_ext <<_ACEOF
49985 /* end confdefs.h. */
49986
49987 int
49988 main ()
49989 {
49990
49991 #if (__GNUC__ < 3) || \
49992 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49993 This is old gcc
49994 #endif
49995
49996 ;
49997 return 0;
49998 }
49999 _ACEOF
50000 rm -f conftest.$ac_objext
50001 if { (ac_try="$ac_compile"
50002 case "(($ac_try" in
50003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50004 *) ac_try_echo=$ac_try;;
50005 esac
50006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50007 (eval "$ac_compile") 2>conftest.er1
50008 ac_status=$?
50009 grep -v '^ *+' conftest.er1 >conftest.err
50010 rm -f conftest.er1
50011 cat conftest.err >&5
50012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50013 (exit $ac_status); } && {
50014 test -z "$ac_c_werror_flag" ||
50015 test ! -s conftest.err
50016 } && test -s conftest.$ac_objext; then
50017
50018 bakefile_cv_gcc31=yes
50019
50020 else
50021 echo "$as_me: failed program was:" >&5
50022 sed 's/^/| /' conftest.$ac_ext >&5
50023
50024
50025 bakefile_cv_gcc31=no
50026
50027
50028 fi
50029
50030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50031
50032 fi
50033 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50034 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50035 if test "$bakefile_cv_gcc31" = "no"; then
50036 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50037 SHARED_LD_CXX="$SHARED_LD_CC"
50038 else
50039 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50040 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50041 fi
50042
50043 if test "x$GCC" == "xyes"; then
50044 PIC_FLAG="-dynamic -fPIC"
50045 fi
50046 if test "x$XLCC" = "xyes"; then
50047 PIC_FLAG="-dynamic -DPIC"
50048 fi
50049 ;;
50050
50051 *-*-aix* )
50052 if test "x$GCC" = "xyes"; then
50053 PIC_FLAG=""
50054
50055 case "${BAKEFILE_HOST}" in
50056 *-*-aix5* )
50057 LD_EXPFULL="-Wl,-bexpfull"
50058 ;;
50059 esac
50060
50061 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50062 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50063 else
50064 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50065 set dummy makeC++SharedLib; ac_word=$2
50066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50068 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50069 echo $ECHO_N "(cached) $ECHO_C" >&6
50070 else
50071 if test -n "$AIX_CXX_LD"; then
50072 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50073 else
50074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50075 for as_dir in $PATH
50076 do
50077 IFS=$as_save_IFS
50078 test -z "$as_dir" && as_dir=.
50079 for ac_exec_ext in '' $ac_executable_extensions; do
50080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50081 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50083 break 2
50084 fi
50085 done
50086 done
50087 IFS=$as_save_IFS
50088
50089 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50090 fi
50091 fi
50092 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50093 if test -n "$AIX_CXX_LD"; then
50094 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50095 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50096 else
50097 { echo "$as_me:$LINENO: result: no" >&5
50098 echo "${ECHO_T}no" >&6; }
50099 fi
50100
50101
50102 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50103 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50104 fi
50105 ;;
50106
50107 *-*-beos* )
50108 SHARED_LD_CC="${LD} -nostart -o"
50109 SHARED_LD_CXX="${LD} -nostart -o"
50110 ;;
50111
50112 *-*-irix* )
50113 if test "x$GCC" != "xyes"; then
50114 PIC_FLAG="-KPIC"
50115 fi
50116 ;;
50117
50118 *-*-cygwin* | *-*-mingw32* )
50119 PIC_FLAG=""
50120 SHARED_LD_CC="\$(CC) -shared -o"
50121 SHARED_LD_CXX="\$(CXX) -shared -o"
50122 WINDOWS_IMPLIB=1
50123 ;;
50124
50125 *-pc-os2_emx | *-pc-os2-emx )
50126 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50127 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50128 PIC_FLAG=""
50129
50130 D='$'
50131 cat <<EOF >dllar.sh
50132 #!/bin/sh
50133 #
50134 # dllar - a tool to build both a .dll and an .a file
50135 # from a set of object (.o) files for EMX/OS2.
50136 #
50137 # Written by Andrew Zabolotny, bit@freya.etu.ru
50138 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50139 #
50140 # This script will accept a set of files on the command line.
50141 # All the public symbols from the .o files will be exported into
50142 # a .DEF file, then linker will be run (through gcc) against them to
50143 # build a shared library consisting of all given .o files. All libraries
50144 # (.a) will be first decompressed into component .o files then act as
50145 # described above. You can optionally give a description (-d "description")
50146 # which will be put into .DLL. To see the list of accepted options (as well
50147 # as command-line format) simply run this program without options. The .DLL
50148 # is built to be imported by name (there is no guarantee that new versions
50149 # of the library you build will have same ordinals for same symbols).
50150 #
50151 # dllar is free software; you can redistribute it and/or modify
50152 # it under the terms of the GNU General Public License as published by
50153 # the Free Software Foundation; either version 2, or (at your option)
50154 # any later version.
50155 #
50156 # dllar is distributed in the hope that it will be useful,
50157 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50158 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50159 # GNU General Public License for more details.
50160 #
50161 # You should have received a copy of the GNU General Public License
50162 # along with dllar; see the file COPYING. If not, write to the Free
50163 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50164 # 02111-1307, USA.
50165
50166 # To successfuly run this program you will need:
50167 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50168 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50169 # - gcc
50170 # (used to build the .dll)
50171 # - emxexp
50172 # (used to create .def file from .o files)
50173 # - emximp
50174 # (used to create .a file from .def file)
50175 # - GNU text utilites (cat, sort, uniq)
50176 # used to process emxexp output
50177 # - GNU file utilities (mv, rm)
50178 # - GNU sed
50179 # - lxlite (optional, see flag below)
50180 # (used for general .dll cleanup)
50181 #
50182
50183 flag_USE_LXLITE=1;
50184
50185 #
50186 # helper functions
50187 # basnam, variant of basename, which does _not_ remove the path, _iff_
50188 # second argument (suffix to remove) is given
50189 basnam(){
50190 case ${D}# in
50191 1)
50192 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50193 ;;
50194 2)
50195 echo ${D}1 | sed 's/'${D}2'${D}//'
50196 ;;
50197 *)
50198 echo "error in basnam ${D}*"
50199 exit 8
50200 ;;
50201 esac
50202 }
50203
50204 # Cleanup temporary files and output
50205 CleanUp() {
50206 cd ${D}curDir
50207 for i in ${D}inputFiles ; do
50208 case ${D}i in
50209 *!)
50210 rm -rf \`basnam ${D}i !\`
50211 ;;
50212 *)
50213 ;;
50214 esac
50215 done
50216
50217 # Kill result in case of failure as there is just to many stupid make/nmake
50218 # things out there which doesn't do this.
50219 if [ ${D}# -eq 0 ]; then
50220 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50221 fi
50222 }
50223
50224 # Print usage and exit script with rc=1.
50225 PrintHelp() {
50226 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50227 echo ' [-name-mangler-script script.sh]'
50228 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50229 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50230 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50231 echo ' [*.o] [*.a]'
50232 echo '*> "output_file" should have no extension.'
50233 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50234 echo ' The import library name is derived from this and is set to "name".a,'
50235 echo ' unless overridden by -import'
50236 echo '*> "importlib_name" should have no extension.'
50237 echo ' If it has the .o, or .a extension, it is automatically removed.'
50238 echo ' This name is used as the import library name and may be longer and'
50239 echo ' more descriptive than the DLL name which has to follow the old '
50240 echo ' 8.3 convention of FAT.'
50241 echo '*> "script.sh may be given to override the output_file name by a'
50242 echo ' different name. It is mainly useful if the regular make process'
50243 echo ' of some package does not take into account OS/2 restriction of'
50244 echo ' DLL name lengths. It takes the importlib name as input and is'
50245 echo ' supposed to procude a shorter name as output. The script should'
50246 echo ' expect to get importlib_name without extension and should produce'
50247 echo ' a (max.) 8 letter name without extension.'
50248 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50249 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50250 echo ' These flags will be put at the start of GCC command line.'
50251 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50252 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50253 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50254 echo ' If the last character of a symbol is "*", all symbols beginning'
50255 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50256 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50257 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50258 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50259 echo ' C runtime DLLs.'
50260 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50261 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50262 echo ' unchanged to GCC at the end of command line.'
50263 echo '*> If you create a DLL from a library and you do not specify -o,'
50264 echo ' the basename for DLL and import library will be set to library name,'
50265 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50266 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50267 echo ' library will be renamed into gcc_s.a.'
50268 echo '--------'
50269 echo 'Example:'
50270 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50271 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50272 CleanUp
50273 exit 1
50274 }
50275
50276 # Execute a command.
50277 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50278 # @Uses Whatever CleanUp() uses.
50279 doCommand() {
50280 echo "${D}*"
50281 eval ${D}*
50282 rcCmd=${D}?
50283
50284 if [ ${D}rcCmd -ne 0 ]; then
50285 echo "command failed, exit code="${D}rcCmd
50286 CleanUp
50287 exit ${D}rcCmd
50288 fi
50289 }
50290
50291 # main routine
50292 # setup globals
50293 cmdLine=${D}*
50294 outFile=""
50295 outimpFile=""
50296 inputFiles=""
50297 renameScript=""
50298 description=""
50299 CC=gcc.exe
50300 CFLAGS="-s -Zcrtdll"
50301 EXTRA_CFLAGS=""
50302 EXPORT_BY_ORDINALS=0
50303 exclude_symbols=""
50304 library_flags=""
50305 curDir=\`pwd\`
50306 curDirS=curDir
50307 case ${D}curDirS in
50308 */)
50309 ;;
50310 *)
50311 curDirS=${D}{curDirS}"/"
50312 ;;
50313 esac
50314 # Parse commandline
50315 libsToLink=0
50316 omfLinking=0
50317 while [ ${D}1 ]; do
50318 case ${D}1 in
50319 -ord*)
50320 EXPORT_BY_ORDINALS=1;
50321 ;;
50322 -o*)
50323 shift
50324 outFile=${D}1
50325 ;;
50326 -i*)
50327 shift
50328 outimpFile=${D}1
50329 ;;
50330 -name-mangler-script)
50331 shift
50332 renameScript=${D}1
50333 ;;
50334 -d*)
50335 shift
50336 description=${D}1
50337 ;;
50338 -f*)
50339 shift
50340 CFLAGS=${D}1
50341 ;;
50342 -c*)
50343 shift
50344 CC=${D}1
50345 ;;
50346 -h*)
50347 PrintHelp
50348 ;;
50349 -ex*)
50350 shift
50351 exclude_symbols=${D}{exclude_symbols}${D}1" "
50352 ;;
50353 -libf*)
50354 shift
50355 library_flags=${D}{library_flags}${D}1" "
50356 ;;
50357 -nocrt*)
50358 CFLAGS="-s"
50359 ;;
50360 -nolxl*)
50361 flag_USE_LXLITE=0
50362 ;;
50363 -* | /*)
50364 case ${D}1 in
50365 -L* | -l*)
50366 libsToLink=1
50367 ;;
50368 -Zomf)
50369 omfLinking=1
50370 ;;
50371 *)
50372 ;;
50373 esac
50374 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50375 ;;
50376 *.dll)
50377 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50378 if [ ${D}omfLinking -eq 1 ]; then
50379 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50380 else
50381 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50382 fi
50383 ;;
50384 *)
50385 found=0;
50386 if [ ${D}libsToLink -ne 0 ]; then
50387 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50388 else
50389 for file in ${D}1 ; do
50390 if [ -f ${D}file ]; then
50391 inputFiles="${D}{inputFiles} ${D}file"
50392 found=1
50393 fi
50394 done
50395 if [ ${D}found -eq 0 ]; then
50396 echo "ERROR: No file(s) found: "${D}1
50397 exit 8
50398 fi
50399 fi
50400 ;;
50401 esac
50402 shift
50403 done # iterate cmdline words
50404
50405 #
50406 if [ -z "${D}inputFiles" ]; then
50407 echo "dllar: no input files"
50408 PrintHelp
50409 fi
50410
50411 # Now extract all .o files from .a files
50412 newInputFiles=""
50413 for file in ${D}inputFiles ; do
50414 case ${D}file in
50415 *.a | *.lib)
50416 case ${D}file in
50417 *.a)
50418 suffix=".a"
50419 AR="ar"
50420 ;;
50421 *.lib)
50422 suffix=".lib"
50423 AR="emxomfar"
50424 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50425 ;;
50426 *)
50427 ;;
50428 esac
50429 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50430 mkdir ${D}dirname
50431 if [ ${D}? -ne 0 ]; then
50432 echo "Failed to create subdirectory ./${D}dirname"
50433 CleanUp
50434 exit 8;
50435 fi
50436 # Append '!' to indicate archive
50437 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50438 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50439 cd ${D}curDir
50440 found=0;
50441 for subfile in ${D}dirname/*.o* ; do
50442 if [ -f ${D}subfile ]; then
50443 found=1
50444 if [ -s ${D}subfile ]; then
50445 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50446 newInputFiles="${D}newInputFiles ${D}subfile"
50447 fi
50448 fi
50449 done
50450 if [ ${D}found -eq 0 ]; then
50451 echo "WARNING: there are no files in archive \\'${D}file\\'"
50452 fi
50453 ;;
50454 *)
50455 newInputFiles="${D}{newInputFiles} ${D}file"
50456 ;;
50457 esac
50458 done
50459 inputFiles="${D}newInputFiles"
50460
50461 # Output filename(s).
50462 do_backup=0;
50463 if [ -z ${D}outFile ]; then
50464 do_backup=1;
50465 set outFile ${D}inputFiles; outFile=${D}2
50466 fi
50467
50468 # If it is an archive, remove the '!' and the '_%' suffixes
50469 case ${D}outFile in
50470 *_%!)
50471 outFile=\`basnam ${D}outFile _%!\`
50472 ;;
50473 *)
50474 ;;
50475 esac
50476 case ${D}outFile in
50477 *.dll)
50478 outFile=\`basnam ${D}outFile .dll\`
50479 ;;
50480 *.DLL)
50481 outFile=\`basnam ${D}outFile .DLL\`
50482 ;;
50483 *.o)
50484 outFile=\`basnam ${D}outFile .o\`
50485 ;;
50486 *.obj)
50487 outFile=\`basnam ${D}outFile .obj\`
50488 ;;
50489 *.a)
50490 outFile=\`basnam ${D}outFile .a\`
50491 ;;
50492 *.lib)
50493 outFile=\`basnam ${D}outFile .lib\`
50494 ;;
50495 *)
50496 ;;
50497 esac
50498 case ${D}outimpFile in
50499 *.a)
50500 outimpFile=\`basnam ${D}outimpFile .a\`
50501 ;;
50502 *.lib)
50503 outimpFile=\`basnam ${D}outimpFile .lib\`
50504 ;;
50505 *)
50506 ;;
50507 esac
50508 if [ -z ${D}outimpFile ]; then
50509 outimpFile=${D}outFile
50510 fi
50511 defFile="${D}{outFile}.def"
50512 arcFile="${D}{outimpFile}.a"
50513 arcFile2="${D}{outimpFile}.lib"
50514
50515 #create ${D}dllFile as something matching 8.3 restrictions,
50516 if [ -z ${D}renameScript ] ; then
50517 dllFile="${D}outFile"
50518 else
50519 dllFile=\`${D}renameScript ${D}outimpFile\`
50520 fi
50521
50522 if [ ${D}do_backup -ne 0 ] ; then
50523 if [ -f ${D}arcFile ] ; then
50524 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50525 fi
50526 if [ -f ${D}arcFile2 ] ; then
50527 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50528 fi
50529 fi
50530
50531 # Extract public symbols from all the object files.
50532 tmpdefFile=${D}{defFile}_%
50533 rm -f ${D}tmpdefFile
50534 for file in ${D}inputFiles ; do
50535 case ${D}file in
50536 *!)
50537 ;;
50538 *)
50539 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50540 ;;
50541 esac
50542 done
50543
50544 # Create the def file.
50545 rm -f ${D}defFile
50546 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50547 dllFile="${D}{dllFile}.dll"
50548 if [ ! -z ${D}description ]; then
50549 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50550 fi
50551 echo "EXPORTS" >> ${D}defFile
50552
50553 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50554 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50555
50556 # Checks if the export is ok or not.
50557 for word in ${D}exclude_symbols; do
50558 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50559 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50560 done
50561
50562
50563 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50564 sed "=" < ${D}tmpdefFile | \\
50565 sed '
50566 N
50567 : loop
50568 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50569 t loop
50570 ' > ${D}{tmpdefFile}%
50571 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50572 else
50573 rm -f ${D}{tmpdefFile}%
50574 fi
50575 cat ${D}tmpdefFile >> ${D}defFile
50576 rm -f ${D}tmpdefFile
50577
50578 # Do linking, create implib, and apply lxlite.
50579 gccCmdl="";
50580 for file in ${D}inputFiles ; do
50581 case ${D}file in
50582 *!)
50583 ;;
50584 *)
50585 gccCmdl="${D}gccCmdl ${D}file"
50586 ;;
50587 esac
50588 done
50589 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50590 touch "${D}{outFile}.dll"
50591
50592 doCommand "emximp -o ${D}arcFile ${D}defFile"
50593 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50594 add_flags="";
50595 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50596 add_flags="-ynd"
50597 fi
50598 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50599 fi
50600 doCommand "emxomf -s -l ${D}arcFile"
50601
50602 # Successful exit.
50603 CleanUp 1
50604 exit 0
50605 EOF
50606
50607 chmod +x dllar.sh
50608 ;;
50609
50610 powerpc-apple-macos* | \
50611 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50612 *-*-mirbsd* | \
50613 *-*-sunos4* | \
50614 *-*-osf* | \
50615 *-*-dgux5* | \
50616 *-*-sysv5* | \
50617 *-pc-msdosdjgpp )
50618 ;;
50619
50620 *)
50621 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50622 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50623 { (exit 1); exit 1; }; }
50624 esac
50625
50626 if test "x$PIC_FLAG" != "x" ; then
50627 PIC_FLAG="$PIC_FLAG -DPIC"
50628 fi
50629
50630 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50631 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50632 fi
50633 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50634 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50635 fi
50636
50637
50638
50639
50640
50641
50642
50643
50644
50645 USE_SOVERSION=0
50646 USE_SOVERLINUX=0
50647 USE_SOVERSOLARIS=0
50648 USE_SOVERCYGWIN=0
50649 USE_SOTWOSYMLINKS=0
50650 USE_MACVERSION=0
50651 SONAME_FLAG=
50652
50653 case "${BAKEFILE_HOST}" in
50654 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50655 *-*-k*bsd*-gnu | *-*-mirbsd* )
50656 if test "x$SUNCXX" = "xyes"; then
50657 SONAME_FLAG="-h "
50658 else
50659 SONAME_FLAG="-Wl,-soname,"
50660 fi
50661 USE_SOVERSION=1
50662 USE_SOVERLINUX=1
50663 USE_SOTWOSYMLINKS=1
50664 ;;
50665
50666 *-*-solaris2* )
50667 SONAME_FLAG="-h "
50668 USE_SOVERSION=1
50669 USE_SOVERSOLARIS=1
50670 ;;
50671
50672 *-*-darwin* )
50673 USE_MACVERSION=1
50674 USE_SOVERSION=1
50675 USE_SOTWOSYMLINKS=1
50676 ;;
50677
50678 *-*-cygwin* )
50679 USE_SOVERSION=1
50680 USE_SOVERCYGWIN=1
50681 ;;
50682 esac
50683
50684
50685
50686
50687
50688
50689
50690
50691
50692
50693 # Check whether --enable-dependency-tracking was given.
50694 if test "${enable_dependency_tracking+set}" = set; then
50695 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50696 fi
50697
50698
50699 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50700 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50701
50702 BK_DEPS=""
50703 if test "x$bk_use_trackdeps" = "xno" ; then
50704 DEPS_TRACKING=0
50705 { echo "$as_me:$LINENO: result: disabled" >&5
50706 echo "${ECHO_T}disabled" >&6; }
50707 else
50708 DEPS_TRACKING=1
50709
50710 if test "x$GCC" = "xyes"; then
50711 DEPSMODE=gcc
50712 case "${BAKEFILE_HOST}" in
50713 *-*-darwin* )
50714 DEPSFLAG="-no-cpp-precomp -MMD"
50715 ;;
50716 * )
50717 DEPSFLAG="-MMD"
50718 ;;
50719 esac
50720 { echo "$as_me:$LINENO: result: gcc" >&5
50721 echo "${ECHO_T}gcc" >&6; }
50722 elif test "x$MWCC" = "xyes"; then
50723 DEPSMODE=mwcc
50724 DEPSFLAG="-MM"
50725 { echo "$as_me:$LINENO: result: mwcc" >&5
50726 echo "${ECHO_T}mwcc" >&6; }
50727 elif test "x$SUNCC" = "xyes"; then
50728 DEPSMODE=unixcc
50729 DEPSFLAG="-xM1"
50730 { echo "$as_me:$LINENO: result: Sun cc" >&5
50731 echo "${ECHO_T}Sun cc" >&6; }
50732 elif test "x$SGICC" = "xyes"; then
50733 DEPSMODE=unixcc
50734 DEPSFLAG="-M"
50735 { echo "$as_me:$LINENO: result: SGI cc" >&5
50736 echo "${ECHO_T}SGI cc" >&6; }
50737 elif test "x$HPCC" = "xyes"; then
50738 DEPSMODE=unixcc
50739 DEPSFLAG="+make"
50740 { echo "$as_me:$LINENO: result: HP cc" >&5
50741 echo "${ECHO_T}HP cc" >&6; }
50742 elif test "x$COMPAQCC" = "xyes"; then
50743 DEPSMODE=gcc
50744 DEPSFLAG="-MD"
50745 { echo "$as_me:$LINENO: result: Compaq cc" >&5
50746 echo "${ECHO_T}Compaq cc" >&6; }
50747 else
50748 DEPS_TRACKING=0
50749 { echo "$as_me:$LINENO: result: none" >&5
50750 echo "${ECHO_T}none" >&6; }
50751 fi
50752
50753 if test $DEPS_TRACKING = 1 ; then
50754
50755 D='$'
50756 cat <<EOF >bk-deps
50757 #!/bin/sh
50758
50759 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50760 # script. It is used to track C/C++ files dependencies in portable way.
50761 #
50762 # Permission is given to use this file in any way.
50763
50764 DEPSMODE=${DEPSMODE}
50765 DEPSFLAG="${DEPSFLAG}"
50766 DEPSDIRBASE=.deps
50767
50768 if test ${D}DEPSMODE = gcc ; then
50769 ${D}* ${D}{DEPSFLAG}
50770 status=${D}?
50771
50772 # determine location of created files:
50773 while test ${D}# -gt 0; do
50774 case "${D}1" in
50775 -o )
50776 shift
50777 objfile=${D}1
50778 ;;
50779 -* )
50780 ;;
50781 * )
50782 srcfile=${D}1
50783 ;;
50784 esac
50785 shift
50786 done
50787 objfilebase=\`basename ${D}objfile\`
50788 builddir=\`dirname ${D}objfile\`
50789 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50790 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50791 depsdir=${D}builddir/${D}DEPSDIRBASE
50792 mkdir -p ${D}depsdir
50793
50794 # if the compiler failed, we're done:
50795 if test ${D}{status} != 0 ; then
50796 rm -f ${D}depfile
50797 exit ${D}{status}
50798 fi
50799
50800 # move created file to the location we want it in:
50801 if test -f ${D}depfile ; then
50802 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50803 rm -f ${D}depfile
50804 else
50805 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50806 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50807 if test ! -f ${D}depfile ; then
50808 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50809 depfile="${D}objfile.d"
50810 fi
50811 if test -f ${D}depfile ; then
50812 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50813 rm -f ${D}depfile
50814 fi
50815 fi
50816 exit 0
50817
50818 elif test ${D}DEPSMODE = mwcc ; then
50819 ${D}* || exit ${D}?
50820 # Run mwcc again with -MM and redirect into the dep file we want
50821 # NOTE: We can't use shift here because we need ${D}* to be valid
50822 prevarg=
50823 for arg in ${D}* ; do
50824 if test "${D}prevarg" = "-o"; then
50825 objfile=${D}arg
50826 else
50827 case "${D}arg" in
50828 -* )
50829 ;;
50830 * )
50831 srcfile=${D}arg
50832 ;;
50833 esac
50834 fi
50835 prevarg="${D}arg"
50836 done
50837
50838 objfilebase=\`basename ${D}objfile\`
50839 builddir=\`dirname ${D}objfile\`
50840 depsdir=${D}builddir/${D}DEPSDIRBASE
50841 mkdir -p ${D}depsdir
50842
50843 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50844 exit 0
50845
50846 elif test ${D}DEPSMODE = unixcc; then
50847 ${D}* || exit ${D}?
50848 # Run compiler again with deps flag and redirect into the dep file.
50849 # It doesn't work if the '-o FILE' option is used, but without it the
50850 # dependency file will contain the wrong name for the object. So it is
50851 # removed from the command line, and the dep file is fixed with sed.
50852 cmd=""
50853 while test ${D}# -gt 0; do
50854 case "${D}1" in
50855 -o )
50856 shift
50857 objfile=${D}1
50858 ;;
50859 * )
50860 eval arg${D}#=\\${D}1
50861 cmd="${D}cmd \\${D}arg${D}#"
50862 ;;
50863 esac
50864 shift
50865 done
50866
50867 objfilebase=\`basename ${D}objfile\`
50868 builddir=\`dirname ${D}objfile\`
50869 depsdir=${D}builddir/${D}DEPSDIRBASE
50870 mkdir -p ${D}depsdir
50871
50872 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50873 exit 0
50874
50875 else
50876 ${D}*
50877 exit ${D}?
50878 fi
50879 EOF
50880
50881 chmod +x bk-deps
50882 BK_DEPS="`pwd`/bk-deps"
50883 fi
50884 fi
50885
50886
50887
50888
50889
50890 case ${BAKEFILE_HOST} in
50891 *-*-cygwin* | *-*-mingw32* )
50892 if test -n "$ac_tool_prefix"; then
50893 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50894 set dummy ${ac_tool_prefix}windres; ac_word=$2
50895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50897 if test "${ac_cv_prog_WINDRES+set}" = set; then
50898 echo $ECHO_N "(cached) $ECHO_C" >&6
50899 else
50900 if test -n "$WINDRES"; then
50901 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50902 else
50903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50904 for as_dir in $PATH
50905 do
50906 IFS=$as_save_IFS
50907 test -z "$as_dir" && as_dir=.
50908 for ac_exec_ext in '' $ac_executable_extensions; do
50909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50910 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50912 break 2
50913 fi
50914 done
50915 done
50916 IFS=$as_save_IFS
50917
50918 fi
50919 fi
50920 WINDRES=$ac_cv_prog_WINDRES
50921 if test -n "$WINDRES"; then
50922 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50923 echo "${ECHO_T}$WINDRES" >&6; }
50924 else
50925 { echo "$as_me:$LINENO: result: no" >&5
50926 echo "${ECHO_T}no" >&6; }
50927 fi
50928
50929
50930 fi
50931 if test -z "$ac_cv_prog_WINDRES"; then
50932 ac_ct_WINDRES=$WINDRES
50933 # Extract the first word of "windres", so it can be a program name with args.
50934 set dummy windres; ac_word=$2
50935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50937 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50938 echo $ECHO_N "(cached) $ECHO_C" >&6
50939 else
50940 if test -n "$ac_ct_WINDRES"; then
50941 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50942 else
50943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50944 for as_dir in $PATH
50945 do
50946 IFS=$as_save_IFS
50947 test -z "$as_dir" && as_dir=.
50948 for ac_exec_ext in '' $ac_executable_extensions; do
50949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50950 ac_cv_prog_ac_ct_WINDRES="windres"
50951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50952 break 2
50953 fi
50954 done
50955 done
50956 IFS=$as_save_IFS
50957
50958 fi
50959 fi
50960 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50961 if test -n "$ac_ct_WINDRES"; then
50962 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50963 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50964 else
50965 { echo "$as_me:$LINENO: result: no" >&5
50966 echo "${ECHO_T}no" >&6; }
50967 fi
50968
50969 if test "x$ac_ct_WINDRES" = x; then
50970 WINDRES=""
50971 else
50972 case $cross_compiling:$ac_tool_warned in
50973 yes:)
50974 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50975 whose name does not start with the host triplet. If you think this
50976 configuration is useful to you, please write to autoconf@gnu.org." >&5
50977 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50978 whose name does not start with the host triplet. If you think this
50979 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50980 ac_tool_warned=yes ;;
50981 esac
50982 WINDRES=$ac_ct_WINDRES
50983 fi
50984 else
50985 WINDRES="$ac_cv_prog_WINDRES"
50986 fi
50987
50988 ;;
50989
50990 *-*-darwin* | powerpc-apple-macos* )
50991 # Extract the first word of "Rez", so it can be a program name with args.
50992 set dummy Rez; ac_word=$2
50993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50995 if test "${ac_cv_prog_REZ+set}" = set; then
50996 echo $ECHO_N "(cached) $ECHO_C" >&6
50997 else
50998 if test -n "$REZ"; then
50999 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51000 else
51001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51002 for as_dir in $PATH
51003 do
51004 IFS=$as_save_IFS
51005 test -z "$as_dir" && as_dir=.
51006 for ac_exec_ext in '' $ac_executable_extensions; do
51007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51008 ac_cv_prog_REZ="Rez"
51009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51010 break 2
51011 fi
51012 done
51013 done
51014 IFS=$as_save_IFS
51015
51016 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51017 fi
51018 fi
51019 REZ=$ac_cv_prog_REZ
51020 if test -n "$REZ"; then
51021 { echo "$as_me:$LINENO: result: $REZ" >&5
51022 echo "${ECHO_T}$REZ" >&6; }
51023 else
51024 { echo "$as_me:$LINENO: result: no" >&5
51025 echo "${ECHO_T}no" >&6; }
51026 fi
51027
51028
51029 # Extract the first word of "SetFile", so it can be a program name with args.
51030 set dummy SetFile; ac_word=$2
51031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51033 if test "${ac_cv_prog_SETFILE+set}" = set; then
51034 echo $ECHO_N "(cached) $ECHO_C" >&6
51035 else
51036 if test -n "$SETFILE"; then
51037 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51038 else
51039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51040 for as_dir in $PATH
51041 do
51042 IFS=$as_save_IFS
51043 test -z "$as_dir" && as_dir=.
51044 for ac_exec_ext in '' $ac_executable_extensions; do
51045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51046 ac_cv_prog_SETFILE="SetFile"
51047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51048 break 2
51049 fi
51050 done
51051 done
51052 IFS=$as_save_IFS
51053
51054 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51055 fi
51056 fi
51057 SETFILE=$ac_cv_prog_SETFILE
51058 if test -n "$SETFILE"; then
51059 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51060 echo "${ECHO_T}$SETFILE" >&6; }
51061 else
51062 { echo "$as_me:$LINENO: result: no" >&5
51063 echo "${ECHO_T}no" >&6; }
51064 fi
51065
51066
51067 ;;
51068 esac
51069
51070
51071
51072
51073
51074
51075
51076
51077
51078 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
51079
51080
51081 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
51082
51083
51084
51085 # Check whether --enable-precomp-headers was given.
51086 if test "${enable_precomp_headers+set}" = set; then
51087 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51088 fi
51089
51090
51091 GCC_PCH=0
51092 ICC_PCH=0
51093 USE_PCH=0
51094 BK_MAKE_PCH=""
51095
51096 case ${BAKEFILE_HOST} in
51097 *-*-cygwin* )
51098 bk_use_pch="no"
51099 ;;
51100 esac
51101
51102 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51103 if test "x$GCC" = "xyes"; then
51104 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51105 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51106 cat >conftest.$ac_ext <<_ACEOF
51107 /* confdefs.h. */
51108 _ACEOF
51109 cat confdefs.h >>conftest.$ac_ext
51110 cat >>conftest.$ac_ext <<_ACEOF
51111 /* end confdefs.h. */
51112
51113 int
51114 main ()
51115 {
51116
51117 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51118 There is no PCH support
51119 #endif
51120 #if (__GNUC__ < 3)
51121 There is no PCH support
51122 #endif
51123 #if (__GNUC__ == 3) && \
51124 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51125 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51126 ( defined(__INTEL_COMPILER) )
51127 There is no PCH support
51128 #endif
51129
51130 ;
51131 return 0;
51132 }
51133 _ACEOF
51134 rm -f conftest.$ac_objext
51135 if { (ac_try="$ac_compile"
51136 case "(($ac_try" in
51137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51138 *) ac_try_echo=$ac_try;;
51139 esac
51140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51141 (eval "$ac_compile") 2>conftest.er1
51142 ac_status=$?
51143 grep -v '^ *+' conftest.er1 >conftest.err
51144 rm -f conftest.er1
51145 cat conftest.err >&5
51146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51147 (exit $ac_status); } && {
51148 test -z "$ac_c_werror_flag" ||
51149 test ! -s conftest.err
51150 } && test -s conftest.$ac_objext; then
51151
51152 { echo "$as_me:$LINENO: result: yes" >&5
51153 echo "${ECHO_T}yes" >&6; }
51154 GCC_PCH=1
51155
51156 else
51157 echo "$as_me: failed program was:" >&5
51158 sed 's/^/| /' conftest.$ac_ext >&5
51159
51160
51161 if test "$INTELCXX8" = "yes"; then
51162 { echo "$as_me:$LINENO: result: yes" >&5
51163 echo "${ECHO_T}yes" >&6; }
51164 ICC_PCH=1
51165 if test "$INTELCXX10" = "yes"; then
51166 ICC_PCH_CREATE_SWITCH="-pch-create"
51167 ICC_PCH_USE_SWITCH="-pch-use"
51168 else
51169 ICC_PCH_CREATE_SWITCH="-create-pch"
51170 ICC_PCH_USE_SWITCH="-use-pch"
51171 fi
51172 else
51173 { echo "$as_me:$LINENO: result: no" >&5
51174 echo "${ECHO_T}no" >&6; }
51175 fi
51176
51177 fi
51178
51179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51180 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51181 USE_PCH=1
51182
51183 D='$'
51184 cat <<EOF >bk-make-pch
51185 #!/bin/sh
51186
51187 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51188 # script. It is used to generated precompiled headers.
51189 #
51190 # Permission is given to use this file in any way.
51191
51192 outfile="${D}{1}"
51193 header="${D}{2}"
51194 shift
51195 shift
51196
51197 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51198
51199 compiler=""
51200 headerfile=""
51201
51202 while test ${D}{#} -gt 0; do
51203 add_to_cmdline=1
51204 case "${D}{1}" in
51205 -I* )
51206 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51207 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51208 headerfile="${D}{incdir}/${D}{header}"
51209 fi
51210 ;;
51211 -use-pch|-use_pch|-pch-use )
51212 shift
51213 add_to_cmdline=0
51214 ;;
51215 esac
51216 if test ${D}add_to_cmdline = 1 ; then
51217 compiler="${D}{compiler} ${D}{1}"
51218 fi
51219 shift
51220 done
51221
51222 if test "x${D}{headerfile}" = "x" ; then
51223 echo "error: can't find header ${D}{header} in include paths" >&2
51224 else
51225 if test -f ${D}{outfile} ; then
51226 rm -f ${D}{outfile}
51227 else
51228 mkdir -p \`dirname ${D}{outfile}\`
51229 fi
51230 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51231 mkdir -p ${D}{builddir}/.deps
51232 if test "x${GCC_PCH}" = "x1" ; then
51233 # can do this because gcc is >= 3.4:
51234 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51235 elif test "x${ICC_PCH}" = "x1" ; then
51236 filename=pch_gen-${D}${D}
51237 file=${D}{filename}.c
51238 dfile=${D}{filename}.d
51239 cat > ${D}file <<EOT
51240 #include "${D}header"
51241 EOT
51242 # using -MF icc complains about differing command lines in creation/use
51243 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51244 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51245 rm -f ${D}file ${D}dfile ${D}{filename}.o
51246 fi
51247 exit ${D}{?}
51248 fi
51249 EOF
51250
51251 chmod +x bk-make-pch
51252 BK_MAKE_PCH="`pwd`/bk-make-pch"
51253 fi
51254 fi
51255 fi
51256
51257
51258
51259
51260
51261
51262
51263 COND_BUILD_DEBUG="#"
51264 if test "x$BUILD" = "xdebug" ; then
51265 COND_BUILD_DEBUG=""
51266 fi
51267
51268 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51269 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51270 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51271 fi
51272
51273 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51274 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51275 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51276 fi
51277
51278 COND_BUILD_DEBUG_UNICODE_0="#"
51279 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51280 COND_BUILD_DEBUG_UNICODE_0=""
51281 fi
51282
51283 COND_BUILD_DEBUG_UNICODE_1="#"
51284 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51285 COND_BUILD_DEBUG_UNICODE_1=""
51286 fi
51287
51288 COND_BUILD_RELEASE="#"
51289 if test "x$BUILD" = "xrelease" ; then
51290 COND_BUILD_RELEASE=""
51291 fi
51292
51293 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51294 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51295 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51296 fi
51297
51298 COND_BUILD_RELEASE_UNICODE_0="#"
51299 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51300 COND_BUILD_RELEASE_UNICODE_0=""
51301 fi
51302
51303 COND_BUILD_RELEASE_UNICODE_1="#"
51304 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51305 COND_BUILD_RELEASE_UNICODE_1=""
51306 fi
51307
51308 COND_BUILD_debug="#"
51309 if test "x$BUILD" = "xdebug" ; then
51310 COND_BUILD_debug=""
51311 fi
51312
51313 COND_BUILD_debug_DEBUG_FLAG_default="#"
51314 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51315 COND_BUILD_debug_DEBUG_FLAG_default=""
51316 fi
51317
51318 COND_BUILD_debug_DEBUG_INFO_default="#"
51319 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51320 COND_BUILD_debug_DEBUG_INFO_default=""
51321 fi
51322
51323 COND_BUILD_debug_UNICODE_0="#"
51324 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51325 COND_BUILD_debug_UNICODE_0=""
51326 fi
51327
51328 COND_BUILD_debug_UNICODE_1="#"
51329 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51330 COND_BUILD_debug_UNICODE_1=""
51331 fi
51332
51333 COND_BUILD_release="#"
51334 if test "x$BUILD" = "xrelease" ; then
51335 COND_BUILD_release=""
51336 fi
51337
51338 COND_BUILD_release_DEBUG_INFO_default="#"
51339 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51340 COND_BUILD_release_DEBUG_INFO_default=""
51341 fi
51342
51343 COND_BUILD_release_UNICODE_0="#"
51344 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51345 COND_BUILD_release_UNICODE_0=""
51346 fi
51347
51348 COND_BUILD_release_UNICODE_1="#"
51349 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51350 COND_BUILD_release_UNICODE_1=""
51351 fi
51352
51353 COND_DEBUG_FLAG_0="#"
51354 if test "x$DEBUG_FLAG" = "x0" ; then
51355 COND_DEBUG_FLAG_0=""
51356 fi
51357
51358 COND_DEBUG_FLAG_1="#"
51359 if test "x$DEBUG_FLAG" = "x1" ; then
51360 COND_DEBUG_FLAG_1=""
51361 fi
51362
51363 COND_DEBUG_INFO_0="#"
51364 if test "x$DEBUG_INFO" = "x0" ; then
51365 COND_DEBUG_INFO_0=""
51366 fi
51367
51368 COND_DEBUG_INFO_1="#"
51369 if test "x$DEBUG_INFO" = "x1" ; then
51370 COND_DEBUG_INFO_1=""
51371 fi
51372
51373 COND_DEPS_TRACKING_0="#"
51374 if test "x$DEPS_TRACKING" = "x0" ; then
51375 COND_DEPS_TRACKING_0=""
51376 fi
51377
51378 COND_DEPS_TRACKING_1="#"
51379 if test "x$DEPS_TRACKING" = "x1" ; then
51380 COND_DEPS_TRACKING_1=""
51381 fi
51382
51383 COND_GCC_PCH_1="#"
51384 if test "x$GCC_PCH" = "x1" ; then
51385 COND_GCC_PCH_1=""
51386 fi
51387
51388 COND_ICC_PCH_1="#"
51389 if test "x$ICC_PCH" = "x1" ; then
51390 COND_ICC_PCH_1=""
51391 fi
51392
51393 COND_MONOLITHIC_0="#"
51394 if test "x$MONOLITHIC" = "x0" ; then
51395 COND_MONOLITHIC_0=""
51396 fi
51397
51398 COND_MONOLITHIC_0_SHARED_0="#"
51399 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51400 COND_MONOLITHIC_0_SHARED_0=""
51401 fi
51402
51403 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51404 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51405 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51406 fi
51407
51408 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51409 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51410 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51411 fi
51412
51413 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51414 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51415 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51416 fi
51417
51418 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51419 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51420 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51421 fi
51422
51423 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51424 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51425 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51426 fi
51427
51428 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51429 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51430 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51431 fi
51432
51433 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51434 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51435 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51436 fi
51437
51438 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51439 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51440 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51441 fi
51442
51443 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51444 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51445 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51446 fi
51447
51448 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51449 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51450 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51451 fi
51452
51453 COND_MONOLITHIC_0_SHARED_1="#"
51454 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51455 COND_MONOLITHIC_0_SHARED_1=""
51456 fi
51457
51458 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51459 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51460 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51461 fi
51462
51463 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51464 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51465 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51466 fi
51467
51468 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51469 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51470 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51471 fi
51472
51473 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51475 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51476 fi
51477
51478 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51480 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51481 fi
51482
51483 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51485 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51486 fi
51487
51488 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51490 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51491 fi
51492
51493 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51495 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51496 fi
51497
51498 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51500 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51501 fi
51502
51503 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51505 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51506 fi
51507
51508 COND_MONOLITHIC_0_USE_AUI_1="#"
51509 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51510 COND_MONOLITHIC_0_USE_AUI_1=""
51511 fi
51512
51513 COND_MONOLITHIC_0_USE_GUI_1="#"
51514 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51515 COND_MONOLITHIC_0_USE_GUI_1=""
51516 fi
51517
51518 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51519 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51520 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51521 fi
51522
51523 COND_MONOLITHIC_0_USE_HTML_1="#"
51524 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51525 COND_MONOLITHIC_0_USE_HTML_1=""
51526 fi
51527
51528 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51529 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51530 COND_MONOLITHIC_0_USE_MEDIA_1=""
51531 fi
51532
51533 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51534 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51535 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51536 fi
51537
51538 COND_MONOLITHIC_0_USE_QA_1="#"
51539 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51540 COND_MONOLITHIC_0_USE_QA_1=""
51541 fi
51542
51543 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51544 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51545 COND_MONOLITHIC_0_USE_RIBBON_1=""
51546 fi
51547
51548 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51549 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51550 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51551 fi
51552
51553 COND_MONOLITHIC_0_USE_STC_1="#"
51554 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51555 COND_MONOLITHIC_0_USE_STC_1=""
51556 fi
51557
51558 COND_MONOLITHIC_0_USE_XRC_1="#"
51559 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51560 COND_MONOLITHIC_0_USE_XRC_1=""
51561 fi
51562
51563 COND_MONOLITHIC_1="#"
51564 if test "x$MONOLITHIC" = "x1" ; then
51565 COND_MONOLITHIC_1=""
51566 fi
51567
51568 COND_MONOLITHIC_1_SHARED_0="#"
51569 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51570 COND_MONOLITHIC_1_SHARED_0=""
51571 fi
51572
51573 COND_MONOLITHIC_1_SHARED_1="#"
51574 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51575 COND_MONOLITHIC_1_SHARED_1=""
51576 fi
51577
51578 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51579 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51580 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51581 fi
51582
51583 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51584 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51585 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51586 fi
51587
51588 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51589 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51590 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51591 fi
51592
51593 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51594 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51595 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51596 fi
51597
51598 COND_PLATFORM_MACOSX_1="#"
51599 if test "x$PLATFORM_MACOSX" = "x1" ; then
51600 COND_PLATFORM_MACOSX_1=""
51601 fi
51602
51603 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51604 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51605 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51606 fi
51607
51608 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51609 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51610 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51611 fi
51612
51613 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51614 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51615 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51616 fi
51617
51618 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51619 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51620 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51621 fi
51622
51623 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51624 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51625 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51626 fi
51627
51628 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51629 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51630 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51631 fi
51632
51633 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51634 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51635 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51636 fi
51637
51638 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51639 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51640 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51641 fi
51642
51643 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51644 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51645 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51646 fi
51647
51648 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51649 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51650 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51651 fi
51652
51653 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51654 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51655 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51656 fi
51657
51658 COND_PLATFORM_MACOS_1="#"
51659 if test "x$PLATFORM_MACOS" = "x1" ; then
51660 COND_PLATFORM_MACOS_1=""
51661 fi
51662
51663 COND_PLATFORM_MAC_0="#"
51664 if test "x$PLATFORM_MAC" = "x0" ; then
51665 COND_PLATFORM_MAC_0=""
51666 fi
51667
51668 COND_PLATFORM_MAC_1="#"
51669 if test "x$PLATFORM_MAC" = "x1" ; then
51670 COND_PLATFORM_MAC_1=""
51671 fi
51672
51673 COND_PLATFORM_MSDOS_0="#"
51674 if test "x$PLATFORM_MSDOS" = "x0" ; then
51675 COND_PLATFORM_MSDOS_0=""
51676 fi
51677
51678 COND_PLATFORM_MSDOS_1="#"
51679 if test "x$PLATFORM_MSDOS" = "x1" ; then
51680 COND_PLATFORM_MSDOS_1=""
51681 fi
51682
51683 COND_PLATFORM_OS2_1="#"
51684 if test "x$PLATFORM_OS2" = "x1" ; then
51685 COND_PLATFORM_OS2_1=""
51686 fi
51687
51688 COND_PLATFORM_UNIX_0="#"
51689 if test "x$PLATFORM_UNIX" = "x0" ; then
51690 COND_PLATFORM_UNIX_0=""
51691 fi
51692
51693 COND_PLATFORM_UNIX_1="#"
51694 if test "x$PLATFORM_UNIX" = "x1" ; then
51695 COND_PLATFORM_UNIX_1=""
51696 fi
51697
51698 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51699 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51700 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51701 fi
51702
51703 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51704 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51705 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51706 fi
51707
51708 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51709 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51710 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51711 fi
51712
51713 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51714 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51715 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51716 fi
51717
51718 COND_PLATFORM_WIN32_0="#"
51719 if test "x$PLATFORM_WIN32" = "x0" ; then
51720 COND_PLATFORM_WIN32_0=""
51721 fi
51722
51723 COND_PLATFORM_WIN32_1="#"
51724 if test "x$PLATFORM_WIN32" = "x1" ; then
51725 COND_PLATFORM_WIN32_1=""
51726 fi
51727
51728 COND_PLATFORM_WIN32_1_SHARED_0="#"
51729 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51730 COND_PLATFORM_WIN32_1_SHARED_0=""
51731 fi
51732
51733 COND_SHARED_0="#"
51734 if test "x$SHARED" = "x0" ; then
51735 COND_SHARED_0=""
51736 fi
51737
51738 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51739 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51740 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51741 fi
51742
51743 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51744 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51745 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51746 fi
51747
51748 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51749 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51750 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51751 fi
51752
51753 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51754 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51755 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51756 fi
51757
51758 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51759 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51760 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51761 fi
51762
51763 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51764 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51765 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51766 fi
51767
51768 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51769 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51770 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51771 fi
51772
51773 COND_SHARED_0_USE_STC_1="#"
51774 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51775 COND_SHARED_0_USE_STC_1=""
51776 fi
51777
51778 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
51779 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51780 COND_SHARED_0_wxUSE_EXPAT_builtin=""
51781 fi
51782
51783 COND_SHARED_0_wxUSE_REGEX_builtin="#"
51784 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51785 COND_SHARED_0_wxUSE_REGEX_builtin=""
51786 fi
51787
51788 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51789 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51790 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51791 fi
51792
51793 COND_SHARED_1="#"
51794 if test "x$SHARED" = "x1" ; then
51795 COND_SHARED_1=""
51796 fi
51797
51798 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51799 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51800 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51801 fi
51802
51803 COND_TOOLKIT_="#"
51804 if test "x$TOOLKIT" = "x" ; then
51805 COND_TOOLKIT_=""
51806 fi
51807
51808 COND_TOOLKIT_COCOA="#"
51809 if test "x$TOOLKIT" = "xCOCOA" ; then
51810 COND_TOOLKIT_COCOA=""
51811 fi
51812
51813 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51814 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51815 COND_TOOLKIT_COCOA_USE_GUI_1=""
51816 fi
51817
51818 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51819 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51820 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51821 fi
51822
51823 COND_TOOLKIT_DFB="#"
51824 if test "x$TOOLKIT" = "xDFB" ; then
51825 COND_TOOLKIT_DFB=""
51826 fi
51827
51828 COND_TOOLKIT_DFB_USE_GUI_1="#"
51829 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51830 COND_TOOLKIT_DFB_USE_GUI_1=""
51831 fi
51832
51833 COND_TOOLKIT_GTK="#"
51834 if test "x$TOOLKIT" = "xGTK" ; then
51835 COND_TOOLKIT_GTK=""
51836 fi
51837
51838 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51839 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51840 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51841 fi
51842
51843 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51844 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51845 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51846 fi
51847
51848 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51849 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51850 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51851 fi
51852
51853 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51854 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51855 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51856 fi
51857
51858 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51859 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51860 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51861 fi
51862
51863 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51864 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51865 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51866 fi
51867
51868 COND_TOOLKIT_GTK_USE_GUI_1="#"
51869 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51870 COND_TOOLKIT_GTK_USE_GUI_1=""
51871 fi
51872
51873 COND_TOOLKIT_MAC="#"
51874 if test "x$TOOLKIT" = "xMAC" ; then
51875 COND_TOOLKIT_MAC=""
51876 fi
51877
51878 COND_TOOLKIT_MGL="#"
51879 if test "x$TOOLKIT" = "xMGL" ; then
51880 COND_TOOLKIT_MGL=""
51881 fi
51882
51883 COND_TOOLKIT_MGL_USE_GUI_1="#"
51884 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51885 COND_TOOLKIT_MGL_USE_GUI_1=""
51886 fi
51887
51888 COND_TOOLKIT_MOTIF="#"
51889 if test "x$TOOLKIT" = "xMOTIF" ; then
51890 COND_TOOLKIT_MOTIF=""
51891 fi
51892
51893 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51894 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51895 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51896 fi
51897
51898 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51899 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51900 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51901 fi
51902
51903 COND_TOOLKIT_MSW="#"
51904 if test "x$TOOLKIT" = "xMSW" ; then
51905 COND_TOOLKIT_MSW=""
51906 fi
51907
51908 COND_TOOLKIT_MSW_USE_GUI_1="#"
51909 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51910 COND_TOOLKIT_MSW_USE_GUI_1=""
51911 fi
51912
51913 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51914 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51915 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51916 fi
51917
51918 COND_TOOLKIT_MSW_WXUNIV_0="#"
51919 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51920 COND_TOOLKIT_MSW_WXUNIV_0=""
51921 fi
51922
51923 COND_TOOLKIT_OSX_CARBON="#"
51924 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51925 COND_TOOLKIT_OSX_CARBON=""
51926 fi
51927
51928 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51929 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51930 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51931 fi
51932
51933 COND_TOOLKIT_OSX_COCOA="#"
51934 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51935 COND_TOOLKIT_OSX_COCOA=""
51936 fi
51937
51938 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51939 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51940 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51941 fi
51942
51943 COND_TOOLKIT_OSX_IPHONE="#"
51944 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51945 COND_TOOLKIT_OSX_IPHONE=""
51946 fi
51947
51948 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51949 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51950 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51951 fi
51952
51953 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51954 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51955 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51956 fi
51957
51958 COND_TOOLKIT_PM="#"
51959 if test "x$TOOLKIT" = "xPM" ; then
51960 COND_TOOLKIT_PM=""
51961 fi
51962
51963 COND_TOOLKIT_PM_USE_GUI_1="#"
51964 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51965 COND_TOOLKIT_PM_USE_GUI_1=""
51966 fi
51967
51968 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51969 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51970 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51971 fi
51972
51973 COND_TOOLKIT_WINCE="#"
51974 if test "x$TOOLKIT" = "xWINCE" ; then
51975 COND_TOOLKIT_WINCE=""
51976 fi
51977
51978 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51979 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51980 COND_TOOLKIT_WINCE_USE_GUI_1=""
51981 fi
51982
51983 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51984 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51985 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51986 fi
51987
51988 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51989 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51990 COND_TOOLKIT_WINCE_WXUNIV_0=""
51991 fi
51992
51993 COND_TOOLKIT_X11="#"
51994 if test "x$TOOLKIT" = "xX11" ; then
51995 COND_TOOLKIT_X11=""
51996 fi
51997
51998 COND_TOOLKIT_X11_USE_GUI_1="#"
51999 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52000 COND_TOOLKIT_X11_USE_GUI_1=""
52001 fi
52002
52003 COND_UNICODE_1="#"
52004 if test "x$UNICODE" = "x1" ; then
52005 COND_UNICODE_1=""
52006 fi
52007
52008 COND_USE_CAIRO_1="#"
52009 if test "x$USE_CAIRO" = "x1" ; then
52010 COND_USE_CAIRO_1=""
52011 fi
52012
52013 COND_USE_EXCEPTIONS_0="#"
52014 if test "x$USE_EXCEPTIONS" = "x0" ; then
52015 COND_USE_EXCEPTIONS_0=""
52016 fi
52017
52018 COND_USE_EXCEPTIONS_1="#"
52019 if test "x$USE_EXCEPTIONS" = "x1" ; then
52020 COND_USE_EXCEPTIONS_1=""
52021 fi
52022
52023 COND_USE_GUI_0="#"
52024 if test "x$USE_GUI" = "x0" ; then
52025 COND_USE_GUI_0=""
52026 fi
52027
52028 COND_USE_GUI_1="#"
52029 if test "x$USE_GUI" = "x1" ; then
52030 COND_USE_GUI_1=""
52031 fi
52032
52033 COND_USE_GUI_1_USE_OPENGL_1="#"
52034 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52035 COND_USE_GUI_1_USE_OPENGL_1=""
52036 fi
52037
52038 COND_USE_GUI_1_WXUNIV_0="#"
52039 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52040 COND_USE_GUI_1_WXUNIV_0=""
52041 fi
52042
52043 COND_USE_GUI_1_WXUNIV_1="#"
52044 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52045 COND_USE_GUI_1_WXUNIV_1=""
52046 fi
52047
52048 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52049 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52050 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52051 fi
52052
52053 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52054 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52055 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52056 fi
52057
52058 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52059 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52060 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52061 fi
52062
52063 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52064 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52065 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52066 fi
52067
52068 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52069 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52070 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52071 fi
52072
52073 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52074 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52075 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52076 fi
52077
52078 COND_USE_OPENGL_1="#"
52079 if test "x$USE_OPENGL" = "x1" ; then
52080 COND_USE_OPENGL_1=""
52081 fi
52082
52083 COND_USE_PCH_1="#"
52084 if test "x$USE_PCH" = "x1" ; then
52085 COND_USE_PCH_1=""
52086 fi
52087
52088 COND_USE_PLUGINS_0="#"
52089 if test "x$USE_PLUGINS" = "x0" ; then
52090 COND_USE_PLUGINS_0=""
52091 fi
52092
52093 COND_USE_RTTI_0="#"
52094 if test "x$USE_RTTI" = "x0" ; then
52095 COND_USE_RTTI_0=""
52096 fi
52097
52098 COND_USE_RTTI_1="#"
52099 if test "x$USE_RTTI" = "x1" ; then
52100 COND_USE_RTTI_1=""
52101 fi
52102
52103 COND_USE_SOTWOSYMLINKS_1="#"
52104 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52105 COND_USE_SOTWOSYMLINKS_1=""
52106 fi
52107
52108 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52109 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52110 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52111 fi
52112
52113 COND_USE_SOVERLINUX_1="#"
52114 if test "x$USE_SOVERLINUX" = "x1" ; then
52115 COND_USE_SOVERLINUX_1=""
52116 fi
52117
52118 COND_USE_SOVERSION_0="#"
52119 if test "x$USE_SOVERSION" = "x0" ; then
52120 COND_USE_SOVERSION_0=""
52121 fi
52122
52123 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52124 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52125 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52126 fi
52127
52128 COND_USE_SOVERSOLARIS_1="#"
52129 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52130 COND_USE_SOVERSOLARIS_1=""
52131 fi
52132
52133 COND_USE_STC_1="#"
52134 if test "x$USE_STC" = "x1" ; then
52135 COND_USE_STC_1=""
52136 fi
52137
52138 COND_USE_THREADS_0="#"
52139 if test "x$USE_THREADS" = "x0" ; then
52140 COND_USE_THREADS_0=""
52141 fi
52142
52143 COND_USE_THREADS_1="#"
52144 if test "x$USE_THREADS" = "x1" ; then
52145 COND_USE_THREADS_1=""
52146 fi
52147
52148 COND_USE_XRC_1="#"
52149 if test "x$USE_XRC" = "x1" ; then
52150 COND_USE_XRC_1=""
52151 fi
52152
52153 COND_WINDOWS_IMPLIB_1="#"
52154 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52155 COND_WINDOWS_IMPLIB_1=""
52156 fi
52157
52158 COND_WITH_PLUGIN_SDL_1="#"
52159 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52160 COND_WITH_PLUGIN_SDL_1=""
52161 fi
52162
52163 COND_WXUNIV_0="#"
52164 if test "x$WXUNIV" = "x0" ; then
52165 COND_WXUNIV_0=""
52166 fi
52167
52168 COND_WXUNIV_1="#"
52169 if test "x$WXUNIV" = "x1" ; then
52170 COND_WXUNIV_1=""
52171 fi
52172
52173 COND_WXUSE_EXPAT_BUILTIN="#"
52174 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52175 COND_WXUSE_EXPAT_BUILTIN=""
52176 fi
52177
52178 COND_WXUSE_LIBJPEG_BUILTIN="#"
52179 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52180 COND_WXUSE_LIBJPEG_BUILTIN=""
52181 fi
52182
52183 COND_WXUSE_LIBPNG_BUILTIN="#"
52184 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52185 COND_WXUSE_LIBPNG_BUILTIN=""
52186 fi
52187
52188 COND_WXUSE_LIBTIFF_BUILTIN="#"
52189 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52190 COND_WXUSE_LIBTIFF_BUILTIN=""
52191 fi
52192
52193 COND_WXUSE_REGEX_BUILTIN="#"
52194 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52195 COND_WXUSE_REGEX_BUILTIN=""
52196 fi
52197
52198 COND_WXUSE_ZLIB_BUILTIN="#"
52199 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52200 COND_WXUSE_ZLIB_BUILTIN=""
52201 fi
52202
52203 COND_wxUSE_EXPAT_builtin="#"
52204 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52205 COND_wxUSE_EXPAT_builtin=""
52206 fi
52207
52208 COND_wxUSE_LIBJPEG_builtin="#"
52209 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52210 COND_wxUSE_LIBJPEG_builtin=""
52211 fi
52212
52213 COND_wxUSE_LIBPNG_builtin="#"
52214 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52215 COND_wxUSE_LIBPNG_builtin=""
52216 fi
52217
52218 COND_wxUSE_LIBTIFF_builtin="#"
52219 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52220 COND_wxUSE_LIBTIFF_builtin=""
52221 fi
52222
52223 COND_wxUSE_REGEX_builtin="#"
52224 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52225 COND_wxUSE_REGEX_builtin=""
52226 fi
52227
52228 COND_wxUSE_ZLIB_builtin="#"
52229 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52230 COND_wxUSE_ZLIB_builtin=""
52231 fi
52232
52233
52234
52235 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52236 { { 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
52237 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;}
52238 { (exit 1); exit 1; }; }
52239 fi
52240
52241 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52242 { { 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
52243 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;}
52244 { (exit 1); exit 1; }; }
52245 fi
52246
52247
52248 case ${INSTALL} in
52249 /* ) # Absolute
52250 ;;
52251 ?:* ) # Drive letter, considered as absolute.
52252 ;;
52253 *)
52254 INSTALL=`pwd`/${INSTALL} ;;
52255 esac
52256
52257 if test "$wxUSE_GUI" = "yes"; then
52258
52259 if test "$wxUSE_MSW" = 1 ; then
52260 if test "x$WINDRES" = "x"; then
52261 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52262 echo "$as_me: error: Required windres program not found" >&2;}
52263 { (exit 1); exit 1; }; }
52264 fi
52265
52266 RESCOMP="$WINDRES"
52267 fi
52268
52269 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52270 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52271 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52272
52273 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52274
52275 # Extract the first word of "DeRez", so it can be a program name with args.
52276 set dummy DeRez; ac_word=$2
52277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52279 if test "${ac_cv_prog_DEREZ+set}" = set; then
52280 echo $ECHO_N "(cached) $ECHO_C" >&6
52281 else
52282 if test -n "$DEREZ"; then
52283 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52284 else
52285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52286 for as_dir in $PATH
52287 do
52288 IFS=$as_save_IFS
52289 test -z "$as_dir" && as_dir=.
52290 for ac_exec_ext in '' $ac_executable_extensions; do
52291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52292 ac_cv_prog_DEREZ="DeRez"
52293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52294 break 2
52295 fi
52296 done
52297 done
52298 IFS=$as_save_IFS
52299
52300 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52301 fi
52302 fi
52303 DEREZ=$ac_cv_prog_DEREZ
52304 if test -n "$DEREZ"; then
52305 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52306 echo "${ECHO_T}$DEREZ" >&6; }
52307 else
52308 { echo "$as_me:$LINENO: result: no" >&5
52309 echo "${ECHO_T}no" >&6; }
52310 fi
52311
52312
52313
52314 MACSETFILE="\$(SETFILE)"
52315
52316 if test "$wxUSE_OSX_CARBON" = 1; then
52317 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52318 RESCOMP="$REZ"
52319 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52320 else
52321 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52322 RESCOMP="cat /dev/null \| $REZ"
52323 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52324 fi
52325
52326 else
52327 MACSETFILE="@true"
52328
52329 if test "$wxUSE_PM" = 1; then
52330 RESCOMP="emxbind"
52331 WXCONFIG_RESFLAGS="-ep"
52332
52333 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52334 else
52335 POSTLINK_COMMAND="@true"
52336 fi
52337 fi
52338
52339 fi
52340
52341
52342 if test $GCC_PCH = 1
52343 then
52344 if test "$wx_cv_gcc_pch_bug" = yes; then
52345 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52346 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52347 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52348 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52349 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52350 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52351 fi
52352
52353 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52354 # the headers that benefit from precompilation are mostly C++ headers.
52355 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52356 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52357 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52358 fi
52359
52360
52361 if test "$wxUSE_MAC" = 1 ; then
52362 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52363 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52364 mv temp bk-deps
52365 chmod +x bk-deps
52366 fi
52367 fi
52368
52369 if test "$wxUSE_SHARED" = "yes"; then
52370 case "${host}" in
52371 *-pc-os2_emx | *-pc-os2-emx )
52372 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52373 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52374 cp -p ${srcdir}/src/os2/dllnames.sh .
52375 cp -p ${srcdir}/src/os2/dllar.sh .
52376 ;;
52377 esac
52378 fi
52379 if test "$wxUSE_OMF" = "yes"; then
52380 case "${host}" in
52381 *-pc-os2_emx | *-pc-os2-emx )
52382 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52383 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52384 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52385 ;;
52386 esac
52387 fi
52388
52389 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52390
52391
52392 case "${host}" in
52393 *-*-solaris2* )
52394 if test "$GCC" = yes; then
52395 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52396 LIBS=`echo $LIBS | sed 's/-mt//'`
52397 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52398 fi
52399 ;;
52400
52401 *-*-linux* )
52402 if test "x$SUNCXX" = xyes; then
52403 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52404 LIBS=`echo $LIBS | sed 's/-pthread//'`
52405 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52406 fi
52407 ;;
52408 esac
52409
52410 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52411 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52412 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52413 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52414
52415 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52416
52417
52418
52419
52420
52421
52422
52423
52424
52425
52426
52427
52428
52429
52430
52431
52432
52433
52434
52435
52436
52437
52438
52439
52440
52441
52442
52443
52444
52445
52446
52447
52448
52449
52450
52451
52452
52453
52454
52455
52456
52457
52458
52459
52460
52461
52462
52463
52464
52465
52466
52467
52468
52469
52470
52471
52472
52473
52474
52475
52476 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52477 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52478 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52479 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52480 echo $ECHO_N "(cached) $ECHO_C" >&6
52481 else
52482 cat >conftest.make <<\_ACEOF
52483 SHELL = /bin/sh
52484 all:
52485 @echo '@@@%%%=$(MAKE)=@@@%%%'
52486 _ACEOF
52487 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52488 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52489 *@@@%%%=?*=@@@%%%*)
52490 eval ac_cv_prog_make_${ac_make}_set=yes;;
52491 *)
52492 eval ac_cv_prog_make_${ac_make}_set=no;;
52493 esac
52494 rm -f conftest.make
52495 fi
52496 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52497 { echo "$as_me:$LINENO: result: yes" >&5
52498 echo "${ECHO_T}yes" >&6; }
52499 SET_MAKE=
52500 else
52501 { echo "$as_me:$LINENO: result: no" >&5
52502 echo "${ECHO_T}no" >&6; }
52503 SET_MAKE="MAKE=${MAKE-make}"
52504 fi
52505
52506
52507
52508 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52509
52510
52511 if test "$USE_WIN32" = 1; then
52512 ac_config_commands="$ac_config_commands rcdefs.h"
52513
52514 fi
52515
52516 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52517
52518
52519 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52520
52521
52522 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52523
52524
52525 if test "$wx_cv_version_script" = "yes"; then
52526 ac_config_files="$ac_config_files version-script"
52527
52528 fi
52529 ac_config_files="$ac_config_files Makefile"
52530
52531
52532 ac_config_commands="$ac_config_commands wx-config"
52533
52534
52535
52536 if test "$wxWITH_SUBDIRS" != "no"; then
52537 if test "$wxUSE_GUI" = "yes"; then
52538 SUBDIRS="samples demos utils"
52539 else
52540 SUBDIRS="samples utils"
52541 fi
52542
52543
52544
52545 # Check whether --with-cppunit-prefix was given.
52546 if test "${with_cppunit_prefix+set}" = set; then
52547 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52548 else
52549 cppunit_config_prefix=""
52550 fi
52551
52552
52553 # Check whether --with-cppunit-exec-prefix was given.
52554 if test "${with_cppunit_exec_prefix+set}" = set; then
52555 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52556 else
52557 cppunit_config_exec_prefix=""
52558 fi
52559
52560
52561 if test x$cppunit_config_exec_prefix != x ; then
52562 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52563 if test x${CPPUNIT_CONFIG+set} != xset ; then
52564 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52565 fi
52566 fi
52567 if test x$cppunit_config_prefix != x ; then
52568 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52569 if test x${CPPUNIT_CONFIG+set} != xset ; then
52570 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52571 fi
52572 fi
52573
52574 # Extract the first word of "cppunit-config", so it can be a program name with args.
52575 set dummy cppunit-config; ac_word=$2
52576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52578 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52579 echo $ECHO_N "(cached) $ECHO_C" >&6
52580 else
52581 case $CPPUNIT_CONFIG in
52582 [\\/]* | ?:[\\/]*)
52583 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52584 ;;
52585 *)
52586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52587 for as_dir in $PATH
52588 do
52589 IFS=$as_save_IFS
52590 test -z "$as_dir" && as_dir=.
52591 for ac_exec_ext in '' $ac_executable_extensions; do
52592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52593 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52595 break 2
52596 fi
52597 done
52598 done
52599 IFS=$as_save_IFS
52600
52601 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52602 ;;
52603 esac
52604 fi
52605 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52606 if test -n "$CPPUNIT_CONFIG"; then
52607 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52608 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52609 else
52610 { echo "$as_me:$LINENO: result: no" >&5
52611 echo "${ECHO_T}no" >&6; }
52612 fi
52613
52614
52615 cppunit_version_min=1.8.0
52616
52617 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52618 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52619 no_cppunit=""
52620 if test "$CPPUNIT_CONFIG" = "no" ; then
52621 { echo "$as_me:$LINENO: result: no" >&5
52622 echo "${ECHO_T}no" >&6; }
52623 no_cppunit=yes
52624 else
52625 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52626 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52627 cppunit_version=`$CPPUNIT_CONFIG --version`
52628
52629 cppunit_major_version=`echo $cppunit_version | \
52630 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52631 cppunit_minor_version=`echo $cppunit_version | \
52632 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52633 cppunit_micro_version=`echo $cppunit_version | \
52634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52635
52636 cppunit_major_min=`echo $cppunit_version_min | \
52637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52638 cppunit_minor_min=`echo $cppunit_version_min | \
52639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52640 cppunit_micro_min=`echo $cppunit_version_min | \
52641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52642
52643 cppunit_version_proper=`expr \
52644 $cppunit_major_version \> $cppunit_major_min \| \
52645 $cppunit_major_version \= $cppunit_major_min \& \
52646 $cppunit_minor_version \> $cppunit_minor_min \| \
52647 $cppunit_major_version \= $cppunit_major_min \& \
52648 $cppunit_minor_version \= $cppunit_minor_min \& \
52649 $cppunit_micro_version \>= $cppunit_micro_min `
52650
52651 if test "$cppunit_version_proper" = "1" ; then
52652 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52653 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52654 else
52655 { echo "$as_me:$LINENO: result: no" >&5
52656 echo "${ECHO_T}no" >&6; }
52657 no_cppunit=yes
52658 fi
52659 fi
52660
52661 if test "x$no_cppunit" = x ; then
52662 SUBDIRS="$SUBDIRS tests"
52663 else
52664 CPPUNIT_CFLAGS=""
52665 CPPUNIT_LIBS=""
52666 :
52667 fi
52668
52669
52670
52671
52672
52673 for subdir in $SUBDIRS; do
52674 if test -d ${srcdir}/${subdir} ; then
52675 if test "$wxUSE_GUI" = "yes"; then
52676 if test ${subdir} = "samples"; then
52677 makefiles="samples/Makefile.in $makefiles"
52678 for sample in $SAMPLES_SUBDIRS; do
52679 if test -d $srcdir/samples/$sample; then
52680 makefiles="samples/$sample/Makefile.in $makefiles"
52681 fi
52682 done
52683 else
52684 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52685 eval "disabled=\$$disabled_var"
52686 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52687 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52688 fi
52689 else
52690 if test ${subdir} = "samples"; then
52691 makefiles="samples/Makefile.in $makefiles"
52692 for sample in `echo $SAMPLES_SUBDIRS`; do
52693 if test -d $srcdir/samples/$sample; then
52694 makefiles="samples/$sample/Makefile.in $makefiles"
52695 fi
52696 done
52697 elif test ${subdir} = "utils"; then
52698 makefiles=""
52699 for util in ifacecheck ; do
52700 if test -d $srcdir/utils/$util ; then
52701 makefiles="utils/$util/src/Makefile.in \
52702 $makefiles"
52703 fi
52704 done
52705 else
52706 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52707 fi
52708 fi
52709
52710 for mkin in $makefiles ; do
52711 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52712 ac_config_files="$ac_config_files $mk"
52713
52714 done
52715 fi
52716 done
52717 fi
52718 cat >confcache <<\_ACEOF
52719 # This file is a shell script that caches the results of configure
52720 # tests run on this system so they can be shared between configure
52721 # scripts and configure runs, see configure's option --config-cache.
52722 # It is not useful on other systems. If it contains results you don't
52723 # want to keep, you may remove or edit it.
52724 #
52725 # config.status only pays attention to the cache file if you give it
52726 # the --recheck option to rerun configure.
52727 #
52728 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52729 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52730 # following values.
52731
52732 _ACEOF
52733
52734 # The following way of writing the cache mishandles newlines in values,
52735 # but we know of no workaround that is simple, portable, and efficient.
52736 # So, we kill variables containing newlines.
52737 # Ultrix sh set writes to stderr and can't be redirected directly,
52738 # and sets the high bit in the cache file unless we assign to the vars.
52739 (
52740 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
52741 eval ac_val=\$$ac_var
52742 case $ac_val in #(
52743 *${as_nl}*)
52744 case $ac_var in #(
52745 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
52746 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
52747 esac
52748 case $ac_var in #(
52749 _ | IFS | as_nl) ;; #(
52750 *) $as_unset $ac_var ;;
52751 esac ;;
52752 esac
52753 done
52754
52755 (set) 2>&1 |
52756 case $as_nl`(ac_space=' '; set) 2>&1` in #(
52757 *${as_nl}ac_space=\ *)
52758 # `set' does not quote correctly, so add quotes (double-quote
52759 # substitution turns \\\\ into \\, and sed turns \\ into \).
52760 sed -n \
52761 "s/'/'\\\\''/g;
52762 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
52763 ;; #(
52764 *)
52765 # `set' quotes correctly as required by POSIX, so do not add quotes.
52766 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
52767 ;;
52768 esac |
52769 sort
52770 ) |
52771 sed '
52772 /^ac_cv_env_/b end
52773 t clear
52774 :clear
52775 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52776 t end
52777 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52778 :end' >>confcache
52779 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
52780 if test -w "$cache_file"; then
52781 test "x$cache_file" != "x/dev/null" &&
52782 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
52783 echo "$as_me: updating cache $cache_file" >&6;}
52784 cat confcache >$cache_file
52785 else
52786 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
52787 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
52788 fi
52789 fi
52790 rm -f confcache
52791
52792 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52793 # Let make expand exec_prefix.
52794 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52795
52796 DEFS=-DHAVE_CONFIG_H
52797
52798 ac_libobjs=
52799 ac_ltlibobjs=
52800 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52801 # 1. Remove the extension, and $U if already installed.
52802 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52803 ac_i=`echo "$ac_i" | sed "$ac_script"`
52804 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52805 # will be set to the directory where LIBOBJS objects are built.
52806 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52807 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52808 done
52809 LIBOBJS=$ac_libobjs
52810
52811 LTLIBOBJS=$ac_ltlibobjs
52812
52813
52814
52815 : ${CONFIG_STATUS=./config.status}
52816 ac_clean_files_save=$ac_clean_files
52817 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52818 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52819 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52820 cat >$CONFIG_STATUS <<_ACEOF
52821 #! $SHELL
52822 # Generated by $as_me.
52823 # Run this file to recreate the current configuration.
52824 # Compiler output produced by configure, useful for debugging
52825 # configure, is in config.log if it exists.
52826
52827 debug=false
52828 ac_cs_recheck=false
52829 ac_cs_silent=false
52830 SHELL=\${CONFIG_SHELL-$SHELL}
52831 _ACEOF
52832
52833 cat >>$CONFIG_STATUS <<\_ACEOF
52834 ## --------------------- ##
52835 ## M4sh Initialization. ##
52836 ## --------------------- ##
52837
52838 # Be more Bourne compatible
52839 DUALCASE=1; export DUALCASE # for MKS sh
52840 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52841 emulate sh
52842 NULLCMD=:
52843 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52844 # is contrary to our usage. Disable this feature.
52845 alias -g '${1+"$@"}'='"$@"'
52846 setopt NO_GLOB_SUBST
52847 else
52848 case `(set -o) 2>/dev/null` in
52849 *posix*) set -o posix ;;
52850 esac
52851
52852 fi
52853
52854
52855
52856
52857 # PATH needs CR
52858 # Avoid depending upon Character Ranges.
52859 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52860 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52861 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52862 as_cr_digits='0123456789'
52863 as_cr_alnum=$as_cr_Letters$as_cr_digits
52864
52865 # The user is always right.
52866 if test "${PATH_SEPARATOR+set}" != set; then
52867 echo "#! /bin/sh" >conf$$.sh
52868 echo "exit 0" >>conf$$.sh
52869 chmod +x conf$$.sh
52870 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52871 PATH_SEPARATOR=';'
52872 else
52873 PATH_SEPARATOR=:
52874 fi
52875 rm -f conf$$.sh
52876 fi
52877
52878 # Support unset when possible.
52879 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52880 as_unset=unset
52881 else
52882 as_unset=false
52883 fi
52884
52885
52886 # IFS
52887 # We need space, tab and new line, in precisely that order. Quoting is
52888 # there to prevent editors from complaining about space-tab.
52889 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52890 # splitting by setting IFS to empty value.)
52891 as_nl='
52892 '
52893 IFS=" "" $as_nl"
52894
52895 # Find who we are. Look in the path if we contain no directory separator.
52896 case $0 in
52897 *[\\/]* ) as_myself=$0 ;;
52898 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52899 for as_dir in $PATH
52900 do
52901 IFS=$as_save_IFS
52902 test -z "$as_dir" && as_dir=.
52903 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52904 done
52905 IFS=$as_save_IFS
52906
52907 ;;
52908 esac
52909 # We did not find ourselves, most probably we were run as `sh COMMAND'
52910 # in which case we are not to be found in the path.
52911 if test "x$as_myself" = x; then
52912 as_myself=$0
52913 fi
52914 if test ! -f "$as_myself"; then
52915 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52916 { (exit 1); exit 1; }
52917 fi
52918
52919 # Work around bugs in pre-3.0 UWIN ksh.
52920 for as_var in ENV MAIL MAILPATH
52921 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52922 done
52923 PS1='$ '
52924 PS2='> '
52925 PS4='+ '
52926
52927 # NLS nuisances.
52928 for as_var in \
52929 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52930 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52931 LC_TELEPHONE LC_TIME
52932 do
52933 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52934 eval $as_var=C; export $as_var
52935 else
52936 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52937 fi
52938 done
52939
52940 # Required to use basename.
52941 if expr a : '\(a\)' >/dev/null 2>&1 &&
52942 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52943 as_expr=expr
52944 else
52945 as_expr=false
52946 fi
52947
52948 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52949 as_basename=basename
52950 else
52951 as_basename=false
52952 fi
52953
52954
52955 # Name of the executable.
52956 as_me=`$as_basename -- "$0" ||
52957 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52958 X"$0" : 'X\(//\)$' \| \
52959 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52960 echo X/"$0" |
52961 sed '/^.*\/\([^/][^/]*\)\/*$/{
52962 s//\1/
52963 q
52964 }
52965 /^X\/\(\/\/\)$/{
52966 s//\1/
52967 q
52968 }
52969 /^X\/\(\/\).*/{
52970 s//\1/
52971 q
52972 }
52973 s/.*/./; q'`
52974
52975 # CDPATH.
52976 $as_unset CDPATH
52977
52978
52979
52980 as_lineno_1=$LINENO
52981 as_lineno_2=$LINENO
52982 test "x$as_lineno_1" != "x$as_lineno_2" &&
52983 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52984
52985 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52986 # uniformly replaced by the line number. The first 'sed' inserts a
52987 # line-number line after each line using $LINENO; the second 'sed'
52988 # does the real work. The second script uses 'N' to pair each
52989 # line-number line with the line containing $LINENO, and appends
52990 # trailing '-' during substitution so that $LINENO is not a special
52991 # case at line end.
52992 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52993 # scripts with optimization help from Paolo Bonzini. Blame Lee
52994 # E. McMahon (1931-1989) for sed's syntax. :-)
52995 sed -n '
52996 p
52997 /[$]LINENO/=
52998 ' <$as_myself |
52999 sed '
53000 s/[$]LINENO.*/&-/
53001 t lineno
53002 b
53003 :lineno
53004 N
53005 :loop
53006 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53007 t loop
53008 s/-\n.*//
53009 ' >$as_me.lineno &&
53010 chmod +x "$as_me.lineno" ||
53011 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53012 { (exit 1); exit 1; }; }
53013
53014 # Don't try to exec as it changes $[0], causing all sort of problems
53015 # (the dirname of $[0] is not the place where we might find the
53016 # original and so on. Autoconf is especially sensitive to this).
53017 . "./$as_me.lineno"
53018 # Exit status is that of the last command.
53019 exit
53020 }
53021
53022
53023 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53024 as_dirname=dirname
53025 else
53026 as_dirname=false
53027 fi
53028
53029 ECHO_C= ECHO_N= ECHO_T=
53030 case `echo -n x` in
53031 -n*)
53032 case `echo 'x\c'` in
53033 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53034 *) ECHO_C='\c';;
53035 esac;;
53036 *)
53037 ECHO_N='-n';;
53038 esac
53039
53040 if expr a : '\(a\)' >/dev/null 2>&1 &&
53041 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53042 as_expr=expr
53043 else
53044 as_expr=false
53045 fi
53046
53047 rm -f conf$$ conf$$.exe conf$$.file
53048 if test -d conf$$.dir; then
53049 rm -f conf$$.dir/conf$$.file
53050 else
53051 rm -f conf$$.dir
53052 mkdir conf$$.dir
53053 fi
53054 echo >conf$$.file
53055 if ln -s conf$$.file conf$$ 2>/dev/null; then
53056 as_ln_s='ln -s'
53057 # ... but there are two gotchas:
53058 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53059 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53060 # In both cases, we have to default to `cp -p'.
53061 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53062 as_ln_s='cp -p'
53063 elif ln conf$$.file conf$$ 2>/dev/null; then
53064 as_ln_s=ln
53065 else
53066 as_ln_s='cp -p'
53067 fi
53068 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53069 rmdir conf$$.dir 2>/dev/null
53070
53071 if mkdir -p . 2>/dev/null; then
53072 as_mkdir_p=:
53073 else
53074 test -d ./-p && rmdir ./-p
53075 as_mkdir_p=false
53076 fi
53077
53078 if test -x / >/dev/null 2>&1; then
53079 as_test_x='test -x'
53080 else
53081 if ls -dL / >/dev/null 2>&1; then
53082 as_ls_L_option=L
53083 else
53084 as_ls_L_option=
53085 fi
53086 as_test_x='
53087 eval sh -c '\''
53088 if test -d "$1"; then
53089 test -d "$1/.";
53090 else
53091 case $1 in
53092 -*)set "./$1";;
53093 esac;
53094 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53095 ???[sx]*):;;*)false;;esac;fi
53096 '\'' sh
53097 '
53098 fi
53099 as_executable_p=$as_test_x
53100
53101 # Sed expression to map a string onto a valid CPP name.
53102 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53103
53104 # Sed expression to map a string onto a valid variable name.
53105 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53106
53107
53108 exec 6>&1
53109
53110 # Save the log message, to keep $[0] and so on meaningful, and to
53111 # report actual input values of CONFIG_FILES etc. instead of their
53112 # values after options handling.
53113 ac_log="
53114 This file was extended by wxWidgets $as_me 2.9.2, which was
53115 generated by GNU Autoconf 2.61. Invocation command line was
53116
53117 CONFIG_FILES = $CONFIG_FILES
53118 CONFIG_HEADERS = $CONFIG_HEADERS
53119 CONFIG_LINKS = $CONFIG_LINKS
53120 CONFIG_COMMANDS = $CONFIG_COMMANDS
53121 $ $0 $@
53122
53123 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53124 "
53125
53126 _ACEOF
53127
53128 cat >>$CONFIG_STATUS <<_ACEOF
53129 # Files that config.status was made for.
53130 config_files="$ac_config_files"
53131 config_headers="$ac_config_headers"
53132 config_commands="$ac_config_commands"
53133
53134 _ACEOF
53135
53136 cat >>$CONFIG_STATUS <<\_ACEOF
53137 ac_cs_usage="\
53138 \`$as_me' instantiates files from templates according to the
53139 current configuration.
53140
53141 Usage: $0 [OPTIONS] [FILE]...
53142
53143 -h, --help print this help, then exit
53144 -V, --version print version number and configuration settings, then exit
53145 -q, --quiet do not print progress messages
53146 -d, --debug don't remove temporary files
53147 --recheck update $as_me by reconfiguring in the same conditions
53148 --file=FILE[:TEMPLATE]
53149 instantiate the configuration file FILE
53150 --header=FILE[:TEMPLATE]
53151 instantiate the configuration header FILE
53152
53153 Configuration files:
53154 $config_files
53155
53156 Configuration headers:
53157 $config_headers
53158
53159 Configuration commands:
53160 $config_commands
53161
53162 Report bugs to <bug-autoconf@gnu.org>."
53163
53164 _ACEOF
53165 cat >>$CONFIG_STATUS <<_ACEOF
53166 ac_cs_version="\\
53167 wxWidgets config.status 2.9.2
53168 configured by $0, generated by GNU Autoconf 2.61,
53169 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53170
53171 Copyright (C) 2006 Free Software Foundation, Inc.
53172 This config.status script is free software; the Free Software Foundation
53173 gives unlimited permission to copy, distribute and modify it."
53174
53175 ac_pwd='$ac_pwd'
53176 srcdir='$srcdir'
53177 INSTALL='$INSTALL'
53178 _ACEOF
53179
53180 cat >>$CONFIG_STATUS <<\_ACEOF
53181 # If no file are specified by the user, then we need to provide default
53182 # value. By we need to know if files were specified by the user.
53183 ac_need_defaults=:
53184 while test $# != 0
53185 do
53186 case $1 in
53187 --*=*)
53188 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53189 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53190 ac_shift=:
53191 ;;
53192 *)
53193 ac_option=$1
53194 ac_optarg=$2
53195 ac_shift=shift
53196 ;;
53197 esac
53198
53199 case $ac_option in
53200 # Handling of the options.
53201 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53202 ac_cs_recheck=: ;;
53203 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53204 echo "$ac_cs_version"; exit ;;
53205 --debug | --debu | --deb | --de | --d | -d )
53206 debug=: ;;
53207 --file | --fil | --fi | --f )
53208 $ac_shift
53209 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53210 ac_need_defaults=false;;
53211 --header | --heade | --head | --hea )
53212 $ac_shift
53213 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53214 ac_need_defaults=false;;
53215 --he | --h)
53216 # Conflict between --help and --header
53217 { echo "$as_me: error: ambiguous option: $1
53218 Try \`$0 --help' for more information." >&2
53219 { (exit 1); exit 1; }; };;
53220 --help | --hel | -h )
53221 echo "$ac_cs_usage"; exit ;;
53222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53223 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53224 ac_cs_silent=: ;;
53225
53226 # This is an error.
53227 -*) { echo "$as_me: error: unrecognized option: $1
53228 Try \`$0 --help' for more information." >&2
53229 { (exit 1); exit 1; }; } ;;
53230
53231 *) ac_config_targets="$ac_config_targets $1"
53232 ac_need_defaults=false ;;
53233
53234 esac
53235 shift
53236 done
53237
53238 ac_configure_extra_args=
53239
53240 if $ac_cs_silent; then
53241 exec 6>/dev/null
53242 ac_configure_extra_args="$ac_configure_extra_args --silent"
53243 fi
53244
53245 _ACEOF
53246 cat >>$CONFIG_STATUS <<_ACEOF
53247 if \$ac_cs_recheck; then
53248 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53249 CONFIG_SHELL=$SHELL
53250 export CONFIG_SHELL
53251 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53252 fi
53253
53254 _ACEOF
53255 cat >>$CONFIG_STATUS <<\_ACEOF
53256 exec 5>>config.log
53257 {
53258 echo
53259 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53260 ## Running $as_me. ##
53261 _ASBOX
53262 echo "$ac_log"
53263 } >&5
53264
53265 _ACEOF
53266 cat >>$CONFIG_STATUS <<_ACEOF
53267 #
53268 # INIT-COMMANDS
53269 #
53270
53271 CPP="$CPP"
53272 infile="$srcdir/include/wx/msw/genrcdefs.h"
53273 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53274
53275
53276 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53277 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53278 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53279 LN_S="${LN_S}"
53280
53281
53282 _ACEOF
53283
53284 cat >>$CONFIG_STATUS <<\_ACEOF
53285
53286 # Handling of arguments.
53287 for ac_config_target in $ac_config_targets
53288 do
53289 case $ac_config_target in
53290 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53291 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53292 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53293 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53294 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53295 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53296 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53297 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53298 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53299
53300 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53301 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53302 { (exit 1); exit 1; }; };;
53303 esac
53304 done
53305
53306
53307 # If the user did not use the arguments to specify the items to instantiate,
53308 # then the envvar interface is used. Set only those that are not.
53309 # We use the long form for the default assignment because of an extremely
53310 # bizarre bug on SunOS 4.1.3.
53311 if $ac_need_defaults; then
53312 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53313 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53314 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53315 fi
53316
53317 # Have a temporary directory for convenience. Make it in the build tree
53318 # simply because there is no reason against having it here, and in addition,
53319 # creating and moving files from /tmp can sometimes cause problems.
53320 # Hook for its removal unless debugging.
53321 # Note that there is a small window in which the directory will not be cleaned:
53322 # after its creation but before its name has been assigned to `$tmp'.
53323 $debug ||
53324 {
53325 tmp=
53326 trap 'exit_status=$?
53327 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53328 ' 0
53329 trap '{ (exit 1); exit 1; }' 1 2 13 15
53330 }
53331 # Create a (secure) tmp directory for tmp files.
53332
53333 {
53334 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53335 test -n "$tmp" && test -d "$tmp"
53336 } ||
53337 {
53338 tmp=./conf$$-$RANDOM
53339 (umask 077 && mkdir "$tmp")
53340 } ||
53341 {
53342 echo "$me: cannot create a temporary directory in ." >&2
53343 { (exit 1); exit 1; }
53344 }
53345
53346 #
53347 # Set up the sed scripts for CONFIG_FILES section.
53348 #
53349
53350 # No need to generate the scripts if there are no CONFIG_FILES.
53351 # This happens for instance when ./config.status config.h
53352 if test -n "$CONFIG_FILES"; then
53353
53354 _ACEOF
53355
53356
53357
53358 ac_delim='%!_!# '
53359 for ac_last_try in false false false false false :; do
53360 cat >conf$$subs.sed <<_ACEOF
53361 SHELL!$SHELL$ac_delim
53362 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53363 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53364 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53365 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53366 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53367 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53368 exec_prefix!$exec_prefix$ac_delim
53369 prefix!$prefix$ac_delim
53370 program_transform_name!$program_transform_name$ac_delim
53371 bindir!$bindir$ac_delim
53372 sbindir!$sbindir$ac_delim
53373 libexecdir!$libexecdir$ac_delim
53374 datarootdir!$datarootdir$ac_delim
53375 datadir!$datadir$ac_delim
53376 sysconfdir!$sysconfdir$ac_delim
53377 sharedstatedir!$sharedstatedir$ac_delim
53378 localstatedir!$localstatedir$ac_delim
53379 includedir!$includedir$ac_delim
53380 oldincludedir!$oldincludedir$ac_delim
53381 docdir!$docdir$ac_delim
53382 infodir!$infodir$ac_delim
53383 htmldir!$htmldir$ac_delim
53384 dvidir!$dvidir$ac_delim
53385 pdfdir!$pdfdir$ac_delim
53386 psdir!$psdir$ac_delim
53387 libdir!$libdir$ac_delim
53388 localedir!$localedir$ac_delim
53389 mandir!$mandir$ac_delim
53390 DEFS!$DEFS$ac_delim
53391 ECHO_C!$ECHO_C$ac_delim
53392 ECHO_N!$ECHO_N$ac_delim
53393 ECHO_T!$ECHO_T$ac_delim
53394 LIBS!$LIBS$ac_delim
53395 build_alias!$build_alias$ac_delim
53396 host_alias!$host_alias$ac_delim
53397 target_alias!$target_alias$ac_delim
53398 build!$build$ac_delim
53399 build_cpu!$build_cpu$ac_delim
53400 build_vendor!$build_vendor$ac_delim
53401 build_os!$build_os$ac_delim
53402 host!$host$ac_delim
53403 host_cpu!$host_cpu$ac_delim
53404 host_vendor!$host_vendor$ac_delim
53405 host_os!$host_os$ac_delim
53406 wx_top_builddir!$wx_top_builddir$ac_delim
53407 CC!$CC$ac_delim
53408 CFLAGS!$CFLAGS$ac_delim
53409 LDFLAGS!$LDFLAGS$ac_delim
53410 CPPFLAGS!$CPPFLAGS$ac_delim
53411 ac_ct_CC!$ac_ct_CC$ac_delim
53412 EXEEXT!$EXEEXT$ac_delim
53413 OBJEXT!$OBJEXT$ac_delim
53414 CPP!$CPP$ac_delim
53415 GREP!$GREP$ac_delim
53416 EGREP!$EGREP$ac_delim
53417 CXX!$CXX$ac_delim
53418 CXXFLAGS!$CXXFLAGS$ac_delim
53419 ac_ct_CXX!$ac_ct_CXX$ac_delim
53420 AR!$AR$ac_delim
53421 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53422 CXXCPP!$CXXCPP$ac_delim
53423 subdirs!$subdirs$ac_delim
53424 PKG_CONFIG!$PKG_CONFIG$ac_delim
53425 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53426 GTK_LIBS!$GTK_LIBS$ac_delim
53427 GTK_CONFIG!$GTK_CONFIG$ac_delim
53428 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53429 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53430 XMKMF!$XMKMF$ac_delim
53431 X_CFLAGS!$X_CFLAGS$ac_delim
53432 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53433 X_LIBS!$X_LIBS$ac_delim
53434 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53435 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53436 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53437 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53438 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53439 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53440 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53441 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53442 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53443 LIBICONV!$LIBICONV$ac_delim
53444 GXX_VERSION!$GXX_VERSION$ac_delim
53445 SDL_CONFIG!$SDL_CONFIG$ac_delim
53446 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53447 SDL_LIBS!$SDL_LIBS$ac_delim
53448 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53449 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53450 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53451 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53452 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53453 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53454 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53455 HILDON_LIBS!$HILDON_LIBS$ac_delim
53456 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53457 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53458 _ACEOF
53459
53460 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53461 break
53462 elif $ac_last_try; then
53463 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53464 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53465 { (exit 1); exit 1; }; }
53466 else
53467 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53468 fi
53469 done
53470
53471 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53472 if test -n "$ac_eof"; then
53473 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53474 ac_eof=`expr $ac_eof + 1`
53475 fi
53476
53477 cat >>$CONFIG_STATUS <<_ACEOF
53478 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53479 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53480 _ACEOF
53481 sed '
53482 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53483 s/^/s,@/; s/!/@,|#_!!_#|/
53484 :n
53485 t n
53486 s/'"$ac_delim"'$/,g/; t
53487 s/$/\\/; p
53488 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53489 ' >>$CONFIG_STATUS <conf$$subs.sed
53490 rm -f conf$$subs.sed
53491 cat >>$CONFIG_STATUS <<_ACEOF
53492 CEOF$ac_eof
53493 _ACEOF
53494
53495
53496 ac_delim='%!_!# '
53497 for ac_last_try in false false false false false :; do
53498 cat >conf$$subs.sed <<_ACEOF
53499 PYTHON!$PYTHON$ac_delim
53500 COND_PYTHON!$COND_PYTHON$ac_delim
53501 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53502 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53503 GST_CFLAGS!$GST_CFLAGS$ac_delim
53504 GST_LIBS!$GST_LIBS$ac_delim
53505 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53506 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53507 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53508 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53509 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53510 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53511 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53512 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53513 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53514 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53515 VENDOR!$VENDOR$ac_delim
53516 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53517 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53518 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53519 WXUNIV!$WXUNIV$ac_delim
53520 MONOLITHIC!$MONOLITHIC$ac_delim
53521 USE_PLUGINS!$USE_PLUGINS$ac_delim
53522 CXXWARNINGS!$CXXWARNINGS$ac_delim
53523 EXTRALIBS!$EXTRALIBS$ac_delim
53524 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53525 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53526 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53527 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53528 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53529 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53530 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53531 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53532 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53533 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53534 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53535 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53536 UNICODE!$UNICODE$ac_delim
53537 DEBUG_INFO!$DEBUG_INFO$ac_delim
53538 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53539 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53540 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53541 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53542 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53543 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53544 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53545 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53546 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53547 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53548 RANLIB!$RANLIB$ac_delim
53549 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53550 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53551 INSTALL_DATA!$INSTALL_DATA$ac_delim
53552 LN_S!$LN_S$ac_delim
53553 SET_MAKE!$SET_MAKE$ac_delim
53554 MAKE_SET!$MAKE_SET$ac_delim
53555 AROPTIONS!$AROPTIONS$ac_delim
53556 STRIP!$STRIP$ac_delim
53557 NM!$NM$ac_delim
53558 INSTALL_DIR!$INSTALL_DIR$ac_delim
53559 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53560 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53561 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53562 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53563 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53564 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53565 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53566 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53567 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53568 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53569 SO_SUFFIX!$SO_SUFFIX$ac_delim
53570 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53571 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53572 LIBPREFIX!$LIBPREFIX$ac_delim
53573 LIBEXT!$LIBEXT$ac_delim
53574 DLLPREFIX!$DLLPREFIX$ac_delim
53575 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53576 dlldir!$dlldir$ac_delim
53577 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53578 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53579 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53580 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53581 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53582 PIC_FLAG!$PIC_FLAG$ac_delim
53583 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53584 USE_SOVERSION!$USE_SOVERSION$ac_delim
53585 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53586 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53587 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53588 USE_MACVERSION!$USE_MACVERSION$ac_delim
53589 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53590 SONAME_FLAG!$SONAME_FLAG$ac_delim
53591 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53592 BK_DEPS!$BK_DEPS$ac_delim
53593 WINDRES!$WINDRES$ac_delim
53594 REZ!$REZ$ac_delim
53595 SETFILE!$SETFILE$ac_delim
53596 _ACEOF
53597
53598 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53599 break
53600 elif $ac_last_try; then
53601 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53602 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53603 { (exit 1); exit 1; }; }
53604 else
53605 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53606 fi
53607 done
53608
53609 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53610 if test -n "$ac_eof"; then
53611 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53612 ac_eof=`expr $ac_eof + 1`
53613 fi
53614
53615 cat >>$CONFIG_STATUS <<_ACEOF
53616 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53617 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53618 _ACEOF
53619 sed '
53620 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53621 s/^/s,@/; s/!/@,|#_!!_#|/
53622 :n
53623 t n
53624 s/'"$ac_delim"'$/,g/; t
53625 s/$/\\/; p
53626 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53627 ' >>$CONFIG_STATUS <conf$$subs.sed
53628 rm -f conf$$subs.sed
53629 cat >>$CONFIG_STATUS <<_ACEOF
53630 CEOF$ac_eof
53631 _ACEOF
53632
53633
53634 ac_delim='%!_!# '
53635 for ac_last_try in false false false false false :; do
53636 cat >conf$$subs.sed <<_ACEOF
53637 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53638 GCC_PCH!$GCC_PCH$ac_delim
53639 ICC_PCH!$ICC_PCH$ac_delim
53640 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53641 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53642 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53643 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53644 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53645 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53646 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53647 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53648 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53649 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53650 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53651 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53652 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53653 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53654 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53655 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53656 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53657 COND_BUILD_release!$COND_BUILD_release$ac_delim
53658 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53659 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53660 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53661 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53662 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53663 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53664 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53665 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53666 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53667 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53668 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53669 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53670 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53671 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53672 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53673 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53674 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53675 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53676 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53677 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53678 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53679 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53680 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53681 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53682 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53683 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53684 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53685 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53686 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53687 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53688 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53689 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53690 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53691 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53692 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53693 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53694 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53695 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53696 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53697 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53698 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53699 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53700 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53701 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53702 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53703 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53704 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53705 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53706 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53707 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53708 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53709 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53710 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53711 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53712 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53713 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53714 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
53715 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53716 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
53717 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53718 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53719 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53720 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53721 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53722 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53723 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53724 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53725 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53726 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53727 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53728 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53729 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53730 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53731 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53732 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53733 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53734 _ACEOF
53735
53736 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53737 break
53738 elif $ac_last_try; then
53739 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53740 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53741 { (exit 1); exit 1; }; }
53742 else
53743 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53744 fi
53745 done
53746
53747 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53748 if test -n "$ac_eof"; then
53749 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53750 ac_eof=`expr $ac_eof + 1`
53751 fi
53752
53753 cat >>$CONFIG_STATUS <<_ACEOF
53754 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
53755 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53756 _ACEOF
53757 sed '
53758 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53759 s/^/s,@/; s/!/@,|#_!!_#|/
53760 :n
53761 t n
53762 s/'"$ac_delim"'$/,g/; t
53763 s/$/\\/; p
53764 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53765 ' >>$CONFIG_STATUS <conf$$subs.sed
53766 rm -f conf$$subs.sed
53767 cat >>$CONFIG_STATUS <<_ACEOF
53768 CEOF$ac_eof
53769 _ACEOF
53770
53771
53772 ac_delim='%!_!# '
53773 for ac_last_try in false false false false false :; do
53774 cat >conf$$subs.sed <<_ACEOF
53775 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
53776 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
53777 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
53778 COND_SHARED_0!$COND_SHARED_0$ac_delim
53779 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
53780 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
53781 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
53782 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
53783 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53784 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53785 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53786 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
53787 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
53788 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
53789 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
53790 COND_SHARED_1!$COND_SHARED_1$ac_delim
53791 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
53792 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
53793 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
53794 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
53795 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
53796 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
53797 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
53798 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53799 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53800 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53801 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53802 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53803 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53804 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53805 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53806 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53807 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53808 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53809 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53810 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53811 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53812 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53813 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53814 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53815 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53816 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53817 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53818 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53819 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53820 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53821 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53822 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
53823 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53824 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53825 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53826 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53827 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53828 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53829 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53830 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53831 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53832 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53833 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53834 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53835 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53836 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53837 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53838 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53839 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53840 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53841 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53842 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53843 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53844 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53845 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53846 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53847 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53848 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53849 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53850 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53851 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53852 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53853 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53854 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53855 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53856 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53857 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53858 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53859 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53860 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53861 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53862 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53863 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53864 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53865 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53866 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53867 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53868 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53869 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53870 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53871 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53872 _ACEOF
53873
53874 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53875 break
53876 elif $ac_last_try; then
53877 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53878 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53879 { (exit 1); exit 1; }; }
53880 else
53881 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53882 fi
53883 done
53884
53885 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53886 if test -n "$ac_eof"; then
53887 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53888 ac_eof=`expr $ac_eof + 1`
53889 fi
53890
53891 cat >>$CONFIG_STATUS <<_ACEOF
53892 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53893 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53894 _ACEOF
53895 sed '
53896 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53897 s/^/s,@/; s/!/@,|#_!!_#|/
53898 :n
53899 t n
53900 s/'"$ac_delim"'$/,g/; t
53901 s/$/\\/; p
53902 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53903 ' >>$CONFIG_STATUS <conf$$subs.sed
53904 rm -f conf$$subs.sed
53905 cat >>$CONFIG_STATUS <<_ACEOF
53906 CEOF$ac_eof
53907 _ACEOF
53908
53909
53910 ac_delim='%!_!# '
53911 for ac_last_try in false false false false false :; do
53912 cat >conf$$subs.sed <<_ACEOF
53913 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53914 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53915 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53916 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53917 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53918 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53919 DEREZ!$DEREZ$ac_delim
53920 SHARED!$SHARED$ac_delim
53921 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53922 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53923 USE_GUI!$USE_GUI$ac_delim
53924 AFMINSTALL!$AFMINSTALL$ac_delim
53925 WIN32INSTALL!$WIN32INSTALL$ac_delim
53926 TOOLKIT!$TOOLKIT$ac_delim
53927 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53928 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53929 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53930 cross_compiling!$cross_compiling$ac_delim
53931 WIDGET_SET!$WIDGET_SET$ac_delim
53932 WX_RELEASE!$WX_RELEASE$ac_delim
53933 WX_VERSION!$WX_VERSION$ac_delim
53934 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53935 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53936 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53937 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53938 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53939 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53940 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53941 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53942 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53943 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53944 GUIDIST!$GUIDIST$ac_delim
53945 DISTDIR!$DISTDIR$ac_delim
53946 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53947 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53948 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53949 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53950 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53951 RESCOMP!$RESCOMP$ac_delim
53952 RESFLAGS!$RESFLAGS$ac_delim
53953 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53954 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53955 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53956 LIBWXMACRES!$LIBWXMACRES$ac_delim
53957 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53958 MACSETFILE!$MACSETFILE$ac_delim
53959 GCC!$GCC$ac_delim
53960 DLLTOOL!$DLLTOOL$ac_delim
53961 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53962 LIBOBJS!$LIBOBJS$ac_delim
53963 LTLIBOBJS!$LTLIBOBJS$ac_delim
53964 _ACEOF
53965
53966 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
53967 break
53968 elif $ac_last_try; then
53969 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53970 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53971 { (exit 1); exit 1; }; }
53972 else
53973 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53974 fi
53975 done
53976
53977 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53978 if test -n "$ac_eof"; then
53979 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53980 ac_eof=`expr $ac_eof + 1`
53981 fi
53982
53983 cat >>$CONFIG_STATUS <<_ACEOF
53984 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53985 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53986 _ACEOF
53987 sed '
53988 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53989 s/^/s,@/; s/!/@,|#_!!_#|/
53990 :n
53991 t n
53992 s/'"$ac_delim"'$/,g/; t
53993 s/$/\\/; p
53994 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53995 ' >>$CONFIG_STATUS <conf$$subs.sed
53996 rm -f conf$$subs.sed
53997 cat >>$CONFIG_STATUS <<_ACEOF
53998 :end
53999 s/|#_!!_#|//g
54000 CEOF$ac_eof
54001 _ACEOF
54002
54003
54004 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54005 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54006 # trailing colons and then remove the whole line if VPATH becomes empty
54007 # (actually we leave an empty line to preserve line numbers).
54008 if test "x$srcdir" = x.; then
54009 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54010 s/:*\$(srcdir):*/:/
54011 s/:*\${srcdir}:*/:/
54012 s/:*@srcdir@:*/:/
54013 s/^\([^=]*=[ ]*\):*/\1/
54014 s/:*$//
54015 s/^[^=]*=[ ]*$//
54016 }'
54017 fi
54018
54019 cat >>$CONFIG_STATUS <<\_ACEOF
54020 fi # test -n "$CONFIG_FILES"
54021
54022
54023 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54024 do
54025 case $ac_tag in
54026 :[FHLC]) ac_mode=$ac_tag; continue;;
54027 esac
54028 case $ac_mode$ac_tag in
54029 :[FHL]*:*);;
54030 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54031 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54032 { (exit 1); exit 1; }; };;
54033 :[FH]-) ac_tag=-:-;;
54034 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54035 esac
54036 ac_save_IFS=$IFS
54037 IFS=:
54038 set x $ac_tag
54039 IFS=$ac_save_IFS
54040 shift
54041 ac_file=$1
54042 shift
54043
54044 case $ac_mode in
54045 :L) ac_source=$1;;
54046 :[FH])
54047 ac_file_inputs=
54048 for ac_f
54049 do
54050 case $ac_f in
54051 -) ac_f="$tmp/stdin";;
54052 *) # Look for the file first in the build tree, then in the source tree
54053 # (if the path is not absolute). The absolute path cannot be DOS-style,
54054 # because $ac_f cannot contain `:'.
54055 test -f "$ac_f" ||
54056 case $ac_f in
54057 [\\/$]*) false;;
54058 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54059 esac ||
54060 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54061 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54062 { (exit 1); exit 1; }; };;
54063 esac
54064 ac_file_inputs="$ac_file_inputs $ac_f"
54065 done
54066
54067 # Let's still pretend it is `configure' which instantiates (i.e., don't
54068 # use $as_me), people would be surprised to read:
54069 # /* config.h. Generated by config.status. */
54070 configure_input="Generated from "`IFS=:
54071 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54072 if test x"$ac_file" != x-; then
54073 configure_input="$ac_file. $configure_input"
54074 { echo "$as_me:$LINENO: creating $ac_file" >&5
54075 echo "$as_me: creating $ac_file" >&6;}
54076 fi
54077
54078 case $ac_tag in
54079 *:-:* | *:-) cat >"$tmp/stdin";;
54080 esac
54081 ;;
54082 esac
54083
54084 ac_dir=`$as_dirname -- "$ac_file" ||
54085 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54086 X"$ac_file" : 'X\(//\)[^/]' \| \
54087 X"$ac_file" : 'X\(//\)$' \| \
54088 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54089 echo X"$ac_file" |
54090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54091 s//\1/
54092 q
54093 }
54094 /^X\(\/\/\)[^/].*/{
54095 s//\1/
54096 q
54097 }
54098 /^X\(\/\/\)$/{
54099 s//\1/
54100 q
54101 }
54102 /^X\(\/\).*/{
54103 s//\1/
54104 q
54105 }
54106 s/.*/./; q'`
54107 { as_dir="$ac_dir"
54108 case $as_dir in #(
54109 -*) as_dir=./$as_dir;;
54110 esac
54111 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54112 as_dirs=
54113 while :; do
54114 case $as_dir in #(
54115 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54116 *) as_qdir=$as_dir;;
54117 esac
54118 as_dirs="'$as_qdir' $as_dirs"
54119 as_dir=`$as_dirname -- "$as_dir" ||
54120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54121 X"$as_dir" : 'X\(//\)[^/]' \| \
54122 X"$as_dir" : 'X\(//\)$' \| \
54123 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54124 echo X"$as_dir" |
54125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54126 s//\1/
54127 q
54128 }
54129 /^X\(\/\/\)[^/].*/{
54130 s//\1/
54131 q
54132 }
54133 /^X\(\/\/\)$/{
54134 s//\1/
54135 q
54136 }
54137 /^X\(\/\).*/{
54138 s//\1/
54139 q
54140 }
54141 s/.*/./; q'`
54142 test -d "$as_dir" && break
54143 done
54144 test -z "$as_dirs" || eval "mkdir $as_dirs"
54145 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54146 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54147 { (exit 1); exit 1; }; }; }
54148 ac_builddir=.
54149
54150 case "$ac_dir" in
54151 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54152 *)
54153 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54154 # A ".." for each directory in $ac_dir_suffix.
54155 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54156 case $ac_top_builddir_sub in
54157 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54158 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54159 esac ;;
54160 esac
54161 ac_abs_top_builddir=$ac_pwd
54162 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54163 # for backward compatibility:
54164 ac_top_builddir=$ac_top_build_prefix
54165
54166 case $srcdir in
54167 .) # We are building in place.
54168 ac_srcdir=.
54169 ac_top_srcdir=$ac_top_builddir_sub
54170 ac_abs_top_srcdir=$ac_pwd ;;
54171 [\\/]* | ?:[\\/]* ) # Absolute name.
54172 ac_srcdir=$srcdir$ac_dir_suffix;
54173 ac_top_srcdir=$srcdir
54174 ac_abs_top_srcdir=$srcdir ;;
54175 *) # Relative name.
54176 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54177 ac_top_srcdir=$ac_top_build_prefix$srcdir
54178 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54179 esac
54180 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54181
54182
54183 case $ac_mode in
54184 :F)
54185 #
54186 # CONFIG_FILE
54187 #
54188
54189 case $INSTALL in
54190 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54191 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54192 esac
54193 _ACEOF
54194
54195 cat >>$CONFIG_STATUS <<\_ACEOF
54196 # If the template does not know about datarootdir, expand it.
54197 # FIXME: This hack should be removed a few years after 2.60.
54198 ac_datarootdir_hack=; ac_datarootdir_seen=
54199
54200 case `sed -n '/datarootdir/ {
54201 p
54202 q
54203 }
54204 /@datadir@/p
54205 /@docdir@/p
54206 /@infodir@/p
54207 /@localedir@/p
54208 /@mandir@/p
54209 ' $ac_file_inputs` in
54210 *datarootdir*) ac_datarootdir_seen=yes;;
54211 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54212 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54213 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54214 _ACEOF
54215 cat >>$CONFIG_STATUS <<_ACEOF
54216 ac_datarootdir_hack='
54217 s&@datadir@&$datadir&g
54218 s&@docdir@&$docdir&g
54219 s&@infodir@&$infodir&g
54220 s&@localedir@&$localedir&g
54221 s&@mandir@&$mandir&g
54222 s&\\\${datarootdir}&$datarootdir&g' ;;
54223 esac
54224 _ACEOF
54225
54226 # Neutralize VPATH when `$srcdir' = `.'.
54227 # Shell code in configure.ac might set extrasub.
54228 # FIXME: do we really want to maintain this feature?
54229 cat >>$CONFIG_STATUS <<_ACEOF
54230 sed "$ac_vpsub
54231 $extrasub
54232 _ACEOF
54233 cat >>$CONFIG_STATUS <<\_ACEOF
54234 :t
54235 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54236 s&@configure_input@&$configure_input&;t t
54237 s&@top_builddir@&$ac_top_builddir_sub&;t t
54238 s&@srcdir@&$ac_srcdir&;t t
54239 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54240 s&@top_srcdir@&$ac_top_srcdir&;t t
54241 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54242 s&@builddir@&$ac_builddir&;t t
54243 s&@abs_builddir@&$ac_abs_builddir&;t t
54244 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54245 s&@INSTALL@&$ac_INSTALL&;t t
54246 $ac_datarootdir_hack
54247 " $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
54248
54249 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54250 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54251 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54252 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54253 which seems to be undefined. Please make sure it is defined." >&5
54254 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54255 which seems to be undefined. Please make sure it is defined." >&2;}
54256
54257 rm -f "$tmp/stdin"
54258 case $ac_file in
54259 -) cat "$tmp/out"; rm -f "$tmp/out";;
54260 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54261 esac
54262 ;;
54263 :H)
54264 #
54265 # CONFIG_HEADER
54266 #
54267 _ACEOF
54268
54269 # Transform confdefs.h into a sed script `conftest.defines', that
54270 # substitutes the proper values into config.h.in to produce config.h.
54271 rm -f conftest.defines conftest.tail
54272 # First, append a space to every undef/define line, to ease matching.
54273 echo 's/$/ /' >conftest.defines
54274 # Then, protect against being on the right side of a sed subst, or in
54275 # an unquoted here document, in config.status. If some macros were
54276 # called several times there might be several #defines for the same
54277 # symbol, which is useless. But do not sort them, since the last
54278 # AC_DEFINE must be honored.
54279 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54280 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54281 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54282 # PARAMS is the parameter list in the macro definition--in most cases, it's
54283 # just an empty string.
54284 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54285 ac_dB='\\)[ (].*,\\1define\\2'
54286 ac_dC=' '
54287 ac_dD=' ,'
54288
54289 uniq confdefs.h |
54290 sed -n '
54291 t rset
54292 :rset
54293 s/^[ ]*#[ ]*define[ ][ ]*//
54294 t ok
54295 d
54296 :ok
54297 s/[\\&,]/\\&/g
54298 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54299 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54300 ' >>conftest.defines
54301
54302 # Remove the space that was appended to ease matching.
54303 # Then replace #undef with comments. This is necessary, for
54304 # example, in the case of _POSIX_SOURCE, which is predefined and required
54305 # on some systems where configure will not decide to define it.
54306 # (The regexp can be short, since the line contains either #define or #undef.)
54307 echo 's/ $//
54308 s,^[ #]*u.*,/* & */,' >>conftest.defines
54309
54310 # Break up conftest.defines:
54311 ac_max_sed_lines=50
54312
54313 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54314 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54315 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54316 # et cetera.
54317 ac_in='$ac_file_inputs'
54318 ac_out='"$tmp/out1"'
54319 ac_nxt='"$tmp/out2"'
54320
54321 while :
54322 do
54323 # Write a here document:
54324 cat >>$CONFIG_STATUS <<_ACEOF
54325 # First, check the format of the line:
54326 cat >"\$tmp/defines.sed" <<\\CEOF
54327 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54328 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54329 b
54330 :def
54331 _ACEOF
54332 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54333 echo 'CEOF
54334 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54335 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54336 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54337 grep . conftest.tail >/dev/null || break
54338 rm -f conftest.defines
54339 mv conftest.tail conftest.defines
54340 done
54341 rm -f conftest.defines conftest.tail
54342
54343 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54344 cat >>$CONFIG_STATUS <<\_ACEOF
54345 if test x"$ac_file" != x-; then
54346 echo "/* $configure_input */" >"$tmp/config.h"
54347 cat "$ac_result" >>"$tmp/config.h"
54348 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54349 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54350 echo "$as_me: $ac_file is unchanged" >&6;}
54351 else
54352 rm -f $ac_file
54353 mv "$tmp/config.h" $ac_file
54354 fi
54355 else
54356 echo "/* $configure_input */"
54357 cat "$ac_result"
54358 fi
54359 rm -f "$tmp/out12"
54360 ;;
54361
54362 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54363 echo "$as_me: executing $ac_file commands" >&6;}
54364 ;;
54365 esac
54366
54367
54368 case $ac_file$ac_mode in
54369 "rcdefs.h":C)
54370 mkdir -p $outdir &&
54371 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54372 ;;
54373 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54374 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54375 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54376 "wx-config":C) rm -f wx-config
54377 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54378 ;;
54379
54380 esac
54381 done # for ac_tag
54382
54383
54384 { (exit 0); exit 0; }
54385 _ACEOF
54386 chmod +x $CONFIG_STATUS
54387 ac_clean_files=$ac_clean_files_save
54388
54389
54390 # configure is writing to config.log, and then calls config.status.
54391 # config.status does its own redirection, appending to config.log.
54392 # Unfortunately, on DOS this fails, as config.log is still kept open
54393 # by configure, so config.status won't be able to write to it; its
54394 # output is simply discarded. So we exec the FD to /dev/null,
54395 # effectively closing config.log, so it can be properly (re)opened and
54396 # appended to by config.status. When coming back to configure, we
54397 # need to make the FD available again.
54398 if test "$no_create" != yes; then
54399 ac_cs_success=:
54400 ac_config_status_args=
54401 test "$silent" = yes &&
54402 ac_config_status_args="$ac_config_status_args --quiet"
54403 exec 5>/dev/null
54404 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54405 exec 5>>config.log
54406 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54407 # would make configure fail if this is the last instruction.
54408 $ac_cs_success || { (exit 1); exit 1; }
54409 fi
54410
54411 #
54412 # CONFIG_SUBDIRS section.
54413 #
54414 if test "$no_recursion" != yes; then
54415
54416 # Remove --cache-file and --srcdir arguments so they do not pile up.
54417 ac_sub_configure_args=
54418 ac_prev=
54419 eval "set x $ac_configure_args"
54420 shift
54421 for ac_arg
54422 do
54423 if test -n "$ac_prev"; then
54424 ac_prev=
54425 continue
54426 fi
54427 case $ac_arg in
54428 -cache-file | --cache-file | --cache-fil | --cache-fi \
54429 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54430 ac_prev=cache_file ;;
54431 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54432 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54433 | --c=*)
54434 ;;
54435 --config-cache | -C)
54436 ;;
54437 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54438 ac_prev=srcdir ;;
54439 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54440 ;;
54441 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54442 ac_prev=prefix ;;
54443 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54444 ;;
54445 *)
54446 case $ac_arg in
54447 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54448 esac
54449 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54450 esac
54451 done
54452
54453 # Always prepend --prefix to ensure using the same prefix
54454 # in subdir configurations.
54455 ac_arg="--prefix=$prefix"
54456 case $ac_arg in
54457 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54458 esac
54459 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54460
54461 # Pass --silent
54462 if test "$silent" = yes; then
54463 ac_sub_configure_args="--silent $ac_sub_configure_args"
54464 fi
54465
54466 ac_popdir=`pwd`
54467 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54468
54469 # Do not complain, so a configure script can configure whichever
54470 # parts of a large source tree are present.
54471 test -d "$srcdir/$ac_dir" || continue
54472
54473 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54474 echo "$as_me:$LINENO: $ac_msg" >&5
54475 echo "$ac_msg" >&6
54476 { as_dir="$ac_dir"
54477 case $as_dir in #(
54478 -*) as_dir=./$as_dir;;
54479 esac
54480 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54481 as_dirs=
54482 while :; do
54483 case $as_dir in #(
54484 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54485 *) as_qdir=$as_dir;;
54486 esac
54487 as_dirs="'$as_qdir' $as_dirs"
54488 as_dir=`$as_dirname -- "$as_dir" ||
54489 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54490 X"$as_dir" : 'X\(//\)[^/]' \| \
54491 X"$as_dir" : 'X\(//\)$' \| \
54492 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54493 echo X"$as_dir" |
54494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54495 s//\1/
54496 q
54497 }
54498 /^X\(\/\/\)[^/].*/{
54499 s//\1/
54500 q
54501 }
54502 /^X\(\/\/\)$/{
54503 s//\1/
54504 q
54505 }
54506 /^X\(\/\).*/{
54507 s//\1/
54508 q
54509 }
54510 s/.*/./; q'`
54511 test -d "$as_dir" && break
54512 done
54513 test -z "$as_dirs" || eval "mkdir $as_dirs"
54514 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54515 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54516 { (exit 1); exit 1; }; }; }
54517 ac_builddir=.
54518
54519 case "$ac_dir" in
54520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54521 *)
54522 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54523 # A ".." for each directory in $ac_dir_suffix.
54524 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54525 case $ac_top_builddir_sub in
54526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54528 esac ;;
54529 esac
54530 ac_abs_top_builddir=$ac_pwd
54531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54532 # for backward compatibility:
54533 ac_top_builddir=$ac_top_build_prefix
54534
54535 case $srcdir in
54536 .) # We are building in place.
54537 ac_srcdir=.
54538 ac_top_srcdir=$ac_top_builddir_sub
54539 ac_abs_top_srcdir=$ac_pwd ;;
54540 [\\/]* | ?:[\\/]* ) # Absolute name.
54541 ac_srcdir=$srcdir$ac_dir_suffix;
54542 ac_top_srcdir=$srcdir
54543 ac_abs_top_srcdir=$srcdir ;;
54544 *) # Relative name.
54545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54546 ac_top_srcdir=$ac_top_build_prefix$srcdir
54547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54548 esac
54549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54550
54551
54552 cd "$ac_dir"
54553
54554 # Check for guested configure; otherwise get Cygnus style configure.
54555 if test -f "$ac_srcdir/configure.gnu"; then
54556 ac_sub_configure=$ac_srcdir/configure.gnu
54557 elif test -f "$ac_srcdir/configure"; then
54558 ac_sub_configure=$ac_srcdir/configure
54559 elif test -f "$ac_srcdir/configure.in"; then
54560 # This should be Cygnus configure.
54561 ac_sub_configure=$ac_aux_dir/configure
54562 else
54563 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54564 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54565 ac_sub_configure=
54566 fi
54567
54568 # The recursion is here.
54569 if test -n "$ac_sub_configure"; then
54570 # Make the cache file name correct relative to the subdirectory.
54571 case $cache_file in
54572 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54573 *) # Relative name.
54574 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54575 esac
54576
54577 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54578 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54579 # The eval makes quoting arguments work.
54580 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54581 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54582 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54583 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54584 { (exit 1); exit 1; }; }
54585 fi
54586
54587 cd "$ac_popdir"
54588 done
54589 fi
54590
54591
54592 echo
54593 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54594 echo ""
54595 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54596 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54597 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54598 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54599 if test "$wxUSE_UNICODE" = "yes"; then
54600 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54601 echo " (using UTF-8)"
54602 else
54603 echo " (using wchar_t)"
54604 fi
54605 else
54606 echo
54607 fi
54608
54609 echo " What level of wxWidgets compatibility should be enabled?"
54610 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54611 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54612
54613 echo " Which libraries should wxWidgets use?"
54614 echo " STL ${wxUSE_STL}"
54615 echo " jpeg ${wxUSE_LIBJPEG-none}"
54616 echo " png ${wxUSE_LIBPNG-none}"
54617 echo " regex ${wxUSE_REGEX}"
54618 echo " tiff ${wxUSE_LIBTIFF-none}"
54619 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54620 echo " xpm ${wxUSE_LIBXPM-none}"
54621 fi
54622 echo " zlib ${wxUSE_ZLIB}"
54623 echo " expat ${wxUSE_EXPAT}"
54624 echo " libmspack ${wxUSE_LIBMSPACK}"
54625 echo " sdl ${wxUSE_LIBSDL}"
54626
54627 echo ""
54628