]> git.saurik.com Git - wxWidgets.git/blob - configure
Fix memory leaks in wxXml unit test.
[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 standard C++ classes for everything
1693 --enable-std_containers use standard C++ container classes
1694 --enable-std_iostreams use standard C++ stream classes
1695 --enable-std_string use standard C++ string classes
1696 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1697 --disable-unicode compile without Unicode support
1698 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1699 --enable-utf8 use UTF-8 representation for strings (Unix only)
1700 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1701 --enable-extended_rtti use extended RTTI (XTI)
1702 --enable-omf use OMF object format
1703 --disable-optimise compile without optimisations
1704 --enable-profile create code with profiling information
1705 --enable-no_rtti create code without RTTI information
1706 --enable-no_exceptions create code without C++ exceptions handling
1707 --enable-permissive compile code disregarding strict ANSI
1708 --enable-no_deps create code without dependency information
1709 --disable-vararg_macros don't use vararg macros, even if they are supported
1710 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1711 --enable-macosx_arch=ARCH build for just the specified architecture
1712 --enable-compat26 enable wxWidgets 2.6 compatibility
1713 --disable-compat28 disable wxWidgets 2.8 compatibility
1714 --disable-rpath disable use of rpath for uninstalled builds
1715 --enable-objc_uniquifying enable Objective-C class name uniquifying
1716 --disable-visibility disable use of ELF symbols visibility even if supported
1717 --disable-tls disable use of compiler TLS support
1718 --enable-intl use internationalization system
1719 --enable-xlocale use x-locale support (requires wxLocale)
1720 --enable-config use wxConfig (and derived) classes
1721 --enable-protocols use wxProtocol and derived classes
1722 --enable-ftp use wxFTP (requires wxProtocol
1723 --enable-http use wxHTTP (requires wxProtocol
1724 --enable-fileproto use wxFileProto class (requires wxProtocol
1725 --enable-sockets use socket/network classes
1726 --enable-ipv6 enable IPv6 support in wxSocket
1727 --enable-ole use OLE classes (Win32 only)
1728 --enable-dataobj use data object classes
1729 --enable-ipc use interprocess communication (wxSocket etc.)
1730 --enable-baseevtloop use event loop in console programs too
1731 --enable-epollloop use wxEpollDispatcher class (Linux only)
1732 --enable-selectloop use wxSelectDispatcher class
1733 --enable-any use wxAny class
1734 --enable-apple_ieee use the Apple IEEE codec
1735 --enable-arcstream use wxArchive streams
1736 --enable-base64 use base64 encoding/decoding functions
1737 --enable-backtrace use wxStackWalker class for getting backtraces
1738 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1739 --enable-cmdline use wxCmdLineParser class
1740 --enable-datetime use wxDateTime class
1741 --enable-debugreport use wxDebugReport class
1742 --enable-dialupman use dialup network classes
1743 --enable-dynlib use wxLibrary class for DLL loading
1744 --enable-dynamicloader use (new) wxDynamicLibrary class
1745 --enable-exceptions build exception-safe library
1746 --enable-ffile use wxFFile class
1747 --enable-file use wxFile class
1748 --enable-filehistory use wxFileHistory class
1749 --enable-filesystem use virtual file systems classes
1750 --enable-fontenum use wxFontEnumerator class
1751 --enable-fontmap use font encodings conversion classes
1752 --enable-fs_archive use virtual archive filesystems
1753 --enable-fs_inet use virtual HTTP/FTP filesystems
1754 --enable-fs_zip now replaced by fs_archive
1755 --enable-fswatcher use wxFileSystemWatcher class
1756 --enable-geometry use geometry class
1757 --enable-log use logging system
1758 --enable-longlong use wxLongLong class
1759 --enable-mimetype use wxMimeTypesManager
1760 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1761 --enable-snglinst use wxSingleInstanceChecker class
1762 --enable-sound use wxSound class
1763 --enable-stdpaths use wxStandardPaths class
1764 --enable-stopwatch use wxStopWatch class
1765 --enable-streams use wxStream etc classes
1766 --enable-sysoptions use wxSystemOptions
1767 --enable-tarstream use wxTar streams
1768 --enable-textbuf use wxTextBuffer class
1769 --enable-textfile use wxTextFile class
1770 --enable-timer use wxTimer class
1771 --enable-variant use wxVariant class
1772 --enable-zipstream use wxZip streams
1773 --enable-url use wxURL class
1774 --enable-protocol use wxProtocol class
1775 --enable-protocol-http HTTP support in wxProtocol
1776 --enable-protocol-ftp FTP support in wxProtocol
1777 --enable-protocol-file FILE support in wxProtocol
1778 --enable-threads use threads
1779 --enable-iniconf use wxIniConfig (Win32 only)
1780 --enable-regkey use wxRegKey class (Win32 only)
1781 --enable-docview use document view architecture
1782 --enable-help use help subsystem
1783 --enable-mshtmlhelp use MS HTML Help (win32)
1784 --enable-html use wxHTML sub-library
1785 --enable-htmlhelp use wxHTML-based help
1786 --enable-xrc use XRC resources sub-library
1787 --enable-aui use AUI docking library
1788 --enable-propgrid use wxPropertyGrid library
1789 --enable-ribbon use wxRibbon library
1790 --enable-stc use wxStyledTextCtrl library
1791 --enable-constraints use layout-constraints system
1792 --enable-loggui use standard GUI logger
1793 --enable-logwin use wxLogWindow
1794 --enable-logdialog use wxLogDialog
1795 --enable-mdi use multiple document interface architecture
1796 --enable-mdidoc use docview architecture with MDI
1797 --enable-mediactrl use wxMediaCtrl class
1798 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1799 --enable-webkit use wxWebKitCtrl (Mac)
1800 --enable-richtext use wxRichTextCtrl
1801 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1802 --enable-printarch use printing architecture
1803 --enable-svg use wxSVGFileDC device context
1804 --enable-graphics_ctx use graphics context 2D drawing API
1805 --enable-clipboard use wxClipboard class
1806 --enable-dnd use Drag'n'Drop classes
1807 --enable-metafile use win32 metafiles
1808 --disable-controls disable compilation of all standard controls
1809 --enable-markup support wxControl::SetLabelMarkup
1810 --enable-accel use accelerators
1811 --enable-animatectrl use wxAnimationCtrl class
1812 --enable-artstd use standard XPM icons in wxArtProvider
1813 --enable-arttango use Tango icons in wxArtProvider
1814 --enable-bmpbutton use wxBitmapButton class
1815 --enable-bmpcombobox use wxBitmapComboBox class
1816 --enable-button use wxButton class
1817 --enable-calendar use wxCalendarCtrl class
1818 --enable-caret use wxCaret class
1819 --enable-checkbox use wxCheckBox class
1820 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1821 --enable-choice use wxChoice class
1822 --enable-choicebook use wxChoicebook class
1823 --enable-collpane use wxCollapsiblePane class
1824 --enable-colourpicker use wxColourPickerCtrl class
1825 --enable-combobox use wxComboBox class
1826 --enable-comboctrl use wxComboCtrl class
1827 --enable-commandlinkbutton use wxCommmandLinkButton class
1828 --enable-dataviewctrl use wxDataViewCtrl class
1829 --enable-datepick use wxDatePickerCtrl class
1830 --enable-detect_sm use code to detect X11 session manager
1831 --enable-dirpicker use wxDirPickerCtrl class
1832 --enable-display use wxDisplay class
1833 --enable-editablebox use wxEditableListBox class
1834 --enable-filectrl use wxFileCtrl class
1835 --enable-filepicker use wxFilePickerCtrl class
1836 --enable-fontpicker use wxFontPickerCtrl class
1837 --enable-gauge use wxGauge class
1838 --enable-grid use wxGrid class
1839 --enable-headerctrl use wxHeaderCtrl class
1840 --enable-hyperlink use wxHyperlinkCtrl class
1841 --enable-imaglist use wxImageList class
1842 --enable-infobar use wxInfoBar class
1843 --enable-listbook use wxListbook class
1844 --enable-listbox use wxListBox class
1845 --enable-listctrl use wxListCtrl class
1846 --enable-notebook use wxNotebook class
1847 --enable-notifmsg use wxNotificationMessage class
1848 --enable-odcombobox use wxOwnerDrawnComboBox class
1849 --enable-popupwin use wxPopUpWindow class
1850 --enable-radiobox use wxRadioBox class
1851 --enable-radiobtn use wxRadioButton class
1852 --enable-richmsgdlg use wxRichMessageDialog class
1853 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1854 --enable-sash use wxSashWindow class
1855 --enable-scrollbar use wxScrollBar class and scrollable windows
1856 --enable-searchctrl use wxSearchCtrl class
1857 --enable-slider use wxSlider class
1858 --enable-spinbtn use wxSpinButton class
1859 --enable-spinctrl use wxSpinCtrl class
1860 --enable-splitter use wxSplitterWindow class
1861 --enable-statbmp use wxStaticBitmap class
1862 --enable-statbox use wxStaticBox class
1863 --enable-statline use wxStaticLine class
1864 --enable-stattext use wxStaticText class
1865 --enable-statusbar use wxStatusBar class
1866 --enable-taskbaricon use wxTaskBarIcon class
1867 --enable-tbarnative use native wxToolBar class
1868 --enable-textctrl use wxTextCtrl class
1869 --enable-tipwindow use wxTipWindow class
1870 --enable-togglebtn use wxToggleButton class
1871 --enable-toolbar use wxToolBar class
1872 --enable-toolbook use wxToolbook class
1873 --enable-treebook use wxTreebook class
1874 --enable-treectrl use wxTreeCtrl class
1875 --enable-commondlg use all common dialogs
1876 --enable-aboutdlg use wxAboutBox
1877 --enable-choicedlg use wxChoiceDialog
1878 --enable-coldlg use wxColourDialog
1879 --enable-filedlg use wxFileDialog
1880 --enable-finddlg use wxFindReplaceDialog
1881 --enable-fontdlg use wxFontDialog
1882 --enable-dirdlg use wxDirDialog
1883 --enable-msgdlg use wxMessageDialog
1884 --enable-numberdlg use wxNumberEntryDialog
1885 --enable-splash use wxSplashScreen
1886 --enable-textdlg use wxTextDialog
1887 --enable-tipdlg use startup tips
1888 --enable-progressdlg use wxProgressDialog
1889 --enable-wizarddlg use wxWizard
1890 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1891 --enable-miniframe use wxMiniFrame class
1892 --enable-tooltips use wxToolTip class
1893 --enable-splines use spline drawing code
1894 --enable-mousewheel use mousewheel
1895 --enable-validators use wxValidator and derived classes
1896 --enable-busyinfo use wxBusyInfo
1897 --enable-joystick use wxJoystick
1898 --enable-metafiles use wxMetaFile (Win32 only)
1899 --enable-dragimage use wxDragImage
1900 --enable-accessibility enable accessibility support
1901 --enable-uiactionsim use wxUIActionSimulator (experimental)
1902 --enable-palette use wxPalette class
1903 --enable-image use wxImage class
1904 --enable-gif use gif images (GIF file format)
1905 --enable-pcx use pcx images (PCX file format)
1906 --enable-tga use tga images (TGA file format)
1907 --enable-iff use iff images (IFF file format)
1908 --enable-pnm use pnm images (PNM file format)
1909 --enable-xpm use xpm images (XPM file format)
1910 --enable-ico_cur use Windows ICO and CUR formats
1911 --enable-dccache cache temporary wxDC objects (Win32 only)
1912 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1913 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1914 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1915 --enable-wxdib use wxDIB class (Win32 only)
1916 --enable-autoidman use automatic ids management
1917 --disable-largefile omit support for large files
1918 --disable-gtktest do not try to compile and run a test GTK+ program
1919 --disable-gtktest Do not try to compile and run a test GTK program
1920 --disable-sdltest Do not try to compile and run a test SDL program
1921 --enable-omf use OMF object format (OS/2)
1922 --disable-dependency-tracking
1923 don't use dependency tracking even if the compiler
1924 can
1925 --disable-precomp-headers
1926 don't use precompiled headers even if compiler can
1927
1928 Optional Packages:
1929 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1930 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1931 --without-subdirs don't generate makefiles for samples/demos/...
1932 --with-flavour=NAME specify a name to identify this build
1933 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1934 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1935 --with-motif use Motif/Lesstif
1936 --with-osx_carbon use Mac OS X (Carbon)
1937 --with-osx_cocoa use Mac OS X (Cocoa)
1938 --with-osx_iphone use iPhone OS X port
1939 --with-osx use Mac OS X (default port, currently Carbon)
1940 --with-carbon same as --with-osx_carbon
1941 --with-cocoa same as --with-osx_cocoa
1942 --with-iphone same as --with-osx_iphone
1943 --with-mac same as --with-osx
1944 --with-old_cocoa use old, deprecated, Cocoa port
1945 --with-wine use Wine
1946 --with-msw use MS-Windows
1947 --with-pm use OS/2 Presentation Manager
1948 --with-mgl use SciTech MGL
1949 --with-directfb use DirectFB
1950 --with-microwin use MicroWindows
1951 --with-x11 use X11
1952 --with-libpng use libpng (PNG image format)
1953 --with-libjpeg use libjpeg (JPEG file format)
1954 --with-libtiff use libtiff (TIFF file format)
1955 --with-libxpm use libxpm (XPM file format)
1956 --with-libiconv use libiconv (character conversion)
1957 --with-libmspack use libmspack (CHM help files loading)
1958 --without-gtkprint don't use GTK printing support
1959 --without-gnomeprint don't use GNOME printing libraries
1960 --with-gnomevfs use GNOME VFS for associating MIME types
1961 --with-hildon use Hildon framework for Nokia 770/800/810
1962 --with-opengl use OpenGL (or Mesa)
1963 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1964 --with-sdl use SDL for audio on Unix
1965 --with-regex enable support for wxRegEx class
1966 --with-zlib use zlib for LZW compression
1967 --with-expat enable XML support using expat parser
1968 --with-macosx-sdk=PATH use an OS X SDK at PATH
1969 --with-macosx-version-min=VER build binaries which require at least this OS X version
1970 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1971 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1972 --with-x use the X Window System
1973 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1974 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1975 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1976 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1977 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1978
1979 Some influential environment variables:
1980 CC C compiler command
1981 CFLAGS C compiler flags
1982 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1983 nonstandard directory <lib dir>
1984 LIBS libraries to pass to the linker, e.g. -l<library>
1985 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1986 you have headers in a nonstandard directory <include dir>
1987 CPP C preprocessor
1988 CXX C++ compiler command
1989 CXXFLAGS C++ compiler flags
1990 CXXCPP C++ preprocessor
1991 PKG_CONFIG path to pkg-config utility
1992 DIRECTFB_CFLAGS
1993 C compiler flags for DIRECTFB, overriding pkg-config
1994 DIRECTFB_LIBS
1995 linker flags for DIRECTFB, overriding pkg-config
1996 XMKMF Path to xmkmf, Makefile generator for X Window System
1997 PANGOX_CFLAGS
1998 C compiler flags for PANGOX, overriding pkg-config
1999 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2000 PANGOFT2_CFLAGS
2001 C compiler flags for PANGOFT2, overriding pkg-config
2002 PANGOFT2_LIBS
2003 linker flags for PANGOFT2, overriding pkg-config
2004 PANGOXFT_CFLAGS
2005 C compiler flags for PANGOXFT, overriding pkg-config
2006 PANGOXFT_LIBS
2007 linker flags for PANGOXFT, overriding pkg-config
2008 GTKPRINT_CFLAGS
2009 C compiler flags for GTKPRINT, overriding pkg-config
2010 GTKPRINT_LIBS
2011 linker flags for GTKPRINT, overriding pkg-config
2012 LIBGNOMEPRINTUI_CFLAGS
2013 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2014 LIBGNOMEPRINTUI_LIBS
2015 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2016 GNOMEVFS_CFLAGS
2017 C compiler flags for GNOMEVFS, overriding pkg-config
2018 GNOMEVFS_LIBS
2019 linker flags for GNOMEVFS, overriding pkg-config
2020 HILDON_CFLAGS
2021 C compiler flags for HILDON, overriding pkg-config
2022 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2023 HILDON2_CFLAGS
2024 C compiler flags for HILDON2, overriding pkg-config
2025 HILDON2_LIBS
2026 linker flags for HILDON2, overriding pkg-config
2027 CAIRO_CFLAGS
2028 C compiler flags for CAIRO, overriding pkg-config
2029 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2030 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2031 GST_LIBS linker flags for GST, overriding pkg-config
2032
2033 Use these variables to override the choices made by `configure' or to help
2034 it to find libraries and programs with nonstandard names/locations.
2035
2036 Report bugs to <wx-dev@lists.wxwidgets.org>.
2037 _ACEOF
2038 ac_status=$?
2039 fi
2040
2041 if test "$ac_init_help" = "recursive"; then
2042 # If there are subdirs, report their specific --help.
2043 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2044 test -d "$ac_dir" || continue
2045 ac_builddir=.
2046
2047 case "$ac_dir" in
2048 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2049 *)
2050 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2051 # A ".." for each directory in $ac_dir_suffix.
2052 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2053 case $ac_top_builddir_sub in
2054 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2055 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2056 esac ;;
2057 esac
2058 ac_abs_top_builddir=$ac_pwd
2059 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2060 # for backward compatibility:
2061 ac_top_builddir=$ac_top_build_prefix
2062
2063 case $srcdir in
2064 .) # We are building in place.
2065 ac_srcdir=.
2066 ac_top_srcdir=$ac_top_builddir_sub
2067 ac_abs_top_srcdir=$ac_pwd ;;
2068 [\\/]* | ?:[\\/]* ) # Absolute name.
2069 ac_srcdir=$srcdir$ac_dir_suffix;
2070 ac_top_srcdir=$srcdir
2071 ac_abs_top_srcdir=$srcdir ;;
2072 *) # Relative name.
2073 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2074 ac_top_srcdir=$ac_top_build_prefix$srcdir
2075 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2076 esac
2077 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2078
2079 cd "$ac_dir" || { ac_status=$?; continue; }
2080 # Check for guested configure.
2081 if test -f "$ac_srcdir/configure.gnu"; then
2082 echo &&
2083 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2084 elif test -f "$ac_srcdir/configure"; then
2085 echo &&
2086 $SHELL "$ac_srcdir/configure" --help=recursive
2087 else
2088 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2089 fi || ac_status=$?
2090 cd "$ac_pwd" || { ac_status=$?; break; }
2091 done
2092 fi
2093
2094 test -n "$ac_init_help" && exit $ac_status
2095 if $ac_init_version; then
2096 cat <<\_ACEOF
2097 wxWidgets configure 2.9.2
2098 generated by GNU Autoconf 2.61
2099
2100 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2101 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2102 This configure script is free software; the Free Software Foundation
2103 gives unlimited permission to copy, distribute and modify it.
2104 _ACEOF
2105 exit
2106 fi
2107 cat >config.log <<_ACEOF
2108 This file contains any messages produced by compilers while
2109 running configure, to aid debugging if configure makes a mistake.
2110
2111 It was created by wxWidgets $as_me 2.9.2, which was
2112 generated by GNU Autoconf 2.61. Invocation command line was
2113
2114 $ $0 $@
2115
2116 _ACEOF
2117 exec 5>>config.log
2118 {
2119 cat <<_ASUNAME
2120 ## --------- ##
2121 ## Platform. ##
2122 ## --------- ##
2123
2124 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2125 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2126 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2127 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2128 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2129
2130 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2131 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2132
2133 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2134 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2135 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2136 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2137 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2138 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2139 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2140
2141 _ASUNAME
2142
2143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144 for as_dir in $PATH
2145 do
2146 IFS=$as_save_IFS
2147 test -z "$as_dir" && as_dir=.
2148 echo "PATH: $as_dir"
2149 done
2150 IFS=$as_save_IFS
2151
2152 } >&5
2153
2154 cat >&5 <<_ACEOF
2155
2156
2157 ## ----------- ##
2158 ## Core tests. ##
2159 ## ----------- ##
2160
2161 _ACEOF
2162
2163
2164 # Keep a trace of the command line.
2165 # Strip out --no-create and --no-recursion so they do not pile up.
2166 # Strip out --silent because we don't want to record it for future runs.
2167 # Also quote any args containing shell meta-characters.
2168 # Make two passes to allow for proper duplicate-argument suppression.
2169 ac_configure_args=
2170 ac_configure_args0=
2171 ac_configure_args1=
2172 ac_must_keep_next=false
2173 for ac_pass in 1 2
2174 do
2175 for ac_arg
2176 do
2177 case $ac_arg in
2178 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2179 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2180 | -silent | --silent | --silen | --sile | --sil)
2181 continue ;;
2182 *\'*)
2183 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2184 esac
2185 case $ac_pass in
2186 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2187 2)
2188 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2189 if test $ac_must_keep_next = true; then
2190 ac_must_keep_next=false # Got value, back to normal.
2191 else
2192 case $ac_arg in
2193 *=* | --config-cache | -C | -disable-* | --disable-* \
2194 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2195 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2196 | -with-* | --with-* | -without-* | --without-* | --x)
2197 case "$ac_configure_args0 " in
2198 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2199 esac
2200 ;;
2201 -* ) ac_must_keep_next=true ;;
2202 esac
2203 fi
2204 ac_configure_args="$ac_configure_args '$ac_arg'"
2205 ;;
2206 esac
2207 done
2208 done
2209 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2210 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2211
2212 # When interrupted or exit'd, cleanup temporary files, and complete
2213 # config.log. We remove comments because anyway the quotes in there
2214 # would cause problems or look ugly.
2215 # WARNING: Use '\'' to represent an apostrophe within the trap.
2216 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2217 trap 'exit_status=$?
2218 # Save into config.log some information that might help in debugging.
2219 {
2220 echo
2221
2222 cat <<\_ASBOX
2223 ## ---------------- ##
2224 ## Cache variables. ##
2225 ## ---------------- ##
2226 _ASBOX
2227 echo
2228 # The following way of writing the cache mishandles newlines in values,
2229 (
2230 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2231 eval ac_val=\$$ac_var
2232 case $ac_val in #(
2233 *${as_nl}*)
2234 case $ac_var in #(
2235 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2236 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2237 esac
2238 case $ac_var in #(
2239 _ | IFS | as_nl) ;; #(
2240 *) $as_unset $ac_var ;;
2241 esac ;;
2242 esac
2243 done
2244 (set) 2>&1 |
2245 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2246 *${as_nl}ac_space=\ *)
2247 sed -n \
2248 "s/'\''/'\''\\\\'\'''\''/g;
2249 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2250 ;; #(
2251 *)
2252 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2253 ;;
2254 esac |
2255 sort
2256 )
2257 echo
2258
2259 cat <<\_ASBOX
2260 ## ----------------- ##
2261 ## Output variables. ##
2262 ## ----------------- ##
2263 _ASBOX
2264 echo
2265 for ac_var in $ac_subst_vars
2266 do
2267 eval ac_val=\$$ac_var
2268 case $ac_val in
2269 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2270 esac
2271 echo "$ac_var='\''$ac_val'\''"
2272 done | sort
2273 echo
2274
2275 if test -n "$ac_subst_files"; then
2276 cat <<\_ASBOX
2277 ## ------------------- ##
2278 ## File substitutions. ##
2279 ## ------------------- ##
2280 _ASBOX
2281 echo
2282 for ac_var in $ac_subst_files
2283 do
2284 eval ac_val=\$$ac_var
2285 case $ac_val in
2286 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2287 esac
2288 echo "$ac_var='\''$ac_val'\''"
2289 done | sort
2290 echo
2291 fi
2292
2293 if test -s confdefs.h; then
2294 cat <<\_ASBOX
2295 ## ----------- ##
2296 ## confdefs.h. ##
2297 ## ----------- ##
2298 _ASBOX
2299 echo
2300 cat confdefs.h
2301 echo
2302 fi
2303 test "$ac_signal" != 0 &&
2304 echo "$as_me: caught signal $ac_signal"
2305 echo "$as_me: exit $exit_status"
2306 } >&5
2307 rm -f core *.core core.conftest.* &&
2308 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2309 exit $exit_status
2310 ' 0
2311 for ac_signal in 1 2 13 15; do
2312 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2313 done
2314 ac_signal=0
2315
2316 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2317 rm -f -r conftest* confdefs.h
2318
2319 # Predefined preprocessor variables.
2320
2321 cat >>confdefs.h <<_ACEOF
2322 #define PACKAGE_NAME "$PACKAGE_NAME"
2323 _ACEOF
2324
2325
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2328 _ACEOF
2329
2330
2331 cat >>confdefs.h <<_ACEOF
2332 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2333 _ACEOF
2334
2335
2336 cat >>confdefs.h <<_ACEOF
2337 #define PACKAGE_STRING "$PACKAGE_STRING"
2338 _ACEOF
2339
2340
2341 cat >>confdefs.h <<_ACEOF
2342 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2343 _ACEOF
2344
2345
2346 # Let the site file select an alternate cache file if it wants to.
2347 # Prefer explicitly selected file to automatically selected ones.
2348 if test -n "$CONFIG_SITE"; then
2349 set x "$CONFIG_SITE"
2350 elif test "x$prefix" != xNONE; then
2351 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2352 else
2353 set x "$ac_default_prefix/share/config.site" \
2354 "$ac_default_prefix/etc/config.site"
2355 fi
2356 shift
2357 for ac_site_file
2358 do
2359 if test -r "$ac_site_file"; then
2360 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2361 echo "$as_me: loading site script $ac_site_file" >&6;}
2362 sed 's/^/| /' "$ac_site_file" >&5
2363 . "$ac_site_file"
2364 fi
2365 done
2366
2367 if test -r "$cache_file"; then
2368 # Some versions of bash will fail to source /dev/null (special
2369 # files actually), so we avoid doing that.
2370 if test -f "$cache_file"; then
2371 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2372 echo "$as_me: loading cache $cache_file" >&6;}
2373 case $cache_file in
2374 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2375 *) . "./$cache_file";;
2376 esac
2377 fi
2378 else
2379 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2380 echo "$as_me: creating cache $cache_file" >&6;}
2381 >$cache_file
2382 fi
2383
2384 # Check that the precious variables saved in the cache have kept the same
2385 # value.
2386 ac_cache_corrupted=false
2387 for ac_var in $ac_precious_vars; do
2388 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2389 eval ac_new_set=\$ac_env_${ac_var}_set
2390 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2391 eval ac_new_val=\$ac_env_${ac_var}_value
2392 case $ac_old_set,$ac_new_set in
2393 set,)
2394 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2395 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2396 ac_cache_corrupted=: ;;
2397 ,set)
2398 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2399 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2400 ac_cache_corrupted=: ;;
2401 ,);;
2402 *)
2403 if test "x$ac_old_val" != "x$ac_new_val"; then
2404 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2405 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2406 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2407 echo "$as_me: former value: $ac_old_val" >&2;}
2408 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2409 echo "$as_me: current value: $ac_new_val" >&2;}
2410 ac_cache_corrupted=:
2411 fi;;
2412 esac
2413 # Pass precious variables to config.status.
2414 if test "$ac_new_set" = set; then
2415 case $ac_new_val in
2416 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2417 *) ac_arg=$ac_var=$ac_new_val ;;
2418 esac
2419 case " $ac_configure_args " in
2420 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2421 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2422 esac
2423 fi
2424 done
2425 if $ac_cache_corrupted; then
2426 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2427 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2428 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2429 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2430 { (exit 1); exit 1; }; }
2431 fi
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457 ac_ext=c
2458 ac_cpp='$CPP $CPPFLAGS'
2459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2462
2463
2464
2465
2466
2467 ac_aux_dir=
2468 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2469 if test -f "$ac_dir/install-sh"; then
2470 ac_aux_dir=$ac_dir
2471 ac_install_sh="$ac_aux_dir/install-sh -c"
2472 break
2473 elif test -f "$ac_dir/install.sh"; then
2474 ac_aux_dir=$ac_dir
2475 ac_install_sh="$ac_aux_dir/install.sh -c"
2476 break
2477 elif test -f "$ac_dir/shtool"; then
2478 ac_aux_dir=$ac_dir
2479 ac_install_sh="$ac_aux_dir/shtool install -c"
2480 break
2481 fi
2482 done
2483 if test -z "$ac_aux_dir"; then
2484 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2485 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2486 { (exit 1); exit 1; }; }
2487 fi
2488
2489 # These three variables are undocumented and unsupported,
2490 # and are intended to be withdrawn in a future Autoconf release.
2491 # They can cause serious problems if a builder's source tree is in a directory
2492 # whose full name contains unusual characters.
2493 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2494 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2495 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2496
2497
2498 # Make sure we can run config.sub.
2499 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2500 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2501 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2502 { (exit 1); exit 1; }; }
2503
2504 { echo "$as_me:$LINENO: checking build system type" >&5
2505 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2506 if test "${ac_cv_build+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 else
2509 ac_build_alias=$build_alias
2510 test "x$ac_build_alias" = x &&
2511 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2512 test "x$ac_build_alias" = x &&
2513 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2514 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2515 { (exit 1); exit 1; }; }
2516 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2517 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2518 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2519 { (exit 1); exit 1; }; }
2520
2521 fi
2522 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2523 echo "${ECHO_T}$ac_cv_build" >&6; }
2524 case $ac_cv_build in
2525 *-*-*) ;;
2526 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2527 echo "$as_me: error: invalid value of canonical build" >&2;}
2528 { (exit 1); exit 1; }; };;
2529 esac
2530 build=$ac_cv_build
2531 ac_save_IFS=$IFS; IFS='-'
2532 set x $ac_cv_build
2533 shift
2534 build_cpu=$1
2535 build_vendor=$2
2536 shift; shift
2537 # Remember, the first character of IFS is used to create $*,
2538 # except with old shells:
2539 build_os=$*
2540 IFS=$ac_save_IFS
2541 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2542
2543
2544 { echo "$as_me:$LINENO: checking host system type" >&5
2545 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2546 if test "${ac_cv_host+set}" = set; then
2547 echo $ECHO_N "(cached) $ECHO_C" >&6
2548 else
2549 if test "x$host_alias" = x; then
2550 ac_cv_host=$ac_cv_build
2551 else
2552 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2553 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2554 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2555 { (exit 1); exit 1; }; }
2556 fi
2557
2558 fi
2559 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2560 echo "${ECHO_T}$ac_cv_host" >&6; }
2561 case $ac_cv_host in
2562 *-*-*) ;;
2563 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2564 echo "$as_me: error: invalid value of canonical host" >&2;}
2565 { (exit 1); exit 1; }; };;
2566 esac
2567 host=$ac_cv_host
2568 ac_save_IFS=$IFS; IFS='-'
2569 set x $ac_cv_host
2570 shift
2571 host_cpu=$1
2572 host_vendor=$2
2573 shift; shift
2574 # Remember, the first character of IFS is used to create $*,
2575 # except with old shells:
2576 host_os=$*
2577 IFS=$ac_save_IFS
2578 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2579
2580
2581
2582 if test "$cross_compiling" != "no"; then
2583 HOST_PREFIX="${host_alias}-"
2584 HOST_SUFFIX="-$host_alias"
2585 else
2586 HOST_PREFIX=
2587 HOST_SUFFIX=
2588 fi
2589
2590
2591 wx_major_version_number=2
2592 wx_minor_version_number=9
2593 wx_release_number=2
2594 wx_subrelease_number=0
2595
2596 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2597 WX_VERSION=$WX_RELEASE.$wx_release_number
2598 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2599
2600 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2601
2602
2603 wx_top_builddir="`pwd`"
2604
2605
2606
2607
2608 USE_UNIX=1
2609 USE_OS2=0
2610 USE_WIN32=0
2611 USE_DOS=0
2612 USE_BEOS=0
2613 USE_MAC=0
2614
2615 USE_AIX=
2616 USE_BSD= USE_DARWIN= USE_FREEBSD=
2617 USE_GNU= USE_HPUX=
2618 USE_LINUX=
2619 USE_NETBSD=
2620 USE_OPENBSD=
2621 USE_OSF= USE_SGI=
2622 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2623 USE_ULTRIX=
2624 USE_UNIXWARE=
2625
2626 USE_ALPHA=
2627
2628 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2629
2630 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2631
2632 DEFAULT_wxUSE_OLD_COCOA=0
2633 DEFAULT_wxUSE_GTK=0
2634 DEFAULT_wxUSE_OSX_CARBON=0
2635 DEFAULT_wxUSE_OSX_COCOA=0
2636 DEFAULT_wxUSE_OSX_IPHONE=0
2637 DEFAULT_wxUSE_MGL=0
2638 DEFAULT_wxUSE_MICROWIN=0
2639 DEFAULT_wxUSE_MOTIF=0
2640 DEFAULT_wxUSE_MSW=0
2641 DEFAULT_wxUSE_PM=0
2642 DEFAULT_wxUSE_X11=0
2643 DEFAULT_wxUSE_DFB=0
2644
2645 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2646 DEFAULT_DEFAULT_wxUSE_GTK=0
2647 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2648 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2649 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2650 DEFAULT_DEFAULT_wxUSE_MGL=0
2651 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2652 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2653 DEFAULT_DEFAULT_wxUSE_MSW=0
2654 DEFAULT_DEFAULT_wxUSE_PM=0
2655 DEFAULT_DEFAULT_wxUSE_X11=0
2656 DEFAULT_DEFAULT_wxUSE_DFB=0
2657
2658 PROGRAM_EXT=
2659 SAMPLES_RPATH_FLAG=
2660 DYLIB_RPATH_INSTALL=
2661 DYLIB_RPATH_POSTLINK=
2662
2663 DEFAULT_STD_FLAG=yes
2664
2665 case "${host}" in
2666 *-hp-hpux* )
2667 USE_HPUX=1
2668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2669 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2670 cat >>confdefs.h <<\_ACEOF
2671 #define __HPUX__ 1
2672 _ACEOF
2673
2674
2675 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2676 ;;
2677 *-*-linux* )
2678 USE_LINUX=1
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __LINUX__ 1
2681 _ACEOF
2682
2683 TMP=`uname -m`
2684 if test "x$TMP" = "xalpha"; then
2685 USE_ALPHA=1
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __ALPHA__ 1
2688 _ACEOF
2689
2690 fi
2691 DEFAULT_DEFAULT_wxUSE_GTK=1
2692 ;;
2693 *-*-gnu* | *-*-k*bsd*-gnu )
2694 USE_GNU=1
2695 TMP=`uname -m`
2696 if test "x$TMP" = "xalpha"; then
2697 USE_ALPHA=1
2698 cat >>confdefs.h <<\_ACEOF
2699 #define __ALPHA__ 1
2700 _ACEOF
2701
2702 fi
2703 DEFAULT_DEFAULT_wxUSE_GTK=1
2704 ;;
2705 *-*-irix5* | *-*-irix6* )
2706 USE_SGI=1
2707 USE_SVR4=1
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __SGI__ 1
2710 _ACEOF
2711
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __SVR4__ 1
2714 _ACEOF
2715
2716 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2717 ;;
2718 *-*-qnx*)
2719 USE_QNX=1
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __QNX__ 1
2722 _ACEOF
2723
2724 DEFAULT_DEFAULT_wxUSE_X11=1
2725 ;;
2726 *-*-solaris2* )
2727 USE_SUN=1
2728 USE_SOLARIS=1
2729 USE_SVR4=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __SUN__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __SOLARIS__ 1
2736 _ACEOF
2737
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __SVR4__ 1
2740 _ACEOF
2741
2742 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2743 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2744 ;;
2745 *-*-sunos4* )
2746 USE_SUN=1
2747 USE_SUNOS=1
2748 USE_BSD=1
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __SUN__ 1
2751 _ACEOF
2752
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __SUNOS__ 1
2755 _ACEOF
2756
2757 cat >>confdefs.h <<\_ACEOF
2758 #define __BSD__ 1
2759 _ACEOF
2760
2761 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2762 ;;
2763 *-*-freebsd*)
2764 USE_BSD=1
2765 USE_FREEBSD=1
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __FREEBSD__ 1
2768 _ACEOF
2769
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __BSD__ 1
2772 _ACEOF
2773
2774 DEFAULT_DEFAULT_wxUSE_GTK=1
2775 ;;
2776 *-*-openbsd*|*-*-mirbsd*)
2777 USE_BSD=1
2778 USE_OPENBSD=1
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __OPENBSD__ 1
2781 _ACEOF
2782
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __BSD__ 1
2785 _ACEOF
2786
2787 DEFAULT_DEFAULT_wxUSE_GTK=1
2788 ;;
2789 *-*-netbsd*)
2790 USE_BSD=1
2791 USE_NETBSD=1
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __NETBSD__ 1
2794 _ACEOF
2795
2796 cat >>confdefs.h <<\_ACEOF
2797 #define __BSD__ 1
2798 _ACEOF
2799
2800 DEFAULT_DEFAULT_wxUSE_GTK=1
2801 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2802
2803 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2804 ;;
2805 *-*-osf* )
2806 USE_ALPHA=1
2807 USE_OSF=1
2808 cat >>confdefs.h <<\_ACEOF
2809 #define __ALPHA__ 1
2810 _ACEOF
2811
2812 cat >>confdefs.h <<\_ACEOF
2813 #define __OSF__ 1
2814 _ACEOF
2815
2816 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2817 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2818 ;;
2819 *-*-dgux5* )
2820 USE_ALPHA=1
2821 USE_SVR4=1
2822 cat >>confdefs.h <<\_ACEOF
2823 #define __ALPHA__ 1
2824 _ACEOF
2825
2826 cat >>confdefs.h <<\_ACEOF
2827 #define __SVR4__ 1
2828 _ACEOF
2829
2830 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2831 ;;
2832 *-*-sysv5* )
2833 USE_SYSV=1
2834 USE_SVR4=1
2835 cat >>confdefs.h <<\_ACEOF
2836 #define __SYSV__ 1
2837 _ACEOF
2838
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __SVR4__ 1
2841 _ACEOF
2842
2843 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2844 ;;
2845 *-*-aix* )
2846 USE_AIX=1
2847 USE_SYSV=1
2848 USE_SVR4=1
2849 cat >>confdefs.h <<\_ACEOF
2850 #define __AIX__ 1
2851 _ACEOF
2852
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __SYSV__ 1
2855 _ACEOF
2856
2857 cat >>confdefs.h <<\_ACEOF
2858 #define __SVR4__ 1
2859 _ACEOF
2860
2861 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2862 ;;
2863
2864 *-*-*UnixWare*)
2865 USE_SYSV=1
2866 USE_SVR4=1
2867 USE_UNIXWARE=1
2868 cat >>confdefs.h <<\_ACEOF
2869 #define __UNIXWARE__ 1
2870 _ACEOF
2871
2872 ;;
2873
2874 *-*-cygwin* | *-*-mingw32* )
2875 PROGRAM_EXT=".exe"
2876 DEFAULT_DEFAULT_wxUSE_MSW=1
2877 ;;
2878
2879 *-pc-msdosdjgpp )
2880 USE_UNIX=0
2881 USE_DOS=1
2882 cat >>confdefs.h <<\_ACEOF
2883 #define __DOS__ 1
2884 _ACEOF
2885
2886 PROGRAM_EXT=".exe"
2887 DEFAULT_DEFAULT_wxUSE_MGL=1
2888 ;;
2889
2890 *-pc-os2_emx | *-pc-os2-emx )
2891 cat >>confdefs.h <<\_ACEOF
2892 #define __EMX__ 1
2893 _ACEOF
2894
2895 USE_OS2=1
2896 cat >>confdefs.h <<\_ACEOF
2897 #define __OS2__ 1
2898 _ACEOF
2899
2900 PROGRAM_EXT=".exe"
2901 DEFAULT_DEFAULT_wxUSE_PM=1
2902 CXX=gcc
2903 LDFLAGS="$LDFLAGS -Zcrtdll"
2904 ac_executable_extensions=".exe"
2905 export ac_executable_extensions
2906 ac_save_IFS="$IFS"
2907 IFS='\\'
2908 ac_TEMP_PATH=
2909 for ac_dir in $PATH; do
2910 IFS=$ac_save_IFS
2911 if test -z "$ac_TEMP_PATH"; then
2912 ac_TEMP_PATH="$ac_dir"
2913 else
2914 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2915 fi
2916 done
2917 export PATH="$ac_TEMP_PATH"
2918 unset ac_TEMP_PATH
2919 DEFAULT_STD_FLAG=no
2920 ;;
2921
2922 arm-apple-darwin*)
2923 USE_BSD=1
2924 USE_DARWIN=1
2925 cat >>confdefs.h <<\_ACEOF
2926 #define __BSD__ 1
2927 _ACEOF
2928
2929 cat >>confdefs.h <<\_ACEOF
2930 #define __DARWIN__ 1
2931 _ACEOF
2932
2933 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2934 ;;
2935
2936 *-*-darwin* )
2937 USE_BSD=1
2938 USE_DARWIN=1
2939 cat >>confdefs.h <<\_ACEOF
2940 #define __BSD__ 1
2941 _ACEOF
2942
2943 cat >>confdefs.h <<\_ACEOF
2944 #define __DARWIN__ 1
2945 _ACEOF
2946
2947 cat >>confdefs.h <<\_ACEOF
2948 #define TARGET_CARBON 1
2949 _ACEOF
2950
2951 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2952 ;;
2953
2954 *-*-beos* )
2955 USE_BEOS=1
2956 cat >>confdefs.h <<\_ACEOF
2957 #define __BEOS__ 1
2958 _ACEOF
2959
2960 ;;
2961
2962 *)
2963 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2964 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2965 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2966 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2967
2968 DEFAULT_DEFAULT_wxUSE_X11=1
2969 DEFAULT_wxUSE_SHARED=no
2970 esac
2971
2972
2973
2974 DEFAULT_wxUSE_ALL_FEATURES=yes
2975
2976 DEFAULT_wxUSE_STD_CONTAINERS=$DEFAULT_STD_FLAG
2977 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2978 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2979
2980 DEFAULT_wxUSE_DMALLOC=no
2981 DEFAULT_wxUSE_LIBGNOMEVFS=no
2982 DEFAULT_wxUSE_LIBHILDON=no
2983 DEFAULT_wxUSE_LIBHILDON2=no
2984 DEFAULT_wxUSE_LIBMSPACK=no
2985 DEFAULT_wxUSE_LIBSDL=no
2986
2987 DEFAULT_wxUSE_ACCESSIBILITY=no
2988 DEFAULT_wxUSE_IPV6=no
2989 DEFAULT_wxUSE_GSTREAMER8=no
2990
2991 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2992 DEFAULT_wxUSE_UNICODE_UTF8=auto
2993 DEFAULT_wxUSE_OPENGL=auto
2994 DEFAULT_wxUSE_MEDIACTRL=auto
2995 DEFAULT_wxUSE_COMPILER_TLS=auto
2996
2997 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2998
2999 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3000 DEFAULT_wxUSE_MAC_ARCH=no
3001
3002 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3003
3004 DEFAULT_wxUSE_GTK2=yes
3005
3006 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3007
3008
3009
3010
3011
3012 enablestring=disable
3013 defaultval=
3014 if test -z "$defaultval"; then
3015 if test x"$enablestring" = xdisable; then
3016 defaultval=yes
3017 else
3018 defaultval=no
3019 fi
3020 fi
3021
3022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3023 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3024 # Check whether --enable-gui was given.
3025 if test "${enable_gui+set}" = set; then
3026 enableval=$enable_gui;
3027 if test "$enableval" = yes; then
3028 wx_cv_use_gui='wxUSE_GUI=yes'
3029 else
3030 wx_cv_use_gui='wxUSE_GUI=no'
3031 fi
3032
3033 else
3034
3035 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3036
3037 fi
3038
3039
3040 eval "$wx_cv_use_gui"
3041
3042 if test x"$enablestring" = xdisable; then
3043 if test $wxUSE_GUI = no; then
3044 result=yes
3045 else
3046 result=no
3047 fi
3048 else
3049 result=$wxUSE_GUI
3050 fi
3051
3052 { echo "$as_me:$LINENO: result: $result" >&5
3053 echo "${ECHO_T}$result" >&6; }
3054
3055
3056 enablestring=
3057 defaultval=
3058 if test -z "$defaultval"; then
3059 if test x"$enablestring" = xdisable; then
3060 defaultval=yes
3061 else
3062 defaultval=no
3063 fi
3064 fi
3065
3066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3067 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3068 # Check whether --enable-monolithic was given.
3069 if test "${enable_monolithic+set}" = set; then
3070 enableval=$enable_monolithic;
3071 if test "$enableval" = yes; then
3072 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3073 else
3074 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3075 fi
3076
3077 else
3078
3079 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3080
3081 fi
3082
3083
3084 eval "$wx_cv_use_monolithic"
3085
3086 if test x"$enablestring" = xdisable; then
3087 if test $wxUSE_MONOLITHIC = no; then
3088 result=yes
3089 else
3090 result=no
3091 fi
3092 else
3093 result=$wxUSE_MONOLITHIC
3094 fi
3095
3096 { echo "$as_me:$LINENO: result: $result" >&5
3097 echo "${ECHO_T}$result" >&6; }
3098
3099
3100 enablestring=
3101 defaultval=
3102 if test -z "$defaultval"; then
3103 if test x"$enablestring" = xdisable; then
3104 defaultval=yes
3105 else
3106 defaultval=no
3107 fi
3108 fi
3109
3110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3111 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3112 # Check whether --enable-plugins was given.
3113 if test "${enable_plugins+set}" = set; then
3114 enableval=$enable_plugins;
3115 if test "$enableval" = yes; then
3116 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3117 else
3118 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3119 fi
3120
3121 else
3122
3123 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3124
3125 fi
3126
3127
3128 eval "$wx_cv_use_plugins"
3129
3130 if test x"$enablestring" = xdisable; then
3131 if test $wxUSE_PLUGINS = no; then
3132 result=yes
3133 else
3134 result=no
3135 fi
3136 else
3137 result=$wxUSE_PLUGINS
3138 fi
3139
3140 { echo "$as_me:$LINENO: result: $result" >&5
3141 echo "${ECHO_T}$result" >&6; }
3142
3143
3144 withstring=without
3145 defaultval=$wxUSE_ALL_FEATURES
3146 if test -z "$defaultval"; then
3147 if test x"$withstring" = xwithout; then
3148 defaultval=yes
3149 else
3150 defaultval=no
3151 fi
3152 fi
3153 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3154 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3155
3156 # Check whether --with-subdirs was given.
3157 if test "${with_subdirs+set}" = set; then
3158 withval=$with_subdirs;
3159 if test "$withval" = yes; then
3160 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3161 else
3162 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3163 fi
3164
3165 else
3166
3167 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3168
3169 fi
3170
3171
3172 eval "$wx_cv_use_subdirs"
3173
3174 if test x"$withstring" = xwithout; then
3175 if test $wxWITH_SUBDIRS = yes; then
3176 result=no
3177 else
3178 result=yes
3179 fi
3180 else
3181 result=$wxWITH_SUBDIRS
3182 fi
3183
3184 { echo "$as_me:$LINENO: result: $result" >&5
3185 echo "${ECHO_T}$result" >&6; }
3186
3187
3188 # Check whether --with-flavour was given.
3189 if test "${with_flavour+set}" = set; then
3190 withval=$with_flavour; WX_FLAVOUR="$withval"
3191 fi
3192
3193
3194 enablestring=
3195 defaultval=
3196 if test -z "$defaultval"; then
3197 if test x"$enablestring" = xdisable; then
3198 defaultval=yes
3199 else
3200 defaultval=no
3201 fi
3202 fi
3203
3204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3205 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3206 # Check whether --enable-official_build was given.
3207 if test "${enable_official_build+set}" = set; then
3208 enableval=$enable_official_build;
3209 if test "$enableval" = yes; then
3210 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3211 else
3212 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3213 fi
3214
3215 else
3216
3217 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3218
3219 fi
3220
3221
3222 eval "$wx_cv_use_official_build"
3223
3224 if test x"$enablestring" = xdisable; then
3225 if test $wxUSE_OFFICIAL_BUILD = no; then
3226 result=yes
3227 else
3228 result=no
3229 fi
3230 else
3231 result=$wxUSE_OFFICIAL_BUILD
3232 fi
3233
3234 { echo "$as_me:$LINENO: result: $result" >&5
3235 echo "${ECHO_T}$result" >&6; }
3236
3237 # Check whether --enable-vendor was given.
3238 if test "${enable_vendor+set}" = set; then
3239 enableval=$enable_vendor; VENDOR="$enableval"
3240 fi
3241
3242 if test "x$VENDOR" = "x"; then
3243 VENDOR="custom"
3244 fi
3245
3246
3247 enablestring=disable
3248 defaultval=
3249 if test -z "$defaultval"; then
3250 if test x"$enablestring" = xdisable; then
3251 defaultval=yes
3252 else
3253 defaultval=no
3254 fi
3255 fi
3256
3257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3258 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3259 # Check whether --enable-all-features was given.
3260 if test "${enable_all_features+set}" = set; then
3261 enableval=$enable_all_features;
3262 if test "$enableval" = yes; then
3263 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3264 else
3265 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3266 fi
3267
3268 else
3269
3270 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3271
3272 fi
3273
3274
3275 eval "$wx_cv_use_all_features"
3276
3277 if test x"$enablestring" = xdisable; then
3278 if test $wxUSE_ALL_FEATURES = no; then
3279 result=yes
3280 else
3281 result=no
3282 fi
3283 else
3284 result=$wxUSE_ALL_FEATURES
3285 fi
3286
3287 { echo "$as_me:$LINENO: result: $result" >&5
3288 echo "${ECHO_T}$result" >&6; }
3289
3290
3291 if test "$wxUSE_ALL_FEATURES" = "no"; then
3292 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3293 DEFAULT_wxUSE_MEDIACTRL=no
3294 fi
3295
3296
3297 if test "$wxUSE_GUI" = "yes"; then
3298
3299
3300 enablestring=
3301 defaultval=
3302 if test -z "$defaultval"; then
3303 if test x"$enablestring" = xdisable; then
3304 defaultval=yes
3305 else
3306 defaultval=no
3307 fi
3308 fi
3309
3310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3311 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3312 # Check whether --enable-universal was given.
3313 if test "${enable_universal+set}" = set; then
3314 enableval=$enable_universal;
3315 if test "$enableval" = yes; then
3316 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3317 else
3318 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3319 fi
3320
3321 else
3322
3323 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3324
3325 fi
3326
3327
3328 eval "$wx_cv_use_universal"
3329
3330 if test x"$enablestring" = xdisable; then
3331 if test $wxUSE_UNIVERSAL = no; then
3332 result=yes
3333 else
3334 result=no
3335 fi
3336 else
3337 result=$wxUSE_UNIVERSAL
3338 fi
3339
3340 { echo "$as_me:$LINENO: result: $result" >&5
3341 echo "${ECHO_T}$result" >&6; }
3342
3343 if test "$wxUSE_UNIVERSAL" = "yes"; then
3344
3345 # Check whether --with-themes was given.
3346 if test "${with_themes+set}" = set; then
3347 withval=$with_themes; wxUNIV_THEMES="$withval"
3348 fi
3349
3350 fi
3351
3352
3353 # Check whether --with-gtk was given.
3354 if test "${with_gtk+set}" = set; then
3355 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3356 fi
3357
3358
3359 # Check whether --with-motif was given.
3360 if test "${with_motif+set}" = set; then
3361 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3362 fi
3363
3364
3365 # Check whether --with-osx_carbon was given.
3366 if test "${with_osx_carbon+set}" = set; then
3367 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3368 fi
3369
3370
3371 # Check whether --with-osx_cocoa was given.
3372 if test "${with_osx_cocoa+set}" = set; then
3373 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3374 fi
3375
3376
3377 # Check whether --with-osx_iphone was given.
3378 if test "${with_osx_iphone+set}" = set; then
3379 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3380 fi
3381
3382
3383 # Check whether --with-osx was given.
3384 if test "${with_osx+set}" = set; then
3385 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3386 fi
3387
3388
3389 # Check whether --with-carbon was given.
3390 if test "${with_carbon+set}" = set; then
3391 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3392 fi
3393
3394
3395 # Check whether --with-cocoa was given.
3396 if test "${with_cocoa+set}" = set; then
3397 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3398 fi
3399
3400
3401 # Check whether --with-iphone was given.
3402 if test "${with_iphone+set}" = set; then
3403 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3404 fi
3405
3406
3407 # Check whether --with-mac was given.
3408 if test "${with_mac+set}" = set; then
3409 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-old_cocoa was given.
3414 if test "${with_old_cocoa+set}" = set; then
3415 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-wine was given.
3420 if test "${with_wine+set}" = set; then
3421 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3422 fi
3423
3424
3425 # Check whether --with-msw was given.
3426 if test "${with_msw+set}" = set; then
3427 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 # Check whether --with-pm was given.
3432 if test "${with_pm+set}" = set; then
3433 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3434 fi
3435
3436
3437 # Check whether --with-mgl was given.
3438 if test "${with_mgl+set}" = set; then
3439 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3440 fi
3441
3442
3443 # Check whether --with-directfb was given.
3444 if test "${with_directfb+set}" = set; then
3445 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3446 fi
3447
3448
3449 # Check whether --with-microwin was given.
3450 if test "${with_microwin+set}" = set; then
3451 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3452 fi
3453
3454
3455 # Check whether --with-x11 was given.
3456 if test "${with_x11+set}" = set; then
3457 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3458 fi
3459
3460
3461 enablestring=
3462 defaultval=
3463 if test -z "$defaultval"; then
3464 if test x"$enablestring" = xdisable; then
3465 defaultval=yes
3466 else
3467 defaultval=no
3468 fi
3469 fi
3470
3471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3472 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3473 # Check whether --enable-nanox was given.
3474 if test "${enable_nanox+set}" = set; then
3475 enableval=$enable_nanox;
3476 if test "$enableval" = yes; then
3477 wx_cv_use_nanox='wxUSE_NANOX=yes'
3478 else
3479 wx_cv_use_nanox='wxUSE_NANOX=no'
3480 fi
3481
3482 else
3483
3484 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3485
3486 fi
3487
3488
3489 eval "$wx_cv_use_nanox"
3490
3491 if test x"$enablestring" = xdisable; then
3492 if test $wxUSE_NANOX = no; then
3493 result=yes
3494 else
3495 result=no
3496 fi
3497 else
3498 result=$wxUSE_NANOX
3499 fi
3500
3501 { echo "$as_me:$LINENO: result: $result" >&5
3502 echo "${ECHO_T}$result" >&6; }
3503
3504
3505 # Check whether --enable-gtk2 was given.
3506 if test "${enable_gtk2+set}" = set; then
3507 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3508 fi
3509
3510
3511 enablestring=
3512 defaultval=
3513 if test -z "$defaultval"; then
3514 if test x"$enablestring" = xdisable; then
3515 defaultval=yes
3516 else
3517 defaultval=no
3518 fi
3519 fi
3520
3521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3522 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3523 # Check whether --enable-gpe was given.
3524 if test "${enable_gpe+set}" = set; then
3525 enableval=$enable_gpe;
3526 if test "$enableval" = yes; then
3527 wx_cv_use_gpe='wxUSE_GPE=yes'
3528 else
3529 wx_cv_use_gpe='wxUSE_GPE=no'
3530 fi
3531
3532 else
3533
3534 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3535
3536 fi
3537
3538
3539 eval "$wx_cv_use_gpe"
3540
3541 if test x"$enablestring" = xdisable; then
3542 if test $wxUSE_GPE = no; then
3543 result=yes
3544 else
3545 result=no
3546 fi
3547 else
3548 result=$wxUSE_GPE
3549 fi
3550
3551 { echo "$as_me:$LINENO: result: $result" >&5
3552 echo "${ECHO_T}$result" >&6; }
3553
3554
3555
3556 { echo "$as_me:$LINENO: checking for toolkit" >&5
3557 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3558
3559
3560
3561 # In Wine, we need to default to MSW, not GTK or MOTIF
3562 if test "$wxUSE_WINE" = "yes"; then
3563 DEFAULT_DEFAULT_wxUSE_GTK=0
3564 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3565 DEFAULT_DEFAULT_wxUSE_MSW=1
3566 wxUSE_SHARED=no
3567 CC=${CC:-winegcc}
3568 CXX=${CXX:-wineg++}
3569 fi
3570
3571
3572 if test "$wxUSE_GUI" = "yes"; then
3573
3574 if test "$USE_BEOS" = 1; then
3575 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3576 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3577 { (exit 1); exit 1; }; }
3578 fi
3579
3580 if test "$TOOLKIT_GIVEN" = 1; then
3581 for toolkit in $ALL_TOOLKITS; do
3582 var=wxUSE_$toolkit
3583 eval "value=\$${var}"
3584 if test "x$value" = "xno"; then
3585 eval "$var=0"
3586 elif test "x$value" != "x"; then
3587 eval "$var=1"
3588 fi
3589
3590 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3591 eval "wx${toolkit}_VERSION=$value"
3592 fi
3593 done
3594 else
3595 for toolkit in $ALL_TOOLKITS; do
3596 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3597 eval "wxUSE_$toolkit=\$${var}"
3598 done
3599 fi
3600
3601 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3602 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3603 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3604
3605 case "${host}" in
3606 *-pc-os2_emx | *-pc-os2-emx )
3607 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3608 esac
3609
3610 case "$NUM_TOOLKITS" in
3611 1)
3612 ;;
3613 0)
3614 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3615 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3616 { (exit 1); exit 1; }; }
3617 ;;
3618 *)
3619 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3620 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3621 { (exit 1); exit 1; }; }
3622 esac
3623
3624 # to be removed when --disable-gtk2 isn't needed
3625 if test "x$wxUSE_GTK2" = "xyes"; then
3626 wxGTK_VERSION=2
3627 wxUSE_GTK1=0
3628 elif test "x$wxUSE_GTK2" = "xno"; then
3629 wxGTK_VERSION=1
3630 wxUSE_GTK1=1
3631 fi
3632
3633 for toolkit in $ALL_TOOLKITS; do
3634 var=wxUSE_$toolkit
3635 eval "value=\$${var}"
3636 if test "$value" = 1; then
3637 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3638 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3639 echo "${ECHO_T}$toolkit_echo" >&6; }
3640 fi
3641 done
3642 else
3643 if test "x$host_alias" != "x"; then
3644 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3645 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3646 else
3647 { echo "$as_me:$LINENO: result: base only" >&5
3648 echo "${ECHO_T}base only" >&6; }
3649 fi
3650 fi
3651
3652 wxUSE_MAC=0
3653 if test "$wxUSE_OSX_CARBON" = 1 \
3654 -o "$wxUSE_OSX_COCOA" = 1 \
3655 -o "$wxUSE_OSX_IPHONE" = 1; then
3656 wxUSE_MAC=1
3657 fi
3658
3659
3660
3661 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3662 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3663
3664 # Check whether --with-libpng was given.
3665 if test "${with_libpng+set}" = set; then
3666 withval=$with_libpng;
3667 if test "$withval" = yes; then
3668 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3669 elif test "$withval" = no; then
3670 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3671 elif test "$withval" = sys; then
3672 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3673 elif test "$withval" = builtin; then
3674 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3675 else
3676 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3677 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3678 { (exit 1); exit 1; }; }
3679 fi
3680
3681 else
3682
3683 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3684
3685 fi
3686
3687
3688 eval "$wx_cv_use_libpng"
3689
3690 if test "$wxUSE_LIBPNG" = yes; then
3691 { echo "$as_me:$LINENO: result: yes" >&5
3692 echo "${ECHO_T}yes" >&6; }
3693 elif test "$wxUSE_LIBPNG" = no; then
3694 { echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6; }
3696 elif test "$wxUSE_LIBPNG" = sys; then
3697 { echo "$as_me:$LINENO: result: system version" >&5
3698 echo "${ECHO_T}system version" >&6; }
3699 elif test "$wxUSE_LIBPNG" = builtin; then
3700 { echo "$as_me:$LINENO: result: builtin version" >&5
3701 echo "${ECHO_T}builtin version" >&6; }
3702 else
3703 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3704 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3705 { (exit 1); exit 1; }; }
3706 fi
3707
3708
3709 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3710 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3711
3712 # Check whether --with-libjpeg was given.
3713 if test "${with_libjpeg+set}" = set; then
3714 withval=$with_libjpeg;
3715 if test "$withval" = yes; then
3716 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3717 elif test "$withval" = no; then
3718 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3719 elif test "$withval" = sys; then
3720 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3721 elif test "$withval" = builtin; then
3722 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3723 else
3724 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3725 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3726 { (exit 1); exit 1; }; }
3727 fi
3728
3729 else
3730
3731 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3732
3733 fi
3734
3735
3736 eval "$wx_cv_use_libjpeg"
3737
3738 if test "$wxUSE_LIBJPEG" = yes; then
3739 { echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6; }
3741 elif test "$wxUSE_LIBJPEG" = no; then
3742 { echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6; }
3744 elif test "$wxUSE_LIBJPEG" = sys; then
3745 { echo "$as_me:$LINENO: result: system version" >&5
3746 echo "${ECHO_T}system version" >&6; }
3747 elif test "$wxUSE_LIBJPEG" = builtin; then
3748 { echo "$as_me:$LINENO: result: builtin version" >&5
3749 echo "${ECHO_T}builtin version" >&6; }
3750 else
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3754 fi
3755
3756
3757 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3758 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3759
3760 # Check whether --with-libtiff was given.
3761 if test "${with_libtiff+set}" = set; then
3762 withval=$with_libtiff;
3763 if test "$withval" = yes; then
3764 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3765 elif test "$withval" = no; then
3766 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3767 elif test "$withval" = sys; then
3768 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3769 elif test "$withval" = builtin; then
3770 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3771 else
3772 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3773 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3774 { (exit 1); exit 1; }; }
3775 fi
3776
3777 else
3778
3779 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3780
3781 fi
3782
3783
3784 eval "$wx_cv_use_libtiff"
3785
3786 if test "$wxUSE_LIBTIFF" = yes; then
3787 { echo "$as_me:$LINENO: result: yes" >&5
3788 echo "${ECHO_T}yes" >&6; }
3789 elif test "$wxUSE_LIBTIFF" = no; then
3790 { echo "$as_me:$LINENO: result: no" >&5
3791 echo "${ECHO_T}no" >&6; }
3792 elif test "$wxUSE_LIBTIFF" = sys; then
3793 { echo "$as_me:$LINENO: result: system version" >&5
3794 echo "${ECHO_T}system version" >&6; }
3795 elif test "$wxUSE_LIBTIFF" = builtin; then
3796 { echo "$as_me:$LINENO: result: builtin version" >&5
3797 echo "${ECHO_T}builtin version" >&6; }
3798 else
3799 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3800 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3801 { (exit 1); exit 1; }; }
3802 fi
3803
3804
3805 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3806 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3807
3808 # Check whether --with-libxpm was given.
3809 if test "${with_libxpm+set}" = set; then
3810 withval=$with_libxpm;
3811 if test "$withval" = yes; then
3812 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3813 elif test "$withval" = no; then
3814 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3815 elif test "$withval" = sys; then
3816 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3817 elif test "$withval" = builtin; then
3818 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3819 else
3820 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3821 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3822 { (exit 1); exit 1; }; }
3823 fi
3824
3825 else
3826
3827 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3828
3829 fi
3830
3831
3832 eval "$wx_cv_use_libxpm"
3833
3834 if test "$wxUSE_LIBXPM" = yes; then
3835 { echo "$as_me:$LINENO: result: yes" >&5
3836 echo "${ECHO_T}yes" >&6; }
3837 elif test "$wxUSE_LIBXPM" = no; then
3838 { echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6; }
3840 elif test "$wxUSE_LIBXPM" = sys; then
3841 { echo "$as_me:$LINENO: result: system version" >&5
3842 echo "${ECHO_T}system version" >&6; }
3843 elif test "$wxUSE_LIBXPM" = builtin; then
3844 { echo "$as_me:$LINENO: result: builtin version" >&5
3845 echo "${ECHO_T}builtin version" >&6; }
3846 else
3847 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3848 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3849 { (exit 1); exit 1; }; }
3850 fi
3851
3852
3853 withstring=
3854 defaultval=$wxUSE_ALL_FEATURES
3855 if test -z "$defaultval"; then
3856 if test x"$withstring" = xwithout; then
3857 defaultval=yes
3858 else
3859 defaultval=no
3860 fi
3861 fi
3862 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3863 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3864
3865 # Check whether --with-libiconv was given.
3866 if test "${with_libiconv+set}" = set; then
3867 withval=$with_libiconv;
3868 if test "$withval" = yes; then
3869 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3870 else
3871 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3872 fi
3873
3874 else
3875
3876 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3877
3878 fi
3879
3880
3881 eval "$wx_cv_use_libiconv"
3882
3883 if test x"$withstring" = xwithout; then
3884 if test $wxUSE_LIBICONV = yes; then
3885 result=no
3886 else
3887 result=yes
3888 fi
3889 else
3890 result=$wxUSE_LIBICONV
3891 fi
3892
3893 { echo "$as_me:$LINENO: result: $result" >&5
3894 echo "${ECHO_T}$result" >&6; }
3895
3896
3897 withstring=
3898 defaultval=$wxUSE_ALL_FEATURES
3899 if test -z "$defaultval"; then
3900 if test x"$withstring" = xwithout; then
3901 defaultval=yes
3902 else
3903 defaultval=no
3904 fi
3905 fi
3906 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3907 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3908
3909 # Check whether --with-libmspack was given.
3910 if test "${with_libmspack+set}" = set; then
3911 withval=$with_libmspack;
3912 if test "$withval" = yes; then
3913 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3914 else
3915 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3916 fi
3917
3918 else
3919
3920 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3921
3922 fi
3923
3924
3925 eval "$wx_cv_use_libmspack"
3926
3927 if test x"$withstring" = xwithout; then
3928 if test $wxUSE_LIBMSPACK = yes; then
3929 result=no
3930 else
3931 result=yes
3932 fi
3933 else
3934 result=$wxUSE_LIBMSPACK
3935 fi
3936
3937 { echo "$as_me:$LINENO: result: $result" >&5
3938 echo "${ECHO_T}$result" >&6; }
3939
3940
3941 withstring=without
3942 defaultval=$wxUSE_ALL_FEATURES
3943 if test -z "$defaultval"; then
3944 if test x"$withstring" = xwithout; then
3945 defaultval=yes
3946 else
3947 defaultval=no
3948 fi
3949 fi
3950 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3951 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3952
3953 # Check whether --with-gtkprint was given.
3954 if test "${with_gtkprint+set}" = set; then
3955 withval=$with_gtkprint;
3956 if test "$withval" = yes; then
3957 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3958 else
3959 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3960 fi
3961
3962 else
3963
3964 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3965
3966 fi
3967
3968
3969 eval "$wx_cv_use_gtkprint"
3970
3971 if test x"$withstring" = xwithout; then
3972 if test $wxUSE_GTKPRINT = yes; then
3973 result=no
3974 else
3975 result=yes
3976 fi
3977 else
3978 result=$wxUSE_GTKPRINT
3979 fi
3980
3981 { echo "$as_me:$LINENO: result: $result" >&5
3982 echo "${ECHO_T}$result" >&6; }
3983
3984
3985 withstring=without
3986 defaultval=$wxUSE_ALL_FEATURES
3987 if test -z "$defaultval"; then
3988 if test x"$withstring" = xwithout; then
3989 defaultval=yes
3990 else
3991 defaultval=no
3992 fi
3993 fi
3994 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3995 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3996
3997 # Check whether --with-gnomeprint was given.
3998 if test "${with_gnomeprint+set}" = set; then
3999 withval=$with_gnomeprint;
4000 if test "$withval" = yes; then
4001 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4002 else
4003 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4004 fi
4005
4006 else
4007
4008 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4009
4010 fi
4011
4012
4013 eval "$wx_cv_use_gnomeprint"
4014
4015 if test x"$withstring" = xwithout; then
4016 if test $wxUSE_LIBGNOMEPRINT = yes; then
4017 result=no
4018 else
4019 result=yes
4020 fi
4021 else
4022 result=$wxUSE_LIBGNOMEPRINT
4023 fi
4024
4025 { echo "$as_me:$LINENO: result: $result" >&5
4026 echo "${ECHO_T}$result" >&6; }
4027
4028
4029 withstring=
4030 defaultval=$wxUSE_ALL_FEATURES
4031 if test -z "$defaultval"; then
4032 if test x"$withstring" = xwithout; then
4033 defaultval=yes
4034 else
4035 defaultval=no
4036 fi
4037 fi
4038 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4039 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4040
4041 # Check whether --with-gnomevfs was given.
4042 if test "${with_gnomevfs+set}" = set; then
4043 withval=$with_gnomevfs;
4044 if test "$withval" = yes; then
4045 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4046 else
4047 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4048 fi
4049
4050 else
4051
4052 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4053
4054 fi
4055
4056
4057 eval "$wx_cv_use_gnomevfs"
4058
4059 if test x"$withstring" = xwithout; then
4060 if test $wxUSE_LIBGNOMEVFS = yes; then
4061 result=no
4062 else
4063 result=yes
4064 fi
4065 else
4066 result=$wxUSE_LIBGNOMEVFS
4067 fi
4068
4069 { echo "$as_me:$LINENO: result: $result" >&5
4070 echo "${ECHO_T}$result" >&6; }
4071
4072
4073 withstring=
4074 defaultval=$wxUSE_ALL_FEATURES
4075 if test -z "$defaultval"; then
4076 if test x"$withstring" = xwithout; then
4077 defaultval=yes
4078 else
4079 defaultval=no
4080 fi
4081 fi
4082 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4083 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4084
4085 # Check whether --with-hildon was given.
4086 if test "${with_hildon+set}" = set; then
4087 withval=$with_hildon;
4088 if test "$withval" = yes; then
4089 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4090 else
4091 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4092 fi
4093
4094 else
4095
4096 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4097
4098 fi
4099
4100
4101 eval "$wx_cv_use_hildon"
4102
4103 if test x"$withstring" = xwithout; then
4104 if test $wxUSE_LIBHILDON = yes; then
4105 result=no
4106 else
4107 result=yes
4108 fi
4109 else
4110 result=$wxUSE_LIBHILDON
4111 fi
4112
4113 { echo "$as_me:$LINENO: result: $result" >&5
4114 echo "${ECHO_T}$result" >&6; }
4115
4116
4117 withstring=
4118 defaultval=$wxUSE_ALL_FEATURES
4119 if test -z "$defaultval"; then
4120 if test x"$withstring" = xwithout; then
4121 defaultval=yes
4122 else
4123 defaultval=no
4124 fi
4125 fi
4126 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4127 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4128
4129 # Check whether --with-opengl was given.
4130 if test "${with_opengl+set}" = set; then
4131 withval=$with_opengl;
4132 if test "$withval" = yes; then
4133 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4134 else
4135 wx_cv_use_opengl='wxUSE_OPENGL=no'
4136 fi
4137
4138 else
4139
4140 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4141
4142 fi
4143
4144
4145 eval "$wx_cv_use_opengl"
4146
4147 if test x"$withstring" = xwithout; then
4148 if test $wxUSE_OPENGL = yes; then
4149 result=no
4150 else
4151 result=yes
4152 fi
4153 else
4154 result=$wxUSE_OPENGL
4155 fi
4156
4157 { echo "$as_me:$LINENO: result: $result" >&5
4158 echo "${ECHO_T}$result" >&6; }
4159
4160
4161 fi
4162
4163
4164 withstring=
4165 defaultval=$wxUSE_ALL_FEATURES
4166 if test -z "$defaultval"; then
4167 if test x"$withstring" = xwithout; then
4168 defaultval=yes
4169 else
4170 defaultval=no
4171 fi
4172 fi
4173 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4174 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4175
4176 # Check whether --with-dmalloc was given.
4177 if test "${with_dmalloc+set}" = set; then
4178 withval=$with_dmalloc;
4179 if test "$withval" = yes; then
4180 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4181 else
4182 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4183 fi
4184
4185 else
4186
4187 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4188
4189 fi
4190
4191
4192 eval "$wx_cv_use_dmalloc"
4193
4194 if test x"$withstring" = xwithout; then
4195 if test $wxUSE_DMALLOC = yes; then
4196 result=no
4197 else
4198 result=yes
4199 fi
4200 else
4201 result=$wxUSE_DMALLOC
4202 fi
4203
4204 { echo "$as_me:$LINENO: result: $result" >&5
4205 echo "${ECHO_T}$result" >&6; }
4206
4207
4208 withstring=
4209 defaultval=$wxUSE_ALL_FEATURES
4210 if test -z "$defaultval"; then
4211 if test x"$withstring" = xwithout; then
4212 defaultval=yes
4213 else
4214 defaultval=no
4215 fi
4216 fi
4217 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4218 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4219
4220 # Check whether --with-sdl was given.
4221 if test "${with_sdl+set}" = set; then
4222 withval=$with_sdl;
4223 if test "$withval" = yes; then
4224 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4225 else
4226 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4227 fi
4228
4229 else
4230
4231 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4232
4233 fi
4234
4235
4236 eval "$wx_cv_use_sdl"
4237
4238 if test x"$withstring" = xwithout; then
4239 if test $wxUSE_LIBSDL = yes; then
4240 result=no
4241 else
4242 result=yes
4243 fi
4244 else
4245 result=$wxUSE_LIBSDL
4246 fi
4247
4248 { echo "$as_me:$LINENO: result: $result" >&5
4249 echo "${ECHO_T}$result" >&6; }
4250
4251
4252 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4253 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4254
4255 # Check whether --with-regex was given.
4256 if test "${with_regex+set}" = set; then
4257 withval=$with_regex;
4258 if test "$withval" = yes; then
4259 wx_cv_use_regex='wxUSE_REGEX=yes'
4260 elif test "$withval" = no; then
4261 wx_cv_use_regex='wxUSE_REGEX=no'
4262 elif test "$withval" = sys; then
4263 wx_cv_use_regex='wxUSE_REGEX=sys'
4264 elif test "$withval" = builtin; then
4265 wx_cv_use_regex='wxUSE_REGEX=builtin'
4266 else
4267 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4268 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4269 { (exit 1); exit 1; }; }
4270 fi
4271
4272 else
4273
4274 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4275
4276 fi
4277
4278
4279 eval "$wx_cv_use_regex"
4280
4281 if test "$wxUSE_REGEX" = yes; then
4282 { echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6; }
4284 elif test "$wxUSE_REGEX" = no; then
4285 { echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6; }
4287 elif test "$wxUSE_REGEX" = sys; then
4288 { echo "$as_me:$LINENO: result: system version" >&5
4289 echo "${ECHO_T}system version" >&6; }
4290 elif test "$wxUSE_REGEX" = builtin; then
4291 { echo "$as_me:$LINENO: result: builtin version" >&5
4292 echo "${ECHO_T}builtin version" >&6; }
4293 else
4294 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4295 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4296 { (exit 1); exit 1; }; }
4297 fi
4298
4299
4300 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4301 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4302
4303 # Check whether --with-zlib was given.
4304 if test "${with_zlib+set}" = set; then
4305 withval=$with_zlib;
4306 if test "$withval" = yes; then
4307 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4308 elif test "$withval" = no; then
4309 wx_cv_use_zlib='wxUSE_ZLIB=no'
4310 elif test "$withval" = sys; then
4311 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4312 elif test "$withval" = builtin; then
4313 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4314 else
4315 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4316 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4317 { (exit 1); exit 1; }; }
4318 fi
4319
4320 else
4321
4322 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4323
4324 fi
4325
4326
4327 eval "$wx_cv_use_zlib"
4328
4329 if test "$wxUSE_ZLIB" = yes; then
4330 { echo "$as_me:$LINENO: result: yes" >&5
4331 echo "${ECHO_T}yes" >&6; }
4332 elif test "$wxUSE_ZLIB" = no; then
4333 { echo "$as_me:$LINENO: result: no" >&5
4334 echo "${ECHO_T}no" >&6; }
4335 elif test "$wxUSE_ZLIB" = sys; then
4336 { echo "$as_me:$LINENO: result: system version" >&5
4337 echo "${ECHO_T}system version" >&6; }
4338 elif test "$wxUSE_ZLIB" = builtin; then
4339 { echo "$as_me:$LINENO: result: builtin version" >&5
4340 echo "${ECHO_T}builtin version" >&6; }
4341 else
4342 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4343 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4344 { (exit 1); exit 1; }; }
4345 fi
4346
4347
4348 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4349 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4350
4351 # Check whether --with-expat was given.
4352 if test "${with_expat+set}" = set; then
4353 withval=$with_expat;
4354 if test "$withval" = yes; then
4355 wx_cv_use_expat='wxUSE_EXPAT=yes'
4356 elif test "$withval" = no; then
4357 wx_cv_use_expat='wxUSE_EXPAT=no'
4358 elif test "$withval" = sys; then
4359 wx_cv_use_expat='wxUSE_EXPAT=sys'
4360 elif test "$withval" = builtin; then
4361 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4362 else
4363 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4364 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4365 { (exit 1); exit 1; }; }
4366 fi
4367
4368 else
4369
4370 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4371
4372 fi
4373
4374
4375 eval "$wx_cv_use_expat"
4376
4377 if test "$wxUSE_EXPAT" = yes; then
4378 { echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6; }
4380 elif test "$wxUSE_EXPAT" = no; then
4381 { echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6; }
4383 elif test "$wxUSE_EXPAT" = sys; then
4384 { echo "$as_me:$LINENO: result: system version" >&5
4385 echo "${ECHO_T}system version" >&6; }
4386 elif test "$wxUSE_EXPAT" = builtin; then
4387 { echo "$as_me:$LINENO: result: builtin version" >&5
4388 echo "${ECHO_T}builtin version" >&6; }
4389 else
4390 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4391 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4392 { (exit 1); exit 1; }; }
4393 fi
4394
4395
4396 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4397 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4398
4399 # Check whether --with-macosx-sdk was given.
4400 if test "${with_macosx_sdk+set}" = set; then
4401 withval=$with_macosx_sdk;
4402 wxUSE_MACOSX_SDK=$withval
4403 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4404
4405 fi
4406
4407 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4408 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4409
4410 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4411 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4412
4413 # Check whether --with-macosx-version-min was given.
4414 if test "${with_macosx_version_min+set}" = set; then
4415 withval=$with_macosx_version_min;
4416 wxUSE_MACOSX_VERSION_MIN=$withval
4417 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4418
4419 fi
4420
4421 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4422 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4423
4424
4425 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4426 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4427 # Check whether --enable-debug was given.
4428 if test "${enable_debug+set}" = set; then
4429 enableval=$enable_debug;
4430 if test "$enableval" = yes; then
4431 wxUSE_DEBUG=yes
4432 elif test "$enableval" = no; then
4433 wxUSE_DEBUG=no
4434 elif test "$enableval" = max; then
4435 wxUSE_DEBUG=yes
4436 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4437 else
4438 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4439 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4440 { (exit 1); exit 1; }; }
4441 fi
4442
4443 else
4444 wxUSE_DEBUG=default
4445
4446 fi
4447
4448
4449 case "$wxUSE_DEBUG" in
4450 yes)
4451 DEFAULT_wxUSE_DEBUG_FLAG=yes
4452 DEFAULT_wxUSE_DEBUG_INFO=yes
4453
4454 DEFAULT_wxUSE_OPTIMISE=no
4455 ;;
4456
4457 no)
4458 DEFAULT_wxUSE_DEBUG_FLAG=no
4459 DEFAULT_wxUSE_DEBUG_INFO=no
4460 ;;
4461
4462 default)
4463 DEFAULT_wxUSE_DEBUG_FLAG=yes
4464 DEFAULT_wxUSE_DEBUG_INFO=no
4465 ;;
4466 esac
4467
4468
4469 enablestring=disable
4470 defaultval=
4471 if test -z "$defaultval"; then
4472 if test x"$enablestring" = xdisable; then
4473 defaultval=yes
4474 else
4475 defaultval=no
4476 fi
4477 fi
4478
4479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4480 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4481 # Check whether --enable-debug_flag was given.
4482 if test "${enable_debug_flag+set}" = set; then
4483 enableval=$enable_debug_flag;
4484 if test "$enableval" = yes; then
4485 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4486 else
4487 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4488 fi
4489
4490 else
4491
4492 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4493
4494 fi
4495
4496
4497 eval "$wx_cv_use_debug_flag"
4498
4499 if test x"$enablestring" = xdisable; then
4500 if test $wxUSE_DEBUG_FLAG = no; then
4501 result=yes
4502 else
4503 result=no
4504 fi
4505 else
4506 result=$wxUSE_DEBUG_FLAG
4507 fi
4508
4509 { echo "$as_me:$LINENO: result: $result" >&5
4510 echo "${ECHO_T}$result" >&6; }
4511
4512
4513 enablestring=
4514 defaultval=
4515 if test -z "$defaultval"; then
4516 if test x"$enablestring" = xdisable; then
4517 defaultval=yes
4518 else
4519 defaultval=no
4520 fi
4521 fi
4522
4523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4524 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4525 # Check whether --enable-debug_info was given.
4526 if test "${enable_debug_info+set}" = set; then
4527 enableval=$enable_debug_info;
4528 if test "$enableval" = yes; then
4529 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4530 else
4531 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4532 fi
4533
4534 else
4535
4536 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4537
4538 fi
4539
4540
4541 eval "$wx_cv_use_debug_info"
4542
4543 if test x"$enablestring" = xdisable; then
4544 if test $wxUSE_DEBUG_INFO = no; then
4545 result=yes
4546 else
4547 result=no
4548 fi
4549 else
4550 result=$wxUSE_DEBUG_INFO
4551 fi
4552
4553 { echo "$as_me:$LINENO: result: $result" >&5
4554 echo "${ECHO_T}$result" >&6; }
4555
4556
4557
4558
4559 enablestring=
4560 defaultval=
4561 if test -z "$defaultval"; then
4562 if test x"$enablestring" = xdisable; then
4563 defaultval=yes
4564 else
4565 defaultval=no
4566 fi
4567 fi
4568
4569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4570 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4571 # Check whether --enable-debug_gdb was given.
4572 if test "${enable_debug_gdb+set}" = set; then
4573 enableval=$enable_debug_gdb;
4574 if test "$enableval" = yes; then
4575 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4576 else
4577 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4578 fi
4579
4580 else
4581
4582 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4583
4584 fi
4585
4586
4587 eval "$wx_cv_use_debug_gdb"
4588
4589 if test x"$enablestring" = xdisable; then
4590 if test $wxUSE_DEBUG_GDB = no; then
4591 result=yes
4592 else
4593 result=no
4594 fi
4595 else
4596 result=$wxUSE_DEBUG_GDB
4597 fi
4598
4599 { echo "$as_me:$LINENO: result: $result" >&5
4600 echo "${ECHO_T}$result" >&6; }
4601
4602
4603 enablestring=
4604 defaultval=
4605 if test -z "$defaultval"; then
4606 if test x"$enablestring" = xdisable; then
4607 defaultval=yes
4608 else
4609 defaultval=no
4610 fi
4611 fi
4612
4613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4614 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4615 # Check whether --enable-debug_cntxt was given.
4616 if test "${enable_debug_cntxt+set}" = set; then
4617 enableval=$enable_debug_cntxt;
4618 if test "$enableval" = yes; then
4619 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4620 else
4621 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4622 fi
4623
4624 else
4625
4626 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4627
4628 fi
4629
4630
4631 eval "$wx_cv_use_debug_cntxt"
4632
4633 if test x"$enablestring" = xdisable; then
4634 if test $wxUSE_DEBUG_CONTEXT = no; then
4635 result=yes
4636 else
4637 result=no
4638 fi
4639 else
4640 result=$wxUSE_DEBUG_CONTEXT
4641 fi
4642
4643 { echo "$as_me:$LINENO: result: $result" >&5
4644 echo "${ECHO_T}$result" >&6; }
4645
4646
4647 enablestring=
4648 defaultval=
4649 if test -z "$defaultval"; then
4650 if test x"$enablestring" = xdisable; then
4651 defaultval=yes
4652 else
4653 defaultval=no
4654 fi
4655 fi
4656
4657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4658 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4659 # Check whether --enable-mem_tracing was given.
4660 if test "${enable_mem_tracing+set}" = set; then
4661 enableval=$enable_mem_tracing;
4662 if test "$enableval" = yes; then
4663 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4664 else
4665 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4666 fi
4667
4668 else
4669
4670 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4671
4672 fi
4673
4674
4675 eval "$wx_cv_use_mem_tracing"
4676
4677 if test x"$enablestring" = xdisable; then
4678 if test $wxUSE_MEM_TRACING = no; then
4679 result=yes
4680 else
4681 result=no
4682 fi
4683 else
4684 result=$wxUSE_MEM_TRACING
4685 fi
4686
4687 { echo "$as_me:$LINENO: result: $result" >&5
4688 echo "${ECHO_T}$result" >&6; }
4689
4690
4691
4692
4693 enablestring=disable
4694 defaultval=
4695 if test -z "$defaultval"; then
4696 if test x"$enablestring" = xdisable; then
4697 defaultval=yes
4698 else
4699 defaultval=no
4700 fi
4701 fi
4702
4703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4704 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4705 # Check whether --enable-shared was given.
4706 if test "${enable_shared+set}" = set; then
4707 enableval=$enable_shared;
4708 if test "$enableval" = yes; then
4709 wx_cv_use_shared='wxUSE_SHARED=yes'
4710 else
4711 wx_cv_use_shared='wxUSE_SHARED=no'
4712 fi
4713
4714 else
4715
4716 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4717
4718 fi
4719
4720
4721 eval "$wx_cv_use_shared"
4722
4723 if test x"$enablestring" = xdisable; then
4724 if test $wxUSE_SHARED = no; then
4725 result=yes
4726 else
4727 result=no
4728 fi
4729 else
4730 result=$wxUSE_SHARED
4731 fi
4732
4733 { echo "$as_me:$LINENO: result: $result" >&5
4734 echo "${ECHO_T}$result" >&6; }
4735
4736
4737 enablestring=
4738 defaultval=
4739 if test -z "$defaultval"; then
4740 if test x"$enablestring" = xdisable; then
4741 defaultval=yes
4742 else
4743 defaultval=no
4744 fi
4745 fi
4746
4747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4749 # Check whether --enable-stl was given.
4750 if test "${enable_stl+set}" = set; then
4751 enableval=$enable_stl;
4752 if test "$enableval" = yes; then
4753 wx_cv_use_stl='wxUSE_STL=yes'
4754 else
4755 wx_cv_use_stl='wxUSE_STL=no'
4756 fi
4757
4758 else
4759
4760 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4761
4762 fi
4763
4764
4765 eval "$wx_cv_use_stl"
4766
4767 if test x"$enablestring" = xdisable; then
4768 if test $wxUSE_STL = no; then
4769 result=yes
4770 else
4771 result=no
4772 fi
4773 else
4774 result=$wxUSE_STL
4775 fi
4776
4777 { echo "$as_me:$LINENO: result: $result" >&5
4778 echo "${ECHO_T}$result" >&6; }
4779
4780
4781 enablestring=
4782 defaultval=
4783 if test -z "$defaultval"; then
4784 if test x"$enablestring" = xdisable; then
4785 defaultval=yes
4786 else
4787 defaultval=no
4788 fi
4789 fi
4790
4791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4792 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4793 # Check whether --enable-std_containers was given.
4794 if test "${enable_std_containers+set}" = set; then
4795 enableval=$enable_std_containers;
4796 if test "$enableval" = yes; then
4797 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4798 else
4799 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4800 fi
4801
4802 else
4803
4804 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4805
4806 fi
4807
4808
4809 eval "$wx_cv_use_std_containers"
4810
4811 if test x"$enablestring" = xdisable; then
4812 if test $wxUSE_STD_CONTAINERS = no; then
4813 result=yes
4814 else
4815 result=no
4816 fi
4817 else
4818 result=$wxUSE_STD_CONTAINERS
4819 fi
4820
4821 { echo "$as_me:$LINENO: result: $result" >&5
4822 echo "${ECHO_T}$result" >&6; }
4823
4824
4825 enablestring=
4826 defaultval=
4827 if test -z "$defaultval"; then
4828 if test x"$enablestring" = xdisable; then
4829 defaultval=yes
4830 else
4831 defaultval=no
4832 fi
4833 fi
4834
4835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4836 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4837 # Check whether --enable-std_iostreams was given.
4838 if test "${enable_std_iostreams+set}" = set; then
4839 enableval=$enable_std_iostreams;
4840 if test "$enableval" = yes; then
4841 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4842 else
4843 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4844 fi
4845
4846 else
4847
4848 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4849
4850 fi
4851
4852
4853 eval "$wx_cv_use_std_iostreams"
4854
4855 if test x"$enablestring" = xdisable; then
4856 if test $wxUSE_STD_IOSTREAM = no; then
4857 result=yes
4858 else
4859 result=no
4860 fi
4861 else
4862 result=$wxUSE_STD_IOSTREAM
4863 fi
4864
4865 { echo "$as_me:$LINENO: result: $result" >&5
4866 echo "${ECHO_T}$result" >&6; }
4867
4868
4869 enablestring=
4870 defaultval=
4871 if test -z "$defaultval"; then
4872 if test x"$enablestring" = xdisable; then
4873 defaultval=yes
4874 else
4875 defaultval=no
4876 fi
4877 fi
4878
4879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4880 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4881 # Check whether --enable-std_string was given.
4882 if test "${enable_std_string+set}" = set; then
4883 enableval=$enable_std_string;
4884 if test "$enableval" = yes; then
4885 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4886 else
4887 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4888 fi
4889
4890 else
4891
4892 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4893
4894 fi
4895
4896
4897 eval "$wx_cv_use_std_string"
4898
4899 if test x"$enablestring" = xdisable; then
4900 if test $wxUSE_STD_STRING = no; then
4901 result=yes
4902 else
4903 result=no
4904 fi
4905 else
4906 result=$wxUSE_STD_STRING
4907 fi
4908
4909 { echo "$as_me:$LINENO: result: $result" >&5
4910 echo "${ECHO_T}$result" >&6; }
4911
4912
4913 enablestring=
4914 defaultval=
4915 if test -z "$defaultval"; then
4916 if test x"$enablestring" = xdisable; then
4917 defaultval=yes
4918 else
4919 defaultval=no
4920 fi
4921 fi
4922
4923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4925 # Check whether --enable-std_string_conv_in_wxstring was given.
4926 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4927 enableval=$enable_std_string_conv_in_wxstring;
4928 if test "$enableval" = yes; then
4929 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4930 else
4931 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4932 fi
4933
4934 else
4935
4936 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4937
4938 fi
4939
4940
4941 eval "$wx_cv_use_std_string_conv_in_wxstring"
4942
4943 if test x"$enablestring" = xdisable; then
4944 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4945 result=yes
4946 else
4947 result=no
4948 fi
4949 else
4950 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4951 fi
4952
4953 { echo "$as_me:$LINENO: result: $result" >&5
4954 echo "${ECHO_T}$result" >&6; }
4955
4956
4957 enablestring=disable
4958 defaultval=
4959 if test -z "$defaultval"; then
4960 if test x"$enablestring" = xdisable; then
4961 defaultval=yes
4962 else
4963 defaultval=no
4964 fi
4965 fi
4966
4967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4968 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4969 # Check whether --enable-unicode was given.
4970 if test "${enable_unicode+set}" = set; then
4971 enableval=$enable_unicode;
4972 if test "$enableval" = yes; then
4973 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4974 else
4975 wx_cv_use_unicode='wxUSE_UNICODE=no'
4976 fi
4977
4978 else
4979
4980 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4981
4982 fi
4983
4984
4985 eval "$wx_cv_use_unicode"
4986
4987 if test x"$enablestring" = xdisable; then
4988 if test $wxUSE_UNICODE = no; then
4989 result=yes
4990 else
4991 result=no
4992 fi
4993 else
4994 result=$wxUSE_UNICODE
4995 fi
4996
4997 { echo "$as_me:$LINENO: result: $result" >&5
4998 echo "${ECHO_T}$result" >&6; }
4999
5000
5001 enablestring=
5002 defaultval=
5003 if test -z "$defaultval"; then
5004 if test x"$enablestring" = xdisable; then
5005 defaultval=yes
5006 else
5007 defaultval=no
5008 fi
5009 fi
5010
5011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5012 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5013 # Check whether --enable-mslu was given.
5014 if test "${enable_mslu+set}" = set; then
5015 enableval=$enable_mslu;
5016 if test "$enableval" = yes; then
5017 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5018 else
5019 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5020 fi
5021
5022 else
5023
5024 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5025
5026 fi
5027
5028
5029 eval "$wx_cv_use_mslu"
5030
5031 if test x"$enablestring" = xdisable; then
5032 if test $wxUSE_UNICODE_MSLU = no; then
5033 result=yes
5034 else
5035 result=no
5036 fi
5037 else
5038 result=$wxUSE_UNICODE_MSLU
5039 fi
5040
5041 { echo "$as_me:$LINENO: result: $result" >&5
5042 echo "${ECHO_T}$result" >&6; }
5043
5044
5045 enablestring=
5046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5047 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5048 # Check whether --enable-utf8 was given.
5049 if test "${enable_utf8+set}" = set; then
5050 enableval=$enable_utf8;
5051 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5052
5053 else
5054
5055 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5056
5057 fi
5058
5059
5060 eval "$wx_cv_use_utf8"
5061
5062 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5063 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5064
5065
5066 enablestring=
5067 defaultval=
5068 if test -z "$defaultval"; then
5069 if test x"$enablestring" = xdisable; then
5070 defaultval=yes
5071 else
5072 defaultval=no
5073 fi
5074 fi
5075
5076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5077 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5078 # Check whether --enable-utf8only was given.
5079 if test "${enable_utf8only+set}" = set; then
5080 enableval=$enable_utf8only;
5081 if test "$enableval" = yes; then
5082 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5083 else
5084 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5085 fi
5086
5087 else
5088
5089 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5090
5091 fi
5092
5093
5094 eval "$wx_cv_use_utf8only"
5095
5096 if test x"$enablestring" = xdisable; then
5097 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5098 result=yes
5099 else
5100 result=no
5101 fi
5102 else
5103 result=$wxUSE_UNICODE_UTF8_LOCALE
5104 fi
5105
5106 { echo "$as_me:$LINENO: result: $result" >&5
5107 echo "${ECHO_T}$result" >&6; }
5108
5109
5110 enablestring=
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}-extended_rtti" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5122 # Check whether --enable-extended_rtti was given.
5123 if test "${enable_extended_rtti+set}" = set; then
5124 enableval=$enable_extended_rtti;
5125 if test "$enableval" = yes; then
5126 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5127 else
5128 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5129 fi
5130
5131 else
5132
5133 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5134
5135 fi
5136
5137
5138 eval "$wx_cv_use_extended_rtti"
5139
5140 if test x"$enablestring" = xdisable; then
5141 if test $wxUSE_EXTENDED_RTTI = no; then
5142 result=yes
5143 else
5144 result=no
5145 fi
5146 else
5147 result=$wxUSE_EXTENDED_RTTI
5148 fi
5149
5150 { echo "$as_me:$LINENO: result: $result" >&5
5151 echo "${ECHO_T}$result" >&6; }
5152
5153 if test "$USE_OS2" = 1; then
5154 DEFAULT_wxUSE_OMF=no
5155
5156 enablestring=
5157 defaultval=
5158 if test -z "$defaultval"; then
5159 if test x"$enablestring" = xdisable; then
5160 defaultval=yes
5161 else
5162 defaultval=no
5163 fi
5164 fi
5165
5166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5167 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5168 # Check whether --enable-omf was given.
5169 if test "${enable_omf+set}" = set; then
5170 enableval=$enable_omf;
5171 if test "$enableval" = yes; then
5172 wx_cv_use_omf='wxUSE_OMF=yes'
5173 else
5174 wx_cv_use_omf='wxUSE_OMF=no'
5175 fi
5176
5177 else
5178
5179 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5180
5181 fi
5182
5183
5184 eval "$wx_cv_use_omf"
5185
5186 if test x"$enablestring" = xdisable; then
5187 if test $wxUSE_OMF = no; then
5188 result=yes
5189 else
5190 result=no
5191 fi
5192 else
5193 result=$wxUSE_OMF
5194 fi
5195
5196 { echo "$as_me:$LINENO: result: $result" >&5
5197 echo "${ECHO_T}$result" >&6; }
5198
5199 fi
5200
5201
5202 enablestring=disable
5203 defaultval=
5204 if test -z "$defaultval"; then
5205 if test x"$enablestring" = xdisable; then
5206 defaultval=yes
5207 else
5208 defaultval=no
5209 fi
5210 fi
5211
5212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5214 # Check whether --enable-optimise was given.
5215 if test "${enable_optimise+set}" = set; then
5216 enableval=$enable_optimise;
5217 if test "$enableval" = yes; then
5218 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5219 else
5220 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5221 fi
5222
5223 else
5224
5225 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5226
5227 fi
5228
5229
5230 eval "$wx_cv_use_optimise"
5231
5232 if test x"$enablestring" = xdisable; then
5233 if test $wxUSE_OPTIMISE = no; then
5234 result=yes
5235 else
5236 result=no
5237 fi
5238 else
5239 result=$wxUSE_OPTIMISE
5240 fi
5241
5242 { echo "$as_me:$LINENO: result: $result" >&5
5243 echo "${ECHO_T}$result" >&6; }
5244
5245
5246
5247 enablestring=
5248 defaultval=
5249 if test -z "$defaultval"; then
5250 if test x"$enablestring" = xdisable; then
5251 defaultval=yes
5252 else
5253 defaultval=no
5254 fi
5255 fi
5256
5257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5258 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5259 # Check whether --enable-profile was given.
5260 if test "${enable_profile+set}" = set; then
5261 enableval=$enable_profile;
5262 if test "$enableval" = yes; then
5263 wx_cv_use_profile='wxUSE_PROFILE=yes'
5264 else
5265 wx_cv_use_profile='wxUSE_PROFILE=no'
5266 fi
5267
5268 else
5269
5270 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5271
5272 fi
5273
5274
5275 eval "$wx_cv_use_profile"
5276
5277 if test x"$enablestring" = xdisable; then
5278 if test $wxUSE_PROFILE = no; then
5279 result=yes
5280 else
5281 result=no
5282 fi
5283 else
5284 result=$wxUSE_PROFILE
5285 fi
5286
5287 { echo "$as_me:$LINENO: result: $result" >&5
5288 echo "${ECHO_T}$result" >&6; }
5289
5290
5291 enablestring=
5292 defaultval=
5293 if test -z "$defaultval"; then
5294 if test x"$enablestring" = xdisable; then
5295 defaultval=yes
5296 else
5297 defaultval=no
5298 fi
5299 fi
5300
5301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5303 # Check whether --enable-no_rtti was given.
5304 if test "${enable_no_rtti+set}" = set; then
5305 enableval=$enable_no_rtti;
5306 if test "$enableval" = yes; then
5307 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5308 else
5309 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5310 fi
5311
5312 else
5313
5314 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5315
5316 fi
5317
5318
5319 eval "$wx_cv_use_no_rtti"
5320
5321 if test x"$enablestring" = xdisable; then
5322 if test $wxUSE_NO_RTTI = no; then
5323 result=yes
5324 else
5325 result=no
5326 fi
5327 else
5328 result=$wxUSE_NO_RTTI
5329 fi
5330
5331 { echo "$as_me:$LINENO: result: $result" >&5
5332 echo "${ECHO_T}$result" >&6; }
5333
5334
5335 enablestring=
5336 defaultval=
5337 if test -z "$defaultval"; then
5338 if test x"$enablestring" = xdisable; then
5339 defaultval=yes
5340 else
5341 defaultval=no
5342 fi
5343 fi
5344
5345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5346 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5347 # Check whether --enable-no_exceptions was given.
5348 if test "${enable_no_exceptions+set}" = set; then
5349 enableval=$enable_no_exceptions;
5350 if test "$enableval" = yes; then
5351 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5352 else
5353 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5354 fi
5355
5356 else
5357
5358 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5359
5360 fi
5361
5362
5363 eval "$wx_cv_use_no_exceptions"
5364
5365 if test x"$enablestring" = xdisable; then
5366 if test $wxUSE_NO_EXCEPTIONS = no; then
5367 result=yes
5368 else
5369 result=no
5370 fi
5371 else
5372 result=$wxUSE_NO_EXCEPTIONS
5373 fi
5374
5375 { echo "$as_me:$LINENO: result: $result" >&5
5376 echo "${ECHO_T}$result" >&6; }
5377
5378
5379 enablestring=
5380 defaultval=
5381 if test -z "$defaultval"; then
5382 if test x"$enablestring" = xdisable; then
5383 defaultval=yes
5384 else
5385 defaultval=no
5386 fi
5387 fi
5388
5389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5390 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5391 # Check whether --enable-permissive was given.
5392 if test "${enable_permissive+set}" = set; then
5393 enableval=$enable_permissive;
5394 if test "$enableval" = yes; then
5395 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5396 else
5397 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5398 fi
5399
5400 else
5401
5402 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5403
5404 fi
5405
5406
5407 eval "$wx_cv_use_permissive"
5408
5409 if test x"$enablestring" = xdisable; then
5410 if test $wxUSE_PERMISSIVE = no; then
5411 result=yes
5412 else
5413 result=no
5414 fi
5415 else
5416 result=$wxUSE_PERMISSIVE
5417 fi
5418
5419 { echo "$as_me:$LINENO: result: $result" >&5
5420 echo "${ECHO_T}$result" >&6; }
5421
5422
5423 enablestring=
5424 defaultval=
5425 if test -z "$defaultval"; then
5426 if test x"$enablestring" = xdisable; then
5427 defaultval=yes
5428 else
5429 defaultval=no
5430 fi
5431 fi
5432
5433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5434 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5435 # Check whether --enable-no_deps was given.
5436 if test "${enable_no_deps+set}" = set; then
5437 enableval=$enable_no_deps;
5438 if test "$enableval" = yes; then
5439 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5440 else
5441 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5442 fi
5443
5444 else
5445
5446 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5447
5448 fi
5449
5450
5451 eval "$wx_cv_use_no_deps"
5452
5453 if test x"$enablestring" = xdisable; then
5454 if test $wxUSE_NO_DEPS = no; then
5455 result=yes
5456 else
5457 result=no
5458 fi
5459 else
5460 result=$wxUSE_NO_DEPS
5461 fi
5462
5463 { echo "$as_me:$LINENO: result: $result" >&5
5464 echo "${ECHO_T}$result" >&6; }
5465
5466
5467 enablestring=disable
5468 defaultval=
5469 if test -z "$defaultval"; then
5470 if test x"$enablestring" = xdisable; then
5471 defaultval=yes
5472 else
5473 defaultval=no
5474 fi
5475 fi
5476
5477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5478 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5479 # Check whether --enable-vararg_macros was given.
5480 if test "${enable_vararg_macros+set}" = set; then
5481 enableval=$enable_vararg_macros;
5482 if test "$enableval" = yes; then
5483 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5484 else
5485 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5486 fi
5487
5488 else
5489
5490 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5491
5492 fi
5493
5494
5495 eval "$wx_cv_use_vararg_macros"
5496
5497 if test x"$enablestring" = xdisable; then
5498 if test $wxUSE_VARARG_MACROS = no; then
5499 result=yes
5500 else
5501 result=no
5502 fi
5503 else
5504 result=$wxUSE_VARARG_MACROS
5505 fi
5506
5507 { echo "$as_me:$LINENO: result: $result" >&5
5508 echo "${ECHO_T}$result" >&6; }
5509
5510
5511
5512 enablestring=
5513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5514 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5515 # Check whether --enable-universal_binary was given.
5516 if test "${enable_universal_binary+set}" = set; then
5517 enableval=$enable_universal_binary;
5518 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5519
5520 else
5521
5522 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5523
5524 fi
5525
5526
5527 eval "$wx_cv_use_universal_binary"
5528
5529 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5530 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5531
5532
5533 enablestring=
5534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5536 # Check whether --enable-macosx_arch was given.
5537 if test "${enable_macosx_arch+set}" = set; then
5538 enableval=$enable_macosx_arch;
5539 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5540
5541 else
5542
5543 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5544
5545 fi
5546
5547
5548 eval "$wx_cv_use_macosx_arch"
5549
5550 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5551 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5552
5553
5554
5555 enablestring=
5556 defaultval=
5557 if test -z "$defaultval"; then
5558 if test x"$enablestring" = xdisable; then
5559 defaultval=yes
5560 else
5561 defaultval=no
5562 fi
5563 fi
5564
5565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5566 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5567 # Check whether --enable-compat26 was given.
5568 if test "${enable_compat26+set}" = set; then
5569 enableval=$enable_compat26;
5570 if test "$enableval" = yes; then
5571 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5572 else
5573 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5574 fi
5575
5576 else
5577
5578 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5579
5580 fi
5581
5582
5583 eval "$wx_cv_use_compat26"
5584
5585 if test x"$enablestring" = xdisable; then
5586 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5587 result=yes
5588 else
5589 result=no
5590 fi
5591 else
5592 result=$WXWIN_COMPATIBILITY_2_6
5593 fi
5594
5595 { echo "$as_me:$LINENO: result: $result" >&5
5596 echo "${ECHO_T}$result" >&6; }
5597
5598
5599 enablestring=disable
5600 defaultval=
5601 if test -z "$defaultval"; then
5602 if test x"$enablestring" = xdisable; then
5603 defaultval=yes
5604 else
5605 defaultval=no
5606 fi
5607 fi
5608
5609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5610 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5611 # Check whether --enable-compat28 was given.
5612 if test "${enable_compat28+set}" = set; then
5613 enableval=$enable_compat28;
5614 if test "$enableval" = yes; then
5615 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5616 else
5617 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5618 fi
5619
5620 else
5621
5622 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5623
5624 fi
5625
5626
5627 eval "$wx_cv_use_compat28"
5628
5629 if test x"$enablestring" = xdisable; then
5630 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5631 result=yes
5632 else
5633 result=no
5634 fi
5635 else
5636 result=$WXWIN_COMPATIBILITY_2_8
5637 fi
5638
5639 { echo "$as_me:$LINENO: result: $result" >&5
5640 echo "${ECHO_T}$result" >&6; }
5641
5642
5643
5644 enablestring=disable
5645 defaultval=
5646 if test -z "$defaultval"; then
5647 if test x"$enablestring" = xdisable; then
5648 defaultval=yes
5649 else
5650 defaultval=no
5651 fi
5652 fi
5653
5654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5655 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5656 # Check whether --enable-rpath was given.
5657 if test "${enable_rpath+set}" = set; then
5658 enableval=$enable_rpath;
5659 if test "$enableval" = yes; then
5660 wx_cv_use_rpath='wxUSE_RPATH=yes'
5661 else
5662 wx_cv_use_rpath='wxUSE_RPATH=no'
5663 fi
5664
5665 else
5666
5667 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5668
5669 fi
5670
5671
5672 eval "$wx_cv_use_rpath"
5673
5674 if test x"$enablestring" = xdisable; then
5675 if test $wxUSE_RPATH = no; then
5676 result=yes
5677 else
5678 result=no
5679 fi
5680 else
5681 result=$wxUSE_RPATH
5682 fi
5683
5684 { echo "$as_me:$LINENO: result: $result" >&5
5685 echo "${ECHO_T}$result" >&6; }
5686
5687
5688
5689 enablestring=
5690 defaultval=
5691 if test -z "$defaultval"; then
5692 if test x"$enablestring" = xdisable; then
5693 defaultval=yes
5694 else
5695 defaultval=no
5696 fi
5697 fi
5698
5699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5700 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5701 # Check whether --enable-objc_uniquifying was given.
5702 if test "${enable_objc_uniquifying+set}" = set; then
5703 enableval=$enable_objc_uniquifying;
5704 if test "$enableval" = yes; then
5705 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5706 else
5707 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5708 fi
5709
5710 else
5711
5712 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5713
5714 fi
5715
5716
5717 eval "$wx_cv_use_objc_uniquifying"
5718
5719 if test x"$enablestring" = xdisable; then
5720 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5721 result=yes
5722 else
5723 result=no
5724 fi
5725 else
5726 result=$wxUSE_OBJC_UNIQUIFYING
5727 fi
5728
5729 { echo "$as_me:$LINENO: result: $result" >&5
5730 echo "${ECHO_T}$result" >&6; }
5731
5732
5733
5734 enablestring=disable
5735 defaultval=
5736 if test -z "$defaultval"; then
5737 if test x"$enablestring" = xdisable; then
5738 defaultval=yes
5739 else
5740 defaultval=no
5741 fi
5742 fi
5743
5744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5746 # Check whether --enable-visibility was given.
5747 if test "${enable_visibility+set}" = set; then
5748 enableval=$enable_visibility;
5749 if test "$enableval" = yes; then
5750 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5751 else
5752 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5753 fi
5754
5755 else
5756
5757 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5758
5759 fi
5760
5761
5762 eval "$wx_cv_use_visibility"
5763
5764 if test x"$enablestring" = xdisable; then
5765 if test $wxUSE_VISIBILITY = no; then
5766 result=yes
5767 else
5768 result=no
5769 fi
5770 else
5771 result=$wxUSE_VISIBILITY
5772 fi
5773
5774 { echo "$as_me:$LINENO: result: $result" >&5
5775 echo "${ECHO_T}$result" >&6; }
5776
5777
5778 enablestring=disable
5779 defaultval=
5780 if test -z "$defaultval"; then
5781 if test x"$enablestring" = xdisable; then
5782 defaultval=yes
5783 else
5784 defaultval=no
5785 fi
5786 fi
5787
5788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5790 # Check whether --enable-tls was given.
5791 if test "${enable_tls+set}" = set; then
5792 enableval=$enable_tls;
5793 if test "$enableval" = yes; then
5794 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5795 else
5796 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5797 fi
5798
5799 else
5800
5801 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5802
5803 fi
5804
5805
5806 eval "$wx_cv_use_tls"
5807
5808 if test x"$enablestring" = xdisable; then
5809 if test $wxUSE_COMPILER_TLS = no; then
5810 result=yes
5811 else
5812 result=no
5813 fi
5814 else
5815 result=$wxUSE_COMPILER_TLS
5816 fi
5817
5818 { echo "$as_me:$LINENO: result: $result" >&5
5819 echo "${ECHO_T}$result" >&6; }
5820
5821
5822
5823
5824 enablestring=
5825 defaultval=$wxUSE_ALL_FEATURES
5826 if test -z "$defaultval"; then
5827 if test x"$enablestring" = xdisable; then
5828 defaultval=yes
5829 else
5830 defaultval=no
5831 fi
5832 fi
5833
5834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5836 # Check whether --enable-intl was given.
5837 if test "${enable_intl+set}" = set; then
5838 enableval=$enable_intl;
5839 if test "$enableval" = yes; then
5840 wx_cv_use_intl='wxUSE_INTL=yes'
5841 else
5842 wx_cv_use_intl='wxUSE_INTL=no'
5843 fi
5844
5845 else
5846
5847 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5848
5849 fi
5850
5851
5852 eval "$wx_cv_use_intl"
5853
5854 if test x"$enablestring" = xdisable; then
5855 if test $wxUSE_INTL = no; then
5856 result=yes
5857 else
5858 result=no
5859 fi
5860 else
5861 result=$wxUSE_INTL
5862 fi
5863
5864 { echo "$as_me:$LINENO: result: $result" >&5
5865 echo "${ECHO_T}$result" >&6; }
5866
5867
5868 enablestring=
5869 defaultval=$wxUSE_ALL_FEATURES
5870 if test -z "$defaultval"; then
5871 if test x"$enablestring" = xdisable; then
5872 defaultval=yes
5873 else
5874 defaultval=no
5875 fi
5876 fi
5877
5878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5879 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5880 # Check whether --enable-xlocale was given.
5881 if test "${enable_xlocale+set}" = set; then
5882 enableval=$enable_xlocale;
5883 if test "$enableval" = yes; then
5884 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5885 else
5886 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5887 fi
5888
5889 else
5890
5891 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5892
5893 fi
5894
5895
5896 eval "$wx_cv_use_xlocale"
5897
5898 if test x"$enablestring" = xdisable; then
5899 if test $wxUSE_XLOCALE = no; then
5900 result=yes
5901 else
5902 result=no
5903 fi
5904 else
5905 result=$wxUSE_XLOCALE
5906 fi
5907
5908 { echo "$as_me:$LINENO: result: $result" >&5
5909 echo "${ECHO_T}$result" >&6; }
5910
5911
5912 enablestring=
5913 defaultval=$wxUSE_ALL_FEATURES
5914 if test -z "$defaultval"; then
5915 if test x"$enablestring" = xdisable; then
5916 defaultval=yes
5917 else
5918 defaultval=no
5919 fi
5920 fi
5921
5922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5924 # Check whether --enable-config was given.
5925 if test "${enable_config+set}" = set; then
5926 enableval=$enable_config;
5927 if test "$enableval" = yes; then
5928 wx_cv_use_config='wxUSE_CONFIG=yes'
5929 else
5930 wx_cv_use_config='wxUSE_CONFIG=no'
5931 fi
5932
5933 else
5934
5935 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5936
5937 fi
5938
5939
5940 eval "$wx_cv_use_config"
5941
5942 if test x"$enablestring" = xdisable; then
5943 if test $wxUSE_CONFIG = no; then
5944 result=yes
5945 else
5946 result=no
5947 fi
5948 else
5949 result=$wxUSE_CONFIG
5950 fi
5951
5952 { echo "$as_me:$LINENO: result: $result" >&5
5953 echo "${ECHO_T}$result" >&6; }
5954
5955
5956
5957 enablestring=
5958 defaultval=$wxUSE_ALL_FEATURES
5959 if test -z "$defaultval"; then
5960 if test x"$enablestring" = xdisable; then
5961 defaultval=yes
5962 else
5963 defaultval=no
5964 fi
5965 fi
5966
5967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5968 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5969 # Check whether --enable-protocols was given.
5970 if test "${enable_protocols+set}" = set; then
5971 enableval=$enable_protocols;
5972 if test "$enableval" = yes; then
5973 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5974 else
5975 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5976 fi
5977
5978 else
5979
5980 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5981
5982 fi
5983
5984
5985 eval "$wx_cv_use_protocols"
5986
5987 if test x"$enablestring" = xdisable; then
5988 if test $wxUSE_PROTOCOL = no; then
5989 result=yes
5990 else
5991 result=no
5992 fi
5993 else
5994 result=$wxUSE_PROTOCOL
5995 fi
5996
5997 { echo "$as_me:$LINENO: result: $result" >&5
5998 echo "${ECHO_T}$result" >&6; }
5999
6000
6001 enablestring=
6002 defaultval=$wxUSE_ALL_FEATURES
6003 if test -z "$defaultval"; then
6004 if test x"$enablestring" = xdisable; then
6005 defaultval=yes
6006 else
6007 defaultval=no
6008 fi
6009 fi
6010
6011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6012 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6013 # Check whether --enable-ftp was given.
6014 if test "${enable_ftp+set}" = set; then
6015 enableval=$enable_ftp;
6016 if test "$enableval" = yes; then
6017 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6018 else
6019 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6020 fi
6021
6022 else
6023
6024 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6025
6026 fi
6027
6028
6029 eval "$wx_cv_use_ftp"
6030
6031 if test x"$enablestring" = xdisable; then
6032 if test $wxUSE_PROTOCOL_FTP = no; then
6033 result=yes
6034 else
6035 result=no
6036 fi
6037 else
6038 result=$wxUSE_PROTOCOL_FTP
6039 fi
6040
6041 { echo "$as_me:$LINENO: result: $result" >&5
6042 echo "${ECHO_T}$result" >&6; }
6043
6044
6045 enablestring=
6046 defaultval=$wxUSE_ALL_FEATURES
6047 if test -z "$defaultval"; then
6048 if test x"$enablestring" = xdisable; then
6049 defaultval=yes
6050 else
6051 defaultval=no
6052 fi
6053 fi
6054
6055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6056 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6057 # Check whether --enable-http was given.
6058 if test "${enable_http+set}" = set; then
6059 enableval=$enable_http;
6060 if test "$enableval" = yes; then
6061 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6062 else
6063 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6064 fi
6065
6066 else
6067
6068 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6069
6070 fi
6071
6072
6073 eval "$wx_cv_use_http"
6074
6075 if test x"$enablestring" = xdisable; then
6076 if test $wxUSE_PROTOCOL_HTTP = no; then
6077 result=yes
6078 else
6079 result=no
6080 fi
6081 else
6082 result=$wxUSE_PROTOCOL_HTTP
6083 fi
6084
6085 { echo "$as_me:$LINENO: result: $result" >&5
6086 echo "${ECHO_T}$result" >&6; }
6087
6088
6089 enablestring=
6090 defaultval=$wxUSE_ALL_FEATURES
6091 if test -z "$defaultval"; then
6092 if test x"$enablestring" = xdisable; then
6093 defaultval=yes
6094 else
6095 defaultval=no
6096 fi
6097 fi
6098
6099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6100 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6101 # Check whether --enable-fileproto was given.
6102 if test "${enable_fileproto+set}" = set; then
6103 enableval=$enable_fileproto;
6104 if test "$enableval" = yes; then
6105 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6106 else
6107 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6108 fi
6109
6110 else
6111
6112 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6113
6114 fi
6115
6116
6117 eval "$wx_cv_use_fileproto"
6118
6119 if test x"$enablestring" = xdisable; then
6120 if test $wxUSE_PROTOCOL_FILE = no; then
6121 result=yes
6122 else
6123 result=no
6124 fi
6125 else
6126 result=$wxUSE_PROTOCOL_FILE
6127 fi
6128
6129 { echo "$as_me:$LINENO: result: $result" >&5
6130 echo "${ECHO_T}$result" >&6; }
6131
6132
6133 enablestring=
6134 defaultval=$wxUSE_ALL_FEATURES
6135 if test -z "$defaultval"; then
6136 if test x"$enablestring" = xdisable; then
6137 defaultval=yes
6138 else
6139 defaultval=no
6140 fi
6141 fi
6142
6143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6145 # Check whether --enable-sockets was given.
6146 if test "${enable_sockets+set}" = set; then
6147 enableval=$enable_sockets;
6148 if test "$enableval" = yes; then
6149 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6150 else
6151 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6152 fi
6153
6154 else
6155
6156 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6157
6158 fi
6159
6160
6161 eval "$wx_cv_use_sockets"
6162
6163 if test x"$enablestring" = xdisable; then
6164 if test $wxUSE_SOCKETS = no; then
6165 result=yes
6166 else
6167 result=no
6168 fi
6169 else
6170 result=$wxUSE_SOCKETS
6171 fi
6172
6173 { echo "$as_me:$LINENO: result: $result" >&5
6174 echo "${ECHO_T}$result" >&6; }
6175
6176
6177 enablestring=
6178 defaultval=$wxUSE_ALL_FEATURES
6179 if test -z "$defaultval"; then
6180 if test x"$enablestring" = xdisable; then
6181 defaultval=yes
6182 else
6183 defaultval=no
6184 fi
6185 fi
6186
6187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6189 # Check whether --enable-ipv6 was given.
6190 if test "${enable_ipv6+set}" = set; then
6191 enableval=$enable_ipv6;
6192 if test "$enableval" = yes; then
6193 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6194 else
6195 wx_cv_use_ipv6='wxUSE_IPV6=no'
6196 fi
6197
6198 else
6199
6200 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6201
6202 fi
6203
6204
6205 eval "$wx_cv_use_ipv6"
6206
6207 if test x"$enablestring" = xdisable; then
6208 if test $wxUSE_IPV6 = no; then
6209 result=yes
6210 else
6211 result=no
6212 fi
6213 else
6214 result=$wxUSE_IPV6
6215 fi
6216
6217 { echo "$as_me:$LINENO: result: $result" >&5
6218 echo "${ECHO_T}$result" >&6; }
6219
6220
6221 enablestring=
6222 defaultval=$wxUSE_ALL_FEATURES
6223 if test -z "$defaultval"; then
6224 if test x"$enablestring" = xdisable; then
6225 defaultval=yes
6226 else
6227 defaultval=no
6228 fi
6229 fi
6230
6231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6232 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6233 # Check whether --enable-ole was given.
6234 if test "${enable_ole+set}" = set; then
6235 enableval=$enable_ole;
6236 if test "$enableval" = yes; then
6237 wx_cv_use_ole='wxUSE_OLE=yes'
6238 else
6239 wx_cv_use_ole='wxUSE_OLE=no'
6240 fi
6241
6242 else
6243
6244 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6245
6246 fi
6247
6248
6249 eval "$wx_cv_use_ole"
6250
6251 if test x"$enablestring" = xdisable; then
6252 if test $wxUSE_OLE = no; then
6253 result=yes
6254 else
6255 result=no
6256 fi
6257 else
6258 result=$wxUSE_OLE
6259 fi
6260
6261 { echo "$as_me:$LINENO: result: $result" >&5
6262 echo "${ECHO_T}$result" >&6; }
6263
6264
6265 enablestring=
6266 defaultval=$wxUSE_ALL_FEATURES
6267 if test -z "$defaultval"; then
6268 if test x"$enablestring" = xdisable; then
6269 defaultval=yes
6270 else
6271 defaultval=no
6272 fi
6273 fi
6274
6275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6276 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6277 # Check whether --enable-dataobj was given.
6278 if test "${enable_dataobj+set}" = set; then
6279 enableval=$enable_dataobj;
6280 if test "$enableval" = yes; then
6281 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6282 else
6283 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6284 fi
6285
6286 else
6287
6288 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6289
6290 fi
6291
6292
6293 eval "$wx_cv_use_dataobj"
6294
6295 if test x"$enablestring" = xdisable; then
6296 if test $wxUSE_DATAOBJ = no; then
6297 result=yes
6298 else
6299 result=no
6300 fi
6301 else
6302 result=$wxUSE_DATAOBJ
6303 fi
6304
6305 { echo "$as_me:$LINENO: result: $result" >&5
6306 echo "${ECHO_T}$result" >&6; }
6307
6308
6309
6310 enablestring=
6311 defaultval=$wxUSE_ALL_FEATURES
6312 if test -z "$defaultval"; then
6313 if test x"$enablestring" = xdisable; then
6314 defaultval=yes
6315 else
6316 defaultval=no
6317 fi
6318 fi
6319
6320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6321 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6322 # Check whether --enable-ipc was given.
6323 if test "${enable_ipc+set}" = set; then
6324 enableval=$enable_ipc;
6325 if test "$enableval" = yes; then
6326 wx_cv_use_ipc='wxUSE_IPC=yes'
6327 else
6328 wx_cv_use_ipc='wxUSE_IPC=no'
6329 fi
6330
6331 else
6332
6333 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6334
6335 fi
6336
6337
6338 eval "$wx_cv_use_ipc"
6339
6340 if test x"$enablestring" = xdisable; then
6341 if test $wxUSE_IPC = no; then
6342 result=yes
6343 else
6344 result=no
6345 fi
6346 else
6347 result=$wxUSE_IPC
6348 fi
6349
6350 { echo "$as_me:$LINENO: result: $result" >&5
6351 echo "${ECHO_T}$result" >&6; }
6352
6353
6354
6355 enablestring=
6356 defaultval=$wxUSE_ALL_FEATURES
6357 if test -z "$defaultval"; then
6358 if test x"$enablestring" = xdisable; then
6359 defaultval=yes
6360 else
6361 defaultval=no
6362 fi
6363 fi
6364
6365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6367 # Check whether --enable-baseevtloop was given.
6368 if test "${enable_baseevtloop+set}" = set; then
6369 enableval=$enable_baseevtloop;
6370 if test "$enableval" = yes; then
6371 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6372 else
6373 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6374 fi
6375
6376 else
6377
6378 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6379
6380 fi
6381
6382
6383 eval "$wx_cv_use_baseevtloop"
6384
6385 if test x"$enablestring" = xdisable; then
6386 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6387 result=yes
6388 else
6389 result=no
6390 fi
6391 else
6392 result=$wxUSE_CONSOLE_EVENTLOOP
6393 fi
6394
6395 { echo "$as_me:$LINENO: result: $result" >&5
6396 echo "${ECHO_T}$result" >&6; }
6397
6398
6399 enablestring=
6400 defaultval=$wxUSE_ALL_FEATURES
6401 if test -z "$defaultval"; then
6402 if test x"$enablestring" = xdisable; then
6403 defaultval=yes
6404 else
6405 defaultval=no
6406 fi
6407 fi
6408
6409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6410 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6411 # Check whether --enable-epollloop was given.
6412 if test "${enable_epollloop+set}" = set; then
6413 enableval=$enable_epollloop;
6414 if test "$enableval" = yes; then
6415 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6416 else
6417 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6418 fi
6419
6420 else
6421
6422 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6423
6424 fi
6425
6426
6427 eval "$wx_cv_use_epollloop"
6428
6429 if test x"$enablestring" = xdisable; then
6430 if test $wxUSE_EPOLL_DISPATCHER = no; then
6431 result=yes
6432 else
6433 result=no
6434 fi
6435 else
6436 result=$wxUSE_EPOLL_DISPATCHER
6437 fi
6438
6439 { echo "$as_me:$LINENO: result: $result" >&5
6440 echo "${ECHO_T}$result" >&6; }
6441
6442
6443 enablestring=
6444 defaultval=$wxUSE_ALL_FEATURES
6445 if test -z "$defaultval"; then
6446 if test x"$enablestring" = xdisable; then
6447 defaultval=yes
6448 else
6449 defaultval=no
6450 fi
6451 fi
6452
6453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6454 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6455 # Check whether --enable-selectloop was given.
6456 if test "${enable_selectloop+set}" = set; then
6457 enableval=$enable_selectloop;
6458 if test "$enableval" = yes; then
6459 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6460 else
6461 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6462 fi
6463
6464 else
6465
6466 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6467
6468 fi
6469
6470
6471 eval "$wx_cv_use_selectloop"
6472
6473 if test x"$enablestring" = xdisable; then
6474 if test $wxUSE_SELECT_DISPATCHER = no; then
6475 result=yes
6476 else
6477 result=no
6478 fi
6479 else
6480 result=$wxUSE_SELECT_DISPATCHER
6481 fi
6482
6483 { echo "$as_me:$LINENO: result: $result" >&5
6484 echo "${ECHO_T}$result" >&6; }
6485
6486
6487
6488 enablestring=
6489 defaultval=$wxUSE_ALL_FEATURES
6490 if test -z "$defaultval"; then
6491 if test x"$enablestring" = xdisable; then
6492 defaultval=yes
6493 else
6494 defaultval=no
6495 fi
6496 fi
6497
6498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6499 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6500 # Check whether --enable-any was given.
6501 if test "${enable_any+set}" = set; then
6502 enableval=$enable_any;
6503 if test "$enableval" = yes; then
6504 wx_cv_use_any='wxUSE_ANY=yes'
6505 else
6506 wx_cv_use_any='wxUSE_ANY=no'
6507 fi
6508
6509 else
6510
6511 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6512
6513 fi
6514
6515
6516 eval "$wx_cv_use_any"
6517
6518 if test x"$enablestring" = xdisable; then
6519 if test $wxUSE_ANY = no; then
6520 result=yes
6521 else
6522 result=no
6523 fi
6524 else
6525 result=$wxUSE_ANY
6526 fi
6527
6528 { echo "$as_me:$LINENO: result: $result" >&5
6529 echo "${ECHO_T}$result" >&6; }
6530
6531
6532 enablestring=
6533 defaultval=$wxUSE_ALL_FEATURES
6534 if test -z "$defaultval"; then
6535 if test x"$enablestring" = xdisable; then
6536 defaultval=yes
6537 else
6538 defaultval=no
6539 fi
6540 fi
6541
6542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6544 # Check whether --enable-apple_ieee was given.
6545 if test "${enable_apple_ieee+set}" = set; then
6546 enableval=$enable_apple_ieee;
6547 if test "$enableval" = yes; then
6548 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6549 else
6550 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6551 fi
6552
6553 else
6554
6555 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6556
6557 fi
6558
6559
6560 eval "$wx_cv_use_apple_ieee"
6561
6562 if test x"$enablestring" = xdisable; then
6563 if test $wxUSE_APPLE_IEEE = no; then
6564 result=yes
6565 else
6566 result=no
6567 fi
6568 else
6569 result=$wxUSE_APPLE_IEEE
6570 fi
6571
6572 { echo "$as_me:$LINENO: result: $result" >&5
6573 echo "${ECHO_T}$result" >&6; }
6574
6575
6576 enablestring=
6577 defaultval=$wxUSE_ALL_FEATURES
6578 if test -z "$defaultval"; then
6579 if test x"$enablestring" = xdisable; then
6580 defaultval=yes
6581 else
6582 defaultval=no
6583 fi
6584 fi
6585
6586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6588 # Check whether --enable-arcstream was given.
6589 if test "${enable_arcstream+set}" = set; then
6590 enableval=$enable_arcstream;
6591 if test "$enableval" = yes; then
6592 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6593 else
6594 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6595 fi
6596
6597 else
6598
6599 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6600
6601 fi
6602
6603
6604 eval "$wx_cv_use_arcstream"
6605
6606 if test x"$enablestring" = xdisable; then
6607 if test $wxUSE_ARCHIVE_STREAMS = no; then
6608 result=yes
6609 else
6610 result=no
6611 fi
6612 else
6613 result=$wxUSE_ARCHIVE_STREAMS
6614 fi
6615
6616 { echo "$as_me:$LINENO: result: $result" >&5
6617 echo "${ECHO_T}$result" >&6; }
6618
6619
6620 enablestring=
6621 defaultval=$wxUSE_ALL_FEATURES
6622 if test -z "$defaultval"; then
6623 if test x"$enablestring" = xdisable; then
6624 defaultval=yes
6625 else
6626 defaultval=no
6627 fi
6628 fi
6629
6630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6631 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6632 # Check whether --enable-base64 was given.
6633 if test "${enable_base64+set}" = set; then
6634 enableval=$enable_base64;
6635 if test "$enableval" = yes; then
6636 wx_cv_use_base64='wxUSE_BASE64=yes'
6637 else
6638 wx_cv_use_base64='wxUSE_BASE64=no'
6639 fi
6640
6641 else
6642
6643 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6644
6645 fi
6646
6647
6648 eval "$wx_cv_use_base64"
6649
6650 if test x"$enablestring" = xdisable; then
6651 if test $wxUSE_BASE64 = no; then
6652 result=yes
6653 else
6654 result=no
6655 fi
6656 else
6657 result=$wxUSE_BASE64
6658 fi
6659
6660 { echo "$as_me:$LINENO: result: $result" >&5
6661 echo "${ECHO_T}$result" >&6; }
6662
6663
6664 enablestring=
6665 defaultval=$wxUSE_ALL_FEATURES
6666 if test -z "$defaultval"; then
6667 if test x"$enablestring" = xdisable; then
6668 defaultval=yes
6669 else
6670 defaultval=no
6671 fi
6672 fi
6673
6674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6676 # Check whether --enable-backtrace was given.
6677 if test "${enable_backtrace+set}" = set; then
6678 enableval=$enable_backtrace;
6679 if test "$enableval" = yes; then
6680 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6681 else
6682 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6683 fi
6684
6685 else
6686
6687 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6688
6689 fi
6690
6691
6692 eval "$wx_cv_use_backtrace"
6693
6694 if test x"$enablestring" = xdisable; then
6695 if test $wxUSE_STACKWALKER = no; then
6696 result=yes
6697 else
6698 result=no
6699 fi
6700 else
6701 result=$wxUSE_STACKWALKER
6702 fi
6703
6704 { echo "$as_me:$LINENO: result: $result" >&5
6705 echo "${ECHO_T}$result" >&6; }
6706
6707
6708 enablestring=
6709 defaultval=$wxUSE_ALL_FEATURES
6710 if test -z "$defaultval"; then
6711 if test x"$enablestring" = xdisable; then
6712 defaultval=yes
6713 else
6714 defaultval=no
6715 fi
6716 fi
6717
6718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6720 # Check whether --enable-catch_segvs was given.
6721 if test "${enable_catch_segvs+set}" = set; then
6722 enableval=$enable_catch_segvs;
6723 if test "$enableval" = yes; then
6724 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6725 else
6726 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6727 fi
6728
6729 else
6730
6731 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6732
6733 fi
6734
6735
6736 eval "$wx_cv_use_catch_segvs"
6737
6738 if test x"$enablestring" = xdisable; then
6739 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6740 result=yes
6741 else
6742 result=no
6743 fi
6744 else
6745 result=$wxUSE_ON_FATAL_EXCEPTION
6746 fi
6747
6748 { echo "$as_me:$LINENO: result: $result" >&5
6749 echo "${ECHO_T}$result" >&6; }
6750
6751
6752 enablestring=
6753 defaultval=$wxUSE_ALL_FEATURES
6754 if test -z "$defaultval"; then
6755 if test x"$enablestring" = xdisable; then
6756 defaultval=yes
6757 else
6758 defaultval=no
6759 fi
6760 fi
6761
6762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6763 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6764 # Check whether --enable-cmdline was given.
6765 if test "${enable_cmdline+set}" = set; then
6766 enableval=$enable_cmdline;
6767 if test "$enableval" = yes; then
6768 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6769 else
6770 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6771 fi
6772
6773 else
6774
6775 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6776
6777 fi
6778
6779
6780 eval "$wx_cv_use_cmdline"
6781
6782 if test x"$enablestring" = xdisable; then
6783 if test $wxUSE_CMDLINE_PARSER = no; then
6784 result=yes
6785 else
6786 result=no
6787 fi
6788 else
6789 result=$wxUSE_CMDLINE_PARSER
6790 fi
6791
6792 { echo "$as_me:$LINENO: result: $result" >&5
6793 echo "${ECHO_T}$result" >&6; }
6794
6795
6796 enablestring=
6797 defaultval=$wxUSE_ALL_FEATURES
6798 if test -z "$defaultval"; then
6799 if test x"$enablestring" = xdisable; then
6800 defaultval=yes
6801 else
6802 defaultval=no
6803 fi
6804 fi
6805
6806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6807 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6808 # Check whether --enable-datetime was given.
6809 if test "${enable_datetime+set}" = set; then
6810 enableval=$enable_datetime;
6811 if test "$enableval" = yes; then
6812 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6813 else
6814 wx_cv_use_datetime='wxUSE_DATETIME=no'
6815 fi
6816
6817 else
6818
6819 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6820
6821 fi
6822
6823
6824 eval "$wx_cv_use_datetime"
6825
6826 if test x"$enablestring" = xdisable; then
6827 if test $wxUSE_DATETIME = no; then
6828 result=yes
6829 else
6830 result=no
6831 fi
6832 else
6833 result=$wxUSE_DATETIME
6834 fi
6835
6836 { echo "$as_me:$LINENO: result: $result" >&5
6837 echo "${ECHO_T}$result" >&6; }
6838
6839
6840 enablestring=
6841 defaultval=$wxUSE_ALL_FEATURES
6842 if test -z "$defaultval"; then
6843 if test x"$enablestring" = xdisable; then
6844 defaultval=yes
6845 else
6846 defaultval=no
6847 fi
6848 fi
6849
6850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6851 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6852 # Check whether --enable-debugreport was given.
6853 if test "${enable_debugreport+set}" = set; then
6854 enableval=$enable_debugreport;
6855 if test "$enableval" = yes; then
6856 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6857 else
6858 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6859 fi
6860
6861 else
6862
6863 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6864
6865 fi
6866
6867
6868 eval "$wx_cv_use_debugreport"
6869
6870 if test x"$enablestring" = xdisable; then
6871 if test $wxUSE_DEBUGREPORT = no; then
6872 result=yes
6873 else
6874 result=no
6875 fi
6876 else
6877 result=$wxUSE_DEBUGREPORT
6878 fi
6879
6880 { echo "$as_me:$LINENO: result: $result" >&5
6881 echo "${ECHO_T}$result" >&6; }
6882
6883
6884 enablestring=
6885 defaultval=$wxUSE_ALL_FEATURES
6886 if test -z "$defaultval"; then
6887 if test x"$enablestring" = xdisable; then
6888 defaultval=yes
6889 else
6890 defaultval=no
6891 fi
6892 fi
6893
6894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6895 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6896 # Check whether --enable-dialupman was given.
6897 if test "${enable_dialupman+set}" = set; then
6898 enableval=$enable_dialupman;
6899 if test "$enableval" = yes; then
6900 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6901 else
6902 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6903 fi
6904
6905 else
6906
6907 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6908
6909 fi
6910
6911
6912 eval "$wx_cv_use_dialupman"
6913
6914 if test x"$enablestring" = xdisable; then
6915 if test $wxUSE_DIALUP_MANAGER = no; then
6916 result=yes
6917 else
6918 result=no
6919 fi
6920 else
6921 result=$wxUSE_DIALUP_MANAGER
6922 fi
6923
6924 { echo "$as_me:$LINENO: result: $result" >&5
6925 echo "${ECHO_T}$result" >&6; }
6926
6927
6928 enablestring=
6929 defaultval=$wxUSE_ALL_FEATURES
6930 if test -z "$defaultval"; then
6931 if test x"$enablestring" = xdisable; then
6932 defaultval=yes
6933 else
6934 defaultval=no
6935 fi
6936 fi
6937
6938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6939 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6940 # Check whether --enable-dynlib was given.
6941 if test "${enable_dynlib+set}" = set; then
6942 enableval=$enable_dynlib;
6943 if test "$enableval" = yes; then
6944 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6945 else
6946 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6947 fi
6948
6949 else
6950
6951 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6952
6953 fi
6954
6955
6956 eval "$wx_cv_use_dynlib"
6957
6958 if test x"$enablestring" = xdisable; then
6959 if test $wxUSE_DYNLIB_CLASS = no; then
6960 result=yes
6961 else
6962 result=no
6963 fi
6964 else
6965 result=$wxUSE_DYNLIB_CLASS
6966 fi
6967
6968 { echo "$as_me:$LINENO: result: $result" >&5
6969 echo "${ECHO_T}$result" >&6; }
6970
6971
6972 enablestring=
6973 defaultval=$wxUSE_ALL_FEATURES
6974 if test -z "$defaultval"; then
6975 if test x"$enablestring" = xdisable; then
6976 defaultval=yes
6977 else
6978 defaultval=no
6979 fi
6980 fi
6981
6982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6984 # Check whether --enable-dynamicloader was given.
6985 if test "${enable_dynamicloader+set}" = set; then
6986 enableval=$enable_dynamicloader;
6987 if test "$enableval" = yes; then
6988 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6989 else
6990 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6991 fi
6992
6993 else
6994
6995 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6996
6997 fi
6998
6999
7000 eval "$wx_cv_use_dynamicloader"
7001
7002 if test x"$enablestring" = xdisable; then
7003 if test $wxUSE_DYNAMIC_LOADER = no; then
7004 result=yes
7005 else
7006 result=no
7007 fi
7008 else
7009 result=$wxUSE_DYNAMIC_LOADER
7010 fi
7011
7012 { echo "$as_me:$LINENO: result: $result" >&5
7013 echo "${ECHO_T}$result" >&6; }
7014
7015
7016 enablestring=
7017 defaultval=$wxUSE_ALL_FEATURES
7018 if test -z "$defaultval"; then
7019 if test x"$enablestring" = xdisable; then
7020 defaultval=yes
7021 else
7022 defaultval=no
7023 fi
7024 fi
7025
7026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7027 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7028 # Check whether --enable-exceptions was given.
7029 if test "${enable_exceptions+set}" = set; then
7030 enableval=$enable_exceptions;
7031 if test "$enableval" = yes; then
7032 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7033 else
7034 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7035 fi
7036
7037 else
7038
7039 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7040
7041 fi
7042
7043
7044 eval "$wx_cv_use_exceptions"
7045
7046 if test x"$enablestring" = xdisable; then
7047 if test $wxUSE_EXCEPTIONS = no; then
7048 result=yes
7049 else
7050 result=no
7051 fi
7052 else
7053 result=$wxUSE_EXCEPTIONS
7054 fi
7055
7056 { echo "$as_me:$LINENO: result: $result" >&5
7057 echo "${ECHO_T}$result" >&6; }
7058
7059
7060 enablestring=
7061 defaultval=$wxUSE_ALL_FEATURES
7062 if test -z "$defaultval"; then
7063 if test x"$enablestring" = xdisable; then
7064 defaultval=yes
7065 else
7066 defaultval=no
7067 fi
7068 fi
7069
7070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7071 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7072 # Check whether --enable-ffile was given.
7073 if test "${enable_ffile+set}" = set; then
7074 enableval=$enable_ffile;
7075 if test "$enableval" = yes; then
7076 wx_cv_use_ffile='wxUSE_FFILE=yes'
7077 else
7078 wx_cv_use_ffile='wxUSE_FFILE=no'
7079 fi
7080
7081 else
7082
7083 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7084
7085 fi
7086
7087
7088 eval "$wx_cv_use_ffile"
7089
7090 if test x"$enablestring" = xdisable; then
7091 if test $wxUSE_FFILE = no; then
7092 result=yes
7093 else
7094 result=no
7095 fi
7096 else
7097 result=$wxUSE_FFILE
7098 fi
7099
7100 { echo "$as_me:$LINENO: result: $result" >&5
7101 echo "${ECHO_T}$result" >&6; }
7102
7103
7104 enablestring=
7105 defaultval=$wxUSE_ALL_FEATURES
7106 if test -z "$defaultval"; then
7107 if test x"$enablestring" = xdisable; then
7108 defaultval=yes
7109 else
7110 defaultval=no
7111 fi
7112 fi
7113
7114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7115 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7116 # Check whether --enable-file was given.
7117 if test "${enable_file+set}" = set; then
7118 enableval=$enable_file;
7119 if test "$enableval" = yes; then
7120 wx_cv_use_file='wxUSE_FILE=yes'
7121 else
7122 wx_cv_use_file='wxUSE_FILE=no'
7123 fi
7124
7125 else
7126
7127 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7128
7129 fi
7130
7131
7132 eval "$wx_cv_use_file"
7133
7134 if test x"$enablestring" = xdisable; then
7135 if test $wxUSE_FILE = no; then
7136 result=yes
7137 else
7138 result=no
7139 fi
7140 else
7141 result=$wxUSE_FILE
7142 fi
7143
7144 { echo "$as_me:$LINENO: result: $result" >&5
7145 echo "${ECHO_T}$result" >&6; }
7146
7147
7148 enablestring=
7149 defaultval=$wxUSE_ALL_FEATURES
7150 if test -z "$defaultval"; then
7151 if test x"$enablestring" = xdisable; then
7152 defaultval=yes
7153 else
7154 defaultval=no
7155 fi
7156 fi
7157
7158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7159 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7160 # Check whether --enable-filehistory was given.
7161 if test "${enable_filehistory+set}" = set; then
7162 enableval=$enable_filehistory;
7163 if test "$enableval" = yes; then
7164 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7165 else
7166 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7167 fi
7168
7169 else
7170
7171 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7172
7173 fi
7174
7175
7176 eval "$wx_cv_use_filehistory"
7177
7178 if test x"$enablestring" = xdisable; then
7179 if test $wxUSE_FILE_HISTORY = no; then
7180 result=yes
7181 else
7182 result=no
7183 fi
7184 else
7185 result=$wxUSE_FILE_HISTORY
7186 fi
7187
7188 { echo "$as_me:$LINENO: result: $result" >&5
7189 echo "${ECHO_T}$result" >&6; }
7190
7191
7192 enablestring=
7193 defaultval=$wxUSE_ALL_FEATURES
7194 if test -z "$defaultval"; then
7195 if test x"$enablestring" = xdisable; then
7196 defaultval=yes
7197 else
7198 defaultval=no
7199 fi
7200 fi
7201
7202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7203 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7204 # Check whether --enable-filesystem was given.
7205 if test "${enable_filesystem+set}" = set; then
7206 enableval=$enable_filesystem;
7207 if test "$enableval" = yes; then
7208 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7209 else
7210 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7211 fi
7212
7213 else
7214
7215 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7216
7217 fi
7218
7219
7220 eval "$wx_cv_use_filesystem"
7221
7222 if test x"$enablestring" = xdisable; then
7223 if test $wxUSE_FILESYSTEM = no; then
7224 result=yes
7225 else
7226 result=no
7227 fi
7228 else
7229 result=$wxUSE_FILESYSTEM
7230 fi
7231
7232 { echo "$as_me:$LINENO: result: $result" >&5
7233 echo "${ECHO_T}$result" >&6; }
7234
7235
7236 enablestring=
7237 defaultval=$wxUSE_ALL_FEATURES
7238 if test -z "$defaultval"; then
7239 if test x"$enablestring" = xdisable; then
7240 defaultval=yes
7241 else
7242 defaultval=no
7243 fi
7244 fi
7245
7246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7247 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7248 # Check whether --enable-fontenum was given.
7249 if test "${enable_fontenum+set}" = set; then
7250 enableval=$enable_fontenum;
7251 if test "$enableval" = yes; then
7252 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7253 else
7254 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7255 fi
7256
7257 else
7258
7259 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7260
7261 fi
7262
7263
7264 eval "$wx_cv_use_fontenum"
7265
7266 if test x"$enablestring" = xdisable; then
7267 if test $wxUSE_FONTENUM = no; then
7268 result=yes
7269 else
7270 result=no
7271 fi
7272 else
7273 result=$wxUSE_FONTENUM
7274 fi
7275
7276 { echo "$as_me:$LINENO: result: $result" >&5
7277 echo "${ECHO_T}$result" >&6; }
7278
7279
7280 enablestring=
7281 defaultval=$wxUSE_ALL_FEATURES
7282 if test -z "$defaultval"; then
7283 if test x"$enablestring" = xdisable; then
7284 defaultval=yes
7285 else
7286 defaultval=no
7287 fi
7288 fi
7289
7290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7291 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7292 # Check whether --enable-fontmap was given.
7293 if test "${enable_fontmap+set}" = set; then
7294 enableval=$enable_fontmap;
7295 if test "$enableval" = yes; then
7296 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7297 else
7298 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7299 fi
7300
7301 else
7302
7303 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7304
7305 fi
7306
7307
7308 eval "$wx_cv_use_fontmap"
7309
7310 if test x"$enablestring" = xdisable; then
7311 if test $wxUSE_FONTMAP = no; then
7312 result=yes
7313 else
7314 result=no
7315 fi
7316 else
7317 result=$wxUSE_FONTMAP
7318 fi
7319
7320 { echo "$as_me:$LINENO: result: $result" >&5
7321 echo "${ECHO_T}$result" >&6; }
7322
7323
7324 enablestring=
7325 defaultval=$wxUSE_ALL_FEATURES
7326 if test -z "$defaultval"; then
7327 if test x"$enablestring" = xdisable; then
7328 defaultval=yes
7329 else
7330 defaultval=no
7331 fi
7332 fi
7333
7334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7335 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7336 # Check whether --enable-fs_archive was given.
7337 if test "${enable_fs_archive+set}" = set; then
7338 enableval=$enable_fs_archive;
7339 if test "$enableval" = yes; then
7340 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7341 else
7342 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7343 fi
7344
7345 else
7346
7347 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7348
7349 fi
7350
7351
7352 eval "$wx_cv_use_fs_archive"
7353
7354 if test x"$enablestring" = xdisable; then
7355 if test $wxUSE_FS_ARCHIVE = no; then
7356 result=yes
7357 else
7358 result=no
7359 fi
7360 else
7361 result=$wxUSE_FS_ARCHIVE
7362 fi
7363
7364 { echo "$as_me:$LINENO: result: $result" >&5
7365 echo "${ECHO_T}$result" >&6; }
7366
7367
7368 enablestring=
7369 defaultval=$wxUSE_ALL_FEATURES
7370 if test -z "$defaultval"; then
7371 if test x"$enablestring" = xdisable; then
7372 defaultval=yes
7373 else
7374 defaultval=no
7375 fi
7376 fi
7377
7378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7379 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7380 # Check whether --enable-fs_inet was given.
7381 if test "${enable_fs_inet+set}" = set; then
7382 enableval=$enable_fs_inet;
7383 if test "$enableval" = yes; then
7384 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7385 else
7386 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7387 fi
7388
7389 else
7390
7391 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7392
7393 fi
7394
7395
7396 eval "$wx_cv_use_fs_inet"
7397
7398 if test x"$enablestring" = xdisable; then
7399 if test $wxUSE_FS_INET = no; then
7400 result=yes
7401 else
7402 result=no
7403 fi
7404 else
7405 result=$wxUSE_FS_INET
7406 fi
7407
7408 { echo "$as_me:$LINENO: result: $result" >&5
7409 echo "${ECHO_T}$result" >&6; }
7410
7411
7412 enablestring=
7413 defaultval=$wxUSE_ALL_FEATURES
7414 if test -z "$defaultval"; then
7415 if test x"$enablestring" = xdisable; then
7416 defaultval=yes
7417 else
7418 defaultval=no
7419 fi
7420 fi
7421
7422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7424 # Check whether --enable-fs_zip was given.
7425 if test "${enable_fs_zip+set}" = set; then
7426 enableval=$enable_fs_zip;
7427 if test "$enableval" = yes; then
7428 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7429 else
7430 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7431 fi
7432
7433 else
7434
7435 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7436
7437 fi
7438
7439
7440 eval "$wx_cv_use_fs_zip"
7441
7442 if test x"$enablestring" = xdisable; then
7443 if test $wxUSE_FS_ZIP = no; then
7444 result=yes
7445 else
7446 result=no
7447 fi
7448 else
7449 result=$wxUSE_FS_ZIP
7450 fi
7451
7452 { echo "$as_me:$LINENO: result: $result" >&5
7453 echo "${ECHO_T}$result" >&6; }
7454
7455
7456 enablestring=
7457 defaultval=$wxUSE_ALL_FEATURES
7458 if test -z "$defaultval"; then
7459 if test x"$enablestring" = xdisable; then
7460 defaultval=yes
7461 else
7462 defaultval=no
7463 fi
7464 fi
7465
7466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7468 # Check whether --enable-fswatcher was given.
7469 if test "${enable_fswatcher+set}" = set; then
7470 enableval=$enable_fswatcher;
7471 if test "$enableval" = yes; then
7472 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7473 else
7474 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7475 fi
7476
7477 else
7478
7479 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7480
7481 fi
7482
7483
7484 eval "$wx_cv_use_fswatcher"
7485
7486 if test x"$enablestring" = xdisable; then
7487 if test $wxUSE_FSWATCHER = no; then
7488 result=yes
7489 else
7490 result=no
7491 fi
7492 else
7493 result=$wxUSE_FSWATCHER
7494 fi
7495
7496 { echo "$as_me:$LINENO: result: $result" >&5
7497 echo "${ECHO_T}$result" >&6; }
7498
7499
7500 enablestring=
7501 defaultval=$wxUSE_ALL_FEATURES
7502 if test -z "$defaultval"; then
7503 if test x"$enablestring" = xdisable; then
7504 defaultval=yes
7505 else
7506 defaultval=no
7507 fi
7508 fi
7509
7510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7511 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7512 # Check whether --enable-geometry was given.
7513 if test "${enable_geometry+set}" = set; then
7514 enableval=$enable_geometry;
7515 if test "$enableval" = yes; then
7516 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7517 else
7518 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7519 fi
7520
7521 else
7522
7523 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7524
7525 fi
7526
7527
7528 eval "$wx_cv_use_geometry"
7529
7530 if test x"$enablestring" = xdisable; then
7531 if test $wxUSE_GEOMETRY = no; then
7532 result=yes
7533 else
7534 result=no
7535 fi
7536 else
7537 result=$wxUSE_GEOMETRY
7538 fi
7539
7540 { echo "$as_me:$LINENO: result: $result" >&5
7541 echo "${ECHO_T}$result" >&6; }
7542
7543
7544 enablestring=
7545 defaultval=$wxUSE_ALL_FEATURES
7546 if test -z "$defaultval"; then
7547 if test x"$enablestring" = xdisable; then
7548 defaultval=yes
7549 else
7550 defaultval=no
7551 fi
7552 fi
7553
7554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7556 # Check whether --enable-log was given.
7557 if test "${enable_log+set}" = set; then
7558 enableval=$enable_log;
7559 if test "$enableval" = yes; then
7560 wx_cv_use_log='wxUSE_LOG=yes'
7561 else
7562 wx_cv_use_log='wxUSE_LOG=no'
7563 fi
7564
7565 else
7566
7567 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7568
7569 fi
7570
7571
7572 eval "$wx_cv_use_log"
7573
7574 if test x"$enablestring" = xdisable; then
7575 if test $wxUSE_LOG = no; then
7576 result=yes
7577 else
7578 result=no
7579 fi
7580 else
7581 result=$wxUSE_LOG
7582 fi
7583
7584 { echo "$as_me:$LINENO: result: $result" >&5
7585 echo "${ECHO_T}$result" >&6; }
7586
7587
7588 enablestring=
7589 defaultval=$wxUSE_ALL_FEATURES
7590 if test -z "$defaultval"; then
7591 if test x"$enablestring" = xdisable; then
7592 defaultval=yes
7593 else
7594 defaultval=no
7595 fi
7596 fi
7597
7598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7599 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7600 # Check whether --enable-longlong was given.
7601 if test "${enable_longlong+set}" = set; then
7602 enableval=$enable_longlong;
7603 if test "$enableval" = yes; then
7604 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7605 else
7606 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7607 fi
7608
7609 else
7610
7611 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7612
7613 fi
7614
7615
7616 eval "$wx_cv_use_longlong"
7617
7618 if test x"$enablestring" = xdisable; then
7619 if test $wxUSE_LONGLONG = no; then
7620 result=yes
7621 else
7622 result=no
7623 fi
7624 else
7625 result=$wxUSE_LONGLONG
7626 fi
7627
7628 { echo "$as_me:$LINENO: result: $result" >&5
7629 echo "${ECHO_T}$result" >&6; }
7630
7631
7632 enablestring=
7633 defaultval=$wxUSE_ALL_FEATURES
7634 if test -z "$defaultval"; then
7635 if test x"$enablestring" = xdisable; then
7636 defaultval=yes
7637 else
7638 defaultval=no
7639 fi
7640 fi
7641
7642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7643 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7644 # Check whether --enable-mimetype was given.
7645 if test "${enable_mimetype+set}" = set; then
7646 enableval=$enable_mimetype;
7647 if test "$enableval" = yes; then
7648 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7649 else
7650 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7651 fi
7652
7653 else
7654
7655 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7656
7657 fi
7658
7659
7660 eval "$wx_cv_use_mimetype"
7661
7662 if test x"$enablestring" = xdisable; then
7663 if test $wxUSE_MIMETYPE = no; then
7664 result=yes
7665 else
7666 result=no
7667 fi
7668 else
7669 result=$wxUSE_MIMETYPE
7670 fi
7671
7672 { echo "$as_me:$LINENO: result: $result" >&5
7673 echo "${ECHO_T}$result" >&6; }
7674
7675
7676 enablestring=
7677 defaultval=$wxUSE_ALL_FEATURES
7678 if test -z "$defaultval"; then
7679 if test x"$enablestring" = xdisable; then
7680 defaultval=yes
7681 else
7682 defaultval=no
7683 fi
7684 fi
7685
7686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7687 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7688 # Check whether --enable-printfposparam was given.
7689 if test "${enable_printfposparam+set}" = set; then
7690 enableval=$enable_printfposparam;
7691 if test "$enableval" = yes; then
7692 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7693 else
7694 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7695 fi
7696
7697 else
7698
7699 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7700
7701 fi
7702
7703
7704 eval "$wx_cv_use_printfposparam"
7705
7706 if test x"$enablestring" = xdisable; then
7707 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7708 result=yes
7709 else
7710 result=no
7711 fi
7712 else
7713 result=$wxUSE_PRINTF_POS_PARAMS
7714 fi
7715
7716 { echo "$as_me:$LINENO: result: $result" >&5
7717 echo "${ECHO_T}$result" >&6; }
7718
7719
7720 enablestring=
7721 defaultval=$wxUSE_ALL_FEATURES
7722 if test -z "$defaultval"; then
7723 if test x"$enablestring" = xdisable; then
7724 defaultval=yes
7725 else
7726 defaultval=no
7727 fi
7728 fi
7729
7730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7731 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7732 # Check whether --enable-snglinst was given.
7733 if test "${enable_snglinst+set}" = set; then
7734 enableval=$enable_snglinst;
7735 if test "$enableval" = yes; then
7736 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7737 else
7738 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7739 fi
7740
7741 else
7742
7743 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7744
7745 fi
7746
7747
7748 eval "$wx_cv_use_snglinst"
7749
7750 if test x"$enablestring" = xdisable; then
7751 if test $wxUSE_SNGLINST_CHECKER = no; then
7752 result=yes
7753 else
7754 result=no
7755 fi
7756 else
7757 result=$wxUSE_SNGLINST_CHECKER
7758 fi
7759
7760 { echo "$as_me:$LINENO: result: $result" >&5
7761 echo "${ECHO_T}$result" >&6; }
7762
7763
7764 enablestring=
7765 defaultval=$wxUSE_ALL_FEATURES
7766 if test -z "$defaultval"; then
7767 if test x"$enablestring" = xdisable; then
7768 defaultval=yes
7769 else
7770 defaultval=no
7771 fi
7772 fi
7773
7774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7775 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7776 # Check whether --enable-sound was given.
7777 if test "${enable_sound+set}" = set; then
7778 enableval=$enable_sound;
7779 if test "$enableval" = yes; then
7780 wx_cv_use_sound='wxUSE_SOUND=yes'
7781 else
7782 wx_cv_use_sound='wxUSE_SOUND=no'
7783 fi
7784
7785 else
7786
7787 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7788
7789 fi
7790
7791
7792 eval "$wx_cv_use_sound"
7793
7794 if test x"$enablestring" = xdisable; then
7795 if test $wxUSE_SOUND = no; then
7796 result=yes
7797 else
7798 result=no
7799 fi
7800 else
7801 result=$wxUSE_SOUND
7802 fi
7803
7804 { echo "$as_me:$LINENO: result: $result" >&5
7805 echo "${ECHO_T}$result" >&6; }
7806
7807
7808 enablestring=
7809 defaultval=$wxUSE_ALL_FEATURES
7810 if test -z "$defaultval"; then
7811 if test x"$enablestring" = xdisable; then
7812 defaultval=yes
7813 else
7814 defaultval=no
7815 fi
7816 fi
7817
7818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7819 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7820 # Check whether --enable-stdpaths was given.
7821 if test "${enable_stdpaths+set}" = set; then
7822 enableval=$enable_stdpaths;
7823 if test "$enableval" = yes; then
7824 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7825 else
7826 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7827 fi
7828
7829 else
7830
7831 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7832
7833 fi
7834
7835
7836 eval "$wx_cv_use_stdpaths"
7837
7838 if test x"$enablestring" = xdisable; then
7839 if test $wxUSE_STDPATHS = no; then
7840 result=yes
7841 else
7842 result=no
7843 fi
7844 else
7845 result=$wxUSE_STDPATHS
7846 fi
7847
7848 { echo "$as_me:$LINENO: result: $result" >&5
7849 echo "${ECHO_T}$result" >&6; }
7850
7851
7852 enablestring=
7853 defaultval=$wxUSE_ALL_FEATURES
7854 if test -z "$defaultval"; then
7855 if test x"$enablestring" = xdisable; then
7856 defaultval=yes
7857 else
7858 defaultval=no
7859 fi
7860 fi
7861
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7864 # Check whether --enable-stopwatch was given.
7865 if test "${enable_stopwatch+set}" = set; then
7866 enableval=$enable_stopwatch;
7867 if test "$enableval" = yes; then
7868 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7869 else
7870 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7871 fi
7872
7873 else
7874
7875 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7876
7877 fi
7878
7879
7880 eval "$wx_cv_use_stopwatch"
7881
7882 if test x"$enablestring" = xdisable; then
7883 if test $wxUSE_STOPWATCH = no; then
7884 result=yes
7885 else
7886 result=no
7887 fi
7888 else
7889 result=$wxUSE_STOPWATCH
7890 fi
7891
7892 { echo "$as_me:$LINENO: result: $result" >&5
7893 echo "${ECHO_T}$result" >&6; }
7894
7895
7896 enablestring=
7897 defaultval=$wxUSE_ALL_FEATURES
7898 if test -z "$defaultval"; then
7899 if test x"$enablestring" = xdisable; then
7900 defaultval=yes
7901 else
7902 defaultval=no
7903 fi
7904 fi
7905
7906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7908 # Check whether --enable-streams was given.
7909 if test "${enable_streams+set}" = set; then
7910 enableval=$enable_streams;
7911 if test "$enableval" = yes; then
7912 wx_cv_use_streams='wxUSE_STREAMS=yes'
7913 else
7914 wx_cv_use_streams='wxUSE_STREAMS=no'
7915 fi
7916
7917 else
7918
7919 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7920
7921 fi
7922
7923
7924 eval "$wx_cv_use_streams"
7925
7926 if test x"$enablestring" = xdisable; then
7927 if test $wxUSE_STREAMS = no; then
7928 result=yes
7929 else
7930 result=no
7931 fi
7932 else
7933 result=$wxUSE_STREAMS
7934 fi
7935
7936 { echo "$as_me:$LINENO: result: $result" >&5
7937 echo "${ECHO_T}$result" >&6; }
7938
7939
7940 enablestring=
7941 defaultval=$wxUSE_ALL_FEATURES
7942 if test -z "$defaultval"; then
7943 if test x"$enablestring" = xdisable; then
7944 defaultval=yes
7945 else
7946 defaultval=no
7947 fi
7948 fi
7949
7950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7951 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7952 # Check whether --enable-sysoptions was given.
7953 if test "${enable_sysoptions+set}" = set; then
7954 enableval=$enable_sysoptions;
7955 if test "$enableval" = yes; then
7956 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7957 else
7958 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7959 fi
7960
7961 else
7962
7963 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7964
7965 fi
7966
7967
7968 eval "$wx_cv_use_sysoptions"
7969
7970 if test x"$enablestring" = xdisable; then
7971 if test $wxUSE_SYSTEM_OPTIONS = no; then
7972 result=yes
7973 else
7974 result=no
7975 fi
7976 else
7977 result=$wxUSE_SYSTEM_OPTIONS
7978 fi
7979
7980 { echo "$as_me:$LINENO: result: $result" >&5
7981 echo "${ECHO_T}$result" >&6; }
7982
7983
7984 enablestring=
7985 defaultval=$wxUSE_ALL_FEATURES
7986 if test -z "$defaultval"; then
7987 if test x"$enablestring" = xdisable; then
7988 defaultval=yes
7989 else
7990 defaultval=no
7991 fi
7992 fi
7993
7994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7996 # Check whether --enable-tarstream was given.
7997 if test "${enable_tarstream+set}" = set; then
7998 enableval=$enable_tarstream;
7999 if test "$enableval" = yes; then
8000 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8001 else
8002 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8003 fi
8004
8005 else
8006
8007 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8008
8009 fi
8010
8011
8012 eval "$wx_cv_use_tarstream"
8013
8014 if test x"$enablestring" = xdisable; then
8015 if test $wxUSE_TARSTREAM = no; then
8016 result=yes
8017 else
8018 result=no
8019 fi
8020 else
8021 result=$wxUSE_TARSTREAM
8022 fi
8023
8024 { echo "$as_me:$LINENO: result: $result" >&5
8025 echo "${ECHO_T}$result" >&6; }
8026
8027
8028 enablestring=
8029 defaultval=$wxUSE_ALL_FEATURES
8030 if test -z "$defaultval"; then
8031 if test x"$enablestring" = xdisable; then
8032 defaultval=yes
8033 else
8034 defaultval=no
8035 fi
8036 fi
8037
8038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8040 # Check whether --enable-textbuf was given.
8041 if test "${enable_textbuf+set}" = set; then
8042 enableval=$enable_textbuf;
8043 if test "$enableval" = yes; then
8044 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8045 else
8046 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8047 fi
8048
8049 else
8050
8051 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8052
8053 fi
8054
8055
8056 eval "$wx_cv_use_textbuf"
8057
8058 if test x"$enablestring" = xdisable; then
8059 if test $wxUSE_TEXTBUFFER = no; then
8060 result=yes
8061 else
8062 result=no
8063 fi
8064 else
8065 result=$wxUSE_TEXTBUFFER
8066 fi
8067
8068 { echo "$as_me:$LINENO: result: $result" >&5
8069 echo "${ECHO_T}$result" >&6; }
8070
8071
8072 enablestring=
8073 defaultval=$wxUSE_ALL_FEATURES
8074 if test -z "$defaultval"; then
8075 if test x"$enablestring" = xdisable; then
8076 defaultval=yes
8077 else
8078 defaultval=no
8079 fi
8080 fi
8081
8082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8084 # Check whether --enable-textfile was given.
8085 if test "${enable_textfile+set}" = set; then
8086 enableval=$enable_textfile;
8087 if test "$enableval" = yes; then
8088 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8089 else
8090 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8091 fi
8092
8093 else
8094
8095 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8096
8097 fi
8098
8099
8100 eval "$wx_cv_use_textfile"
8101
8102 if test x"$enablestring" = xdisable; then
8103 if test $wxUSE_TEXTFILE = no; then
8104 result=yes
8105 else
8106 result=no
8107 fi
8108 else
8109 result=$wxUSE_TEXTFILE
8110 fi
8111
8112 { echo "$as_me:$LINENO: result: $result" >&5
8113 echo "${ECHO_T}$result" >&6; }
8114
8115
8116 enablestring=
8117 defaultval=$wxUSE_ALL_FEATURES
8118 if test -z "$defaultval"; then
8119 if test x"$enablestring" = xdisable; then
8120 defaultval=yes
8121 else
8122 defaultval=no
8123 fi
8124 fi
8125
8126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8128 # Check whether --enable-timer was given.
8129 if test "${enable_timer+set}" = set; then
8130 enableval=$enable_timer;
8131 if test "$enableval" = yes; then
8132 wx_cv_use_timer='wxUSE_TIMER=yes'
8133 else
8134 wx_cv_use_timer='wxUSE_TIMER=no'
8135 fi
8136
8137 else
8138
8139 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8140
8141 fi
8142
8143
8144 eval "$wx_cv_use_timer"
8145
8146 if test x"$enablestring" = xdisable; then
8147 if test $wxUSE_TIMER = no; then
8148 result=yes
8149 else
8150 result=no
8151 fi
8152 else
8153 result=$wxUSE_TIMER
8154 fi
8155
8156 { echo "$as_me:$LINENO: result: $result" >&5
8157 echo "${ECHO_T}$result" >&6; }
8158
8159
8160 enablestring=
8161 defaultval=$wxUSE_ALL_FEATURES
8162 if test -z "$defaultval"; then
8163 if test x"$enablestring" = xdisable; then
8164 defaultval=yes
8165 else
8166 defaultval=no
8167 fi
8168 fi
8169
8170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8171 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8172 # Check whether --enable-variant was given.
8173 if test "${enable_variant+set}" = set; then
8174 enableval=$enable_variant;
8175 if test "$enableval" = yes; then
8176 wx_cv_use_variant='wxUSE_VARIANT=yes'
8177 else
8178 wx_cv_use_variant='wxUSE_VARIANT=no'
8179 fi
8180
8181 else
8182
8183 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8184
8185 fi
8186
8187
8188 eval "$wx_cv_use_variant"
8189
8190 if test x"$enablestring" = xdisable; then
8191 if test $wxUSE_VARIANT = no; then
8192 result=yes
8193 else
8194 result=no
8195 fi
8196 else
8197 result=$wxUSE_VARIANT
8198 fi
8199
8200 { echo "$as_me:$LINENO: result: $result" >&5
8201 echo "${ECHO_T}$result" >&6; }
8202
8203
8204 enablestring=
8205 defaultval=$wxUSE_ALL_FEATURES
8206 if test -z "$defaultval"; then
8207 if test x"$enablestring" = xdisable; then
8208 defaultval=yes
8209 else
8210 defaultval=no
8211 fi
8212 fi
8213
8214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8215 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8216 # Check whether --enable-zipstream was given.
8217 if test "${enable_zipstream+set}" = set; then
8218 enableval=$enable_zipstream;
8219 if test "$enableval" = yes; then
8220 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8221 else
8222 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8223 fi
8224
8225 else
8226
8227 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8228
8229 fi
8230
8231
8232 eval "$wx_cv_use_zipstream"
8233
8234 if test x"$enablestring" = xdisable; then
8235 if test $wxUSE_ZIPSTREAM = no; then
8236 result=yes
8237 else
8238 result=no
8239 fi
8240 else
8241 result=$wxUSE_ZIPSTREAM
8242 fi
8243
8244 { echo "$as_me:$LINENO: result: $result" >&5
8245 echo "${ECHO_T}$result" >&6; }
8246
8247
8248
8249 enablestring=
8250 defaultval=$wxUSE_ALL_FEATURES
8251 if test -z "$defaultval"; then
8252 if test x"$enablestring" = xdisable; then
8253 defaultval=yes
8254 else
8255 defaultval=no
8256 fi
8257 fi
8258
8259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8260 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8261 # Check whether --enable-url was given.
8262 if test "${enable_url+set}" = set; then
8263 enableval=$enable_url;
8264 if test "$enableval" = yes; then
8265 wx_cv_use_url='wxUSE_URL=yes'
8266 else
8267 wx_cv_use_url='wxUSE_URL=no'
8268 fi
8269
8270 else
8271
8272 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8273
8274 fi
8275
8276
8277 eval "$wx_cv_use_url"
8278
8279 if test x"$enablestring" = xdisable; then
8280 if test $wxUSE_URL = no; then
8281 result=yes
8282 else
8283 result=no
8284 fi
8285 else
8286 result=$wxUSE_URL
8287 fi
8288
8289 { echo "$as_me:$LINENO: result: $result" >&5
8290 echo "${ECHO_T}$result" >&6; }
8291
8292
8293 enablestring=
8294 defaultval=$wxUSE_ALL_FEATURES
8295 if test -z "$defaultval"; then
8296 if test x"$enablestring" = xdisable; then
8297 defaultval=yes
8298 else
8299 defaultval=no
8300 fi
8301 fi
8302
8303 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8304 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8305 # Check whether --enable-protocol was given.
8306 if test "${enable_protocol+set}" = set; then
8307 enableval=$enable_protocol;
8308 if test "$enableval" = yes; then
8309 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8310 else
8311 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8312 fi
8313
8314 else
8315
8316 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8317
8318 fi
8319
8320
8321 eval "$wx_cv_use_protocol"
8322
8323 if test x"$enablestring" = xdisable; then
8324 if test $wxUSE_PROTOCOL = no; then
8325 result=yes
8326 else
8327 result=no
8328 fi
8329 else
8330 result=$wxUSE_PROTOCOL
8331 fi
8332
8333 { echo "$as_me:$LINENO: result: $result" >&5
8334 echo "${ECHO_T}$result" >&6; }
8335
8336
8337 enablestring=
8338 defaultval=$wxUSE_ALL_FEATURES
8339 if test -z "$defaultval"; then
8340 if test x"$enablestring" = xdisable; then
8341 defaultval=yes
8342 else
8343 defaultval=no
8344 fi
8345 fi
8346
8347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8348 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8349 # Check whether --enable-protocol_http was given.
8350 if test "${enable_protocol_http+set}" = set; then
8351 enableval=$enable_protocol_http;
8352 if test "$enableval" = yes; then
8353 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8354 else
8355 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8356 fi
8357
8358 else
8359
8360 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8361
8362 fi
8363
8364
8365 eval "$wx_cv_use_protocol_http"
8366
8367 if test x"$enablestring" = xdisable; then
8368 if test $wxUSE_PROTOCOL_HTTP = no; then
8369 result=yes
8370 else
8371 result=no
8372 fi
8373 else
8374 result=$wxUSE_PROTOCOL_HTTP
8375 fi
8376
8377 { echo "$as_me:$LINENO: result: $result" >&5
8378 echo "${ECHO_T}$result" >&6; }
8379
8380
8381 enablestring=
8382 defaultval=$wxUSE_ALL_FEATURES
8383 if test -z "$defaultval"; then
8384 if test x"$enablestring" = xdisable; then
8385 defaultval=yes
8386 else
8387 defaultval=no
8388 fi
8389 fi
8390
8391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8392 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8393 # Check whether --enable-protocol_ftp was given.
8394 if test "${enable_protocol_ftp+set}" = set; then
8395 enableval=$enable_protocol_ftp;
8396 if test "$enableval" = yes; then
8397 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8398 else
8399 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8400 fi
8401
8402 else
8403
8404 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8405
8406 fi
8407
8408
8409 eval "$wx_cv_use_protocol_ftp"
8410
8411 if test x"$enablestring" = xdisable; then
8412 if test $wxUSE_PROTOCOL_FTP = no; then
8413 result=yes
8414 else
8415 result=no
8416 fi
8417 else
8418 result=$wxUSE_PROTOCOL_FTP
8419 fi
8420
8421 { echo "$as_me:$LINENO: result: $result" >&5
8422 echo "${ECHO_T}$result" >&6; }
8423
8424
8425 enablestring=
8426 defaultval=$wxUSE_ALL_FEATURES
8427 if test -z "$defaultval"; then
8428 if test x"$enablestring" = xdisable; then
8429 defaultval=yes
8430 else
8431 defaultval=no
8432 fi
8433 fi
8434
8435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8436 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8437 # Check whether --enable-protocol_file was given.
8438 if test "${enable_protocol_file+set}" = set; then
8439 enableval=$enable_protocol_file;
8440 if test "$enableval" = yes; then
8441 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8442 else
8443 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8444 fi
8445
8446 else
8447
8448 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8449
8450 fi
8451
8452
8453 eval "$wx_cv_use_protocol_file"
8454
8455 if test x"$enablestring" = xdisable; then
8456 if test $wxUSE_PROTOCOL_FILE = no; then
8457 result=yes
8458 else
8459 result=no
8460 fi
8461 else
8462 result=$wxUSE_PROTOCOL_FILE
8463 fi
8464
8465 { echo "$as_me:$LINENO: result: $result" >&5
8466 echo "${ECHO_T}$result" >&6; }
8467
8468
8469
8470 enablestring=
8471 defaultval=$wxUSE_ALL_FEATURES
8472 if test -z "$defaultval"; then
8473 if test x"$enablestring" = xdisable; then
8474 defaultval=yes
8475 else
8476 defaultval=no
8477 fi
8478 fi
8479
8480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8482 # Check whether --enable-threads was given.
8483 if test "${enable_threads+set}" = set; then
8484 enableval=$enable_threads;
8485 if test "$enableval" = yes; then
8486 wx_cv_use_threads='wxUSE_THREADS=yes'
8487 else
8488 wx_cv_use_threads='wxUSE_THREADS=no'
8489 fi
8490
8491 else
8492
8493 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8494
8495 fi
8496
8497
8498 eval "$wx_cv_use_threads"
8499
8500 if test x"$enablestring" = xdisable; then
8501 if test $wxUSE_THREADS = no; then
8502 result=yes
8503 else
8504 result=no
8505 fi
8506 else
8507 result=$wxUSE_THREADS
8508 fi
8509
8510 { echo "$as_me:$LINENO: result: $result" >&5
8511 echo "${ECHO_T}$result" >&6; }
8512
8513
8514
8515 enablestring=
8516 defaultval=
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}-iniconf" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8527 # Check whether --enable-iniconf was given.
8528 if test "${enable_iniconf+set}" = set; then
8529 enableval=$enable_iniconf;
8530 if test "$enableval" = yes; then
8531 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8532 else
8533 wx_cv_use_iniconf='wxUSE_INICONF=no'
8534 fi
8535
8536 else
8537
8538 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8539
8540 fi
8541
8542
8543 eval "$wx_cv_use_iniconf"
8544
8545 if test x"$enablestring" = xdisable; then
8546 if test $wxUSE_INICONF = no; then
8547 result=yes
8548 else
8549 result=no
8550 fi
8551 else
8552 result=$wxUSE_INICONF
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}-regkey" >&5
8570 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8571 # Check whether --enable-regkey was given.
8572 if test "${enable_regkey+set}" = set; then
8573 enableval=$enable_regkey;
8574 if test "$enableval" = yes; then
8575 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8576 else
8577 wx_cv_use_regkey='wxUSE_REGKEY=no'
8578 fi
8579
8580 else
8581
8582 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8583
8584 fi
8585
8586
8587 eval "$wx_cv_use_regkey"
8588
8589 if test x"$enablestring" = xdisable; then
8590 if test $wxUSE_REGKEY = no; then
8591 result=yes
8592 else
8593 result=no
8594 fi
8595 else
8596 result=$wxUSE_REGKEY
8597 fi
8598
8599 { echo "$as_me:$LINENO: result: $result" >&5
8600 echo "${ECHO_T}$result" >&6; }
8601
8602
8603 if test "$wxUSE_GUI" = "yes"; then
8604
8605
8606
8607 enablestring=
8608 defaultval=$wxUSE_ALL_FEATURES
8609 if test -z "$defaultval"; then
8610 if test x"$enablestring" = xdisable; then
8611 defaultval=yes
8612 else
8613 defaultval=no
8614 fi
8615 fi
8616
8617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8618 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8619 # Check whether --enable-docview was given.
8620 if test "${enable_docview+set}" = set; then
8621 enableval=$enable_docview;
8622 if test "$enableval" = yes; then
8623 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8624 else
8625 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8626 fi
8627
8628 else
8629
8630 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8631
8632 fi
8633
8634
8635 eval "$wx_cv_use_docview"
8636
8637 if test x"$enablestring" = xdisable; then
8638 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8639 result=yes
8640 else
8641 result=no
8642 fi
8643 else
8644 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8645 fi
8646
8647 { echo "$as_me:$LINENO: result: $result" >&5
8648 echo "${ECHO_T}$result" >&6; }
8649
8650
8651 enablestring=
8652 defaultval=$wxUSE_ALL_FEATURES
8653 if test -z "$defaultval"; then
8654 if test x"$enablestring" = xdisable; then
8655 defaultval=yes
8656 else
8657 defaultval=no
8658 fi
8659 fi
8660
8661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8662 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8663 # Check whether --enable-help was given.
8664 if test "${enable_help+set}" = set; then
8665 enableval=$enable_help;
8666 if test "$enableval" = yes; then
8667 wx_cv_use_help='wxUSE_HELP=yes'
8668 else
8669 wx_cv_use_help='wxUSE_HELP=no'
8670 fi
8671
8672 else
8673
8674 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8675
8676 fi
8677
8678
8679 eval "$wx_cv_use_help"
8680
8681 if test x"$enablestring" = xdisable; then
8682 if test $wxUSE_HELP = no; then
8683 result=yes
8684 else
8685 result=no
8686 fi
8687 else
8688 result=$wxUSE_HELP
8689 fi
8690
8691 { echo "$as_me:$LINENO: result: $result" >&5
8692 echo "${ECHO_T}$result" >&6; }
8693
8694
8695 enablestring=
8696 defaultval=$wxUSE_ALL_FEATURES
8697 if test -z "$defaultval"; then
8698 if test x"$enablestring" = xdisable; then
8699 defaultval=yes
8700 else
8701 defaultval=no
8702 fi
8703 fi
8704
8705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8706 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8707 # Check whether --enable-mshtmlhelp was given.
8708 if test "${enable_mshtmlhelp+set}" = set; then
8709 enableval=$enable_mshtmlhelp;
8710 if test "$enableval" = yes; then
8711 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8712 else
8713 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8714 fi
8715
8716 else
8717
8718 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8719
8720 fi
8721
8722
8723 eval "$wx_cv_use_mshtmlhelp"
8724
8725 if test x"$enablestring" = xdisable; then
8726 if test $wxUSE_MS_HTML_HELP = no; then
8727 result=yes
8728 else
8729 result=no
8730 fi
8731 else
8732 result=$wxUSE_MS_HTML_HELP
8733 fi
8734
8735 { echo "$as_me:$LINENO: result: $result" >&5
8736 echo "${ECHO_T}$result" >&6; }
8737
8738
8739 enablestring=
8740 defaultval=$wxUSE_ALL_FEATURES
8741 if test -z "$defaultval"; then
8742 if test x"$enablestring" = xdisable; then
8743 defaultval=yes
8744 else
8745 defaultval=no
8746 fi
8747 fi
8748
8749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8750 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8751 # Check whether --enable-html was given.
8752 if test "${enable_html+set}" = set; then
8753 enableval=$enable_html;
8754 if test "$enableval" = yes; then
8755 wx_cv_use_html='wxUSE_HTML=yes'
8756 else
8757 wx_cv_use_html='wxUSE_HTML=no'
8758 fi
8759
8760 else
8761
8762 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8763
8764 fi
8765
8766
8767 eval "$wx_cv_use_html"
8768
8769 if test x"$enablestring" = xdisable; then
8770 if test $wxUSE_HTML = no; then
8771 result=yes
8772 else
8773 result=no
8774 fi
8775 else
8776 result=$wxUSE_HTML
8777 fi
8778
8779 { echo "$as_me:$LINENO: result: $result" >&5
8780 echo "${ECHO_T}$result" >&6; }
8781
8782
8783 enablestring=
8784 defaultval=$wxUSE_ALL_FEATURES
8785 if test -z "$defaultval"; then
8786 if test x"$enablestring" = xdisable; then
8787 defaultval=yes
8788 else
8789 defaultval=no
8790 fi
8791 fi
8792
8793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8794 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8795 # Check whether --enable-htmlhelp was given.
8796 if test "${enable_htmlhelp+set}" = set; then
8797 enableval=$enable_htmlhelp;
8798 if test "$enableval" = yes; then
8799 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8800 else
8801 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8802 fi
8803
8804 else
8805
8806 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8807
8808 fi
8809
8810
8811 eval "$wx_cv_use_htmlhelp"
8812
8813 if test x"$enablestring" = xdisable; then
8814 if test $wxUSE_WXHTML_HELP = no; then
8815 result=yes
8816 else
8817 result=no
8818 fi
8819 else
8820 result=$wxUSE_WXHTML_HELP
8821 fi
8822
8823 { echo "$as_me:$LINENO: result: $result" >&5
8824 echo "${ECHO_T}$result" >&6; }
8825
8826
8827 enablestring=
8828 defaultval=$wxUSE_ALL_FEATURES
8829 if test -z "$defaultval"; then
8830 if test x"$enablestring" = xdisable; then
8831 defaultval=yes
8832 else
8833 defaultval=no
8834 fi
8835 fi
8836
8837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8838 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8839 # Check whether --enable-xrc was given.
8840 if test "${enable_xrc+set}" = set; then
8841 enableval=$enable_xrc;
8842 if test "$enableval" = yes; then
8843 wx_cv_use_xrc='wxUSE_XRC=yes'
8844 else
8845 wx_cv_use_xrc='wxUSE_XRC=no'
8846 fi
8847
8848 else
8849
8850 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8851
8852 fi
8853
8854
8855 eval "$wx_cv_use_xrc"
8856
8857 if test x"$enablestring" = xdisable; then
8858 if test $wxUSE_XRC = no; then
8859 result=yes
8860 else
8861 result=no
8862 fi
8863 else
8864 result=$wxUSE_XRC
8865 fi
8866
8867 { echo "$as_me:$LINENO: result: $result" >&5
8868 echo "${ECHO_T}$result" >&6; }
8869
8870
8871 enablestring=
8872 defaultval=$wxUSE_ALL_FEATURES
8873 if test -z "$defaultval"; then
8874 if test x"$enablestring" = xdisable; then
8875 defaultval=yes
8876 else
8877 defaultval=no
8878 fi
8879 fi
8880
8881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8882 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8883 # Check whether --enable-aui was given.
8884 if test "${enable_aui+set}" = set; then
8885 enableval=$enable_aui;
8886 if test "$enableval" = yes; then
8887 wx_cv_use_aui='wxUSE_AUI=yes'
8888 else
8889 wx_cv_use_aui='wxUSE_AUI=no'
8890 fi
8891
8892 else
8893
8894 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8895
8896 fi
8897
8898
8899 eval "$wx_cv_use_aui"
8900
8901 if test x"$enablestring" = xdisable; then
8902 if test $wxUSE_AUI = no; then
8903 result=yes
8904 else
8905 result=no
8906 fi
8907 else
8908 result=$wxUSE_AUI
8909 fi
8910
8911 { echo "$as_me:$LINENO: result: $result" >&5
8912 echo "${ECHO_T}$result" >&6; }
8913
8914
8915 enablestring=
8916 defaultval=$wxUSE_ALL_FEATURES
8917 if test -z "$defaultval"; then
8918 if test x"$enablestring" = xdisable; then
8919 defaultval=yes
8920 else
8921 defaultval=no
8922 fi
8923 fi
8924
8925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8926 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8927 # Check whether --enable-propgrid was given.
8928 if test "${enable_propgrid+set}" = set; then
8929 enableval=$enable_propgrid;
8930 if test "$enableval" = yes; then
8931 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8932 else
8933 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8934 fi
8935
8936 else
8937
8938 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8939
8940 fi
8941
8942
8943 eval "$wx_cv_use_propgrid"
8944
8945 if test x"$enablestring" = xdisable; then
8946 if test $wxUSE_PROPGRID = no; then
8947 result=yes
8948 else
8949 result=no
8950 fi
8951 else
8952 result=$wxUSE_PROPGRID
8953 fi
8954
8955 { echo "$as_me:$LINENO: result: $result" >&5
8956 echo "${ECHO_T}$result" >&6; }
8957
8958
8959 enablestring=
8960 defaultval=$wxUSE_ALL_FEATURES
8961 if test -z "$defaultval"; then
8962 if test x"$enablestring" = xdisable; then
8963 defaultval=yes
8964 else
8965 defaultval=no
8966 fi
8967 fi
8968
8969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8970 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8971 # Check whether --enable-ribbon was given.
8972 if test "${enable_ribbon+set}" = set; then
8973 enableval=$enable_ribbon;
8974 if test "$enableval" = yes; then
8975 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8976 else
8977 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8978 fi
8979
8980 else
8981
8982 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8983
8984 fi
8985
8986
8987 eval "$wx_cv_use_ribbon"
8988
8989 if test x"$enablestring" = xdisable; then
8990 if test $wxUSE_RIBBON = no; then
8991 result=yes
8992 else
8993 result=no
8994 fi
8995 else
8996 result=$wxUSE_RIBBON
8997 fi
8998
8999 { echo "$as_me:$LINENO: result: $result" >&5
9000 echo "${ECHO_T}$result" >&6; }
9001
9002
9003 enablestring=
9004 defaultval=$wxUSE_ALL_FEATURES
9005 if test -z "$defaultval"; then
9006 if test x"$enablestring" = xdisable; then
9007 defaultval=yes
9008 else
9009 defaultval=no
9010 fi
9011 fi
9012
9013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9014 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9015 # Check whether --enable-stc was given.
9016 if test "${enable_stc+set}" = set; then
9017 enableval=$enable_stc;
9018 if test "$enableval" = yes; then
9019 wx_cv_use_stc='wxUSE_STC=yes'
9020 else
9021 wx_cv_use_stc='wxUSE_STC=no'
9022 fi
9023
9024 else
9025
9026 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9027
9028 fi
9029
9030
9031 eval "$wx_cv_use_stc"
9032
9033 if test x"$enablestring" = xdisable; then
9034 if test $wxUSE_STC = no; then
9035 result=yes
9036 else
9037 result=no
9038 fi
9039 else
9040 result=$wxUSE_STC
9041 fi
9042
9043 { echo "$as_me:$LINENO: result: $result" >&5
9044 echo "${ECHO_T}$result" >&6; }
9045
9046
9047 enablestring=
9048 defaultval=$wxUSE_ALL_FEATURES
9049 if test -z "$defaultval"; then
9050 if test x"$enablestring" = xdisable; then
9051 defaultval=yes
9052 else
9053 defaultval=no
9054 fi
9055 fi
9056
9057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9058 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9059 # Check whether --enable-constraints was given.
9060 if test "${enable_constraints+set}" = set; then
9061 enableval=$enable_constraints;
9062 if test "$enableval" = yes; then
9063 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9064 else
9065 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9066 fi
9067
9068 else
9069
9070 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9071
9072 fi
9073
9074
9075 eval "$wx_cv_use_constraints"
9076
9077 if test x"$enablestring" = xdisable; then
9078 if test $wxUSE_CONSTRAINTS = no; then
9079 result=yes
9080 else
9081 result=no
9082 fi
9083 else
9084 result=$wxUSE_CONSTRAINTS
9085 fi
9086
9087 { echo "$as_me:$LINENO: result: $result" >&5
9088 echo "${ECHO_T}$result" >&6; }
9089
9090
9091 enablestring=
9092 defaultval=$wxUSE_ALL_FEATURES
9093 if test -z "$defaultval"; then
9094 if test x"$enablestring" = xdisable; then
9095 defaultval=yes
9096 else
9097 defaultval=no
9098 fi
9099 fi
9100
9101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9103 # Check whether --enable-loggui was given.
9104 if test "${enable_loggui+set}" = set; then
9105 enableval=$enable_loggui;
9106 if test "$enableval" = yes; then
9107 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9108 else
9109 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9110 fi
9111
9112 else
9113
9114 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9115
9116 fi
9117
9118
9119 eval "$wx_cv_use_loggui"
9120
9121 if test x"$enablestring" = xdisable; then
9122 if test $wxUSE_LOGGUI = no; then
9123 result=yes
9124 else
9125 result=no
9126 fi
9127 else
9128 result=$wxUSE_LOGGUI
9129 fi
9130
9131 { echo "$as_me:$LINENO: result: $result" >&5
9132 echo "${ECHO_T}$result" >&6; }
9133
9134
9135 enablestring=
9136 defaultval=$wxUSE_ALL_FEATURES
9137 if test -z "$defaultval"; then
9138 if test x"$enablestring" = xdisable; then
9139 defaultval=yes
9140 else
9141 defaultval=no
9142 fi
9143 fi
9144
9145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9147 # Check whether --enable-logwin was given.
9148 if test "${enable_logwin+set}" = set; then
9149 enableval=$enable_logwin;
9150 if test "$enableval" = yes; then
9151 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9152 else
9153 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9154 fi
9155
9156 else
9157
9158 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9159
9160 fi
9161
9162
9163 eval "$wx_cv_use_logwin"
9164
9165 if test x"$enablestring" = xdisable; then
9166 if test $wxUSE_LOGWINDOW = no; then
9167 result=yes
9168 else
9169 result=no
9170 fi
9171 else
9172 result=$wxUSE_LOGWINDOW
9173 fi
9174
9175 { echo "$as_me:$LINENO: result: $result" >&5
9176 echo "${ECHO_T}$result" >&6; }
9177
9178
9179 enablestring=
9180 defaultval=$wxUSE_ALL_FEATURES
9181 if test -z "$defaultval"; then
9182 if test x"$enablestring" = xdisable; then
9183 defaultval=yes
9184 else
9185 defaultval=no
9186 fi
9187 fi
9188
9189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9190 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9191 # Check whether --enable-logdialog was given.
9192 if test "${enable_logdialog+set}" = set; then
9193 enableval=$enable_logdialog;
9194 if test "$enableval" = yes; then
9195 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9196 else
9197 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9198 fi
9199
9200 else
9201
9202 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9203
9204 fi
9205
9206
9207 eval "$wx_cv_use_logdialog"
9208
9209 if test x"$enablestring" = xdisable; then
9210 if test $wxUSE_LOGDIALOG = no; then
9211 result=yes
9212 else
9213 result=no
9214 fi
9215 else
9216 result=$wxUSE_LOGDIALOG
9217 fi
9218
9219 { echo "$as_me:$LINENO: result: $result" >&5
9220 echo "${ECHO_T}$result" >&6; }
9221
9222
9223 enablestring=
9224 defaultval=$wxUSE_ALL_FEATURES
9225 if test -z "$defaultval"; then
9226 if test x"$enablestring" = xdisable; then
9227 defaultval=yes
9228 else
9229 defaultval=no
9230 fi
9231 fi
9232
9233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9234 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9235 # Check whether --enable-mdi was given.
9236 if test "${enable_mdi+set}" = set; then
9237 enableval=$enable_mdi;
9238 if test "$enableval" = yes; then
9239 wx_cv_use_mdi='wxUSE_MDI=yes'
9240 else
9241 wx_cv_use_mdi='wxUSE_MDI=no'
9242 fi
9243
9244 else
9245
9246 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9247
9248 fi
9249
9250
9251 eval "$wx_cv_use_mdi"
9252
9253 if test x"$enablestring" = xdisable; then
9254 if test $wxUSE_MDI = no; then
9255 result=yes
9256 else
9257 result=no
9258 fi
9259 else
9260 result=$wxUSE_MDI
9261 fi
9262
9263 { echo "$as_me:$LINENO: result: $result" >&5
9264 echo "${ECHO_T}$result" >&6; }
9265
9266
9267 enablestring=
9268 defaultval=$wxUSE_ALL_FEATURES
9269 if test -z "$defaultval"; then
9270 if test x"$enablestring" = xdisable; then
9271 defaultval=yes
9272 else
9273 defaultval=no
9274 fi
9275 fi
9276
9277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9278 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9279 # Check whether --enable-mdidoc was given.
9280 if test "${enable_mdidoc+set}" = set; then
9281 enableval=$enable_mdidoc;
9282 if test "$enableval" = yes; then
9283 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9284 else
9285 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9286 fi
9287
9288 else
9289
9290 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9291
9292 fi
9293
9294
9295 eval "$wx_cv_use_mdidoc"
9296
9297 if test x"$enablestring" = xdisable; then
9298 if test $wxUSE_MDI_ARCHITECTURE = no; then
9299 result=yes
9300 else
9301 result=no
9302 fi
9303 else
9304 result=$wxUSE_MDI_ARCHITECTURE
9305 fi
9306
9307 { echo "$as_me:$LINENO: result: $result" >&5
9308 echo "${ECHO_T}$result" >&6; }
9309
9310
9311 enablestring=
9312 defaultval=$wxUSE_ALL_FEATURES
9313 if test -z "$defaultval"; then
9314 if test x"$enablestring" = xdisable; then
9315 defaultval=yes
9316 else
9317 defaultval=no
9318 fi
9319 fi
9320
9321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9322 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9323 # Check whether --enable-mediactrl was given.
9324 if test "${enable_mediactrl+set}" = set; then
9325 enableval=$enable_mediactrl;
9326 if test "$enableval" = yes; then
9327 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9328 else
9329 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9330 fi
9331
9332 else
9333
9334 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9335
9336 fi
9337
9338
9339 eval "$wx_cv_use_mediactrl"
9340
9341 if test x"$enablestring" = xdisable; then
9342 if test $wxUSE_MEDIACTRL = no; then
9343 result=yes
9344 else
9345 result=no
9346 fi
9347 else
9348 result=$wxUSE_MEDIACTRL
9349 fi
9350
9351 { echo "$as_me:$LINENO: result: $result" >&5
9352 echo "${ECHO_T}$result" >&6; }
9353
9354
9355 enablestring=
9356 defaultval=$wxUSE_ALL_FEATURES
9357 if test -z "$defaultval"; then
9358 if test x"$enablestring" = xdisable; then
9359 defaultval=yes
9360 else
9361 defaultval=no
9362 fi
9363 fi
9364
9365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9366 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9367 # Check whether --enable-gstreamer8 was given.
9368 if test "${enable_gstreamer8+set}" = set; then
9369 enableval=$enable_gstreamer8;
9370 if test "$enableval" = yes; then
9371 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9372 else
9373 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9374 fi
9375
9376 else
9377
9378 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9379
9380 fi
9381
9382
9383 eval "$wx_cv_use_gstreamer8"
9384
9385 if test x"$enablestring" = xdisable; then
9386 if test $wxUSE_GSTREAMER8 = no; then
9387 result=yes
9388 else
9389 result=no
9390 fi
9391 else
9392 result=$wxUSE_GSTREAMER8
9393 fi
9394
9395 { echo "$as_me:$LINENO: result: $result" >&5
9396 echo "${ECHO_T}$result" >&6; }
9397
9398
9399 enablestring=
9400 defaultval=$wxUSE_ALL_FEATURES
9401 if test -z "$defaultval"; then
9402 if test x"$enablestring" = xdisable; then
9403 defaultval=yes
9404 else
9405 defaultval=no
9406 fi
9407 fi
9408
9409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9410 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9411 # Check whether --enable-webkit was given.
9412 if test "${enable_webkit+set}" = set; then
9413 enableval=$enable_webkit;
9414 if test "$enableval" = yes; then
9415 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9416 else
9417 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9418 fi
9419
9420 else
9421
9422 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9423
9424 fi
9425
9426
9427 eval "$wx_cv_use_webkit"
9428
9429 if test x"$enablestring" = xdisable; then
9430 if test $wxUSE_WEBKIT = no; then
9431 result=yes
9432 else
9433 result=no
9434 fi
9435 else
9436 result=$wxUSE_WEBKIT
9437 fi
9438
9439 { echo "$as_me:$LINENO: result: $result" >&5
9440 echo "${ECHO_T}$result" >&6; }
9441
9442
9443 enablestring=
9444 defaultval=$wxUSE_ALL_FEATURES
9445 if test -z "$defaultval"; then
9446 if test x"$enablestring" = xdisable; then
9447 defaultval=yes
9448 else
9449 defaultval=no
9450 fi
9451 fi
9452
9453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9454 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9455 # Check whether --enable-richtext was given.
9456 if test "${enable_richtext+set}" = set; then
9457 enableval=$enable_richtext;
9458 if test "$enableval" = yes; then
9459 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9460 else
9461 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9462 fi
9463
9464 else
9465
9466 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9467
9468 fi
9469
9470
9471 eval "$wx_cv_use_richtext"
9472
9473 if test x"$enablestring" = xdisable; then
9474 if test $wxUSE_RICHTEXT = no; then
9475 result=yes
9476 else
9477 result=no
9478 fi
9479 else
9480 result=$wxUSE_RICHTEXT
9481 fi
9482
9483 { echo "$as_me:$LINENO: result: $result" >&5
9484 echo "${ECHO_T}$result" >&6; }
9485
9486
9487 enablestring=
9488 defaultval=$wxUSE_ALL_FEATURES
9489 if test -z "$defaultval"; then
9490 if test x"$enablestring" = xdisable; then
9491 defaultval=yes
9492 else
9493 defaultval=no
9494 fi
9495 fi
9496
9497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9498 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9499 # Check whether --enable-postscript was given.
9500 if test "${enable_postscript+set}" = set; then
9501 enableval=$enable_postscript;
9502 if test "$enableval" = yes; then
9503 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9504 else
9505 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9506 fi
9507
9508 else
9509
9510 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9511
9512 fi
9513
9514
9515 eval "$wx_cv_use_postscript"
9516
9517 if test x"$enablestring" = xdisable; then
9518 if test $wxUSE_POSTSCRIPT = no; then
9519 result=yes
9520 else
9521 result=no
9522 fi
9523 else
9524 result=$wxUSE_POSTSCRIPT
9525 fi
9526
9527 { echo "$as_me:$LINENO: result: $result" >&5
9528 echo "${ECHO_T}$result" >&6; }
9529
9530
9531 enablestring=
9532 defaultval=$wxUSE_ALL_FEATURES
9533 if test -z "$defaultval"; then
9534 if test x"$enablestring" = xdisable; then
9535 defaultval=yes
9536 else
9537 defaultval=no
9538 fi
9539 fi
9540
9541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9542 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9543 # Check whether --enable-printarch was given.
9544 if test "${enable_printarch+set}" = set; then
9545 enableval=$enable_printarch;
9546 if test "$enableval" = yes; then
9547 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9548 else
9549 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9550 fi
9551
9552 else
9553
9554 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9555
9556 fi
9557
9558
9559 eval "$wx_cv_use_printarch"
9560
9561 if test x"$enablestring" = xdisable; then
9562 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9563 result=yes
9564 else
9565 result=no
9566 fi
9567 else
9568 result=$wxUSE_PRINTING_ARCHITECTURE
9569 fi
9570
9571 { echo "$as_me:$LINENO: result: $result" >&5
9572 echo "${ECHO_T}$result" >&6; }
9573
9574
9575 enablestring=
9576 defaultval=$wxUSE_ALL_FEATURES
9577 if test -z "$defaultval"; then
9578 if test x"$enablestring" = xdisable; then
9579 defaultval=yes
9580 else
9581 defaultval=no
9582 fi
9583 fi
9584
9585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9586 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9587 # Check whether --enable-svg was given.
9588 if test "${enable_svg+set}" = set; then
9589 enableval=$enable_svg;
9590 if test "$enableval" = yes; then
9591 wx_cv_use_svg='wxUSE_SVG=yes'
9592 else
9593 wx_cv_use_svg='wxUSE_SVG=no'
9594 fi
9595
9596 else
9597
9598 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9599
9600 fi
9601
9602
9603 eval "$wx_cv_use_svg"
9604
9605 if test x"$enablestring" = xdisable; then
9606 if test $wxUSE_SVG = no; then
9607 result=yes
9608 else
9609 result=no
9610 fi
9611 else
9612 result=$wxUSE_SVG
9613 fi
9614
9615 { echo "$as_me:$LINENO: result: $result" >&5
9616 echo "${ECHO_T}$result" >&6; }
9617
9618
9619 if test "$wxUSE_MAC" != 1; then
9620
9621 enablestring=
9622 defaultval=$wxUSE_ALL_FEATURES
9623 if test -z "$defaultval"; then
9624 if test x"$enablestring" = xdisable; then
9625 defaultval=yes
9626 else
9627 defaultval=no
9628 fi
9629 fi
9630
9631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9632 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9633 # Check whether --enable-graphics_ctx was given.
9634 if test "${enable_graphics_ctx+set}" = set; then
9635 enableval=$enable_graphics_ctx;
9636 if test "$enableval" = yes; then
9637 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9638 else
9639 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9640 fi
9641
9642 else
9643
9644 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9645
9646 fi
9647
9648
9649 eval "$wx_cv_use_graphics_ctx"
9650
9651 if test x"$enablestring" = xdisable; then
9652 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9653 result=yes
9654 else
9655 result=no
9656 fi
9657 else
9658 result=$wxUSE_GRAPHICS_CONTEXT
9659 fi
9660
9661 { echo "$as_me:$LINENO: result: $result" >&5
9662 echo "${ECHO_T}$result" >&6; }
9663
9664 fi
9665
9666
9667
9668 enablestring=
9669 defaultval=$wxUSE_ALL_FEATURES
9670 if test -z "$defaultval"; then
9671 if test x"$enablestring" = xdisable; then
9672 defaultval=yes
9673 else
9674 defaultval=no
9675 fi
9676 fi
9677
9678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9679 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9680 # Check whether --enable-clipboard was given.
9681 if test "${enable_clipboard+set}" = set; then
9682 enableval=$enable_clipboard;
9683 if test "$enableval" = yes; then
9684 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9685 else
9686 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9687 fi
9688
9689 else
9690
9691 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9692
9693 fi
9694
9695
9696 eval "$wx_cv_use_clipboard"
9697
9698 if test x"$enablestring" = xdisable; then
9699 if test $wxUSE_CLIPBOARD = no; then
9700 result=yes
9701 else
9702 result=no
9703 fi
9704 else
9705 result=$wxUSE_CLIPBOARD
9706 fi
9707
9708 { echo "$as_me:$LINENO: result: $result" >&5
9709 echo "${ECHO_T}$result" >&6; }
9710
9711
9712 enablestring=
9713 defaultval=$wxUSE_ALL_FEATURES
9714 if test -z "$defaultval"; then
9715 if test x"$enablestring" = xdisable; then
9716 defaultval=yes
9717 else
9718 defaultval=no
9719 fi
9720 fi
9721
9722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9723 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9724 # Check whether --enable-dnd was given.
9725 if test "${enable_dnd+set}" = set; then
9726 enableval=$enable_dnd;
9727 if test "$enableval" = yes; then
9728 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9729 else
9730 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9731 fi
9732
9733 else
9734
9735 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9736
9737 fi
9738
9739
9740 eval "$wx_cv_use_dnd"
9741
9742 if test x"$enablestring" = xdisable; then
9743 if test $wxUSE_DRAG_AND_DROP = no; then
9744 result=yes
9745 else
9746 result=no
9747 fi
9748 else
9749 result=$wxUSE_DRAG_AND_DROP
9750 fi
9751
9752 { echo "$as_me:$LINENO: result: $result" >&5
9753 echo "${ECHO_T}$result" >&6; }
9754
9755
9756 enablestring=
9757 defaultval=$wxUSE_ALL_FEATURES
9758 if test -z "$defaultval"; then
9759 if test x"$enablestring" = xdisable; then
9760 defaultval=yes
9761 else
9762 defaultval=no
9763 fi
9764 fi
9765
9766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9767 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9768 # Check whether --enable-metafile was given.
9769 if test "${enable_metafile+set}" = set; then
9770 enableval=$enable_metafile;
9771 if test "$enableval" = yes; then
9772 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9773 else
9774 wx_cv_use_metafile='wxUSE_METAFILE=no'
9775 fi
9776
9777 else
9778
9779 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9780
9781 fi
9782
9783
9784 eval "$wx_cv_use_metafile"
9785
9786 if test x"$enablestring" = xdisable; then
9787 if test $wxUSE_METAFILE = no; then
9788 result=yes
9789 else
9790 result=no
9791 fi
9792 else
9793 result=$wxUSE_METAFILE
9794 fi
9795
9796 { echo "$as_me:$LINENO: result: $result" >&5
9797 echo "${ECHO_T}$result" >&6; }
9798
9799
9800
9801 DEFAULT_wxUSE_CONTROLS=none
9802
9803 enablestring=disable
9804 defaultval=
9805 if test -z "$defaultval"; then
9806 if test x"$enablestring" = xdisable; then
9807 defaultval=yes
9808 else
9809 defaultval=no
9810 fi
9811 fi
9812
9813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9814 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9815 # Check whether --enable-controls was given.
9816 if test "${enable_controls+set}" = set; then
9817 enableval=$enable_controls;
9818 if test "$enableval" = yes; then
9819 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9820 else
9821 wx_cv_use_controls='wxUSE_CONTROLS=no'
9822 fi
9823
9824 else
9825
9826 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9827
9828 fi
9829
9830
9831 eval "$wx_cv_use_controls"
9832
9833 if test x"$enablestring" = xdisable; then
9834 if test $wxUSE_CONTROLS = no; then
9835 result=yes
9836 else
9837 result=no
9838 fi
9839 else
9840 result=$wxUSE_CONTROLS
9841 fi
9842
9843 { echo "$as_me:$LINENO: result: $result" >&5
9844 echo "${ECHO_T}$result" >&6; }
9845
9846
9847 if test "$wxUSE_CONTROLS" = "no"; then
9848 DEFAULT_wxUSE_ACCEL=no
9849 DEFAULT_wxUSE_ANIMATIONCTRL=no
9850 DEFAULT_wxUSE_BMPBUTTON=no
9851 DEFAULT_wxUSE_BUTTON=no
9852 DEFAULT_wxUSE_CALCTRL=no
9853 DEFAULT_wxUSE_CARET=no
9854 DEFAULT_wxUSE_CHECKBOX=no
9855 DEFAULT_wxUSE_CHECKLISTBOX=no
9856 DEFAULT_wxUSE_CHOICE=no
9857 DEFAULT_wxUSE_CHOICEBOOK=no
9858 DEFAULT_wxUSE_COLLPANE=no
9859 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9860 DEFAULT_wxUSE_COMBOBOX=no
9861 DEFAULT_wxUSE_COMBOBOX=no
9862 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9863 DEFAULT_wxUSE_DATAVIEWCTRL=no
9864 DEFAULT_wxUSE_DATEPICKCTRL=no
9865 DEFAULT_wxUSE_DETECT_SM=no
9866 DEFAULT_wxUSE_DIRPICKERCTRL=no
9867 DEFAULT_wxUSE_DISPLAY=no
9868 DEFAULT_wxUSE_FILECTRL=no
9869 DEFAULT_wxUSE_FILEPICKERCTRL=no
9870 DEFAULT_wxUSE_FONTPICKERCTRL=no
9871 DEFAULT_wxUSE_GAUGE=no
9872 DEFAULT_wxUSE_GRID=no
9873 DEFAULT_wxUSE_HEADERCTRL=no
9874 DEFAULT_wxUSE_HYPERLINKCTRL=no
9875 DEFAULT_wxUSE_IMAGLIST=no
9876 DEFAULT_wxUSE_LISTBOOK=no
9877 DEFAULT_wxUSE_LISTBOX=no
9878 DEFAULT_wxUSE_LISTCTRL=no
9879 DEFAULT_wxUSE_MARKUP=no
9880 DEFAULT_wxUSE_NOTEBOOK=no
9881 DEFAULT_wxUSE_POPUPWIN=no
9882 DEFAULT_wxUSE_RADIOBOX=no
9883 DEFAULT_wxUSE_RADIOBTN=no
9884 DEFAULT_wxUSE_RICHMSGDLG=no
9885 DEFAULT_wxUSE_REARRANGECTRL=no
9886 DEFAULT_wxUSE_SASH=no
9887 DEFAULT_wxUSE_SCROLLBAR=no
9888 DEFAULT_wxUSE_SEARCHCTRL=no
9889 DEFAULT_wxUSE_SLIDER=no
9890 DEFAULT_wxUSE_SPINBTN=no
9891 DEFAULT_wxUSE_SPINCTRL=no
9892 DEFAULT_wxUSE_SPLITTER=no
9893 DEFAULT_wxUSE_STATBMP=no
9894 DEFAULT_wxUSE_STATBOX=no
9895 DEFAULT_wxUSE_STATLINE=no
9896 DEFAULT_wxUSE_STATUSBAR=no
9897 DEFAULT_wxUSE_TIPWINDOW=no
9898 DEFAULT_wxUSE_TOGGLEBTN=no
9899 DEFAULT_wxUSE_TOOLBAR=no
9900 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9901 DEFAULT_wxUSE_TOOLBOOK=no
9902 DEFAULT_wxUSE_TOOLTIPS=no
9903 DEFAULT_wxUSE_TREEBOOK=no
9904 DEFAULT_wxUSE_TREECTRL=no
9905 fi
9906
9907
9908 enablestring=
9909 defaultval=$wxUSE_ALL_FEATURES
9910 if test -z "$defaultval"; then
9911 if test x"$enablestring" = xdisable; then
9912 defaultval=yes
9913 else
9914 defaultval=no
9915 fi
9916 fi
9917
9918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9919 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9920 # Check whether --enable-markup was given.
9921 if test "${enable_markup+set}" = set; then
9922 enableval=$enable_markup;
9923 if test "$enableval" = yes; then
9924 wx_cv_use_markup='wxUSE_MARKUP=yes'
9925 else
9926 wx_cv_use_markup='wxUSE_MARKUP=no'
9927 fi
9928
9929 else
9930
9931 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9932
9933 fi
9934
9935
9936 eval "$wx_cv_use_markup"
9937
9938 if test x"$enablestring" = xdisable; then
9939 if test $wxUSE_MARKUP = no; then
9940 result=yes
9941 else
9942 result=no
9943 fi
9944 else
9945 result=$wxUSE_MARKUP
9946 fi
9947
9948 { echo "$as_me:$LINENO: result: $result" >&5
9949 echo "${ECHO_T}$result" >&6; }
9950
9951
9952
9953 enablestring=
9954 defaultval=$wxUSE_ALL_FEATURES
9955 if test -z "$defaultval"; then
9956 if test x"$enablestring" = xdisable; then
9957 defaultval=yes
9958 else
9959 defaultval=no
9960 fi
9961 fi
9962
9963 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9964 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9965 # Check whether --enable-accel was given.
9966 if test "${enable_accel+set}" = set; then
9967 enableval=$enable_accel;
9968 if test "$enableval" = yes; then
9969 wx_cv_use_accel='wxUSE_ACCEL=yes'
9970 else
9971 wx_cv_use_accel='wxUSE_ACCEL=no'
9972 fi
9973
9974 else
9975
9976 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9977
9978 fi
9979
9980
9981 eval "$wx_cv_use_accel"
9982
9983 if test x"$enablestring" = xdisable; then
9984 if test $wxUSE_ACCEL = no; then
9985 result=yes
9986 else
9987 result=no
9988 fi
9989 else
9990 result=$wxUSE_ACCEL
9991 fi
9992
9993 { echo "$as_me:$LINENO: result: $result" >&5
9994 echo "${ECHO_T}$result" >&6; }
9995
9996
9997 enablestring=
9998 defaultval=$wxUSE_ALL_FEATURES
9999 if test -z "$defaultval"; then
10000 if test x"$enablestring" = xdisable; then
10001 defaultval=yes
10002 else
10003 defaultval=no
10004 fi
10005 fi
10006
10007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10009 # Check whether --enable-animatectrl was given.
10010 if test "${enable_animatectrl+set}" = set; then
10011 enableval=$enable_animatectrl;
10012 if test "$enableval" = yes; then
10013 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10014 else
10015 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10016 fi
10017
10018 else
10019
10020 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10021
10022 fi
10023
10024
10025 eval "$wx_cv_use_animatectrl"
10026
10027 if test x"$enablestring" = xdisable; then
10028 if test $wxUSE_ANIMATIONCTRL = no; then
10029 result=yes
10030 else
10031 result=no
10032 fi
10033 else
10034 result=$wxUSE_ANIMATIONCTRL
10035 fi
10036
10037 { echo "$as_me:$LINENO: result: $result" >&5
10038 echo "${ECHO_T}$result" >&6; }
10039
10040
10041 enablestring=
10042 defaultval=$wxUSE_ALL_FEATURES
10043 if test -z "$defaultval"; then
10044 if test x"$enablestring" = xdisable; then
10045 defaultval=yes
10046 else
10047 defaultval=no
10048 fi
10049 fi
10050
10051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10053 # Check whether --enable-artstd was given.
10054 if test "${enable_artstd+set}" = set; then
10055 enableval=$enable_artstd;
10056 if test "$enableval" = yes; then
10057 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10058 else
10059 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10060 fi
10061
10062 else
10063
10064 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10065
10066 fi
10067
10068
10069 eval "$wx_cv_use_artstd"
10070
10071 if test x"$enablestring" = xdisable; then
10072 if test $wxUSE_ARTPROVIDER_STD = no; then
10073 result=yes
10074 else
10075 result=no
10076 fi
10077 else
10078 result=$wxUSE_ARTPROVIDER_STD
10079 fi
10080
10081 { echo "$as_me:$LINENO: result: $result" >&5
10082 echo "${ECHO_T}$result" >&6; }
10083
10084
10085 enablestring=
10086 defaultval=$wxUSE_ALL_FEATURES
10087 if test -z "$defaultval"; then
10088 if test x"$enablestring" = xdisable; then
10089 defaultval=yes
10090 else
10091 defaultval=no
10092 fi
10093 fi
10094
10095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10096 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10097 # Check whether --enable-arttango was given.
10098 if test "${enable_arttango+set}" = set; then
10099 enableval=$enable_arttango;
10100 if test "$enableval" = yes; then
10101 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10102 else
10103 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10104 fi
10105
10106 else
10107
10108 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10109
10110 fi
10111
10112
10113 eval "$wx_cv_use_arttango"
10114
10115 if test x"$enablestring" = xdisable; then
10116 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10117 result=yes
10118 else
10119 result=no
10120 fi
10121 else
10122 result=$wxUSE_ARTPROVIDER_TANGO
10123 fi
10124
10125 { echo "$as_me:$LINENO: result: $result" >&5
10126 echo "${ECHO_T}$result" >&6; }
10127
10128
10129 enablestring=
10130 defaultval=$wxUSE_ALL_FEATURES
10131 if test -z "$defaultval"; then
10132 if test x"$enablestring" = xdisable; then
10133 defaultval=yes
10134 else
10135 defaultval=no
10136 fi
10137 fi
10138
10139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10140 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10141 # Check whether --enable-bmpbutton was given.
10142 if test "${enable_bmpbutton+set}" = set; then
10143 enableval=$enable_bmpbutton;
10144 if test "$enableval" = yes; then
10145 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10146 else
10147 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10148 fi
10149
10150 else
10151
10152 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10153
10154 fi
10155
10156
10157 eval "$wx_cv_use_bmpbutton"
10158
10159 if test x"$enablestring" = xdisable; then
10160 if test $wxUSE_BMPBUTTON = no; then
10161 result=yes
10162 else
10163 result=no
10164 fi
10165 else
10166 result=$wxUSE_BMPBUTTON
10167 fi
10168
10169 { echo "$as_me:$LINENO: result: $result" >&5
10170 echo "${ECHO_T}$result" >&6; }
10171
10172
10173 enablestring=
10174 defaultval=$wxUSE_ALL_FEATURES
10175 if test -z "$defaultval"; then
10176 if test x"$enablestring" = xdisable; then
10177 defaultval=yes
10178 else
10179 defaultval=no
10180 fi
10181 fi
10182
10183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10184 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10185 # Check whether --enable-bmpcombobox was given.
10186 if test "${enable_bmpcombobox+set}" = set; then
10187 enableval=$enable_bmpcombobox;
10188 if test "$enableval" = yes; then
10189 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10190 else
10191 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10192 fi
10193
10194 else
10195
10196 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10197
10198 fi
10199
10200
10201 eval "$wx_cv_use_bmpcombobox"
10202
10203 if test x"$enablestring" = xdisable; then
10204 if test $wxUSE_BITMAPCOMBOBOX = no; then
10205 result=yes
10206 else
10207 result=no
10208 fi
10209 else
10210 result=$wxUSE_BITMAPCOMBOBOX
10211 fi
10212
10213 { echo "$as_me:$LINENO: result: $result" >&5
10214 echo "${ECHO_T}$result" >&6; }
10215
10216
10217 enablestring=
10218 defaultval=$wxUSE_ALL_FEATURES
10219 if test -z "$defaultval"; then
10220 if test x"$enablestring" = xdisable; then
10221 defaultval=yes
10222 else
10223 defaultval=no
10224 fi
10225 fi
10226
10227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10228 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10229 # Check whether --enable-button was given.
10230 if test "${enable_button+set}" = set; then
10231 enableval=$enable_button;
10232 if test "$enableval" = yes; then
10233 wx_cv_use_button='wxUSE_BUTTON=yes'
10234 else
10235 wx_cv_use_button='wxUSE_BUTTON=no'
10236 fi
10237
10238 else
10239
10240 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10241
10242 fi
10243
10244
10245 eval "$wx_cv_use_button"
10246
10247 if test x"$enablestring" = xdisable; then
10248 if test $wxUSE_BUTTON = no; then
10249 result=yes
10250 else
10251 result=no
10252 fi
10253 else
10254 result=$wxUSE_BUTTON
10255 fi
10256
10257 { echo "$as_me:$LINENO: result: $result" >&5
10258 echo "${ECHO_T}$result" >&6; }
10259
10260
10261 enablestring=
10262 defaultval=$wxUSE_ALL_FEATURES
10263 if test -z "$defaultval"; then
10264 if test x"$enablestring" = xdisable; then
10265 defaultval=yes
10266 else
10267 defaultval=no
10268 fi
10269 fi
10270
10271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10272 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10273 # Check whether --enable-calendar was given.
10274 if test "${enable_calendar+set}" = set; then
10275 enableval=$enable_calendar;
10276 if test "$enableval" = yes; then
10277 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10278 else
10279 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10280 fi
10281
10282 else
10283
10284 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10285
10286 fi
10287
10288
10289 eval "$wx_cv_use_calendar"
10290
10291 if test x"$enablestring" = xdisable; then
10292 if test $wxUSE_CALCTRL = no; then
10293 result=yes
10294 else
10295 result=no
10296 fi
10297 else
10298 result=$wxUSE_CALCTRL
10299 fi
10300
10301 { echo "$as_me:$LINENO: result: $result" >&5
10302 echo "${ECHO_T}$result" >&6; }
10303
10304
10305 enablestring=
10306 defaultval=$wxUSE_ALL_FEATURES
10307 if test -z "$defaultval"; then
10308 if test x"$enablestring" = xdisable; then
10309 defaultval=yes
10310 else
10311 defaultval=no
10312 fi
10313 fi
10314
10315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10316 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10317 # Check whether --enable-caret was given.
10318 if test "${enable_caret+set}" = set; then
10319 enableval=$enable_caret;
10320 if test "$enableval" = yes; then
10321 wx_cv_use_caret='wxUSE_CARET=yes'
10322 else
10323 wx_cv_use_caret='wxUSE_CARET=no'
10324 fi
10325
10326 else
10327
10328 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10329
10330 fi
10331
10332
10333 eval "$wx_cv_use_caret"
10334
10335 if test x"$enablestring" = xdisable; then
10336 if test $wxUSE_CARET = no; then
10337 result=yes
10338 else
10339 result=no
10340 fi
10341 else
10342 result=$wxUSE_CARET
10343 fi
10344
10345 { echo "$as_me:$LINENO: result: $result" >&5
10346 echo "${ECHO_T}$result" >&6; }
10347
10348
10349 enablestring=
10350 defaultval=$wxUSE_ALL_FEATURES
10351 if test -z "$defaultval"; then
10352 if test x"$enablestring" = xdisable; then
10353 defaultval=yes
10354 else
10355 defaultval=no
10356 fi
10357 fi
10358
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10361 # Check whether --enable-checkbox was given.
10362 if test "${enable_checkbox+set}" = set; then
10363 enableval=$enable_checkbox;
10364 if test "$enableval" = yes; then
10365 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10366 else
10367 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10368 fi
10369
10370 else
10371
10372 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10373
10374 fi
10375
10376
10377 eval "$wx_cv_use_checkbox"
10378
10379 if test x"$enablestring" = xdisable; then
10380 if test $wxUSE_CHECKBOX = no; then
10381 result=yes
10382 else
10383 result=no
10384 fi
10385 else
10386 result=$wxUSE_CHECKBOX
10387 fi
10388
10389 { echo "$as_me:$LINENO: result: $result" >&5
10390 echo "${ECHO_T}$result" >&6; }
10391
10392
10393 enablestring=
10394 defaultval=$wxUSE_ALL_FEATURES
10395 if test -z "$defaultval"; then
10396 if test x"$enablestring" = xdisable; then
10397 defaultval=yes
10398 else
10399 defaultval=no
10400 fi
10401 fi
10402
10403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10404 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10405 # Check whether --enable-checklst was given.
10406 if test "${enable_checklst+set}" = set; then
10407 enableval=$enable_checklst;
10408 if test "$enableval" = yes; then
10409 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10410 else
10411 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10412 fi
10413
10414 else
10415
10416 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10417
10418 fi
10419
10420
10421 eval "$wx_cv_use_checklst"
10422
10423 if test x"$enablestring" = xdisable; then
10424 if test $wxUSE_CHECKLST = no; then
10425 result=yes
10426 else
10427 result=no
10428 fi
10429 else
10430 result=$wxUSE_CHECKLST
10431 fi
10432
10433 { echo "$as_me:$LINENO: result: $result" >&5
10434 echo "${ECHO_T}$result" >&6; }
10435
10436
10437 enablestring=
10438 defaultval=$wxUSE_ALL_FEATURES
10439 if test -z "$defaultval"; then
10440 if test x"$enablestring" = xdisable; then
10441 defaultval=yes
10442 else
10443 defaultval=no
10444 fi
10445 fi
10446
10447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10448 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10449 # Check whether --enable-choice was given.
10450 if test "${enable_choice+set}" = set; then
10451 enableval=$enable_choice;
10452 if test "$enableval" = yes; then
10453 wx_cv_use_choice='wxUSE_CHOICE=yes'
10454 else
10455 wx_cv_use_choice='wxUSE_CHOICE=no'
10456 fi
10457
10458 else
10459
10460 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10461
10462 fi
10463
10464
10465 eval "$wx_cv_use_choice"
10466
10467 if test x"$enablestring" = xdisable; then
10468 if test $wxUSE_CHOICE = no; then
10469 result=yes
10470 else
10471 result=no
10472 fi
10473 else
10474 result=$wxUSE_CHOICE
10475 fi
10476
10477 { echo "$as_me:$LINENO: result: $result" >&5
10478 echo "${ECHO_T}$result" >&6; }
10479
10480
10481 enablestring=
10482 defaultval=$wxUSE_ALL_FEATURES
10483 if test -z "$defaultval"; then
10484 if test x"$enablestring" = xdisable; then
10485 defaultval=yes
10486 else
10487 defaultval=no
10488 fi
10489 fi
10490
10491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10492 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10493 # Check whether --enable-choicebook was given.
10494 if test "${enable_choicebook+set}" = set; then
10495 enableval=$enable_choicebook;
10496 if test "$enableval" = yes; then
10497 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10498 else
10499 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10500 fi
10501
10502 else
10503
10504 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10505
10506 fi
10507
10508
10509 eval "$wx_cv_use_choicebook"
10510
10511 if test x"$enablestring" = xdisable; then
10512 if test $wxUSE_CHOICEBOOK = no; then
10513 result=yes
10514 else
10515 result=no
10516 fi
10517 else
10518 result=$wxUSE_CHOICEBOOK
10519 fi
10520
10521 { echo "$as_me:$LINENO: result: $result" >&5
10522 echo "${ECHO_T}$result" >&6; }
10523
10524
10525 enablestring=
10526 defaultval=$wxUSE_ALL_FEATURES
10527 if test -z "$defaultval"; then
10528 if test x"$enablestring" = xdisable; then
10529 defaultval=yes
10530 else
10531 defaultval=no
10532 fi
10533 fi
10534
10535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10536 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10537 # Check whether --enable-collpane was given.
10538 if test "${enable_collpane+set}" = set; then
10539 enableval=$enable_collpane;
10540 if test "$enableval" = yes; then
10541 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10542 else
10543 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10544 fi
10545
10546 else
10547
10548 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10549
10550 fi
10551
10552
10553 eval "$wx_cv_use_collpane"
10554
10555 if test x"$enablestring" = xdisable; then
10556 if test $wxUSE_COLLPANE = no; then
10557 result=yes
10558 else
10559 result=no
10560 fi
10561 else
10562 result=$wxUSE_COLLPANE
10563 fi
10564
10565 { echo "$as_me:$LINENO: result: $result" >&5
10566 echo "${ECHO_T}$result" >&6; }
10567
10568
10569 enablestring=
10570 defaultval=$wxUSE_ALL_FEATURES
10571 if test -z "$defaultval"; then
10572 if test x"$enablestring" = xdisable; then
10573 defaultval=yes
10574 else
10575 defaultval=no
10576 fi
10577 fi
10578
10579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10580 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10581 # Check whether --enable-colourpicker was given.
10582 if test "${enable_colourpicker+set}" = set; then
10583 enableval=$enable_colourpicker;
10584 if test "$enableval" = yes; then
10585 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10586 else
10587 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10588 fi
10589
10590 else
10591
10592 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10593
10594 fi
10595
10596
10597 eval "$wx_cv_use_colourpicker"
10598
10599 if test x"$enablestring" = xdisable; then
10600 if test $wxUSE_COLOURPICKERCTRL = no; then
10601 result=yes
10602 else
10603 result=no
10604 fi
10605 else
10606 result=$wxUSE_COLOURPICKERCTRL
10607 fi
10608
10609 { echo "$as_me:$LINENO: result: $result" >&5
10610 echo "${ECHO_T}$result" >&6; }
10611
10612
10613 enablestring=
10614 defaultval=$wxUSE_ALL_FEATURES
10615 if test -z "$defaultval"; then
10616 if test x"$enablestring" = xdisable; then
10617 defaultval=yes
10618 else
10619 defaultval=no
10620 fi
10621 fi
10622
10623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10624 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10625 # Check whether --enable-combobox was given.
10626 if test "${enable_combobox+set}" = set; then
10627 enableval=$enable_combobox;
10628 if test "$enableval" = yes; then
10629 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10630 else
10631 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10632 fi
10633
10634 else
10635
10636 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10637
10638 fi
10639
10640
10641 eval "$wx_cv_use_combobox"
10642
10643 if test x"$enablestring" = xdisable; then
10644 if test $wxUSE_COMBOBOX = no; then
10645 result=yes
10646 else
10647 result=no
10648 fi
10649 else
10650 result=$wxUSE_COMBOBOX
10651 fi
10652
10653 { echo "$as_me:$LINENO: result: $result" >&5
10654 echo "${ECHO_T}$result" >&6; }
10655
10656
10657 enablestring=
10658 defaultval=$wxUSE_ALL_FEATURES
10659 if test -z "$defaultval"; then
10660 if test x"$enablestring" = xdisable; then
10661 defaultval=yes
10662 else
10663 defaultval=no
10664 fi
10665 fi
10666
10667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10668 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10669 # Check whether --enable-comboctrl was given.
10670 if test "${enable_comboctrl+set}" = set; then
10671 enableval=$enable_comboctrl;
10672 if test "$enableval" = yes; then
10673 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10674 else
10675 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10676 fi
10677
10678 else
10679
10680 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10681
10682 fi
10683
10684
10685 eval "$wx_cv_use_comboctrl"
10686
10687 if test x"$enablestring" = xdisable; then
10688 if test $wxUSE_COMBOCTRL = no; then
10689 result=yes
10690 else
10691 result=no
10692 fi
10693 else
10694 result=$wxUSE_COMBOCTRL
10695 fi
10696
10697 { echo "$as_me:$LINENO: result: $result" >&5
10698 echo "${ECHO_T}$result" >&6; }
10699
10700
10701 enablestring=
10702 defaultval=$wxUSE_ALL_FEATURES
10703 if test -z "$defaultval"; then
10704 if test x"$enablestring" = xdisable; then
10705 defaultval=yes
10706 else
10707 defaultval=no
10708 fi
10709 fi
10710
10711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10712 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10713 # Check whether --enable-commandlinkbutton was given.
10714 if test "${enable_commandlinkbutton+set}" = set; then
10715 enableval=$enable_commandlinkbutton;
10716 if test "$enableval" = yes; then
10717 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10718 else
10719 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10720 fi
10721
10722 else
10723
10724 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10725
10726 fi
10727
10728
10729 eval "$wx_cv_use_commandlinkbutton"
10730
10731 if test x"$enablestring" = xdisable; then
10732 if test $wxUSE_COMMANDLINKBUTTON = no; then
10733 result=yes
10734 else
10735 result=no
10736 fi
10737 else
10738 result=$wxUSE_COMMANDLINKBUTTON
10739 fi
10740
10741 { echo "$as_me:$LINENO: result: $result" >&5
10742 echo "${ECHO_T}$result" >&6; }
10743
10744
10745 enablestring=
10746 defaultval=$wxUSE_ALL_FEATURES
10747 if test -z "$defaultval"; then
10748 if test x"$enablestring" = xdisable; then
10749 defaultval=yes
10750 else
10751 defaultval=no
10752 fi
10753 fi
10754
10755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10756 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10757 # Check whether --enable-dataviewctrl was given.
10758 if test "${enable_dataviewctrl+set}" = set; then
10759 enableval=$enable_dataviewctrl;
10760 if test "$enableval" = yes; then
10761 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10762 else
10763 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10764 fi
10765
10766 else
10767
10768 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10769
10770 fi
10771
10772
10773 eval "$wx_cv_use_dataviewctrl"
10774
10775 if test x"$enablestring" = xdisable; then
10776 if test $wxUSE_DATAVIEWCTRL = no; then
10777 result=yes
10778 else
10779 result=no
10780 fi
10781 else
10782 result=$wxUSE_DATAVIEWCTRL
10783 fi
10784
10785 { echo "$as_me:$LINENO: result: $result" >&5
10786 echo "${ECHO_T}$result" >&6; }
10787
10788
10789 enablestring=
10790 defaultval=$wxUSE_ALL_FEATURES
10791 if test -z "$defaultval"; then
10792 if test x"$enablestring" = xdisable; then
10793 defaultval=yes
10794 else
10795 defaultval=no
10796 fi
10797 fi
10798
10799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10800 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10801 # Check whether --enable-datepick was given.
10802 if test "${enable_datepick+set}" = set; then
10803 enableval=$enable_datepick;
10804 if test "$enableval" = yes; then
10805 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10806 else
10807 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10808 fi
10809
10810 else
10811
10812 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10813
10814 fi
10815
10816
10817 eval "$wx_cv_use_datepick"
10818
10819 if test x"$enablestring" = xdisable; then
10820 if test $wxUSE_DATEPICKCTRL = no; then
10821 result=yes
10822 else
10823 result=no
10824 fi
10825 else
10826 result=$wxUSE_DATEPICKCTRL
10827 fi
10828
10829 { echo "$as_me:$LINENO: result: $result" >&5
10830 echo "${ECHO_T}$result" >&6; }
10831
10832
10833 enablestring=
10834 defaultval=$wxUSE_ALL_FEATURES
10835 if test -z "$defaultval"; then
10836 if test x"$enablestring" = xdisable; then
10837 defaultval=yes
10838 else
10839 defaultval=no
10840 fi
10841 fi
10842
10843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10844 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10845 # Check whether --enable-detect_sm was given.
10846 if test "${enable_detect_sm+set}" = set; then
10847 enableval=$enable_detect_sm;
10848 if test "$enableval" = yes; then
10849 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10850 else
10851 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10852 fi
10853
10854 else
10855
10856 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10857
10858 fi
10859
10860
10861 eval "$wx_cv_use_detect_sm"
10862
10863 if test x"$enablestring" = xdisable; then
10864 if test $wxUSE_DETECT_SM = no; then
10865 result=yes
10866 else
10867 result=no
10868 fi
10869 else
10870 result=$wxUSE_DETECT_SM
10871 fi
10872
10873 { echo "$as_me:$LINENO: result: $result" >&5
10874 echo "${ECHO_T}$result" >&6; }
10875
10876
10877 enablestring=
10878 defaultval=$wxUSE_ALL_FEATURES
10879 if test -z "$defaultval"; then
10880 if test x"$enablestring" = xdisable; then
10881 defaultval=yes
10882 else
10883 defaultval=no
10884 fi
10885 fi
10886
10887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10888 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10889 # Check whether --enable-dirpicker was given.
10890 if test "${enable_dirpicker+set}" = set; then
10891 enableval=$enable_dirpicker;
10892 if test "$enableval" = yes; then
10893 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10894 else
10895 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10896 fi
10897
10898 else
10899
10900 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10901
10902 fi
10903
10904
10905 eval "$wx_cv_use_dirpicker"
10906
10907 if test x"$enablestring" = xdisable; then
10908 if test $wxUSE_DIRPICKERCTRL = no; then
10909 result=yes
10910 else
10911 result=no
10912 fi
10913 else
10914 result=$wxUSE_DIRPICKERCTRL
10915 fi
10916
10917 { echo "$as_me:$LINENO: result: $result" >&5
10918 echo "${ECHO_T}$result" >&6; }
10919
10920
10921 enablestring=
10922 defaultval=$wxUSE_ALL_FEATURES
10923 if test -z "$defaultval"; then
10924 if test x"$enablestring" = xdisable; then
10925 defaultval=yes
10926 else
10927 defaultval=no
10928 fi
10929 fi
10930
10931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10932 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10933 # Check whether --enable-display was given.
10934 if test "${enable_display+set}" = set; then
10935 enableval=$enable_display;
10936 if test "$enableval" = yes; then
10937 wx_cv_use_display='wxUSE_DISPLAY=yes'
10938 else
10939 wx_cv_use_display='wxUSE_DISPLAY=no'
10940 fi
10941
10942 else
10943
10944 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10945
10946 fi
10947
10948
10949 eval "$wx_cv_use_display"
10950
10951 if test x"$enablestring" = xdisable; then
10952 if test $wxUSE_DISPLAY = no; then
10953 result=yes
10954 else
10955 result=no
10956 fi
10957 else
10958 result=$wxUSE_DISPLAY
10959 fi
10960
10961 { echo "$as_me:$LINENO: result: $result" >&5
10962 echo "${ECHO_T}$result" >&6; }
10963
10964
10965 enablestring=
10966 defaultval=$wxUSE_ALL_FEATURES
10967 if test -z "$defaultval"; then
10968 if test x"$enablestring" = xdisable; then
10969 defaultval=yes
10970 else
10971 defaultval=no
10972 fi
10973 fi
10974
10975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10976 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10977 # Check whether --enable-editablebox was given.
10978 if test "${enable_editablebox+set}" = set; then
10979 enableval=$enable_editablebox;
10980 if test "$enableval" = yes; then
10981 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10982 else
10983 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10984 fi
10985
10986 else
10987
10988 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10989
10990 fi
10991
10992
10993 eval "$wx_cv_use_editablebox"
10994
10995 if test x"$enablestring" = xdisable; then
10996 if test $wxUSE_EDITABLELISTBOX = no; then
10997 result=yes
10998 else
10999 result=no
11000 fi
11001 else
11002 result=$wxUSE_EDITABLELISTBOX
11003 fi
11004
11005 { echo "$as_me:$LINENO: result: $result" >&5
11006 echo "${ECHO_T}$result" >&6; }
11007
11008
11009 enablestring=
11010 defaultval=$wxUSE_ALL_FEATURES
11011 if test -z "$defaultval"; then
11012 if test x"$enablestring" = xdisable; then
11013 defaultval=yes
11014 else
11015 defaultval=no
11016 fi
11017 fi
11018
11019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11020 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11021 # Check whether --enable-filectrl was given.
11022 if test "${enable_filectrl+set}" = set; then
11023 enableval=$enable_filectrl;
11024 if test "$enableval" = yes; then
11025 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11026 else
11027 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11028 fi
11029
11030 else
11031
11032 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11033
11034 fi
11035
11036
11037 eval "$wx_cv_use_filectrl"
11038
11039 if test x"$enablestring" = xdisable; then
11040 if test $wxUSE_FILECTRL = no; then
11041 result=yes
11042 else
11043 result=no
11044 fi
11045 else
11046 result=$wxUSE_FILECTRL
11047 fi
11048
11049 { echo "$as_me:$LINENO: result: $result" >&5
11050 echo "${ECHO_T}$result" >&6; }
11051
11052
11053 enablestring=
11054 defaultval=$wxUSE_ALL_FEATURES
11055 if test -z "$defaultval"; then
11056 if test x"$enablestring" = xdisable; then
11057 defaultval=yes
11058 else
11059 defaultval=no
11060 fi
11061 fi
11062
11063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11064 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11065 # Check whether --enable-filepicker was given.
11066 if test "${enable_filepicker+set}" = set; then
11067 enableval=$enable_filepicker;
11068 if test "$enableval" = yes; then
11069 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11070 else
11071 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11072 fi
11073
11074 else
11075
11076 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11077
11078 fi
11079
11080
11081 eval "$wx_cv_use_filepicker"
11082
11083 if test x"$enablestring" = xdisable; then
11084 if test $wxUSE_FILEPICKERCTRL = no; then
11085 result=yes
11086 else
11087 result=no
11088 fi
11089 else
11090 result=$wxUSE_FILEPICKERCTRL
11091 fi
11092
11093 { echo "$as_me:$LINENO: result: $result" >&5
11094 echo "${ECHO_T}$result" >&6; }
11095
11096
11097 enablestring=
11098 defaultval=$wxUSE_ALL_FEATURES
11099 if test -z "$defaultval"; then
11100 if test x"$enablestring" = xdisable; then
11101 defaultval=yes
11102 else
11103 defaultval=no
11104 fi
11105 fi
11106
11107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11108 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11109 # Check whether --enable-fontpicker was given.
11110 if test "${enable_fontpicker+set}" = set; then
11111 enableval=$enable_fontpicker;
11112 if test "$enableval" = yes; then
11113 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11114 else
11115 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11116 fi
11117
11118 else
11119
11120 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11121
11122 fi
11123
11124
11125 eval "$wx_cv_use_fontpicker"
11126
11127 if test x"$enablestring" = xdisable; then
11128 if test $wxUSE_FONTPICKERCTRL = no; then
11129 result=yes
11130 else
11131 result=no
11132 fi
11133 else
11134 result=$wxUSE_FONTPICKERCTRL
11135 fi
11136
11137 { echo "$as_me:$LINENO: result: $result" >&5
11138 echo "${ECHO_T}$result" >&6; }
11139
11140
11141 enablestring=
11142 defaultval=$wxUSE_ALL_FEATURES
11143 if test -z "$defaultval"; then
11144 if test x"$enablestring" = xdisable; then
11145 defaultval=yes
11146 else
11147 defaultval=no
11148 fi
11149 fi
11150
11151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11152 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11153 # Check whether --enable-gauge was given.
11154 if test "${enable_gauge+set}" = set; then
11155 enableval=$enable_gauge;
11156 if test "$enableval" = yes; then
11157 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11158 else
11159 wx_cv_use_gauge='wxUSE_GAUGE=no'
11160 fi
11161
11162 else
11163
11164 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11165
11166 fi
11167
11168
11169 eval "$wx_cv_use_gauge"
11170
11171 if test x"$enablestring" = xdisable; then
11172 if test $wxUSE_GAUGE = no; then
11173 result=yes
11174 else
11175 result=no
11176 fi
11177 else
11178 result=$wxUSE_GAUGE
11179 fi
11180
11181 { echo "$as_me:$LINENO: result: $result" >&5
11182 echo "${ECHO_T}$result" >&6; }
11183
11184
11185 enablestring=
11186 defaultval=$wxUSE_ALL_FEATURES
11187 if test -z "$defaultval"; then
11188 if test x"$enablestring" = xdisable; then
11189 defaultval=yes
11190 else
11191 defaultval=no
11192 fi
11193 fi
11194
11195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11196 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11197 # Check whether --enable-grid was given.
11198 if test "${enable_grid+set}" = set; then
11199 enableval=$enable_grid;
11200 if test "$enableval" = yes; then
11201 wx_cv_use_grid='wxUSE_GRID=yes'
11202 else
11203 wx_cv_use_grid='wxUSE_GRID=no'
11204 fi
11205
11206 else
11207
11208 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11209
11210 fi
11211
11212
11213 eval "$wx_cv_use_grid"
11214
11215 if test x"$enablestring" = xdisable; then
11216 if test $wxUSE_GRID = no; then
11217 result=yes
11218 else
11219 result=no
11220 fi
11221 else
11222 result=$wxUSE_GRID
11223 fi
11224
11225 { echo "$as_me:$LINENO: result: $result" >&5
11226 echo "${ECHO_T}$result" >&6; }
11227
11228
11229 enablestring=
11230 defaultval=$wxUSE_ALL_FEATURES
11231 if test -z "$defaultval"; then
11232 if test x"$enablestring" = xdisable; then
11233 defaultval=yes
11234 else
11235 defaultval=no
11236 fi
11237 fi
11238
11239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11240 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11241 # Check whether --enable-headerctrl was given.
11242 if test "${enable_headerctrl+set}" = set; then
11243 enableval=$enable_headerctrl;
11244 if test "$enableval" = yes; then
11245 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11246 else
11247 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11248 fi
11249
11250 else
11251
11252 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11253
11254 fi
11255
11256
11257 eval "$wx_cv_use_headerctrl"
11258
11259 if test x"$enablestring" = xdisable; then
11260 if test $wxUSE_HEADERCTRL = no; then
11261 result=yes
11262 else
11263 result=no
11264 fi
11265 else
11266 result=$wxUSE_HEADERCTRL
11267 fi
11268
11269 { echo "$as_me:$LINENO: result: $result" >&5
11270 echo "${ECHO_T}$result" >&6; }
11271
11272
11273 enablestring=
11274 defaultval=$wxUSE_ALL_FEATURES
11275 if test -z "$defaultval"; then
11276 if test x"$enablestring" = xdisable; then
11277 defaultval=yes
11278 else
11279 defaultval=no
11280 fi
11281 fi
11282
11283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11284 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11285 # Check whether --enable-hyperlink was given.
11286 if test "${enable_hyperlink+set}" = set; then
11287 enableval=$enable_hyperlink;
11288 if test "$enableval" = yes; then
11289 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11290 else
11291 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11292 fi
11293
11294 else
11295
11296 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11297
11298 fi
11299
11300
11301 eval "$wx_cv_use_hyperlink"
11302
11303 if test x"$enablestring" = xdisable; then
11304 if test $wxUSE_HYPERLINKCTRL = no; then
11305 result=yes
11306 else
11307 result=no
11308 fi
11309 else
11310 result=$wxUSE_HYPERLINKCTRL
11311 fi
11312
11313 { echo "$as_me:$LINENO: result: $result" >&5
11314 echo "${ECHO_T}$result" >&6; }
11315
11316
11317 enablestring=
11318 defaultval=$wxUSE_ALL_FEATURES
11319 if test -z "$defaultval"; then
11320 if test x"$enablestring" = xdisable; then
11321 defaultval=yes
11322 else
11323 defaultval=no
11324 fi
11325 fi
11326
11327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11328 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11329 # Check whether --enable-imaglist was given.
11330 if test "${enable_imaglist+set}" = set; then
11331 enableval=$enable_imaglist;
11332 if test "$enableval" = yes; then
11333 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11334 else
11335 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11336 fi
11337
11338 else
11339
11340 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11341
11342 fi
11343
11344
11345 eval "$wx_cv_use_imaglist"
11346
11347 if test x"$enablestring" = xdisable; then
11348 if test $wxUSE_IMAGLIST = no; then
11349 result=yes
11350 else
11351 result=no
11352 fi
11353 else
11354 result=$wxUSE_IMAGLIST
11355 fi
11356
11357 { echo "$as_me:$LINENO: result: $result" >&5
11358 echo "${ECHO_T}$result" >&6; }
11359
11360
11361 enablestring=
11362 defaultval=$wxUSE_ALL_FEATURES
11363 if test -z "$defaultval"; then
11364 if test x"$enablestring" = xdisable; then
11365 defaultval=yes
11366 else
11367 defaultval=no
11368 fi
11369 fi
11370
11371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11372 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11373 # Check whether --enable-infobar was given.
11374 if test "${enable_infobar+set}" = set; then
11375 enableval=$enable_infobar;
11376 if test "$enableval" = yes; then
11377 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11378 else
11379 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11380 fi
11381
11382 else
11383
11384 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11385
11386 fi
11387
11388
11389 eval "$wx_cv_use_infobar"
11390
11391 if test x"$enablestring" = xdisable; then
11392 if test $wxUSE_INFOBAR = no; then
11393 result=yes
11394 else
11395 result=no
11396 fi
11397 else
11398 result=$wxUSE_INFOBAR
11399 fi
11400
11401 { echo "$as_me:$LINENO: result: $result" >&5
11402 echo "${ECHO_T}$result" >&6; }
11403
11404
11405 enablestring=
11406 defaultval=$wxUSE_ALL_FEATURES
11407 if test -z "$defaultval"; then
11408 if test x"$enablestring" = xdisable; then
11409 defaultval=yes
11410 else
11411 defaultval=no
11412 fi
11413 fi
11414
11415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11416 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11417 # Check whether --enable-listbook was given.
11418 if test "${enable_listbook+set}" = set; then
11419 enableval=$enable_listbook;
11420 if test "$enableval" = yes; then
11421 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11422 else
11423 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11424 fi
11425
11426 else
11427
11428 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11429
11430 fi
11431
11432
11433 eval "$wx_cv_use_listbook"
11434
11435 if test x"$enablestring" = xdisable; then
11436 if test $wxUSE_LISTBOOK = no; then
11437 result=yes
11438 else
11439 result=no
11440 fi
11441 else
11442 result=$wxUSE_LISTBOOK
11443 fi
11444
11445 { echo "$as_me:$LINENO: result: $result" >&5
11446 echo "${ECHO_T}$result" >&6; }
11447
11448
11449 enablestring=
11450 defaultval=$wxUSE_ALL_FEATURES
11451 if test -z "$defaultval"; then
11452 if test x"$enablestring" = xdisable; then
11453 defaultval=yes
11454 else
11455 defaultval=no
11456 fi
11457 fi
11458
11459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11460 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11461 # Check whether --enable-listbox was given.
11462 if test "${enable_listbox+set}" = set; then
11463 enableval=$enable_listbox;
11464 if test "$enableval" = yes; then
11465 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11466 else
11467 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11468 fi
11469
11470 else
11471
11472 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11473
11474 fi
11475
11476
11477 eval "$wx_cv_use_listbox"
11478
11479 if test x"$enablestring" = xdisable; then
11480 if test $wxUSE_LISTBOX = no; then
11481 result=yes
11482 else
11483 result=no
11484 fi
11485 else
11486 result=$wxUSE_LISTBOX
11487 fi
11488
11489 { echo "$as_me:$LINENO: result: $result" >&5
11490 echo "${ECHO_T}$result" >&6; }
11491
11492
11493 enablestring=
11494 defaultval=$wxUSE_ALL_FEATURES
11495 if test -z "$defaultval"; then
11496 if test x"$enablestring" = xdisable; then
11497 defaultval=yes
11498 else
11499 defaultval=no
11500 fi
11501 fi
11502
11503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11504 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11505 # Check whether --enable-listctrl was given.
11506 if test "${enable_listctrl+set}" = set; then
11507 enableval=$enable_listctrl;
11508 if test "$enableval" = yes; then
11509 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11510 else
11511 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11512 fi
11513
11514 else
11515
11516 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11517
11518 fi
11519
11520
11521 eval "$wx_cv_use_listctrl"
11522
11523 if test x"$enablestring" = xdisable; then
11524 if test $wxUSE_LISTCTRL = no; then
11525 result=yes
11526 else
11527 result=no
11528 fi
11529 else
11530 result=$wxUSE_LISTCTRL
11531 fi
11532
11533 { echo "$as_me:$LINENO: result: $result" >&5
11534 echo "${ECHO_T}$result" >&6; }
11535
11536
11537 enablestring=
11538 defaultval=$wxUSE_ALL_FEATURES
11539 if test -z "$defaultval"; then
11540 if test x"$enablestring" = xdisable; then
11541 defaultval=yes
11542 else
11543 defaultval=no
11544 fi
11545 fi
11546
11547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11548 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11549 # Check whether --enable-notebook was given.
11550 if test "${enable_notebook+set}" = set; then
11551 enableval=$enable_notebook;
11552 if test "$enableval" = yes; then
11553 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11554 else
11555 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11556 fi
11557
11558 else
11559
11560 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11561
11562 fi
11563
11564
11565 eval "$wx_cv_use_notebook"
11566
11567 if test x"$enablestring" = xdisable; then
11568 if test $wxUSE_NOTEBOOK = no; then
11569 result=yes
11570 else
11571 result=no
11572 fi
11573 else
11574 result=$wxUSE_NOTEBOOK
11575 fi
11576
11577 { echo "$as_me:$LINENO: result: $result" >&5
11578 echo "${ECHO_T}$result" >&6; }
11579
11580
11581 enablestring=
11582 defaultval=$wxUSE_ALL_FEATURES
11583 if test -z "$defaultval"; then
11584 if test x"$enablestring" = xdisable; then
11585 defaultval=yes
11586 else
11587 defaultval=no
11588 fi
11589 fi
11590
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11593 # Check whether --enable-notifmsg was given.
11594 if test "${enable_notifmsg+set}" = set; then
11595 enableval=$enable_notifmsg;
11596 if test "$enableval" = yes; then
11597 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11598 else
11599 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11600 fi
11601
11602 else
11603
11604 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11605
11606 fi
11607
11608
11609 eval "$wx_cv_use_notifmsg"
11610
11611 if test x"$enablestring" = xdisable; then
11612 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11613 result=yes
11614 else
11615 result=no
11616 fi
11617 else
11618 result=$wxUSE_NOTIFICATION_MESSAGE
11619 fi
11620
11621 { echo "$as_me:$LINENO: result: $result" >&5
11622 echo "${ECHO_T}$result" >&6; }
11623
11624
11625 enablestring=
11626 defaultval=$wxUSE_ALL_FEATURES
11627 if test -z "$defaultval"; then
11628 if test x"$enablestring" = xdisable; then
11629 defaultval=yes
11630 else
11631 defaultval=no
11632 fi
11633 fi
11634
11635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11636 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11637 # Check whether --enable-odcombobox was given.
11638 if test "${enable_odcombobox+set}" = set; then
11639 enableval=$enable_odcombobox;
11640 if test "$enableval" = yes; then
11641 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11642 else
11643 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11644 fi
11645
11646 else
11647
11648 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11649
11650 fi
11651
11652
11653 eval "$wx_cv_use_odcombobox"
11654
11655 if test x"$enablestring" = xdisable; then
11656 if test $wxUSE_ODCOMBOBOX = no; then
11657 result=yes
11658 else
11659 result=no
11660 fi
11661 else
11662 result=$wxUSE_ODCOMBOBOX
11663 fi
11664
11665 { echo "$as_me:$LINENO: result: $result" >&5
11666 echo "${ECHO_T}$result" >&6; }
11667
11668
11669 enablestring=
11670 defaultval=$wxUSE_ALL_FEATURES
11671 if test -z "$defaultval"; then
11672 if test x"$enablestring" = xdisable; then
11673 defaultval=yes
11674 else
11675 defaultval=no
11676 fi
11677 fi
11678
11679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11680 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11681 # Check whether --enable-popupwin was given.
11682 if test "${enable_popupwin+set}" = set; then
11683 enableval=$enable_popupwin;
11684 if test "$enableval" = yes; then
11685 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11686 else
11687 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11688 fi
11689
11690 else
11691
11692 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11693
11694 fi
11695
11696
11697 eval "$wx_cv_use_popupwin"
11698
11699 if test x"$enablestring" = xdisable; then
11700 if test $wxUSE_POPUPWIN = no; then
11701 result=yes
11702 else
11703 result=no
11704 fi
11705 else
11706 result=$wxUSE_POPUPWIN
11707 fi
11708
11709 { echo "$as_me:$LINENO: result: $result" >&5
11710 echo "${ECHO_T}$result" >&6; }
11711
11712
11713 enablestring=
11714 defaultval=$wxUSE_ALL_FEATURES
11715 if test -z "$defaultval"; then
11716 if test x"$enablestring" = xdisable; then
11717 defaultval=yes
11718 else
11719 defaultval=no
11720 fi
11721 fi
11722
11723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11724 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11725 # Check whether --enable-radiobox was given.
11726 if test "${enable_radiobox+set}" = set; then
11727 enableval=$enable_radiobox;
11728 if test "$enableval" = yes; then
11729 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11730 else
11731 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11732 fi
11733
11734 else
11735
11736 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11737
11738 fi
11739
11740
11741 eval "$wx_cv_use_radiobox"
11742
11743 if test x"$enablestring" = xdisable; then
11744 if test $wxUSE_RADIOBOX = no; then
11745 result=yes
11746 else
11747 result=no
11748 fi
11749 else
11750 result=$wxUSE_RADIOBOX
11751 fi
11752
11753 { echo "$as_me:$LINENO: result: $result" >&5
11754 echo "${ECHO_T}$result" >&6; }
11755
11756
11757 enablestring=
11758 defaultval=$wxUSE_ALL_FEATURES
11759 if test -z "$defaultval"; then
11760 if test x"$enablestring" = xdisable; then
11761 defaultval=yes
11762 else
11763 defaultval=no
11764 fi
11765 fi
11766
11767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11768 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11769 # Check whether --enable-radiobtn was given.
11770 if test "${enable_radiobtn+set}" = set; then
11771 enableval=$enable_radiobtn;
11772 if test "$enableval" = yes; then
11773 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11774 else
11775 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11776 fi
11777
11778 else
11779
11780 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11781
11782 fi
11783
11784
11785 eval "$wx_cv_use_radiobtn"
11786
11787 if test x"$enablestring" = xdisable; then
11788 if test $wxUSE_RADIOBTN = no; then
11789 result=yes
11790 else
11791 result=no
11792 fi
11793 else
11794 result=$wxUSE_RADIOBTN
11795 fi
11796
11797 { echo "$as_me:$LINENO: result: $result" >&5
11798 echo "${ECHO_T}$result" >&6; }
11799
11800
11801 enablestring=
11802 defaultval=$wxUSE_ALL_FEATURES
11803 if test -z "$defaultval"; then
11804 if test x"$enablestring" = xdisable; then
11805 defaultval=yes
11806 else
11807 defaultval=no
11808 fi
11809 fi
11810
11811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11812 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11813 # Check whether --enable-richmsgdlg was given.
11814 if test "${enable_richmsgdlg+set}" = set; then
11815 enableval=$enable_richmsgdlg;
11816 if test "$enableval" = yes; then
11817 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11818 else
11819 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11820 fi
11821
11822 else
11823
11824 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11825
11826 fi
11827
11828
11829 eval "$wx_cv_use_richmsgdlg"
11830
11831 if test x"$enablestring" = xdisable; then
11832 if test $wxUSE_RICHMSGDLG = no; then
11833 result=yes
11834 else
11835 result=no
11836 fi
11837 else
11838 result=$wxUSE_RICHMSGDLG
11839 fi
11840
11841 { echo "$as_me:$LINENO: result: $result" >&5
11842 echo "${ECHO_T}$result" >&6; }
11843
11844
11845 enablestring=
11846 defaultval=$wxUSE_ALL_FEATURES
11847 if test -z "$defaultval"; then
11848 if test x"$enablestring" = xdisable; then
11849 defaultval=yes
11850 else
11851 defaultval=no
11852 fi
11853 fi
11854
11855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11856 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11857 # Check whether --enable-rearrangectrl was given.
11858 if test "${enable_rearrangectrl+set}" = set; then
11859 enableval=$enable_rearrangectrl;
11860 if test "$enableval" = yes; then
11861 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11862 else
11863 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11864 fi
11865
11866 else
11867
11868 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11869
11870 fi
11871
11872
11873 eval "$wx_cv_use_rearrangectrl"
11874
11875 if test x"$enablestring" = xdisable; then
11876 if test $wxUSE_REARRANGECTRL = no; then
11877 result=yes
11878 else
11879 result=no
11880 fi
11881 else
11882 result=$wxUSE_REARRANGECTRL
11883 fi
11884
11885 { echo "$as_me:$LINENO: result: $result" >&5
11886 echo "${ECHO_T}$result" >&6; }
11887
11888
11889 enablestring=
11890 defaultval=$wxUSE_ALL_FEATURES
11891 if test -z "$defaultval"; then
11892 if test x"$enablestring" = xdisable; then
11893 defaultval=yes
11894 else
11895 defaultval=no
11896 fi
11897 fi
11898
11899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11900 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11901 # Check whether --enable-sash was given.
11902 if test "${enable_sash+set}" = set; then
11903 enableval=$enable_sash;
11904 if test "$enableval" = yes; then
11905 wx_cv_use_sash='wxUSE_SASH=yes'
11906 else
11907 wx_cv_use_sash='wxUSE_SASH=no'
11908 fi
11909
11910 else
11911
11912 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11913
11914 fi
11915
11916
11917 eval "$wx_cv_use_sash"
11918
11919 if test x"$enablestring" = xdisable; then
11920 if test $wxUSE_SASH = no; then
11921 result=yes
11922 else
11923 result=no
11924 fi
11925 else
11926 result=$wxUSE_SASH
11927 fi
11928
11929 { echo "$as_me:$LINENO: result: $result" >&5
11930 echo "${ECHO_T}$result" >&6; }
11931
11932
11933 enablestring=
11934 defaultval=$wxUSE_ALL_FEATURES
11935 if test -z "$defaultval"; then
11936 if test x"$enablestring" = xdisable; then
11937 defaultval=yes
11938 else
11939 defaultval=no
11940 fi
11941 fi
11942
11943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11944 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11945 # Check whether --enable-scrollbar was given.
11946 if test "${enable_scrollbar+set}" = set; then
11947 enableval=$enable_scrollbar;
11948 if test "$enableval" = yes; then
11949 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11950 else
11951 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11952 fi
11953
11954 else
11955
11956 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11957
11958 fi
11959
11960
11961 eval "$wx_cv_use_scrollbar"
11962
11963 if test x"$enablestring" = xdisable; then
11964 if test $wxUSE_SCROLLBAR = no; then
11965 result=yes
11966 else
11967 result=no
11968 fi
11969 else
11970 result=$wxUSE_SCROLLBAR
11971 fi
11972
11973 { echo "$as_me:$LINENO: result: $result" >&5
11974 echo "${ECHO_T}$result" >&6; }
11975
11976
11977 enablestring=
11978 defaultval=$wxUSE_ALL_FEATURES
11979 if test -z "$defaultval"; then
11980 if test x"$enablestring" = xdisable; then
11981 defaultval=yes
11982 else
11983 defaultval=no
11984 fi
11985 fi
11986
11987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11988 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11989 # Check whether --enable-searchctrl was given.
11990 if test "${enable_searchctrl+set}" = set; then
11991 enableval=$enable_searchctrl;
11992 if test "$enableval" = yes; then
11993 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11994 else
11995 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11996 fi
11997
11998 else
11999
12000 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12001
12002 fi
12003
12004
12005 eval "$wx_cv_use_searchctrl"
12006
12007 if test x"$enablestring" = xdisable; then
12008 if test $wxUSE_SEARCHCTRL = no; then
12009 result=yes
12010 else
12011 result=no
12012 fi
12013 else
12014 result=$wxUSE_SEARCHCTRL
12015 fi
12016
12017 { echo "$as_me:$LINENO: result: $result" >&5
12018 echo "${ECHO_T}$result" >&6; }
12019
12020
12021 enablestring=
12022 defaultval=$wxUSE_ALL_FEATURES
12023 if test -z "$defaultval"; then
12024 if test x"$enablestring" = xdisable; then
12025 defaultval=yes
12026 else
12027 defaultval=no
12028 fi
12029 fi
12030
12031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12032 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12033 # Check whether --enable-slider was given.
12034 if test "${enable_slider+set}" = set; then
12035 enableval=$enable_slider;
12036 if test "$enableval" = yes; then
12037 wx_cv_use_slider='wxUSE_SLIDER=yes'
12038 else
12039 wx_cv_use_slider='wxUSE_SLIDER=no'
12040 fi
12041
12042 else
12043
12044 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12045
12046 fi
12047
12048
12049 eval "$wx_cv_use_slider"
12050
12051 if test x"$enablestring" = xdisable; then
12052 if test $wxUSE_SLIDER = no; then
12053 result=yes
12054 else
12055 result=no
12056 fi
12057 else
12058 result=$wxUSE_SLIDER
12059 fi
12060
12061 { echo "$as_me:$LINENO: result: $result" >&5
12062 echo "${ECHO_T}$result" >&6; }
12063
12064
12065 enablestring=
12066 defaultval=$wxUSE_ALL_FEATURES
12067 if test -z "$defaultval"; then
12068 if test x"$enablestring" = xdisable; then
12069 defaultval=yes
12070 else
12071 defaultval=no
12072 fi
12073 fi
12074
12075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12076 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12077 # Check whether --enable-spinbtn was given.
12078 if test "${enable_spinbtn+set}" = set; then
12079 enableval=$enable_spinbtn;
12080 if test "$enableval" = yes; then
12081 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12082 else
12083 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12084 fi
12085
12086 else
12087
12088 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12089
12090 fi
12091
12092
12093 eval "$wx_cv_use_spinbtn"
12094
12095 if test x"$enablestring" = xdisable; then
12096 if test $wxUSE_SPINBTN = no; then
12097 result=yes
12098 else
12099 result=no
12100 fi
12101 else
12102 result=$wxUSE_SPINBTN
12103 fi
12104
12105 { echo "$as_me:$LINENO: result: $result" >&5
12106 echo "${ECHO_T}$result" >&6; }
12107
12108
12109 enablestring=
12110 defaultval=$wxUSE_ALL_FEATURES
12111 if test -z "$defaultval"; then
12112 if test x"$enablestring" = xdisable; then
12113 defaultval=yes
12114 else
12115 defaultval=no
12116 fi
12117 fi
12118
12119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12120 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12121 # Check whether --enable-spinctrl was given.
12122 if test "${enable_spinctrl+set}" = set; then
12123 enableval=$enable_spinctrl;
12124 if test "$enableval" = yes; then
12125 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12126 else
12127 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12128 fi
12129
12130 else
12131
12132 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12133
12134 fi
12135
12136
12137 eval "$wx_cv_use_spinctrl"
12138
12139 if test x"$enablestring" = xdisable; then
12140 if test $wxUSE_SPINCTRL = no; then
12141 result=yes
12142 else
12143 result=no
12144 fi
12145 else
12146 result=$wxUSE_SPINCTRL
12147 fi
12148
12149 { echo "$as_me:$LINENO: result: $result" >&5
12150 echo "${ECHO_T}$result" >&6; }
12151
12152
12153 enablestring=
12154 defaultval=$wxUSE_ALL_FEATURES
12155 if test -z "$defaultval"; then
12156 if test x"$enablestring" = xdisable; then
12157 defaultval=yes
12158 else
12159 defaultval=no
12160 fi
12161 fi
12162
12163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12164 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12165 # Check whether --enable-splitter was given.
12166 if test "${enable_splitter+set}" = set; then
12167 enableval=$enable_splitter;
12168 if test "$enableval" = yes; then
12169 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12170 else
12171 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12172 fi
12173
12174 else
12175
12176 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12177
12178 fi
12179
12180
12181 eval "$wx_cv_use_splitter"
12182
12183 if test x"$enablestring" = xdisable; then
12184 if test $wxUSE_SPLITTER = no; then
12185 result=yes
12186 else
12187 result=no
12188 fi
12189 else
12190 result=$wxUSE_SPLITTER
12191 fi
12192
12193 { echo "$as_me:$LINENO: result: $result" >&5
12194 echo "${ECHO_T}$result" >&6; }
12195
12196
12197 enablestring=
12198 defaultval=$wxUSE_ALL_FEATURES
12199 if test -z "$defaultval"; then
12200 if test x"$enablestring" = xdisable; then
12201 defaultval=yes
12202 else
12203 defaultval=no
12204 fi
12205 fi
12206
12207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12208 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12209 # Check whether --enable-statbmp was given.
12210 if test "${enable_statbmp+set}" = set; then
12211 enableval=$enable_statbmp;
12212 if test "$enableval" = yes; then
12213 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12214 else
12215 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12216 fi
12217
12218 else
12219
12220 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12221
12222 fi
12223
12224
12225 eval "$wx_cv_use_statbmp"
12226
12227 if test x"$enablestring" = xdisable; then
12228 if test $wxUSE_STATBMP = no; then
12229 result=yes
12230 else
12231 result=no
12232 fi
12233 else
12234 result=$wxUSE_STATBMP
12235 fi
12236
12237 { echo "$as_me:$LINENO: result: $result" >&5
12238 echo "${ECHO_T}$result" >&6; }
12239
12240
12241 enablestring=
12242 defaultval=$wxUSE_ALL_FEATURES
12243 if test -z "$defaultval"; then
12244 if test x"$enablestring" = xdisable; then
12245 defaultval=yes
12246 else
12247 defaultval=no
12248 fi
12249 fi
12250
12251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12252 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12253 # Check whether --enable-statbox was given.
12254 if test "${enable_statbox+set}" = set; then
12255 enableval=$enable_statbox;
12256 if test "$enableval" = yes; then
12257 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12258 else
12259 wx_cv_use_statbox='wxUSE_STATBOX=no'
12260 fi
12261
12262 else
12263
12264 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12265
12266 fi
12267
12268
12269 eval "$wx_cv_use_statbox"
12270
12271 if test x"$enablestring" = xdisable; then
12272 if test $wxUSE_STATBOX = no; then
12273 result=yes
12274 else
12275 result=no
12276 fi
12277 else
12278 result=$wxUSE_STATBOX
12279 fi
12280
12281 { echo "$as_me:$LINENO: result: $result" >&5
12282 echo "${ECHO_T}$result" >&6; }
12283
12284
12285 enablestring=
12286 defaultval=$wxUSE_ALL_FEATURES
12287 if test -z "$defaultval"; then
12288 if test x"$enablestring" = xdisable; then
12289 defaultval=yes
12290 else
12291 defaultval=no
12292 fi
12293 fi
12294
12295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12296 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12297 # Check whether --enable-statline was given.
12298 if test "${enable_statline+set}" = set; then
12299 enableval=$enable_statline;
12300 if test "$enableval" = yes; then
12301 wx_cv_use_statline='wxUSE_STATLINE=yes'
12302 else
12303 wx_cv_use_statline='wxUSE_STATLINE=no'
12304 fi
12305
12306 else
12307
12308 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12309
12310 fi
12311
12312
12313 eval "$wx_cv_use_statline"
12314
12315 if test x"$enablestring" = xdisable; then
12316 if test $wxUSE_STATLINE = no; then
12317 result=yes
12318 else
12319 result=no
12320 fi
12321 else
12322 result=$wxUSE_STATLINE
12323 fi
12324
12325 { echo "$as_me:$LINENO: result: $result" >&5
12326 echo "${ECHO_T}$result" >&6; }
12327
12328
12329 enablestring=
12330 defaultval=$wxUSE_ALL_FEATURES
12331 if test -z "$defaultval"; then
12332 if test x"$enablestring" = xdisable; then
12333 defaultval=yes
12334 else
12335 defaultval=no
12336 fi
12337 fi
12338
12339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12340 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12341 # Check whether --enable-stattext was given.
12342 if test "${enable_stattext+set}" = set; then
12343 enableval=$enable_stattext;
12344 if test "$enableval" = yes; then
12345 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12346 else
12347 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12348 fi
12349
12350 else
12351
12352 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12353
12354 fi
12355
12356
12357 eval "$wx_cv_use_stattext"
12358
12359 if test x"$enablestring" = xdisable; then
12360 if test $wxUSE_STATTEXT = no; then
12361 result=yes
12362 else
12363 result=no
12364 fi
12365 else
12366 result=$wxUSE_STATTEXT
12367 fi
12368
12369 { echo "$as_me:$LINENO: result: $result" >&5
12370 echo "${ECHO_T}$result" >&6; }
12371
12372
12373 enablestring=
12374 defaultval=$wxUSE_ALL_FEATURES
12375 if test -z "$defaultval"; then
12376 if test x"$enablestring" = xdisable; then
12377 defaultval=yes
12378 else
12379 defaultval=no
12380 fi
12381 fi
12382
12383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12384 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12385 # Check whether --enable-statusbar was given.
12386 if test "${enable_statusbar+set}" = set; then
12387 enableval=$enable_statusbar;
12388 if test "$enableval" = yes; then
12389 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12390 else
12391 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12392 fi
12393
12394 else
12395
12396 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12397
12398 fi
12399
12400
12401 eval "$wx_cv_use_statusbar"
12402
12403 if test x"$enablestring" = xdisable; then
12404 if test $wxUSE_STATUSBAR = no; then
12405 result=yes
12406 else
12407 result=no
12408 fi
12409 else
12410 result=$wxUSE_STATUSBAR
12411 fi
12412
12413 { echo "$as_me:$LINENO: result: $result" >&5
12414 echo "${ECHO_T}$result" >&6; }
12415
12416
12417 enablestring=
12418 defaultval=$wxUSE_ALL_FEATURES
12419 if test -z "$defaultval"; then
12420 if test x"$enablestring" = xdisable; then
12421 defaultval=yes
12422 else
12423 defaultval=no
12424 fi
12425 fi
12426
12427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12428 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12429 # Check whether --enable-taskbaricon was given.
12430 if test "${enable_taskbaricon+set}" = set; then
12431 enableval=$enable_taskbaricon;
12432 if test "$enableval" = yes; then
12433 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12434 else
12435 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12436 fi
12437
12438 else
12439
12440 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12441
12442 fi
12443
12444
12445 eval "$wx_cv_use_taskbaricon"
12446
12447 if test x"$enablestring" = xdisable; then
12448 if test $wxUSE_TASKBARICON = no; then
12449 result=yes
12450 else
12451 result=no
12452 fi
12453 else
12454 result=$wxUSE_TASKBARICON
12455 fi
12456
12457 { echo "$as_me:$LINENO: result: $result" >&5
12458 echo "${ECHO_T}$result" >&6; }
12459
12460
12461 enablestring=
12462 defaultval=$wxUSE_ALL_FEATURES
12463 if test -z "$defaultval"; then
12464 if test x"$enablestring" = xdisable; then
12465 defaultval=yes
12466 else
12467 defaultval=no
12468 fi
12469 fi
12470
12471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12472 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12473 # Check whether --enable-tbarnative was given.
12474 if test "${enable_tbarnative+set}" = set; then
12475 enableval=$enable_tbarnative;
12476 if test "$enableval" = yes; then
12477 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12478 else
12479 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12480 fi
12481
12482 else
12483
12484 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12485
12486 fi
12487
12488
12489 eval "$wx_cv_use_tbarnative"
12490
12491 if test x"$enablestring" = xdisable; then
12492 if test $wxUSE_TOOLBAR_NATIVE = no; then
12493 result=yes
12494 else
12495 result=no
12496 fi
12497 else
12498 result=$wxUSE_TOOLBAR_NATIVE
12499 fi
12500
12501 { echo "$as_me:$LINENO: result: $result" >&5
12502 echo "${ECHO_T}$result" >&6; }
12503
12504
12505 enablestring=
12506 defaultval=$wxUSE_ALL_FEATURES
12507 if test -z "$defaultval"; then
12508 if test x"$enablestring" = xdisable; then
12509 defaultval=yes
12510 else
12511 defaultval=no
12512 fi
12513 fi
12514
12515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12516 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12517 # Check whether --enable-textctrl was given.
12518 if test "${enable_textctrl+set}" = set; then
12519 enableval=$enable_textctrl;
12520 if test "$enableval" = yes; then
12521 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12522 else
12523 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12524 fi
12525
12526 else
12527
12528 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12529
12530 fi
12531
12532
12533 eval "$wx_cv_use_textctrl"
12534
12535 if test x"$enablestring" = xdisable; then
12536 if test $wxUSE_TEXTCTRL = no; then
12537 result=yes
12538 else
12539 result=no
12540 fi
12541 else
12542 result=$wxUSE_TEXTCTRL
12543 fi
12544
12545 { echo "$as_me:$LINENO: result: $result" >&5
12546 echo "${ECHO_T}$result" >&6; }
12547
12548
12549 enablestring=
12550 defaultval=$wxUSE_ALL_FEATURES
12551 if test -z "$defaultval"; then
12552 if test x"$enablestring" = xdisable; then
12553 defaultval=yes
12554 else
12555 defaultval=no
12556 fi
12557 fi
12558
12559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12560 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12561 # Check whether --enable-tipwindow was given.
12562 if test "${enable_tipwindow+set}" = set; then
12563 enableval=$enable_tipwindow;
12564 if test "$enableval" = yes; then
12565 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12566 else
12567 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12568 fi
12569
12570 else
12571
12572 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12573
12574 fi
12575
12576
12577 eval "$wx_cv_use_tipwindow"
12578
12579 if test x"$enablestring" = xdisable; then
12580 if test $wxUSE_TIPWINDOW = no; then
12581 result=yes
12582 else
12583 result=no
12584 fi
12585 else
12586 result=$wxUSE_TIPWINDOW
12587 fi
12588
12589 { echo "$as_me:$LINENO: result: $result" >&5
12590 echo "${ECHO_T}$result" >&6; }
12591
12592
12593 enablestring=
12594 defaultval=$wxUSE_ALL_FEATURES
12595 if test -z "$defaultval"; then
12596 if test x"$enablestring" = xdisable; then
12597 defaultval=yes
12598 else
12599 defaultval=no
12600 fi
12601 fi
12602
12603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12604 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12605 # Check whether --enable-togglebtn was given.
12606 if test "${enable_togglebtn+set}" = set; then
12607 enableval=$enable_togglebtn;
12608 if test "$enableval" = yes; then
12609 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12610 else
12611 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12612 fi
12613
12614 else
12615
12616 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12617
12618 fi
12619
12620
12621 eval "$wx_cv_use_togglebtn"
12622
12623 if test x"$enablestring" = xdisable; then
12624 if test $wxUSE_TOGGLEBTN = no; then
12625 result=yes
12626 else
12627 result=no
12628 fi
12629 else
12630 result=$wxUSE_TOGGLEBTN
12631 fi
12632
12633 { echo "$as_me:$LINENO: result: $result" >&5
12634 echo "${ECHO_T}$result" >&6; }
12635
12636
12637 enablestring=
12638 defaultval=$wxUSE_ALL_FEATURES
12639 if test -z "$defaultval"; then
12640 if test x"$enablestring" = xdisable; then
12641 defaultval=yes
12642 else
12643 defaultval=no
12644 fi
12645 fi
12646
12647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12648 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12649 # Check whether --enable-toolbar was given.
12650 if test "${enable_toolbar+set}" = set; then
12651 enableval=$enable_toolbar;
12652 if test "$enableval" = yes; then
12653 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12654 else
12655 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12656 fi
12657
12658 else
12659
12660 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12661
12662 fi
12663
12664
12665 eval "$wx_cv_use_toolbar"
12666
12667 if test x"$enablestring" = xdisable; then
12668 if test $wxUSE_TOOLBAR = no; then
12669 result=yes
12670 else
12671 result=no
12672 fi
12673 else
12674 result=$wxUSE_TOOLBAR
12675 fi
12676
12677 { echo "$as_me:$LINENO: result: $result" >&5
12678 echo "${ECHO_T}$result" >&6; }
12679
12680
12681 enablestring=
12682 defaultval=$wxUSE_ALL_FEATURES
12683 if test -z "$defaultval"; then
12684 if test x"$enablestring" = xdisable; then
12685 defaultval=yes
12686 else
12687 defaultval=no
12688 fi
12689 fi
12690
12691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12692 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12693 # Check whether --enable-toolbook was given.
12694 if test "${enable_toolbook+set}" = set; then
12695 enableval=$enable_toolbook;
12696 if test "$enableval" = yes; then
12697 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12698 else
12699 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12700 fi
12701
12702 else
12703
12704 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12705
12706 fi
12707
12708
12709 eval "$wx_cv_use_toolbook"
12710
12711 if test x"$enablestring" = xdisable; then
12712 if test $wxUSE_TOOLBOOK = no; then
12713 result=yes
12714 else
12715 result=no
12716 fi
12717 else
12718 result=$wxUSE_TOOLBOOK
12719 fi
12720
12721 { echo "$as_me:$LINENO: result: $result" >&5
12722 echo "${ECHO_T}$result" >&6; }
12723
12724
12725 enablestring=
12726 defaultval=$wxUSE_ALL_FEATURES
12727 if test -z "$defaultval"; then
12728 if test x"$enablestring" = xdisable; then
12729 defaultval=yes
12730 else
12731 defaultval=no
12732 fi
12733 fi
12734
12735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12736 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12737 # Check whether --enable-treebook was given.
12738 if test "${enable_treebook+set}" = set; then
12739 enableval=$enable_treebook;
12740 if test "$enableval" = yes; then
12741 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12742 else
12743 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12744 fi
12745
12746 else
12747
12748 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12749
12750 fi
12751
12752
12753 eval "$wx_cv_use_treebook"
12754
12755 if test x"$enablestring" = xdisable; then
12756 if test $wxUSE_TREEBOOK = no; then
12757 result=yes
12758 else
12759 result=no
12760 fi
12761 else
12762 result=$wxUSE_TREEBOOK
12763 fi
12764
12765 { echo "$as_me:$LINENO: result: $result" >&5
12766 echo "${ECHO_T}$result" >&6; }
12767
12768
12769 enablestring=
12770 defaultval=$wxUSE_ALL_FEATURES
12771 if test -z "$defaultval"; then
12772 if test x"$enablestring" = xdisable; then
12773 defaultval=yes
12774 else
12775 defaultval=no
12776 fi
12777 fi
12778
12779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12780 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12781 # Check whether --enable-treectrl was given.
12782 if test "${enable_treectrl+set}" = set; then
12783 enableval=$enable_treectrl;
12784 if test "$enableval" = yes; then
12785 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12786 else
12787 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12788 fi
12789
12790 else
12791
12792 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12793
12794 fi
12795
12796
12797 eval "$wx_cv_use_treectrl"
12798
12799 if test x"$enablestring" = xdisable; then
12800 if test $wxUSE_TREECTRL = no; then
12801 result=yes
12802 else
12803 result=no
12804 fi
12805 else
12806 result=$wxUSE_TREECTRL
12807 fi
12808
12809 { echo "$as_me:$LINENO: result: $result" >&5
12810 echo "${ECHO_T}$result" >&6; }
12811
12812
12813
12814
12815 enablestring=
12816 defaultval=$wxUSE_ALL_FEATURES
12817 if test -z "$defaultval"; then
12818 if test x"$enablestring" = xdisable; then
12819 defaultval=yes
12820 else
12821 defaultval=no
12822 fi
12823 fi
12824
12825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12826 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12827 # Check whether --enable-commondlg was given.
12828 if test "${enable_commondlg+set}" = set; then
12829 enableval=$enable_commondlg;
12830 if test "$enableval" = yes; then
12831 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12832 else
12833 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12834 fi
12835
12836 else
12837
12838 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12839
12840 fi
12841
12842
12843 eval "$wx_cv_use_commondlg"
12844
12845 if test x"$enablestring" = xdisable; then
12846 if test $wxUSE_COMMONDLGS = no; then
12847 result=yes
12848 else
12849 result=no
12850 fi
12851 else
12852 result=$wxUSE_COMMONDLGS
12853 fi
12854
12855 { echo "$as_me:$LINENO: result: $result" >&5
12856 echo "${ECHO_T}$result" >&6; }
12857
12858
12859 enablestring=
12860 defaultval=$wxUSE_ALL_FEATURES
12861 if test -z "$defaultval"; then
12862 if test x"$enablestring" = xdisable; then
12863 defaultval=yes
12864 else
12865 defaultval=no
12866 fi
12867 fi
12868
12869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12870 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12871 # Check whether --enable-aboutdlg was given.
12872 if test "${enable_aboutdlg+set}" = set; then
12873 enableval=$enable_aboutdlg;
12874 if test "$enableval" = yes; then
12875 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12876 else
12877 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12878 fi
12879
12880 else
12881
12882 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12883
12884 fi
12885
12886
12887 eval "$wx_cv_use_aboutdlg"
12888
12889 if test x"$enablestring" = xdisable; then
12890 if test $wxUSE_ABOUTDLG = no; then
12891 result=yes
12892 else
12893 result=no
12894 fi
12895 else
12896 result=$wxUSE_ABOUTDLG
12897 fi
12898
12899 { echo "$as_me:$LINENO: result: $result" >&5
12900 echo "${ECHO_T}$result" >&6; }
12901
12902
12903 enablestring=
12904 defaultval=$wxUSE_ALL_FEATURES
12905 if test -z "$defaultval"; then
12906 if test x"$enablestring" = xdisable; then
12907 defaultval=yes
12908 else
12909 defaultval=no
12910 fi
12911 fi
12912
12913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12914 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12915 # Check whether --enable-choicedlg was given.
12916 if test "${enable_choicedlg+set}" = set; then
12917 enableval=$enable_choicedlg;
12918 if test "$enableval" = yes; then
12919 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12920 else
12921 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12922 fi
12923
12924 else
12925
12926 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12927
12928 fi
12929
12930
12931 eval "$wx_cv_use_choicedlg"
12932
12933 if test x"$enablestring" = xdisable; then
12934 if test $wxUSE_CHOICEDLG = no; then
12935 result=yes
12936 else
12937 result=no
12938 fi
12939 else
12940 result=$wxUSE_CHOICEDLG
12941 fi
12942
12943 { echo "$as_me:$LINENO: result: $result" >&5
12944 echo "${ECHO_T}$result" >&6; }
12945
12946
12947 enablestring=
12948 defaultval=$wxUSE_ALL_FEATURES
12949 if test -z "$defaultval"; then
12950 if test x"$enablestring" = xdisable; then
12951 defaultval=yes
12952 else
12953 defaultval=no
12954 fi
12955 fi
12956
12957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12958 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12959 # Check whether --enable-coldlg was given.
12960 if test "${enable_coldlg+set}" = set; then
12961 enableval=$enable_coldlg;
12962 if test "$enableval" = yes; then
12963 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12964 else
12965 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12966 fi
12967
12968 else
12969
12970 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12971
12972 fi
12973
12974
12975 eval "$wx_cv_use_coldlg"
12976
12977 if test x"$enablestring" = xdisable; then
12978 if test $wxUSE_COLOURDLG = no; then
12979 result=yes
12980 else
12981 result=no
12982 fi
12983 else
12984 result=$wxUSE_COLOURDLG
12985 fi
12986
12987 { echo "$as_me:$LINENO: result: $result" >&5
12988 echo "${ECHO_T}$result" >&6; }
12989
12990
12991 enablestring=
12992 defaultval=$wxUSE_ALL_FEATURES
12993 if test -z "$defaultval"; then
12994 if test x"$enablestring" = xdisable; then
12995 defaultval=yes
12996 else
12997 defaultval=no
12998 fi
12999 fi
13000
13001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13002 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13003 # Check whether --enable-filedlg was given.
13004 if test "${enable_filedlg+set}" = set; then
13005 enableval=$enable_filedlg;
13006 if test "$enableval" = yes; then
13007 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13008 else
13009 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13010 fi
13011
13012 else
13013
13014 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13015
13016 fi
13017
13018
13019 eval "$wx_cv_use_filedlg"
13020
13021 if test x"$enablestring" = xdisable; then
13022 if test $wxUSE_FILEDLG = no; then
13023 result=yes
13024 else
13025 result=no
13026 fi
13027 else
13028 result=$wxUSE_FILEDLG
13029 fi
13030
13031 { echo "$as_me:$LINENO: result: $result" >&5
13032 echo "${ECHO_T}$result" >&6; }
13033
13034
13035 enablestring=
13036 defaultval=$wxUSE_ALL_FEATURES
13037 if test -z "$defaultval"; then
13038 if test x"$enablestring" = xdisable; then
13039 defaultval=yes
13040 else
13041 defaultval=no
13042 fi
13043 fi
13044
13045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13046 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13047 # Check whether --enable-finddlg was given.
13048 if test "${enable_finddlg+set}" = set; then
13049 enableval=$enable_finddlg;
13050 if test "$enableval" = yes; then
13051 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13052 else
13053 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13054 fi
13055
13056 else
13057
13058 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13059
13060 fi
13061
13062
13063 eval "$wx_cv_use_finddlg"
13064
13065 if test x"$enablestring" = xdisable; then
13066 if test $wxUSE_FINDREPLDLG = no; then
13067 result=yes
13068 else
13069 result=no
13070 fi
13071 else
13072 result=$wxUSE_FINDREPLDLG
13073 fi
13074
13075 { echo "$as_me:$LINENO: result: $result" >&5
13076 echo "${ECHO_T}$result" >&6; }
13077
13078
13079 enablestring=
13080 defaultval=$wxUSE_ALL_FEATURES
13081 if test -z "$defaultval"; then
13082 if test x"$enablestring" = xdisable; then
13083 defaultval=yes
13084 else
13085 defaultval=no
13086 fi
13087 fi
13088
13089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13090 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13091 # Check whether --enable-fontdlg was given.
13092 if test "${enable_fontdlg+set}" = set; then
13093 enableval=$enable_fontdlg;
13094 if test "$enableval" = yes; then
13095 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13096 else
13097 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13098 fi
13099
13100 else
13101
13102 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13103
13104 fi
13105
13106
13107 eval "$wx_cv_use_fontdlg"
13108
13109 if test x"$enablestring" = xdisable; then
13110 if test $wxUSE_FONTDLG = no; then
13111 result=yes
13112 else
13113 result=no
13114 fi
13115 else
13116 result=$wxUSE_FONTDLG
13117 fi
13118
13119 { echo "$as_me:$LINENO: result: $result" >&5
13120 echo "${ECHO_T}$result" >&6; }
13121
13122
13123 enablestring=
13124 defaultval=$wxUSE_ALL_FEATURES
13125 if test -z "$defaultval"; then
13126 if test x"$enablestring" = xdisable; then
13127 defaultval=yes
13128 else
13129 defaultval=no
13130 fi
13131 fi
13132
13133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13134 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13135 # Check whether --enable-dirdlg was given.
13136 if test "${enable_dirdlg+set}" = set; then
13137 enableval=$enable_dirdlg;
13138 if test "$enableval" = yes; then
13139 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13140 else
13141 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13142 fi
13143
13144 else
13145
13146 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13147
13148 fi
13149
13150
13151 eval "$wx_cv_use_dirdlg"
13152
13153 if test x"$enablestring" = xdisable; then
13154 if test $wxUSE_DIRDLG = no; then
13155 result=yes
13156 else
13157 result=no
13158 fi
13159 else
13160 result=$wxUSE_DIRDLG
13161 fi
13162
13163 { echo "$as_me:$LINENO: result: $result" >&5
13164 echo "${ECHO_T}$result" >&6; }
13165
13166
13167 enablestring=
13168 defaultval=$wxUSE_ALL_FEATURES
13169 if test -z "$defaultval"; then
13170 if test x"$enablestring" = xdisable; then
13171 defaultval=yes
13172 else
13173 defaultval=no
13174 fi
13175 fi
13176
13177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13178 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13179 # Check whether --enable-msgdlg was given.
13180 if test "${enable_msgdlg+set}" = set; then
13181 enableval=$enable_msgdlg;
13182 if test "$enableval" = yes; then
13183 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13184 else
13185 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13186 fi
13187
13188 else
13189
13190 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13191
13192 fi
13193
13194
13195 eval "$wx_cv_use_msgdlg"
13196
13197 if test x"$enablestring" = xdisable; then
13198 if test $wxUSE_MSGDLG = no; then
13199 result=yes
13200 else
13201 result=no
13202 fi
13203 else
13204 result=$wxUSE_MSGDLG
13205 fi
13206
13207 { echo "$as_me:$LINENO: result: $result" >&5
13208 echo "${ECHO_T}$result" >&6; }
13209
13210
13211 enablestring=
13212 defaultval=$wxUSE_ALL_FEATURES
13213 if test -z "$defaultval"; then
13214 if test x"$enablestring" = xdisable; then
13215 defaultval=yes
13216 else
13217 defaultval=no
13218 fi
13219 fi
13220
13221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13222 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13223 # Check whether --enable-numberdlg was given.
13224 if test "${enable_numberdlg+set}" = set; then
13225 enableval=$enable_numberdlg;
13226 if test "$enableval" = yes; then
13227 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13228 else
13229 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13230 fi
13231
13232 else
13233
13234 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13235
13236 fi
13237
13238
13239 eval "$wx_cv_use_numberdlg"
13240
13241 if test x"$enablestring" = xdisable; then
13242 if test $wxUSE_NUMBERDLG = no; then
13243 result=yes
13244 else
13245 result=no
13246 fi
13247 else
13248 result=$wxUSE_NUMBERDLG
13249 fi
13250
13251 { echo "$as_me:$LINENO: result: $result" >&5
13252 echo "${ECHO_T}$result" >&6; }
13253
13254
13255 enablestring=
13256 defaultval=$wxUSE_ALL_FEATURES
13257 if test -z "$defaultval"; then
13258 if test x"$enablestring" = xdisable; then
13259 defaultval=yes
13260 else
13261 defaultval=no
13262 fi
13263 fi
13264
13265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13266 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13267 # Check whether --enable-splash was given.
13268 if test "${enable_splash+set}" = set; then
13269 enableval=$enable_splash;
13270 if test "$enableval" = yes; then
13271 wx_cv_use_splash='wxUSE_SPLASH=yes'
13272 else
13273 wx_cv_use_splash='wxUSE_SPLASH=no'
13274 fi
13275
13276 else
13277
13278 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13279
13280 fi
13281
13282
13283 eval "$wx_cv_use_splash"
13284
13285 if test x"$enablestring" = xdisable; then
13286 if test $wxUSE_SPLASH = no; then
13287 result=yes
13288 else
13289 result=no
13290 fi
13291 else
13292 result=$wxUSE_SPLASH
13293 fi
13294
13295 { echo "$as_me:$LINENO: result: $result" >&5
13296 echo "${ECHO_T}$result" >&6; }
13297
13298
13299 enablestring=
13300 defaultval=$wxUSE_ALL_FEATURES
13301 if test -z "$defaultval"; then
13302 if test x"$enablestring" = xdisable; then
13303 defaultval=yes
13304 else
13305 defaultval=no
13306 fi
13307 fi
13308
13309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13310 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13311 # Check whether --enable-textdlg was given.
13312 if test "${enable_textdlg+set}" = set; then
13313 enableval=$enable_textdlg;
13314 if test "$enableval" = yes; then
13315 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13316 else
13317 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13318 fi
13319
13320 else
13321
13322 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13323
13324 fi
13325
13326
13327 eval "$wx_cv_use_textdlg"
13328
13329 if test x"$enablestring" = xdisable; then
13330 if test $wxUSE_TEXTDLG = no; then
13331 result=yes
13332 else
13333 result=no
13334 fi
13335 else
13336 result=$wxUSE_TEXTDLG
13337 fi
13338
13339 { echo "$as_me:$LINENO: result: $result" >&5
13340 echo "${ECHO_T}$result" >&6; }
13341
13342
13343 enablestring=
13344 defaultval=$wxUSE_ALL_FEATURES
13345 if test -z "$defaultval"; then
13346 if test x"$enablestring" = xdisable; then
13347 defaultval=yes
13348 else
13349 defaultval=no
13350 fi
13351 fi
13352
13353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13354 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13355 # Check whether --enable-tipdlg was given.
13356 if test "${enable_tipdlg+set}" = set; then
13357 enableval=$enable_tipdlg;
13358 if test "$enableval" = yes; then
13359 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13360 else
13361 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13362 fi
13363
13364 else
13365
13366 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13367
13368 fi
13369
13370
13371 eval "$wx_cv_use_tipdlg"
13372
13373 if test x"$enablestring" = xdisable; then
13374 if test $wxUSE_STARTUP_TIPS = no; then
13375 result=yes
13376 else
13377 result=no
13378 fi
13379 else
13380 result=$wxUSE_STARTUP_TIPS
13381 fi
13382
13383 { echo "$as_me:$LINENO: result: $result" >&5
13384 echo "${ECHO_T}$result" >&6; }
13385
13386
13387 enablestring=
13388 defaultval=$wxUSE_ALL_FEATURES
13389 if test -z "$defaultval"; then
13390 if test x"$enablestring" = xdisable; then
13391 defaultval=yes
13392 else
13393 defaultval=no
13394 fi
13395 fi
13396
13397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13398 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13399 # Check whether --enable-progressdlg was given.
13400 if test "${enable_progressdlg+set}" = set; then
13401 enableval=$enable_progressdlg;
13402 if test "$enableval" = yes; then
13403 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13404 else
13405 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13406 fi
13407
13408 else
13409
13410 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13411
13412 fi
13413
13414
13415 eval "$wx_cv_use_progressdlg"
13416
13417 if test x"$enablestring" = xdisable; then
13418 if test $wxUSE_PROGRESSDLG = no; then
13419 result=yes
13420 else
13421 result=no
13422 fi
13423 else
13424 result=$wxUSE_PROGRESSDLG
13425 fi
13426
13427 { echo "$as_me:$LINENO: result: $result" >&5
13428 echo "${ECHO_T}$result" >&6; }
13429
13430
13431 enablestring=
13432 defaultval=$wxUSE_ALL_FEATURES
13433 if test -z "$defaultval"; then
13434 if test x"$enablestring" = xdisable; then
13435 defaultval=yes
13436 else
13437 defaultval=no
13438 fi
13439 fi
13440
13441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13442 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13443 # Check whether --enable-wizarddlg was given.
13444 if test "${enable_wizarddlg+set}" = set; then
13445 enableval=$enable_wizarddlg;
13446 if test "$enableval" = yes; then
13447 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13448 else
13449 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13450 fi
13451
13452 else
13453
13454 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13455
13456 fi
13457
13458
13459 eval "$wx_cv_use_wizarddlg"
13460
13461 if test x"$enablestring" = xdisable; then
13462 if test $wxUSE_WIZARDDLG = no; then
13463 result=yes
13464 else
13465 result=no
13466 fi
13467 else
13468 result=$wxUSE_WIZARDDLG
13469 fi
13470
13471 { echo "$as_me:$LINENO: result: $result" >&5
13472 echo "${ECHO_T}$result" >&6; }
13473
13474
13475
13476
13477 enablestring=
13478 defaultval=$wxUSE_ALL_FEATURES
13479 if test -z "$defaultval"; then
13480 if test x"$enablestring" = xdisable; then
13481 defaultval=yes
13482 else
13483 defaultval=no
13484 fi
13485 fi
13486
13487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13488 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13489 # Check whether --enable-menus was given.
13490 if test "${enable_menus+set}" = set; then
13491 enableval=$enable_menus;
13492 if test "$enableval" = yes; then
13493 wx_cv_use_menus='wxUSE_MENUS=yes'
13494 else
13495 wx_cv_use_menus='wxUSE_MENUS=no'
13496 fi
13497
13498 else
13499
13500 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13501
13502 fi
13503
13504
13505 eval "$wx_cv_use_menus"
13506
13507 if test x"$enablestring" = xdisable; then
13508 if test $wxUSE_MENUS = no; then
13509 result=yes
13510 else
13511 result=no
13512 fi
13513 else
13514 result=$wxUSE_MENUS
13515 fi
13516
13517 { echo "$as_me:$LINENO: result: $result" >&5
13518 echo "${ECHO_T}$result" >&6; }
13519
13520
13521 enablestring=
13522 defaultval=$wxUSE_ALL_FEATURES
13523 if test -z "$defaultval"; then
13524 if test x"$enablestring" = xdisable; then
13525 defaultval=yes
13526 else
13527 defaultval=no
13528 fi
13529 fi
13530
13531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13532 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13533 # Check whether --enable-miniframe was given.
13534 if test "${enable_miniframe+set}" = set; then
13535 enableval=$enable_miniframe;
13536 if test "$enableval" = yes; then
13537 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13538 else
13539 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13540 fi
13541
13542 else
13543
13544 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13545
13546 fi
13547
13548
13549 eval "$wx_cv_use_miniframe"
13550
13551 if test x"$enablestring" = xdisable; then
13552 if test $wxUSE_MINIFRAME = no; then
13553 result=yes
13554 else
13555 result=no
13556 fi
13557 else
13558 result=$wxUSE_MINIFRAME
13559 fi
13560
13561 { echo "$as_me:$LINENO: result: $result" >&5
13562 echo "${ECHO_T}$result" >&6; }
13563
13564
13565 enablestring=
13566 defaultval=$wxUSE_ALL_FEATURES
13567 if test -z "$defaultval"; then
13568 if test x"$enablestring" = xdisable; then
13569 defaultval=yes
13570 else
13571 defaultval=no
13572 fi
13573 fi
13574
13575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13576 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13577 # Check whether --enable-tooltips was given.
13578 if test "${enable_tooltips+set}" = set; then
13579 enableval=$enable_tooltips;
13580 if test "$enableval" = yes; then
13581 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13582 else
13583 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13584 fi
13585
13586 else
13587
13588 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13589
13590 fi
13591
13592
13593 eval "$wx_cv_use_tooltips"
13594
13595 if test x"$enablestring" = xdisable; then
13596 if test $wxUSE_TOOLTIPS = no; then
13597 result=yes
13598 else
13599 result=no
13600 fi
13601 else
13602 result=$wxUSE_TOOLTIPS
13603 fi
13604
13605 { echo "$as_me:$LINENO: result: $result" >&5
13606 echo "${ECHO_T}$result" >&6; }
13607
13608
13609 enablestring=
13610 defaultval=$wxUSE_ALL_FEATURES
13611 if test -z "$defaultval"; then
13612 if test x"$enablestring" = xdisable; then
13613 defaultval=yes
13614 else
13615 defaultval=no
13616 fi
13617 fi
13618
13619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13620 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13621 # Check whether --enable-splines was given.
13622 if test "${enable_splines+set}" = set; then
13623 enableval=$enable_splines;
13624 if test "$enableval" = yes; then
13625 wx_cv_use_splines='wxUSE_SPLINES=yes'
13626 else
13627 wx_cv_use_splines='wxUSE_SPLINES=no'
13628 fi
13629
13630 else
13631
13632 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13633
13634 fi
13635
13636
13637 eval "$wx_cv_use_splines"
13638
13639 if test x"$enablestring" = xdisable; then
13640 if test $wxUSE_SPLINES = no; then
13641 result=yes
13642 else
13643 result=no
13644 fi
13645 else
13646 result=$wxUSE_SPLINES
13647 fi
13648
13649 { echo "$as_me:$LINENO: result: $result" >&5
13650 echo "${ECHO_T}$result" >&6; }
13651
13652
13653 enablestring=
13654 defaultval=$wxUSE_ALL_FEATURES
13655 if test -z "$defaultval"; then
13656 if test x"$enablestring" = xdisable; then
13657 defaultval=yes
13658 else
13659 defaultval=no
13660 fi
13661 fi
13662
13663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13664 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13665 # Check whether --enable-mousewheel was given.
13666 if test "${enable_mousewheel+set}" = set; then
13667 enableval=$enable_mousewheel;
13668 if test "$enableval" = yes; then
13669 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13670 else
13671 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13672 fi
13673
13674 else
13675
13676 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13677
13678 fi
13679
13680
13681 eval "$wx_cv_use_mousewheel"
13682
13683 if test x"$enablestring" = xdisable; then
13684 if test $wxUSE_MOUSEWHEEL = no; then
13685 result=yes
13686 else
13687 result=no
13688 fi
13689 else
13690 result=$wxUSE_MOUSEWHEEL
13691 fi
13692
13693 { echo "$as_me:$LINENO: result: $result" >&5
13694 echo "${ECHO_T}$result" >&6; }
13695
13696
13697 enablestring=
13698 defaultval=$wxUSE_ALL_FEATURES
13699 if test -z "$defaultval"; then
13700 if test x"$enablestring" = xdisable; then
13701 defaultval=yes
13702 else
13703 defaultval=no
13704 fi
13705 fi
13706
13707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13708 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13709 # Check whether --enable-validators was given.
13710 if test "${enable_validators+set}" = set; then
13711 enableval=$enable_validators;
13712 if test "$enableval" = yes; then
13713 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13714 else
13715 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13716 fi
13717
13718 else
13719
13720 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13721
13722 fi
13723
13724
13725 eval "$wx_cv_use_validators"
13726
13727 if test x"$enablestring" = xdisable; then
13728 if test $wxUSE_VALIDATORS = no; then
13729 result=yes
13730 else
13731 result=no
13732 fi
13733 else
13734 result=$wxUSE_VALIDATORS
13735 fi
13736
13737 { echo "$as_me:$LINENO: result: $result" >&5
13738 echo "${ECHO_T}$result" >&6; }
13739
13740
13741 enablestring=
13742 defaultval=$wxUSE_ALL_FEATURES
13743 if test -z "$defaultval"; then
13744 if test x"$enablestring" = xdisable; then
13745 defaultval=yes
13746 else
13747 defaultval=no
13748 fi
13749 fi
13750
13751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13752 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13753 # Check whether --enable-busyinfo was given.
13754 if test "${enable_busyinfo+set}" = set; then
13755 enableval=$enable_busyinfo;
13756 if test "$enableval" = yes; then
13757 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13758 else
13759 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13760 fi
13761
13762 else
13763
13764 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13765
13766 fi
13767
13768
13769 eval "$wx_cv_use_busyinfo"
13770
13771 if test x"$enablestring" = xdisable; then
13772 if test $wxUSE_BUSYINFO = no; then
13773 result=yes
13774 else
13775 result=no
13776 fi
13777 else
13778 result=$wxUSE_BUSYINFO
13779 fi
13780
13781 { echo "$as_me:$LINENO: result: $result" >&5
13782 echo "${ECHO_T}$result" >&6; }
13783
13784
13785 enablestring=
13786 defaultval=$wxUSE_ALL_FEATURES
13787 if test -z "$defaultval"; then
13788 if test x"$enablestring" = xdisable; then
13789 defaultval=yes
13790 else
13791 defaultval=no
13792 fi
13793 fi
13794
13795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13796 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13797 # Check whether --enable-joystick was given.
13798 if test "${enable_joystick+set}" = set; then
13799 enableval=$enable_joystick;
13800 if test "$enableval" = yes; then
13801 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13802 else
13803 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13804 fi
13805
13806 else
13807
13808 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13809
13810 fi
13811
13812
13813 eval "$wx_cv_use_joystick"
13814
13815 if test x"$enablestring" = xdisable; then
13816 if test $wxUSE_JOYSTICK = no; then
13817 result=yes
13818 else
13819 result=no
13820 fi
13821 else
13822 result=$wxUSE_JOYSTICK
13823 fi
13824
13825 { echo "$as_me:$LINENO: result: $result" >&5
13826 echo "${ECHO_T}$result" >&6; }
13827
13828
13829 enablestring=
13830 defaultval=$wxUSE_ALL_FEATURES
13831 if test -z "$defaultval"; then
13832 if test x"$enablestring" = xdisable; then
13833 defaultval=yes
13834 else
13835 defaultval=no
13836 fi
13837 fi
13838
13839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13840 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13841 # Check whether --enable-metafile was given.
13842 if test "${enable_metafile+set}" = set; then
13843 enableval=$enable_metafile;
13844 if test "$enableval" = yes; then
13845 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13846 else
13847 wx_cv_use_metafile='wxUSE_METAFILE=no'
13848 fi
13849
13850 else
13851
13852 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13853
13854 fi
13855
13856
13857 eval "$wx_cv_use_metafile"
13858
13859 if test x"$enablestring" = xdisable; then
13860 if test $wxUSE_METAFILE = no; then
13861 result=yes
13862 else
13863 result=no
13864 fi
13865 else
13866 result=$wxUSE_METAFILE
13867 fi
13868
13869 { echo "$as_me:$LINENO: result: $result" >&5
13870 echo "${ECHO_T}$result" >&6; }
13871
13872
13873 enablestring=
13874 defaultval=$wxUSE_ALL_FEATURES
13875 if test -z "$defaultval"; then
13876 if test x"$enablestring" = xdisable; then
13877 defaultval=yes
13878 else
13879 defaultval=no
13880 fi
13881 fi
13882
13883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13884 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13885 # Check whether --enable-dragimage was given.
13886 if test "${enable_dragimage+set}" = set; then
13887 enableval=$enable_dragimage;
13888 if test "$enableval" = yes; then
13889 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13890 else
13891 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13892 fi
13893
13894 else
13895
13896 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13897
13898 fi
13899
13900
13901 eval "$wx_cv_use_dragimage"
13902
13903 if test x"$enablestring" = xdisable; then
13904 if test $wxUSE_DRAGIMAGE = no; then
13905 result=yes
13906 else
13907 result=no
13908 fi
13909 else
13910 result=$wxUSE_DRAGIMAGE
13911 fi
13912
13913 { echo "$as_me:$LINENO: result: $result" >&5
13914 echo "${ECHO_T}$result" >&6; }
13915
13916
13917 enablestring=
13918 defaultval=$wxUSE_ALL_FEATURES
13919 if test -z "$defaultval"; then
13920 if test x"$enablestring" = xdisable; then
13921 defaultval=yes
13922 else
13923 defaultval=no
13924 fi
13925 fi
13926
13927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13928 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13929 # Check whether --enable-accessibility was given.
13930 if test "${enable_accessibility+set}" = set; then
13931 enableval=$enable_accessibility;
13932 if test "$enableval" = yes; then
13933 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13934 else
13935 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13936 fi
13937
13938 else
13939
13940 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13941
13942 fi
13943
13944
13945 eval "$wx_cv_use_accessibility"
13946
13947 if test x"$enablestring" = xdisable; then
13948 if test $wxUSE_ACCESSIBILITY = no; then
13949 result=yes
13950 else
13951 result=no
13952 fi
13953 else
13954 result=$wxUSE_ACCESSIBILITY
13955 fi
13956
13957 { echo "$as_me:$LINENO: result: $result" >&5
13958 echo "${ECHO_T}$result" >&6; }
13959
13960
13961 enablestring=
13962 defaultval=$wxUSE_ALL_FEATURES
13963 if test -z "$defaultval"; then
13964 if test x"$enablestring" = xdisable; then
13965 defaultval=yes
13966 else
13967 defaultval=no
13968 fi
13969 fi
13970
13971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13972 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13973 # Check whether --enable-uiactionsim was given.
13974 if test "${enable_uiactionsim+set}" = set; then
13975 enableval=$enable_uiactionsim;
13976 if test "$enableval" = yes; then
13977 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13978 else
13979 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13980 fi
13981
13982 else
13983
13984 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13985
13986 fi
13987
13988
13989 eval "$wx_cv_use_uiactionsim"
13990
13991 if test x"$enablestring" = xdisable; then
13992 if test $wxUSE_UIACTIONSIMULATOR = no; then
13993 result=yes
13994 else
13995 result=no
13996 fi
13997 else
13998 result=$wxUSE_UIACTIONSIMULATOR
13999 fi
14000
14001 { echo "$as_me:$LINENO: result: $result" >&5
14002 echo "${ECHO_T}$result" >&6; }
14003
14004
14005
14006
14007 enablestring=
14008 defaultval=$wxUSE_ALL_FEATURES
14009 if test -z "$defaultval"; then
14010 if test x"$enablestring" = xdisable; then
14011 defaultval=yes
14012 else
14013 defaultval=no
14014 fi
14015 fi
14016
14017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14018 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14019 # Check whether --enable-palette was given.
14020 if test "${enable_palette+set}" = set; then
14021 enableval=$enable_palette;
14022 if test "$enableval" = yes; then
14023 wx_cv_use_palette='wxUSE_PALETTE=yes'
14024 else
14025 wx_cv_use_palette='wxUSE_PALETTE=no'
14026 fi
14027
14028 else
14029
14030 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14031
14032 fi
14033
14034
14035 eval "$wx_cv_use_palette"
14036
14037 if test x"$enablestring" = xdisable; then
14038 if test $wxUSE_PALETTE = no; then
14039 result=yes
14040 else
14041 result=no
14042 fi
14043 else
14044 result=$wxUSE_PALETTE
14045 fi
14046
14047 { echo "$as_me:$LINENO: result: $result" >&5
14048 echo "${ECHO_T}$result" >&6; }
14049
14050
14051 enablestring=
14052 defaultval=$wxUSE_ALL_FEATURES
14053 if test -z "$defaultval"; then
14054 if test x"$enablestring" = xdisable; then
14055 defaultval=yes
14056 else
14057 defaultval=no
14058 fi
14059 fi
14060
14061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14062 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14063 # Check whether --enable-image was given.
14064 if test "${enable_image+set}" = set; then
14065 enableval=$enable_image;
14066 if test "$enableval" = yes; then
14067 wx_cv_use_image='wxUSE_IMAGE=yes'
14068 else
14069 wx_cv_use_image='wxUSE_IMAGE=no'
14070 fi
14071
14072 else
14073
14074 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14075
14076 fi
14077
14078
14079 eval "$wx_cv_use_image"
14080
14081 if test x"$enablestring" = xdisable; then
14082 if test $wxUSE_IMAGE = no; then
14083 result=yes
14084 else
14085 result=no
14086 fi
14087 else
14088 result=$wxUSE_IMAGE
14089 fi
14090
14091 { echo "$as_me:$LINENO: result: $result" >&5
14092 echo "${ECHO_T}$result" >&6; }
14093
14094
14095 enablestring=
14096 defaultval=$wxUSE_ALL_FEATURES
14097 if test -z "$defaultval"; then
14098 if test x"$enablestring" = xdisable; then
14099 defaultval=yes
14100 else
14101 defaultval=no
14102 fi
14103 fi
14104
14105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14106 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14107 # Check whether --enable-gif was given.
14108 if test "${enable_gif+set}" = set; then
14109 enableval=$enable_gif;
14110 if test "$enableval" = yes; then
14111 wx_cv_use_gif='wxUSE_GIF=yes'
14112 else
14113 wx_cv_use_gif='wxUSE_GIF=no'
14114 fi
14115
14116 else
14117
14118 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14119
14120 fi
14121
14122
14123 eval "$wx_cv_use_gif"
14124
14125 if test x"$enablestring" = xdisable; then
14126 if test $wxUSE_GIF = no; then
14127 result=yes
14128 else
14129 result=no
14130 fi
14131 else
14132 result=$wxUSE_GIF
14133 fi
14134
14135 { echo "$as_me:$LINENO: result: $result" >&5
14136 echo "${ECHO_T}$result" >&6; }
14137
14138
14139 enablestring=
14140 defaultval=$wxUSE_ALL_FEATURES
14141 if test -z "$defaultval"; then
14142 if test x"$enablestring" = xdisable; then
14143 defaultval=yes
14144 else
14145 defaultval=no
14146 fi
14147 fi
14148
14149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14150 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14151 # Check whether --enable-pcx was given.
14152 if test "${enable_pcx+set}" = set; then
14153 enableval=$enable_pcx;
14154 if test "$enableval" = yes; then
14155 wx_cv_use_pcx='wxUSE_PCX=yes'
14156 else
14157 wx_cv_use_pcx='wxUSE_PCX=no'
14158 fi
14159
14160 else
14161
14162 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14163
14164 fi
14165
14166
14167 eval "$wx_cv_use_pcx"
14168
14169 if test x"$enablestring" = xdisable; then
14170 if test $wxUSE_PCX = no; then
14171 result=yes
14172 else
14173 result=no
14174 fi
14175 else
14176 result=$wxUSE_PCX
14177 fi
14178
14179 { echo "$as_me:$LINENO: result: $result" >&5
14180 echo "${ECHO_T}$result" >&6; }
14181
14182
14183 enablestring=
14184 defaultval=$wxUSE_ALL_FEATURES
14185 if test -z "$defaultval"; then
14186 if test x"$enablestring" = xdisable; then
14187 defaultval=yes
14188 else
14189 defaultval=no
14190 fi
14191 fi
14192
14193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14194 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14195 # Check whether --enable-tga was given.
14196 if test "${enable_tga+set}" = set; then
14197 enableval=$enable_tga;
14198 if test "$enableval" = yes; then
14199 wx_cv_use_tga='wxUSE_TGA=yes'
14200 else
14201 wx_cv_use_tga='wxUSE_TGA=no'
14202 fi
14203
14204 else
14205
14206 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14207
14208 fi
14209
14210
14211 eval "$wx_cv_use_tga"
14212
14213 if test x"$enablestring" = xdisable; then
14214 if test $wxUSE_TGA = no; then
14215 result=yes
14216 else
14217 result=no
14218 fi
14219 else
14220 result=$wxUSE_TGA
14221 fi
14222
14223 { echo "$as_me:$LINENO: result: $result" >&5
14224 echo "${ECHO_T}$result" >&6; }
14225
14226
14227 enablestring=
14228 defaultval=$wxUSE_ALL_FEATURES
14229 if test -z "$defaultval"; then
14230 if test x"$enablestring" = xdisable; then
14231 defaultval=yes
14232 else
14233 defaultval=no
14234 fi
14235 fi
14236
14237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14238 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14239 # Check whether --enable-iff was given.
14240 if test "${enable_iff+set}" = set; then
14241 enableval=$enable_iff;
14242 if test "$enableval" = yes; then
14243 wx_cv_use_iff='wxUSE_IFF=yes'
14244 else
14245 wx_cv_use_iff='wxUSE_IFF=no'
14246 fi
14247
14248 else
14249
14250 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14251
14252 fi
14253
14254
14255 eval "$wx_cv_use_iff"
14256
14257 if test x"$enablestring" = xdisable; then
14258 if test $wxUSE_IFF = no; then
14259 result=yes
14260 else
14261 result=no
14262 fi
14263 else
14264 result=$wxUSE_IFF
14265 fi
14266
14267 { echo "$as_me:$LINENO: result: $result" >&5
14268 echo "${ECHO_T}$result" >&6; }
14269
14270
14271 enablestring=
14272 defaultval=$wxUSE_ALL_FEATURES
14273 if test -z "$defaultval"; then
14274 if test x"$enablestring" = xdisable; then
14275 defaultval=yes
14276 else
14277 defaultval=no
14278 fi
14279 fi
14280
14281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14282 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14283 # Check whether --enable-pnm was given.
14284 if test "${enable_pnm+set}" = set; then
14285 enableval=$enable_pnm;
14286 if test "$enableval" = yes; then
14287 wx_cv_use_pnm='wxUSE_PNM=yes'
14288 else
14289 wx_cv_use_pnm='wxUSE_PNM=no'
14290 fi
14291
14292 else
14293
14294 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14295
14296 fi
14297
14298
14299 eval "$wx_cv_use_pnm"
14300
14301 if test x"$enablestring" = xdisable; then
14302 if test $wxUSE_PNM = no; then
14303 result=yes
14304 else
14305 result=no
14306 fi
14307 else
14308 result=$wxUSE_PNM
14309 fi
14310
14311 { echo "$as_me:$LINENO: result: $result" >&5
14312 echo "${ECHO_T}$result" >&6; }
14313
14314
14315 enablestring=
14316 defaultval=$wxUSE_ALL_FEATURES
14317 if test -z "$defaultval"; then
14318 if test x"$enablestring" = xdisable; then
14319 defaultval=yes
14320 else
14321 defaultval=no
14322 fi
14323 fi
14324
14325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14326 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14327 # Check whether --enable-xpm was given.
14328 if test "${enable_xpm+set}" = set; then
14329 enableval=$enable_xpm;
14330 if test "$enableval" = yes; then
14331 wx_cv_use_xpm='wxUSE_XPM=yes'
14332 else
14333 wx_cv_use_xpm='wxUSE_XPM=no'
14334 fi
14335
14336 else
14337
14338 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14339
14340 fi
14341
14342
14343 eval "$wx_cv_use_xpm"
14344
14345 if test x"$enablestring" = xdisable; then
14346 if test $wxUSE_XPM = no; then
14347 result=yes
14348 else
14349 result=no
14350 fi
14351 else
14352 result=$wxUSE_XPM
14353 fi
14354
14355 { echo "$as_me:$LINENO: result: $result" >&5
14356 echo "${ECHO_T}$result" >&6; }
14357
14358
14359 enablestring=
14360 defaultval=$wxUSE_ALL_FEATURES
14361 if test -z "$defaultval"; then
14362 if test x"$enablestring" = xdisable; then
14363 defaultval=yes
14364 else
14365 defaultval=no
14366 fi
14367 fi
14368
14369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14370 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14371 # Check whether --enable-ico_cur was given.
14372 if test "${enable_ico_cur+set}" = set; then
14373 enableval=$enable_ico_cur;
14374 if test "$enableval" = yes; then
14375 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14376 else
14377 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14378 fi
14379
14380 else
14381
14382 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14383
14384 fi
14385
14386
14387 eval "$wx_cv_use_ico_cur"
14388
14389 if test x"$enablestring" = xdisable; then
14390 if test $wxUSE_ICO_CUR = no; then
14391 result=yes
14392 else
14393 result=no
14394 fi
14395 else
14396 result=$wxUSE_ICO_CUR
14397 fi
14398
14399 { echo "$as_me:$LINENO: result: $result" >&5
14400 echo "${ECHO_T}$result" >&6; }
14401
14402
14403
14404
14405 enablestring=
14406 defaultval=$wxUSE_ALL_FEATURES
14407 if test -z "$defaultval"; then
14408 if test x"$enablestring" = xdisable; then
14409 defaultval=yes
14410 else
14411 defaultval=no
14412 fi
14413 fi
14414
14415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14416 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14417 # Check whether --enable-dccache was given.
14418 if test "${enable_dccache+set}" = set; then
14419 enableval=$enable_dccache;
14420 if test "$enableval" = yes; then
14421 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14422 else
14423 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14424 fi
14425
14426 else
14427
14428 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14429
14430 fi
14431
14432
14433 eval "$wx_cv_use_dccache"
14434
14435 if test x"$enablestring" = xdisable; then
14436 if test $wxUSE_DC_CACHEING = no; then
14437 result=yes
14438 else
14439 result=no
14440 fi
14441 else
14442 result=$wxUSE_DC_CACHEING
14443 fi
14444
14445 { echo "$as_me:$LINENO: result: $result" >&5
14446 echo "${ECHO_T}$result" >&6; }
14447
14448
14449 enablestring=
14450 defaultval=$wxUSE_ALL_FEATURES
14451 if test -z "$defaultval"; then
14452 if test x"$enablestring" = xdisable; then
14453 defaultval=yes
14454 else
14455 defaultval=no
14456 fi
14457 fi
14458
14459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14460 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14461 # Check whether --enable-ps-in-msw was given.
14462 if test "${enable_ps_in_msw+set}" = set; then
14463 enableval=$enable_ps_in_msw;
14464 if test "$enableval" = yes; then
14465 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14466 else
14467 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14468 fi
14469
14470 else
14471
14472 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14473
14474 fi
14475
14476
14477 eval "$wx_cv_use_ps_in_msw"
14478
14479 if test x"$enablestring" = xdisable; then
14480 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14481 result=yes
14482 else
14483 result=no
14484 fi
14485 else
14486 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14487 fi
14488
14489 { echo "$as_me:$LINENO: result: $result" >&5
14490 echo "${ECHO_T}$result" >&6; }
14491
14492
14493 enablestring=
14494 defaultval=$wxUSE_ALL_FEATURES
14495 if test -z "$defaultval"; then
14496 if test x"$enablestring" = xdisable; then
14497 defaultval=yes
14498 else
14499 defaultval=no
14500 fi
14501 fi
14502
14503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14504 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14505 # Check whether --enable-ownerdrawn was given.
14506 if test "${enable_ownerdrawn+set}" = set; then
14507 enableval=$enable_ownerdrawn;
14508 if test "$enableval" = yes; then
14509 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14510 else
14511 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14512 fi
14513
14514 else
14515
14516 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14517
14518 fi
14519
14520
14521 eval "$wx_cv_use_ownerdrawn"
14522
14523 if test x"$enablestring" = xdisable; then
14524 if test $wxUSE_OWNER_DRAWN = no; then
14525 result=yes
14526 else
14527 result=no
14528 fi
14529 else
14530 result=$wxUSE_OWNER_DRAWN
14531 fi
14532
14533 { echo "$as_me:$LINENO: result: $result" >&5
14534 echo "${ECHO_T}$result" >&6; }
14535
14536
14537 enablestring=
14538 defaultval=$wxUSE_ALL_FEATURES
14539 if test -z "$defaultval"; then
14540 if test x"$enablestring" = xdisable; then
14541 defaultval=yes
14542 else
14543 defaultval=no
14544 fi
14545 fi
14546
14547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14548 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14549 # Check whether --enable-uxtheme was given.
14550 if test "${enable_uxtheme+set}" = set; then
14551 enableval=$enable_uxtheme;
14552 if test "$enableval" = yes; then
14553 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14554 else
14555 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14556 fi
14557
14558 else
14559
14560 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14561
14562 fi
14563
14564
14565 eval "$wx_cv_use_uxtheme"
14566
14567 if test x"$enablestring" = xdisable; then
14568 if test $wxUSE_UXTHEME = no; then
14569 result=yes
14570 else
14571 result=no
14572 fi
14573 else
14574 result=$wxUSE_UXTHEME
14575 fi
14576
14577 { echo "$as_me:$LINENO: result: $result" >&5
14578 echo "${ECHO_T}$result" >&6; }
14579
14580
14581 enablestring=
14582 defaultval=$wxUSE_ALL_FEATURES
14583 if test -z "$defaultval"; then
14584 if test x"$enablestring" = xdisable; then
14585 defaultval=yes
14586 else
14587 defaultval=no
14588 fi
14589 fi
14590
14591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14592 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14593 # Check whether --enable-wxdib was given.
14594 if test "${enable_wxdib+set}" = set; then
14595 enableval=$enable_wxdib;
14596 if test "$enableval" = yes; then
14597 wx_cv_use_wxdib='wxUSE_DIB=yes'
14598 else
14599 wx_cv_use_wxdib='wxUSE_DIB=no'
14600 fi
14601
14602 else
14603
14604 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14605
14606 fi
14607
14608
14609 eval "$wx_cv_use_wxdib"
14610
14611 if test x"$enablestring" = xdisable; then
14612 if test $wxUSE_DIB = no; then
14613 result=yes
14614 else
14615 result=no
14616 fi
14617 else
14618 result=$wxUSE_DIB
14619 fi
14620
14621 { echo "$as_me:$LINENO: result: $result" >&5
14622 echo "${ECHO_T}$result" >&6; }
14623
14624
14625 if test "$wxUSE_MSW" != 1; then
14626 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14627 fi
14628
14629
14630 enablestring=
14631 defaultval=$wxUSE_ALL_FEATURES
14632 if test -z "$defaultval"; then
14633 if test x"$enablestring" = xdisable; then
14634 defaultval=yes
14635 else
14636 defaultval=no
14637 fi
14638 fi
14639
14640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14641 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14642 # Check whether --enable-autoidman was given.
14643 if test "${enable_autoidman+set}" = set; then
14644 enableval=$enable_autoidman;
14645 if test "$enableval" = yes; then
14646 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14647 else
14648 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14649 fi
14650
14651 else
14652
14653 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14654
14655 fi
14656
14657
14658 eval "$wx_cv_use_autoidman"
14659
14660 if test x"$enablestring" = xdisable; then
14661 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14662 result=yes
14663 else
14664 result=no
14665 fi
14666 else
14667 result=$wxUSE_AUTOID_MANAGEMENT
14668 fi
14669
14670 { echo "$as_me:$LINENO: result: $result" >&5
14671 echo "${ECHO_T}$result" >&6; }
14672
14673
14674 fi
14675
14676
14677 cat >confcache <<\_ACEOF
14678 # This file is a shell script that caches the results of configure
14679 # tests run on this system so they can be shared between configure
14680 # scripts and configure runs, see configure's option --config-cache.
14681 # It is not useful on other systems. If it contains results you don't
14682 # want to keep, you may remove or edit it.
14683 #
14684 # config.status only pays attention to the cache file if you give it
14685 # the --recheck option to rerun configure.
14686 #
14687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14689 # following values.
14690
14691 _ACEOF
14692
14693 # The following way of writing the cache mishandles newlines in values,
14694 # but we know of no workaround that is simple, portable, and efficient.
14695 # So, we kill variables containing newlines.
14696 # Ultrix sh set writes to stderr and can't be redirected directly,
14697 # and sets the high bit in the cache file unless we assign to the vars.
14698 (
14699 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14700 eval ac_val=\$$ac_var
14701 case $ac_val in #(
14702 *${as_nl}*)
14703 case $ac_var in #(
14704 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14705 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14706 esac
14707 case $ac_var in #(
14708 _ | IFS | as_nl) ;; #(
14709 *) $as_unset $ac_var ;;
14710 esac ;;
14711 esac
14712 done
14713
14714 (set) 2>&1 |
14715 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14716 *${as_nl}ac_space=\ *)
14717 # `set' does not quote correctly, so add quotes (double-quote
14718 # substitution turns \\\\ into \\, and sed turns \\ into \).
14719 sed -n \
14720 "s/'/'\\\\''/g;
14721 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14722 ;; #(
14723 *)
14724 # `set' quotes correctly as required by POSIX, so do not add quotes.
14725 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14726 ;;
14727 esac |
14728 sort
14729 ) |
14730 sed '
14731 /^ac_cv_env_/b end
14732 t clear
14733 :clear
14734 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14735 t end
14736 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14737 :end' >>confcache
14738 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14739 if test -w "$cache_file"; then
14740 test "x$cache_file" != "x/dev/null" &&
14741 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14742 echo "$as_me: updating cache $cache_file" >&6;}
14743 cat confcache >$cache_file
14744 else
14745 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14746 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14747 fi
14748 fi
14749 rm -f confcache
14750
14751 CFLAGS=${CFLAGS:=}
14752 ac_ext=c
14753 ac_cpp='$CPP $CPPFLAGS'
14754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14757 if test -n "$ac_tool_prefix"; then
14758 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14759 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14762 if test "${ac_cv_prog_CC+set}" = set; then
14763 echo $ECHO_N "(cached) $ECHO_C" >&6
14764 else
14765 if test -n "$CC"; then
14766 ac_cv_prog_CC="$CC" # Let the user override the test.
14767 else
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 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14777 break 2
14778 fi
14779 done
14780 done
14781 IFS=$as_save_IFS
14782
14783 fi
14784 fi
14785 CC=$ac_cv_prog_CC
14786 if test -n "$CC"; then
14787 { echo "$as_me:$LINENO: result: $CC" >&5
14788 echo "${ECHO_T}$CC" >&6; }
14789 else
14790 { echo "$as_me:$LINENO: result: no" >&5
14791 echo "${ECHO_T}no" >&6; }
14792 fi
14793
14794
14795 fi
14796 if test -z "$ac_cv_prog_CC"; then
14797 ac_ct_CC=$CC
14798 # Extract the first word of "gcc", so it can be a program name with args.
14799 set dummy gcc; ac_word=$2
14800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14803 echo $ECHO_N "(cached) $ECHO_C" >&6
14804 else
14805 if test -n "$ac_ct_CC"; then
14806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14807 else
14808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14809 for as_dir in $PATH
14810 do
14811 IFS=$as_save_IFS
14812 test -z "$as_dir" && as_dir=.
14813 for ac_exec_ext in '' $ac_executable_extensions; do
14814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14815 ac_cv_prog_ac_ct_CC="gcc"
14816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14817 break 2
14818 fi
14819 done
14820 done
14821 IFS=$as_save_IFS
14822
14823 fi
14824 fi
14825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14826 if test -n "$ac_ct_CC"; then
14827 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14828 echo "${ECHO_T}$ac_ct_CC" >&6; }
14829 else
14830 { echo "$as_me:$LINENO: result: no" >&5
14831 echo "${ECHO_T}no" >&6; }
14832 fi
14833
14834 if test "x$ac_ct_CC" = x; then
14835 CC=""
14836 else
14837 case $cross_compiling:$ac_tool_warned in
14838 yes:)
14839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14840 whose name does not start with the host triplet. If you think this
14841 configuration is useful to you, please write to autoconf@gnu.org." >&5
14842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14843 whose name does not start with the host triplet. If you think this
14844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14845 ac_tool_warned=yes ;;
14846 esac
14847 CC=$ac_ct_CC
14848 fi
14849 else
14850 CC="$ac_cv_prog_CC"
14851 fi
14852
14853 if test -z "$CC"; then
14854 if test -n "$ac_tool_prefix"; then
14855 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14856 set dummy ${ac_tool_prefix}cc; ac_word=$2
14857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14859 if test "${ac_cv_prog_CC+set}" = set; then
14860 echo $ECHO_N "(cached) $ECHO_C" >&6
14861 else
14862 if test -n "$CC"; then
14863 ac_cv_prog_CC="$CC" # Let the user override the test.
14864 else
14865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14866 for as_dir in $PATH
14867 do
14868 IFS=$as_save_IFS
14869 test -z "$as_dir" && as_dir=.
14870 for ac_exec_ext in '' $ac_executable_extensions; do
14871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14872 ac_cv_prog_CC="${ac_tool_prefix}cc"
14873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14874 break 2
14875 fi
14876 done
14877 done
14878 IFS=$as_save_IFS
14879
14880 fi
14881 fi
14882 CC=$ac_cv_prog_CC
14883 if test -n "$CC"; then
14884 { echo "$as_me:$LINENO: result: $CC" >&5
14885 echo "${ECHO_T}$CC" >&6; }
14886 else
14887 { echo "$as_me:$LINENO: result: no" >&5
14888 echo "${ECHO_T}no" >&6; }
14889 fi
14890
14891
14892 fi
14893 fi
14894 if test -z "$CC"; then
14895 # Extract the first word of "cc", so it can be a program name with args.
14896 set dummy cc; ac_word=$2
14897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14899 if test "${ac_cv_prog_CC+set}" = set; then
14900 echo $ECHO_N "(cached) $ECHO_C" >&6
14901 else
14902 if test -n "$CC"; then
14903 ac_cv_prog_CC="$CC" # Let the user override the test.
14904 else
14905 ac_prog_rejected=no
14906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14907 for as_dir in $PATH
14908 do
14909 IFS=$as_save_IFS
14910 test -z "$as_dir" && as_dir=.
14911 for ac_exec_ext in '' $ac_executable_extensions; do
14912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14913 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14914 ac_prog_rejected=yes
14915 continue
14916 fi
14917 ac_cv_prog_CC="cc"
14918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14919 break 2
14920 fi
14921 done
14922 done
14923 IFS=$as_save_IFS
14924
14925 if test $ac_prog_rejected = yes; then
14926 # We found a bogon in the path, so make sure we never use it.
14927 set dummy $ac_cv_prog_CC
14928 shift
14929 if test $# != 0; then
14930 # We chose a different compiler from the bogus one.
14931 # However, it has the same basename, so the bogon will be chosen
14932 # first if we set CC to just the basename; use the full file name.
14933 shift
14934 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14935 fi
14936 fi
14937 fi
14938 fi
14939 CC=$ac_cv_prog_CC
14940 if test -n "$CC"; then
14941 { echo "$as_me:$LINENO: result: $CC" >&5
14942 echo "${ECHO_T}$CC" >&6; }
14943 else
14944 { echo "$as_me:$LINENO: result: no" >&5
14945 echo "${ECHO_T}no" >&6; }
14946 fi
14947
14948
14949 fi
14950 if test -z "$CC"; then
14951 if test -n "$ac_tool_prefix"; then
14952 for ac_prog in cl.exe
14953 do
14954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14955 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14958 if test "${ac_cv_prog_CC+set}" = set; then
14959 echo $ECHO_N "(cached) $ECHO_C" >&6
14960 else
14961 if test -n "$CC"; then
14962 ac_cv_prog_CC="$CC" # Let the user override the test.
14963 else
14964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14965 for as_dir in $PATH
14966 do
14967 IFS=$as_save_IFS
14968 test -z "$as_dir" && as_dir=.
14969 for ac_exec_ext in '' $ac_executable_extensions; do
14970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14971 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14973 break 2
14974 fi
14975 done
14976 done
14977 IFS=$as_save_IFS
14978
14979 fi
14980 fi
14981 CC=$ac_cv_prog_CC
14982 if test -n "$CC"; then
14983 { echo "$as_me:$LINENO: result: $CC" >&5
14984 echo "${ECHO_T}$CC" >&6; }
14985 else
14986 { echo "$as_me:$LINENO: result: no" >&5
14987 echo "${ECHO_T}no" >&6; }
14988 fi
14989
14990
14991 test -n "$CC" && break
14992 done
14993 fi
14994 if test -z "$CC"; then
14995 ac_ct_CC=$CC
14996 for ac_prog in cl.exe
14997 do
14998 # Extract the first word of "$ac_prog", so it can be a program name with args.
14999 set dummy $ac_prog; ac_word=$2
15000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15003 echo $ECHO_N "(cached) $ECHO_C" >&6
15004 else
15005 if test -n "$ac_ct_CC"; then
15006 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15007 else
15008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15009 for as_dir in $PATH
15010 do
15011 IFS=$as_save_IFS
15012 test -z "$as_dir" && as_dir=.
15013 for ac_exec_ext in '' $ac_executable_extensions; do
15014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15015 ac_cv_prog_ac_ct_CC="$ac_prog"
15016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15017 break 2
15018 fi
15019 done
15020 done
15021 IFS=$as_save_IFS
15022
15023 fi
15024 fi
15025 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15026 if test -n "$ac_ct_CC"; then
15027 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15028 echo "${ECHO_T}$ac_ct_CC" >&6; }
15029 else
15030 { echo "$as_me:$LINENO: result: no" >&5
15031 echo "${ECHO_T}no" >&6; }
15032 fi
15033
15034
15035 test -n "$ac_ct_CC" && break
15036 done
15037
15038 if test "x$ac_ct_CC" = x; then
15039 CC=""
15040 else
15041 case $cross_compiling:$ac_tool_warned in
15042 yes:)
15043 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15044 whose name does not start with the host triplet. If you think this
15045 configuration is useful to you, please write to autoconf@gnu.org." >&5
15046 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15047 whose name does not start with the host triplet. If you think this
15048 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15049 ac_tool_warned=yes ;;
15050 esac
15051 CC=$ac_ct_CC
15052 fi
15053 fi
15054
15055 fi
15056
15057
15058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15059 See \`config.log' for more details." >&5
15060 echo "$as_me: error: no acceptable C compiler found in \$PATH
15061 See \`config.log' for more details." >&2;}
15062 { (exit 1); exit 1; }; }
15063
15064 # Provide some information about the compiler.
15065 echo "$as_me:$LINENO: checking for C compiler version" >&5
15066 ac_compiler=`set X $ac_compile; echo $2`
15067 { (ac_try="$ac_compiler --version >&5"
15068 case "(($ac_try" in
15069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15070 *) ac_try_echo=$ac_try;;
15071 esac
15072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15073 (eval "$ac_compiler --version >&5") 2>&5
15074 ac_status=$?
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }
15077 { (ac_try="$ac_compiler -v >&5"
15078 case "(($ac_try" in
15079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15080 *) ac_try_echo=$ac_try;;
15081 esac
15082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15083 (eval "$ac_compiler -v >&5") 2>&5
15084 ac_status=$?
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); }
15087 { (ac_try="$ac_compiler -V >&5"
15088 case "(($ac_try" in
15089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15090 *) ac_try_echo=$ac_try;;
15091 esac
15092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15093 (eval "$ac_compiler -V >&5") 2>&5
15094 ac_status=$?
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); }
15097
15098 cat >conftest.$ac_ext <<_ACEOF
15099 /* confdefs.h. */
15100 _ACEOF
15101 cat confdefs.h >>conftest.$ac_ext
15102 cat >>conftest.$ac_ext <<_ACEOF
15103 /* end confdefs.h. */
15104
15105 int
15106 main ()
15107 {
15108
15109 ;
15110 return 0;
15111 }
15112 _ACEOF
15113 ac_clean_files_save=$ac_clean_files
15114 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15115 # Try to create an executable without -o first, disregard a.out.
15116 # It will help us diagnose broken compilers, and finding out an intuition
15117 # of exeext.
15118 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15119 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15120 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15121 #
15122 # List of possible output files, starting from the most likely.
15123 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15124 # only as a last resort. b.out is created by i960 compilers.
15125 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15126 #
15127 # The IRIX 6 linker writes into existing files which may not be
15128 # executable, retaining their permissions. Remove them first so a
15129 # subsequent execution test works.
15130 ac_rmfiles=
15131 for ac_file in $ac_files
15132 do
15133 case $ac_file in
15134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15135 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15136 esac
15137 done
15138 rm -f $ac_rmfiles
15139
15140 if { (ac_try="$ac_link_default"
15141 case "(($ac_try" in
15142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15143 *) ac_try_echo=$ac_try;;
15144 esac
15145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15146 (eval "$ac_link_default") 2>&5
15147 ac_status=$?
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); }; then
15150 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15151 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15152 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15153 # so that the user can short-circuit this test for compilers unknown to
15154 # Autoconf.
15155 for ac_file in $ac_files ''
15156 do
15157 test -f "$ac_file" || continue
15158 case $ac_file in
15159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15160 ;;
15161 [ab].out )
15162 # We found the default executable, but exeext='' is most
15163 # certainly right.
15164 break;;
15165 *.* )
15166 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15167 then :; else
15168 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15169 fi
15170 # We set ac_cv_exeext here because the later test for it is not
15171 # safe: cross compilers may not add the suffix if given an `-o'
15172 # argument, so we may need to know it at that point already.
15173 # Even if this section looks crufty: it has the advantage of
15174 # actually working.
15175 break;;
15176 * )
15177 break;;
15178 esac
15179 done
15180 test "$ac_cv_exeext" = no && ac_cv_exeext=
15181
15182 else
15183 ac_file=''
15184 fi
15185
15186 { echo "$as_me:$LINENO: result: $ac_file" >&5
15187 echo "${ECHO_T}$ac_file" >&6; }
15188 if test -z "$ac_file"; then
15189 echo "$as_me: failed program was:" >&5
15190 sed 's/^/| /' conftest.$ac_ext >&5
15191
15192 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15193 See \`config.log' for more details." >&5
15194 echo "$as_me: error: C compiler cannot create executables
15195 See \`config.log' for more details." >&2;}
15196 { (exit 77); exit 77; }; }
15197 fi
15198
15199 ac_exeext=$ac_cv_exeext
15200
15201 # Check that the compiler produces executables we can run. If not, either
15202 # the compiler is broken, or we cross compile.
15203 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15204 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15205 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15206 # If not cross compiling, check that we can run a simple program.
15207 if test "$cross_compiling" != yes; then
15208 if { ac_try='./$ac_file'
15209 { (case "(($ac_try" in
15210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15211 *) ac_try_echo=$ac_try;;
15212 esac
15213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15214 (eval "$ac_try") 2>&5
15215 ac_status=$?
15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 (exit $ac_status); }; }; then
15218 cross_compiling=no
15219 else
15220 if test "$cross_compiling" = maybe; then
15221 cross_compiling=yes
15222 else
15223 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15224 If you meant to cross compile, use \`--host'.
15225 See \`config.log' for more details." >&5
15226 echo "$as_me: error: cannot run C compiled programs.
15227 If you meant to cross compile, use \`--host'.
15228 See \`config.log' for more details." >&2;}
15229 { (exit 1); exit 1; }; }
15230 fi
15231 fi
15232 fi
15233 { echo "$as_me:$LINENO: result: yes" >&5
15234 echo "${ECHO_T}yes" >&6; }
15235
15236 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15237 ac_clean_files=$ac_clean_files_save
15238 # Check that the compiler produces executables we can run. If not, either
15239 # the compiler is broken, or we cross compile.
15240 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15241 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15242 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15243 echo "${ECHO_T}$cross_compiling" >&6; }
15244
15245 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15246 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15247 if { (ac_try="$ac_link"
15248 case "(($ac_try" in
15249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15250 *) ac_try_echo=$ac_try;;
15251 esac
15252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15253 (eval "$ac_link") 2>&5
15254 ac_status=$?
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; then
15257 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15258 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15259 # work properly (i.e., refer to `conftest.exe'), while it won't with
15260 # `rm'.
15261 for ac_file in conftest.exe conftest conftest.*; do
15262 test -f "$ac_file" || continue
15263 case $ac_file in
15264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15265 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15266 break;;
15267 * ) break;;
15268 esac
15269 done
15270 else
15271 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15272 See \`config.log' for more details." >&5
15273 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15274 See \`config.log' for more details." >&2;}
15275 { (exit 1); exit 1; }; }
15276 fi
15277
15278 rm -f conftest$ac_cv_exeext
15279 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15280 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15281
15282 rm -f conftest.$ac_ext
15283 EXEEXT=$ac_cv_exeext
15284 ac_exeext=$EXEEXT
15285 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15286 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15287 if test "${ac_cv_objext+set}" = set; then
15288 echo $ECHO_N "(cached) $ECHO_C" >&6
15289 else
15290 cat >conftest.$ac_ext <<_ACEOF
15291 /* confdefs.h. */
15292 _ACEOF
15293 cat confdefs.h >>conftest.$ac_ext
15294 cat >>conftest.$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15296
15297 int
15298 main ()
15299 {
15300
15301 ;
15302 return 0;
15303 }
15304 _ACEOF
15305 rm -f conftest.o conftest.obj
15306 if { (ac_try="$ac_compile"
15307 case "(($ac_try" in
15308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15309 *) ac_try_echo=$ac_try;;
15310 esac
15311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15312 (eval "$ac_compile") 2>&5
15313 ac_status=$?
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; then
15316 for ac_file in conftest.o conftest.obj conftest.*; do
15317 test -f "$ac_file" || continue;
15318 case $ac_file in
15319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15320 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15321 break;;
15322 esac
15323 done
15324 else
15325 echo "$as_me: failed program was:" >&5
15326 sed 's/^/| /' conftest.$ac_ext >&5
15327
15328 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15329 See \`config.log' for more details." >&5
15330 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15331 See \`config.log' for more details." >&2;}
15332 { (exit 1); exit 1; }; }
15333 fi
15334
15335 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15336 fi
15337 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15338 echo "${ECHO_T}$ac_cv_objext" >&6; }
15339 OBJEXT=$ac_cv_objext
15340 ac_objext=$OBJEXT
15341 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15342 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15343 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15344 echo $ECHO_N "(cached) $ECHO_C" >&6
15345 else
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 #ifndef __GNUC__
15357 choke me
15358 #endif
15359
15360 ;
15361 return 0;
15362 }
15363 _ACEOF
15364 rm -f conftest.$ac_objext
15365 if { (ac_try="$ac_compile"
15366 case "(($ac_try" in
15367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15368 *) ac_try_echo=$ac_try;;
15369 esac
15370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15371 (eval "$ac_compile") 2>conftest.er1
15372 ac_status=$?
15373 grep -v '^ *+' conftest.er1 >conftest.err
15374 rm -f conftest.er1
15375 cat conftest.err >&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } && {
15378 test -z "$ac_c_werror_flag" ||
15379 test ! -s conftest.err
15380 } && test -s conftest.$ac_objext; then
15381 ac_compiler_gnu=yes
15382 else
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15385
15386 ac_compiler_gnu=no
15387 fi
15388
15389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15390 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15391
15392 fi
15393 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15394 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15395 GCC=`test $ac_compiler_gnu = yes && echo yes`
15396 ac_test_CFLAGS=${CFLAGS+set}
15397 ac_save_CFLAGS=$CFLAGS
15398 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15399 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15400 if test "${ac_cv_prog_cc_g+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15402 else
15403 ac_save_c_werror_flag=$ac_c_werror_flag
15404 ac_c_werror_flag=yes
15405 ac_cv_prog_cc_g=no
15406 CFLAGS="-g"
15407 cat >conftest.$ac_ext <<_ACEOF
15408 /* confdefs.h. */
15409 _ACEOF
15410 cat confdefs.h >>conftest.$ac_ext
15411 cat >>conftest.$ac_ext <<_ACEOF
15412 /* end confdefs.h. */
15413
15414 int
15415 main ()
15416 {
15417
15418 ;
15419 return 0;
15420 }
15421 _ACEOF
15422 rm -f conftest.$ac_objext
15423 if { (ac_try="$ac_compile"
15424 case "(($ac_try" in
15425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15426 *) ac_try_echo=$ac_try;;
15427 esac
15428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15429 (eval "$ac_compile") 2>conftest.er1
15430 ac_status=$?
15431 grep -v '^ *+' conftest.er1 >conftest.err
15432 rm -f conftest.er1
15433 cat conftest.err >&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } && {
15436 test -z "$ac_c_werror_flag" ||
15437 test ! -s conftest.err
15438 } && test -s conftest.$ac_objext; then
15439 ac_cv_prog_cc_g=yes
15440 else
15441 echo "$as_me: failed program was:" >&5
15442 sed 's/^/| /' conftest.$ac_ext >&5
15443
15444 CFLAGS=""
15445 cat >conftest.$ac_ext <<_ACEOF
15446 /* confdefs.h. */
15447 _ACEOF
15448 cat confdefs.h >>conftest.$ac_ext
15449 cat >>conftest.$ac_ext <<_ACEOF
15450 /* end confdefs.h. */
15451
15452 int
15453 main ()
15454 {
15455
15456 ;
15457 return 0;
15458 }
15459 _ACEOF
15460 rm -f conftest.$ac_objext
15461 if { (ac_try="$ac_compile"
15462 case "(($ac_try" in
15463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15464 *) ac_try_echo=$ac_try;;
15465 esac
15466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15467 (eval "$ac_compile") 2>conftest.er1
15468 ac_status=$?
15469 grep -v '^ *+' conftest.er1 >conftest.err
15470 rm -f conftest.er1
15471 cat conftest.err >&5
15472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15473 (exit $ac_status); } && {
15474 test -z "$ac_c_werror_flag" ||
15475 test ! -s conftest.err
15476 } && test -s conftest.$ac_objext; then
15477 :
15478 else
15479 echo "$as_me: failed program was:" >&5
15480 sed 's/^/| /' conftest.$ac_ext >&5
15481
15482 ac_c_werror_flag=$ac_save_c_werror_flag
15483 CFLAGS="-g"
15484 cat >conftest.$ac_ext <<_ACEOF
15485 /* confdefs.h. */
15486 _ACEOF
15487 cat confdefs.h >>conftest.$ac_ext
15488 cat >>conftest.$ac_ext <<_ACEOF
15489 /* end confdefs.h. */
15490
15491 int
15492 main ()
15493 {
15494
15495 ;
15496 return 0;
15497 }
15498 _ACEOF
15499 rm -f conftest.$ac_objext
15500 if { (ac_try="$ac_compile"
15501 case "(($ac_try" in
15502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15503 *) ac_try_echo=$ac_try;;
15504 esac
15505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15506 (eval "$ac_compile") 2>conftest.er1
15507 ac_status=$?
15508 grep -v '^ *+' conftest.er1 >conftest.err
15509 rm -f conftest.er1
15510 cat conftest.err >&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); } && {
15513 test -z "$ac_c_werror_flag" ||
15514 test ! -s conftest.err
15515 } && test -s conftest.$ac_objext; then
15516 ac_cv_prog_cc_g=yes
15517 else
15518 echo "$as_me: failed program was:" >&5
15519 sed 's/^/| /' conftest.$ac_ext >&5
15520
15521
15522 fi
15523
15524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15525 fi
15526
15527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15528 fi
15529
15530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15531 ac_c_werror_flag=$ac_save_c_werror_flag
15532 fi
15533 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15534 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15535 if test "$ac_test_CFLAGS" = set; then
15536 CFLAGS=$ac_save_CFLAGS
15537 elif test $ac_cv_prog_cc_g = yes; then
15538 if test "$GCC" = yes; then
15539 CFLAGS="-g -O2"
15540 else
15541 CFLAGS="-g"
15542 fi
15543 else
15544 if test "$GCC" = yes; then
15545 CFLAGS="-O2"
15546 else
15547 CFLAGS=
15548 fi
15549 fi
15550 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15551 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15552 if test "${ac_cv_prog_cc_c89+set}" = set; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15554 else
15555 ac_cv_prog_cc_c89=no
15556 ac_save_CC=$CC
15557 cat >conftest.$ac_ext <<_ACEOF
15558 /* confdefs.h. */
15559 _ACEOF
15560 cat confdefs.h >>conftest.$ac_ext
15561 cat >>conftest.$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 #include <stdarg.h>
15564 #include <stdio.h>
15565 #include <sys/types.h>
15566 #include <sys/stat.h>
15567 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15568 struct buf { int x; };
15569 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15570 static char *e (p, i)
15571 char **p;
15572 int i;
15573 {
15574 return p[i];
15575 }
15576 static char *f (char * (*g) (char **, int), char **p, ...)
15577 {
15578 char *s;
15579 va_list v;
15580 va_start (v,p);
15581 s = g (p, va_arg (v,int));
15582 va_end (v);
15583 return s;
15584 }
15585
15586 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15587 function prototypes and stuff, but not '\xHH' hex character constants.
15588 These don't provoke an error unfortunately, instead are silently treated
15589 as 'x'. The following induces an error, until -std is added to get
15590 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15591 array size at least. It's necessary to write '\x00'==0 to get something
15592 that's true only with -std. */
15593 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15594
15595 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15596 inside strings and character constants. */
15597 #define FOO(x) 'x'
15598 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15599
15600 int test (int i, double x);
15601 struct s1 {int (*f) (int a);};
15602 struct s2 {int (*f) (double a);};
15603 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15604 int argc;
15605 char **argv;
15606 int
15607 main ()
15608 {
15609 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15610 ;
15611 return 0;
15612 }
15613 _ACEOF
15614 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15615 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15616 do
15617 CC="$ac_save_CC $ac_arg"
15618 rm -f conftest.$ac_objext
15619 if { (ac_try="$ac_compile"
15620 case "(($ac_try" in
15621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15622 *) ac_try_echo=$ac_try;;
15623 esac
15624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15625 (eval "$ac_compile") 2>conftest.er1
15626 ac_status=$?
15627 grep -v '^ *+' conftest.er1 >conftest.err
15628 rm -f conftest.er1
15629 cat conftest.err >&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); } && {
15632 test -z "$ac_c_werror_flag" ||
15633 test ! -s conftest.err
15634 } && test -s conftest.$ac_objext; then
15635 ac_cv_prog_cc_c89=$ac_arg
15636 else
15637 echo "$as_me: failed program was:" >&5
15638 sed 's/^/| /' conftest.$ac_ext >&5
15639
15640
15641 fi
15642
15643 rm -f core conftest.err conftest.$ac_objext
15644 test "x$ac_cv_prog_cc_c89" != "xno" && break
15645 done
15646 rm -f conftest.$ac_ext
15647 CC=$ac_save_CC
15648
15649 fi
15650 # AC_CACHE_VAL
15651 case "x$ac_cv_prog_cc_c89" in
15652 x)
15653 { echo "$as_me:$LINENO: result: none needed" >&5
15654 echo "${ECHO_T}none needed" >&6; } ;;
15655 xno)
15656 { echo "$as_me:$LINENO: result: unsupported" >&5
15657 echo "${ECHO_T}unsupported" >&6; } ;;
15658 *)
15659 CC="$CC $ac_cv_prog_cc_c89"
15660 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15661 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15662 esac
15663
15664
15665 ac_ext=c
15666 ac_cpp='$CPP $CPPFLAGS'
15667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15670
15671
15672
15673
15674
15675
15676
15677
15678 ac_ext=c
15679 ac_cpp='$CPP $CPPFLAGS'
15680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15683
15684 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15685 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15686 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15687 echo $ECHO_N "(cached) $ECHO_C" >&6
15688 else
15689 cat >conftest.$ac_ext <<_ACEOF
15690 /* confdefs.h. */
15691 _ACEOF
15692 cat confdefs.h >>conftest.$ac_ext
15693 cat >>conftest.$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15695
15696 int
15697 main ()
15698 {
15699
15700 #ifndef __INTEL_COMPILER
15701 choke me
15702 #endif
15703
15704 ;
15705 return 0;
15706 }
15707 _ACEOF
15708 rm -f conftest.$ac_objext
15709 if { (ac_try="$ac_compile"
15710 case "(($ac_try" in
15711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15712 *) ac_try_echo=$ac_try;;
15713 esac
15714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15715 (eval "$ac_compile") 2>conftest.er1
15716 ac_status=$?
15717 grep -v '^ *+' conftest.er1 >conftest.err
15718 rm -f conftest.er1
15719 cat conftest.err >&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); } && {
15722 test -z "$ac_c_werror_flag" ||
15723 test ! -s conftest.err
15724 } && test -s conftest.$ac_objext; then
15725 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15726 else
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.$ac_ext >&5
15729
15730 bakefile_cv_c_compiler___INTEL_COMPILER=no
15731
15732 fi
15733
15734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15735
15736
15737 fi
15738 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15739 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15740 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15741 :; INTELCC=yes
15742 else
15743 :;
15744 fi
15745 ac_ext=c
15746 ac_cpp='$CPP $CPPFLAGS'
15747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15750
15751
15752
15753
15754 if test "$INTELCC" = "yes"; then
15755
15756
15757 ac_ext=c
15758 ac_cpp='$CPP $CPPFLAGS'
15759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15762
15763 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15764 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15765 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15766 echo $ECHO_N "(cached) $ECHO_C" >&6
15767 else
15768 cat >conftest.$ac_ext <<_ACEOF
15769 /* confdefs.h. */
15770 _ACEOF
15771 cat confdefs.h >>conftest.$ac_ext
15772 cat >>conftest.$ac_ext <<_ACEOF
15773 /* end confdefs.h. */
15774
15775 int
15776 main ()
15777 {
15778
15779 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15780 choke me
15781 #endif
15782
15783 ;
15784 return 0;
15785 }
15786 _ACEOF
15787 rm -f conftest.$ac_objext
15788 if { (ac_try="$ac_compile"
15789 case "(($ac_try" in
15790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15791 *) ac_try_echo=$ac_try;;
15792 esac
15793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15794 (eval "$ac_compile") 2>conftest.er1
15795 ac_status=$?
15796 grep -v '^ *+' conftest.er1 >conftest.err
15797 rm -f conftest.er1
15798 cat conftest.err >&5
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } && {
15801 test -z "$ac_c_werror_flag" ||
15802 test ! -s conftest.err
15803 } && test -s conftest.$ac_objext; then
15804 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15805 else
15806 echo "$as_me: failed program was:" >&5
15807 sed 's/^/| /' conftest.$ac_ext >&5
15808
15809 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15810
15811 fi
15812
15813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15814
15815
15816 fi
15817 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15818 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15819 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15820 :; INTELCC8=yes
15821 else
15822 :;
15823 fi
15824 ac_ext=c
15825 ac_cpp='$CPP $CPPFLAGS'
15826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15829
15830
15831
15832
15833
15834 ac_ext=c
15835 ac_cpp='$CPP $CPPFLAGS'
15836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15839
15840 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15841 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15842 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15843 echo $ECHO_N "(cached) $ECHO_C" >&6
15844 else
15845 cat >conftest.$ac_ext <<_ACEOF
15846 /* confdefs.h. */
15847 _ACEOF
15848 cat confdefs.h >>conftest.$ac_ext
15849 cat >>conftest.$ac_ext <<_ACEOF
15850 /* end confdefs.h. */
15851
15852 int
15853 main ()
15854 {
15855
15856 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15857 choke me
15858 #endif
15859
15860 ;
15861 return 0;
15862 }
15863 _ACEOF
15864 rm -f conftest.$ac_objext
15865 if { (ac_try="$ac_compile"
15866 case "(($ac_try" in
15867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15868 *) ac_try_echo=$ac_try;;
15869 esac
15870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15871 (eval "$ac_compile") 2>conftest.er1
15872 ac_status=$?
15873 grep -v '^ *+' conftest.er1 >conftest.err
15874 rm -f conftest.er1
15875 cat conftest.err >&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } && {
15878 test -z "$ac_c_werror_flag" ||
15879 test ! -s conftest.err
15880 } && test -s conftest.$ac_objext; then
15881 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15882 else
15883 echo "$as_me: failed program was:" >&5
15884 sed 's/^/| /' conftest.$ac_ext >&5
15885
15886 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15887
15888 fi
15889
15890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15891
15892
15893 fi
15894 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15895 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15896 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15897 :; INTELCC10=yes
15898 else
15899 :;
15900 fi
15901 ac_ext=c
15902 ac_cpp='$CPP $CPPFLAGS'
15903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15906
15907
15908
15909 fi
15910
15911 if test "x$GCC" != "xyes"; then
15912 if test "xCC" = "xC"; then
15913 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15914 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15915 if test "${bakefile_cv_c_exto+set}" = set; then
15916 echo $ECHO_N "(cached) $ECHO_C" >&6
15917 else
15918 cat >conftest.$ac_ext <<_ACEOF
15919 /* confdefs.h. */
15920 _ACEOF
15921 cat confdefs.h >>conftest.$ac_ext
15922 cat >>conftest.$ac_ext <<_ACEOF
15923 /* end confdefs.h. */
15924
15925 int
15926 main ()
15927 {
15928
15929 ;
15930 return 0;
15931 }
15932 _ACEOF
15933 rm -f conftest.$ac_objext conftest.$ac_ext.o
15934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15935 (eval $ac_compile) 2>&5
15936 ac_status=$?
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); }; then
15939 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15940 case $ac_file in
15941 conftest.$ac_ext.o)
15942 bakefile_cv_c_exto="-ext o"
15943 ;;
15944 *)
15945 ;;
15946 esac
15947 done
15948 else
15949 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15950 See \`config.log' for more details." >&5
15951 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15952 See \`config.log' for more details." >&2;}
15953 { (exit 1); exit 1; }; }
15954
15955 fi
15956
15957 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15958
15959 fi
15960 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15961 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15962 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15963 if test "c" = "c"; then
15964 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15965 fi
15966 if test "c" = "cxx"; then
15967 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15968 fi
15969 fi
15970
15971 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15972 unset ac_cv_prog_cc_g
15973 ac_test_CFLAGS=${CFLAGS+set}
15974 ac_save_CFLAGS=$CFLAGS
15975 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15976 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15977 if test "${ac_cv_prog_cc_g+set}" = set; then
15978 echo $ECHO_N "(cached) $ECHO_C" >&6
15979 else
15980 ac_save_c_werror_flag=$ac_c_werror_flag
15981 ac_c_werror_flag=yes
15982 ac_cv_prog_cc_g=no
15983 CFLAGS="-g"
15984 cat >conftest.$ac_ext <<_ACEOF
15985 /* confdefs.h. */
15986 _ACEOF
15987 cat confdefs.h >>conftest.$ac_ext
15988 cat >>conftest.$ac_ext <<_ACEOF
15989 /* end confdefs.h. */
15990
15991 int
15992 main ()
15993 {
15994
15995 ;
15996 return 0;
15997 }
15998 _ACEOF
15999 rm -f conftest.$ac_objext
16000 if { (ac_try="$ac_compile"
16001 case "(($ac_try" in
16002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16003 *) ac_try_echo=$ac_try;;
16004 esac
16005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16006 (eval "$ac_compile") 2>conftest.er1
16007 ac_status=$?
16008 grep -v '^ *+' conftest.er1 >conftest.err
16009 rm -f conftest.er1
16010 cat conftest.err >&5
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); } && {
16013 test -z "$ac_c_werror_flag" ||
16014 test ! -s conftest.err
16015 } && test -s conftest.$ac_objext; then
16016 ac_cv_prog_cc_g=yes
16017 else
16018 echo "$as_me: failed program was:" >&5
16019 sed 's/^/| /' conftest.$ac_ext >&5
16020
16021 CFLAGS=""
16022 cat >conftest.$ac_ext <<_ACEOF
16023 /* confdefs.h. */
16024 _ACEOF
16025 cat confdefs.h >>conftest.$ac_ext
16026 cat >>conftest.$ac_ext <<_ACEOF
16027 /* end confdefs.h. */
16028
16029 int
16030 main ()
16031 {
16032
16033 ;
16034 return 0;
16035 }
16036 _ACEOF
16037 rm -f conftest.$ac_objext
16038 if { (ac_try="$ac_compile"
16039 case "(($ac_try" in
16040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16041 *) ac_try_echo=$ac_try;;
16042 esac
16043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16044 (eval "$ac_compile") 2>conftest.er1
16045 ac_status=$?
16046 grep -v '^ *+' conftest.er1 >conftest.err
16047 rm -f conftest.er1
16048 cat conftest.err >&5
16049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16050 (exit $ac_status); } && {
16051 test -z "$ac_c_werror_flag" ||
16052 test ! -s conftest.err
16053 } && test -s conftest.$ac_objext; then
16054 :
16055 else
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16058
16059 ac_c_werror_flag=$ac_save_c_werror_flag
16060 CFLAGS="-g"
16061 cat >conftest.$ac_ext <<_ACEOF
16062 /* confdefs.h. */
16063 _ACEOF
16064 cat confdefs.h >>conftest.$ac_ext
16065 cat >>conftest.$ac_ext <<_ACEOF
16066 /* end confdefs.h. */
16067
16068 int
16069 main ()
16070 {
16071
16072 ;
16073 return 0;
16074 }
16075 _ACEOF
16076 rm -f conftest.$ac_objext
16077 if { (ac_try="$ac_compile"
16078 case "(($ac_try" in
16079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16080 *) ac_try_echo=$ac_try;;
16081 esac
16082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16083 (eval "$ac_compile") 2>conftest.er1
16084 ac_status=$?
16085 grep -v '^ *+' conftest.er1 >conftest.err
16086 rm -f conftest.er1
16087 cat conftest.err >&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } && {
16090 test -z "$ac_c_werror_flag" ||
16091 test ! -s conftest.err
16092 } && test -s conftest.$ac_objext; then
16093 ac_cv_prog_cc_g=yes
16094 else
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16097
16098
16099 fi
16100
16101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16102 fi
16103
16104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16105 fi
16106
16107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16108 ac_c_werror_flag=$ac_save_c_werror_flag
16109 fi
16110 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16111 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16112 if test "$ac_test_CFLAGS" = set; then
16113 CFLAGS=$ac_save_CFLAGS
16114 elif test $ac_cv_prog_cc_g = yes; then
16115 if test "$GCC" = yes; then
16116 CFLAGS="-g -O2"
16117 else
16118 CFLAGS="-g"
16119 fi
16120 else
16121 if test "$GCC" = yes; then
16122 CFLAGS="-O2"
16123 else
16124 CFLAGS=
16125 fi
16126 fi
16127 fi
16128 fi
16129
16130 case `uname -s` in
16131 AIX*)
16132
16133
16134 ac_ext=c
16135 ac_cpp='$CPP $CPPFLAGS'
16136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16139
16140 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16141 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16142 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16143 echo $ECHO_N "(cached) $ECHO_C" >&6
16144 else
16145 cat >conftest.$ac_ext <<_ACEOF
16146 /* confdefs.h. */
16147 _ACEOF
16148 cat confdefs.h >>conftest.$ac_ext
16149 cat >>conftest.$ac_ext <<_ACEOF
16150 /* end confdefs.h. */
16151
16152 int
16153 main ()
16154 {
16155
16156 #ifndef __xlC__
16157 choke me
16158 #endif
16159
16160 ;
16161 return 0;
16162 }
16163 _ACEOF
16164 rm -f conftest.$ac_objext
16165 if { (ac_try="$ac_compile"
16166 case "(($ac_try" in
16167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16168 *) ac_try_echo=$ac_try;;
16169 esac
16170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16171 (eval "$ac_compile") 2>conftest.er1
16172 ac_status=$?
16173 grep -v '^ *+' conftest.er1 >conftest.err
16174 rm -f conftest.er1
16175 cat conftest.err >&5
16176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177 (exit $ac_status); } && {
16178 test -z "$ac_c_werror_flag" ||
16179 test ! -s conftest.err
16180 } && test -s conftest.$ac_objext; then
16181 bakefile_cv_c_compiler___xlC__=yes
16182 else
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.$ac_ext >&5
16185
16186 bakefile_cv_c_compiler___xlC__=no
16187
16188 fi
16189
16190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16191
16192
16193 fi
16194 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16195 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16196 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16197 :; XLCC=yes
16198 else
16199 :;
16200 fi
16201 ac_ext=c
16202 ac_cpp='$CPP $CPPFLAGS'
16203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16206
16207
16208
16209 ;;
16210
16211 Darwin)
16212
16213
16214 ac_ext=c
16215 ac_cpp='$CPP $CPPFLAGS'
16216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16219
16220 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16221 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16222 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16223 echo $ECHO_N "(cached) $ECHO_C" >&6
16224 else
16225 cat >conftest.$ac_ext <<_ACEOF
16226 /* confdefs.h. */
16227 _ACEOF
16228 cat confdefs.h >>conftest.$ac_ext
16229 cat >>conftest.$ac_ext <<_ACEOF
16230 /* end confdefs.h. */
16231
16232 int
16233 main ()
16234 {
16235
16236 #ifndef __MWERKS__
16237 choke me
16238 #endif
16239
16240 ;
16241 return 0;
16242 }
16243 _ACEOF
16244 rm -f conftest.$ac_objext
16245 if { (ac_try="$ac_compile"
16246 case "(($ac_try" in
16247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16248 *) ac_try_echo=$ac_try;;
16249 esac
16250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16251 (eval "$ac_compile") 2>conftest.er1
16252 ac_status=$?
16253 grep -v '^ *+' conftest.er1 >conftest.err
16254 rm -f conftest.er1
16255 cat conftest.err >&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } && {
16258 test -z "$ac_c_werror_flag" ||
16259 test ! -s conftest.err
16260 } && test -s conftest.$ac_objext; then
16261 bakefile_cv_c_compiler___MWERKS__=yes
16262 else
16263 echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.$ac_ext >&5
16265
16266 bakefile_cv_c_compiler___MWERKS__=no
16267
16268 fi
16269
16270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16271
16272
16273 fi
16274 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16275 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16276 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16277 :; MWCC=yes
16278 else
16279 :;
16280 fi
16281 ac_ext=c
16282 ac_cpp='$CPP $CPPFLAGS'
16283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16286
16287
16288
16289 if test "$MWCC" != "yes"; then
16290
16291
16292 ac_ext=c
16293 ac_cpp='$CPP $CPPFLAGS'
16294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16297
16298 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16299 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16300 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16302 else
16303 cat >conftest.$ac_ext <<_ACEOF
16304 /* confdefs.h. */
16305 _ACEOF
16306 cat confdefs.h >>conftest.$ac_ext
16307 cat >>conftest.$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16309
16310 int
16311 main ()
16312 {
16313
16314 #ifndef __xlC__
16315 choke me
16316 #endif
16317
16318 ;
16319 return 0;
16320 }
16321 _ACEOF
16322 rm -f conftest.$ac_objext
16323 if { (ac_try="$ac_compile"
16324 case "(($ac_try" in
16325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16326 *) ac_try_echo=$ac_try;;
16327 esac
16328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16329 (eval "$ac_compile") 2>conftest.er1
16330 ac_status=$?
16331 grep -v '^ *+' conftest.er1 >conftest.err
16332 rm -f conftest.er1
16333 cat conftest.err >&5
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); } && {
16336 test -z "$ac_c_werror_flag" ||
16337 test ! -s conftest.err
16338 } && test -s conftest.$ac_objext; then
16339 bakefile_cv_c_compiler___xlC__=yes
16340 else
16341 echo "$as_me: failed program was:" >&5
16342 sed 's/^/| /' conftest.$ac_ext >&5
16343
16344 bakefile_cv_c_compiler___xlC__=no
16345
16346 fi
16347
16348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16349
16350
16351 fi
16352 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16353 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16354 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16355 :; XLCC=yes
16356 else
16357 :;
16358 fi
16359 ac_ext=c
16360 ac_cpp='$CPP $CPPFLAGS'
16361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16364
16365
16366
16367 fi
16368 ;;
16369
16370 IRIX*)
16371
16372
16373 ac_ext=c
16374 ac_cpp='$CPP $CPPFLAGS'
16375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16378
16379 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16380 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16381 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16382 echo $ECHO_N "(cached) $ECHO_C" >&6
16383 else
16384 cat >conftest.$ac_ext <<_ACEOF
16385 /* confdefs.h. */
16386 _ACEOF
16387 cat confdefs.h >>conftest.$ac_ext
16388 cat >>conftest.$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16390
16391 int
16392 main ()
16393 {
16394
16395 #ifndef _SGI_COMPILER_VERSION
16396 choke me
16397 #endif
16398
16399 ;
16400 return 0;
16401 }
16402 _ACEOF
16403 rm -f conftest.$ac_objext
16404 if { (ac_try="$ac_compile"
16405 case "(($ac_try" in
16406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16407 *) ac_try_echo=$ac_try;;
16408 esac
16409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16410 (eval "$ac_compile") 2>conftest.er1
16411 ac_status=$?
16412 grep -v '^ *+' conftest.er1 >conftest.err
16413 rm -f conftest.er1
16414 cat conftest.err >&5
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); } && {
16417 test -z "$ac_c_werror_flag" ||
16418 test ! -s conftest.err
16419 } && test -s conftest.$ac_objext; then
16420 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16421 else
16422 echo "$as_me: failed program was:" >&5
16423 sed 's/^/| /' conftest.$ac_ext >&5
16424
16425 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16426
16427 fi
16428
16429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16430
16431
16432 fi
16433 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16434 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16435 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16436 :; SGICC=yes
16437 else
16438 :;
16439 fi
16440 ac_ext=c
16441 ac_cpp='$CPP $CPPFLAGS'
16442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16445
16446
16447
16448 ;;
16449
16450 Linux*)
16451 if test "$INTELCC" != "yes"; then
16452
16453
16454 ac_ext=c
16455 ac_cpp='$CPP $CPPFLAGS'
16456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16459
16460 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16461 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16462 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16463 echo $ECHO_N "(cached) $ECHO_C" >&6
16464 else
16465 cat >conftest.$ac_ext <<_ACEOF
16466 /* confdefs.h. */
16467 _ACEOF
16468 cat confdefs.h >>conftest.$ac_ext
16469 cat >>conftest.$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471
16472 int
16473 main ()
16474 {
16475
16476 #ifndef __SUNPRO_C
16477 choke me
16478 #endif
16479
16480 ;
16481 return 0;
16482 }
16483 _ACEOF
16484 rm -f conftest.$ac_objext
16485 if { (ac_try="$ac_compile"
16486 case "(($ac_try" in
16487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16488 *) ac_try_echo=$ac_try;;
16489 esac
16490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16491 (eval "$ac_compile") 2>conftest.er1
16492 ac_status=$?
16493 grep -v '^ *+' conftest.er1 >conftest.err
16494 rm -f conftest.er1
16495 cat conftest.err >&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } && {
16498 test -z "$ac_c_werror_flag" ||
16499 test ! -s conftest.err
16500 } && test -s conftest.$ac_objext; then
16501 bakefile_cv_c_compiler___SUNPRO_C=yes
16502 else
16503 echo "$as_me: failed program was:" >&5
16504 sed 's/^/| /' conftest.$ac_ext >&5
16505
16506 bakefile_cv_c_compiler___SUNPRO_C=no
16507
16508 fi
16509
16510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16511
16512
16513 fi
16514 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16515 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16516 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16517 :; SUNCC=yes
16518 else
16519 :;
16520 fi
16521 ac_ext=c
16522 ac_cpp='$CPP $CPPFLAGS'
16523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16526
16527
16528
16529 fi
16530 ;;
16531
16532 HP-UX*)
16533
16534
16535 ac_ext=c
16536 ac_cpp='$CPP $CPPFLAGS'
16537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16540
16541 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16542 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16543 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16544 echo $ECHO_N "(cached) $ECHO_C" >&6
16545 else
16546 cat >conftest.$ac_ext <<_ACEOF
16547 /* confdefs.h. */
16548 _ACEOF
16549 cat confdefs.h >>conftest.$ac_ext
16550 cat >>conftest.$ac_ext <<_ACEOF
16551 /* end confdefs.h. */
16552
16553 int
16554 main ()
16555 {
16556
16557 #ifndef __HP_cc
16558 choke me
16559 #endif
16560
16561 ;
16562 return 0;
16563 }
16564 _ACEOF
16565 rm -f conftest.$ac_objext
16566 if { (ac_try="$ac_compile"
16567 case "(($ac_try" in
16568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16569 *) ac_try_echo=$ac_try;;
16570 esac
16571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16572 (eval "$ac_compile") 2>conftest.er1
16573 ac_status=$?
16574 grep -v '^ *+' conftest.er1 >conftest.err
16575 rm -f conftest.er1
16576 cat conftest.err >&5
16577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16578 (exit $ac_status); } && {
16579 test -z "$ac_c_werror_flag" ||
16580 test ! -s conftest.err
16581 } && test -s conftest.$ac_objext; then
16582 bakefile_cv_c_compiler___HP_cc=yes
16583 else
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5
16586
16587 bakefile_cv_c_compiler___HP_cc=no
16588
16589 fi
16590
16591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16592
16593
16594 fi
16595 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16596 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16597 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16598 :; HPCC=yes
16599 else
16600 :;
16601 fi
16602 ac_ext=c
16603 ac_cpp='$CPP $CPPFLAGS'
16604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16607
16608
16609
16610 ;;
16611
16612 OSF1)
16613
16614
16615 ac_ext=c
16616 ac_cpp='$CPP $CPPFLAGS'
16617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16620
16621 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16622 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16623 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16624 echo $ECHO_N "(cached) $ECHO_C" >&6
16625 else
16626 cat >conftest.$ac_ext <<_ACEOF
16627 /* confdefs.h. */
16628 _ACEOF
16629 cat confdefs.h >>conftest.$ac_ext
16630 cat >>conftest.$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16632
16633 int
16634 main ()
16635 {
16636
16637 #ifndef __DECC
16638 choke me
16639 #endif
16640
16641 ;
16642 return 0;
16643 }
16644 _ACEOF
16645 rm -f conftest.$ac_objext
16646 if { (ac_try="$ac_compile"
16647 case "(($ac_try" in
16648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16649 *) ac_try_echo=$ac_try;;
16650 esac
16651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16652 (eval "$ac_compile") 2>conftest.er1
16653 ac_status=$?
16654 grep -v '^ *+' conftest.er1 >conftest.err
16655 rm -f conftest.er1
16656 cat conftest.err >&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); } && {
16659 test -z "$ac_c_werror_flag" ||
16660 test ! -s conftest.err
16661 } && test -s conftest.$ac_objext; then
16662 bakefile_cv_c_compiler___DECC=yes
16663 else
16664 echo "$as_me: failed program was:" >&5
16665 sed 's/^/| /' conftest.$ac_ext >&5
16666
16667 bakefile_cv_c_compiler___DECC=no
16668
16669 fi
16670
16671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16672
16673
16674 fi
16675 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16676 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16677 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16678 :; COMPAQCC=yes
16679 else
16680 :;
16681 fi
16682 ac_ext=c
16683 ac_cpp='$CPP $CPPFLAGS'
16684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16687
16688
16689
16690 ;;
16691
16692 SunOS)
16693
16694
16695 ac_ext=c
16696 ac_cpp='$CPP $CPPFLAGS'
16697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16700
16701 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16702 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16703 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16704 echo $ECHO_N "(cached) $ECHO_C" >&6
16705 else
16706 cat >conftest.$ac_ext <<_ACEOF
16707 /* confdefs.h. */
16708 _ACEOF
16709 cat confdefs.h >>conftest.$ac_ext
16710 cat >>conftest.$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16712
16713 int
16714 main ()
16715 {
16716
16717 #ifndef __SUNPRO_C
16718 choke me
16719 #endif
16720
16721 ;
16722 return 0;
16723 }
16724 _ACEOF
16725 rm -f conftest.$ac_objext
16726 if { (ac_try="$ac_compile"
16727 case "(($ac_try" in
16728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16729 *) ac_try_echo=$ac_try;;
16730 esac
16731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16732 (eval "$ac_compile") 2>conftest.er1
16733 ac_status=$?
16734 grep -v '^ *+' conftest.er1 >conftest.err
16735 rm -f conftest.er1
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } && {
16739 test -z "$ac_c_werror_flag" ||
16740 test ! -s conftest.err
16741 } && test -s conftest.$ac_objext; then
16742 bakefile_cv_c_compiler___SUNPRO_C=yes
16743 else
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16746
16747 bakefile_cv_c_compiler___SUNPRO_C=no
16748
16749 fi
16750
16751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16752
16753
16754 fi
16755 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16756 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16757 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16758 :; SUNCC=yes
16759 else
16760 :;
16761 fi
16762 ac_ext=c
16763 ac_cpp='$CPP $CPPFLAGS'
16764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16767
16768
16769
16770 ;;
16771 esac
16772 fi
16773
16774
16775
16776 ac_ext=c
16777 ac_cpp='$CPP $CPPFLAGS'
16778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16781 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16782 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16783 # On Suns, sometimes $CPP names a directory.
16784 if test -n "$CPP" && test -d "$CPP"; then
16785 CPP=
16786 fi
16787 if test -z "$CPP"; then
16788 if test "${ac_cv_prog_CPP+set}" = set; then
16789 echo $ECHO_N "(cached) $ECHO_C" >&6
16790 else
16791 # Double quotes because CPP needs to be expanded
16792 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16793 do
16794 ac_preproc_ok=false
16795 for ac_c_preproc_warn_flag in '' yes
16796 do
16797 # Use a header file that comes with gcc, so configuring glibc
16798 # with a fresh cross-compiler works.
16799 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16800 # <limits.h> exists even on freestanding compilers.
16801 # On the NeXT, cc -E runs the code through the compiler's parser,
16802 # not just through cpp. "Syntax error" is here to catch this case.
16803 cat >conftest.$ac_ext <<_ACEOF
16804 /* confdefs.h. */
16805 _ACEOF
16806 cat confdefs.h >>conftest.$ac_ext
16807 cat >>conftest.$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16809 #ifdef __STDC__
16810 # include <limits.h>
16811 #else
16812 # include <assert.h>
16813 #endif
16814 Syntax error
16815 _ACEOF
16816 if { (ac_try="$ac_cpp conftest.$ac_ext"
16817 case "(($ac_try" in
16818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16819 *) ac_try_echo=$ac_try;;
16820 esac
16821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16822 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16823 ac_status=$?
16824 grep -v '^ *+' conftest.er1 >conftest.err
16825 rm -f conftest.er1
16826 cat conftest.err >&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); } >/dev/null && {
16829 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16830 test ! -s conftest.err
16831 }; then
16832 :
16833 else
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16836
16837 # Broken: fails on valid input.
16838 continue
16839 fi
16840
16841 rm -f conftest.err conftest.$ac_ext
16842
16843 # OK, works on sane cases. Now check whether nonexistent headers
16844 # can be detected and how.
16845 cat >conftest.$ac_ext <<_ACEOF
16846 /* confdefs.h. */
16847 _ACEOF
16848 cat confdefs.h >>conftest.$ac_ext
16849 cat >>conftest.$ac_ext <<_ACEOF
16850 /* end confdefs.h. */
16851 #include <ac_nonexistent.h>
16852 _ACEOF
16853 if { (ac_try="$ac_cpp conftest.$ac_ext"
16854 case "(($ac_try" in
16855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16856 *) ac_try_echo=$ac_try;;
16857 esac
16858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16859 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16860 ac_status=$?
16861 grep -v '^ *+' conftest.er1 >conftest.err
16862 rm -f conftest.er1
16863 cat conftest.err >&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } >/dev/null && {
16866 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16867 test ! -s conftest.err
16868 }; then
16869 # Broken: success on invalid input.
16870 continue
16871 else
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.$ac_ext >&5
16874
16875 # Passes both tests.
16876 ac_preproc_ok=:
16877 break
16878 fi
16879
16880 rm -f conftest.err conftest.$ac_ext
16881
16882 done
16883 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16884 rm -f conftest.err conftest.$ac_ext
16885 if $ac_preproc_ok; then
16886 break
16887 fi
16888
16889 done
16890 ac_cv_prog_CPP=$CPP
16891
16892 fi
16893 CPP=$ac_cv_prog_CPP
16894 else
16895 ac_cv_prog_CPP=$CPP
16896 fi
16897 { echo "$as_me:$LINENO: result: $CPP" >&5
16898 echo "${ECHO_T}$CPP" >&6; }
16899 ac_preproc_ok=false
16900 for ac_c_preproc_warn_flag in '' yes
16901 do
16902 # Use a header file that comes with gcc, so configuring glibc
16903 # with a fresh cross-compiler works.
16904 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16905 # <limits.h> exists even on freestanding compilers.
16906 # On the NeXT, cc -E runs the code through the compiler's parser,
16907 # not just through cpp. "Syntax error" is here to catch this case.
16908 cat >conftest.$ac_ext <<_ACEOF
16909 /* confdefs.h. */
16910 _ACEOF
16911 cat confdefs.h >>conftest.$ac_ext
16912 cat >>conftest.$ac_ext <<_ACEOF
16913 /* end confdefs.h. */
16914 #ifdef __STDC__
16915 # include <limits.h>
16916 #else
16917 # include <assert.h>
16918 #endif
16919 Syntax error
16920 _ACEOF
16921 if { (ac_try="$ac_cpp conftest.$ac_ext"
16922 case "(($ac_try" in
16923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16924 *) ac_try_echo=$ac_try;;
16925 esac
16926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16927 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16928 ac_status=$?
16929 grep -v '^ *+' conftest.er1 >conftest.err
16930 rm -f conftest.er1
16931 cat conftest.err >&5
16932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933 (exit $ac_status); } >/dev/null && {
16934 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16935 test ! -s conftest.err
16936 }; then
16937 :
16938 else
16939 echo "$as_me: failed program was:" >&5
16940 sed 's/^/| /' conftest.$ac_ext >&5
16941
16942 # Broken: fails on valid input.
16943 continue
16944 fi
16945
16946 rm -f conftest.err conftest.$ac_ext
16947
16948 # OK, works on sane cases. Now check whether nonexistent headers
16949 # can be detected and how.
16950 cat >conftest.$ac_ext <<_ACEOF
16951 /* confdefs.h. */
16952 _ACEOF
16953 cat confdefs.h >>conftest.$ac_ext
16954 cat >>conftest.$ac_ext <<_ACEOF
16955 /* end confdefs.h. */
16956 #include <ac_nonexistent.h>
16957 _ACEOF
16958 if { (ac_try="$ac_cpp conftest.$ac_ext"
16959 case "(($ac_try" in
16960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16961 *) ac_try_echo=$ac_try;;
16962 esac
16963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16965 ac_status=$?
16966 grep -v '^ *+' conftest.er1 >conftest.err
16967 rm -f conftest.er1
16968 cat conftest.err >&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } >/dev/null && {
16971 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16972 test ! -s conftest.err
16973 }; then
16974 # Broken: success on invalid input.
16975 continue
16976 else
16977 echo "$as_me: failed program was:" >&5
16978 sed 's/^/| /' conftest.$ac_ext >&5
16979
16980 # Passes both tests.
16981 ac_preproc_ok=:
16982 break
16983 fi
16984
16985 rm -f conftest.err conftest.$ac_ext
16986
16987 done
16988 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16989 rm -f conftest.err conftest.$ac_ext
16990 if $ac_preproc_ok; then
16991 :
16992 else
16993 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16994 See \`config.log' for more details." >&5
16995 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16996 See \`config.log' for more details." >&2;}
16997 { (exit 1); exit 1; }; }
16998 fi
16999
17000 ac_ext=c
17001 ac_cpp='$CPP $CPPFLAGS'
17002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17005
17006
17007 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17008 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17009 if test "${ac_cv_path_GREP+set}" = set; then
17010 echo $ECHO_N "(cached) $ECHO_C" >&6
17011 else
17012 # Extract the first word of "grep ggrep" to use in msg output
17013 if test -z "$GREP"; then
17014 set dummy grep ggrep; ac_prog_name=$2
17015 if test "${ac_cv_path_GREP+set}" = set; then
17016 echo $ECHO_N "(cached) $ECHO_C" >&6
17017 else
17018 ac_path_GREP_found=false
17019 # Loop through the user's path and test for each of PROGNAME-LIST
17020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17021 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17022 do
17023 IFS=$as_save_IFS
17024 test -z "$as_dir" && as_dir=.
17025 for ac_prog in grep ggrep; do
17026 for ac_exec_ext in '' $ac_executable_extensions; do
17027 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17028 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17029 # Check for GNU ac_path_GREP and select it if it is found.
17030 # Check for GNU $ac_path_GREP
17031 case `"$ac_path_GREP" --version 2>&1` in
17032 *GNU*)
17033 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17034 *)
17035 ac_count=0
17036 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17037 while :
17038 do
17039 cat "conftest.in" "conftest.in" >"conftest.tmp"
17040 mv "conftest.tmp" "conftest.in"
17041 cp "conftest.in" "conftest.nl"
17042 echo 'GREP' >> "conftest.nl"
17043 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17044 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17045 ac_count=`expr $ac_count + 1`
17046 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17047 # Best one so far, save it but keep looking for a better one
17048 ac_cv_path_GREP="$ac_path_GREP"
17049 ac_path_GREP_max=$ac_count
17050 fi
17051 # 10*(2^10) chars as input seems more than enough
17052 test $ac_count -gt 10 && break
17053 done
17054 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17055 esac
17056
17057
17058 $ac_path_GREP_found && break 3
17059 done
17060 done
17061
17062 done
17063 IFS=$as_save_IFS
17064
17065
17066 fi
17067
17068 GREP="$ac_cv_path_GREP"
17069 if test -z "$GREP"; then
17070 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17071 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17072 { (exit 1); exit 1; }; }
17073 fi
17074
17075 else
17076 ac_cv_path_GREP=$GREP
17077 fi
17078
17079
17080 fi
17081 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17082 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17083 GREP="$ac_cv_path_GREP"
17084
17085
17086 { echo "$as_me:$LINENO: checking for egrep" >&5
17087 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17088 if test "${ac_cv_path_EGREP+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17090 else
17091 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17092 then ac_cv_path_EGREP="$GREP -E"
17093 else
17094 # Extract the first word of "egrep" to use in msg output
17095 if test -z "$EGREP"; then
17096 set dummy egrep; ac_prog_name=$2
17097 if test "${ac_cv_path_EGREP+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17099 else
17100 ac_path_EGREP_found=false
17101 # Loop through the user's path and test for each of PROGNAME-LIST
17102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17103 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17104 do
17105 IFS=$as_save_IFS
17106 test -z "$as_dir" && as_dir=.
17107 for ac_prog in egrep; do
17108 for ac_exec_ext in '' $ac_executable_extensions; do
17109 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17110 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17111 # Check for GNU ac_path_EGREP and select it if it is found.
17112 # Check for GNU $ac_path_EGREP
17113 case `"$ac_path_EGREP" --version 2>&1` in
17114 *GNU*)
17115 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17116 *)
17117 ac_count=0
17118 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17119 while :
17120 do
17121 cat "conftest.in" "conftest.in" >"conftest.tmp"
17122 mv "conftest.tmp" "conftest.in"
17123 cp "conftest.in" "conftest.nl"
17124 echo 'EGREP' >> "conftest.nl"
17125 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17126 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17127 ac_count=`expr $ac_count + 1`
17128 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17129 # Best one so far, save it but keep looking for a better one
17130 ac_cv_path_EGREP="$ac_path_EGREP"
17131 ac_path_EGREP_max=$ac_count
17132 fi
17133 # 10*(2^10) chars as input seems more than enough
17134 test $ac_count -gt 10 && break
17135 done
17136 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17137 esac
17138
17139
17140 $ac_path_EGREP_found && break 3
17141 done
17142 done
17143
17144 done
17145 IFS=$as_save_IFS
17146
17147
17148 fi
17149
17150 EGREP="$ac_cv_path_EGREP"
17151 if test -z "$EGREP"; then
17152 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17153 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17154 { (exit 1); exit 1; }; }
17155 fi
17156
17157 else
17158 ac_cv_path_EGREP=$EGREP
17159 fi
17160
17161
17162 fi
17163 fi
17164 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17165 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17166 EGREP="$ac_cv_path_EGREP"
17167
17168
17169 if test $ac_cv_c_compiler_gnu = yes; then
17170 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17171 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17172 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17173 echo $ECHO_N "(cached) $ECHO_C" >&6
17174 else
17175 ac_pattern="Autoconf.*'x'"
17176 cat >conftest.$ac_ext <<_ACEOF
17177 /* confdefs.h. */
17178 _ACEOF
17179 cat confdefs.h >>conftest.$ac_ext
17180 cat >>conftest.$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17182 #include <sgtty.h>
17183 Autoconf TIOCGETP
17184 _ACEOF
17185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17186 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17187 ac_cv_prog_gcc_traditional=yes
17188 else
17189 ac_cv_prog_gcc_traditional=no
17190 fi
17191 rm -f conftest*
17192
17193
17194 if test $ac_cv_prog_gcc_traditional = no; then
17195 cat >conftest.$ac_ext <<_ACEOF
17196 /* confdefs.h. */
17197 _ACEOF
17198 cat confdefs.h >>conftest.$ac_ext
17199 cat >>conftest.$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17201 #include <termio.h>
17202 Autoconf TCGETA
17203 _ACEOF
17204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17205 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17206 ac_cv_prog_gcc_traditional=yes
17207 fi
17208 rm -f conftest*
17209
17210 fi
17211 fi
17212 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17213 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17214 if test $ac_cv_prog_gcc_traditional = yes; then
17215 CC="$CC -traditional"
17216 fi
17217 fi
17218
17219
17220 CXXFLAGS=${CXXFLAGS:=}
17221 ac_ext=cpp
17222 ac_cpp='$CXXCPP $CPPFLAGS'
17223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17226 if test -z "$CXX"; then
17227 if test -n "$CCC"; then
17228 CXX=$CCC
17229 else
17230 if test -n "$ac_tool_prefix"; then
17231 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17232 do
17233 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17234 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17237 if test "${ac_cv_prog_CXX+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 else
17240 if test -n "$CXX"; then
17241 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17242 else
17243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17244 for as_dir in $PATH
17245 do
17246 IFS=$as_save_IFS
17247 test -z "$as_dir" && as_dir=.
17248 for ac_exec_ext in '' $ac_executable_extensions; do
17249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17250 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17252 break 2
17253 fi
17254 done
17255 done
17256 IFS=$as_save_IFS
17257
17258 fi
17259 fi
17260 CXX=$ac_cv_prog_CXX
17261 if test -n "$CXX"; then
17262 { echo "$as_me:$LINENO: result: $CXX" >&5
17263 echo "${ECHO_T}$CXX" >&6; }
17264 else
17265 { echo "$as_me:$LINENO: result: no" >&5
17266 echo "${ECHO_T}no" >&6; }
17267 fi
17268
17269
17270 test -n "$CXX" && break
17271 done
17272 fi
17273 if test -z "$CXX"; then
17274 ac_ct_CXX=$CXX
17275 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17276 do
17277 # Extract the first word of "$ac_prog", so it can be a program name with args.
17278 set dummy $ac_prog; ac_word=$2
17279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17281 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17282 echo $ECHO_N "(cached) $ECHO_C" >&6
17283 else
17284 if test -n "$ac_ct_CXX"; then
17285 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17286 else
17287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17288 for as_dir in $PATH
17289 do
17290 IFS=$as_save_IFS
17291 test -z "$as_dir" && as_dir=.
17292 for ac_exec_ext in '' $ac_executable_extensions; do
17293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17294 ac_cv_prog_ac_ct_CXX="$ac_prog"
17295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17296 break 2
17297 fi
17298 done
17299 done
17300 IFS=$as_save_IFS
17301
17302 fi
17303 fi
17304 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17305 if test -n "$ac_ct_CXX"; then
17306 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17307 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17308 else
17309 { echo "$as_me:$LINENO: result: no" >&5
17310 echo "${ECHO_T}no" >&6; }
17311 fi
17312
17313
17314 test -n "$ac_ct_CXX" && break
17315 done
17316
17317 if test "x$ac_ct_CXX" = x; then
17318 CXX="g++"
17319 else
17320 case $cross_compiling:$ac_tool_warned in
17321 yes:)
17322 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17323 whose name does not start with the host triplet. If you think this
17324 configuration is useful to you, please write to autoconf@gnu.org." >&5
17325 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17326 whose name does not start with the host triplet. If you think this
17327 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17328 ac_tool_warned=yes ;;
17329 esac
17330 CXX=$ac_ct_CXX
17331 fi
17332 fi
17333
17334 fi
17335 fi
17336 # Provide some information about the compiler.
17337 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17338 ac_compiler=`set X $ac_compile; echo $2`
17339 { (ac_try="$ac_compiler --version >&5"
17340 case "(($ac_try" in
17341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17342 *) ac_try_echo=$ac_try;;
17343 esac
17344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17345 (eval "$ac_compiler --version >&5") 2>&5
17346 ac_status=$?
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); }
17349 { (ac_try="$ac_compiler -v >&5"
17350 case "(($ac_try" in
17351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17352 *) ac_try_echo=$ac_try;;
17353 esac
17354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17355 (eval "$ac_compiler -v >&5") 2>&5
17356 ac_status=$?
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); }
17359 { (ac_try="$ac_compiler -V >&5"
17360 case "(($ac_try" in
17361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17362 *) ac_try_echo=$ac_try;;
17363 esac
17364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17365 (eval "$ac_compiler -V >&5") 2>&5
17366 ac_status=$?
17367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17368 (exit $ac_status); }
17369
17370 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17371 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17372 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17373 echo $ECHO_N "(cached) $ECHO_C" >&6
17374 else
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 #ifndef __GNUC__
17386 choke me
17387 #endif
17388
17389 ;
17390 return 0;
17391 }
17392 _ACEOF
17393 rm -f conftest.$ac_objext
17394 if { (ac_try="$ac_compile"
17395 case "(($ac_try" in
17396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17397 *) ac_try_echo=$ac_try;;
17398 esac
17399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17400 (eval "$ac_compile") 2>conftest.er1
17401 ac_status=$?
17402 grep -v '^ *+' conftest.er1 >conftest.err
17403 rm -f conftest.er1
17404 cat conftest.err >&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } && {
17407 test -z "$ac_cxx_werror_flag" ||
17408 test ! -s conftest.err
17409 } && test -s conftest.$ac_objext; then
17410 ac_compiler_gnu=yes
17411 else
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17414
17415 ac_compiler_gnu=no
17416 fi
17417
17418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17420
17421 fi
17422 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17423 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17424 GXX=`test $ac_compiler_gnu = yes && echo yes`
17425 ac_test_CXXFLAGS=${CXXFLAGS+set}
17426 ac_save_CXXFLAGS=$CXXFLAGS
17427 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17428 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17429 if test "${ac_cv_prog_cxx_g+set}" = set; then
17430 echo $ECHO_N "(cached) $ECHO_C" >&6
17431 else
17432 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17433 ac_cxx_werror_flag=yes
17434 ac_cv_prog_cxx_g=no
17435 CXXFLAGS="-g"
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442
17443 int
17444 main ()
17445 {
17446
17447 ;
17448 return 0;
17449 }
17450 _ACEOF
17451 rm -f conftest.$ac_objext
17452 if { (ac_try="$ac_compile"
17453 case "(($ac_try" in
17454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17455 *) ac_try_echo=$ac_try;;
17456 esac
17457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17458 (eval "$ac_compile") 2>conftest.er1
17459 ac_status=$?
17460 grep -v '^ *+' conftest.er1 >conftest.err
17461 rm -f conftest.er1
17462 cat conftest.err >&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); } && {
17465 test -z "$ac_cxx_werror_flag" ||
17466 test ! -s conftest.err
17467 } && test -s conftest.$ac_objext; then
17468 ac_cv_prog_cxx_g=yes
17469 else
17470 echo "$as_me: failed program was:" >&5
17471 sed 's/^/| /' conftest.$ac_ext >&5
17472
17473 CXXFLAGS=""
17474 cat >conftest.$ac_ext <<_ACEOF
17475 /* confdefs.h. */
17476 _ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480
17481 int
17482 main ()
17483 {
17484
17485 ;
17486 return 0;
17487 }
17488 _ACEOF
17489 rm -f conftest.$ac_objext
17490 if { (ac_try="$ac_compile"
17491 case "(($ac_try" in
17492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17493 *) ac_try_echo=$ac_try;;
17494 esac
17495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17496 (eval "$ac_compile") 2>conftest.er1
17497 ac_status=$?
17498 grep -v '^ *+' conftest.er1 >conftest.err
17499 rm -f conftest.er1
17500 cat conftest.err >&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } && {
17503 test -z "$ac_cxx_werror_flag" ||
17504 test ! -s conftest.err
17505 } && test -s conftest.$ac_objext; then
17506 :
17507 else
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17510
17511 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17512 CXXFLAGS="-g"
17513 cat >conftest.$ac_ext <<_ACEOF
17514 /* confdefs.h. */
17515 _ACEOF
17516 cat confdefs.h >>conftest.$ac_ext
17517 cat >>conftest.$ac_ext <<_ACEOF
17518 /* end confdefs.h. */
17519
17520 int
17521 main ()
17522 {
17523
17524 ;
17525 return 0;
17526 }
17527 _ACEOF
17528 rm -f conftest.$ac_objext
17529 if { (ac_try="$ac_compile"
17530 case "(($ac_try" in
17531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17532 *) ac_try_echo=$ac_try;;
17533 esac
17534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17535 (eval "$ac_compile") 2>conftest.er1
17536 ac_status=$?
17537 grep -v '^ *+' conftest.er1 >conftest.err
17538 rm -f conftest.er1
17539 cat conftest.err >&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); } && {
17542 test -z "$ac_cxx_werror_flag" ||
17543 test ! -s conftest.err
17544 } && test -s conftest.$ac_objext; then
17545 ac_cv_prog_cxx_g=yes
17546 else
17547 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5
17549
17550
17551 fi
17552
17553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17554 fi
17555
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17557 fi
17558
17559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17560 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17561 fi
17562 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17563 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17564 if test "$ac_test_CXXFLAGS" = set; then
17565 CXXFLAGS=$ac_save_CXXFLAGS
17566 elif test $ac_cv_prog_cxx_g = yes; then
17567 if test "$GXX" = yes; then
17568 CXXFLAGS="-g -O2"
17569 else
17570 CXXFLAGS="-g"
17571 fi
17572 else
17573 if test "$GXX" = yes; then
17574 CXXFLAGS="-O2"
17575 else
17576 CXXFLAGS=
17577 fi
17578 fi
17579 ac_ext=c
17580 ac_cpp='$CPP $CPPFLAGS'
17581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17584
17585
17586
17587
17588
17589
17590
17591
17592 ac_ext=cpp
17593 ac_cpp='$CXXCPP $CPPFLAGS'
17594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17597
17598 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17599 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17600 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17602 else
17603 cat >conftest.$ac_ext <<_ACEOF
17604 /* confdefs.h. */
17605 _ACEOF
17606 cat confdefs.h >>conftest.$ac_ext
17607 cat >>conftest.$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17609
17610 int
17611 main ()
17612 {
17613
17614 #ifndef __INTEL_COMPILER
17615 choke me
17616 #endif
17617
17618 ;
17619 return 0;
17620 }
17621 _ACEOF
17622 rm -f conftest.$ac_objext
17623 if { (ac_try="$ac_compile"
17624 case "(($ac_try" in
17625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17626 *) ac_try_echo=$ac_try;;
17627 esac
17628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17629 (eval "$ac_compile") 2>conftest.er1
17630 ac_status=$?
17631 grep -v '^ *+' conftest.er1 >conftest.err
17632 rm -f conftest.er1
17633 cat conftest.err >&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); } && {
17636 test -z "$ac_cxx_werror_flag" ||
17637 test ! -s conftest.err
17638 } && test -s conftest.$ac_objext; then
17639 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17640 else
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.$ac_ext >&5
17643
17644 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17645
17646 fi
17647
17648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17649
17650
17651 fi
17652 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17653 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17654 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17655 :; INTELCXX=yes
17656 else
17657 :;
17658 fi
17659 ac_ext=c
17660 ac_cpp='$CPP $CPPFLAGS'
17661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17664
17665
17666
17667
17668 if test "$INTELCXX" = "yes"; then
17669
17670
17671 ac_ext=cpp
17672 ac_cpp='$CXXCPP $CPPFLAGS'
17673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17676
17677 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17678 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17679 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17680 echo $ECHO_N "(cached) $ECHO_C" >&6
17681 else
17682 cat >conftest.$ac_ext <<_ACEOF
17683 /* confdefs.h. */
17684 _ACEOF
17685 cat confdefs.h >>conftest.$ac_ext
17686 cat >>conftest.$ac_ext <<_ACEOF
17687 /* end confdefs.h. */
17688
17689 int
17690 main ()
17691 {
17692
17693 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17694 choke me
17695 #endif
17696
17697 ;
17698 return 0;
17699 }
17700 _ACEOF
17701 rm -f conftest.$ac_objext
17702 if { (ac_try="$ac_compile"
17703 case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17705 *) ac_try_echo=$ac_try;;
17706 esac
17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_compile") 2>conftest.er1
17709 ac_status=$?
17710 grep -v '^ *+' conftest.er1 >conftest.err
17711 rm -f conftest.er1
17712 cat conftest.err >&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && {
17715 test -z "$ac_cxx_werror_flag" ||
17716 test ! -s conftest.err
17717 } && test -s conftest.$ac_objext; then
17718 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17719 else
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.$ac_ext >&5
17722
17723 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17724
17725 fi
17726
17727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17728
17729
17730 fi
17731 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17732 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17733 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17734 :; INTELCXX8=yes
17735 else
17736 :;
17737 fi
17738 ac_ext=c
17739 ac_cpp='$CPP $CPPFLAGS'
17740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17743
17744
17745
17746
17747
17748 ac_ext=cpp
17749 ac_cpp='$CXXCPP $CPPFLAGS'
17750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17753
17754 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17755 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17756 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17757 echo $ECHO_N "(cached) $ECHO_C" >&6
17758 else
17759 cat >conftest.$ac_ext <<_ACEOF
17760 /* confdefs.h. */
17761 _ACEOF
17762 cat confdefs.h >>conftest.$ac_ext
17763 cat >>conftest.$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765
17766 int
17767 main ()
17768 {
17769
17770 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17771 choke me
17772 #endif
17773
17774 ;
17775 return 0;
17776 }
17777 _ACEOF
17778 rm -f conftest.$ac_objext
17779 if { (ac_try="$ac_compile"
17780 case "(($ac_try" in
17781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17782 *) ac_try_echo=$ac_try;;
17783 esac
17784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17785 (eval "$ac_compile") 2>conftest.er1
17786 ac_status=$?
17787 grep -v '^ *+' conftest.er1 >conftest.err
17788 rm -f conftest.er1
17789 cat conftest.err >&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); } && {
17792 test -z "$ac_cxx_werror_flag" ||
17793 test ! -s conftest.err
17794 } && test -s conftest.$ac_objext; then
17795 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17796 else
17797 echo "$as_me: failed program was:" >&5
17798 sed 's/^/| /' conftest.$ac_ext >&5
17799
17800 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17801
17802 fi
17803
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805
17806
17807 fi
17808 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17809 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17810 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17811 :; INTELCXX10=yes
17812 else
17813 :;
17814 fi
17815 ac_ext=c
17816 ac_cpp='$CPP $CPPFLAGS'
17817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17820
17821
17822
17823 fi
17824
17825 if test "x$GCXX" != "xyes"; then
17826 if test "xCXX" = "xC"; then
17827 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17828 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17829 if test "${bakefile_cv_c_exto+set}" = set; then
17830 echo $ECHO_N "(cached) $ECHO_C" >&6
17831 else
17832 cat >conftest.$ac_ext <<_ACEOF
17833 /* confdefs.h. */
17834 _ACEOF
17835 cat confdefs.h >>conftest.$ac_ext
17836 cat >>conftest.$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17838
17839 int
17840 main ()
17841 {
17842
17843 ;
17844 return 0;
17845 }
17846 _ACEOF
17847 rm -f conftest.$ac_objext conftest.$ac_ext.o
17848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17849 (eval $ac_compile) 2>&5
17850 ac_status=$?
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); }; then
17853 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17854 case $ac_file in
17855 conftest.$ac_ext.o)
17856 bakefile_cv_c_exto="-ext o"
17857 ;;
17858 *)
17859 ;;
17860 esac
17861 done
17862 else
17863 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17864 See \`config.log' for more details." >&5
17865 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17866 See \`config.log' for more details." >&2;}
17867 { (exit 1); exit 1; }; }
17868
17869 fi
17870
17871 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17872
17873 fi
17874 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17875 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17876 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17877 if test "c" = "c"; then
17878 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17879 fi
17880 if test "c" = "cxx"; then
17881 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17882 fi
17883 fi
17884
17885 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17886 unset ac_cv_prog_cc_g
17887 ac_test_CFLAGS=${CFLAGS+set}
17888 ac_save_CFLAGS=$CFLAGS
17889 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17890 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17891 if test "${ac_cv_prog_cc_g+set}" = set; then
17892 echo $ECHO_N "(cached) $ECHO_C" >&6
17893 else
17894 ac_save_c_werror_flag=$ac_c_werror_flag
17895 ac_c_werror_flag=yes
17896 ac_cv_prog_cc_g=no
17897 CFLAGS="-g"
17898 cat >conftest.$ac_ext <<_ACEOF
17899 /* confdefs.h. */
17900 _ACEOF
17901 cat confdefs.h >>conftest.$ac_ext
17902 cat >>conftest.$ac_ext <<_ACEOF
17903 /* end confdefs.h. */
17904
17905 int
17906 main ()
17907 {
17908
17909 ;
17910 return 0;
17911 }
17912 _ACEOF
17913 rm -f conftest.$ac_objext
17914 if { (ac_try="$ac_compile"
17915 case "(($ac_try" in
17916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17917 *) ac_try_echo=$ac_try;;
17918 esac
17919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17920 (eval "$ac_compile") 2>conftest.er1
17921 ac_status=$?
17922 grep -v '^ *+' conftest.er1 >conftest.err
17923 rm -f conftest.er1
17924 cat conftest.err >&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } && {
17927 test -z "$ac_c_werror_flag" ||
17928 test ! -s conftest.err
17929 } && test -s conftest.$ac_objext; then
17930 ac_cv_prog_cc_g=yes
17931 else
17932 echo "$as_me: failed program was:" >&5
17933 sed 's/^/| /' conftest.$ac_ext >&5
17934
17935 CFLAGS=""
17936 cat >conftest.$ac_ext <<_ACEOF
17937 /* confdefs.h. */
17938 _ACEOF
17939 cat confdefs.h >>conftest.$ac_ext
17940 cat >>conftest.$ac_ext <<_ACEOF
17941 /* end confdefs.h. */
17942
17943 int
17944 main ()
17945 {
17946
17947 ;
17948 return 0;
17949 }
17950 _ACEOF
17951 rm -f conftest.$ac_objext
17952 if { (ac_try="$ac_compile"
17953 case "(($ac_try" in
17954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17955 *) ac_try_echo=$ac_try;;
17956 esac
17957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17958 (eval "$ac_compile") 2>conftest.er1
17959 ac_status=$?
17960 grep -v '^ *+' conftest.er1 >conftest.err
17961 rm -f conftest.er1
17962 cat conftest.err >&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); } && {
17965 test -z "$ac_c_werror_flag" ||
17966 test ! -s conftest.err
17967 } && test -s conftest.$ac_objext; then
17968 :
17969 else
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.$ac_ext >&5
17972
17973 ac_c_werror_flag=$ac_save_c_werror_flag
17974 CFLAGS="-g"
17975 cat >conftest.$ac_ext <<_ACEOF
17976 /* confdefs.h. */
17977 _ACEOF
17978 cat confdefs.h >>conftest.$ac_ext
17979 cat >>conftest.$ac_ext <<_ACEOF
17980 /* end confdefs.h. */
17981
17982 int
17983 main ()
17984 {
17985
17986 ;
17987 return 0;
17988 }
17989 _ACEOF
17990 rm -f conftest.$ac_objext
17991 if { (ac_try="$ac_compile"
17992 case "(($ac_try" in
17993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17994 *) ac_try_echo=$ac_try;;
17995 esac
17996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17997 (eval "$ac_compile") 2>conftest.er1
17998 ac_status=$?
17999 grep -v '^ *+' conftest.er1 >conftest.err
18000 rm -f conftest.er1
18001 cat conftest.err >&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); } && {
18004 test -z "$ac_c_werror_flag" ||
18005 test ! -s conftest.err
18006 } && test -s conftest.$ac_objext; then
18007 ac_cv_prog_cc_g=yes
18008 else
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.$ac_ext >&5
18011
18012
18013 fi
18014
18015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18016 fi
18017
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019 fi
18020
18021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18022 ac_c_werror_flag=$ac_save_c_werror_flag
18023 fi
18024 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18025 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18026 if test "$ac_test_CFLAGS" = set; then
18027 CFLAGS=$ac_save_CFLAGS
18028 elif test $ac_cv_prog_cc_g = yes; then
18029 if test "$GCC" = yes; then
18030 CFLAGS="-g -O2"
18031 else
18032 CFLAGS="-g"
18033 fi
18034 else
18035 if test "$GCC" = yes; then
18036 CFLAGS="-O2"
18037 else
18038 CFLAGS=
18039 fi
18040 fi
18041 fi
18042 fi
18043
18044 case `uname -s` in
18045 AIX*)
18046
18047
18048 ac_ext=cpp
18049 ac_cpp='$CXXCPP $CPPFLAGS'
18050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18053
18054 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18055 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18056 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18057 echo $ECHO_N "(cached) $ECHO_C" >&6
18058 else
18059 cat >conftest.$ac_ext <<_ACEOF
18060 /* confdefs.h. */
18061 _ACEOF
18062 cat confdefs.h >>conftest.$ac_ext
18063 cat >>conftest.$ac_ext <<_ACEOF
18064 /* end confdefs.h. */
18065
18066 int
18067 main ()
18068 {
18069
18070 #ifndef __xlC__
18071 choke me
18072 #endif
18073
18074 ;
18075 return 0;
18076 }
18077 _ACEOF
18078 rm -f conftest.$ac_objext
18079 if { (ac_try="$ac_compile"
18080 case "(($ac_try" in
18081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18082 *) ac_try_echo=$ac_try;;
18083 esac
18084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18085 (eval "$ac_compile") 2>conftest.er1
18086 ac_status=$?
18087 grep -v '^ *+' conftest.er1 >conftest.err
18088 rm -f conftest.er1
18089 cat conftest.err >&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); } && {
18092 test -z "$ac_cxx_werror_flag" ||
18093 test ! -s conftest.err
18094 } && test -s conftest.$ac_objext; then
18095 bakefile_cv_cxx_compiler___xlC__=yes
18096 else
18097 echo "$as_me: failed program was:" >&5
18098 sed 's/^/| /' conftest.$ac_ext >&5
18099
18100 bakefile_cv_cxx_compiler___xlC__=no
18101
18102 fi
18103
18104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18105
18106
18107 fi
18108 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18109 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18110 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18111 :; XLCXX=yes
18112 else
18113 :;
18114 fi
18115 ac_ext=c
18116 ac_cpp='$CPP $CPPFLAGS'
18117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18120
18121
18122
18123 ;;
18124
18125 Darwin)
18126
18127
18128 ac_ext=cpp
18129 ac_cpp='$CXXCPP $CPPFLAGS'
18130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18133
18134 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18135 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18136 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18137 echo $ECHO_N "(cached) $ECHO_C" >&6
18138 else
18139 cat >conftest.$ac_ext <<_ACEOF
18140 /* confdefs.h. */
18141 _ACEOF
18142 cat confdefs.h >>conftest.$ac_ext
18143 cat >>conftest.$ac_ext <<_ACEOF
18144 /* end confdefs.h. */
18145
18146 int
18147 main ()
18148 {
18149
18150 #ifndef __MWERKS__
18151 choke me
18152 #endif
18153
18154 ;
18155 return 0;
18156 }
18157 _ACEOF
18158 rm -f conftest.$ac_objext
18159 if { (ac_try="$ac_compile"
18160 case "(($ac_try" in
18161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18162 *) ac_try_echo=$ac_try;;
18163 esac
18164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18165 (eval "$ac_compile") 2>conftest.er1
18166 ac_status=$?
18167 grep -v '^ *+' conftest.er1 >conftest.err
18168 rm -f conftest.er1
18169 cat conftest.err >&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); } && {
18172 test -z "$ac_cxx_werror_flag" ||
18173 test ! -s conftest.err
18174 } && test -s conftest.$ac_objext; then
18175 bakefile_cv_cxx_compiler___MWERKS__=yes
18176 else
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.$ac_ext >&5
18179
18180 bakefile_cv_cxx_compiler___MWERKS__=no
18181
18182 fi
18183
18184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18185
18186
18187 fi
18188 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18189 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18190 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18191 :; MWCXX=yes
18192 else
18193 :;
18194 fi
18195 ac_ext=c
18196 ac_cpp='$CPP $CPPFLAGS'
18197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18200
18201
18202
18203 if test "$MWCXX" != "yes"; then
18204
18205
18206 ac_ext=cpp
18207 ac_cpp='$CXXCPP $CPPFLAGS'
18208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18211
18212 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18213 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18214 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18215 echo $ECHO_N "(cached) $ECHO_C" >&6
18216 else
18217 cat >conftest.$ac_ext <<_ACEOF
18218 /* confdefs.h. */
18219 _ACEOF
18220 cat confdefs.h >>conftest.$ac_ext
18221 cat >>conftest.$ac_ext <<_ACEOF
18222 /* end confdefs.h. */
18223
18224 int
18225 main ()
18226 {
18227
18228 #ifndef __xlC__
18229 choke me
18230 #endif
18231
18232 ;
18233 return 0;
18234 }
18235 _ACEOF
18236 rm -f conftest.$ac_objext
18237 if { (ac_try="$ac_compile"
18238 case "(($ac_try" in
18239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18240 *) ac_try_echo=$ac_try;;
18241 esac
18242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18243 (eval "$ac_compile") 2>conftest.er1
18244 ac_status=$?
18245 grep -v '^ *+' conftest.er1 >conftest.err
18246 rm -f conftest.er1
18247 cat conftest.err >&5
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); } && {
18250 test -z "$ac_cxx_werror_flag" ||
18251 test ! -s conftest.err
18252 } && test -s conftest.$ac_objext; then
18253 bakefile_cv_cxx_compiler___xlC__=yes
18254 else
18255 echo "$as_me: failed program was:" >&5
18256 sed 's/^/| /' conftest.$ac_ext >&5
18257
18258 bakefile_cv_cxx_compiler___xlC__=no
18259
18260 fi
18261
18262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18263
18264
18265 fi
18266 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18267 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18268 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18269 :; XLCXX=yes
18270 else
18271 :;
18272 fi
18273 ac_ext=c
18274 ac_cpp='$CPP $CPPFLAGS'
18275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18278
18279
18280
18281 fi
18282 ;;
18283
18284 IRIX*)
18285
18286
18287 ac_ext=cpp
18288 ac_cpp='$CXXCPP $CPPFLAGS'
18289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18292
18293 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18294 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18295 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18296 echo $ECHO_N "(cached) $ECHO_C" >&6
18297 else
18298 cat >conftest.$ac_ext <<_ACEOF
18299 /* confdefs.h. */
18300 _ACEOF
18301 cat confdefs.h >>conftest.$ac_ext
18302 cat >>conftest.$ac_ext <<_ACEOF
18303 /* end confdefs.h. */
18304
18305 int
18306 main ()
18307 {
18308
18309 #ifndef _SGI_COMPILER_VERSION
18310 choke me
18311 #endif
18312
18313 ;
18314 return 0;
18315 }
18316 _ACEOF
18317 rm -f conftest.$ac_objext
18318 if { (ac_try="$ac_compile"
18319 case "(($ac_try" in
18320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18321 *) ac_try_echo=$ac_try;;
18322 esac
18323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18324 (eval "$ac_compile") 2>conftest.er1
18325 ac_status=$?
18326 grep -v '^ *+' conftest.er1 >conftest.err
18327 rm -f conftest.er1
18328 cat conftest.err >&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); } && {
18331 test -z "$ac_cxx_werror_flag" ||
18332 test ! -s conftest.err
18333 } && test -s conftest.$ac_objext; then
18334 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18335 else
18336 echo "$as_me: failed program was:" >&5
18337 sed 's/^/| /' conftest.$ac_ext >&5
18338
18339 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18340
18341 fi
18342
18343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18344
18345
18346 fi
18347 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18348 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18349 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18350 :; SGICXX=yes
18351 else
18352 :;
18353 fi
18354 ac_ext=c
18355 ac_cpp='$CPP $CPPFLAGS'
18356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18359
18360
18361
18362 ;;
18363
18364 Linux*)
18365 if test "$INTELCXX" != "yes"; then
18366
18367
18368 ac_ext=cpp
18369 ac_cpp='$CXXCPP $CPPFLAGS'
18370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18373
18374 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18375 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18376 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18377 echo $ECHO_N "(cached) $ECHO_C" >&6
18378 else
18379 cat >conftest.$ac_ext <<_ACEOF
18380 /* confdefs.h. */
18381 _ACEOF
18382 cat confdefs.h >>conftest.$ac_ext
18383 cat >>conftest.$ac_ext <<_ACEOF
18384 /* end confdefs.h. */
18385
18386 int
18387 main ()
18388 {
18389
18390 #ifndef __SUNPRO_CC
18391 choke me
18392 #endif
18393
18394 ;
18395 return 0;
18396 }
18397 _ACEOF
18398 rm -f conftest.$ac_objext
18399 if { (ac_try="$ac_compile"
18400 case "(($ac_try" in
18401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18402 *) ac_try_echo=$ac_try;;
18403 esac
18404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18405 (eval "$ac_compile") 2>conftest.er1
18406 ac_status=$?
18407 grep -v '^ *+' conftest.er1 >conftest.err
18408 rm -f conftest.er1
18409 cat conftest.err >&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); } && {
18412 test -z "$ac_cxx_werror_flag" ||
18413 test ! -s conftest.err
18414 } && test -s conftest.$ac_objext; then
18415 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18416 else
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.$ac_ext >&5
18419
18420 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18421
18422 fi
18423
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425
18426
18427 fi
18428 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18429 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18430 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18431 :; SUNCXX=yes
18432 else
18433 :;
18434 fi
18435 ac_ext=c
18436 ac_cpp='$CPP $CPPFLAGS'
18437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18440
18441
18442
18443 fi
18444 ;;
18445
18446 HP-UX*)
18447
18448
18449 ac_ext=cpp
18450 ac_cpp='$CXXCPP $CPPFLAGS'
18451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18454
18455 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18456 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18457 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18458 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 else
18460 cat >conftest.$ac_ext <<_ACEOF
18461 /* confdefs.h. */
18462 _ACEOF
18463 cat confdefs.h >>conftest.$ac_ext
18464 cat >>conftest.$ac_ext <<_ACEOF
18465 /* end confdefs.h. */
18466
18467 int
18468 main ()
18469 {
18470
18471 #ifndef __HP_aCC
18472 choke me
18473 #endif
18474
18475 ;
18476 return 0;
18477 }
18478 _ACEOF
18479 rm -f conftest.$ac_objext
18480 if { (ac_try="$ac_compile"
18481 case "(($ac_try" in
18482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18483 *) ac_try_echo=$ac_try;;
18484 esac
18485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18486 (eval "$ac_compile") 2>conftest.er1
18487 ac_status=$?
18488 grep -v '^ *+' conftest.er1 >conftest.err
18489 rm -f conftest.er1
18490 cat conftest.err >&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); } && {
18493 test -z "$ac_cxx_werror_flag" ||
18494 test ! -s conftest.err
18495 } && test -s conftest.$ac_objext; then
18496 bakefile_cv_cxx_compiler___HP_aCC=yes
18497 else
18498 echo "$as_me: failed program was:" >&5
18499 sed 's/^/| /' conftest.$ac_ext >&5
18500
18501 bakefile_cv_cxx_compiler___HP_aCC=no
18502
18503 fi
18504
18505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18506
18507
18508 fi
18509 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18510 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18511 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18512 :; HPCXX=yes
18513 else
18514 :;
18515 fi
18516 ac_ext=c
18517 ac_cpp='$CPP $CPPFLAGS'
18518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18521
18522
18523
18524 ;;
18525
18526 OSF1)
18527
18528
18529 ac_ext=cpp
18530 ac_cpp='$CXXCPP $CPPFLAGS'
18531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18534
18535 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18536 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18537 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18538 echo $ECHO_N "(cached) $ECHO_C" >&6
18539 else
18540 cat >conftest.$ac_ext <<_ACEOF
18541 /* confdefs.h. */
18542 _ACEOF
18543 cat confdefs.h >>conftest.$ac_ext
18544 cat >>conftest.$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546
18547 int
18548 main ()
18549 {
18550
18551 #ifndef __DECCXX
18552 choke me
18553 #endif
18554
18555 ;
18556 return 0;
18557 }
18558 _ACEOF
18559 rm -f conftest.$ac_objext
18560 if { (ac_try="$ac_compile"
18561 case "(($ac_try" in
18562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18564 esac
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_compile") 2>conftest.er1
18567 ac_status=$?
18568 grep -v '^ *+' conftest.er1 >conftest.err
18569 rm -f conftest.er1
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } && {
18573 test -z "$ac_cxx_werror_flag" ||
18574 test ! -s conftest.err
18575 } && test -s conftest.$ac_objext; then
18576 bakefile_cv_cxx_compiler___DECCXX=yes
18577 else
18578 echo "$as_me: failed program was:" >&5
18579 sed 's/^/| /' conftest.$ac_ext >&5
18580
18581 bakefile_cv_cxx_compiler___DECCXX=no
18582
18583 fi
18584
18585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18586
18587
18588 fi
18589 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18590 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18591 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18592 :; COMPAQCXX=yes
18593 else
18594 :;
18595 fi
18596 ac_ext=c
18597 ac_cpp='$CPP $CPPFLAGS'
18598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18601
18602
18603
18604 ;;
18605
18606 SunOS)
18607
18608
18609 ac_ext=cpp
18610 ac_cpp='$CXXCPP $CPPFLAGS'
18611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18614
18615 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18616 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18617 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18619 else
18620 cat >conftest.$ac_ext <<_ACEOF
18621 /* confdefs.h. */
18622 _ACEOF
18623 cat confdefs.h >>conftest.$ac_ext
18624 cat >>conftest.$ac_ext <<_ACEOF
18625 /* end confdefs.h. */
18626
18627 int
18628 main ()
18629 {
18630
18631 #ifndef __SUNPRO_CC
18632 choke me
18633 #endif
18634
18635 ;
18636 return 0;
18637 }
18638 _ACEOF
18639 rm -f conftest.$ac_objext
18640 if { (ac_try="$ac_compile"
18641 case "(($ac_try" in
18642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18643 *) ac_try_echo=$ac_try;;
18644 esac
18645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18646 (eval "$ac_compile") 2>conftest.er1
18647 ac_status=$?
18648 grep -v '^ *+' conftest.er1 >conftest.err
18649 rm -f conftest.er1
18650 cat conftest.err >&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } && {
18653 test -z "$ac_cxx_werror_flag" ||
18654 test ! -s conftest.err
18655 } && test -s conftest.$ac_objext; then
18656 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18657 else
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.$ac_ext >&5
18660
18661 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18662
18663 fi
18664
18665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18666
18667
18668 fi
18669 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18670 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18671 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18672 :; SUNCXX=yes
18673 else
18674 :;
18675 fi
18676 ac_ext=c
18677 ac_cpp='$CPP $CPPFLAGS'
18678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18681
18682
18683
18684 ;;
18685 esac
18686 fi
18687
18688
18689
18690 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18691 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18692 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18693 { (exit 1); exit 1; }; }
18694 fi
18695
18696 if test "x$SUNCXX" != xyes; then
18697 if test -n "$ac_tool_prefix"; then
18698 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18699 set dummy ${ac_tool_prefix}ar; ac_word=$2
18700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18702 if test "${ac_cv_prog_AR+set}" = set; then
18703 echo $ECHO_N "(cached) $ECHO_C" >&6
18704 else
18705 if test -n "$AR"; then
18706 ac_cv_prog_AR="$AR" # Let the user override the test.
18707 else
18708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18709 for as_dir in $PATH
18710 do
18711 IFS=$as_save_IFS
18712 test -z "$as_dir" && as_dir=.
18713 for ac_exec_ext in '' $ac_executable_extensions; do
18714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18715 ac_cv_prog_AR="${ac_tool_prefix}ar"
18716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18717 break 2
18718 fi
18719 done
18720 done
18721 IFS=$as_save_IFS
18722
18723 fi
18724 fi
18725 AR=$ac_cv_prog_AR
18726 if test -n "$AR"; then
18727 { echo "$as_me:$LINENO: result: $AR" >&5
18728 echo "${ECHO_T}$AR" >&6; }
18729 else
18730 { echo "$as_me:$LINENO: result: no" >&5
18731 echo "${ECHO_T}no" >&6; }
18732 fi
18733
18734
18735 fi
18736 if test -z "$ac_cv_prog_AR"; then
18737 ac_ct_AR=$AR
18738 # Extract the first word of "ar", so it can be a program name with args.
18739 set dummy ar; ac_word=$2
18740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18742 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18743 echo $ECHO_N "(cached) $ECHO_C" >&6
18744 else
18745 if test -n "$ac_ct_AR"; then
18746 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18747 else
18748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18749 for as_dir in $PATH
18750 do
18751 IFS=$as_save_IFS
18752 test -z "$as_dir" && as_dir=.
18753 for ac_exec_ext in '' $ac_executable_extensions; do
18754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18755 ac_cv_prog_ac_ct_AR="ar"
18756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18757 break 2
18758 fi
18759 done
18760 done
18761 IFS=$as_save_IFS
18762
18763 fi
18764 fi
18765 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18766 if test -n "$ac_ct_AR"; then
18767 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18768 echo "${ECHO_T}$ac_ct_AR" >&6; }
18769 else
18770 { echo "$as_me:$LINENO: result: no" >&5
18771 echo "${ECHO_T}no" >&6; }
18772 fi
18773
18774 if test "x$ac_ct_AR" = x; then
18775 AR=""
18776 else
18777 case $cross_compiling:$ac_tool_warned in
18778 yes:)
18779 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18780 whose name does not start with the host triplet. If you think this
18781 configuration is useful to you, please write to autoconf@gnu.org." >&5
18782 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18783 whose name does not start with the host triplet. If you think this
18784 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18785 ac_tool_warned=yes ;;
18786 esac
18787 AR=$ac_ct_AR
18788 fi
18789 else
18790 AR="$ac_cv_prog_AR"
18791 fi
18792
18793 if test "x$AR" = "x" ; then
18794 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18795 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18796 { (exit 1); exit 1; }; }
18797 fi
18798 fi
18799
18800
18801 if test "$wxUSE_MAC" = 1; then
18802
18803 retest_macosx_linking=no
18804
18805 OSX_ARCH_OPTS=""
18806 if test "x$wxUSE_MAC_ARCH" != xno; then
18807 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18808 fi
18809
18810 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18811 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18812 # Implicitly turn on the new --with-macosx-sdk using the default
18813 # SDK which provides the behaviour this option has always had.
18814 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18815 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18816 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18817 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18818 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18819 wxUSE_MACOSX_SDK=yes
18820 fi
18821 else
18822 # Complain to user if he specified an argument to --enable-universal_binary
18823 # and also 1) specified --with-macosx-sdk using the default (yes) or
18824 # 2) specified --with-macosx-sdk using a path or 3) specified
18825 # --without-macosx-sdk (no).
18826 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18827 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18828 See \`config.log' for more details." >&5
18829 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18830 See \`config.log' for more details." >&2;}
18831 { (exit 1); exit 1; }; }
18832 else
18833 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18834 # special-case the empty string because the below test simply
18835 # converts "no" to the empty string anyway.
18836 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18837 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18838 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18839 fi
18840 fi
18841 OSX_ARCH_OPTS="-arch ppc -arch i386"
18842 if test "$wxUSE_OSX_COCOA" = 1; then
18843 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18844 fi
18845 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18846 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18847 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18848 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18849
18850 retest_macosx_linking=yes
18851
18852 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18853 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18854 bk_use_pch=no
18855 fi
18856
18857 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18858 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18859 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18860 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18861 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18862
18863 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18864 wxUSE_MACOSX_SDK=
18865 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18866 # TODO: Search for most recent SDK and use it.
18867 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18868 fi
18869
18870
18871 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18872 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18873 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18874 if ! test -d "$wxUSE_MACOSX_SDK"; then
18875 { { echo "$as_me:$LINENO: error: not found
18876 See \`config.log' for more details." >&5
18877 echo "$as_me: error: not found
18878 See \`config.log' for more details." >&2;}
18879 { (exit 1); exit 1; }; }
18880 else
18881 { echo "$as_me:$LINENO: result: exists" >&5
18882 echo "${ECHO_T}exists" >&6; }
18883 fi
18884 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18885 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18886 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18887 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18888 retest_macosx_linking=yes
18889 fi
18890
18891 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18892 wxUSE_MACOSX_VERSION_MIN=
18893 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18894 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18895 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18896 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18897
18898 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/'`
18899
18900 # If that failed, try again with the new key
18901 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18902
18903 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/'`
18904
18905 fi
18906
18907 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18908 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18909 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18910 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18911 else
18912 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18913 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18914 wxUSE_MACOSX_VERSION_MIN=
18915 fi
18916 else
18917 wxUSE_MACOSX_VERSION_MIN=
18918 fi
18919 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18920 for ac_prog in sw_vers
18921 do
18922 # Extract the first word of "$ac_prog", so it can be a program name with args.
18923 set dummy $ac_prog; ac_word=$2
18924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18926 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18927 echo $ECHO_N "(cached) $ECHO_C" >&6
18928 else
18929 if test -n "$OSX_SW_VERS"; then
18930 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18931 else
18932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18933 for as_dir in $PATH
18934 do
18935 IFS=$as_save_IFS
18936 test -z "$as_dir" && as_dir=.
18937 for ac_exec_ext in '' $ac_executable_extensions; do
18938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18939 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18941 break 2
18942 fi
18943 done
18944 done
18945 IFS=$as_save_IFS
18946
18947 fi
18948 fi
18949 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18950 if test -n "$OSX_SW_VERS"; then
18951 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18952 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18953 else
18954 { echo "$as_me:$LINENO: result: no" >&5
18955 echo "${ECHO_T}no" >&6; }
18956 fi
18957
18958
18959 test -n "$OSX_SW_VERS" && break
18960 done
18961
18962 if test "$OSX_SW_VERS" != ""; then
18963 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18964 else
18965 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18966 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18967 OSX_VERSION="10.4"
18968 fi
18969
18970 case "$OSX_VERSION" in
18971 10.4* )
18972 wxUSE_MACOSX_VERSION_MIN=10.4
18973 ;;
18974
18975 * )
18976 if test "$wxUSE_OSX_CARBON" = 1; then
18977 # otherwise configure stops on leopard for universal_binary
18978 wxUSE_MACOSX_VERSION_MIN=10.4
18979 else
18980 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18981 wxUSE_MACOSX_VERSION_MIN=10.5
18982 fi
18983 ;;
18984 esac
18985 fi
18986
18987 NEEDS_GCC40="no"
18988 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18989 NEEDS_GCC40="yes"
18990 fi
18991
18992 if test "$wxUSE_OSX_CARBON" = 1; then
18993 NEEDS_GCC40="yes"
18994 fi
18995
18996 if test "x$NEEDS_GCC40" == "xyes"; then
18997 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18998 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18999 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19000 if test "x$CC" = "xgcc"; then
19001 CCVERSION=`$CC --version | grep 4.[2-9].`
19002 if test "x$CCVERSION" != "x"; then
19003 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19004 CC="/usr/bin/gcc-4.0"
19005 fi
19006 fi
19007
19008 if test "x$CXX" = "xg++"; then
19009 CCVERSION=`$CXX --version | grep 4.[2-9].`
19010 if test "x$CCVERSION" != "x"; then
19011 CXX="/usr/bin/g++-4.0"
19012 fi
19013 fi
19014 fi
19015
19016 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19017 if test "$wxUSE_OSX_IPHONE" = 1; then
19018 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19019 else
19020 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19021 fi
19022 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19023 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19024 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19025 retest_macosx_linking=yes
19026 fi
19027
19028 if test "x$retest_macosx_linking" = "xyes"; then
19029 ac_ext=c
19030 ac_cpp='$CPP $CPPFLAGS'
19031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19034
19035 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19036 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19037 cat >conftest.$ac_ext <<_ACEOF
19038 /* confdefs.h. */
19039 _ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043
19044 int
19045 main ()
19046 {
19047
19048 ;
19049 return 0;
19050 }
19051 _ACEOF
19052 rm -f conftest.$ac_objext conftest$ac_exeext
19053 if { (ac_try="$ac_link"
19054 case "(($ac_try" in
19055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19056 *) ac_try_echo=$ac_try;;
19057 esac
19058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19059 (eval "$ac_link") 2>conftest.er1
19060 ac_status=$?
19061 grep -v '^ *+' conftest.er1 >conftest.err
19062 rm -f conftest.er1
19063 cat conftest.err >&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); } && {
19066 test -z "$ac_c_werror_flag" ||
19067 test ! -s conftest.err
19068 } && test -s conftest$ac_exeext &&
19069 $as_test_x conftest$ac_exeext; then
19070 { echo "$as_me:$LINENO: result: yes" >&5
19071 echo "${ECHO_T}yes" >&6; }
19072 else
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19075
19076 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19077 See \`config.log' for more details." >&5
19078 echo "$as_me: error: no. Try a different SDK
19079 See \`config.log' for more details." >&2;}
19080 { (exit 1); exit 1; }; }; exit 1
19081 fi
19082
19083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19084 conftest$ac_exeext conftest.$ac_ext
19085 ac_ext=c
19086 ac_cpp='$CPP $CPPFLAGS'
19087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19090
19091
19092 ac_ext=cpp
19093 ac_cpp='$CXXCPP $CPPFLAGS'
19094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19097
19098 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19099 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19100 cat >conftest.$ac_ext <<_ACEOF
19101 /* confdefs.h. */
19102 _ACEOF
19103 cat confdefs.h >>conftest.$ac_ext
19104 cat >>conftest.$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19106
19107 int
19108 main ()
19109 {
19110
19111 ;
19112 return 0;
19113 }
19114 _ACEOF
19115 rm -f conftest.$ac_objext conftest$ac_exeext
19116 if { (ac_try="$ac_link"
19117 case "(($ac_try" in
19118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19120 esac
19121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_link") 2>conftest.er1
19123 ac_status=$?
19124 grep -v '^ *+' conftest.er1 >conftest.err
19125 rm -f conftest.er1
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } && {
19129 test -z "$ac_cxx_werror_flag" ||
19130 test ! -s conftest.err
19131 } && test -s conftest$ac_exeext &&
19132 $as_test_x conftest$ac_exeext; then
19133 { echo "$as_me:$LINENO: result: yes" >&5
19134 echo "${ECHO_T}yes" >&6; }
19135 else
19136 echo "$as_me: failed program was:" >&5
19137 sed 's/^/| /' conftest.$ac_ext >&5
19138
19139 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19140 See \`config.log' for more details." >&5
19141 echo "$as_me: error: no. Try a different SDK
19142 See \`config.log' for more details." >&2;}
19143 { (exit 1); exit 1; }; }; exit 1
19144 fi
19145
19146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19147 conftest$ac_exeext conftest.$ac_ext
19148 ac_ext=c
19149 ac_cpp='$CPP $CPPFLAGS'
19150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19153
19154 fi
19155
19156 fi
19157 case "${host}" in
19158
19159 *-*-darwin* )
19160 INSTALL_PROGRAM="cp -fp"
19161 INSTALL_DATA="cp -fp"
19162 ;;
19163 *)
19164 ;;
19165 esac
19166
19167
19168 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19169 CXXFLAGS="-qunique $CXXFLAGS"
19170 fi
19171
19172 case "${host}" in
19173 powerpc-*-darwin* )
19174 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19175 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19176 cat >conftest.$ac_ext <<_ACEOF
19177 /* confdefs.h. */
19178 _ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182
19183 int
19184 main ()
19185 {
19186 #ifndef __POWERPC__
19187 choke me for lack of PowerPC
19188 #endif
19189
19190 ;
19191 return 0;
19192 }
19193 _ACEOF
19194 rm -f conftest.$ac_objext
19195 if { (ac_try="$ac_compile"
19196 case "(($ac_try" in
19197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19198 *) ac_try_echo=$ac_try;;
19199 esac
19200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19201 (eval "$ac_compile") 2>conftest.er1
19202 ac_status=$?
19203 grep -v '^ *+' conftest.er1 >conftest.err
19204 rm -f conftest.er1
19205 cat conftest.err >&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } && {
19208 test -z "$ac_c_werror_flag" ||
19209 test ! -s conftest.err
19210 } && test -s conftest.$ac_objext; then
19211 { echo "$as_me:$LINENO: result: yes" >&5
19212 echo "${ECHO_T}yes" >&6; }
19213 else
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.$ac_ext >&5
19216
19217 { echo "$as_me:$LINENO: result: no" >&5
19218 echo "${ECHO_T}no" >&6; }
19219 cat >>confdefs.h <<\_ACEOF
19220 #define __POWERPC__ 1
19221 _ACEOF
19222
19223
19224 fi
19225
19226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19227 ;;
19228 esac
19229
19230 case "${host}" in
19231 *-*-darwin* )
19232 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19233 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19234 cat >conftest.$ac_ext <<_ACEOF
19235 /* confdefs.h. */
19236 _ACEOF
19237 cat confdefs.h >>conftest.$ac_ext
19238 cat >>conftest.$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19240 #include <CoreFoundation/CFBase.h>
19241
19242 int
19243 main ()
19244 {
19245
19246 ;
19247 return 0;
19248 }
19249 _ACEOF
19250 rm -f conftest.$ac_objext
19251 if { (ac_try="$ac_compile"
19252 case "(($ac_try" in
19253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19254 *) ac_try_echo=$ac_try;;
19255 esac
19256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19257 (eval "$ac_compile") 2>conftest.er1
19258 ac_status=$?
19259 grep -v '^ *+' conftest.er1 >conftest.err
19260 rm -f conftest.er1
19261 cat conftest.err >&5
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); } && {
19264 test -z "$ac_c_werror_flag" ||
19265 test ! -s conftest.err
19266 } && test -s conftest.$ac_objext; then
19267 { echo "$as_me:$LINENO: result: yes" >&5
19268 echo "${ECHO_T}yes" >&6; }
19269 else
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.$ac_ext >&5
19272
19273 { echo "$as_me:$LINENO: result: no" >&5
19274 echo "${ECHO_T}no" >&6; }
19275 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19276 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19277 cat >conftest.$ac_ext <<_ACEOF
19278 /* confdefs.h. */
19279 _ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 #define __CF_USE_FRAMEWORK_INCLUDES__
19284 #include <CoreFoundation/CFBase.h>
19285
19286 int
19287 main ()
19288 {
19289
19290 ;
19291 return 0;
19292 }
19293 _ACEOF
19294 rm -f conftest.$ac_objext
19295 if { (ac_try="$ac_compile"
19296 case "(($ac_try" in
19297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19298 *) ac_try_echo=$ac_try;;
19299 esac
19300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19301 (eval "$ac_compile") 2>conftest.er1
19302 ac_status=$?
19303 grep -v '^ *+' conftest.er1 >conftest.err
19304 rm -f conftest.er1
19305 cat conftest.err >&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); } && {
19308 test -z "$ac_c_werror_flag" ||
19309 test ! -s conftest.err
19310 } && test -s conftest.$ac_objext; then
19311 { echo "$as_me:$LINENO: result: yes" >&5
19312 echo "${ECHO_T}yes" >&6; }
19313 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19314 else
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19317
19318 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19319 See \`config.log' for more details." >&5
19320 echo "$as_me: error: no. CoreFoundation not available.
19321 See \`config.log' for more details." >&2;}
19322 { (exit 1); exit 1; }; }
19323
19324 fi
19325
19326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19327
19328
19329 fi
19330
19331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19332 ;;
19333 esac
19334
19335 wants_win32=0
19336 doesnt_want_win32=0
19337 case "${host}" in
19338 *-*-cygwin*)
19339 if test "$wxUSE_MSW" = 1 ; then
19340 wants_win32=1
19341 else
19342 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19343 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19344 if test "${wx_cv_nocygwin+set}" = set; then
19345 echo $ECHO_N "(cached) $ECHO_C" >&6
19346 else
19347
19348 cat >conftest.$ac_ext <<_ACEOF
19349 /* confdefs.h. */
19350 _ACEOF
19351 cat confdefs.h >>conftest.$ac_ext
19352 cat >>conftest.$ac_ext <<_ACEOF
19353 /* end confdefs.h. */
19354
19355 int
19356 main ()
19357 {
19358
19359 #ifdef __MINGW32__
19360 choke me
19361 #endif
19362
19363 ;
19364 return 0;
19365 }
19366 _ACEOF
19367 rm -f conftest.$ac_objext
19368 if { (ac_try="$ac_compile"
19369 case "(($ac_try" in
19370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19371 *) ac_try_echo=$ac_try;;
19372 esac
19373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19374 (eval "$ac_compile") 2>conftest.er1
19375 ac_status=$?
19376 grep -v '^ *+' conftest.er1 >conftest.err
19377 rm -f conftest.er1
19378 cat conftest.err >&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } && {
19381 test -z "$ac_c_werror_flag" ||
19382 test ! -s conftest.err
19383 } && test -s conftest.$ac_objext; then
19384 wx_cv_nocygwin=no
19385 else
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19388
19389 wx_cv_nocygwin=yes
19390
19391 fi
19392
19393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19394
19395
19396 fi
19397 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19398 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19399
19400 if test "$wx_cv_nocygwin" = "yes"; then
19401 wants_win32=1
19402 else
19403 doesnt_want_win32=1
19404 fi
19405 fi
19406 if test "$wants_win32" = 1 ; then
19407 BAKEFILE_FORCE_PLATFORM=win32
19408 fi
19409 ;;
19410 *-*-mingw*)
19411 wants_win32=1
19412 ;;
19413 esac
19414
19415 if test "$wxUSE_WINE" = "yes"; then
19416 wants_win32=1
19417 LDFLAGS_GUI="-mwindows"
19418 fi
19419
19420 if test "$wants_win32" = 1 ; then
19421 USE_UNIX=0
19422 USE_WIN32=1
19423 cat >>confdefs.h <<\_ACEOF
19424 #define __WIN32__ 1
19425 _ACEOF
19426
19427 cat >>confdefs.h <<\_ACEOF
19428 #define __WIN95__ 1
19429 _ACEOF
19430
19431 cat >>confdefs.h <<\_ACEOF
19432 #define __WINDOWS__ 1
19433 _ACEOF
19434
19435 cat >>confdefs.h <<\_ACEOF
19436 #define __GNUWIN32__ 1
19437 _ACEOF
19438
19439 cat >>confdefs.h <<\_ACEOF
19440 #define STRICT 1
19441 _ACEOF
19442
19443 fi
19444 if test "$doesnt_want_win32" = 1 ; then
19445 USE_UNIX=1
19446 USE_WIN32=0
19447 fi
19448
19449 if test "$USE_UNIX" = 1 ; then
19450 wxUSE_UNIX=yes
19451 cat >>confdefs.h <<\_ACEOF
19452 #define __UNIX__ 1
19453 _ACEOF
19454
19455 fi
19456
19457 case "${host}" in
19458 *-pc-os2_emx | *-pc-os2-emx )
19459 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19460 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19461 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19462 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19463 echo $ECHO_N "(cached) $ECHO_C" >&6
19464 else
19465 ac_check_lib_save_LIBS=$LIBS
19466 LIBS="-lcExt $LIBS"
19467 cat >conftest.$ac_ext <<_ACEOF
19468 /* confdefs.h. */
19469 _ACEOF
19470 cat confdefs.h >>conftest.$ac_ext
19471 cat >>conftest.$ac_ext <<_ACEOF
19472 /* end confdefs.h. */
19473
19474 /* Override any GCC internal prototype to avoid an error.
19475 Use char because int might match the return type of a GCC
19476 builtin and then its argument prototype would still apply. */
19477 #ifdef __cplusplus
19478 extern "C"
19479 #endif
19480 char drand48 ();
19481 int
19482 main ()
19483 {
19484 return drand48 ();
19485 ;
19486 return 0;
19487 }
19488 _ACEOF
19489 rm -f conftest.$ac_objext conftest$ac_exeext
19490 if { (ac_try="$ac_link"
19491 case "(($ac_try" in
19492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19493 *) ac_try_echo=$ac_try;;
19494 esac
19495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19496 (eval "$ac_link") 2>conftest.er1
19497 ac_status=$?
19498 grep -v '^ *+' conftest.er1 >conftest.err
19499 rm -f conftest.er1
19500 cat conftest.err >&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); } && {
19503 test -z "$ac_c_werror_flag" ||
19504 test ! -s conftest.err
19505 } && test -s conftest$ac_exeext &&
19506 $as_test_x conftest$ac_exeext; then
19507 ac_cv_lib_cExt_drand48=yes
19508 else
19509 echo "$as_me: failed program was:" >&5
19510 sed 's/^/| /' conftest.$ac_ext >&5
19511
19512 ac_cv_lib_cExt_drand48=no
19513 fi
19514
19515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19516 conftest$ac_exeext conftest.$ac_ext
19517 LIBS=$ac_check_lib_save_LIBS
19518 fi
19519 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19520 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19521 if test $ac_cv_lib_cExt_drand48 = yes; then
19522 LIBS="$LIBS -lcExt"
19523 fi
19524
19525 else
19526 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19527 fi
19528 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19529 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19530 if test "${wx_cv_gccversion+set}" = set; then
19531 echo $ECHO_N "(cached) $ECHO_C" >&6
19532 else
19533
19534 if test "$cross_compiling" = yes; then
19535 wx_cv_gccversion="EMX2"
19536
19537 else
19538 cat >conftest.$ac_ext <<_ACEOF
19539 /* confdefs.h. */
19540 _ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544
19545 #include <stdio.h>
19546
19547 int main()
19548 {
19549 FILE *f=fopen("conftestval", "w");
19550 if (!f) exit(1);
19551 fprintf(f,
19552 #if (__GNUC__ < 3)
19553 "EMX2"
19554 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19555 "EMX3"
19556 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19557 "Innotek5"
19558 #else
19559 "Innotek6"
19560 #endif
19561 );
19562 exit(0);
19563 }
19564
19565 _ACEOF
19566 rm -f conftest$ac_exeext
19567 if { (ac_try="$ac_link"
19568 case "(($ac_try" in
19569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19570 *) ac_try_echo=$ac_try;;
19571 esac
19572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19573 (eval "$ac_link") 2>&5
19574 ac_status=$?
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
19583 ac_status=$?
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; }; then
19586 wx_cv_gccversion=`cat conftestval`
19587 else
19588 echo "$as_me: program exited with status $ac_status" >&5
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.$ac_ext >&5
19591
19592 ( exit $ac_status )
19593 wx_cv_gccversion="EMX2"
19594 fi
19595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19596 fi
19597
19598
19599
19600 fi
19601 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19602 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19603 if test "$wx_cv_gccversion" = "EMX2"; then
19604 LIBS="$LIBS -lstdcpp"
19605 LDFLAGS="$LDFLAGS -Zsysv-signals"
19606 else
19607 if test "$wx_cv_gccversion" = "EMX3"; then
19608 LIBS="$LIBS -lstdcxx -lgcc"
19609 LDFLAGS="$LDFLAGS -Zsysv-signals"
19610 else
19611 LIBS="$LIBS -lstdc++"
19612 fi
19613 fi
19614 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19615 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19616 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19617 wxUSE_OMF=yes
19618 enable_omf=yes
19619 fi
19620 ;;
19621 *)
19622
19623 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19624 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19625 if test "${ac_cv_string_strcasecmp+set}" = set; then
19626 echo $ECHO_N "(cached) $ECHO_C" >&6
19627 else
19628
19629 cat >conftest.$ac_ext <<_ACEOF
19630 /* confdefs.h. */
19631 _ACEOF
19632 cat confdefs.h >>conftest.$ac_ext
19633 cat >>conftest.$ac_ext <<_ACEOF
19634 /* end confdefs.h. */
19635
19636 #include <string.h>
19637
19638 int
19639 main ()
19640 {
19641
19642 strcasecmp("foo", "bar");
19643
19644 ;
19645 return 0;
19646 }
19647 _ACEOF
19648 rm -f conftest.$ac_objext conftest$ac_exeext
19649 if { (ac_try="$ac_link"
19650 case "(($ac_try" in
19651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19652 *) ac_try_echo=$ac_try;;
19653 esac
19654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19655 (eval "$ac_link") 2>conftest.er1
19656 ac_status=$?
19657 grep -v '^ *+' conftest.er1 >conftest.err
19658 rm -f conftest.er1
19659 cat conftest.err >&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); } && {
19662 test -z "$ac_c_werror_flag" ||
19663 test ! -s conftest.err
19664 } && test -s conftest$ac_exeext &&
19665 $as_test_x conftest$ac_exeext; then
19666 ac_cv_string_strcasecmp=yes
19667 else
19668 echo "$as_me: failed program was:" >&5
19669 sed 's/^/| /' conftest.$ac_ext >&5
19670
19671 ac_cv_string_strcasecmp=no
19672
19673 fi
19674
19675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19676 conftest$ac_exeext conftest.$ac_ext
19677
19678 fi
19679 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19680 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19681
19682 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19683 cat >>confdefs.h <<\_ACEOF
19684 #define HAVE_STRCASECMP_IN_STRING_H 1
19685 _ACEOF
19686
19687 else
19688 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19689 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19690 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19691 echo $ECHO_N "(cached) $ECHO_C" >&6
19692 else
19693
19694 cat >conftest.$ac_ext <<_ACEOF
19695 /* confdefs.h. */
19696 _ACEOF
19697 cat confdefs.h >>conftest.$ac_ext
19698 cat >>conftest.$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19700
19701 #include <strings.h>
19702
19703 int
19704 main ()
19705 {
19706
19707 strcasecmp("foo", "bar");
19708
19709 ;
19710 return 0;
19711 }
19712 _ACEOF
19713 rm -f conftest.$ac_objext conftest$ac_exeext
19714 if { (ac_try="$ac_link"
19715 case "(($ac_try" in
19716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19717 *) ac_try_echo=$ac_try;;
19718 esac
19719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19720 (eval "$ac_link") 2>conftest.er1
19721 ac_status=$?
19722 grep -v '^ *+' conftest.er1 >conftest.err
19723 rm -f conftest.er1
19724 cat conftest.err >&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); } && {
19727 test -z "$ac_c_werror_flag" ||
19728 test ! -s conftest.err
19729 } && test -s conftest$ac_exeext &&
19730 $as_test_x conftest$ac_exeext; then
19731 ac_cv_strings_strcasecmp=yes
19732 else
19733 echo "$as_me: failed program was:" >&5
19734 sed 's/^/| /' conftest.$ac_ext >&5
19735
19736 ac_cv_strings_strcasecmp=no
19737
19738 fi
19739
19740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19741 conftest$ac_exeext conftest.$ac_ext
19742
19743 fi
19744 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19745 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19746
19747 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19748 cat >>confdefs.h <<\_ACEOF
19749 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19750 _ACEOF
19751
19752 else
19753 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19754 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19755 { (exit 1); exit 1; }; }
19756 fi
19757 fi
19758
19759 ;;
19760 esac
19761
19762
19763 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19764 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19765 if test "${ac_cv_header_stdc+set}" = set; then
19766 echo $ECHO_N "(cached) $ECHO_C" >&6
19767 else
19768 cat >conftest.$ac_ext <<_ACEOF
19769 /* confdefs.h. */
19770 _ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 #include <stdlib.h>
19775 #include <stdarg.h>
19776 #include <string.h>
19777 #include <float.h>
19778
19779 int
19780 main ()
19781 {
19782
19783 ;
19784 return 0;
19785 }
19786 _ACEOF
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19791 *) ac_try_echo=$ac_try;;
19792 esac
19793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19795 ac_status=$?
19796 grep -v '^ *+' conftest.er1 >conftest.err
19797 rm -f conftest.er1
19798 cat conftest.err >&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_c_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.$ac_objext; then
19804 ac_cv_header_stdc=yes
19805 else
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19808
19809 ac_cv_header_stdc=no
19810 fi
19811
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19813
19814 if test $ac_cv_header_stdc = yes; then
19815 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19816 cat >conftest.$ac_ext <<_ACEOF
19817 /* confdefs.h. */
19818 _ACEOF
19819 cat confdefs.h >>conftest.$ac_ext
19820 cat >>conftest.$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 #include <string.h>
19823
19824 _ACEOF
19825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19826 $EGREP "memchr" >/dev/null 2>&1; then
19827 :
19828 else
19829 ac_cv_header_stdc=no
19830 fi
19831 rm -f conftest*
19832
19833 fi
19834
19835 if test $ac_cv_header_stdc = yes; then
19836 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19837 cat >conftest.$ac_ext <<_ACEOF
19838 /* confdefs.h. */
19839 _ACEOF
19840 cat confdefs.h >>conftest.$ac_ext
19841 cat >>conftest.$ac_ext <<_ACEOF
19842 /* end confdefs.h. */
19843 #include <stdlib.h>
19844
19845 _ACEOF
19846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19847 $EGREP "free" >/dev/null 2>&1; then
19848 :
19849 else
19850 ac_cv_header_stdc=no
19851 fi
19852 rm -f conftest*
19853
19854 fi
19855
19856 if test $ac_cv_header_stdc = yes; then
19857 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19858 if test "$cross_compiling" = yes; then
19859 :
19860 else
19861 cat >conftest.$ac_ext <<_ACEOF
19862 /* confdefs.h. */
19863 _ACEOF
19864 cat confdefs.h >>conftest.$ac_ext
19865 cat >>conftest.$ac_ext <<_ACEOF
19866 /* end confdefs.h. */
19867 #include <ctype.h>
19868 #include <stdlib.h>
19869 #if ((' ' & 0x0FF) == 0x020)
19870 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19871 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19872 #else
19873 # define ISLOWER(c) \
19874 (('a' <= (c) && (c) <= 'i') \
19875 || ('j' <= (c) && (c) <= 'r') \
19876 || ('s' <= (c) && (c) <= 'z'))
19877 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19878 #endif
19879
19880 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19881 int
19882 main ()
19883 {
19884 int i;
19885 for (i = 0; i < 256; i++)
19886 if (XOR (islower (i), ISLOWER (i))
19887 || toupper (i) != TOUPPER (i))
19888 return 2;
19889 return 0;
19890 }
19891 _ACEOF
19892 rm -f conftest$ac_exeext
19893 if { (ac_try="$ac_link"
19894 case "(($ac_try" in
19895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19896 *) ac_try_echo=$ac_try;;
19897 esac
19898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19899 (eval "$ac_link") 2>&5
19900 ac_status=$?
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19903 { (case "(($ac_try" in
19904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19905 *) ac_try_echo=$ac_try;;
19906 esac
19907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19908 (eval "$ac_try") 2>&5
19909 ac_status=$?
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); }; }; then
19912 :
19913 else
19914 echo "$as_me: program exited with status $ac_status" >&5
19915 echo "$as_me: failed program was:" >&5
19916 sed 's/^/| /' conftest.$ac_ext >&5
19917
19918 ( exit $ac_status )
19919 ac_cv_header_stdc=no
19920 fi
19921 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19922 fi
19923
19924
19925 fi
19926 fi
19927 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19928 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19929 if test $ac_cv_header_stdc = yes; then
19930
19931 cat >>confdefs.h <<\_ACEOF
19932 #define STDC_HEADERS 1
19933 _ACEOF
19934
19935 fi
19936
19937 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19948 inttypes.h stdint.h unistd.h
19949 do
19950 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19951 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19953 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19954 echo $ECHO_N "(cached) $ECHO_C" >&6
19955 else
19956 cat >conftest.$ac_ext <<_ACEOF
19957 /* confdefs.h. */
19958 _ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 $ac_includes_default
19963
19964 #include <$ac_header>
19965 _ACEOF
19966 rm -f conftest.$ac_objext
19967 if { (ac_try="$ac_compile"
19968 case "(($ac_try" in
19969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19970 *) ac_try_echo=$ac_try;;
19971 esac
19972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19973 (eval "$ac_compile") 2>conftest.er1
19974 ac_status=$?
19975 grep -v '^ *+' conftest.er1 >conftest.err
19976 rm -f conftest.er1
19977 cat conftest.err >&5
19978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19979 (exit $ac_status); } && {
19980 test -z "$ac_c_werror_flag" ||
19981 test ! -s conftest.err
19982 } && test -s conftest.$ac_objext; then
19983 eval "$as_ac_Header=yes"
19984 else
19985 echo "$as_me: failed program was:" >&5
19986 sed 's/^/| /' conftest.$ac_ext >&5
19987
19988 eval "$as_ac_Header=no"
19989 fi
19990
19991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19992 fi
19993 ac_res=`eval echo '${'$as_ac_Header'}'`
19994 { echo "$as_me:$LINENO: result: $ac_res" >&5
19995 echo "${ECHO_T}$ac_res" >&6; }
19996 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19997 cat >>confdefs.h <<_ACEOF
19998 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19999 _ACEOF
20000
20001 fi
20002
20003 done
20004
20005
20006
20007
20008 for ac_header in langinfo.h wchar.h
20009 do
20010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20011 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20014 echo $ECHO_N "(cached) $ECHO_C" >&6
20015 else
20016 cat >conftest.$ac_ext <<_ACEOF
20017 /* confdefs.h. */
20018 _ACEOF
20019 cat confdefs.h >>conftest.$ac_ext
20020 cat >>conftest.$ac_ext <<_ACEOF
20021 /* end confdefs.h. */
20022 $ac_includes_default
20023
20024 #include <$ac_header>
20025 _ACEOF
20026 rm -f conftest.$ac_objext
20027 if { (ac_try="$ac_compile"
20028 case "(($ac_try" in
20029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20030 *) ac_try_echo=$ac_try;;
20031 esac
20032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20033 (eval "$ac_compile") 2>conftest.er1
20034 ac_status=$?
20035 grep -v '^ *+' conftest.er1 >conftest.err
20036 rm -f conftest.er1
20037 cat conftest.err >&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } && {
20040 test -z "$ac_c_werror_flag" ||
20041 test ! -s conftest.err
20042 } && test -s conftest.$ac_objext; then
20043 eval "$as_ac_Header=yes"
20044 else
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.$ac_ext >&5
20047
20048 eval "$as_ac_Header=no"
20049 fi
20050
20051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20052 fi
20053 ac_res=`eval echo '${'$as_ac_Header'}'`
20054 { echo "$as_me:$LINENO: result: $ac_res" >&5
20055 echo "${ECHO_T}$ac_res" >&6; }
20056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20057 cat >>confdefs.h <<_ACEOF
20058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20059 _ACEOF
20060
20061 fi
20062
20063 done
20064
20065
20066 if test "$ac_cv_header_wchar_h" != "yes"; then
20067
20068 for ac_header in wcstr.h
20069 do
20070 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20071 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20073 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 else
20076 cat >conftest.$ac_ext <<_ACEOF
20077 /* confdefs.h. */
20078 _ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 $ac_includes_default
20083
20084 #include <$ac_header>
20085 _ACEOF
20086 rm -f conftest.$ac_objext
20087 if { (ac_try="$ac_compile"
20088 case "(($ac_try" in
20089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20090 *) ac_try_echo=$ac_try;;
20091 esac
20092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20093 (eval "$ac_compile") 2>conftest.er1
20094 ac_status=$?
20095 grep -v '^ *+' conftest.er1 >conftest.err
20096 rm -f conftest.er1
20097 cat conftest.err >&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } && {
20100 test -z "$ac_c_werror_flag" ||
20101 test ! -s conftest.err
20102 } && test -s conftest.$ac_objext; then
20103 eval "$as_ac_Header=yes"
20104 else
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20107
20108 eval "$as_ac_Header=no"
20109 fi
20110
20111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20112 fi
20113 ac_res=`eval echo '${'$as_ac_Header'}'`
20114 { echo "$as_me:$LINENO: result: $ac_res" >&5
20115 echo "${ECHO_T}$ac_res" >&6; }
20116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20117 cat >>confdefs.h <<_ACEOF
20118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20119 _ACEOF
20120
20121 fi
20122
20123 done
20124
20125 fi
20126
20127 case "${host}" in
20128 *-pc-os2_emx | *-pc-os2-emx )
20129 if test $ac_cv_header_langinfo_h = "yes" \
20130 -a \( "$wx_cv_gccversion" = "EMX2" \
20131 -o "$wx_cv_gccversion" = "EMX3" \
20132 -o "$wx_cv_gccversion" = "Innotek5" \); then
20133 LIBS="$LIBS -lintl"
20134 fi
20135 ;;
20136 esac
20137
20138 if test "$USE_UNIX" = 1 ; then
20139
20140 for ac_header in sys/select.h
20141 do
20142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20143 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20146 echo $ECHO_N "(cached) $ECHO_C" >&6
20147 else
20148 cat >conftest.$ac_ext <<_ACEOF
20149 /* confdefs.h. */
20150 _ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 $ac_includes_default
20155
20156 #include <$ac_header>
20157 _ACEOF
20158 rm -f conftest.$ac_objext
20159 if { (ac_try="$ac_compile"
20160 case "(($ac_try" in
20161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20162 *) ac_try_echo=$ac_try;;
20163 esac
20164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20165 (eval "$ac_compile") 2>conftest.er1
20166 ac_status=$?
20167 grep -v '^ *+' conftest.er1 >conftest.err
20168 rm -f conftest.er1
20169 cat conftest.err >&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } && {
20172 test -z "$ac_c_werror_flag" ||
20173 test ! -s conftest.err
20174 } && test -s conftest.$ac_objext; then
20175 eval "$as_ac_Header=yes"
20176 else
20177 echo "$as_me: failed program was:" >&5
20178 sed 's/^/| /' conftest.$ac_ext >&5
20179
20180 eval "$as_ac_Header=no"
20181 fi
20182
20183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20184 fi
20185 ac_res=`eval echo '${'$as_ac_Header'}'`
20186 { echo "$as_me:$LINENO: result: $ac_res" >&5
20187 echo "${ECHO_T}$ac_res" >&6; }
20188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20189 cat >>confdefs.h <<_ACEOF
20190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20191 _ACEOF
20192
20193 fi
20194
20195 done
20196
20197 fi
20198
20199
20200 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20201 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20202 if test "${ac_cv_c_const+set}" = set; then
20203 echo $ECHO_N "(cached) $ECHO_C" >&6
20204 else
20205 cat >conftest.$ac_ext <<_ACEOF
20206 /* confdefs.h. */
20207 _ACEOF
20208 cat confdefs.h >>conftest.$ac_ext
20209 cat >>conftest.$ac_ext <<_ACEOF
20210 /* end confdefs.h. */
20211
20212 int
20213 main ()
20214 {
20215 /* FIXME: Include the comments suggested by Paul. */
20216 #ifndef __cplusplus
20217 /* Ultrix mips cc rejects this. */
20218 typedef int charset[2];
20219 const charset cs;
20220 /* SunOS 4.1.1 cc rejects this. */
20221 char const *const *pcpcc;
20222 char **ppc;
20223 /* NEC SVR4.0.2 mips cc rejects this. */
20224 struct point {int x, y;};
20225 static struct point const zero = {0,0};
20226 /* AIX XL C 1.02.0.0 rejects this.
20227 It does not let you subtract one const X* pointer from another in
20228 an arm of an if-expression whose if-part is not a constant
20229 expression */
20230 const char *g = "string";
20231 pcpcc = &g + (g ? g-g : 0);
20232 /* HPUX 7.0 cc rejects these. */
20233 ++pcpcc;
20234 ppc = (char**) pcpcc;
20235 pcpcc = (char const *const *) ppc;
20236 { /* SCO 3.2v4 cc rejects this. */
20237 char *t;
20238 char const *s = 0 ? (char *) 0 : (char const *) 0;
20239
20240 *t++ = 0;
20241 if (s) return 0;
20242 }
20243 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20244 int x[] = {25, 17};
20245 const int *foo = &x[0];
20246 ++foo;
20247 }
20248 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20249 typedef const int *iptr;
20250 iptr p = 0;
20251 ++p;
20252 }
20253 { /* AIX XL C 1.02.0.0 rejects this saying
20254 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20255 struct s { int j; const int *ap[3]; };
20256 struct s *b; b->j = 5;
20257 }
20258 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20259 const int foo = 10;
20260 if (!foo) return 0;
20261 }
20262 return !cs[0] && !zero.x;
20263 #endif
20264
20265 ;
20266 return 0;
20267 }
20268 _ACEOF
20269 rm -f conftest.$ac_objext
20270 if { (ac_try="$ac_compile"
20271 case "(($ac_try" in
20272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20273 *) ac_try_echo=$ac_try;;
20274 esac
20275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20276 (eval "$ac_compile") 2>conftest.er1
20277 ac_status=$?
20278 grep -v '^ *+' conftest.er1 >conftest.err
20279 rm -f conftest.er1
20280 cat conftest.err >&5
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); } && {
20283 test -z "$ac_c_werror_flag" ||
20284 test ! -s conftest.err
20285 } && test -s conftest.$ac_objext; then
20286 ac_cv_c_const=yes
20287 else
20288 echo "$as_me: failed program was:" >&5
20289 sed 's/^/| /' conftest.$ac_ext >&5
20290
20291 ac_cv_c_const=no
20292 fi
20293
20294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20295 fi
20296 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20297 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20298 if test $ac_cv_c_const = no; then
20299
20300 cat >>confdefs.h <<\_ACEOF
20301 #define const
20302 _ACEOF
20303
20304 fi
20305
20306 { echo "$as_me:$LINENO: checking for inline" >&5
20307 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20308 if test "${ac_cv_c_inline+set}" = set; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20310 else
20311 ac_cv_c_inline=no
20312 for ac_kw in inline __inline__ __inline; do
20313 cat >conftest.$ac_ext <<_ACEOF
20314 /* confdefs.h. */
20315 _ACEOF
20316 cat confdefs.h >>conftest.$ac_ext
20317 cat >>conftest.$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 #ifndef __cplusplus
20320 typedef int foo_t;
20321 static $ac_kw foo_t static_foo () {return 0; }
20322 $ac_kw foo_t foo () {return 0; }
20323 #endif
20324
20325 _ACEOF
20326 rm -f conftest.$ac_objext
20327 if { (ac_try="$ac_compile"
20328 case "(($ac_try" in
20329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20330 *) ac_try_echo=$ac_try;;
20331 esac
20332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20333 (eval "$ac_compile") 2>conftest.er1
20334 ac_status=$?
20335 grep -v '^ *+' conftest.er1 >conftest.err
20336 rm -f conftest.er1
20337 cat conftest.err >&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); } && {
20340 test -z "$ac_c_werror_flag" ||
20341 test ! -s conftest.err
20342 } && test -s conftest.$ac_objext; then
20343 ac_cv_c_inline=$ac_kw
20344 else
20345 echo "$as_me: failed program was:" >&5
20346 sed 's/^/| /' conftest.$ac_ext >&5
20347
20348
20349 fi
20350
20351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20352 test "$ac_cv_c_inline" != no && break
20353 done
20354
20355 fi
20356 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20357 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20358
20359
20360 case $ac_cv_c_inline in
20361 inline | yes) ;;
20362 *)
20363 case $ac_cv_c_inline in
20364 no) ac_val=;;
20365 *) ac_val=$ac_cv_c_inline;;
20366 esac
20367 cat >>confdefs.h <<_ACEOF
20368 #ifndef __cplusplus
20369 #define inline $ac_val
20370 #endif
20371 _ACEOF
20372 ;;
20373 esac
20374
20375
20376 { echo "$as_me:$LINENO: checking for short" >&5
20377 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20378 if test "${ac_cv_type_short+set}" = set; then
20379 echo $ECHO_N "(cached) $ECHO_C" >&6
20380 else
20381 cat >conftest.$ac_ext <<_ACEOF
20382 /* confdefs.h. */
20383 _ACEOF
20384 cat confdefs.h >>conftest.$ac_ext
20385 cat >>conftest.$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387 $ac_includes_default
20388 typedef short ac__type_new_;
20389 int
20390 main ()
20391 {
20392 if ((ac__type_new_ *) 0)
20393 return 0;
20394 if (sizeof (ac__type_new_))
20395 return 0;
20396 ;
20397 return 0;
20398 }
20399 _ACEOF
20400 rm -f conftest.$ac_objext
20401 if { (ac_try="$ac_compile"
20402 case "(($ac_try" in
20403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20404 *) ac_try_echo=$ac_try;;
20405 esac
20406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20407 (eval "$ac_compile") 2>conftest.er1
20408 ac_status=$?
20409 grep -v '^ *+' conftest.er1 >conftest.err
20410 rm -f conftest.er1
20411 cat conftest.err >&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } && {
20414 test -z "$ac_c_werror_flag" ||
20415 test ! -s conftest.err
20416 } && test -s conftest.$ac_objext; then
20417 ac_cv_type_short=yes
20418 else
20419 echo "$as_me: failed program was:" >&5
20420 sed 's/^/| /' conftest.$ac_ext >&5
20421
20422 ac_cv_type_short=no
20423 fi
20424
20425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20426 fi
20427 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20428 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20429
20430 # The cast to long int works around a bug in the HP C Compiler
20431 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20432 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20433 # This bug is HP SR number 8606223364.
20434 { echo "$as_me:$LINENO: checking size of short" >&5
20435 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20436 if test "${ac_cv_sizeof_short+set}" = set; then
20437 echo $ECHO_N "(cached) $ECHO_C" >&6
20438 else
20439 if test "$cross_compiling" = yes; then
20440 # Depending upon the size, compute the lo and hi bounds.
20441 cat >conftest.$ac_ext <<_ACEOF
20442 /* confdefs.h. */
20443 _ACEOF
20444 cat confdefs.h >>conftest.$ac_ext
20445 cat >>conftest.$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 $ac_includes_default
20448 typedef short ac__type_sizeof_;
20449 int
20450 main ()
20451 {
20452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20453 test_array [0] = 0
20454
20455 ;
20456 return 0;
20457 }
20458 _ACEOF
20459 rm -f conftest.$ac_objext
20460 if { (ac_try="$ac_compile"
20461 case "(($ac_try" in
20462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20463 *) ac_try_echo=$ac_try;;
20464 esac
20465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20466 (eval "$ac_compile") 2>conftest.er1
20467 ac_status=$?
20468 grep -v '^ *+' conftest.er1 >conftest.err
20469 rm -f conftest.er1
20470 cat conftest.err >&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } && {
20473 test -z "$ac_c_werror_flag" ||
20474 test ! -s conftest.err
20475 } && test -s conftest.$ac_objext; then
20476 ac_lo=0 ac_mid=0
20477 while :; do
20478 cat >conftest.$ac_ext <<_ACEOF
20479 /* confdefs.h. */
20480 _ACEOF
20481 cat confdefs.h >>conftest.$ac_ext
20482 cat >>conftest.$ac_ext <<_ACEOF
20483 /* end confdefs.h. */
20484 $ac_includes_default
20485 typedef short ac__type_sizeof_;
20486 int
20487 main ()
20488 {
20489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20490 test_array [0] = 0
20491
20492 ;
20493 return 0;
20494 }
20495 _ACEOF
20496 rm -f conftest.$ac_objext
20497 if { (ac_try="$ac_compile"
20498 case "(($ac_try" in
20499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20500 *) ac_try_echo=$ac_try;;
20501 esac
20502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20503 (eval "$ac_compile") 2>conftest.er1
20504 ac_status=$?
20505 grep -v '^ *+' conftest.er1 >conftest.err
20506 rm -f conftest.er1
20507 cat conftest.err >&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); } && {
20510 test -z "$ac_c_werror_flag" ||
20511 test ! -s conftest.err
20512 } && test -s conftest.$ac_objext; then
20513 ac_hi=$ac_mid; break
20514 else
20515 echo "$as_me: failed program was:" >&5
20516 sed 's/^/| /' conftest.$ac_ext >&5
20517
20518 ac_lo=`expr $ac_mid + 1`
20519 if test $ac_lo -le $ac_mid; then
20520 ac_lo= ac_hi=
20521 break
20522 fi
20523 ac_mid=`expr 2 '*' $ac_mid + 1`
20524 fi
20525
20526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20527 done
20528 else
20529 echo "$as_me: failed program was:" >&5
20530 sed 's/^/| /' conftest.$ac_ext >&5
20531
20532 cat >conftest.$ac_ext <<_ACEOF
20533 /* confdefs.h. */
20534 _ACEOF
20535 cat confdefs.h >>conftest.$ac_ext
20536 cat >>conftest.$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 $ac_includes_default
20539 typedef short ac__type_sizeof_;
20540 int
20541 main ()
20542 {
20543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20544 test_array [0] = 0
20545
20546 ;
20547 return 0;
20548 }
20549 _ACEOF
20550 rm -f conftest.$ac_objext
20551 if { (ac_try="$ac_compile"
20552 case "(($ac_try" in
20553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20554 *) ac_try_echo=$ac_try;;
20555 esac
20556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20557 (eval "$ac_compile") 2>conftest.er1
20558 ac_status=$?
20559 grep -v '^ *+' conftest.er1 >conftest.err
20560 rm -f conftest.er1
20561 cat conftest.err >&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } && {
20564 test -z "$ac_c_werror_flag" ||
20565 test ! -s conftest.err
20566 } && test -s conftest.$ac_objext; then
20567 ac_hi=-1 ac_mid=-1
20568 while :; do
20569 cat >conftest.$ac_ext <<_ACEOF
20570 /* confdefs.h. */
20571 _ACEOF
20572 cat confdefs.h >>conftest.$ac_ext
20573 cat >>conftest.$ac_ext <<_ACEOF
20574 /* end confdefs.h. */
20575 $ac_includes_default
20576 typedef short ac__type_sizeof_;
20577 int
20578 main ()
20579 {
20580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20581 test_array [0] = 0
20582
20583 ;
20584 return 0;
20585 }
20586 _ACEOF
20587 rm -f conftest.$ac_objext
20588 if { (ac_try="$ac_compile"
20589 case "(($ac_try" in
20590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20591 *) ac_try_echo=$ac_try;;
20592 esac
20593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20594 (eval "$ac_compile") 2>conftest.er1
20595 ac_status=$?
20596 grep -v '^ *+' conftest.er1 >conftest.err
20597 rm -f conftest.er1
20598 cat conftest.err >&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } && {
20601 test -z "$ac_c_werror_flag" ||
20602 test ! -s conftest.err
20603 } && test -s conftest.$ac_objext; then
20604 ac_lo=$ac_mid; break
20605 else
20606 echo "$as_me: failed program was:" >&5
20607 sed 's/^/| /' conftest.$ac_ext >&5
20608
20609 ac_hi=`expr '(' $ac_mid ')' - 1`
20610 if test $ac_mid -le $ac_hi; then
20611 ac_lo= ac_hi=
20612 break
20613 fi
20614 ac_mid=`expr 2 '*' $ac_mid`
20615 fi
20616
20617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20618 done
20619 else
20620 echo "$as_me: failed program was:" >&5
20621 sed 's/^/| /' conftest.$ac_ext >&5
20622
20623 ac_lo= ac_hi=
20624 fi
20625
20626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20627 fi
20628
20629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20630 # Binary search between lo and hi bounds.
20631 while test "x$ac_lo" != "x$ac_hi"; do
20632 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20633 cat >conftest.$ac_ext <<_ACEOF
20634 /* confdefs.h. */
20635 _ACEOF
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20639 $ac_includes_default
20640 typedef short ac__type_sizeof_;
20641 int
20642 main ()
20643 {
20644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20645 test_array [0] = 0
20646
20647 ;
20648 return 0;
20649 }
20650 _ACEOF
20651 rm -f conftest.$ac_objext
20652 if { (ac_try="$ac_compile"
20653 case "(($ac_try" in
20654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20655 *) ac_try_echo=$ac_try;;
20656 esac
20657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20658 (eval "$ac_compile") 2>conftest.er1
20659 ac_status=$?
20660 grep -v '^ *+' conftest.er1 >conftest.err
20661 rm -f conftest.er1
20662 cat conftest.err >&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } && {
20665 test -z "$ac_c_werror_flag" ||
20666 test ! -s conftest.err
20667 } && test -s conftest.$ac_objext; then
20668 ac_hi=$ac_mid
20669 else
20670 echo "$as_me: failed program was:" >&5
20671 sed 's/^/| /' conftest.$ac_ext >&5
20672
20673 ac_lo=`expr '(' $ac_mid ')' + 1`
20674 fi
20675
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20677 done
20678 case $ac_lo in
20679 ?*) ac_cv_sizeof_short=$ac_lo;;
20680 '') if test "$ac_cv_type_short" = yes; then
20681 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20682 See \`config.log' for more details." >&5
20683 echo "$as_me: error: cannot compute sizeof (short)
20684 See \`config.log' for more details." >&2;}
20685 { (exit 77); exit 77; }; }
20686 else
20687 ac_cv_sizeof_short=0
20688 fi ;;
20689 esac
20690 else
20691 cat >conftest.$ac_ext <<_ACEOF
20692 /* confdefs.h. */
20693 _ACEOF
20694 cat confdefs.h >>conftest.$ac_ext
20695 cat >>conftest.$ac_ext <<_ACEOF
20696 /* end confdefs.h. */
20697 $ac_includes_default
20698 typedef short ac__type_sizeof_;
20699 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20700 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20701 #include <stdio.h>
20702 #include <stdlib.h>
20703 int
20704 main ()
20705 {
20706
20707 FILE *f = fopen ("conftest.val", "w");
20708 if (! f)
20709 return 1;
20710 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20711 {
20712 long int i = longval ();
20713 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20714 return 1;
20715 fprintf (f, "%ld\n", i);
20716 }
20717 else
20718 {
20719 unsigned long int i = ulongval ();
20720 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20721 return 1;
20722 fprintf (f, "%lu\n", i);
20723 }
20724 return ferror (f) || fclose (f) != 0;
20725
20726 ;
20727 return 0;
20728 }
20729 _ACEOF
20730 rm -f conftest$ac_exeext
20731 if { (ac_try="$ac_link"
20732 case "(($ac_try" in
20733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20734 *) ac_try_echo=$ac_try;;
20735 esac
20736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20737 (eval "$ac_link") 2>&5
20738 ac_status=$?
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20741 { (case "(($ac_try" in
20742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20743 *) ac_try_echo=$ac_try;;
20744 esac
20745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20746 (eval "$ac_try") 2>&5
20747 ac_status=$?
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); }; }; then
20750 ac_cv_sizeof_short=`cat conftest.val`
20751 else
20752 echo "$as_me: program exited with status $ac_status" >&5
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.$ac_ext >&5
20755
20756 ( exit $ac_status )
20757 if test "$ac_cv_type_short" = yes; then
20758 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20759 See \`config.log' for more details." >&5
20760 echo "$as_me: error: cannot compute sizeof (short)
20761 See \`config.log' for more details." >&2;}
20762 { (exit 77); exit 77; }; }
20763 else
20764 ac_cv_sizeof_short=0
20765 fi
20766 fi
20767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20768 fi
20769 rm -f conftest.val
20770 fi
20771 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20772 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20773
20774
20775
20776 cat >>confdefs.h <<_ACEOF
20777 #define SIZEOF_SHORT $ac_cv_sizeof_short
20778 _ACEOF
20779
20780
20781 { echo "$as_me:$LINENO: checking for void *" >&5
20782 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20783 if test "${ac_cv_type_void_p+set}" = set; then
20784 echo $ECHO_N "(cached) $ECHO_C" >&6
20785 else
20786 cat >conftest.$ac_ext <<_ACEOF
20787 /* confdefs.h. */
20788 _ACEOF
20789 cat confdefs.h >>conftest.$ac_ext
20790 cat >>conftest.$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20792 $ac_includes_default
20793 typedef void * ac__type_new_;
20794 int
20795 main ()
20796 {
20797 if ((ac__type_new_ *) 0)
20798 return 0;
20799 if (sizeof (ac__type_new_))
20800 return 0;
20801 ;
20802 return 0;
20803 }
20804 _ACEOF
20805 rm -f conftest.$ac_objext
20806 if { (ac_try="$ac_compile"
20807 case "(($ac_try" in
20808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20809 *) ac_try_echo=$ac_try;;
20810 esac
20811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20812 (eval "$ac_compile") 2>conftest.er1
20813 ac_status=$?
20814 grep -v '^ *+' conftest.er1 >conftest.err
20815 rm -f conftest.er1
20816 cat conftest.err >&5
20817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20818 (exit $ac_status); } && {
20819 test -z "$ac_c_werror_flag" ||
20820 test ! -s conftest.err
20821 } && test -s conftest.$ac_objext; then
20822 ac_cv_type_void_p=yes
20823 else
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.$ac_ext >&5
20826
20827 ac_cv_type_void_p=no
20828 fi
20829
20830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20831 fi
20832 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20833 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20834
20835 # The cast to long int works around a bug in the HP C Compiler
20836 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20837 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20838 # This bug is HP SR number 8606223364.
20839 { echo "$as_me:$LINENO: checking size of void *" >&5
20840 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20841 if test "${ac_cv_sizeof_void_p+set}" = set; then
20842 echo $ECHO_N "(cached) $ECHO_C" >&6
20843 else
20844 if test "$cross_compiling" = yes; then
20845 # Depending upon the size, compute the lo and hi bounds.
20846 cat >conftest.$ac_ext <<_ACEOF
20847 /* confdefs.h. */
20848 _ACEOF
20849 cat confdefs.h >>conftest.$ac_ext
20850 cat >>conftest.$ac_ext <<_ACEOF
20851 /* end confdefs.h. */
20852 $ac_includes_default
20853 typedef void * ac__type_sizeof_;
20854 int
20855 main ()
20856 {
20857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20858 test_array [0] = 0
20859
20860 ;
20861 return 0;
20862 }
20863 _ACEOF
20864 rm -f conftest.$ac_objext
20865 if { (ac_try="$ac_compile"
20866 case "(($ac_try" in
20867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20868 *) ac_try_echo=$ac_try;;
20869 esac
20870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20871 (eval "$ac_compile") 2>conftest.er1
20872 ac_status=$?
20873 grep -v '^ *+' conftest.er1 >conftest.err
20874 rm -f conftest.er1
20875 cat conftest.err >&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); } && {
20878 test -z "$ac_c_werror_flag" ||
20879 test ! -s conftest.err
20880 } && test -s conftest.$ac_objext; then
20881 ac_lo=0 ac_mid=0
20882 while :; do
20883 cat >conftest.$ac_ext <<_ACEOF
20884 /* confdefs.h. */
20885 _ACEOF
20886 cat confdefs.h >>conftest.$ac_ext
20887 cat >>conftest.$ac_ext <<_ACEOF
20888 /* end confdefs.h. */
20889 $ac_includes_default
20890 typedef void * ac__type_sizeof_;
20891 int
20892 main ()
20893 {
20894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20895 test_array [0] = 0
20896
20897 ;
20898 return 0;
20899 }
20900 _ACEOF
20901 rm -f conftest.$ac_objext
20902 if { (ac_try="$ac_compile"
20903 case "(($ac_try" in
20904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20905 *) ac_try_echo=$ac_try;;
20906 esac
20907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20908 (eval "$ac_compile") 2>conftest.er1
20909 ac_status=$?
20910 grep -v '^ *+' conftest.er1 >conftest.err
20911 rm -f conftest.er1
20912 cat conftest.err >&5
20913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914 (exit $ac_status); } && {
20915 test -z "$ac_c_werror_flag" ||
20916 test ! -s conftest.err
20917 } && test -s conftest.$ac_objext; then
20918 ac_hi=$ac_mid; break
20919 else
20920 echo "$as_me: failed program was:" >&5
20921 sed 's/^/| /' conftest.$ac_ext >&5
20922
20923 ac_lo=`expr $ac_mid + 1`
20924 if test $ac_lo -le $ac_mid; then
20925 ac_lo= ac_hi=
20926 break
20927 fi
20928 ac_mid=`expr 2 '*' $ac_mid + 1`
20929 fi
20930
20931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20932 done
20933 else
20934 echo "$as_me: failed program was:" >&5
20935 sed 's/^/| /' conftest.$ac_ext >&5
20936
20937 cat >conftest.$ac_ext <<_ACEOF
20938 /* confdefs.h. */
20939 _ACEOF
20940 cat confdefs.h >>conftest.$ac_ext
20941 cat >>conftest.$ac_ext <<_ACEOF
20942 /* end confdefs.h. */
20943 $ac_includes_default
20944 typedef void * ac__type_sizeof_;
20945 int
20946 main ()
20947 {
20948 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20949 test_array [0] = 0
20950
20951 ;
20952 return 0;
20953 }
20954 _ACEOF
20955 rm -f conftest.$ac_objext
20956 if { (ac_try="$ac_compile"
20957 case "(($ac_try" in
20958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20959 *) ac_try_echo=$ac_try;;
20960 esac
20961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20962 (eval "$ac_compile") 2>conftest.er1
20963 ac_status=$?
20964 grep -v '^ *+' conftest.er1 >conftest.err
20965 rm -f conftest.er1
20966 cat conftest.err >&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); } && {
20969 test -z "$ac_c_werror_flag" ||
20970 test ! -s conftest.err
20971 } && test -s conftest.$ac_objext; then
20972 ac_hi=-1 ac_mid=-1
20973 while :; do
20974 cat >conftest.$ac_ext <<_ACEOF
20975 /* confdefs.h. */
20976 _ACEOF
20977 cat confdefs.h >>conftest.$ac_ext
20978 cat >>conftest.$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20980 $ac_includes_default
20981 typedef void * ac__type_sizeof_;
20982 int
20983 main ()
20984 {
20985 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20986 test_array [0] = 0
20987
20988 ;
20989 return 0;
20990 }
20991 _ACEOF
20992 rm -f conftest.$ac_objext
20993 if { (ac_try="$ac_compile"
20994 case "(($ac_try" in
20995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20996 *) ac_try_echo=$ac_try;;
20997 esac
20998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20999 (eval "$ac_compile") 2>conftest.er1
21000 ac_status=$?
21001 grep -v '^ *+' conftest.er1 >conftest.err
21002 rm -f conftest.er1
21003 cat conftest.err >&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); } && {
21006 test -z "$ac_c_werror_flag" ||
21007 test ! -s conftest.err
21008 } && test -s conftest.$ac_objext; then
21009 ac_lo=$ac_mid; break
21010 else
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21013
21014 ac_hi=`expr '(' $ac_mid ')' - 1`
21015 if test $ac_mid -le $ac_hi; then
21016 ac_lo= ac_hi=
21017 break
21018 fi
21019 ac_mid=`expr 2 '*' $ac_mid`
21020 fi
21021
21022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21023 done
21024 else
21025 echo "$as_me: failed program was:" >&5
21026 sed 's/^/| /' conftest.$ac_ext >&5
21027
21028 ac_lo= ac_hi=
21029 fi
21030
21031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21032 fi
21033
21034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21035 # Binary search between lo and hi bounds.
21036 while test "x$ac_lo" != "x$ac_hi"; do
21037 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21038 cat >conftest.$ac_ext <<_ACEOF
21039 /* confdefs.h. */
21040 _ACEOF
21041 cat confdefs.h >>conftest.$ac_ext
21042 cat >>conftest.$ac_ext <<_ACEOF
21043 /* end confdefs.h. */
21044 $ac_includes_default
21045 typedef void * ac__type_sizeof_;
21046 int
21047 main ()
21048 {
21049 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21050 test_array [0] = 0
21051
21052 ;
21053 return 0;
21054 }
21055 _ACEOF
21056 rm -f conftest.$ac_objext
21057 if { (ac_try="$ac_compile"
21058 case "(($ac_try" in
21059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21060 *) ac_try_echo=$ac_try;;
21061 esac
21062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21063 (eval "$ac_compile") 2>conftest.er1
21064 ac_status=$?
21065 grep -v '^ *+' conftest.er1 >conftest.err
21066 rm -f conftest.er1
21067 cat conftest.err >&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); } && {
21070 test -z "$ac_c_werror_flag" ||
21071 test ! -s conftest.err
21072 } && test -s conftest.$ac_objext; then
21073 ac_hi=$ac_mid
21074 else
21075 echo "$as_me: failed program was:" >&5
21076 sed 's/^/| /' conftest.$ac_ext >&5
21077
21078 ac_lo=`expr '(' $ac_mid ')' + 1`
21079 fi
21080
21081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21082 done
21083 case $ac_lo in
21084 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21085 '') if test "$ac_cv_type_void_p" = yes; then
21086 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21087 See \`config.log' for more details." >&5
21088 echo "$as_me: error: cannot compute sizeof (void *)
21089 See \`config.log' for more details." >&2;}
21090 { (exit 77); exit 77; }; }
21091 else
21092 ac_cv_sizeof_void_p=0
21093 fi ;;
21094 esac
21095 else
21096 cat >conftest.$ac_ext <<_ACEOF
21097 /* confdefs.h. */
21098 _ACEOF
21099 cat confdefs.h >>conftest.$ac_ext
21100 cat >>conftest.$ac_ext <<_ACEOF
21101 /* end confdefs.h. */
21102 $ac_includes_default
21103 typedef void * ac__type_sizeof_;
21104 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21105 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21106 #include <stdio.h>
21107 #include <stdlib.h>
21108 int
21109 main ()
21110 {
21111
21112 FILE *f = fopen ("conftest.val", "w");
21113 if (! f)
21114 return 1;
21115 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21116 {
21117 long int i = longval ();
21118 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21119 return 1;
21120 fprintf (f, "%ld\n", i);
21121 }
21122 else
21123 {
21124 unsigned long int i = ulongval ();
21125 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21126 return 1;
21127 fprintf (f, "%lu\n", i);
21128 }
21129 return ferror (f) || fclose (f) != 0;
21130
21131 ;
21132 return 0;
21133 }
21134 _ACEOF
21135 rm -f conftest$ac_exeext
21136 if { (ac_try="$ac_link"
21137 case "(($ac_try" in
21138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21139 *) ac_try_echo=$ac_try;;
21140 esac
21141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21142 (eval "$ac_link") 2>&5
21143 ac_status=$?
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21146 { (case "(($ac_try" in
21147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21148 *) ac_try_echo=$ac_try;;
21149 esac
21150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21151 (eval "$ac_try") 2>&5
21152 ac_status=$?
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 ac_cv_sizeof_void_p=`cat conftest.val`
21156 else
21157 echo "$as_me: program exited with status $ac_status" >&5
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21160
21161 ( exit $ac_status )
21162 if test "$ac_cv_type_void_p" = yes; then
21163 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21164 See \`config.log' for more details." >&5
21165 echo "$as_me: error: cannot compute sizeof (void *)
21166 See \`config.log' for more details." >&2;}
21167 { (exit 77); exit 77; }; }
21168 else
21169 ac_cv_sizeof_void_p=0
21170 fi
21171 fi
21172 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21173 fi
21174 rm -f conftest.val
21175 fi
21176 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21177 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21178
21179
21180
21181 cat >>confdefs.h <<_ACEOF
21182 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21183 _ACEOF
21184
21185
21186 { echo "$as_me:$LINENO: checking for int" >&5
21187 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21188 if test "${ac_cv_type_int+set}" = set; then
21189 echo $ECHO_N "(cached) $ECHO_C" >&6
21190 else
21191 cat >conftest.$ac_ext <<_ACEOF
21192 /* confdefs.h. */
21193 _ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 $ac_includes_default
21198 typedef int ac__type_new_;
21199 int
21200 main ()
21201 {
21202 if ((ac__type_new_ *) 0)
21203 return 0;
21204 if (sizeof (ac__type_new_))
21205 return 0;
21206 ;
21207 return 0;
21208 }
21209 _ACEOF
21210 rm -f conftest.$ac_objext
21211 if { (ac_try="$ac_compile"
21212 case "(($ac_try" in
21213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21214 *) ac_try_echo=$ac_try;;
21215 esac
21216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21217 (eval "$ac_compile") 2>conftest.er1
21218 ac_status=$?
21219 grep -v '^ *+' conftest.er1 >conftest.err
21220 rm -f conftest.er1
21221 cat conftest.err >&5
21222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223 (exit $ac_status); } && {
21224 test -z "$ac_c_werror_flag" ||
21225 test ! -s conftest.err
21226 } && test -s conftest.$ac_objext; then
21227 ac_cv_type_int=yes
21228 else
21229 echo "$as_me: failed program was:" >&5
21230 sed 's/^/| /' conftest.$ac_ext >&5
21231
21232 ac_cv_type_int=no
21233 fi
21234
21235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21236 fi
21237 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21238 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21239
21240 # The cast to long int works around a bug in the HP C Compiler
21241 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21242 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21243 # This bug is HP SR number 8606223364.
21244 { echo "$as_me:$LINENO: checking size of int" >&5
21245 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21246 if test "${ac_cv_sizeof_int+set}" = set; then
21247 echo $ECHO_N "(cached) $ECHO_C" >&6
21248 else
21249 if test "$cross_compiling" = yes; then
21250 # Depending upon the size, compute the lo and hi bounds.
21251 cat >conftest.$ac_ext <<_ACEOF
21252 /* confdefs.h. */
21253 _ACEOF
21254 cat confdefs.h >>conftest.$ac_ext
21255 cat >>conftest.$ac_ext <<_ACEOF
21256 /* end confdefs.h. */
21257 $ac_includes_default
21258 typedef int ac__type_sizeof_;
21259 int
21260 main ()
21261 {
21262 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21263 test_array [0] = 0
21264
21265 ;
21266 return 0;
21267 }
21268 _ACEOF
21269 rm -f conftest.$ac_objext
21270 if { (ac_try="$ac_compile"
21271 case "(($ac_try" in
21272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21273 *) ac_try_echo=$ac_try;;
21274 esac
21275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21276 (eval "$ac_compile") 2>conftest.er1
21277 ac_status=$?
21278 grep -v '^ *+' conftest.er1 >conftest.err
21279 rm -f conftest.er1
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } && {
21283 test -z "$ac_c_werror_flag" ||
21284 test ! -s conftest.err
21285 } && test -s conftest.$ac_objext; then
21286 ac_lo=0 ac_mid=0
21287 while :; do
21288 cat >conftest.$ac_ext <<_ACEOF
21289 /* confdefs.h. */
21290 _ACEOF
21291 cat confdefs.h >>conftest.$ac_ext
21292 cat >>conftest.$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294 $ac_includes_default
21295 typedef int ac__type_sizeof_;
21296 int
21297 main ()
21298 {
21299 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21300 test_array [0] = 0
21301
21302 ;
21303 return 0;
21304 }
21305 _ACEOF
21306 rm -f conftest.$ac_objext
21307 if { (ac_try="$ac_compile"
21308 case "(($ac_try" in
21309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21310 *) ac_try_echo=$ac_try;;
21311 esac
21312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21313 (eval "$ac_compile") 2>conftest.er1
21314 ac_status=$?
21315 grep -v '^ *+' conftest.er1 >conftest.err
21316 rm -f conftest.er1
21317 cat conftest.err >&5
21318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319 (exit $ac_status); } && {
21320 test -z "$ac_c_werror_flag" ||
21321 test ! -s conftest.err
21322 } && test -s conftest.$ac_objext; then
21323 ac_hi=$ac_mid; break
21324 else
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.$ac_ext >&5
21327
21328 ac_lo=`expr $ac_mid + 1`
21329 if test $ac_lo -le $ac_mid; then
21330 ac_lo= ac_hi=
21331 break
21332 fi
21333 ac_mid=`expr 2 '*' $ac_mid + 1`
21334 fi
21335
21336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21337 done
21338 else
21339 echo "$as_me: failed program was:" >&5
21340 sed 's/^/| /' conftest.$ac_ext >&5
21341
21342 cat >conftest.$ac_ext <<_ACEOF
21343 /* confdefs.h. */
21344 _ACEOF
21345 cat confdefs.h >>conftest.$ac_ext
21346 cat >>conftest.$ac_ext <<_ACEOF
21347 /* end confdefs.h. */
21348 $ac_includes_default
21349 typedef int ac__type_sizeof_;
21350 int
21351 main ()
21352 {
21353 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21354 test_array [0] = 0
21355
21356 ;
21357 return 0;
21358 }
21359 _ACEOF
21360 rm -f conftest.$ac_objext
21361 if { (ac_try="$ac_compile"
21362 case "(($ac_try" in
21363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21364 *) ac_try_echo=$ac_try;;
21365 esac
21366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21367 (eval "$ac_compile") 2>conftest.er1
21368 ac_status=$?
21369 grep -v '^ *+' conftest.er1 >conftest.err
21370 rm -f conftest.er1
21371 cat conftest.err >&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); } && {
21374 test -z "$ac_c_werror_flag" ||
21375 test ! -s conftest.err
21376 } && test -s conftest.$ac_objext; then
21377 ac_hi=-1 ac_mid=-1
21378 while :; do
21379 cat >conftest.$ac_ext <<_ACEOF
21380 /* confdefs.h. */
21381 _ACEOF
21382 cat confdefs.h >>conftest.$ac_ext
21383 cat >>conftest.$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 $ac_includes_default
21386 typedef int ac__type_sizeof_;
21387 int
21388 main ()
21389 {
21390 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21391 test_array [0] = 0
21392
21393 ;
21394 return 0;
21395 }
21396 _ACEOF
21397 rm -f conftest.$ac_objext
21398 if { (ac_try="$ac_compile"
21399 case "(($ac_try" in
21400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21401 *) ac_try_echo=$ac_try;;
21402 esac
21403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21404 (eval "$ac_compile") 2>conftest.er1
21405 ac_status=$?
21406 grep -v '^ *+' conftest.er1 >conftest.err
21407 rm -f conftest.er1
21408 cat conftest.err >&5
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); } && {
21411 test -z "$ac_c_werror_flag" ||
21412 test ! -s conftest.err
21413 } && test -s conftest.$ac_objext; then
21414 ac_lo=$ac_mid; break
21415 else
21416 echo "$as_me: failed program was:" >&5
21417 sed 's/^/| /' conftest.$ac_ext >&5
21418
21419 ac_hi=`expr '(' $ac_mid ')' - 1`
21420 if test $ac_mid -le $ac_hi; then
21421 ac_lo= ac_hi=
21422 break
21423 fi
21424 ac_mid=`expr 2 '*' $ac_mid`
21425 fi
21426
21427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21428 done
21429 else
21430 echo "$as_me: failed program was:" >&5
21431 sed 's/^/| /' conftest.$ac_ext >&5
21432
21433 ac_lo= ac_hi=
21434 fi
21435
21436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21437 fi
21438
21439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21440 # Binary search between lo and hi bounds.
21441 while test "x$ac_lo" != "x$ac_hi"; do
21442 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21443 cat >conftest.$ac_ext <<_ACEOF
21444 /* confdefs.h. */
21445 _ACEOF
21446 cat confdefs.h >>conftest.$ac_ext
21447 cat >>conftest.$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21449 $ac_includes_default
21450 typedef int ac__type_sizeof_;
21451 int
21452 main ()
21453 {
21454 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21455 test_array [0] = 0
21456
21457 ;
21458 return 0;
21459 }
21460 _ACEOF
21461 rm -f conftest.$ac_objext
21462 if { (ac_try="$ac_compile"
21463 case "(($ac_try" in
21464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21465 *) ac_try_echo=$ac_try;;
21466 esac
21467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21468 (eval "$ac_compile") 2>conftest.er1
21469 ac_status=$?
21470 grep -v '^ *+' conftest.er1 >conftest.err
21471 rm -f conftest.er1
21472 cat conftest.err >&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); } && {
21475 test -z "$ac_c_werror_flag" ||
21476 test ! -s conftest.err
21477 } && test -s conftest.$ac_objext; then
21478 ac_hi=$ac_mid
21479 else
21480 echo "$as_me: failed program was:" >&5
21481 sed 's/^/| /' conftest.$ac_ext >&5
21482
21483 ac_lo=`expr '(' $ac_mid ')' + 1`
21484 fi
21485
21486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21487 done
21488 case $ac_lo in
21489 ?*) ac_cv_sizeof_int=$ac_lo;;
21490 '') if test "$ac_cv_type_int" = yes; then
21491 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21492 See \`config.log' for more details." >&5
21493 echo "$as_me: error: cannot compute sizeof (int)
21494 See \`config.log' for more details." >&2;}
21495 { (exit 77); exit 77; }; }
21496 else
21497 ac_cv_sizeof_int=0
21498 fi ;;
21499 esac
21500 else
21501 cat >conftest.$ac_ext <<_ACEOF
21502 /* confdefs.h. */
21503 _ACEOF
21504 cat confdefs.h >>conftest.$ac_ext
21505 cat >>conftest.$ac_ext <<_ACEOF
21506 /* end confdefs.h. */
21507 $ac_includes_default
21508 typedef int ac__type_sizeof_;
21509 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21510 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21511 #include <stdio.h>
21512 #include <stdlib.h>
21513 int
21514 main ()
21515 {
21516
21517 FILE *f = fopen ("conftest.val", "w");
21518 if (! f)
21519 return 1;
21520 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21521 {
21522 long int i = longval ();
21523 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21524 return 1;
21525 fprintf (f, "%ld\n", i);
21526 }
21527 else
21528 {
21529 unsigned long int i = ulongval ();
21530 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21531 return 1;
21532 fprintf (f, "%lu\n", i);
21533 }
21534 return ferror (f) || fclose (f) != 0;
21535
21536 ;
21537 return 0;
21538 }
21539 _ACEOF
21540 rm -f conftest$ac_exeext
21541 if { (ac_try="$ac_link"
21542 case "(($ac_try" in
21543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21544 *) ac_try_echo=$ac_try;;
21545 esac
21546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21547 (eval "$ac_link") 2>&5
21548 ac_status=$?
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21551 { (case "(($ac_try" in
21552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21553 *) ac_try_echo=$ac_try;;
21554 esac
21555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21556 (eval "$ac_try") 2>&5
21557 ac_status=$?
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; }; then
21560 ac_cv_sizeof_int=`cat conftest.val`
21561 else
21562 echo "$as_me: program exited with status $ac_status" >&5
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.$ac_ext >&5
21565
21566 ( exit $ac_status )
21567 if test "$ac_cv_type_int" = yes; then
21568 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21569 See \`config.log' for more details." >&5
21570 echo "$as_me: error: cannot compute sizeof (int)
21571 See \`config.log' for more details." >&2;}
21572 { (exit 77); exit 77; }; }
21573 else
21574 ac_cv_sizeof_int=0
21575 fi
21576 fi
21577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21578 fi
21579 rm -f conftest.val
21580 fi
21581 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21582 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21583
21584
21585
21586 cat >>confdefs.h <<_ACEOF
21587 #define SIZEOF_INT $ac_cv_sizeof_int
21588 _ACEOF
21589
21590
21591 { echo "$as_me:$LINENO: checking for long" >&5
21592 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21593 if test "${ac_cv_type_long+set}" = set; then
21594 echo $ECHO_N "(cached) $ECHO_C" >&6
21595 else
21596 cat >conftest.$ac_ext <<_ACEOF
21597 /* confdefs.h. */
21598 _ACEOF
21599 cat confdefs.h >>conftest.$ac_ext
21600 cat >>conftest.$ac_ext <<_ACEOF
21601 /* end confdefs.h. */
21602 $ac_includes_default
21603 typedef long ac__type_new_;
21604 int
21605 main ()
21606 {
21607 if ((ac__type_new_ *) 0)
21608 return 0;
21609 if (sizeof (ac__type_new_))
21610 return 0;
21611 ;
21612 return 0;
21613 }
21614 _ACEOF
21615 rm -f conftest.$ac_objext
21616 if { (ac_try="$ac_compile"
21617 case "(($ac_try" in
21618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21619 *) ac_try_echo=$ac_try;;
21620 esac
21621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21622 (eval "$ac_compile") 2>conftest.er1
21623 ac_status=$?
21624 grep -v '^ *+' conftest.er1 >conftest.err
21625 rm -f conftest.er1
21626 cat conftest.err >&5
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); } && {
21629 test -z "$ac_c_werror_flag" ||
21630 test ! -s conftest.err
21631 } && test -s conftest.$ac_objext; then
21632 ac_cv_type_long=yes
21633 else
21634 echo "$as_me: failed program was:" >&5
21635 sed 's/^/| /' conftest.$ac_ext >&5
21636
21637 ac_cv_type_long=no
21638 fi
21639
21640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21641 fi
21642 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21643 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21644
21645 # The cast to long int works around a bug in the HP C Compiler
21646 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21647 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21648 # This bug is HP SR number 8606223364.
21649 { echo "$as_me:$LINENO: checking size of long" >&5
21650 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21651 if test "${ac_cv_sizeof_long+set}" = set; then
21652 echo $ECHO_N "(cached) $ECHO_C" >&6
21653 else
21654 if test "$cross_compiling" = yes; then
21655 # Depending upon the size, compute the lo and hi bounds.
21656 cat >conftest.$ac_ext <<_ACEOF
21657 /* confdefs.h. */
21658 _ACEOF
21659 cat confdefs.h >>conftest.$ac_ext
21660 cat >>conftest.$ac_ext <<_ACEOF
21661 /* end confdefs.h. */
21662 $ac_includes_default
21663 typedef long ac__type_sizeof_;
21664 int
21665 main ()
21666 {
21667 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21668 test_array [0] = 0
21669
21670 ;
21671 return 0;
21672 }
21673 _ACEOF
21674 rm -f conftest.$ac_objext
21675 if { (ac_try="$ac_compile"
21676 case "(($ac_try" in
21677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21678 *) ac_try_echo=$ac_try;;
21679 esac
21680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21681 (eval "$ac_compile") 2>conftest.er1
21682 ac_status=$?
21683 grep -v '^ *+' conftest.er1 >conftest.err
21684 rm -f conftest.er1
21685 cat conftest.err >&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } && {
21688 test -z "$ac_c_werror_flag" ||
21689 test ! -s conftest.err
21690 } && test -s conftest.$ac_objext; then
21691 ac_lo=0 ac_mid=0
21692 while :; do
21693 cat >conftest.$ac_ext <<_ACEOF
21694 /* confdefs.h. */
21695 _ACEOF
21696 cat confdefs.h >>conftest.$ac_ext
21697 cat >>conftest.$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21699 $ac_includes_default
21700 typedef long ac__type_sizeof_;
21701 int
21702 main ()
21703 {
21704 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21705 test_array [0] = 0
21706
21707 ;
21708 return 0;
21709 }
21710 _ACEOF
21711 rm -f conftest.$ac_objext
21712 if { (ac_try="$ac_compile"
21713 case "(($ac_try" in
21714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21715 *) ac_try_echo=$ac_try;;
21716 esac
21717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21718 (eval "$ac_compile") 2>conftest.er1
21719 ac_status=$?
21720 grep -v '^ *+' conftest.er1 >conftest.err
21721 rm -f conftest.er1
21722 cat conftest.err >&5
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } && {
21725 test -z "$ac_c_werror_flag" ||
21726 test ! -s conftest.err
21727 } && test -s conftest.$ac_objext; then
21728 ac_hi=$ac_mid; break
21729 else
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.$ac_ext >&5
21732
21733 ac_lo=`expr $ac_mid + 1`
21734 if test $ac_lo -le $ac_mid; then
21735 ac_lo= ac_hi=
21736 break
21737 fi
21738 ac_mid=`expr 2 '*' $ac_mid + 1`
21739 fi
21740
21741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21742 done
21743 else
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21746
21747 cat >conftest.$ac_ext <<_ACEOF
21748 /* confdefs.h. */
21749 _ACEOF
21750 cat confdefs.h >>conftest.$ac_ext
21751 cat >>conftest.$ac_ext <<_ACEOF
21752 /* end confdefs.h. */
21753 $ac_includes_default
21754 typedef long ac__type_sizeof_;
21755 int
21756 main ()
21757 {
21758 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21759 test_array [0] = 0
21760
21761 ;
21762 return 0;
21763 }
21764 _ACEOF
21765 rm -f conftest.$ac_objext
21766 if { (ac_try="$ac_compile"
21767 case "(($ac_try" in
21768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21769 *) ac_try_echo=$ac_try;;
21770 esac
21771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21772 (eval "$ac_compile") 2>conftest.er1
21773 ac_status=$?
21774 grep -v '^ *+' conftest.er1 >conftest.err
21775 rm -f conftest.er1
21776 cat conftest.err >&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); } && {
21779 test -z "$ac_c_werror_flag" ||
21780 test ! -s conftest.err
21781 } && test -s conftest.$ac_objext; then
21782 ac_hi=-1 ac_mid=-1
21783 while :; do
21784 cat >conftest.$ac_ext <<_ACEOF
21785 /* confdefs.h. */
21786 _ACEOF
21787 cat confdefs.h >>conftest.$ac_ext
21788 cat >>conftest.$ac_ext <<_ACEOF
21789 /* end confdefs.h. */
21790 $ac_includes_default
21791 typedef long ac__type_sizeof_;
21792 int
21793 main ()
21794 {
21795 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21796 test_array [0] = 0
21797
21798 ;
21799 return 0;
21800 }
21801 _ACEOF
21802 rm -f conftest.$ac_objext
21803 if { (ac_try="$ac_compile"
21804 case "(($ac_try" in
21805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21806 *) ac_try_echo=$ac_try;;
21807 esac
21808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21809 (eval "$ac_compile") 2>conftest.er1
21810 ac_status=$?
21811 grep -v '^ *+' conftest.er1 >conftest.err
21812 rm -f conftest.er1
21813 cat conftest.err >&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); } && {
21816 test -z "$ac_c_werror_flag" ||
21817 test ! -s conftest.err
21818 } && test -s conftest.$ac_objext; then
21819 ac_lo=$ac_mid; break
21820 else
21821 echo "$as_me: failed program was:" >&5
21822 sed 's/^/| /' conftest.$ac_ext >&5
21823
21824 ac_hi=`expr '(' $ac_mid ')' - 1`
21825 if test $ac_mid -le $ac_hi; then
21826 ac_lo= ac_hi=
21827 break
21828 fi
21829 ac_mid=`expr 2 '*' $ac_mid`
21830 fi
21831
21832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21833 done
21834 else
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.$ac_ext >&5
21837
21838 ac_lo= ac_hi=
21839 fi
21840
21841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21842 fi
21843
21844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21845 # Binary search between lo and hi bounds.
21846 while test "x$ac_lo" != "x$ac_hi"; do
21847 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21848 cat >conftest.$ac_ext <<_ACEOF
21849 /* confdefs.h. */
21850 _ACEOF
21851 cat confdefs.h >>conftest.$ac_ext
21852 cat >>conftest.$ac_ext <<_ACEOF
21853 /* end confdefs.h. */
21854 $ac_includes_default
21855 typedef long ac__type_sizeof_;
21856 int
21857 main ()
21858 {
21859 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21860 test_array [0] = 0
21861
21862 ;
21863 return 0;
21864 }
21865 _ACEOF
21866 rm -f conftest.$ac_objext
21867 if { (ac_try="$ac_compile"
21868 case "(($ac_try" in
21869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21870 *) ac_try_echo=$ac_try;;
21871 esac
21872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21873 (eval "$ac_compile") 2>conftest.er1
21874 ac_status=$?
21875 grep -v '^ *+' conftest.er1 >conftest.err
21876 rm -f conftest.er1
21877 cat conftest.err >&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } && {
21880 test -z "$ac_c_werror_flag" ||
21881 test ! -s conftest.err
21882 } && test -s conftest.$ac_objext; then
21883 ac_hi=$ac_mid
21884 else
21885 echo "$as_me: failed program was:" >&5
21886 sed 's/^/| /' conftest.$ac_ext >&5
21887
21888 ac_lo=`expr '(' $ac_mid ')' + 1`
21889 fi
21890
21891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21892 done
21893 case $ac_lo in
21894 ?*) ac_cv_sizeof_long=$ac_lo;;
21895 '') if test "$ac_cv_type_long" = yes; then
21896 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21897 See \`config.log' for more details." >&5
21898 echo "$as_me: error: cannot compute sizeof (long)
21899 See \`config.log' for more details." >&2;}
21900 { (exit 77); exit 77; }; }
21901 else
21902 ac_cv_sizeof_long=0
21903 fi ;;
21904 esac
21905 else
21906 cat >conftest.$ac_ext <<_ACEOF
21907 /* confdefs.h. */
21908 _ACEOF
21909 cat confdefs.h >>conftest.$ac_ext
21910 cat >>conftest.$ac_ext <<_ACEOF
21911 /* end confdefs.h. */
21912 $ac_includes_default
21913 typedef long ac__type_sizeof_;
21914 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21915 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21916 #include <stdio.h>
21917 #include <stdlib.h>
21918 int
21919 main ()
21920 {
21921
21922 FILE *f = fopen ("conftest.val", "w");
21923 if (! f)
21924 return 1;
21925 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21926 {
21927 long int i = longval ();
21928 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21929 return 1;
21930 fprintf (f, "%ld\n", i);
21931 }
21932 else
21933 {
21934 unsigned long int i = ulongval ();
21935 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21936 return 1;
21937 fprintf (f, "%lu\n", i);
21938 }
21939 return ferror (f) || fclose (f) != 0;
21940
21941 ;
21942 return 0;
21943 }
21944 _ACEOF
21945 rm -f conftest$ac_exeext
21946 if { (ac_try="$ac_link"
21947 case "(($ac_try" in
21948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21949 *) ac_try_echo=$ac_try;;
21950 esac
21951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21952 (eval "$ac_link") 2>&5
21953 ac_status=$?
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21956 { (case "(($ac_try" in
21957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21958 *) ac_try_echo=$ac_try;;
21959 esac
21960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21961 (eval "$ac_try") 2>&5
21962 ac_status=$?
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); }; }; then
21965 ac_cv_sizeof_long=`cat conftest.val`
21966 else
21967 echo "$as_me: program exited with status $ac_status" >&5
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.$ac_ext >&5
21970
21971 ( exit $ac_status )
21972 if test "$ac_cv_type_long" = yes; then
21973 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21974 See \`config.log' for more details." >&5
21975 echo "$as_me: error: cannot compute sizeof (long)
21976 See \`config.log' for more details." >&2;}
21977 { (exit 77); exit 77; }; }
21978 else
21979 ac_cv_sizeof_long=0
21980 fi
21981 fi
21982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21983 fi
21984 rm -f conftest.val
21985 fi
21986 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21987 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21988
21989
21990
21991 cat >>confdefs.h <<_ACEOF
21992 #define SIZEOF_LONG $ac_cv_sizeof_long
21993 _ACEOF
21994
21995
21996 { echo "$as_me:$LINENO: checking for size_t" >&5
21997 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21998 if test "${ac_cv_type_size_t+set}" = set; then
21999 echo $ECHO_N "(cached) $ECHO_C" >&6
22000 else
22001 cat >conftest.$ac_ext <<_ACEOF
22002 /* confdefs.h. */
22003 _ACEOF
22004 cat confdefs.h >>conftest.$ac_ext
22005 cat >>conftest.$ac_ext <<_ACEOF
22006 /* end confdefs.h. */
22007 $ac_includes_default
22008 typedef size_t ac__type_new_;
22009 int
22010 main ()
22011 {
22012 if ((ac__type_new_ *) 0)
22013 return 0;
22014 if (sizeof (ac__type_new_))
22015 return 0;
22016 ;
22017 return 0;
22018 }
22019 _ACEOF
22020 rm -f conftest.$ac_objext
22021 if { (ac_try="$ac_compile"
22022 case "(($ac_try" in
22023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22024 *) ac_try_echo=$ac_try;;
22025 esac
22026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22027 (eval "$ac_compile") 2>conftest.er1
22028 ac_status=$?
22029 grep -v '^ *+' conftest.er1 >conftest.err
22030 rm -f conftest.er1
22031 cat conftest.err >&5
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); } && {
22034 test -z "$ac_c_werror_flag" ||
22035 test ! -s conftest.err
22036 } && test -s conftest.$ac_objext; then
22037 ac_cv_type_size_t=yes
22038 else
22039 echo "$as_me: failed program was:" >&5
22040 sed 's/^/| /' conftest.$ac_ext >&5
22041
22042 ac_cv_type_size_t=no
22043 fi
22044
22045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22046 fi
22047 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22048 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22049
22050 # The cast to long int works around a bug in the HP C Compiler
22051 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22052 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22053 # This bug is HP SR number 8606223364.
22054 { echo "$as_me:$LINENO: checking size of size_t" >&5
22055 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22056 if test "${ac_cv_sizeof_size_t+set}" = set; then
22057 echo $ECHO_N "(cached) $ECHO_C" >&6
22058 else
22059 if test "$cross_compiling" = yes; then
22060 # Depending upon the size, compute the lo and hi bounds.
22061 cat >conftest.$ac_ext <<_ACEOF
22062 /* confdefs.h. */
22063 _ACEOF
22064 cat confdefs.h >>conftest.$ac_ext
22065 cat >>conftest.$ac_ext <<_ACEOF
22066 /* end confdefs.h. */
22067 $ac_includes_default
22068 typedef size_t ac__type_sizeof_;
22069 int
22070 main ()
22071 {
22072 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22073 test_array [0] = 0
22074
22075 ;
22076 return 0;
22077 }
22078 _ACEOF
22079 rm -f conftest.$ac_objext
22080 if { (ac_try="$ac_compile"
22081 case "(($ac_try" in
22082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22083 *) ac_try_echo=$ac_try;;
22084 esac
22085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22086 (eval "$ac_compile") 2>conftest.er1
22087 ac_status=$?
22088 grep -v '^ *+' conftest.er1 >conftest.err
22089 rm -f conftest.er1
22090 cat conftest.err >&5
22091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22092 (exit $ac_status); } && {
22093 test -z "$ac_c_werror_flag" ||
22094 test ! -s conftest.err
22095 } && test -s conftest.$ac_objext; then
22096 ac_lo=0 ac_mid=0
22097 while :; do
22098 cat >conftest.$ac_ext <<_ACEOF
22099 /* confdefs.h. */
22100 _ACEOF
22101 cat confdefs.h >>conftest.$ac_ext
22102 cat >>conftest.$ac_ext <<_ACEOF
22103 /* end confdefs.h. */
22104 $ac_includes_default
22105 typedef size_t ac__type_sizeof_;
22106 int
22107 main ()
22108 {
22109 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22110 test_array [0] = 0
22111
22112 ;
22113 return 0;
22114 }
22115 _ACEOF
22116 rm -f conftest.$ac_objext
22117 if { (ac_try="$ac_compile"
22118 case "(($ac_try" in
22119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22120 *) ac_try_echo=$ac_try;;
22121 esac
22122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22123 (eval "$ac_compile") 2>conftest.er1
22124 ac_status=$?
22125 grep -v '^ *+' conftest.er1 >conftest.err
22126 rm -f conftest.er1
22127 cat conftest.err >&5
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); } && {
22130 test -z "$ac_c_werror_flag" ||
22131 test ! -s conftest.err
22132 } && test -s conftest.$ac_objext; then
22133 ac_hi=$ac_mid; break
22134 else
22135 echo "$as_me: failed program was:" >&5
22136 sed 's/^/| /' conftest.$ac_ext >&5
22137
22138 ac_lo=`expr $ac_mid + 1`
22139 if test $ac_lo -le $ac_mid; then
22140 ac_lo= ac_hi=
22141 break
22142 fi
22143 ac_mid=`expr 2 '*' $ac_mid + 1`
22144 fi
22145
22146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22147 done
22148 else
22149 echo "$as_me: failed program was:" >&5
22150 sed 's/^/| /' conftest.$ac_ext >&5
22151
22152 cat >conftest.$ac_ext <<_ACEOF
22153 /* confdefs.h. */
22154 _ACEOF
22155 cat confdefs.h >>conftest.$ac_ext
22156 cat >>conftest.$ac_ext <<_ACEOF
22157 /* end confdefs.h. */
22158 $ac_includes_default
22159 typedef size_t ac__type_sizeof_;
22160 int
22161 main ()
22162 {
22163 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22164 test_array [0] = 0
22165
22166 ;
22167 return 0;
22168 }
22169 _ACEOF
22170 rm -f conftest.$ac_objext
22171 if { (ac_try="$ac_compile"
22172 case "(($ac_try" in
22173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22174 *) ac_try_echo=$ac_try;;
22175 esac
22176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22177 (eval "$ac_compile") 2>conftest.er1
22178 ac_status=$?
22179 grep -v '^ *+' conftest.er1 >conftest.err
22180 rm -f conftest.er1
22181 cat conftest.err >&5
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); } && {
22184 test -z "$ac_c_werror_flag" ||
22185 test ! -s conftest.err
22186 } && test -s conftest.$ac_objext; then
22187 ac_hi=-1 ac_mid=-1
22188 while :; do
22189 cat >conftest.$ac_ext <<_ACEOF
22190 /* confdefs.h. */
22191 _ACEOF
22192 cat confdefs.h >>conftest.$ac_ext
22193 cat >>conftest.$ac_ext <<_ACEOF
22194 /* end confdefs.h. */
22195 $ac_includes_default
22196 typedef size_t ac__type_sizeof_;
22197 int
22198 main ()
22199 {
22200 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22201 test_array [0] = 0
22202
22203 ;
22204 return 0;
22205 }
22206 _ACEOF
22207 rm -f conftest.$ac_objext
22208 if { (ac_try="$ac_compile"
22209 case "(($ac_try" in
22210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22211 *) ac_try_echo=$ac_try;;
22212 esac
22213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22214 (eval "$ac_compile") 2>conftest.er1
22215 ac_status=$?
22216 grep -v '^ *+' conftest.er1 >conftest.err
22217 rm -f conftest.er1
22218 cat conftest.err >&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); } && {
22221 test -z "$ac_c_werror_flag" ||
22222 test ! -s conftest.err
22223 } && test -s conftest.$ac_objext; then
22224 ac_lo=$ac_mid; break
22225 else
22226 echo "$as_me: failed program was:" >&5
22227 sed 's/^/| /' conftest.$ac_ext >&5
22228
22229 ac_hi=`expr '(' $ac_mid ')' - 1`
22230 if test $ac_mid -le $ac_hi; then
22231 ac_lo= ac_hi=
22232 break
22233 fi
22234 ac_mid=`expr 2 '*' $ac_mid`
22235 fi
22236
22237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22238 done
22239 else
22240 echo "$as_me: failed program was:" >&5
22241 sed 's/^/| /' conftest.$ac_ext >&5
22242
22243 ac_lo= ac_hi=
22244 fi
22245
22246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22247 fi
22248
22249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22250 # Binary search between lo and hi bounds.
22251 while test "x$ac_lo" != "x$ac_hi"; do
22252 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22253 cat >conftest.$ac_ext <<_ACEOF
22254 /* confdefs.h. */
22255 _ACEOF
22256 cat confdefs.h >>conftest.$ac_ext
22257 cat >>conftest.$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22259 $ac_includes_default
22260 typedef size_t ac__type_sizeof_;
22261 int
22262 main ()
22263 {
22264 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22265 test_array [0] = 0
22266
22267 ;
22268 return 0;
22269 }
22270 _ACEOF
22271 rm -f conftest.$ac_objext
22272 if { (ac_try="$ac_compile"
22273 case "(($ac_try" in
22274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22275 *) ac_try_echo=$ac_try;;
22276 esac
22277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22278 (eval "$ac_compile") 2>conftest.er1
22279 ac_status=$?
22280 grep -v '^ *+' conftest.er1 >conftest.err
22281 rm -f conftest.er1
22282 cat conftest.err >&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); } && {
22285 test -z "$ac_c_werror_flag" ||
22286 test ! -s conftest.err
22287 } && test -s conftest.$ac_objext; then
22288 ac_hi=$ac_mid
22289 else
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.$ac_ext >&5
22292
22293 ac_lo=`expr '(' $ac_mid ')' + 1`
22294 fi
22295
22296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22297 done
22298 case $ac_lo in
22299 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22300 '') if test "$ac_cv_type_size_t" = yes; then
22301 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22302 See \`config.log' for more details." >&5
22303 echo "$as_me: error: cannot compute sizeof (size_t)
22304 See \`config.log' for more details." >&2;}
22305 { (exit 77); exit 77; }; }
22306 else
22307 ac_cv_sizeof_size_t=0
22308 fi ;;
22309 esac
22310 else
22311 cat >conftest.$ac_ext <<_ACEOF
22312 /* confdefs.h. */
22313 _ACEOF
22314 cat confdefs.h >>conftest.$ac_ext
22315 cat >>conftest.$ac_ext <<_ACEOF
22316 /* end confdefs.h. */
22317 $ac_includes_default
22318 typedef size_t ac__type_sizeof_;
22319 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22320 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22321 #include <stdio.h>
22322 #include <stdlib.h>
22323 int
22324 main ()
22325 {
22326
22327 FILE *f = fopen ("conftest.val", "w");
22328 if (! f)
22329 return 1;
22330 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22331 {
22332 long int i = longval ();
22333 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22334 return 1;
22335 fprintf (f, "%ld\n", i);
22336 }
22337 else
22338 {
22339 unsigned long int i = ulongval ();
22340 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22341 return 1;
22342 fprintf (f, "%lu\n", i);
22343 }
22344 return ferror (f) || fclose (f) != 0;
22345
22346 ;
22347 return 0;
22348 }
22349 _ACEOF
22350 rm -f conftest$ac_exeext
22351 if { (ac_try="$ac_link"
22352 case "(($ac_try" in
22353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22354 *) ac_try_echo=$ac_try;;
22355 esac
22356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22357 (eval "$ac_link") 2>&5
22358 ac_status=$?
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22361 { (case "(($ac_try" in
22362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22363 *) ac_try_echo=$ac_try;;
22364 esac
22365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22366 (eval "$ac_try") 2>&5
22367 ac_status=$?
22368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22369 (exit $ac_status); }; }; then
22370 ac_cv_sizeof_size_t=`cat conftest.val`
22371 else
22372 echo "$as_me: program exited with status $ac_status" >&5
22373 echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.$ac_ext >&5
22375
22376 ( exit $ac_status )
22377 if test "$ac_cv_type_size_t" = yes; then
22378 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22379 See \`config.log' for more details." >&5
22380 echo "$as_me: error: cannot compute sizeof (size_t)
22381 See \`config.log' for more details." >&2;}
22382 { (exit 77); exit 77; }; }
22383 else
22384 ac_cv_sizeof_size_t=0
22385 fi
22386 fi
22387 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22388 fi
22389 rm -f conftest.val
22390 fi
22391 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22392 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22393
22394
22395
22396 cat >>confdefs.h <<_ACEOF
22397 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22398 _ACEOF
22399
22400
22401
22402 case "${host}" in
22403 arm-*-linux* )
22404 { echo "$as_me:$LINENO: checking for long long" >&5
22405 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22406 if test "${ac_cv_type_long_long+set}" = set; then
22407 echo $ECHO_N "(cached) $ECHO_C" >&6
22408 else
22409 cat >conftest.$ac_ext <<_ACEOF
22410 /* confdefs.h. */
22411 _ACEOF
22412 cat confdefs.h >>conftest.$ac_ext
22413 cat >>conftest.$ac_ext <<_ACEOF
22414 /* end confdefs.h. */
22415 $ac_includes_default
22416 typedef long long ac__type_new_;
22417 int
22418 main ()
22419 {
22420 if ((ac__type_new_ *) 0)
22421 return 0;
22422 if (sizeof (ac__type_new_))
22423 return 0;
22424 ;
22425 return 0;
22426 }
22427 _ACEOF
22428 rm -f conftest.$ac_objext
22429 if { (ac_try="$ac_compile"
22430 case "(($ac_try" in
22431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22432 *) ac_try_echo=$ac_try;;
22433 esac
22434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22435 (eval "$ac_compile") 2>conftest.er1
22436 ac_status=$?
22437 grep -v '^ *+' conftest.er1 >conftest.err
22438 rm -f conftest.er1
22439 cat conftest.err >&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } && {
22442 test -z "$ac_c_werror_flag" ||
22443 test ! -s conftest.err
22444 } && test -s conftest.$ac_objext; then
22445 ac_cv_type_long_long=yes
22446 else
22447 echo "$as_me: failed program was:" >&5
22448 sed 's/^/| /' conftest.$ac_ext >&5
22449
22450 ac_cv_type_long_long=no
22451 fi
22452
22453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22454 fi
22455 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22456 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22457
22458 # The cast to long int works around a bug in the HP C Compiler
22459 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22460 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22461 # This bug is HP SR number 8606223364.
22462 { echo "$as_me:$LINENO: checking size of long long" >&5
22463 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22464 if test "${ac_cv_sizeof_long_long+set}" = set; then
22465 echo $ECHO_N "(cached) $ECHO_C" >&6
22466 else
22467 if test "$cross_compiling" = yes; then
22468 # Depending upon the size, compute the lo and hi bounds.
22469 cat >conftest.$ac_ext <<_ACEOF
22470 /* confdefs.h. */
22471 _ACEOF
22472 cat confdefs.h >>conftest.$ac_ext
22473 cat >>conftest.$ac_ext <<_ACEOF
22474 /* end confdefs.h. */
22475 $ac_includes_default
22476 typedef long long ac__type_sizeof_;
22477 int
22478 main ()
22479 {
22480 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22481 test_array [0] = 0
22482
22483 ;
22484 return 0;
22485 }
22486 _ACEOF
22487 rm -f conftest.$ac_objext
22488 if { (ac_try="$ac_compile"
22489 case "(($ac_try" in
22490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22491 *) ac_try_echo=$ac_try;;
22492 esac
22493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22494 (eval "$ac_compile") 2>conftest.er1
22495 ac_status=$?
22496 grep -v '^ *+' conftest.er1 >conftest.err
22497 rm -f conftest.er1
22498 cat conftest.err >&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } && {
22501 test -z "$ac_c_werror_flag" ||
22502 test ! -s conftest.err
22503 } && test -s conftest.$ac_objext; then
22504 ac_lo=0 ac_mid=0
22505 while :; do
22506 cat >conftest.$ac_ext <<_ACEOF
22507 /* confdefs.h. */
22508 _ACEOF
22509 cat confdefs.h >>conftest.$ac_ext
22510 cat >>conftest.$ac_ext <<_ACEOF
22511 /* end confdefs.h. */
22512 $ac_includes_default
22513 typedef long long ac__type_sizeof_;
22514 int
22515 main ()
22516 {
22517 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22518 test_array [0] = 0
22519
22520 ;
22521 return 0;
22522 }
22523 _ACEOF
22524 rm -f conftest.$ac_objext
22525 if { (ac_try="$ac_compile"
22526 case "(($ac_try" in
22527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22528 *) ac_try_echo=$ac_try;;
22529 esac
22530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22531 (eval "$ac_compile") 2>conftest.er1
22532 ac_status=$?
22533 grep -v '^ *+' conftest.er1 >conftest.err
22534 rm -f conftest.er1
22535 cat conftest.err >&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } && {
22538 test -z "$ac_c_werror_flag" ||
22539 test ! -s conftest.err
22540 } && test -s conftest.$ac_objext; then
22541 ac_hi=$ac_mid; break
22542 else
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.$ac_ext >&5
22545
22546 ac_lo=`expr $ac_mid + 1`
22547 if test $ac_lo -le $ac_mid; then
22548 ac_lo= ac_hi=
22549 break
22550 fi
22551 ac_mid=`expr 2 '*' $ac_mid + 1`
22552 fi
22553
22554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22555 done
22556 else
22557 echo "$as_me: failed program was:" >&5
22558 sed 's/^/| /' conftest.$ac_ext >&5
22559
22560 cat >conftest.$ac_ext <<_ACEOF
22561 /* confdefs.h. */
22562 _ACEOF
22563 cat confdefs.h >>conftest.$ac_ext
22564 cat >>conftest.$ac_ext <<_ACEOF
22565 /* end confdefs.h. */
22566 $ac_includes_default
22567 typedef long long ac__type_sizeof_;
22568 int
22569 main ()
22570 {
22571 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22572 test_array [0] = 0
22573
22574 ;
22575 return 0;
22576 }
22577 _ACEOF
22578 rm -f conftest.$ac_objext
22579 if { (ac_try="$ac_compile"
22580 case "(($ac_try" in
22581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22582 *) ac_try_echo=$ac_try;;
22583 esac
22584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22585 (eval "$ac_compile") 2>conftest.er1
22586 ac_status=$?
22587 grep -v '^ *+' conftest.er1 >conftest.err
22588 rm -f conftest.er1
22589 cat conftest.err >&5
22590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22591 (exit $ac_status); } && {
22592 test -z "$ac_c_werror_flag" ||
22593 test ! -s conftest.err
22594 } && test -s conftest.$ac_objext; then
22595 ac_hi=-1 ac_mid=-1
22596 while :; do
22597 cat >conftest.$ac_ext <<_ACEOF
22598 /* confdefs.h. */
22599 _ACEOF
22600 cat confdefs.h >>conftest.$ac_ext
22601 cat >>conftest.$ac_ext <<_ACEOF
22602 /* end confdefs.h. */
22603 $ac_includes_default
22604 typedef long long ac__type_sizeof_;
22605 int
22606 main ()
22607 {
22608 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22609 test_array [0] = 0
22610
22611 ;
22612 return 0;
22613 }
22614 _ACEOF
22615 rm -f conftest.$ac_objext
22616 if { (ac_try="$ac_compile"
22617 case "(($ac_try" in
22618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22619 *) ac_try_echo=$ac_try;;
22620 esac
22621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22622 (eval "$ac_compile") 2>conftest.er1
22623 ac_status=$?
22624 grep -v '^ *+' conftest.er1 >conftest.err
22625 rm -f conftest.er1
22626 cat conftest.err >&5
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); } && {
22629 test -z "$ac_c_werror_flag" ||
22630 test ! -s conftest.err
22631 } && test -s conftest.$ac_objext; then
22632 ac_lo=$ac_mid; break
22633 else
22634 echo "$as_me: failed program was:" >&5
22635 sed 's/^/| /' conftest.$ac_ext >&5
22636
22637 ac_hi=`expr '(' $ac_mid ')' - 1`
22638 if test $ac_mid -le $ac_hi; then
22639 ac_lo= ac_hi=
22640 break
22641 fi
22642 ac_mid=`expr 2 '*' $ac_mid`
22643 fi
22644
22645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22646 done
22647 else
22648 echo "$as_me: failed program was:" >&5
22649 sed 's/^/| /' conftest.$ac_ext >&5
22650
22651 ac_lo= ac_hi=
22652 fi
22653
22654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22655 fi
22656
22657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22658 # Binary search between lo and hi bounds.
22659 while test "x$ac_lo" != "x$ac_hi"; do
22660 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22661 cat >conftest.$ac_ext <<_ACEOF
22662 /* confdefs.h. */
22663 _ACEOF
22664 cat confdefs.h >>conftest.$ac_ext
22665 cat >>conftest.$ac_ext <<_ACEOF
22666 /* end confdefs.h. */
22667 $ac_includes_default
22668 typedef long long ac__type_sizeof_;
22669 int
22670 main ()
22671 {
22672 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22673 test_array [0] = 0
22674
22675 ;
22676 return 0;
22677 }
22678 _ACEOF
22679 rm -f conftest.$ac_objext
22680 if { (ac_try="$ac_compile"
22681 case "(($ac_try" in
22682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22683 *) ac_try_echo=$ac_try;;
22684 esac
22685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22686 (eval "$ac_compile") 2>conftest.er1
22687 ac_status=$?
22688 grep -v '^ *+' conftest.er1 >conftest.err
22689 rm -f conftest.er1
22690 cat conftest.err >&5
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); } && {
22693 test -z "$ac_c_werror_flag" ||
22694 test ! -s conftest.err
22695 } && test -s conftest.$ac_objext; then
22696 ac_hi=$ac_mid
22697 else
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.$ac_ext >&5
22700
22701 ac_lo=`expr '(' $ac_mid ')' + 1`
22702 fi
22703
22704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22705 done
22706 case $ac_lo in
22707 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22708 '') if test "$ac_cv_type_long_long" = yes; then
22709 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22710 See \`config.log' for more details." >&5
22711 echo "$as_me: error: cannot compute sizeof (long long)
22712 See \`config.log' for more details." >&2;}
22713 { (exit 77); exit 77; }; }
22714 else
22715 ac_cv_sizeof_long_long=0
22716 fi ;;
22717 esac
22718 else
22719 cat >conftest.$ac_ext <<_ACEOF
22720 /* confdefs.h. */
22721 _ACEOF
22722 cat confdefs.h >>conftest.$ac_ext
22723 cat >>conftest.$ac_ext <<_ACEOF
22724 /* end confdefs.h. */
22725 $ac_includes_default
22726 typedef long long ac__type_sizeof_;
22727 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22728 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22729 #include <stdio.h>
22730 #include <stdlib.h>
22731 int
22732 main ()
22733 {
22734
22735 FILE *f = fopen ("conftest.val", "w");
22736 if (! f)
22737 return 1;
22738 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22739 {
22740 long int i = longval ();
22741 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22742 return 1;
22743 fprintf (f, "%ld\n", i);
22744 }
22745 else
22746 {
22747 unsigned long int i = ulongval ();
22748 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22749 return 1;
22750 fprintf (f, "%lu\n", i);
22751 }
22752 return ferror (f) || fclose (f) != 0;
22753
22754 ;
22755 return 0;
22756 }
22757 _ACEOF
22758 rm -f conftest$ac_exeext
22759 if { (ac_try="$ac_link"
22760 case "(($ac_try" in
22761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22762 *) ac_try_echo=$ac_try;;
22763 esac
22764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22765 (eval "$ac_link") 2>&5
22766 ac_status=$?
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22769 { (case "(($ac_try" in
22770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22771 *) ac_try_echo=$ac_try;;
22772 esac
22773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22774 (eval "$ac_try") 2>&5
22775 ac_status=$?
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); }; }; then
22778 ac_cv_sizeof_long_long=`cat conftest.val`
22779 else
22780 echo "$as_me: program exited with status $ac_status" >&5
22781 echo "$as_me: failed program was:" >&5
22782 sed 's/^/| /' conftest.$ac_ext >&5
22783
22784 ( exit $ac_status )
22785 if test "$ac_cv_type_long_long" = yes; then
22786 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22787 See \`config.log' for more details." >&5
22788 echo "$as_me: error: cannot compute sizeof (long long)
22789 See \`config.log' for more details." >&2;}
22790 { (exit 77); exit 77; }; }
22791 else
22792 ac_cv_sizeof_long_long=0
22793 fi
22794 fi
22795 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22796 fi
22797 rm -f conftest.val
22798 fi
22799 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22800 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22801
22802
22803
22804 cat >>confdefs.h <<_ACEOF
22805 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22806 _ACEOF
22807
22808
22809 ;;
22810 *-hp-hpux* )
22811 { echo "$as_me:$LINENO: checking for long long" >&5
22812 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22813 if test "${ac_cv_type_long_long+set}" = set; then
22814 echo $ECHO_N "(cached) $ECHO_C" >&6
22815 else
22816 cat >conftest.$ac_ext <<_ACEOF
22817 /* confdefs.h. */
22818 _ACEOF
22819 cat confdefs.h >>conftest.$ac_ext
22820 cat >>conftest.$ac_ext <<_ACEOF
22821 /* end confdefs.h. */
22822 $ac_includes_default
22823 typedef long long ac__type_new_;
22824 int
22825 main ()
22826 {
22827 if ((ac__type_new_ *) 0)
22828 return 0;
22829 if (sizeof (ac__type_new_))
22830 return 0;
22831 ;
22832 return 0;
22833 }
22834 _ACEOF
22835 rm -f conftest.$ac_objext
22836 if { (ac_try="$ac_compile"
22837 case "(($ac_try" in
22838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22839 *) ac_try_echo=$ac_try;;
22840 esac
22841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22842 (eval "$ac_compile") 2>conftest.er1
22843 ac_status=$?
22844 grep -v '^ *+' conftest.er1 >conftest.err
22845 rm -f conftest.er1
22846 cat conftest.err >&5
22847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848 (exit $ac_status); } && {
22849 test -z "$ac_c_werror_flag" ||
22850 test ! -s conftest.err
22851 } && test -s conftest.$ac_objext; then
22852 ac_cv_type_long_long=yes
22853 else
22854 echo "$as_me: failed program was:" >&5
22855 sed 's/^/| /' conftest.$ac_ext >&5
22856
22857 ac_cv_type_long_long=no
22858 fi
22859
22860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22861 fi
22862 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22863 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22864
22865 # The cast to long int works around a bug in the HP C Compiler
22866 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22867 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22868 # This bug is HP SR number 8606223364.
22869 { echo "$as_me:$LINENO: checking size of long long" >&5
22870 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22871 if test "${ac_cv_sizeof_long_long+set}" = set; then
22872 echo $ECHO_N "(cached) $ECHO_C" >&6
22873 else
22874 if test "$cross_compiling" = yes; then
22875 # Depending upon the size, compute the lo and hi bounds.
22876 cat >conftest.$ac_ext <<_ACEOF
22877 /* confdefs.h. */
22878 _ACEOF
22879 cat confdefs.h >>conftest.$ac_ext
22880 cat >>conftest.$ac_ext <<_ACEOF
22881 /* end confdefs.h. */
22882 $ac_includes_default
22883 typedef long long ac__type_sizeof_;
22884 int
22885 main ()
22886 {
22887 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22888 test_array [0] = 0
22889
22890 ;
22891 return 0;
22892 }
22893 _ACEOF
22894 rm -f conftest.$ac_objext
22895 if { (ac_try="$ac_compile"
22896 case "(($ac_try" in
22897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22899 esac
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_compile") 2>conftest.er1
22902 ac_status=$?
22903 grep -v '^ *+' conftest.er1 >conftest.err
22904 rm -f conftest.er1
22905 cat conftest.err >&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } && {
22908 test -z "$ac_c_werror_flag" ||
22909 test ! -s conftest.err
22910 } && test -s conftest.$ac_objext; then
22911 ac_lo=0 ac_mid=0
22912 while :; do
22913 cat >conftest.$ac_ext <<_ACEOF
22914 /* confdefs.h. */
22915 _ACEOF
22916 cat confdefs.h >>conftest.$ac_ext
22917 cat >>conftest.$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22919 $ac_includes_default
22920 typedef long long ac__type_sizeof_;
22921 int
22922 main ()
22923 {
22924 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22925 test_array [0] = 0
22926
22927 ;
22928 return 0;
22929 }
22930 _ACEOF
22931 rm -f conftest.$ac_objext
22932 if { (ac_try="$ac_compile"
22933 case "(($ac_try" in
22934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22935 *) ac_try_echo=$ac_try;;
22936 esac
22937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22938 (eval "$ac_compile") 2>conftest.er1
22939 ac_status=$?
22940 grep -v '^ *+' conftest.er1 >conftest.err
22941 rm -f conftest.er1
22942 cat conftest.err >&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); } && {
22945 test -z "$ac_c_werror_flag" ||
22946 test ! -s conftest.err
22947 } && test -s conftest.$ac_objext; then
22948 ac_hi=$ac_mid; break
22949 else
22950 echo "$as_me: failed program was:" >&5
22951 sed 's/^/| /' conftest.$ac_ext >&5
22952
22953 ac_lo=`expr $ac_mid + 1`
22954 if test $ac_lo -le $ac_mid; then
22955 ac_lo= ac_hi=
22956 break
22957 fi
22958 ac_mid=`expr 2 '*' $ac_mid + 1`
22959 fi
22960
22961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22962 done
22963 else
22964 echo "$as_me: failed program was:" >&5
22965 sed 's/^/| /' conftest.$ac_ext >&5
22966
22967 cat >conftest.$ac_ext <<_ACEOF
22968 /* confdefs.h. */
22969 _ACEOF
22970 cat confdefs.h >>conftest.$ac_ext
22971 cat >>conftest.$ac_ext <<_ACEOF
22972 /* end confdefs.h. */
22973 $ac_includes_default
22974 typedef long long ac__type_sizeof_;
22975 int
22976 main ()
22977 {
22978 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22979 test_array [0] = 0
22980
22981 ;
22982 return 0;
22983 }
22984 _ACEOF
22985 rm -f conftest.$ac_objext
22986 if { (ac_try="$ac_compile"
22987 case "(($ac_try" in
22988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22989 *) ac_try_echo=$ac_try;;
22990 esac
22991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22992 (eval "$ac_compile") 2>conftest.er1
22993 ac_status=$?
22994 grep -v '^ *+' conftest.er1 >conftest.err
22995 rm -f conftest.er1
22996 cat conftest.err >&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); } && {
22999 test -z "$ac_c_werror_flag" ||
23000 test ! -s conftest.err
23001 } && test -s conftest.$ac_objext; then
23002 ac_hi=-1 ac_mid=-1
23003 while :; do
23004 cat >conftest.$ac_ext <<_ACEOF
23005 /* confdefs.h. */
23006 _ACEOF
23007 cat confdefs.h >>conftest.$ac_ext
23008 cat >>conftest.$ac_ext <<_ACEOF
23009 /* end confdefs.h. */
23010 $ac_includes_default
23011 typedef long long ac__type_sizeof_;
23012 int
23013 main ()
23014 {
23015 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23016 test_array [0] = 0
23017
23018 ;
23019 return 0;
23020 }
23021 _ACEOF
23022 rm -f conftest.$ac_objext
23023 if { (ac_try="$ac_compile"
23024 case "(($ac_try" in
23025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23026 *) ac_try_echo=$ac_try;;
23027 esac
23028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23029 (eval "$ac_compile") 2>conftest.er1
23030 ac_status=$?
23031 grep -v '^ *+' conftest.er1 >conftest.err
23032 rm -f conftest.er1
23033 cat conftest.err >&5
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); } && {
23036 test -z "$ac_c_werror_flag" ||
23037 test ! -s conftest.err
23038 } && test -s conftest.$ac_objext; then
23039 ac_lo=$ac_mid; break
23040 else
23041 echo "$as_me: failed program was:" >&5
23042 sed 's/^/| /' conftest.$ac_ext >&5
23043
23044 ac_hi=`expr '(' $ac_mid ')' - 1`
23045 if test $ac_mid -le $ac_hi; then
23046 ac_lo= ac_hi=
23047 break
23048 fi
23049 ac_mid=`expr 2 '*' $ac_mid`
23050 fi
23051
23052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23053 done
23054 else
23055 echo "$as_me: failed program was:" >&5
23056 sed 's/^/| /' conftest.$ac_ext >&5
23057
23058 ac_lo= ac_hi=
23059 fi
23060
23061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23062 fi
23063
23064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23065 # Binary search between lo and hi bounds.
23066 while test "x$ac_lo" != "x$ac_hi"; do
23067 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23068 cat >conftest.$ac_ext <<_ACEOF
23069 /* confdefs.h. */
23070 _ACEOF
23071 cat confdefs.h >>conftest.$ac_ext
23072 cat >>conftest.$ac_ext <<_ACEOF
23073 /* end confdefs.h. */
23074 $ac_includes_default
23075 typedef long long ac__type_sizeof_;
23076 int
23077 main ()
23078 {
23079 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23080 test_array [0] = 0
23081
23082 ;
23083 return 0;
23084 }
23085 _ACEOF
23086 rm -f conftest.$ac_objext
23087 if { (ac_try="$ac_compile"
23088 case "(($ac_try" in
23089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23090 *) ac_try_echo=$ac_try;;
23091 esac
23092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23093 (eval "$ac_compile") 2>conftest.er1
23094 ac_status=$?
23095 grep -v '^ *+' conftest.er1 >conftest.err
23096 rm -f conftest.er1
23097 cat conftest.err >&5
23098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23099 (exit $ac_status); } && {
23100 test -z "$ac_c_werror_flag" ||
23101 test ! -s conftest.err
23102 } && test -s conftest.$ac_objext; then
23103 ac_hi=$ac_mid
23104 else
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.$ac_ext >&5
23107
23108 ac_lo=`expr '(' $ac_mid ')' + 1`
23109 fi
23110
23111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23112 done
23113 case $ac_lo in
23114 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23115 '') if test "$ac_cv_type_long_long" = yes; then
23116 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23117 See \`config.log' for more details." >&5
23118 echo "$as_me: error: cannot compute sizeof (long long)
23119 See \`config.log' for more details." >&2;}
23120 { (exit 77); exit 77; }; }
23121 else
23122 ac_cv_sizeof_long_long=0
23123 fi ;;
23124 esac
23125 else
23126 cat >conftest.$ac_ext <<_ACEOF
23127 /* confdefs.h. */
23128 _ACEOF
23129 cat confdefs.h >>conftest.$ac_ext
23130 cat >>conftest.$ac_ext <<_ACEOF
23131 /* end confdefs.h. */
23132 $ac_includes_default
23133 typedef long long ac__type_sizeof_;
23134 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23135 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23136 #include <stdio.h>
23137 #include <stdlib.h>
23138 int
23139 main ()
23140 {
23141
23142 FILE *f = fopen ("conftest.val", "w");
23143 if (! f)
23144 return 1;
23145 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23146 {
23147 long int i = longval ();
23148 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23149 return 1;
23150 fprintf (f, "%ld\n", i);
23151 }
23152 else
23153 {
23154 unsigned long int i = ulongval ();
23155 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23156 return 1;
23157 fprintf (f, "%lu\n", i);
23158 }
23159 return ferror (f) || fclose (f) != 0;
23160
23161 ;
23162 return 0;
23163 }
23164 _ACEOF
23165 rm -f conftest$ac_exeext
23166 if { (ac_try="$ac_link"
23167 case "(($ac_try" in
23168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23169 *) ac_try_echo=$ac_try;;
23170 esac
23171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23172 (eval "$ac_link") 2>&5
23173 ac_status=$?
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23176 { (case "(($ac_try" in
23177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23178 *) ac_try_echo=$ac_try;;
23179 esac
23180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23181 (eval "$ac_try") 2>&5
23182 ac_status=$?
23183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184 (exit $ac_status); }; }; then
23185 ac_cv_sizeof_long_long=`cat conftest.val`
23186 else
23187 echo "$as_me: program exited with status $ac_status" >&5
23188 echo "$as_me: failed program was:" >&5
23189 sed 's/^/| /' conftest.$ac_ext >&5
23190
23191 ( exit $ac_status )
23192 if test "$ac_cv_type_long_long" = yes; then
23193 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23194 See \`config.log' for more details." >&5
23195 echo "$as_me: error: cannot compute sizeof (long long)
23196 See \`config.log' for more details." >&2;}
23197 { (exit 77); exit 77; }; }
23198 else
23199 ac_cv_sizeof_long_long=0
23200 fi
23201 fi
23202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23203 fi
23204 rm -f conftest.val
23205 fi
23206 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23207 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23208
23209
23210
23211 cat >>confdefs.h <<_ACEOF
23212 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23213 _ACEOF
23214
23215
23216 if test "$ac_cv_sizeof_long_long" != 0; then
23217 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23218 fi
23219 ;;
23220 * )
23221 { echo "$as_me:$LINENO: checking for long long" >&5
23222 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23223 if test "${ac_cv_type_long_long+set}" = set; then
23224 echo $ECHO_N "(cached) $ECHO_C" >&6
23225 else
23226 cat >conftest.$ac_ext <<_ACEOF
23227 /* confdefs.h. */
23228 _ACEOF
23229 cat confdefs.h >>conftest.$ac_ext
23230 cat >>conftest.$ac_ext <<_ACEOF
23231 /* end confdefs.h. */
23232 $ac_includes_default
23233 typedef long long ac__type_new_;
23234 int
23235 main ()
23236 {
23237 if ((ac__type_new_ *) 0)
23238 return 0;
23239 if (sizeof (ac__type_new_))
23240 return 0;
23241 ;
23242 return 0;
23243 }
23244 _ACEOF
23245 rm -f conftest.$ac_objext
23246 if { (ac_try="$ac_compile"
23247 case "(($ac_try" in
23248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23249 *) ac_try_echo=$ac_try;;
23250 esac
23251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23252 (eval "$ac_compile") 2>conftest.er1
23253 ac_status=$?
23254 grep -v '^ *+' conftest.er1 >conftest.err
23255 rm -f conftest.er1
23256 cat conftest.err >&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); } && {
23259 test -z "$ac_c_werror_flag" ||
23260 test ! -s conftest.err
23261 } && test -s conftest.$ac_objext; then
23262 ac_cv_type_long_long=yes
23263 else
23264 echo "$as_me: failed program was:" >&5
23265 sed 's/^/| /' conftest.$ac_ext >&5
23266
23267 ac_cv_type_long_long=no
23268 fi
23269
23270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23271 fi
23272 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23273 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23274
23275 # The cast to long int works around a bug in the HP C Compiler
23276 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23277 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23278 # This bug is HP SR number 8606223364.
23279 { echo "$as_me:$LINENO: checking size of long long" >&5
23280 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23281 if test "${ac_cv_sizeof_long_long+set}" = set; then
23282 echo $ECHO_N "(cached) $ECHO_C" >&6
23283 else
23284 if test "$cross_compiling" = yes; then
23285 # Depending upon the size, compute the lo and hi bounds.
23286 cat >conftest.$ac_ext <<_ACEOF
23287 /* confdefs.h. */
23288 _ACEOF
23289 cat confdefs.h >>conftest.$ac_ext
23290 cat >>conftest.$ac_ext <<_ACEOF
23291 /* end confdefs.h. */
23292 $ac_includes_default
23293 typedef long long ac__type_sizeof_;
23294 int
23295 main ()
23296 {
23297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23298 test_array [0] = 0
23299
23300 ;
23301 return 0;
23302 }
23303 _ACEOF
23304 rm -f conftest.$ac_objext
23305 if { (ac_try="$ac_compile"
23306 case "(($ac_try" in
23307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23308 *) ac_try_echo=$ac_try;;
23309 esac
23310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23311 (eval "$ac_compile") 2>conftest.er1
23312 ac_status=$?
23313 grep -v '^ *+' conftest.er1 >conftest.err
23314 rm -f conftest.er1
23315 cat conftest.err >&5
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); } && {
23318 test -z "$ac_c_werror_flag" ||
23319 test ! -s conftest.err
23320 } && test -s conftest.$ac_objext; then
23321 ac_lo=0 ac_mid=0
23322 while :; do
23323 cat >conftest.$ac_ext <<_ACEOF
23324 /* confdefs.h. */
23325 _ACEOF
23326 cat confdefs.h >>conftest.$ac_ext
23327 cat >>conftest.$ac_ext <<_ACEOF
23328 /* end confdefs.h. */
23329 $ac_includes_default
23330 typedef long long ac__type_sizeof_;
23331 int
23332 main ()
23333 {
23334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23335 test_array [0] = 0
23336
23337 ;
23338 return 0;
23339 }
23340 _ACEOF
23341 rm -f conftest.$ac_objext
23342 if { (ac_try="$ac_compile"
23343 case "(($ac_try" in
23344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23345 *) ac_try_echo=$ac_try;;
23346 esac
23347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23348 (eval "$ac_compile") 2>conftest.er1
23349 ac_status=$?
23350 grep -v '^ *+' conftest.er1 >conftest.err
23351 rm -f conftest.er1
23352 cat conftest.err >&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } && {
23355 test -z "$ac_c_werror_flag" ||
23356 test ! -s conftest.err
23357 } && test -s conftest.$ac_objext; then
23358 ac_hi=$ac_mid; break
23359 else
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.$ac_ext >&5
23362
23363 ac_lo=`expr $ac_mid + 1`
23364 if test $ac_lo -le $ac_mid; then
23365 ac_lo= ac_hi=
23366 break
23367 fi
23368 ac_mid=`expr 2 '*' $ac_mid + 1`
23369 fi
23370
23371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23372 done
23373 else
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.$ac_ext >&5
23376
23377 cat >conftest.$ac_ext <<_ACEOF
23378 /* confdefs.h. */
23379 _ACEOF
23380 cat confdefs.h >>conftest.$ac_ext
23381 cat >>conftest.$ac_ext <<_ACEOF
23382 /* end confdefs.h. */
23383 $ac_includes_default
23384 typedef long long ac__type_sizeof_;
23385 int
23386 main ()
23387 {
23388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23389 test_array [0] = 0
23390
23391 ;
23392 return 0;
23393 }
23394 _ACEOF
23395 rm -f conftest.$ac_objext
23396 if { (ac_try="$ac_compile"
23397 case "(($ac_try" in
23398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23399 *) ac_try_echo=$ac_try;;
23400 esac
23401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23402 (eval "$ac_compile") 2>conftest.er1
23403 ac_status=$?
23404 grep -v '^ *+' conftest.er1 >conftest.err
23405 rm -f conftest.er1
23406 cat conftest.err >&5
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); } && {
23409 test -z "$ac_c_werror_flag" ||
23410 test ! -s conftest.err
23411 } && test -s conftest.$ac_objext; then
23412 ac_hi=-1 ac_mid=-1
23413 while :; do
23414 cat >conftest.$ac_ext <<_ACEOF
23415 /* confdefs.h. */
23416 _ACEOF
23417 cat confdefs.h >>conftest.$ac_ext
23418 cat >>conftest.$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23420 $ac_includes_default
23421 typedef long long ac__type_sizeof_;
23422 int
23423 main ()
23424 {
23425 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23426 test_array [0] = 0
23427
23428 ;
23429 return 0;
23430 }
23431 _ACEOF
23432 rm -f conftest.$ac_objext
23433 if { (ac_try="$ac_compile"
23434 case "(($ac_try" in
23435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23436 *) ac_try_echo=$ac_try;;
23437 esac
23438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23439 (eval "$ac_compile") 2>conftest.er1
23440 ac_status=$?
23441 grep -v '^ *+' conftest.er1 >conftest.err
23442 rm -f conftest.er1
23443 cat conftest.err >&5
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); } && {
23446 test -z "$ac_c_werror_flag" ||
23447 test ! -s conftest.err
23448 } && test -s conftest.$ac_objext; then
23449 ac_lo=$ac_mid; break
23450 else
23451 echo "$as_me: failed program was:" >&5
23452 sed 's/^/| /' conftest.$ac_ext >&5
23453
23454 ac_hi=`expr '(' $ac_mid ')' - 1`
23455 if test $ac_mid -le $ac_hi; then
23456 ac_lo= ac_hi=
23457 break
23458 fi
23459 ac_mid=`expr 2 '*' $ac_mid`
23460 fi
23461
23462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23463 done
23464 else
23465 echo "$as_me: failed program was:" >&5
23466 sed 's/^/| /' conftest.$ac_ext >&5
23467
23468 ac_lo= ac_hi=
23469 fi
23470
23471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23472 fi
23473
23474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23475 # Binary search between lo and hi bounds.
23476 while test "x$ac_lo" != "x$ac_hi"; do
23477 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23478 cat >conftest.$ac_ext <<_ACEOF
23479 /* confdefs.h. */
23480 _ACEOF
23481 cat confdefs.h >>conftest.$ac_ext
23482 cat >>conftest.$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23484 $ac_includes_default
23485 typedef long long ac__type_sizeof_;
23486 int
23487 main ()
23488 {
23489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23490 test_array [0] = 0
23491
23492 ;
23493 return 0;
23494 }
23495 _ACEOF
23496 rm -f conftest.$ac_objext
23497 if { (ac_try="$ac_compile"
23498 case "(($ac_try" in
23499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23500 *) ac_try_echo=$ac_try;;
23501 esac
23502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23503 (eval "$ac_compile") 2>conftest.er1
23504 ac_status=$?
23505 grep -v '^ *+' conftest.er1 >conftest.err
23506 rm -f conftest.er1
23507 cat conftest.err >&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); } && {
23510 test -z "$ac_c_werror_flag" ||
23511 test ! -s conftest.err
23512 } && test -s conftest.$ac_objext; then
23513 ac_hi=$ac_mid
23514 else
23515 echo "$as_me: failed program was:" >&5
23516 sed 's/^/| /' conftest.$ac_ext >&5
23517
23518 ac_lo=`expr '(' $ac_mid ')' + 1`
23519 fi
23520
23521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23522 done
23523 case $ac_lo in
23524 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23525 '') if test "$ac_cv_type_long_long" = yes; then
23526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23527 See \`config.log' for more details." >&5
23528 echo "$as_me: error: cannot compute sizeof (long long)
23529 See \`config.log' for more details." >&2;}
23530 { (exit 77); exit 77; }; }
23531 else
23532 ac_cv_sizeof_long_long=0
23533 fi ;;
23534 esac
23535 else
23536 cat >conftest.$ac_ext <<_ACEOF
23537 /* confdefs.h. */
23538 _ACEOF
23539 cat confdefs.h >>conftest.$ac_ext
23540 cat >>conftest.$ac_ext <<_ACEOF
23541 /* end confdefs.h. */
23542 $ac_includes_default
23543 typedef long long ac__type_sizeof_;
23544 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23545 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23546 #include <stdio.h>
23547 #include <stdlib.h>
23548 int
23549 main ()
23550 {
23551
23552 FILE *f = fopen ("conftest.val", "w");
23553 if (! f)
23554 return 1;
23555 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23556 {
23557 long int i = longval ();
23558 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23559 return 1;
23560 fprintf (f, "%ld\n", i);
23561 }
23562 else
23563 {
23564 unsigned long int i = ulongval ();
23565 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23566 return 1;
23567 fprintf (f, "%lu\n", i);
23568 }
23569 return ferror (f) || fclose (f) != 0;
23570
23571 ;
23572 return 0;
23573 }
23574 _ACEOF
23575 rm -f conftest$ac_exeext
23576 if { (ac_try="$ac_link"
23577 case "(($ac_try" in
23578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23579 *) ac_try_echo=$ac_try;;
23580 esac
23581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23582 (eval "$ac_link") 2>&5
23583 ac_status=$?
23584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23585 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23586 { (case "(($ac_try" in
23587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23588 *) ac_try_echo=$ac_try;;
23589 esac
23590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23591 (eval "$ac_try") 2>&5
23592 ac_status=$?
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); }; }; then
23595 ac_cv_sizeof_long_long=`cat conftest.val`
23596 else
23597 echo "$as_me: program exited with status $ac_status" >&5
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23600
23601 ( exit $ac_status )
23602 if test "$ac_cv_type_long_long" = yes; then
23603 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23604 See \`config.log' for more details." >&5
23605 echo "$as_me: error: cannot compute sizeof (long long)
23606 See \`config.log' for more details." >&2;}
23607 { (exit 77); exit 77; }; }
23608 else
23609 ac_cv_sizeof_long_long=0
23610 fi
23611 fi
23612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23613 fi
23614 rm -f conftest.val
23615 fi
23616 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23617 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23618
23619
23620
23621 cat >>confdefs.h <<_ACEOF
23622 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23623 _ACEOF
23624
23625
23626 esac
23627
23628 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23629 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23630 if test "${ac_cv_type_wchar_t+set}" = set; then
23631 echo $ECHO_N "(cached) $ECHO_C" >&6
23632 else
23633 cat >conftest.$ac_ext <<_ACEOF
23634 /* confdefs.h. */
23635 _ACEOF
23636 cat confdefs.h >>conftest.$ac_ext
23637 cat >>conftest.$ac_ext <<_ACEOF
23638 /* end confdefs.h. */
23639
23640 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23641 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23642 # error "fake wchar_t"
23643 #endif
23644 #ifdef HAVE_WCHAR_H
23645 # ifdef __CYGWIN__
23646 # include <stddef.h>
23647 # endif
23648 # include <wchar.h>
23649 #endif
23650 #ifdef HAVE_STDLIB_H
23651 # include <stdlib.h>
23652 #endif
23653 #include <stdio.h>
23654
23655
23656
23657 typedef wchar_t ac__type_new_;
23658 int
23659 main ()
23660 {
23661 if ((ac__type_new_ *) 0)
23662 return 0;
23663 if (sizeof (ac__type_new_))
23664 return 0;
23665 ;
23666 return 0;
23667 }
23668 _ACEOF
23669 rm -f conftest.$ac_objext
23670 if { (ac_try="$ac_compile"
23671 case "(($ac_try" in
23672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23673 *) ac_try_echo=$ac_try;;
23674 esac
23675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23676 (eval "$ac_compile") 2>conftest.er1
23677 ac_status=$?
23678 grep -v '^ *+' conftest.er1 >conftest.err
23679 rm -f conftest.er1
23680 cat conftest.err >&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); } && {
23683 test -z "$ac_c_werror_flag" ||
23684 test ! -s conftest.err
23685 } && test -s conftest.$ac_objext; then
23686 ac_cv_type_wchar_t=yes
23687 else
23688 echo "$as_me: failed program was:" >&5
23689 sed 's/^/| /' conftest.$ac_ext >&5
23690
23691 ac_cv_type_wchar_t=no
23692 fi
23693
23694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23695 fi
23696 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23697 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23698
23699 # The cast to long int works around a bug in the HP C Compiler
23700 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23701 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23702 # This bug is HP SR number 8606223364.
23703 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23704 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23705 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23706 echo $ECHO_N "(cached) $ECHO_C" >&6
23707 else
23708 if test "$cross_compiling" = yes; then
23709 # Depending upon the size, compute the lo and hi bounds.
23710 cat >conftest.$ac_ext <<_ACEOF
23711 /* confdefs.h. */
23712 _ACEOF
23713 cat confdefs.h >>conftest.$ac_ext
23714 cat >>conftest.$ac_ext <<_ACEOF
23715 /* end confdefs.h. */
23716
23717 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23718 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23719 # error "fake wchar_t"
23720 #endif
23721 #ifdef HAVE_WCHAR_H
23722 # ifdef __CYGWIN__
23723 # include <stddef.h>
23724 # endif
23725 # include <wchar.h>
23726 #endif
23727 #ifdef HAVE_STDLIB_H
23728 # include <stdlib.h>
23729 #endif
23730 #include <stdio.h>
23731
23732
23733
23734 typedef wchar_t ac__type_sizeof_;
23735 int
23736 main ()
23737 {
23738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23739 test_array [0] = 0
23740
23741 ;
23742 return 0;
23743 }
23744 _ACEOF
23745 rm -f conftest.$ac_objext
23746 if { (ac_try="$ac_compile"
23747 case "(($ac_try" in
23748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23749 *) ac_try_echo=$ac_try;;
23750 esac
23751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23752 (eval "$ac_compile") 2>conftest.er1
23753 ac_status=$?
23754 grep -v '^ *+' conftest.er1 >conftest.err
23755 rm -f conftest.er1
23756 cat conftest.err >&5
23757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23758 (exit $ac_status); } && {
23759 test -z "$ac_c_werror_flag" ||
23760 test ! -s conftest.err
23761 } && test -s conftest.$ac_objext; then
23762 ac_lo=0 ac_mid=0
23763 while :; do
23764 cat >conftest.$ac_ext <<_ACEOF
23765 /* confdefs.h. */
23766 _ACEOF
23767 cat confdefs.h >>conftest.$ac_ext
23768 cat >>conftest.$ac_ext <<_ACEOF
23769 /* end confdefs.h. */
23770
23771 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23772 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23773 # error "fake wchar_t"
23774 #endif
23775 #ifdef HAVE_WCHAR_H
23776 # ifdef __CYGWIN__
23777 # include <stddef.h>
23778 # endif
23779 # include <wchar.h>
23780 #endif
23781 #ifdef HAVE_STDLIB_H
23782 # include <stdlib.h>
23783 #endif
23784 #include <stdio.h>
23785
23786
23787
23788 typedef wchar_t ac__type_sizeof_;
23789 int
23790 main ()
23791 {
23792 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23793 test_array [0] = 0
23794
23795 ;
23796 return 0;
23797 }
23798 _ACEOF
23799 rm -f conftest.$ac_objext
23800 if { (ac_try="$ac_compile"
23801 case "(($ac_try" in
23802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23803 *) ac_try_echo=$ac_try;;
23804 esac
23805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23806 (eval "$ac_compile") 2>conftest.er1
23807 ac_status=$?
23808 grep -v '^ *+' conftest.er1 >conftest.err
23809 rm -f conftest.er1
23810 cat conftest.err >&5
23811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23812 (exit $ac_status); } && {
23813 test -z "$ac_c_werror_flag" ||
23814 test ! -s conftest.err
23815 } && test -s conftest.$ac_objext; then
23816 ac_hi=$ac_mid; break
23817 else
23818 echo "$as_me: failed program was:" >&5
23819 sed 's/^/| /' conftest.$ac_ext >&5
23820
23821 ac_lo=`expr $ac_mid + 1`
23822 if test $ac_lo -le $ac_mid; then
23823 ac_lo= ac_hi=
23824 break
23825 fi
23826 ac_mid=`expr 2 '*' $ac_mid + 1`
23827 fi
23828
23829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23830 done
23831 else
23832 echo "$as_me: failed program was:" >&5
23833 sed 's/^/| /' conftest.$ac_ext >&5
23834
23835 cat >conftest.$ac_ext <<_ACEOF
23836 /* confdefs.h. */
23837 _ACEOF
23838 cat confdefs.h >>conftest.$ac_ext
23839 cat >>conftest.$ac_ext <<_ACEOF
23840 /* end confdefs.h. */
23841
23842 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23843 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23844 # error "fake wchar_t"
23845 #endif
23846 #ifdef HAVE_WCHAR_H
23847 # ifdef __CYGWIN__
23848 # include <stddef.h>
23849 # endif
23850 # include <wchar.h>
23851 #endif
23852 #ifdef HAVE_STDLIB_H
23853 # include <stdlib.h>
23854 #endif
23855 #include <stdio.h>
23856
23857
23858
23859 typedef wchar_t ac__type_sizeof_;
23860 int
23861 main ()
23862 {
23863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23864 test_array [0] = 0
23865
23866 ;
23867 return 0;
23868 }
23869 _ACEOF
23870 rm -f conftest.$ac_objext
23871 if { (ac_try="$ac_compile"
23872 case "(($ac_try" in
23873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23874 *) ac_try_echo=$ac_try;;
23875 esac
23876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23877 (eval "$ac_compile") 2>conftest.er1
23878 ac_status=$?
23879 grep -v '^ *+' conftest.er1 >conftest.err
23880 rm -f conftest.er1
23881 cat conftest.err >&5
23882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23883 (exit $ac_status); } && {
23884 test -z "$ac_c_werror_flag" ||
23885 test ! -s conftest.err
23886 } && test -s conftest.$ac_objext; then
23887 ac_hi=-1 ac_mid=-1
23888 while :; do
23889 cat >conftest.$ac_ext <<_ACEOF
23890 /* confdefs.h. */
23891 _ACEOF
23892 cat confdefs.h >>conftest.$ac_ext
23893 cat >>conftest.$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23895
23896 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23897 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23898 # error "fake wchar_t"
23899 #endif
23900 #ifdef HAVE_WCHAR_H
23901 # ifdef __CYGWIN__
23902 # include <stddef.h>
23903 # endif
23904 # include <wchar.h>
23905 #endif
23906 #ifdef HAVE_STDLIB_H
23907 # include <stdlib.h>
23908 #endif
23909 #include <stdio.h>
23910
23911
23912
23913 typedef wchar_t ac__type_sizeof_;
23914 int
23915 main ()
23916 {
23917 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23918 test_array [0] = 0
23919
23920 ;
23921 return 0;
23922 }
23923 _ACEOF
23924 rm -f conftest.$ac_objext
23925 if { (ac_try="$ac_compile"
23926 case "(($ac_try" in
23927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23928 *) ac_try_echo=$ac_try;;
23929 esac
23930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23931 (eval "$ac_compile") 2>conftest.er1
23932 ac_status=$?
23933 grep -v '^ *+' conftest.er1 >conftest.err
23934 rm -f conftest.er1
23935 cat conftest.err >&5
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); } && {
23938 test -z "$ac_c_werror_flag" ||
23939 test ! -s conftest.err
23940 } && test -s conftest.$ac_objext; then
23941 ac_lo=$ac_mid; break
23942 else
23943 echo "$as_me: failed program was:" >&5
23944 sed 's/^/| /' conftest.$ac_ext >&5
23945
23946 ac_hi=`expr '(' $ac_mid ')' - 1`
23947 if test $ac_mid -le $ac_hi; then
23948 ac_lo= ac_hi=
23949 break
23950 fi
23951 ac_mid=`expr 2 '*' $ac_mid`
23952 fi
23953
23954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23955 done
23956 else
23957 echo "$as_me: failed program was:" >&5
23958 sed 's/^/| /' conftest.$ac_ext >&5
23959
23960 ac_lo= ac_hi=
23961 fi
23962
23963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23964 fi
23965
23966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23967 # Binary search between lo and hi bounds.
23968 while test "x$ac_lo" != "x$ac_hi"; do
23969 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23970 cat >conftest.$ac_ext <<_ACEOF
23971 /* confdefs.h. */
23972 _ACEOF
23973 cat confdefs.h >>conftest.$ac_ext
23974 cat >>conftest.$ac_ext <<_ACEOF
23975 /* end confdefs.h. */
23976
23977 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23978 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23979 # error "fake wchar_t"
23980 #endif
23981 #ifdef HAVE_WCHAR_H
23982 # ifdef __CYGWIN__
23983 # include <stddef.h>
23984 # endif
23985 # include <wchar.h>
23986 #endif
23987 #ifdef HAVE_STDLIB_H
23988 # include <stdlib.h>
23989 #endif
23990 #include <stdio.h>
23991
23992
23993
23994 typedef wchar_t ac__type_sizeof_;
23995 int
23996 main ()
23997 {
23998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23999 test_array [0] = 0
24000
24001 ;
24002 return 0;
24003 }
24004 _ACEOF
24005 rm -f conftest.$ac_objext
24006 if { (ac_try="$ac_compile"
24007 case "(($ac_try" in
24008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24009 *) ac_try_echo=$ac_try;;
24010 esac
24011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24012 (eval "$ac_compile") 2>conftest.er1
24013 ac_status=$?
24014 grep -v '^ *+' conftest.er1 >conftest.err
24015 rm -f conftest.er1
24016 cat conftest.err >&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } && {
24019 test -z "$ac_c_werror_flag" ||
24020 test ! -s conftest.err
24021 } && test -s conftest.$ac_objext; then
24022 ac_hi=$ac_mid
24023 else
24024 echo "$as_me: failed program was:" >&5
24025 sed 's/^/| /' conftest.$ac_ext >&5
24026
24027 ac_lo=`expr '(' $ac_mid ')' + 1`
24028 fi
24029
24030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24031 done
24032 case $ac_lo in
24033 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24034 '') if test "$ac_cv_type_wchar_t" = yes; then
24035 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24036 See \`config.log' for more details." >&5
24037 echo "$as_me: error: cannot compute sizeof (wchar_t)
24038 See \`config.log' for more details." >&2;}
24039 { (exit 77); exit 77; }; }
24040 else
24041 ac_cv_sizeof_wchar_t=0
24042 fi ;;
24043 esac
24044 else
24045 cat >conftest.$ac_ext <<_ACEOF
24046 /* confdefs.h. */
24047 _ACEOF
24048 cat confdefs.h >>conftest.$ac_ext
24049 cat >>conftest.$ac_ext <<_ACEOF
24050 /* end confdefs.h. */
24051
24052 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24053 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24054 # error "fake wchar_t"
24055 #endif
24056 #ifdef HAVE_WCHAR_H
24057 # ifdef __CYGWIN__
24058 # include <stddef.h>
24059 # endif
24060 # include <wchar.h>
24061 #endif
24062 #ifdef HAVE_STDLIB_H
24063 # include <stdlib.h>
24064 #endif
24065 #include <stdio.h>
24066
24067
24068
24069 typedef wchar_t ac__type_sizeof_;
24070 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24071 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24072 #include <stdio.h>
24073 #include <stdlib.h>
24074 int
24075 main ()
24076 {
24077
24078 FILE *f = fopen ("conftest.val", "w");
24079 if (! f)
24080 return 1;
24081 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24082 {
24083 long int i = longval ();
24084 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24085 return 1;
24086 fprintf (f, "%ld\n", i);
24087 }
24088 else
24089 {
24090 unsigned long int i = ulongval ();
24091 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24092 return 1;
24093 fprintf (f, "%lu\n", i);
24094 }
24095 return ferror (f) || fclose (f) != 0;
24096
24097 ;
24098 return 0;
24099 }
24100 _ACEOF
24101 rm -f conftest$ac_exeext
24102 if { (ac_try="$ac_link"
24103 case "(($ac_try" in
24104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24105 *) ac_try_echo=$ac_try;;
24106 esac
24107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24108 (eval "$ac_link") 2>&5
24109 ac_status=$?
24110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24112 { (case "(($ac_try" in
24113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24114 *) ac_try_echo=$ac_try;;
24115 esac
24116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24117 (eval "$ac_try") 2>&5
24118 ac_status=$?
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); }; }; then
24121 ac_cv_sizeof_wchar_t=`cat conftest.val`
24122 else
24123 echo "$as_me: program exited with status $ac_status" >&5
24124 echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.$ac_ext >&5
24126
24127 ( exit $ac_status )
24128 if test "$ac_cv_type_wchar_t" = yes; then
24129 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24130 See \`config.log' for more details." >&5
24131 echo "$as_me: error: cannot compute sizeof (wchar_t)
24132 See \`config.log' for more details." >&2;}
24133 { (exit 77); exit 77; }; }
24134 else
24135 ac_cv_sizeof_wchar_t=0
24136 fi
24137 fi
24138 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24139 fi
24140 rm -f conftest.val
24141 fi
24142 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24143 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24144
24145
24146
24147 cat >>confdefs.h <<_ACEOF
24148 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24149 _ACEOF
24150
24151
24152 if test "$ac_cv_sizeof_wchar_t" = 0; then
24153 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24154 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24155 { (exit 1); exit 1; }; }
24156 fi
24157 cat >>confdefs.h <<\_ACEOF
24158 #define wxUSE_WCHAR_T 1
24159 _ACEOF
24160
24161
24162 { echo "$as_me:$LINENO: checking for va_copy" >&5
24163 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24164 if test "${wx_cv_func_va_copy+set}" = set; then
24165 echo $ECHO_N "(cached) $ECHO_C" >&6
24166 else
24167
24168 ac_ext=cpp
24169 ac_cpp='$CXXCPP $CPPFLAGS'
24170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24173
24174 cat >conftest.$ac_ext <<_ACEOF
24175
24176 #include <stdarg.h>
24177 void foo(char *f, ...)
24178 {
24179 va_list ap1, ap2;
24180 va_start(ap1, f);
24181 va_copy(ap2, ap1);
24182 va_end(ap2);
24183 va_end(ap1);
24184 }
24185 int main()
24186 {
24187 foo("hi", 17);
24188 return 0;
24189 }
24190 _ACEOF
24191 rm -f conftest.$ac_objext conftest$ac_exeext
24192 if { (ac_try="$ac_link"
24193 case "(($ac_try" in
24194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24195 *) ac_try_echo=$ac_try;;
24196 esac
24197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24198 (eval "$ac_link") 2>conftest.er1
24199 ac_status=$?
24200 grep -v '^ *+' conftest.er1 >conftest.err
24201 rm -f conftest.er1
24202 cat conftest.err >&5
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); } && {
24205 test -z "$ac_cxx_werror_flag" ||
24206 test ! -s conftest.err
24207 } && test -s conftest$ac_exeext &&
24208 $as_test_x conftest$ac_exeext; then
24209 wx_cv_func_va_copy=yes
24210 else
24211 echo "$as_me: failed program was:" >&5
24212 sed 's/^/| /' conftest.$ac_ext >&5
24213
24214 wx_cv_func_va_copy=no
24215
24216 fi
24217
24218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24219 conftest$ac_exeext conftest.$ac_ext
24220 ac_ext=c
24221 ac_cpp='$CPP $CPPFLAGS'
24222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24225
24226
24227
24228 fi
24229 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24230 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24231
24232 if test $wx_cv_func_va_copy = "yes"; then
24233 cat >>confdefs.h <<\_ACEOF
24234 #define HAVE_VA_COPY 1
24235 _ACEOF
24236
24237 else
24238 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24239 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24240 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24241 echo $ECHO_N "(cached) $ECHO_C" >&6
24242 else
24243
24244 if test "$cross_compiling" = yes; then
24245 wx_cv_type_va_list_lvalue=yes
24246
24247 else
24248 cat >conftest.$ac_ext <<_ACEOF
24249
24250 #include <stdarg.h>
24251 int foo(char *f, ...)
24252 {
24253 va_list ap1, ap2;
24254 va_start(ap1, f);
24255 ap2 = ap1;
24256 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24257 return 1;
24258 va_end(ap2);
24259 va_end(ap1);
24260 return 0;
24261 }
24262 int main()
24263 {
24264 return foo("hi", 17);
24265 }
24266 _ACEOF
24267 rm -f conftest$ac_exeext
24268 if { (ac_try="$ac_link"
24269 case "(($ac_try" in
24270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24271 *) ac_try_echo=$ac_try;;
24272 esac
24273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24274 (eval "$ac_link") 2>&5
24275 ac_status=$?
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24278 { (case "(($ac_try" in
24279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24280 *) ac_try_echo=$ac_try;;
24281 esac
24282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24283 (eval "$ac_try") 2>&5
24284 ac_status=$?
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); }; }; then
24287 wx_cv_type_va_list_lvalue=yes
24288 else
24289 echo "$as_me: program exited with status $ac_status" >&5
24290 echo "$as_me: failed program was:" >&5
24291 sed 's/^/| /' conftest.$ac_ext >&5
24292
24293 ( exit $ac_status )
24294 wx_cv_type_va_list_lvalue=no
24295 fi
24296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24297 fi
24298
24299
24300
24301
24302 fi
24303 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24304 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24305
24306 if test $wx_cv_type_va_list_lvalue != "yes"; then
24307 cat >>confdefs.h <<\_ACEOF
24308 #define VA_LIST_IS_ARRAY 1
24309 _ACEOF
24310
24311 fi
24312 fi
24313
24314 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24315
24316 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24317 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24318 if test "${wx_cv_have_variadic_macros+set}" = set; then
24319 echo $ECHO_N "(cached) $ECHO_C" >&6
24320 else
24321
24322 ac_ext=cpp
24323 ac_cpp='$CXXCPP $CPPFLAGS'
24324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24327
24328 cat >conftest.$ac_ext <<_ACEOF
24329 /* confdefs.h. */
24330 _ACEOF
24331 cat confdefs.h >>conftest.$ac_ext
24332 cat >>conftest.$ac_ext <<_ACEOF
24333 /* end confdefs.h. */
24334
24335 #include <stdio.h>
24336 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24337
24338 int
24339 main ()
24340 {
24341
24342 test("%s %d %p", "test", 1, 0);
24343
24344
24345 ;
24346 return 0;
24347 }
24348 _ACEOF
24349 rm -f conftest.$ac_objext
24350 if { (ac_try="$ac_compile"
24351 case "(($ac_try" in
24352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24353 *) ac_try_echo=$ac_try;;
24354 esac
24355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24356 (eval "$ac_compile") 2>conftest.er1
24357 ac_status=$?
24358 grep -v '^ *+' conftest.er1 >conftest.err
24359 rm -f conftest.er1
24360 cat conftest.err >&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } && {
24363 test -z "$ac_cxx_werror_flag" ||
24364 test ! -s conftest.err
24365 } && test -s conftest.$ac_objext; then
24366 wx_cv_have_variadic_macros=yes
24367 else
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.$ac_ext >&5
24370
24371 wx_cv_have_variadic_macros=no
24372
24373 fi
24374
24375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24376 ac_ext=c
24377 ac_cpp='$CPP $CPPFLAGS'
24378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24381
24382
24383
24384 fi
24385 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24386 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24387
24388 if test $wx_cv_have_variadic_macros = "yes"; then
24389 cat >>confdefs.h <<\_ACEOF
24390 #define HAVE_VARIADIC_MACROS 1
24391 _ACEOF
24392
24393 fi
24394
24395 fi
24396
24397 LARGEFILE_CPPFLAGS=
24398 # Check whether --enable-largefile was given.
24399 if test "${enable_largefile+set}" = set; then
24400 enableval=$enable_largefile;
24401 fi
24402
24403 if test "$enable_largefile" != no; then
24404 wx_largefile=no
24405
24406 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24407 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24408 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24409 echo $ECHO_N "(cached) $ECHO_C" >&6
24410 else
24411
24412 cat >conftest.$ac_ext <<_ACEOF
24413 /* confdefs.h. */
24414 _ACEOF
24415 cat confdefs.h >>conftest.$ac_ext
24416 cat >>conftest.$ac_ext <<_ACEOF
24417 /* end confdefs.h. */
24418 #define _FILE_OFFSET_BITS 64
24419 #include <sys/types.h>
24420 int
24421 main ()
24422 {
24423 typedef struct {
24424 unsigned int field: sizeof(off_t) == 8;
24425 } wxlf;
24426
24427 ;
24428 return 0;
24429 }
24430 _ACEOF
24431 rm -f conftest.$ac_objext
24432 if { (ac_try="$ac_compile"
24433 case "(($ac_try" in
24434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24435 *) ac_try_echo=$ac_try;;
24436 esac
24437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24438 (eval "$ac_compile") 2>conftest.er1
24439 ac_status=$?
24440 grep -v '^ *+' conftest.er1 >conftest.err
24441 rm -f conftest.er1
24442 cat conftest.err >&5
24443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24444 (exit $ac_status); } && {
24445 test -z "$ac_c_werror_flag" ||
24446 test ! -s conftest.err
24447 } && test -s conftest.$ac_objext; then
24448 ac_cv_sys_file_offset_bits=64
24449 else
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.$ac_ext >&5
24452
24453 ac_cv_sys_file_offset_bits=no
24454 fi
24455
24456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24457
24458
24459 fi
24460 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24461 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24462
24463 if test "$ac_cv_sys_file_offset_bits" != no; then
24464 wx_largefile=yes
24465 cat >>confdefs.h <<_ACEOF
24466 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24467 _ACEOF
24468
24469 fi
24470
24471 if test "x$wx_largefile" != "xyes"; then
24472
24473 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24474 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24475 if test "${ac_cv_sys_large_files+set}" = set; then
24476 echo $ECHO_N "(cached) $ECHO_C" >&6
24477 else
24478
24479 cat >conftest.$ac_ext <<_ACEOF
24480 /* confdefs.h. */
24481 _ACEOF
24482 cat confdefs.h >>conftest.$ac_ext
24483 cat >>conftest.$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24485 #define _LARGE_FILES 1
24486 #include <sys/types.h>
24487 int
24488 main ()
24489 {
24490 typedef struct {
24491 unsigned int field: sizeof(off_t) == 8;
24492 } wxlf;
24493
24494 ;
24495 return 0;
24496 }
24497 _ACEOF
24498 rm -f conftest.$ac_objext
24499 if { (ac_try="$ac_compile"
24500 case "(($ac_try" in
24501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24502 *) ac_try_echo=$ac_try;;
24503 esac
24504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24505 (eval "$ac_compile") 2>conftest.er1
24506 ac_status=$?
24507 grep -v '^ *+' conftest.er1 >conftest.err
24508 rm -f conftest.er1
24509 cat conftest.err >&5
24510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511 (exit $ac_status); } && {
24512 test -z "$ac_c_werror_flag" ||
24513 test ! -s conftest.err
24514 } && test -s conftest.$ac_objext; then
24515 ac_cv_sys_large_files=1
24516 else
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.$ac_ext >&5
24519
24520 ac_cv_sys_large_files=no
24521 fi
24522
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24524
24525
24526 fi
24527 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24528 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24529
24530 if test "$ac_cv_sys_large_files" != no; then
24531 wx_largefile=yes
24532 cat >>confdefs.h <<_ACEOF
24533 #define _LARGE_FILES $ac_cv_sys_large_files
24534 _ACEOF
24535
24536 fi
24537
24538 fi
24539
24540 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24541 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24542 if test "x$wx_largefile" = "xyes"; then
24543 cat >>confdefs.h <<\_ACEOF
24544 #define HAVE_LARGEFILE_SUPPORT 1
24545 _ACEOF
24546
24547 fi
24548 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24549 echo "${ECHO_T}$wx_largefile" >&6; }
24550 fi
24551
24552 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24553 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24554 elif test "$ac_cv_sys_large_files" = 1; then
24555 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24556 fi
24557
24558 if test -n "$LARGEFILE_CPPFLAGS"; then
24559 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24560
24561 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24562 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24563 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24564 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24565 echo $ECHO_N "(cached) $ECHO_C" >&6
24566 else
24567
24568 ac_ext=cpp
24569 ac_cpp='$CXXCPP $CPPFLAGS'
24570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24573
24574 cat >conftest.$ac_ext <<_ACEOF
24575 /* confdefs.h. */
24576 _ACEOF
24577 cat confdefs.h >>conftest.$ac_ext
24578 cat >>conftest.$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24580
24581 int
24582 main ()
24583 {
24584
24585 #ifndef __STDC_EXT__
24586 choke me
24587 #endif
24588
24589 ;
24590 return 0;
24591 }
24592 _ACEOF
24593 rm -f conftest.$ac_objext
24594 if { (ac_try="$ac_compile"
24595 case "(($ac_try" in
24596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24597 *) ac_try_echo=$ac_try;;
24598 esac
24599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24600 (eval "$ac_compile") 2>conftest.er1
24601 ac_status=$?
24602 grep -v '^ *+' conftest.er1 >conftest.err
24603 rm -f conftest.er1
24604 cat conftest.err >&5
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); } && {
24607 test -z "$ac_cxx_werror_flag" ||
24608 test ! -s conftest.err
24609 } && test -s conftest.$ac_objext; then
24610 wx_cv_STDC_EXT_required=no
24611 else
24612 echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.$ac_ext >&5
24614
24615 wx_cv_STDC_EXT_required=yes
24616
24617 fi
24618
24619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24620 ac_ext=c
24621 ac_cpp='$CPP $CPPFLAGS'
24622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24625
24626
24627
24628 fi
24629 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24630 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24631 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24632 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24633 fi
24634 fi
24635 fi
24636
24637 ac_ext=cpp
24638 ac_cpp='$CXXCPP $CPPFLAGS'
24639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24642
24643 old_CPPFLAGS="$CPPFLAGS"
24644 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24645 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24646 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24647 if test "${ac_cv_sys_largefile_source+set}" = set; then
24648 echo $ECHO_N "(cached) $ECHO_C" >&6
24649 else
24650 while :; do
24651 cat >conftest.$ac_ext <<_ACEOF
24652 /* confdefs.h. */
24653 _ACEOF
24654 cat confdefs.h >>conftest.$ac_ext
24655 cat >>conftest.$ac_ext <<_ACEOF
24656 /* end confdefs.h. */
24657 #include <sys/types.h> /* for off_t */
24658 #include <stdio.h>
24659 int
24660 main ()
24661 {
24662 int (*fp) (FILE *, off_t, int) = fseeko;
24663 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24664 ;
24665 return 0;
24666 }
24667 _ACEOF
24668 rm -f conftest.$ac_objext conftest$ac_exeext
24669 if { (ac_try="$ac_link"
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_link") 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_cxx_werror_flag" ||
24683 test ! -s conftest.err
24684 } && test -s conftest$ac_exeext &&
24685 $as_test_x conftest$ac_exeext; then
24686 ac_cv_sys_largefile_source=no; break
24687 else
24688 echo "$as_me: failed program was:" >&5
24689 sed 's/^/| /' conftest.$ac_ext >&5
24690
24691
24692 fi
24693
24694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24695 conftest$ac_exeext conftest.$ac_ext
24696 cat >conftest.$ac_ext <<_ACEOF
24697 /* confdefs.h. */
24698 _ACEOF
24699 cat confdefs.h >>conftest.$ac_ext
24700 cat >>conftest.$ac_ext <<_ACEOF
24701 /* end confdefs.h. */
24702 #define _LARGEFILE_SOURCE 1
24703 #include <sys/types.h> /* for off_t */
24704 #include <stdio.h>
24705 int
24706 main ()
24707 {
24708 int (*fp) (FILE *, off_t, int) = fseeko;
24709 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24710 ;
24711 return 0;
24712 }
24713 _ACEOF
24714 rm -f conftest.$ac_objext conftest$ac_exeext
24715 if { (ac_try="$ac_link"
24716 case "(($ac_try" in
24717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24718 *) ac_try_echo=$ac_try;;
24719 esac
24720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24721 (eval "$ac_link") 2>conftest.er1
24722 ac_status=$?
24723 grep -v '^ *+' conftest.er1 >conftest.err
24724 rm -f conftest.er1
24725 cat conftest.err >&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); } && {
24728 test -z "$ac_cxx_werror_flag" ||
24729 test ! -s conftest.err
24730 } && test -s conftest$ac_exeext &&
24731 $as_test_x conftest$ac_exeext; then
24732 ac_cv_sys_largefile_source=1; break
24733 else
24734 echo "$as_me: failed program was:" >&5
24735 sed 's/^/| /' conftest.$ac_ext >&5
24736
24737
24738 fi
24739
24740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24741 conftest$ac_exeext conftest.$ac_ext
24742 ac_cv_sys_largefile_source=unknown
24743 break
24744 done
24745 fi
24746 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24747 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24748 case $ac_cv_sys_largefile_source in #(
24749 no | unknown) ;;
24750 *)
24751 cat >>confdefs.h <<_ACEOF
24752 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24753 _ACEOF
24754 ;;
24755 esac
24756 rm -f conftest*
24757
24758 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24759 # in glibc 2.1.3, but that breaks too many other things.
24760 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24761 if test $ac_cv_sys_largefile_source != unknown; then
24762
24763 cat >>confdefs.h <<\_ACEOF
24764 #define HAVE_FSEEKO 1
24765 _ACEOF
24766
24767 fi
24768
24769 CPPFLAGS="$old_CPPFLAGS"
24770 ac_ext=c
24771 ac_cpp='$CPP $CPPFLAGS'
24772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24775
24776 if test "$ac_cv_sys_largefile_source" != no; then
24777 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24778 fi
24779
24780 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24781 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24782 if test "${ac_cv_c_bigendian+set}" = set; then
24783 echo $ECHO_N "(cached) $ECHO_C" >&6
24784 else
24785 ac_cv_c_bigendian=unknown
24786 # See if sys/param.h defines the BYTE_ORDER macro.
24787 cat >conftest.$ac_ext <<_ACEOF
24788 /* confdefs.h. */
24789 _ACEOF
24790 cat confdefs.h >>conftest.$ac_ext
24791 cat >>conftest.$ac_ext <<_ACEOF
24792 /* end confdefs.h. */
24793 #include <sys/types.h>
24794 #include <sys/param.h>
24795 int
24796 main ()
24797 {
24798
24799 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24800 bogus endian macros
24801 #endif
24802 ;
24803 return 0;
24804 }
24805 _ACEOF
24806 rm -f conftest.$ac_objext
24807 if { (ac_try="$ac_compile"
24808 case "(($ac_try" in
24809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24810 *) ac_try_echo=$ac_try;;
24811 esac
24812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24813 (eval "$ac_compile") 2>conftest.er1
24814 ac_status=$?
24815 grep -v '^ *+' conftest.er1 >conftest.err
24816 rm -f conftest.er1
24817 cat conftest.err >&5
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); } && {
24820 test -z "$ac_c_werror_flag" ||
24821 test ! -s conftest.err
24822 } && test -s conftest.$ac_objext; then
24823 # It does; now see whether it defined to BIG_ENDIAN or not.
24824 cat >conftest.$ac_ext <<_ACEOF
24825 /* confdefs.h. */
24826 _ACEOF
24827 cat confdefs.h >>conftest.$ac_ext
24828 cat >>conftest.$ac_ext <<_ACEOF
24829 /* end confdefs.h. */
24830 #include <sys/types.h>
24831 #include <sys/param.h>
24832 int
24833 main ()
24834 {
24835
24836 #if BYTE_ORDER != BIG_ENDIAN
24837 not big endian
24838 #endif
24839 ;
24840 return 0;
24841 }
24842 _ACEOF
24843 rm -f conftest.$ac_objext
24844 if { (ac_try="$ac_compile"
24845 case "(($ac_try" in
24846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24847 *) ac_try_echo=$ac_try;;
24848 esac
24849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24850 (eval "$ac_compile") 2>conftest.er1
24851 ac_status=$?
24852 grep -v '^ *+' conftest.er1 >conftest.err
24853 rm -f conftest.er1
24854 cat conftest.err >&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); } && {
24857 test -z "$ac_c_werror_flag" ||
24858 test ! -s conftest.err
24859 } && test -s conftest.$ac_objext; then
24860 ac_cv_c_bigendian=yes
24861 else
24862 echo "$as_me: failed program was:" >&5
24863 sed 's/^/| /' conftest.$ac_ext >&5
24864
24865 ac_cv_c_bigendian=no
24866 fi
24867
24868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24869 else
24870 echo "$as_me: failed program was:" >&5
24871 sed 's/^/| /' conftest.$ac_ext >&5
24872
24873
24874 fi
24875
24876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24877 if test $ac_cv_c_bigendian = unknown; then
24878 if test "$cross_compiling" = yes; then
24879 ac_cv_c_bigendian=unknown
24880 else
24881 cat >conftest.$ac_ext <<_ACEOF
24882 /* confdefs.h. */
24883 _ACEOF
24884 cat confdefs.h >>conftest.$ac_ext
24885 cat >>conftest.$ac_ext <<_ACEOF
24886 /* end confdefs.h. */
24887 main () {
24888 /* Are we little or big endian? From Harbison&Steele. */
24889 union
24890 {
24891 long l;
24892 char c[sizeof (long)];
24893 } u;
24894 u.l = 1;
24895 exit (u.c[sizeof (long) - 1] == 1);
24896 }
24897 _ACEOF
24898 rm -f conftest$ac_exeext
24899 if { (ac_try="$ac_link"
24900 case "(($ac_try" in
24901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24902 *) ac_try_echo=$ac_try;;
24903 esac
24904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24905 (eval "$ac_link") 2>&5
24906 ac_status=$?
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24909 { (case "(($ac_try" in
24910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24911 *) ac_try_echo=$ac_try;;
24912 esac
24913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24914 (eval "$ac_try") 2>&5
24915 ac_status=$?
24916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917 (exit $ac_status); }; }; then
24918 ac_cv_c_bigendian=no
24919 else
24920 echo "$as_me: program exited with status $ac_status" >&5
24921 echo "$as_me: failed program was:" >&5
24922 sed 's/^/| /' conftest.$ac_ext >&5
24923
24924 ( exit $ac_status )
24925 ac_cv_c_bigendian=yes
24926 fi
24927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24928 fi
24929
24930
24931 fi
24932 fi
24933 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24934 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24935 if test $ac_cv_c_bigendian = unknown; then
24936 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
24937 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
24938 fi
24939 if test $ac_cv_c_bigendian = yes; then
24940 cat >>confdefs.h <<\_ACEOF
24941 #define WORDS_BIGENDIAN 1
24942 _ACEOF
24943
24944 fi
24945
24946
24947
24948
24949 ac_ext=cpp
24950 ac_cpp='$CXXCPP $CPPFLAGS'
24951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24954
24955
24956
24957 for ac_header in iostream
24958 do
24959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24960 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24962 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24963 echo $ECHO_N "(cached) $ECHO_C" >&6
24964 else
24965 cat >conftest.$ac_ext <<_ACEOF
24966 /* confdefs.h. */
24967 _ACEOF
24968 cat confdefs.h >>conftest.$ac_ext
24969 cat >>conftest.$ac_ext <<_ACEOF
24970 /* end confdefs.h. */
24971
24972
24973 #include <$ac_header>
24974 _ACEOF
24975 rm -f conftest.$ac_objext
24976 if { (ac_try="$ac_compile"
24977 case "(($ac_try" in
24978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24979 *) ac_try_echo=$ac_try;;
24980 esac
24981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24982 (eval "$ac_compile") 2>conftest.er1
24983 ac_status=$?
24984 grep -v '^ *+' conftest.er1 >conftest.err
24985 rm -f conftest.er1
24986 cat conftest.err >&5
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); } && {
24989 test -z "$ac_cxx_werror_flag" ||
24990 test ! -s conftest.err
24991 } && test -s conftest.$ac_objext; then
24992 eval "$as_ac_Header=yes"
24993 else
24994 echo "$as_me: failed program was:" >&5
24995 sed 's/^/| /' conftest.$ac_ext >&5
24996
24997 eval "$as_ac_Header=no"
24998 fi
24999
25000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25001 fi
25002 ac_res=`eval echo '${'$as_ac_Header'}'`
25003 { echo "$as_me:$LINENO: result: $ac_res" >&5
25004 echo "${ECHO_T}$ac_res" >&6; }
25005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25006 cat >>confdefs.h <<_ACEOF
25007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25008 _ACEOF
25009
25010 fi
25011
25012 done
25013
25014
25015 if test "$ac_cv_header_iostream" = "yes" ; then
25016 :
25017 else
25018 cat >>confdefs.h <<\_ACEOF
25019 #define wxUSE_IOSTREAMH 1
25020 _ACEOF
25021
25022 fi
25023
25024 ac_ext=c
25025 ac_cpp='$CPP $CPPFLAGS'
25026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25029
25030
25031
25032
25033 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25034 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25035 if test "${wx_cv_explicit+set}" = set; then
25036 echo $ECHO_N "(cached) $ECHO_C" >&6
25037 else
25038
25039
25040 ac_ext=cpp
25041 ac_cpp='$CXXCPP $CPPFLAGS'
25042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25045
25046
25047 cat >conftest.$ac_ext <<_ACEOF
25048 /* confdefs.h. */
25049 _ACEOF
25050 cat confdefs.h >>conftest.$ac_ext
25051 cat >>conftest.$ac_ext <<_ACEOF
25052 /* end confdefs.h. */
25053
25054 class Foo { public: explicit Foo(int) {} };
25055
25056 int
25057 main ()
25058 {
25059
25060 return 0;
25061
25062 ;
25063 return 0;
25064 }
25065 _ACEOF
25066 rm -f conftest.$ac_objext
25067 if { (ac_try="$ac_compile"
25068 case "(($ac_try" in
25069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25070 *) ac_try_echo=$ac_try;;
25071 esac
25072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25073 (eval "$ac_compile") 2>conftest.er1
25074 ac_status=$?
25075 grep -v '^ *+' conftest.er1 >conftest.err
25076 rm -f conftest.er1
25077 cat conftest.err >&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); } && {
25080 test -z "$ac_cxx_werror_flag" ||
25081 test ! -s conftest.err
25082 } && test -s conftest.$ac_objext; then
25083
25084 cat >conftest.$ac_ext <<_ACEOF
25085 /* confdefs.h. */
25086 _ACEOF
25087 cat confdefs.h >>conftest.$ac_ext
25088 cat >>conftest.$ac_ext <<_ACEOF
25089 /* end confdefs.h. */
25090
25091 class Foo { public: explicit Foo(int) {} };
25092 static void TakeFoo(const Foo& foo) { }
25093
25094 int
25095 main ()
25096 {
25097
25098 TakeFoo(17);
25099 return 0;
25100
25101 ;
25102 return 0;
25103 }
25104 _ACEOF
25105 rm -f conftest.$ac_objext
25106 if { (ac_try="$ac_compile"
25107 case "(($ac_try" in
25108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25109 *) ac_try_echo=$ac_try;;
25110 esac
25111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25112 (eval "$ac_compile") 2>conftest.er1
25113 ac_status=$?
25114 grep -v '^ *+' conftest.er1 >conftest.err
25115 rm -f conftest.er1
25116 cat conftest.err >&5
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); } && {
25119 test -z "$ac_cxx_werror_flag" ||
25120 test ! -s conftest.err
25121 } && test -s conftest.$ac_objext; then
25122 wx_cv_explicit=no
25123 else
25124 echo "$as_me: failed program was:" >&5
25125 sed 's/^/| /' conftest.$ac_ext >&5
25126
25127 wx_cv_explicit=yes
25128
25129 fi
25130
25131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25132
25133 else
25134 echo "$as_me: failed program was:" >&5
25135 sed 's/^/| /' conftest.$ac_ext >&5
25136
25137 wx_cv_explicit=no
25138
25139 fi
25140
25141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25142
25143 ac_ext=c
25144 ac_cpp='$CPP $CPPFLAGS'
25145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25148
25149
25150 fi
25151 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25152 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25153
25154 if test "$wx_cv_explicit" = "yes"; then
25155 cat >>confdefs.h <<\_ACEOF
25156 #define HAVE_EXPLICIT 1
25157 _ACEOF
25158
25159 fi
25160
25161
25162 if test "x$SUNCXX" = xyes; then
25163 CXXFLAGS="-features=tmplife $CXXFLAGS"
25164 fi
25165
25166 if test "x$SUNCC" = xyes; then
25167 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25168 fi
25169
25170 if test "x$SGICC" = "xyes"; then
25171 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25172 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25173 if test "${wx_cv_prog_sgicc744+set}" = set; then
25174 echo $ECHO_N "(cached) $ECHO_C" >&6
25175 else
25176
25177 cat >conftest.$ac_ext <<_ACEOF
25178 /* confdefs.h. */
25179 _ACEOF
25180 cat confdefs.h >>conftest.$ac_ext
25181 cat >>conftest.$ac_ext <<_ACEOF
25182 /* end confdefs.h. */
25183
25184 int
25185 main ()
25186 {
25187
25188 #if _SGI_COMPILER_VERSION >= 744
25189 chock me: mipsPro is 7.4.4 or later
25190 #endif
25191
25192 ;
25193 return 0;
25194 }
25195 _ACEOF
25196 rm -f conftest.$ac_objext
25197 if { (ac_try="$ac_compile"
25198 case "(($ac_try" in
25199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25200 *) ac_try_echo=$ac_try;;
25201 esac
25202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25203 (eval "$ac_compile") 2>conftest.er1
25204 ac_status=$?
25205 grep -v '^ *+' conftest.er1 >conftest.err
25206 rm -f conftest.er1
25207 cat conftest.err >&5
25208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25209 (exit $ac_status); } && {
25210 test -z "$ac_c_werror_flag" ||
25211 test ! -s conftest.err
25212 } && test -s conftest.$ac_objext; then
25213 wx_cv_prog_sgicc744=no
25214 else
25215 echo "$as_me: failed program was:" >&5
25216 sed 's/^/| /' conftest.$ac_ext >&5
25217
25218 wx_cv_prog_sgicc744=yes
25219
25220 fi
25221
25222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25223
25224
25225 fi
25226 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25227 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25228
25229 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25230 CFLAGS="-woff 3970 $CFLAGS"
25231 fi
25232 fi
25233 if test "x$SGICXX" = "xyes"; then
25234 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25235 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25236 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25238 else
25239
25240 ac_ext=cpp
25241 ac_cpp='$CXXCPP $CPPFLAGS'
25242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25245
25246 cat >conftest.$ac_ext <<_ACEOF
25247 /* confdefs.h. */
25248 _ACEOF
25249 cat confdefs.h >>conftest.$ac_ext
25250 cat >>conftest.$ac_ext <<_ACEOF
25251 /* end confdefs.h. */
25252
25253 int
25254 main ()
25255 {
25256
25257 #if _SGI_COMPILER_VERSION >= 744
25258 chock me: mipsPro is 7.4.4 or later
25259 #endif
25260
25261 ;
25262 return 0;
25263 }
25264 _ACEOF
25265 rm -f conftest.$ac_objext
25266 if { (ac_try="$ac_compile"
25267 case "(($ac_try" in
25268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25269 *) ac_try_echo=$ac_try;;
25270 esac
25271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25272 (eval "$ac_compile") 2>conftest.er1
25273 ac_status=$?
25274 grep -v '^ *+' conftest.er1 >conftest.err
25275 rm -f conftest.er1
25276 cat conftest.err >&5
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); } && {
25279 test -z "$ac_cxx_werror_flag" ||
25280 test ! -s conftest.err
25281 } && test -s conftest.$ac_objext; then
25282 wx_cv_prog_sgicxx744=no
25283 else
25284 echo "$as_me: failed program was:" >&5
25285 sed 's/^/| /' conftest.$ac_ext >&5
25286
25287 wx_cv_prog_sgicxx744=yes
25288
25289 fi
25290
25291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25292 ac_ext=c
25293 ac_cpp='$CPP $CPPFLAGS'
25294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25297
25298
25299
25300 fi
25301 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25302 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25303
25304 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25305 CXXFLAGS="-woff 3970 $CXXFLAGS"
25306 fi
25307 fi
25308
25309 if test "x$HPCC" = "xyes"; then
25310 CFLAGS="+W 2011,2450 $CFLAGS"
25311 fi
25312 if test "x$HPCXX" = "xyes"; then
25313 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25314 fi
25315
25316 if test "x$COMPAQCXX" = "xyes"; then
25317 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25318 fi
25319
25320 ac_ext=cpp
25321 ac_cpp='$CXXCPP $CPPFLAGS'
25322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25325
25326
25327 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25328 if test "$wxUSE_UNICODE" = "yes"; then
25329 std_string="std::wstring"
25330 char_type="wchar_t"
25331 else
25332 std_string="std::string"
25333 char_type="char"
25334 fi
25335
25336 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25337 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25338 if test "${wx_cv_class_stdstring+set}" = set; then
25339 echo $ECHO_N "(cached) $ECHO_C" >&6
25340 else
25341
25342 cat >conftest.$ac_ext <<_ACEOF
25343 /* confdefs.h. */
25344 _ACEOF
25345 cat confdefs.h >>conftest.$ac_ext
25346 cat >>conftest.$ac_ext <<_ACEOF
25347 /* end confdefs.h. */
25348 #include <string>
25349 int
25350 main ()
25351 {
25352 $std_string foo;
25353 ;
25354 return 0;
25355 }
25356 _ACEOF
25357 rm -f conftest.$ac_objext
25358 if { (ac_try="$ac_compile"
25359 case "(($ac_try" in
25360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25361 *) ac_try_echo=$ac_try;;
25362 esac
25363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25364 (eval "$ac_compile") 2>conftest.er1
25365 ac_status=$?
25366 grep -v '^ *+' conftest.er1 >conftest.err
25367 rm -f conftest.er1
25368 cat conftest.err >&5
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); } && {
25371 test -z "$ac_cxx_werror_flag" ||
25372 test ! -s conftest.err
25373 } && test -s conftest.$ac_objext; then
25374 wx_cv_class_stdstring=yes
25375 else
25376 echo "$as_me: failed program was:" >&5
25377 sed 's/^/| /' conftest.$ac_ext >&5
25378
25379 wx_cv_class_stdstring=no
25380
25381 fi
25382
25383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25384
25385
25386 fi
25387 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25388 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25389
25390 if test "$wx_cv_class_stdstring" = yes; then
25391 if test "$wxUSE_UNICODE" = "yes"; then
25392 cat >>confdefs.h <<\_ACEOF
25393 #define HAVE_STD_WSTRING 1
25394 _ACEOF
25395
25396 fi
25397 else
25398 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25399 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25400 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25401 echo $ECHO_N "(cached) $ECHO_C" >&6
25402 else
25403
25404 cat >conftest.$ac_ext <<_ACEOF
25405 /* confdefs.h. */
25406 _ACEOF
25407 cat confdefs.h >>conftest.$ac_ext
25408 cat >>conftest.$ac_ext <<_ACEOF
25409 /* end confdefs.h. */
25410
25411 #ifdef HAVE_WCHAR_H
25412 # ifdef __CYGWIN__
25413 # include <stddef.h>
25414 # endif
25415 # include <wchar.h>
25416 #endif
25417 #ifdef HAVE_STDLIB_H
25418 # include <stdlib.h>
25419 #endif
25420 #include <stdio.h>
25421 #include <string>
25422
25423 int
25424 main ()
25425 {
25426 std::basic_string<$char_type> foo;
25427 const $char_type* dummy = foo.c_str();
25428 ;
25429 return 0;
25430 }
25431 _ACEOF
25432 rm -f conftest.$ac_objext
25433 if { (ac_try="$ac_compile"
25434 case "(($ac_try" in
25435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25436 *) ac_try_echo=$ac_try;;
25437 esac
25438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25439 (eval "$ac_compile") 2>conftest.er1
25440 ac_status=$?
25441 grep -v '^ *+' conftest.er1 >conftest.err
25442 rm -f conftest.er1
25443 cat conftest.err >&5
25444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25445 (exit $ac_status); } && {
25446 test -z "$ac_cxx_werror_flag" ||
25447 test ! -s conftest.err
25448 } && test -s conftest.$ac_objext; then
25449 wx_cv_class_stdbasicstring=yes
25450 else
25451 echo "$as_me: failed program was:" >&5
25452 sed 's/^/| /' conftest.$ac_ext >&5
25453
25454 wx_cv_class_stdbasicstring=no
25455
25456 fi
25457
25458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25459
25460
25461 fi
25462 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25463 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25464
25465 if test "$wx_cv_class_stdbasicstring" != yes; then
25466 if test "$wxUSE_STL" = "yes"; then
25467 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25468 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25469 { (exit 1); exit 1; }; }
25470 elif test "$wxUSE_STD_STRING" = "yes"; then
25471 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25472 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25473 { (exit 1); exit 1; }; }
25474 else
25475 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25476 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25477 wxUSE_STD_STRING=no
25478 fi
25479 fi
25480 fi
25481 fi
25482
25483 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25484 { echo "$as_me:$LINENO: checking for std::istream" >&5
25485 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25486 if test "${ac_cv_type_std__istream+set}" = set; then
25487 echo $ECHO_N "(cached) $ECHO_C" >&6
25488 else
25489 cat >conftest.$ac_ext <<_ACEOF
25490 /* confdefs.h. */
25491 _ACEOF
25492 cat confdefs.h >>conftest.$ac_ext
25493 cat >>conftest.$ac_ext <<_ACEOF
25494 /* end confdefs.h. */
25495 #include <iostream>
25496
25497 typedef std::istream ac__type_new_;
25498 int
25499 main ()
25500 {
25501 if ((ac__type_new_ *) 0)
25502 return 0;
25503 if (sizeof (ac__type_new_))
25504 return 0;
25505 ;
25506 return 0;
25507 }
25508 _ACEOF
25509 rm -f conftest.$ac_objext
25510 if { (ac_try="$ac_compile"
25511 case "(($ac_try" in
25512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25513 *) ac_try_echo=$ac_try;;
25514 esac
25515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25516 (eval "$ac_compile") 2>conftest.er1
25517 ac_status=$?
25518 grep -v '^ *+' conftest.er1 >conftest.err
25519 rm -f conftest.er1
25520 cat conftest.err >&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } && {
25523 test -z "$ac_cxx_werror_flag" ||
25524 test ! -s conftest.err
25525 } && test -s conftest.$ac_objext; then
25526 ac_cv_type_std__istream=yes
25527 else
25528 echo "$as_me: failed program was:" >&5
25529 sed 's/^/| /' conftest.$ac_ext >&5
25530
25531 ac_cv_type_std__istream=no
25532 fi
25533
25534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25535 fi
25536 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25537 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25538 if test $ac_cv_type_std__istream = yes; then
25539
25540 cat >>confdefs.h <<_ACEOF
25541 #define HAVE_STD__ISTREAM 1
25542 _ACEOF
25543
25544
25545 else
25546 wxUSE_STD_IOSTREAM=no
25547 fi
25548 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25549 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25550 if test "${ac_cv_type_std__ostream+set}" = set; then
25551 echo $ECHO_N "(cached) $ECHO_C" >&6
25552 else
25553 cat >conftest.$ac_ext <<_ACEOF
25554 /* confdefs.h. */
25555 _ACEOF
25556 cat confdefs.h >>conftest.$ac_ext
25557 cat >>conftest.$ac_ext <<_ACEOF
25558 /* end confdefs.h. */
25559 #include <iostream>
25560
25561 typedef std::ostream ac__type_new_;
25562 int
25563 main ()
25564 {
25565 if ((ac__type_new_ *) 0)
25566 return 0;
25567 if (sizeof (ac__type_new_))
25568 return 0;
25569 ;
25570 return 0;
25571 }
25572 _ACEOF
25573 rm -f conftest.$ac_objext
25574 if { (ac_try="$ac_compile"
25575 case "(($ac_try" in
25576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25577 *) ac_try_echo=$ac_try;;
25578 esac
25579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25580 (eval "$ac_compile") 2>conftest.er1
25581 ac_status=$?
25582 grep -v '^ *+' conftest.er1 >conftest.err
25583 rm -f conftest.er1
25584 cat conftest.err >&5
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); } && {
25587 test -z "$ac_cxx_werror_flag" ||
25588 test ! -s conftest.err
25589 } && test -s conftest.$ac_objext; then
25590 ac_cv_type_std__ostream=yes
25591 else
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.$ac_ext >&5
25594
25595 ac_cv_type_std__ostream=no
25596 fi
25597
25598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25599 fi
25600 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25601 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25602 if test $ac_cv_type_std__ostream = yes; then
25603
25604 cat >>confdefs.h <<_ACEOF
25605 #define HAVE_STD__OSTREAM 1
25606 _ACEOF
25607
25608
25609 else
25610 wxUSE_STD_IOSTREAM=no
25611 fi
25612
25613
25614 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25615 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25616 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25617 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25618 { (exit 1); exit 1; }; }
25619 else
25620 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25621 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25622 fi
25623 fi
25624 fi
25625
25626 if test "$wxUSE_STL" = "yes"; then
25627 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25628 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25629 if test "${wx_cv_lib_stl+set}" = set; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25631 else
25632 cat >conftest.$ac_ext <<_ACEOF
25633 /* confdefs.h. */
25634 _ACEOF
25635 cat confdefs.h >>conftest.$ac_ext
25636 cat >>conftest.$ac_ext <<_ACEOF
25637 /* end confdefs.h. */
25638 #include <string>
25639 #include <functional>
25640 #include <algorithm>
25641 #include <vector>
25642 #include <list>
25643 int
25644 main ()
25645 {
25646 std::vector<int> moo;
25647 std::list<int> foo;
25648 std::vector<int>::iterator it =
25649 std::find_if(moo.begin(), moo.end(),
25650 std::bind2nd(std::less<int>(), 3));
25651 ;
25652 return 0;
25653 }
25654 _ACEOF
25655 rm -f conftest.$ac_objext
25656 if { (ac_try="$ac_compile"
25657 case "(($ac_try" in
25658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25659 *) ac_try_echo=$ac_try;;
25660 esac
25661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25662 (eval "$ac_compile") 2>conftest.er1
25663 ac_status=$?
25664 grep -v '^ *+' conftest.er1 >conftest.err
25665 rm -f conftest.er1
25666 cat conftest.err >&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); } && {
25669 test -z "$ac_cxx_werror_flag" ||
25670 test ! -s conftest.err
25671 } && test -s conftest.$ac_objext; then
25672 wx_cv_lib_stl=yes
25673 else
25674 echo "$as_me: failed program was:" >&5
25675 sed 's/^/| /' conftest.$ac_ext >&5
25676
25677 wx_cv_lib_stl=no
25678
25679 fi
25680
25681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25682
25683 fi
25684 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25685 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25686
25687 if test "$wx_cv_lib_stl" != yes; then
25688 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25689 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25690 { (exit 1); exit 1; }; }
25691 fi
25692
25693 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25694 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25695 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25696 echo $ECHO_N "(cached) $ECHO_C" >&6
25697 else
25698 cat >conftest.$ac_ext <<_ACEOF
25699 /* confdefs.h. */
25700 _ACEOF
25701 cat confdefs.h >>conftest.$ac_ext
25702 cat >>conftest.$ac_ext <<_ACEOF
25703 /* end confdefs.h. */
25704 #include <string>
25705 int
25706 main ()
25707 {
25708 std::string foo, bar;
25709 foo.compare(bar);
25710 foo.compare(1, 1, bar);
25711 foo.compare(1, 1, bar, 1, 1);
25712 foo.compare("");
25713 foo.compare(1, 1, "");
25714 foo.compare(1, 1, "", 2);
25715 ;
25716 return 0;
25717 }
25718 _ACEOF
25719 rm -f conftest.$ac_objext
25720 if { (ac_try="$ac_compile"
25721 case "(($ac_try" in
25722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25723 *) ac_try_echo=$ac_try;;
25724 esac
25725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25726 (eval "$ac_compile") 2>conftest.er1
25727 ac_status=$?
25728 grep -v '^ *+' conftest.er1 >conftest.err
25729 rm -f conftest.er1
25730 cat conftest.err >&5
25731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732 (exit $ac_status); } && {
25733 test -z "$ac_cxx_werror_flag" ||
25734 test ! -s conftest.err
25735 } && test -s conftest.$ac_objext; then
25736 wx_cv_func_stdstring_compare=yes
25737 else
25738 echo "$as_me: failed program was:" >&5
25739 sed 's/^/| /' conftest.$ac_ext >&5
25740
25741 wx_cv_func_stdstring_compare=no
25742
25743 fi
25744
25745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25746
25747 fi
25748 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25749 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25750
25751 if test "$wx_cv_func_stdstring_compare" = yes; then
25752 cat >>confdefs.h <<\_ACEOF
25753 #define HAVE_STD_STRING_COMPARE 1
25754 _ACEOF
25755
25756 fi
25757
25758 if test "$wx_cv_class_gnuhashmapset" = yes; then
25759 cat >>confdefs.h <<\_ACEOF
25760 #define HAVE_EXT_HASH_MAP 1
25761 _ACEOF
25762
25763 cat >>confdefs.h <<\_ACEOF
25764 #define HAVE_GNU_CXX_HASH_MAP 1
25765 _ACEOF
25766
25767 fi
25768
25769 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25770 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25771 if test "${ac_cv_header_unordered_map+set}" = set; then
25772 echo $ECHO_N "(cached) $ECHO_C" >&6
25773 else
25774 cat >conftest.$ac_ext <<_ACEOF
25775 /* confdefs.h. */
25776 _ACEOF
25777 cat confdefs.h >>conftest.$ac_ext
25778 cat >>conftest.$ac_ext <<_ACEOF
25779 /* end confdefs.h. */
25780
25781
25782
25783 #include <unordered_map>
25784 _ACEOF
25785 rm -f conftest.$ac_objext
25786 if { (ac_try="$ac_compile"
25787 case "(($ac_try" in
25788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25789 *) ac_try_echo=$ac_try;;
25790 esac
25791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25792 (eval "$ac_compile") 2>conftest.er1
25793 ac_status=$?
25794 grep -v '^ *+' conftest.er1 >conftest.err
25795 rm -f conftest.er1
25796 cat conftest.err >&5
25797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798 (exit $ac_status); } && {
25799 test -z "$ac_cxx_werror_flag" ||
25800 test ! -s conftest.err
25801 } && test -s conftest.$ac_objext; then
25802 ac_cv_header_unordered_map=yes
25803 else
25804 echo "$as_me: failed program was:" >&5
25805 sed 's/^/| /' conftest.$ac_ext >&5
25806
25807 ac_cv_header_unordered_map=no
25808 fi
25809
25810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25811 fi
25812 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25813 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25814 if test $ac_cv_header_unordered_map = yes; then
25815 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25816 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25817 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25818 echo $ECHO_N "(cached) $ECHO_C" >&6
25819 else
25820 cat >conftest.$ac_ext <<_ACEOF
25821 /* confdefs.h. */
25822 _ACEOF
25823 cat confdefs.h >>conftest.$ac_ext
25824 cat >>conftest.$ac_ext <<_ACEOF
25825 /* end confdefs.h. */
25826 #include <unordered_map>
25827 #include <unordered_set>
25828 int
25829 main ()
25830 {
25831 std::unordered_map<double*, char*> test1;
25832 std::unordered_set<char*> test2;
25833 ;
25834 return 0;
25835 }
25836 _ACEOF
25837 rm -f conftest.$ac_objext
25838 if { (ac_try="$ac_compile"
25839 case "(($ac_try" in
25840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25841 *) ac_try_echo=$ac_try;;
25842 esac
25843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25844 (eval "$ac_compile") 2>conftest.er1
25845 ac_status=$?
25846 grep -v '^ *+' conftest.er1 >conftest.err
25847 rm -f conftest.er1
25848 cat conftest.err >&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); } && {
25851 test -z "$ac_cxx_werror_flag" ||
25852 test ! -s conftest.err
25853 } && test -s conftest.$ac_objext; then
25854 wx_cv_class_stdunorderedmapset=yes
25855 else
25856 echo "$as_me: failed program was:" >&5
25857 sed 's/^/| /' conftest.$ac_ext >&5
25858
25859 wx_cv_class_stdunorderedmapset=no
25860 fi
25861
25862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25863
25864
25865 fi
25866 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25867 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25868 fi
25869
25870
25871
25872 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25873 cat >>confdefs.h <<\_ACEOF
25874 #define HAVE_STD_UNORDERED_MAP 1
25875 _ACEOF
25876
25877 cat >>confdefs.h <<\_ACEOF
25878 #define HAVE_STD_UNORDERED_SET 1
25879 _ACEOF
25880
25881 else
25882 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25883 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25884 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25885 echo $ECHO_N "(cached) $ECHO_C" >&6
25886 else
25887 cat >conftest.$ac_ext <<_ACEOF
25888 /* confdefs.h. */
25889 _ACEOF
25890 cat confdefs.h >>conftest.$ac_ext
25891 cat >>conftest.$ac_ext <<_ACEOF
25892 /* end confdefs.h. */
25893
25894
25895
25896 #include <tr1/unordered_map>
25897 _ACEOF
25898 rm -f conftest.$ac_objext
25899 if { (ac_try="$ac_compile"
25900 case "(($ac_try" in
25901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25902 *) ac_try_echo=$ac_try;;
25903 esac
25904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25905 (eval "$ac_compile") 2>conftest.er1
25906 ac_status=$?
25907 grep -v '^ *+' conftest.er1 >conftest.err
25908 rm -f conftest.er1
25909 cat conftest.err >&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); } && {
25912 test -z "$ac_cxx_werror_flag" ||
25913 test ! -s conftest.err
25914 } && test -s conftest.$ac_objext; then
25915 ac_cv_header_tr1_unordered_map=yes
25916 else
25917 echo "$as_me: failed program was:" >&5
25918 sed 's/^/| /' conftest.$ac_ext >&5
25919
25920 ac_cv_header_tr1_unordered_map=no
25921 fi
25922
25923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25924 fi
25925 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25926 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25927 if test $ac_cv_header_tr1_unordered_map = yes; then
25928 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25929 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25930 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25931 echo $ECHO_N "(cached) $ECHO_C" >&6
25932 else
25933 cat >conftest.$ac_ext <<_ACEOF
25934 /* confdefs.h. */
25935 _ACEOF
25936 cat confdefs.h >>conftest.$ac_ext
25937 cat >>conftest.$ac_ext <<_ACEOF
25938 /* end confdefs.h. */
25939 #include <tr1/unordered_map>
25940 #include <tr1/unordered_set>
25941 int
25942 main ()
25943 {
25944 std::tr1::unordered_map<double*, char*> test1;
25945 std::tr1::unordered_set<char*> test2;
25946 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25947 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25948 #endif
25949 ;
25950 return 0;
25951 }
25952 _ACEOF
25953 rm -f conftest.$ac_objext
25954 if { (ac_try="$ac_compile"
25955 case "(($ac_try" in
25956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25957 *) ac_try_echo=$ac_try;;
25958 esac
25959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25960 (eval "$ac_compile") 2>conftest.er1
25961 ac_status=$?
25962 grep -v '^ *+' conftest.er1 >conftest.err
25963 rm -f conftest.er1
25964 cat conftest.err >&5
25965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25966 (exit $ac_status); } && {
25967 test -z "$ac_cxx_werror_flag" ||
25968 test ! -s conftest.err
25969 } && test -s conftest.$ac_objext; then
25970 wx_cv_class_tr1unorderedmapset=yes
25971 else
25972 echo "$as_me: failed program was:" >&5
25973 sed 's/^/| /' conftest.$ac_ext >&5
25974
25975 wx_cv_class_tr1unorderedmapset=no
25976 fi
25977
25978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25979
25980
25981 fi
25982 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25983 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25984 fi
25985
25986
25987
25988 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25989 cat >>confdefs.h <<\_ACEOF
25990 #define HAVE_TR1_UNORDERED_MAP 1
25991 _ACEOF
25992
25993 cat >>confdefs.h <<\_ACEOF
25994 #define HAVE_TR1_UNORDERED_SET 1
25995 _ACEOF
25996
25997 else
25998 { echo "$as_me:$LINENO: checking for hash_map" >&5
25999 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26000 if test "${ac_cv_header_hash_map+set}" = set; then
26001 echo $ECHO_N "(cached) $ECHO_C" >&6
26002 else
26003 cat >conftest.$ac_ext <<_ACEOF
26004 /* confdefs.h. */
26005 _ACEOF
26006 cat confdefs.h >>conftest.$ac_ext
26007 cat >>conftest.$ac_ext <<_ACEOF
26008 /* end confdefs.h. */
26009
26010
26011
26012 #include <hash_map>
26013 _ACEOF
26014 rm -f conftest.$ac_objext
26015 if { (ac_try="$ac_compile"
26016 case "(($ac_try" in
26017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26018 *) ac_try_echo=$ac_try;;
26019 esac
26020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26021 (eval "$ac_compile") 2>conftest.er1
26022 ac_status=$?
26023 grep -v '^ *+' conftest.er1 >conftest.err
26024 rm -f conftest.er1
26025 cat conftest.err >&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); } && {
26028 test -z "$ac_cxx_werror_flag" ||
26029 test ! -s conftest.err
26030 } && test -s conftest.$ac_objext; then
26031 ac_cv_header_hash_map=yes
26032 else
26033 echo "$as_me: failed program was:" >&5
26034 sed 's/^/| /' conftest.$ac_ext >&5
26035
26036 ac_cv_header_hash_map=no
26037 fi
26038
26039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26040 fi
26041 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26042 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26043 if test $ac_cv_header_hash_map = yes; then
26044 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26045 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26046 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26047 echo $ECHO_N "(cached) $ECHO_C" >&6
26048 else
26049 cat >conftest.$ac_ext <<_ACEOF
26050 /* confdefs.h. */
26051 _ACEOF
26052 cat confdefs.h >>conftest.$ac_ext
26053 cat >>conftest.$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26055 #include <hash_map>
26056 #include <hash_set>
26057 int
26058 main ()
26059 {
26060 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26061 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26062 ;
26063 return 0;
26064 }
26065 _ACEOF
26066 rm -f conftest.$ac_objext
26067 if { (ac_try="$ac_compile"
26068 case "(($ac_try" in
26069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26070 *) ac_try_echo=$ac_try;;
26071 esac
26072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26073 (eval "$ac_compile") 2>conftest.er1
26074 ac_status=$?
26075 grep -v '^ *+' conftest.er1 >conftest.err
26076 rm -f conftest.er1
26077 cat conftest.err >&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } && {
26080 test -z "$ac_cxx_werror_flag" ||
26081 test ! -s conftest.err
26082 } && test -s conftest.$ac_objext; then
26083 wx_cv_class_stdhashmapset=yes
26084 else
26085 echo "$as_me: failed program was:" >&5
26086 sed 's/^/| /' conftest.$ac_ext >&5
26087
26088 wx_cv_class_stdhashmapset=no
26089 fi
26090
26091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26092
26093
26094 fi
26095 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26096 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26097 fi
26098
26099
26100
26101 if test "$wx_cv_class_stdhashmapset" = yes; then
26102 cat >>confdefs.h <<\_ACEOF
26103 #define HAVE_HASH_MAP 1
26104 _ACEOF
26105
26106 cat >>confdefs.h <<\_ACEOF
26107 #define HAVE_STD_HASH_MAP 1
26108 _ACEOF
26109
26110 fi
26111
26112 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26113 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26114 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26115 echo $ECHO_N "(cached) $ECHO_C" >&6
26116 else
26117 cat >conftest.$ac_ext <<_ACEOF
26118 /* confdefs.h. */
26119 _ACEOF
26120 cat confdefs.h >>conftest.$ac_ext
26121 cat >>conftest.$ac_ext <<_ACEOF
26122 /* end confdefs.h. */
26123
26124
26125
26126 #include <ext/hash_map>
26127 _ACEOF
26128 rm -f conftest.$ac_objext
26129 if { (ac_try="$ac_compile"
26130 case "(($ac_try" in
26131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26132 *) ac_try_echo=$ac_try;;
26133 esac
26134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26135 (eval "$ac_compile") 2>conftest.er1
26136 ac_status=$?
26137 grep -v '^ *+' conftest.er1 >conftest.err
26138 rm -f conftest.er1
26139 cat conftest.err >&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); } && {
26142 test -z "$ac_cxx_werror_flag" ||
26143 test ! -s conftest.err
26144 } && test -s conftest.$ac_objext; then
26145 ac_cv_header_ext_hash_map=yes
26146 else
26147 echo "$as_me: failed program was:" >&5
26148 sed 's/^/| /' conftest.$ac_ext >&5
26149
26150 ac_cv_header_ext_hash_map=no
26151 fi
26152
26153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26154 fi
26155 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26156 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26157 if test $ac_cv_header_ext_hash_map = yes; then
26158 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26159 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26160 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26161 echo $ECHO_N "(cached) $ECHO_C" >&6
26162 else
26163 cat >conftest.$ac_ext <<_ACEOF
26164 /* confdefs.h. */
26165 _ACEOF
26166 cat confdefs.h >>conftest.$ac_ext
26167 cat >>conftest.$ac_ext <<_ACEOF
26168 /* end confdefs.h. */
26169 #include <ext/hash_map>
26170 #include <ext/hash_set>
26171 int
26172 main ()
26173 {
26174 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26175 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26176 ;
26177 return 0;
26178 }
26179 _ACEOF
26180 rm -f conftest.$ac_objext
26181 if { (ac_try="$ac_compile"
26182 case "(($ac_try" in
26183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26184 *) ac_try_echo=$ac_try;;
26185 esac
26186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26187 (eval "$ac_compile") 2>conftest.er1
26188 ac_status=$?
26189 grep -v '^ *+' conftest.er1 >conftest.err
26190 rm -f conftest.er1
26191 cat conftest.err >&5
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); } && {
26194 test -z "$ac_cxx_werror_flag" ||
26195 test ! -s conftest.err
26196 } && test -s conftest.$ac_objext; then
26197 wx_cv_class_gnuhashmapset=yes
26198 else
26199 echo "$as_me: failed program was:" >&5
26200 sed 's/^/| /' conftest.$ac_ext >&5
26201
26202 wx_cv_class_gnuhashmapset=no
26203 fi
26204
26205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26206
26207
26208 fi
26209 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26210 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26211 fi
26212
26213
26214
26215 fi
26216 fi
26217 fi
26218
26219 ac_ext=cpp
26220 ac_cpp='$CXXCPP $CPPFLAGS'
26221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26224 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26225 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26226 if test -z "$CXXCPP"; then
26227 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26228 echo $ECHO_N "(cached) $ECHO_C" >&6
26229 else
26230 # Double quotes because CXXCPP needs to be expanded
26231 for CXXCPP in "$CXX -E" "/lib/cpp"
26232 do
26233 ac_preproc_ok=false
26234 for ac_cxx_preproc_warn_flag in '' yes
26235 do
26236 # Use a header file that comes with gcc, so configuring glibc
26237 # with a fresh cross-compiler works.
26238 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26239 # <limits.h> exists even on freestanding compilers.
26240 # On the NeXT, cc -E runs the code through the compiler's parser,
26241 # not just through cpp. "Syntax error" is here to catch this case.
26242 cat >conftest.$ac_ext <<_ACEOF
26243 /* confdefs.h. */
26244 _ACEOF
26245 cat confdefs.h >>conftest.$ac_ext
26246 cat >>conftest.$ac_ext <<_ACEOF
26247 /* end confdefs.h. */
26248 #ifdef __STDC__
26249 # include <limits.h>
26250 #else
26251 # include <assert.h>
26252 #endif
26253 Syntax error
26254 _ACEOF
26255 if { (ac_try="$ac_cpp conftest.$ac_ext"
26256 case "(($ac_try" in
26257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26258 *) ac_try_echo=$ac_try;;
26259 esac
26260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26261 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26262 ac_status=$?
26263 grep -v '^ *+' conftest.er1 >conftest.err
26264 rm -f conftest.er1
26265 cat conftest.err >&5
26266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26267 (exit $ac_status); } >/dev/null && {
26268 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26269 test ! -s conftest.err
26270 }; then
26271 :
26272 else
26273 echo "$as_me: failed program was:" >&5
26274 sed 's/^/| /' conftest.$ac_ext >&5
26275
26276 # Broken: fails on valid input.
26277 continue
26278 fi
26279
26280 rm -f conftest.err conftest.$ac_ext
26281
26282 # OK, works on sane cases. Now check whether nonexistent headers
26283 # can be detected and how.
26284 cat >conftest.$ac_ext <<_ACEOF
26285 /* confdefs.h. */
26286 _ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26290 #include <ac_nonexistent.h>
26291 _ACEOF
26292 if { (ac_try="$ac_cpp conftest.$ac_ext"
26293 case "(($ac_try" in
26294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26295 *) ac_try_echo=$ac_try;;
26296 esac
26297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26298 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26299 ac_status=$?
26300 grep -v '^ *+' conftest.er1 >conftest.err
26301 rm -f conftest.er1
26302 cat conftest.err >&5
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); } >/dev/null && {
26305 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26306 test ! -s conftest.err
26307 }; then
26308 # Broken: success on invalid input.
26309 continue
26310 else
26311 echo "$as_me: failed program was:" >&5
26312 sed 's/^/| /' conftest.$ac_ext >&5
26313
26314 # Passes both tests.
26315 ac_preproc_ok=:
26316 break
26317 fi
26318
26319 rm -f conftest.err conftest.$ac_ext
26320
26321 done
26322 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26323 rm -f conftest.err conftest.$ac_ext
26324 if $ac_preproc_ok; then
26325 break
26326 fi
26327
26328 done
26329 ac_cv_prog_CXXCPP=$CXXCPP
26330
26331 fi
26332 CXXCPP=$ac_cv_prog_CXXCPP
26333 else
26334 ac_cv_prog_CXXCPP=$CXXCPP
26335 fi
26336 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26337 echo "${ECHO_T}$CXXCPP" >&6; }
26338 ac_preproc_ok=false
26339 for ac_cxx_preproc_warn_flag in '' yes
26340 do
26341 # Use a header file that comes with gcc, so configuring glibc
26342 # with a fresh cross-compiler works.
26343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26344 # <limits.h> exists even on freestanding compilers.
26345 # On the NeXT, cc -E runs the code through the compiler's parser,
26346 # not just through cpp. "Syntax error" is here to catch this case.
26347 cat >conftest.$ac_ext <<_ACEOF
26348 /* confdefs.h. */
26349 _ACEOF
26350 cat confdefs.h >>conftest.$ac_ext
26351 cat >>conftest.$ac_ext <<_ACEOF
26352 /* end confdefs.h. */
26353 #ifdef __STDC__
26354 # include <limits.h>
26355 #else
26356 # include <assert.h>
26357 #endif
26358 Syntax error
26359 _ACEOF
26360 if { (ac_try="$ac_cpp conftest.$ac_ext"
26361 case "(($ac_try" in
26362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26363 *) ac_try_echo=$ac_try;;
26364 esac
26365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26366 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26367 ac_status=$?
26368 grep -v '^ *+' conftest.er1 >conftest.err
26369 rm -f conftest.er1
26370 cat conftest.err >&5
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); } >/dev/null && {
26373 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26374 test ! -s conftest.err
26375 }; then
26376 :
26377 else
26378 echo "$as_me: failed program was:" >&5
26379 sed 's/^/| /' conftest.$ac_ext >&5
26380
26381 # Broken: fails on valid input.
26382 continue
26383 fi
26384
26385 rm -f conftest.err conftest.$ac_ext
26386
26387 # OK, works on sane cases. Now check whether nonexistent headers
26388 # can be detected and how.
26389 cat >conftest.$ac_ext <<_ACEOF
26390 /* confdefs.h. */
26391 _ACEOF
26392 cat confdefs.h >>conftest.$ac_ext
26393 cat >>conftest.$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26395 #include <ac_nonexistent.h>
26396 _ACEOF
26397 if { (ac_try="$ac_cpp conftest.$ac_ext"
26398 case "(($ac_try" in
26399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26400 *) ac_try_echo=$ac_try;;
26401 esac
26402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26404 ac_status=$?
26405 grep -v '^ *+' conftest.er1 >conftest.err
26406 rm -f conftest.er1
26407 cat conftest.err >&5
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); } >/dev/null && {
26410 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26411 test ! -s conftest.err
26412 }; then
26413 # Broken: success on invalid input.
26414 continue
26415 else
26416 echo "$as_me: failed program was:" >&5
26417 sed 's/^/| /' conftest.$ac_ext >&5
26418
26419 # Passes both tests.
26420 ac_preproc_ok=:
26421 break
26422 fi
26423
26424 rm -f conftest.err conftest.$ac_ext
26425
26426 done
26427 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26428 rm -f conftest.err conftest.$ac_ext
26429 if $ac_preproc_ok; then
26430 :
26431 else
26432 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26433 See \`config.log' for more details." >&5
26434 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26435 See \`config.log' for more details." >&2;}
26436 { (exit 1); exit 1; }; }
26437 fi
26438
26439 ac_ext=cpp
26440 ac_cpp='$CXXCPP $CPPFLAGS'
26441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26444
26445
26446
26447
26448 for ac_header in type_traits tr1/type_traits
26449 do
26450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26452 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26454 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26455 echo $ECHO_N "(cached) $ECHO_C" >&6
26456 fi
26457 ac_res=`eval echo '${'$as_ac_Header'}'`
26458 { echo "$as_me:$LINENO: result: $ac_res" >&5
26459 echo "${ECHO_T}$ac_res" >&6; }
26460 else
26461 # Is the header compilable?
26462 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
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 $ac_includes_default
26471 #include <$ac_header>
26472 _ACEOF
26473 rm -f conftest.$ac_objext
26474 if { (ac_try="$ac_compile"
26475 case "(($ac_try" in
26476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26477 *) ac_try_echo=$ac_try;;
26478 esac
26479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26480 (eval "$ac_compile") 2>conftest.er1
26481 ac_status=$?
26482 grep -v '^ *+' conftest.er1 >conftest.err
26483 rm -f conftest.er1
26484 cat conftest.err >&5
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); } && {
26487 test -z "$ac_cxx_werror_flag" ||
26488 test ! -s conftest.err
26489 } && test -s conftest.$ac_objext; then
26490 ac_header_compiler=yes
26491 else
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.$ac_ext >&5
26494
26495 ac_header_compiler=no
26496 fi
26497
26498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26499 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26500 echo "${ECHO_T}$ac_header_compiler" >&6; }
26501
26502 # Is the header present?
26503 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26505 cat >conftest.$ac_ext <<_ACEOF
26506 /* confdefs.h. */
26507 _ACEOF
26508 cat confdefs.h >>conftest.$ac_ext
26509 cat >>conftest.$ac_ext <<_ACEOF
26510 /* end confdefs.h. */
26511 #include <$ac_header>
26512 _ACEOF
26513 if { (ac_try="$ac_cpp conftest.$ac_ext"
26514 case "(($ac_try" in
26515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26516 *) ac_try_echo=$ac_try;;
26517 esac
26518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26520 ac_status=$?
26521 grep -v '^ *+' conftest.er1 >conftest.err
26522 rm -f conftest.er1
26523 cat conftest.err >&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } >/dev/null && {
26526 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26527 test ! -s conftest.err
26528 }; then
26529 ac_header_preproc=yes
26530 else
26531 echo "$as_me: failed program was:" >&5
26532 sed 's/^/| /' conftest.$ac_ext >&5
26533
26534 ac_header_preproc=no
26535 fi
26536
26537 rm -f conftest.err conftest.$ac_ext
26538 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26539 echo "${ECHO_T}$ac_header_preproc" >&6; }
26540
26541 # So? What about this header?
26542 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26543 yes:no: )
26544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26547 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26548 ac_header_preproc=yes
26549 ;;
26550 no:yes:* )
26551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26555 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26556 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26557 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26558 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26561 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26562 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26563 ( cat <<\_ASBOX
26564 ## ----------------------------------------- ##
26565 ## Report this to wx-dev@lists.wxwidgets.org ##
26566 ## ----------------------------------------- ##
26567 _ASBOX
26568 ) | sed "s/^/$as_me: WARNING: /" >&2
26569 ;;
26570 esac
26571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26574 echo $ECHO_N "(cached) $ECHO_C" >&6
26575 else
26576 eval "$as_ac_Header=\$ac_header_preproc"
26577 fi
26578 ac_res=`eval echo '${'$as_ac_Header'}'`
26579 { echo "$as_me:$LINENO: result: $ac_res" >&5
26580 echo "${ECHO_T}$ac_res" >&6; }
26581
26582 fi
26583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26584 cat >>confdefs.h <<_ACEOF
26585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26586 _ACEOF
26587
26588 fi
26589
26590 done
26591
26592
26593
26594
26595 if test -n "$GCC"; then
26596 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26597 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26598 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6
26600 else
26601
26602 cat >conftest.$ac_ext <<_ACEOF
26603 /* confdefs.h. */
26604 _ACEOF
26605 cat confdefs.h >>conftest.$ac_ext
26606 cat >>conftest.$ac_ext <<_ACEOF
26607 /* end confdefs.h. */
26608
26609 int
26610 main ()
26611 {
26612
26613 unsigned int value=0;
26614 /* wxAtomicInc doesn't use return value here */
26615 __sync_fetch_and_add(&value, 2);
26616 __sync_sub_and_fetch(&value, 1);
26617 /* but wxAtomicDec does, so mimic that: */
26618 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26619
26620 ;
26621 return 0;
26622 }
26623 _ACEOF
26624 rm -f conftest.$ac_objext conftest$ac_exeext
26625 if { (ac_try="$ac_link"
26626 case "(($ac_try" in
26627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26628 *) ac_try_echo=$ac_try;;
26629 esac
26630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26631 (eval "$ac_link") 2>conftest.er1
26632 ac_status=$?
26633 grep -v '^ *+' conftest.er1 >conftest.err
26634 rm -f conftest.er1
26635 cat conftest.err >&5
26636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26637 (exit $ac_status); } && {
26638 test -z "$ac_cxx_werror_flag" ||
26639 test ! -s conftest.err
26640 } && test -s conftest$ac_exeext &&
26641 $as_test_x conftest$ac_exeext; then
26642 wx_cv_cc_gcc_atomic_builtins=yes
26643 else
26644 echo "$as_me: failed program was:" >&5
26645 sed 's/^/| /' conftest.$ac_ext >&5
26646
26647 wx_cv_cc_gcc_atomic_builtins=no
26648 fi
26649
26650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26651 conftest$ac_exeext conftest.$ac_ext
26652
26653 fi
26654
26655 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26656 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26657 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26658 cat >>confdefs.h <<\_ACEOF
26659 #define HAVE_GCC_ATOMIC_BUILTINS 1
26660 _ACEOF
26661
26662 fi
26663 fi
26664
26665
26666 ac_ext=c
26667 ac_cpp='$CPP $CPPFLAGS'
26668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26671
26672
26673
26674 SEARCH_INCLUDE="\
26675 /usr/local/include \
26676 /usr/local/X11/include \
26677 /usr/local/include/X11 \
26678 /usr/local/X11R7/include \
26679 /usr/local/X11R6/include \
26680 /usr/local/include/X11R7 \
26681 /usr/local/include/X11R6 \
26682 \
26683 /usr/Motif-2.1/include \
26684 /usr/Motif-1.2/include \
26685 /usr/include/Motif1.2 \
26686 \
26687 /usr/dt/include \
26688 /usr/openwin/include \
26689 \
26690 /usr/include/Xm \
26691 \
26692 /usr/X11R7/include \
26693 /usr/X11R6/include \
26694 /usr/X11R6.4/include \
26695 \
26696 /usr/include/X11R7 \
26697 /usr/include/X11R6 \
26698 \
26699 /usr/X11/include \
26700 /usr/include/X11 \
26701 \
26702 /usr/XFree86/include/X11 \
26703 /usr/pkg/include \
26704 \
26705 /usr/local/X1R5/include \
26706 /usr/local/include/X11R5 \
26707 /usr/X11R5/include \
26708 /usr/include/X11R5 \
26709 \
26710 /usr/local/X11R4/include \
26711 /usr/local/include/X11R4 \
26712 /usr/X11R4/include \
26713 /usr/include/X11R4 \
26714 \
26715 /usr/openwin/share/include"
26716
26717 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26718 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26719
26720 case "${host}" in
26721 *-*-irix6* )
26722 if test "${wx_cv_std_libpath+set}" = set; then
26723 echo $ECHO_N "(cached) $ECHO_C" >&6
26724 else
26725
26726 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26727 for e in a so sl dylib dll.a; do
26728 libc="$d/libc.$e"
26729 if test -f $libc; then
26730 save_LIBS="$LIBS"
26731 LIBS="$libc"
26732 cat >conftest.$ac_ext <<_ACEOF
26733 int main() { return 0; }
26734 _ACEOF
26735 rm -f conftest.$ac_objext conftest$ac_exeext
26736 if { (ac_try="$ac_link"
26737 case "(($ac_try" in
26738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26739 *) ac_try_echo=$ac_try;;
26740 esac
26741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26742 (eval "$ac_link") 2>conftest.er1
26743 ac_status=$?
26744 grep -v '^ *+' conftest.er1 >conftest.err
26745 rm -f conftest.er1
26746 cat conftest.err >&5
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); } && {
26749 test -z "$ac_c_werror_flag" ||
26750 test ! -s conftest.err
26751 } && test -s conftest$ac_exeext &&
26752 $as_test_x conftest$ac_exeext; then
26753 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26754 else
26755 echo "$as_me: failed program was:" >&5
26756 sed 's/^/| /' conftest.$ac_ext >&5
26757
26758
26759 fi
26760
26761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26762 conftest$ac_exeext conftest.$ac_ext
26763 LIBS="$save_LIBS"
26764 if test "x$wx_cv_std_libpath" != "x"; then
26765 break 2
26766 fi
26767 fi
26768 done
26769 done
26770 if test "x$wx_cv_std_libpath" = "x"; then
26771 wx_cv_std_libpath="lib"
26772 fi
26773
26774
26775 fi
26776
26777 ;;
26778
26779 *-*-solaris2* )
26780 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26781 wx_cv_std_libpath="lib/64"
26782 else
26783 wx_cv_std_libpath="lib"
26784 fi
26785 ;;
26786
26787 *-*-linux* )
26788 if test "$ac_cv_sizeof_void_p" = 8 -a \
26789 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26790 wx_cv_std_libpath="lib64"
26791 else
26792 wx_cv_std_libpath="lib"
26793 fi
26794 ;;
26795
26796 *)
26797 wx_cv_std_libpath="lib";
26798 ;;
26799 esac
26800
26801 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26802 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26803
26804 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26805
26806 if test "$build" != "$host" -a "$GCC" = yes; then
26807 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26808 cross_root=`dirname $cross_root`
26809 cross_root=`dirname $cross_root`
26810
26811 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26812 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26813 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26814
26815 if test -z "$PKG_CONFIG_PATH"; then
26816 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26817 export PKG_CONFIG_PATH
26818 fi
26819
26820 if test -z "$x_includes" -o "$x_includes" = NONE; then
26821
26822 ac_find_includes=
26823 for ac_dir in $SEARCH_INCLUDE /usr/include
26824 do
26825 if test -f "$ac_dir/X11/Intrinsic.h"; then
26826 ac_find_includes=$ac_dir
26827 break
26828 fi
26829 done
26830
26831 x_includes=$ac_find_includes
26832 fi
26833 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26834
26835 ac_find_libraries=
26836 for ac_dir in $SEARCH_LIB
26837 do
26838 for ac_extension in a so sl dylib dll.a; do
26839 if test -f "$ac_dir/libXt.$ac_extension"; then
26840 ac_find_libraries=$ac_dir
26841 break 2
26842 fi
26843 done
26844 done
26845
26846 x_libraries=$ac_find_libraries
26847 fi
26848 fi
26849 fi
26850
26851
26852 cat >confcache <<\_ACEOF
26853 # This file is a shell script that caches the results of configure
26854 # tests run on this system so they can be shared between configure
26855 # scripts and configure runs, see configure's option --config-cache.
26856 # It is not useful on other systems. If it contains results you don't
26857 # want to keep, you may remove or edit it.
26858 #
26859 # config.status only pays attention to the cache file if you give it
26860 # the --recheck option to rerun configure.
26861 #
26862 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26863 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26864 # following values.
26865
26866 _ACEOF
26867
26868 # The following way of writing the cache mishandles newlines in values,
26869 # but we know of no workaround that is simple, portable, and efficient.
26870 # So, we kill variables containing newlines.
26871 # Ultrix sh set writes to stderr and can't be redirected directly,
26872 # and sets the high bit in the cache file unless we assign to the vars.
26873 (
26874 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26875 eval ac_val=\$$ac_var
26876 case $ac_val in #(
26877 *${as_nl}*)
26878 case $ac_var in #(
26879 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26880 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26881 esac
26882 case $ac_var in #(
26883 _ | IFS | as_nl) ;; #(
26884 *) $as_unset $ac_var ;;
26885 esac ;;
26886 esac
26887 done
26888
26889 (set) 2>&1 |
26890 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26891 *${as_nl}ac_space=\ *)
26892 # `set' does not quote correctly, so add quotes (double-quote
26893 # substitution turns \\\\ into \\, and sed turns \\ into \).
26894 sed -n \
26895 "s/'/'\\\\''/g;
26896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26897 ;; #(
26898 *)
26899 # `set' quotes correctly as required by POSIX, so do not add quotes.
26900 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26901 ;;
26902 esac |
26903 sort
26904 ) |
26905 sed '
26906 /^ac_cv_env_/b end
26907 t clear
26908 :clear
26909 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26910 t end
26911 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26912 :end' >>confcache
26913 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26914 if test -w "$cache_file"; then
26915 test "x$cache_file" != "x/dev/null" &&
26916 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26917 echo "$as_me: updating cache $cache_file" >&6;}
26918 cat confcache >$cache_file
26919 else
26920 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26921 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26922 fi
26923 fi
26924 rm -f confcache
26925
26926 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26927 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26928 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26929 if test "${wx_cv_lib_glibc21+set}" = set; then
26930 echo $ECHO_N "(cached) $ECHO_C" >&6
26931 else
26932
26933 cat >conftest.$ac_ext <<_ACEOF
26934 /* confdefs.h. */
26935 _ACEOF
26936 cat confdefs.h >>conftest.$ac_ext
26937 cat >>conftest.$ac_ext <<_ACEOF
26938 /* end confdefs.h. */
26939 #include <features.h>
26940 int
26941 main ()
26942 {
26943
26944 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26945 not glibc 2.1
26946 #endif
26947
26948 ;
26949 return 0;
26950 }
26951 _ACEOF
26952 rm -f conftest.$ac_objext
26953 if { (ac_try="$ac_compile"
26954 case "(($ac_try" in
26955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26956 *) ac_try_echo=$ac_try;;
26957 esac
26958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26959 (eval "$ac_compile") 2>conftest.er1
26960 ac_status=$?
26961 grep -v '^ *+' conftest.er1 >conftest.err
26962 rm -f conftest.er1
26963 cat conftest.err >&5
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); } && {
26966 test -z "$ac_c_werror_flag" ||
26967 test ! -s conftest.err
26968 } && test -s conftest.$ac_objext; then
26969
26970 wx_cv_lib_glibc21=yes
26971
26972 else
26973 echo "$as_me: failed program was:" >&5
26974 sed 's/^/| /' conftest.$ac_ext >&5
26975
26976
26977 wx_cv_lib_glibc21=no
26978
26979
26980 fi
26981
26982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26983
26984 fi
26985 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26986 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26987 if test "$wx_cv_lib_glibc21" = "yes"; then
26988 cat >>confdefs.h <<\_ACEOF
26989 #define wxHAVE_GLIBC2 1
26990 _ACEOF
26991
26992 fi
26993 fi
26994
26995 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26996 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26997 cat >>confdefs.h <<\_ACEOF
26998 #define _GNU_SOURCE 1
26999 _ACEOF
27000
27001 fi
27002 fi
27003
27004 have_cos=0
27005 have_floor=0
27006
27007 for ac_func in cos
27008 do
27009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27013 echo $ECHO_N "(cached) $ECHO_C" >&6
27014 else
27015 cat >conftest.$ac_ext <<_ACEOF
27016 /* confdefs.h. */
27017 _ACEOF
27018 cat confdefs.h >>conftest.$ac_ext
27019 cat >>conftest.$ac_ext <<_ACEOF
27020 /* end confdefs.h. */
27021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27023 #define $ac_func innocuous_$ac_func
27024
27025 /* System header to define __stub macros and hopefully few prototypes,
27026 which can conflict with char $ac_func (); below.
27027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27028 <limits.h> exists even on freestanding compilers. */
27029
27030 #ifdef __STDC__
27031 # include <limits.h>
27032 #else
27033 # include <assert.h>
27034 #endif
27035
27036 #undef $ac_func
27037
27038 /* Override any GCC internal prototype to avoid an error.
27039 Use char because int might match the return type of a GCC
27040 builtin and then its argument prototype would still apply. */
27041 #ifdef __cplusplus
27042 extern "C"
27043 #endif
27044 char $ac_func ();
27045 /* The GNU C library defines this for functions which it implements
27046 to always fail with ENOSYS. Some functions are actually named
27047 something starting with __ and the normal name is an alias. */
27048 #if defined __stub_$ac_func || defined __stub___$ac_func
27049 choke me
27050 #endif
27051
27052 int
27053 main ()
27054 {
27055 return $ac_func ();
27056 ;
27057 return 0;
27058 }
27059 _ACEOF
27060 rm -f conftest.$ac_objext conftest$ac_exeext
27061 if { (ac_try="$ac_link"
27062 case "(($ac_try" in
27063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27064 *) ac_try_echo=$ac_try;;
27065 esac
27066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27067 (eval "$ac_link") 2>conftest.er1
27068 ac_status=$?
27069 grep -v '^ *+' conftest.er1 >conftest.err
27070 rm -f conftest.er1
27071 cat conftest.err >&5
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); } && {
27074 test -z "$ac_c_werror_flag" ||
27075 test ! -s conftest.err
27076 } && test -s conftest$ac_exeext &&
27077 $as_test_x conftest$ac_exeext; then
27078 eval "$as_ac_var=yes"
27079 else
27080 echo "$as_me: failed program was:" >&5
27081 sed 's/^/| /' conftest.$ac_ext >&5
27082
27083 eval "$as_ac_var=no"
27084 fi
27085
27086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27087 conftest$ac_exeext conftest.$ac_ext
27088 fi
27089 ac_res=`eval echo '${'$as_ac_var'}'`
27090 { echo "$as_me:$LINENO: result: $ac_res" >&5
27091 echo "${ECHO_T}$ac_res" >&6; }
27092 if test `eval echo '${'$as_ac_var'}'` = yes; then
27093 cat >>confdefs.h <<_ACEOF
27094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27095 _ACEOF
27096 have_cos=1
27097 fi
27098 done
27099
27100
27101 for ac_func in floor
27102 do
27103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27104 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27106 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27107 echo $ECHO_N "(cached) $ECHO_C" >&6
27108 else
27109 cat >conftest.$ac_ext <<_ACEOF
27110 /* confdefs.h. */
27111 _ACEOF
27112 cat confdefs.h >>conftest.$ac_ext
27113 cat >>conftest.$ac_ext <<_ACEOF
27114 /* end confdefs.h. */
27115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27117 #define $ac_func innocuous_$ac_func
27118
27119 /* System header to define __stub macros and hopefully few prototypes,
27120 which can conflict with char $ac_func (); below.
27121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27122 <limits.h> exists even on freestanding compilers. */
27123
27124 #ifdef __STDC__
27125 # include <limits.h>
27126 #else
27127 # include <assert.h>
27128 #endif
27129
27130 #undef $ac_func
27131
27132 /* Override any GCC internal prototype to avoid an error.
27133 Use char because int might match the return type of a GCC
27134 builtin and then its argument prototype would still apply. */
27135 #ifdef __cplusplus
27136 extern "C"
27137 #endif
27138 char $ac_func ();
27139 /* The GNU C library defines this for functions which it implements
27140 to always fail with ENOSYS. Some functions are actually named
27141 something starting with __ and the normal name is an alias. */
27142 #if defined __stub_$ac_func || defined __stub___$ac_func
27143 choke me
27144 #endif
27145
27146 int
27147 main ()
27148 {
27149 return $ac_func ();
27150 ;
27151 return 0;
27152 }
27153 _ACEOF
27154 rm -f conftest.$ac_objext conftest$ac_exeext
27155 if { (ac_try="$ac_link"
27156 case "(($ac_try" in
27157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27158 *) ac_try_echo=$ac_try;;
27159 esac
27160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27161 (eval "$ac_link") 2>conftest.er1
27162 ac_status=$?
27163 grep -v '^ *+' conftest.er1 >conftest.err
27164 rm -f conftest.er1
27165 cat conftest.err >&5
27166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27167 (exit $ac_status); } && {
27168 test -z "$ac_c_werror_flag" ||
27169 test ! -s conftest.err
27170 } && test -s conftest$ac_exeext &&
27171 $as_test_x conftest$ac_exeext; then
27172 eval "$as_ac_var=yes"
27173 else
27174 echo "$as_me: failed program was:" >&5
27175 sed 's/^/| /' conftest.$ac_ext >&5
27176
27177 eval "$as_ac_var=no"
27178 fi
27179
27180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27181 conftest$ac_exeext conftest.$ac_ext
27182 fi
27183 ac_res=`eval echo '${'$as_ac_var'}'`
27184 { echo "$as_me:$LINENO: result: $ac_res" >&5
27185 echo "${ECHO_T}$ac_res" >&6; }
27186 if test `eval echo '${'$as_ac_var'}'` = yes; then
27187 cat >>confdefs.h <<_ACEOF
27188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27189 _ACEOF
27190 have_floor=1
27191 fi
27192 done
27193
27194 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27195 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27196 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27197 { echo "$as_me:$LINENO: result: yes" >&5
27198 echo "${ECHO_T}yes" >&6; }
27199 else
27200 { echo "$as_me:$LINENO: result: no" >&5
27201 echo "${ECHO_T}no" >&6; }
27202 LIBS="$LIBS -lm"
27203 # use different functions to avoid configure caching
27204 have_sin=0
27205 have_ceil=0
27206
27207 for ac_func in sin
27208 do
27209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27210 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27212 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27213 echo $ECHO_N "(cached) $ECHO_C" >&6
27214 else
27215 cat >conftest.$ac_ext <<_ACEOF
27216 /* confdefs.h. */
27217 _ACEOF
27218 cat confdefs.h >>conftest.$ac_ext
27219 cat >>conftest.$ac_ext <<_ACEOF
27220 /* end confdefs.h. */
27221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27223 #define $ac_func innocuous_$ac_func
27224
27225 /* System header to define __stub macros and hopefully few prototypes,
27226 which can conflict with char $ac_func (); below.
27227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27228 <limits.h> exists even on freestanding compilers. */
27229
27230 #ifdef __STDC__
27231 # include <limits.h>
27232 #else
27233 # include <assert.h>
27234 #endif
27235
27236 #undef $ac_func
27237
27238 /* Override any GCC internal prototype to avoid an error.
27239 Use char because int might match the return type of a GCC
27240 builtin and then its argument prototype would still apply. */
27241 #ifdef __cplusplus
27242 extern "C"
27243 #endif
27244 char $ac_func ();
27245 /* The GNU C library defines this for functions which it implements
27246 to always fail with ENOSYS. Some functions are actually named
27247 something starting with __ and the normal name is an alias. */
27248 #if defined __stub_$ac_func || defined __stub___$ac_func
27249 choke me
27250 #endif
27251
27252 int
27253 main ()
27254 {
27255 return $ac_func ();
27256 ;
27257 return 0;
27258 }
27259 _ACEOF
27260 rm -f conftest.$ac_objext conftest$ac_exeext
27261 if { (ac_try="$ac_link"
27262 case "(($ac_try" in
27263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27264 *) ac_try_echo=$ac_try;;
27265 esac
27266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27267 (eval "$ac_link") 2>conftest.er1
27268 ac_status=$?
27269 grep -v '^ *+' conftest.er1 >conftest.err
27270 rm -f conftest.er1
27271 cat conftest.err >&5
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); } && {
27274 test -z "$ac_c_werror_flag" ||
27275 test ! -s conftest.err
27276 } && test -s conftest$ac_exeext &&
27277 $as_test_x conftest$ac_exeext; then
27278 eval "$as_ac_var=yes"
27279 else
27280 echo "$as_me: failed program was:" >&5
27281 sed 's/^/| /' conftest.$ac_ext >&5
27282
27283 eval "$as_ac_var=no"
27284 fi
27285
27286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27287 conftest$ac_exeext conftest.$ac_ext
27288 fi
27289 ac_res=`eval echo '${'$as_ac_var'}'`
27290 { echo "$as_me:$LINENO: result: $ac_res" >&5
27291 echo "${ECHO_T}$ac_res" >&6; }
27292 if test `eval echo '${'$as_ac_var'}'` = yes; then
27293 cat >>confdefs.h <<_ACEOF
27294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27295 _ACEOF
27296 have_sin=1
27297 fi
27298 done
27299
27300
27301 for ac_func in ceil
27302 do
27303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27304 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27306 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27307 echo $ECHO_N "(cached) $ECHO_C" >&6
27308 else
27309 cat >conftest.$ac_ext <<_ACEOF
27310 /* confdefs.h. */
27311 _ACEOF
27312 cat confdefs.h >>conftest.$ac_ext
27313 cat >>conftest.$ac_ext <<_ACEOF
27314 /* end confdefs.h. */
27315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27317 #define $ac_func innocuous_$ac_func
27318
27319 /* System header to define __stub macros and hopefully few prototypes,
27320 which can conflict with char $ac_func (); below.
27321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27322 <limits.h> exists even on freestanding compilers. */
27323
27324 #ifdef __STDC__
27325 # include <limits.h>
27326 #else
27327 # include <assert.h>
27328 #endif
27329
27330 #undef $ac_func
27331
27332 /* Override any GCC internal prototype to avoid an error.
27333 Use char because int might match the return type of a GCC
27334 builtin and then its argument prototype would still apply. */
27335 #ifdef __cplusplus
27336 extern "C"
27337 #endif
27338 char $ac_func ();
27339 /* The GNU C library defines this for functions which it implements
27340 to always fail with ENOSYS. Some functions are actually named
27341 something starting with __ and the normal name is an alias. */
27342 #if defined __stub_$ac_func || defined __stub___$ac_func
27343 choke me
27344 #endif
27345
27346 int
27347 main ()
27348 {
27349 return $ac_func ();
27350 ;
27351 return 0;
27352 }
27353 _ACEOF
27354 rm -f conftest.$ac_objext conftest$ac_exeext
27355 if { (ac_try="$ac_link"
27356 case "(($ac_try" in
27357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27358 *) ac_try_echo=$ac_try;;
27359 esac
27360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27361 (eval "$ac_link") 2>conftest.er1
27362 ac_status=$?
27363 grep -v '^ *+' conftest.er1 >conftest.err
27364 rm -f conftest.er1
27365 cat conftest.err >&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); } && {
27368 test -z "$ac_c_werror_flag" ||
27369 test ! -s conftest.err
27370 } && test -s conftest$ac_exeext &&
27371 $as_test_x conftest$ac_exeext; then
27372 eval "$as_ac_var=yes"
27373 else
27374 echo "$as_me: failed program was:" >&5
27375 sed 's/^/| /' conftest.$ac_ext >&5
27376
27377 eval "$as_ac_var=no"
27378 fi
27379
27380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27381 conftest$ac_exeext conftest.$ac_ext
27382 fi
27383 ac_res=`eval echo '${'$as_ac_var'}'`
27384 { echo "$as_me:$LINENO: result: $ac_res" >&5
27385 echo "${ECHO_T}$ac_res" >&6; }
27386 if test `eval echo '${'$as_ac_var'}'` = yes; then
27387 cat >>confdefs.h <<_ACEOF
27388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27389 _ACEOF
27390 have_ceil=1
27391 fi
27392 done
27393
27394 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27395 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27396 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27397 { echo "$as_me:$LINENO: result: yes" >&5
27398 echo "${ECHO_T}yes" >&6; }
27399 else
27400 { echo "$as_me:$LINENO: result: no" >&5
27401 echo "${ECHO_T}no" >&6; }
27402 # not sure we should warn the user, crash, etc.
27403 fi
27404 fi
27405
27406 ac_ext=cpp
27407 ac_cpp='$CXXCPP $CPPFLAGS'
27408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27411
27412 if test "wxUSE_UNICODE" = "yes"; then
27413
27414 for wx_func in wcstoull
27415 do
27416 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27417 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27418 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27419 echo $ECHO_N "(cached) $ECHO_C" >&6
27420 else
27421
27422 cat >conftest.$ac_ext <<_ACEOF
27423
27424 /* confdefs.h. */
27425 _ACEOF
27426 cat confdefs.h >>conftest.$ac_ext
27427 cat >>conftest.$ac_ext <<_ACEOF
27428 /* end confdefs.h. */
27429
27430
27431 $ac_includes_default
27432
27433 int
27434 main ()
27435 {
27436
27437 #ifndef $wx_func
27438 &$wx_func;
27439 #endif
27440
27441
27442 ;
27443 return 0;
27444 }
27445
27446 _ACEOF
27447 rm -f conftest.$ac_objext conftest$ac_exeext
27448 if { (ac_try="$ac_link"
27449 case "(($ac_try" in
27450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27451 *) ac_try_echo=$ac_try;;
27452 esac
27453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27454 (eval "$ac_link") 2>conftest.er1
27455 ac_status=$?
27456 grep -v '^ *+' conftest.er1 >conftest.err
27457 rm -f conftest.er1
27458 cat conftest.err >&5
27459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27460 (exit $ac_status); } && {
27461 test -z "$ac_cxx_werror_flag" ||
27462 test ! -s conftest.err
27463 } && test -s conftest$ac_exeext &&
27464 $as_test_x conftest$ac_exeext; then
27465 eval wx_cv_func_$wx_func=yes
27466 else
27467 echo "$as_me: failed program was:" >&5
27468 sed 's/^/| /' conftest.$ac_ext >&5
27469
27470 eval wx_cv_func_$wx_func=no
27471 fi
27472
27473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27474 conftest$ac_exeext conftest.$ac_ext
27475
27476 fi
27477 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27478 { echo "$as_me:$LINENO: result: $ac_res" >&5
27479 echo "${ECHO_T}$ac_res" >&6; }
27480
27481 if eval test \$wx_cv_func_$wx_func = yes
27482 then
27483 cat >>confdefs.h <<_ACEOF
27484 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27485 _ACEOF
27486
27487
27488 else
27489 :
27490
27491 fi
27492 done
27493
27494 else
27495
27496 for wx_func in strtoull
27497 do
27498 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27499 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27500 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27502 else
27503
27504 cat >conftest.$ac_ext <<_ACEOF
27505
27506 /* confdefs.h. */
27507 _ACEOF
27508 cat confdefs.h >>conftest.$ac_ext
27509 cat >>conftest.$ac_ext <<_ACEOF
27510 /* end confdefs.h. */
27511
27512
27513 $ac_includes_default
27514
27515 int
27516 main ()
27517 {
27518
27519 #ifndef $wx_func
27520 &$wx_func;
27521 #endif
27522
27523
27524 ;
27525 return 0;
27526 }
27527
27528 _ACEOF
27529 rm -f conftest.$ac_objext conftest$ac_exeext
27530 if { (ac_try="$ac_link"
27531 case "(($ac_try" in
27532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27533 *) ac_try_echo=$ac_try;;
27534 esac
27535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27536 (eval "$ac_link") 2>conftest.er1
27537 ac_status=$?
27538 grep -v '^ *+' conftest.er1 >conftest.err
27539 rm -f conftest.er1
27540 cat conftest.err >&5
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 (exit $ac_status); } && {
27543 test -z "$ac_cxx_werror_flag" ||
27544 test ! -s conftest.err
27545 } && test -s conftest$ac_exeext &&
27546 $as_test_x conftest$ac_exeext; then
27547 eval wx_cv_func_$wx_func=yes
27548 else
27549 echo "$as_me: failed program was:" >&5
27550 sed 's/^/| /' conftest.$ac_ext >&5
27551
27552 eval wx_cv_func_$wx_func=no
27553 fi
27554
27555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27556 conftest$ac_exeext conftest.$ac_ext
27557
27558 fi
27559 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27560 { echo "$as_me:$LINENO: result: $ac_res" >&5
27561 echo "${ECHO_T}$ac_res" >&6; }
27562
27563 if eval test \$wx_cv_func_$wx_func = yes
27564 then
27565 cat >>confdefs.h <<_ACEOF
27566 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27567 _ACEOF
27568
27569
27570 else
27571 :
27572
27573 fi
27574 done
27575
27576 fi
27577 ac_ext=c
27578 ac_cpp='$CPP $CPPFLAGS'
27579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27582
27583
27584
27585
27586 if test "$wxUSE_REGEX" != "no"; then
27587 cat >>confdefs.h <<\_ACEOF
27588 #define wxUSE_REGEX 1
27589 _ACEOF
27590
27591
27592 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27593 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27594 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27595 wxUSE_REGEX=builtin
27596 fi
27597
27598 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27599 { echo "$as_me:$LINENO: checking for regex.h" >&5
27600 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27601 if test "${ac_cv_header_regex_h+set}" = set; then
27602 echo $ECHO_N "(cached) $ECHO_C" >&6
27603 else
27604 cat >conftest.$ac_ext <<_ACEOF
27605 /* confdefs.h. */
27606 _ACEOF
27607 cat confdefs.h >>conftest.$ac_ext
27608 cat >>conftest.$ac_ext <<_ACEOF
27609 /* end confdefs.h. */
27610
27611
27612 #include <regex.h>
27613 _ACEOF
27614 rm -f conftest.$ac_objext
27615 if { (ac_try="$ac_compile"
27616 case "(($ac_try" in
27617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27618 *) ac_try_echo=$ac_try;;
27619 esac
27620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27621 (eval "$ac_compile") 2>conftest.er1
27622 ac_status=$?
27623 grep -v '^ *+' conftest.er1 >conftest.err
27624 rm -f conftest.er1
27625 cat conftest.err >&5
27626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27627 (exit $ac_status); } && {
27628 test -z "$ac_c_werror_flag" ||
27629 test ! -s conftest.err
27630 } && test -s conftest.$ac_objext; then
27631 ac_cv_header_regex_h=yes
27632 else
27633 echo "$as_me: failed program was:" >&5
27634 sed 's/^/| /' conftest.$ac_ext >&5
27635
27636 ac_cv_header_regex_h=no
27637 fi
27638
27639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27640 fi
27641 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27642 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27643 if test $ac_cv_header_regex_h = yes; then
27644
27645
27646 for ac_func in regcomp re_search
27647 do
27648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27649 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27652 echo $ECHO_N "(cached) $ECHO_C" >&6
27653 else
27654 cat >conftest.$ac_ext <<_ACEOF
27655 /* confdefs.h. */
27656 _ACEOF
27657 cat confdefs.h >>conftest.$ac_ext
27658 cat >>conftest.$ac_ext <<_ACEOF
27659 /* end confdefs.h. */
27660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27662 #define $ac_func innocuous_$ac_func
27663
27664 /* System header to define __stub macros and hopefully few prototypes,
27665 which can conflict with char $ac_func (); below.
27666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27667 <limits.h> exists even on freestanding compilers. */
27668
27669 #ifdef __STDC__
27670 # include <limits.h>
27671 #else
27672 # include <assert.h>
27673 #endif
27674
27675 #undef $ac_func
27676
27677 /* Override any GCC internal prototype to avoid an error.
27678 Use char because int might match the return type of a GCC
27679 builtin and then its argument prototype would still apply. */
27680 #ifdef __cplusplus
27681 extern "C"
27682 #endif
27683 char $ac_func ();
27684 /* The GNU C library defines this for functions which it implements
27685 to always fail with ENOSYS. Some functions are actually named
27686 something starting with __ and the normal name is an alias. */
27687 #if defined __stub_$ac_func || defined __stub___$ac_func
27688 choke me
27689 #endif
27690
27691 int
27692 main ()
27693 {
27694 return $ac_func ();
27695 ;
27696 return 0;
27697 }
27698 _ACEOF
27699 rm -f conftest.$ac_objext conftest$ac_exeext
27700 if { (ac_try="$ac_link"
27701 case "(($ac_try" in
27702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27703 *) ac_try_echo=$ac_try;;
27704 esac
27705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27706 (eval "$ac_link") 2>conftest.er1
27707 ac_status=$?
27708 grep -v '^ *+' conftest.er1 >conftest.err
27709 rm -f conftest.er1
27710 cat conftest.err >&5
27711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27712 (exit $ac_status); } && {
27713 test -z "$ac_c_werror_flag" ||
27714 test ! -s conftest.err
27715 } && test -s conftest$ac_exeext &&
27716 $as_test_x conftest$ac_exeext; then
27717 eval "$as_ac_var=yes"
27718 else
27719 echo "$as_me: failed program was:" >&5
27720 sed 's/^/| /' conftest.$ac_ext >&5
27721
27722 eval "$as_ac_var=no"
27723 fi
27724
27725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27726 conftest$ac_exeext conftest.$ac_ext
27727 fi
27728 ac_res=`eval echo '${'$as_ac_var'}'`
27729 { echo "$as_me:$LINENO: result: $ac_res" >&5
27730 echo "${ECHO_T}$ac_res" >&6; }
27731 if test `eval echo '${'$as_ac_var'}'` = yes; then
27732 cat >>confdefs.h <<_ACEOF
27733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27734 _ACEOF
27735
27736 fi
27737 done
27738
27739 fi
27740
27741
27742
27743 if test "x$ac_cv_func_regcomp" != "xyes"; then
27744 if test "$wxUSE_REGEX" = "sys" ; then
27745 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27746 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27747 { (exit 1); exit 1; }; }
27748 else
27749 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27750 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27751 wxUSE_REGEX=builtin
27752 fi
27753 else
27754 wxUSE_REGEX=sys
27755 cat >>confdefs.h <<\_ACEOF
27756 #define WX_NO_REGEX_ADVANCED 1
27757 _ACEOF
27758
27759 fi
27760 fi
27761 fi
27762
27763
27764 ZLIB_LINK=
27765 if test "$wxUSE_ZLIB" != "no" ; then
27766 cat >>confdefs.h <<\_ACEOF
27767 #define wxUSE_ZLIB 1
27768 _ACEOF
27769
27770
27771 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27772 if test "$USE_DARWIN" = 1; then
27773 system_zlib_h_ok="yes"
27774 else
27775 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27776 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27777 if test "${ac_cv_header_zlib_h+set}" = set; then
27778 echo $ECHO_N "(cached) $ECHO_C" >&6
27779 else
27780 if test "$cross_compiling" = yes; then
27781 unset ac_cv_header_zlib_h
27782
27783 else
27784 cat >conftest.$ac_ext <<_ACEOF
27785 /* confdefs.h. */
27786 _ACEOF
27787 cat confdefs.h >>conftest.$ac_ext
27788 cat >>conftest.$ac_ext <<_ACEOF
27789 /* end confdefs.h. */
27790
27791 #include <zlib.h>
27792 #include <stdio.h>
27793
27794 int main()
27795 {
27796 FILE *f=fopen("conftestval", "w");
27797 if (!f) exit(1);
27798 fprintf(f, "%s",
27799 ZLIB_VERSION[0] == '1' &&
27800 (ZLIB_VERSION[2] > '1' ||
27801 (ZLIB_VERSION[2] == '1' &&
27802 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27803 exit(0);
27804 }
27805
27806 _ACEOF
27807 rm -f conftest$ac_exeext
27808 if { (ac_try="$ac_link"
27809 case "(($ac_try" in
27810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27811 *) ac_try_echo=$ac_try;;
27812 esac
27813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27814 (eval "$ac_link") 2>&5
27815 ac_status=$?
27816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27817 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27818 { (case "(($ac_try" in
27819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27820 *) ac_try_echo=$ac_try;;
27821 esac
27822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27823 (eval "$ac_try") 2>&5
27824 ac_status=$?
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); }; }; then
27827 ac_cv_header_zlib_h=`cat conftestval`
27828 else
27829 echo "$as_me: program exited with status $ac_status" >&5
27830 echo "$as_me: failed program was:" >&5
27831 sed 's/^/| /' conftest.$ac_ext >&5
27832
27833 ( exit $ac_status )
27834 ac_cv_header_zlib_h=no
27835 fi
27836 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27837 fi
27838
27839
27840
27841 fi
27842 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27843 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27844 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27845 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27846 if test "${ac_cv_header_zlib_h+set}" = set; then
27847 echo $ECHO_N "(cached) $ECHO_C" >&6
27848 else
27849 cat >conftest.$ac_ext <<_ACEOF
27850 /* confdefs.h. */
27851 _ACEOF
27852 cat confdefs.h >>conftest.$ac_ext
27853 cat >>conftest.$ac_ext <<_ACEOF
27854 /* end confdefs.h. */
27855
27856
27857 #include <zlib.h>
27858 _ACEOF
27859 rm -f conftest.$ac_objext
27860 if { (ac_try="$ac_compile"
27861 case "(($ac_try" in
27862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27863 *) ac_try_echo=$ac_try;;
27864 esac
27865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27866 (eval "$ac_compile") 2>conftest.er1
27867 ac_status=$?
27868 grep -v '^ *+' conftest.er1 >conftest.err
27869 rm -f conftest.er1
27870 cat conftest.err >&5
27871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872 (exit $ac_status); } && {
27873 test -z "$ac_c_werror_flag" ||
27874 test ! -s conftest.err
27875 } && test -s conftest.$ac_objext; then
27876 ac_cv_header_zlib_h=yes
27877 else
27878 echo "$as_me: failed program was:" >&5
27879 sed 's/^/| /' conftest.$ac_ext >&5
27880
27881 ac_cv_header_zlib_h=no
27882 fi
27883
27884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27885 fi
27886 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27887 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27888
27889
27890
27891 system_zlib_h_ok=$ac_cv_header_zlib_h
27892 fi
27893
27894 if test "$system_zlib_h_ok" = "yes"; then
27895 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27896 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27897 if test "${ac_cv_lib_z_deflate+set}" = set; then
27898 echo $ECHO_N "(cached) $ECHO_C" >&6
27899 else
27900 ac_check_lib_save_LIBS=$LIBS
27901 LIBS="-lz $LIBS"
27902 cat >conftest.$ac_ext <<_ACEOF
27903 /* confdefs.h. */
27904 _ACEOF
27905 cat confdefs.h >>conftest.$ac_ext
27906 cat >>conftest.$ac_ext <<_ACEOF
27907 /* end confdefs.h. */
27908
27909 /* Override any GCC internal prototype to avoid an error.
27910 Use char because int might match the return type of a GCC
27911 builtin and then its argument prototype would still apply. */
27912 #ifdef __cplusplus
27913 extern "C"
27914 #endif
27915 char deflate ();
27916 int
27917 main ()
27918 {
27919 return deflate ();
27920 ;
27921 return 0;
27922 }
27923 _ACEOF
27924 rm -f conftest.$ac_objext conftest$ac_exeext
27925 if { (ac_try="$ac_link"
27926 case "(($ac_try" in
27927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27928 *) ac_try_echo=$ac_try;;
27929 esac
27930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27931 (eval "$ac_link") 2>conftest.er1
27932 ac_status=$?
27933 grep -v '^ *+' conftest.er1 >conftest.err
27934 rm -f conftest.er1
27935 cat conftest.err >&5
27936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27937 (exit $ac_status); } && {
27938 test -z "$ac_c_werror_flag" ||
27939 test ! -s conftest.err
27940 } && test -s conftest$ac_exeext &&
27941 $as_test_x conftest$ac_exeext; then
27942 ac_cv_lib_z_deflate=yes
27943 else
27944 echo "$as_me: failed program was:" >&5
27945 sed 's/^/| /' conftest.$ac_ext >&5
27946
27947 ac_cv_lib_z_deflate=no
27948 fi
27949
27950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27951 conftest$ac_exeext conftest.$ac_ext
27952 LIBS=$ac_check_lib_save_LIBS
27953 fi
27954 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27955 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27956 if test $ac_cv_lib_z_deflate = yes; then
27957 ZLIB_LINK=" -lz"
27958 fi
27959
27960 fi
27961
27962 if test "x$ZLIB_LINK" = "x" ; then
27963 if test "$wxUSE_ZLIB" = "sys" ; then
27964 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27965 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27966 { (exit 1); exit 1; }; }
27967 else
27968 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27969 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27970 wxUSE_ZLIB=builtin
27971 fi
27972 else
27973 wxUSE_ZLIB=sys
27974 fi
27975 fi
27976 fi
27977
27978
27979 PNG_LINK=
27980 if test "$wxUSE_LIBPNG" != "no" ; then
27981 cat >>confdefs.h <<\_ACEOF
27982 #define wxUSE_LIBPNG 1
27983 _ACEOF
27984
27985
27986 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27987 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27988 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27989 wxUSE_LIBPNG=sys
27990 fi
27991
27992 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27993 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27994 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27995 wxUSE_LIBPNG=builtin
27996 fi
27997
27998 if test "$wxUSE_MGL" != 1 ; then
27999 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28000 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28001 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28002 if test "${ac_cv_header_png_h+set}" = set; then
28003 echo $ECHO_N "(cached) $ECHO_C" >&6
28004 else
28005 if test "$cross_compiling" = yes; then
28006 unset ac_cv_header_png_h
28007
28008 else
28009 cat >conftest.$ac_ext <<_ACEOF
28010 /* confdefs.h. */
28011 _ACEOF
28012 cat confdefs.h >>conftest.$ac_ext
28013 cat >>conftest.$ac_ext <<_ACEOF
28014 /* end confdefs.h. */
28015
28016 #include <png.h>
28017 #include <stdio.h>
28018
28019 int main()
28020 {
28021 FILE *f=fopen("conftestval", "w");
28022 if (!f) exit(1);
28023 fprintf(f, "%s",
28024 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28025 exit(0);
28026 }
28027
28028 _ACEOF
28029 rm -f conftest$ac_exeext
28030 if { (ac_try="$ac_link"
28031 case "(($ac_try" in
28032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28033 *) ac_try_echo=$ac_try;;
28034 esac
28035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28036 (eval "$ac_link") 2>&5
28037 ac_status=$?
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28040 { (case "(($ac_try" in
28041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28042 *) ac_try_echo=$ac_try;;
28043 esac
28044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28045 (eval "$ac_try") 2>&5
28046 ac_status=$?
28047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048 (exit $ac_status); }; }; then
28049 ac_cv_header_png_h=`cat conftestval`
28050 else
28051 echo "$as_me: program exited with status $ac_status" >&5
28052 echo "$as_me: failed program was:" >&5
28053 sed 's/^/| /' conftest.$ac_ext >&5
28054
28055 ( exit $ac_status )
28056 ac_cv_header_png_h=no
28057 fi
28058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28059 fi
28060
28061
28062
28063 fi
28064 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28065 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28066 { echo "$as_me:$LINENO: checking for png.h" >&5
28067 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28068 if test "${ac_cv_header_png_h+set}" = set; then
28069 echo $ECHO_N "(cached) $ECHO_C" >&6
28070 else
28071 cat >conftest.$ac_ext <<_ACEOF
28072 /* confdefs.h. */
28073 _ACEOF
28074 cat confdefs.h >>conftest.$ac_ext
28075 cat >>conftest.$ac_ext <<_ACEOF
28076 /* end confdefs.h. */
28077
28078
28079 #include <png.h>
28080 _ACEOF
28081 rm -f conftest.$ac_objext
28082 if { (ac_try="$ac_compile"
28083 case "(($ac_try" in
28084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28085 *) ac_try_echo=$ac_try;;
28086 esac
28087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28088 (eval "$ac_compile") 2>conftest.er1
28089 ac_status=$?
28090 grep -v '^ *+' conftest.er1 >conftest.err
28091 rm -f conftest.er1
28092 cat conftest.err >&5
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } && {
28095 test -z "$ac_c_werror_flag" ||
28096 test ! -s conftest.err
28097 } && test -s conftest.$ac_objext; then
28098 ac_cv_header_png_h=yes
28099 else
28100 echo "$as_me: failed program was:" >&5
28101 sed 's/^/| /' conftest.$ac_ext >&5
28102
28103 ac_cv_header_png_h=no
28104 fi
28105
28106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28107 fi
28108 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28109 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28110
28111
28112
28113 if test "$ac_cv_header_png_h" = "yes"; then
28114 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28115 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28116 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28117 echo $ECHO_N "(cached) $ECHO_C" >&6
28118 else
28119 ac_check_lib_save_LIBS=$LIBS
28120 LIBS="-lpng -lz -lm $LIBS"
28121 cat >conftest.$ac_ext <<_ACEOF
28122 /* confdefs.h. */
28123 _ACEOF
28124 cat confdefs.h >>conftest.$ac_ext
28125 cat >>conftest.$ac_ext <<_ACEOF
28126 /* end confdefs.h. */
28127
28128 /* Override any GCC internal prototype to avoid an error.
28129 Use char because int might match the return type of a GCC
28130 builtin and then its argument prototype would still apply. */
28131 #ifdef __cplusplus
28132 extern "C"
28133 #endif
28134 char png_sig_cmp ();
28135 int
28136 main ()
28137 {
28138 return png_sig_cmp ();
28139 ;
28140 return 0;
28141 }
28142 _ACEOF
28143 rm -f conftest.$ac_objext conftest$ac_exeext
28144 if { (ac_try="$ac_link"
28145 case "(($ac_try" in
28146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28147 *) ac_try_echo=$ac_try;;
28148 esac
28149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28150 (eval "$ac_link") 2>conftest.er1
28151 ac_status=$?
28152 grep -v '^ *+' conftest.er1 >conftest.err
28153 rm -f conftest.er1
28154 cat conftest.err >&5
28155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156 (exit $ac_status); } && {
28157 test -z "$ac_c_werror_flag" ||
28158 test ! -s conftest.err
28159 } && test -s conftest$ac_exeext &&
28160 $as_test_x conftest$ac_exeext; then
28161 ac_cv_lib_png_png_sig_cmp=yes
28162 else
28163 echo "$as_me: failed program was:" >&5
28164 sed 's/^/| /' conftest.$ac_ext >&5
28165
28166 ac_cv_lib_png_png_sig_cmp=no
28167 fi
28168
28169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28170 conftest$ac_exeext conftest.$ac_ext
28171 LIBS=$ac_check_lib_save_LIBS
28172 fi
28173 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28174 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28175 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28176 PNG_LINK=" -lpng -lz"
28177 fi
28178
28179 fi
28180
28181 if test "x$PNG_LINK" = "x" ; then
28182 if test "$wxUSE_LIBPNG" = "sys" ; then
28183 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28184 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28185 { (exit 1); exit 1; }; }
28186 else
28187 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28188 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28189 wxUSE_LIBPNG=builtin
28190 fi
28191 else
28192 wxUSE_LIBPNG=sys
28193 fi
28194 fi
28195 fi
28196 fi
28197
28198
28199 JPEG_LINK=
28200 if test "$wxUSE_LIBJPEG" != "no" ; then
28201 cat >>confdefs.h <<\_ACEOF
28202 #define wxUSE_LIBJPEG 1
28203 _ACEOF
28204
28205
28206 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28207 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28208 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28209 wxUSE_LIBJPEG=sys
28210 fi
28211
28212 if test "$wxUSE_MGL" != 1 ; then
28213 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28214 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28215 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28216 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28217 echo $ECHO_N "(cached) $ECHO_C" >&6
28218 else
28219 cat >conftest.$ac_ext <<_ACEOF
28220 /* confdefs.h. */
28221 _ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225
28226 #undef HAVE_STDLIB_H
28227 #include <stdio.h>
28228 #include <jpeglib.h>
28229
28230 int
28231 main ()
28232 {
28233
28234
28235 ;
28236 return 0;
28237 }
28238 _ACEOF
28239 rm -f conftest.$ac_objext
28240 if { (ac_try="$ac_compile"
28241 case "(($ac_try" in
28242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28243 *) ac_try_echo=$ac_try;;
28244 esac
28245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28246 (eval "$ac_compile") 2>conftest.er1
28247 ac_status=$?
28248 grep -v '^ *+' conftest.er1 >conftest.err
28249 rm -f conftest.er1
28250 cat conftest.err >&5
28251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28252 (exit $ac_status); } && {
28253 test -z "$ac_c_werror_flag" ||
28254 test ! -s conftest.err
28255 } && test -s conftest.$ac_objext; then
28256 ac_cv_header_jpeglib_h=yes
28257 else
28258 echo "$as_me: failed program was:" >&5
28259 sed 's/^/| /' conftest.$ac_ext >&5
28260
28261 ac_cv_header_jpeglib_h=no
28262
28263 fi
28264
28265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28266
28267 fi
28268
28269 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28270 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28271
28272 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28273 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28274 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28275 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28276 echo $ECHO_N "(cached) $ECHO_C" >&6
28277 else
28278 ac_check_lib_save_LIBS=$LIBS
28279 LIBS="-ljpeg $LIBS"
28280 cat >conftest.$ac_ext <<_ACEOF
28281 /* confdefs.h. */
28282 _ACEOF
28283 cat confdefs.h >>conftest.$ac_ext
28284 cat >>conftest.$ac_ext <<_ACEOF
28285 /* end confdefs.h. */
28286
28287 /* Override any GCC internal prototype to avoid an error.
28288 Use char because int might match the return type of a GCC
28289 builtin and then its argument prototype would still apply. */
28290 #ifdef __cplusplus
28291 extern "C"
28292 #endif
28293 char jpeg_read_header ();
28294 int
28295 main ()
28296 {
28297 return jpeg_read_header ();
28298 ;
28299 return 0;
28300 }
28301 _ACEOF
28302 rm -f conftest.$ac_objext conftest$ac_exeext
28303 if { (ac_try="$ac_link"
28304 case "(($ac_try" in
28305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28306 *) ac_try_echo=$ac_try;;
28307 esac
28308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28309 (eval "$ac_link") 2>conftest.er1
28310 ac_status=$?
28311 grep -v '^ *+' conftest.er1 >conftest.err
28312 rm -f conftest.er1
28313 cat conftest.err >&5
28314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28315 (exit $ac_status); } && {
28316 test -z "$ac_c_werror_flag" ||
28317 test ! -s conftest.err
28318 } && test -s conftest$ac_exeext &&
28319 $as_test_x conftest$ac_exeext; then
28320 ac_cv_lib_jpeg_jpeg_read_header=yes
28321 else
28322 echo "$as_me: failed program was:" >&5
28323 sed 's/^/| /' conftest.$ac_ext >&5
28324
28325 ac_cv_lib_jpeg_jpeg_read_header=no
28326 fi
28327
28328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28329 conftest$ac_exeext conftest.$ac_ext
28330 LIBS=$ac_check_lib_save_LIBS
28331 fi
28332 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28333 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28334 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28335 JPEG_LINK=" -ljpeg"
28336 fi
28337
28338 fi
28339
28340 if test "x$JPEG_LINK" = "x" ; then
28341 if test "$wxUSE_LIBJPEG" = "sys" ; then
28342 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28343 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28344 { (exit 1); exit 1; }; }
28345 else
28346 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28347 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28348 wxUSE_LIBJPEG=builtin
28349 fi
28350 else
28351 wxUSE_LIBJPEG=sys
28352
28353 if test "$wxUSE_MSW" = 1; then
28354 { echo "$as_me:$LINENO: checking for boolean" >&5
28355 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28356 if test "${ac_cv_type_boolean+set}" = set; then
28357 echo $ECHO_N "(cached) $ECHO_C" >&6
28358 else
28359 cat >conftest.$ac_ext <<_ACEOF
28360 /* confdefs.h. */
28361 _ACEOF
28362 cat confdefs.h >>conftest.$ac_ext
28363 cat >>conftest.$ac_ext <<_ACEOF
28364 /* end confdefs.h. */
28365 #include <windows.h>
28366
28367 typedef boolean ac__type_new_;
28368 int
28369 main ()
28370 {
28371 if ((ac__type_new_ *) 0)
28372 return 0;
28373 if (sizeof (ac__type_new_))
28374 return 0;
28375 ;
28376 return 0;
28377 }
28378 _ACEOF
28379 rm -f conftest.$ac_objext
28380 if { (ac_try="$ac_compile"
28381 case "(($ac_try" in
28382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28383 *) ac_try_echo=$ac_try;;
28384 esac
28385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28386 (eval "$ac_compile") 2>conftest.er1
28387 ac_status=$?
28388 grep -v '^ *+' conftest.er1 >conftest.err
28389 rm -f conftest.er1
28390 cat conftest.err >&5
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); } && {
28393 test -z "$ac_c_werror_flag" ||
28394 test ! -s conftest.err
28395 } && test -s conftest.$ac_objext; then
28396 ac_cv_type_boolean=yes
28397 else
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.$ac_ext >&5
28400
28401 ac_cv_type_boolean=no
28402 fi
28403
28404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28405 fi
28406 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28407 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28408 if test $ac_cv_type_boolean = yes; then
28409
28410 cat >>confdefs.h <<_ACEOF
28411 #define HAVE_BOOLEAN 1
28412 _ACEOF
28413
28414
28415 { echo "$as_me:$LINENO: checking for boolean" >&5
28416 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28417 if test "${ac_cv_type_boolean+set}" = set; then
28418 echo $ECHO_N "(cached) $ECHO_C" >&6
28419 else
28420 cat >conftest.$ac_ext <<_ACEOF
28421 /* confdefs.h. */
28422 _ACEOF
28423 cat confdefs.h >>conftest.$ac_ext
28424 cat >>conftest.$ac_ext <<_ACEOF
28425 /* end confdefs.h. */
28426
28427 #undef HAVE_BOOLEAN
28428 #include <stdio.h>
28429 #include <jpeglib.h>
28430
28431
28432 typedef boolean ac__type_new_;
28433 int
28434 main ()
28435 {
28436 if ((ac__type_new_ *) 0)
28437 return 0;
28438 if (sizeof (ac__type_new_))
28439 return 0;
28440 ;
28441 return 0;
28442 }
28443 _ACEOF
28444 rm -f conftest.$ac_objext
28445 if { (ac_try="$ac_compile"
28446 case "(($ac_try" in
28447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28448 *) ac_try_echo=$ac_try;;
28449 esac
28450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28451 (eval "$ac_compile") 2>conftest.er1
28452 ac_status=$?
28453 grep -v '^ *+' conftest.er1 >conftest.err
28454 rm -f conftest.er1
28455 cat conftest.err >&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); } && {
28458 test -z "$ac_c_werror_flag" ||
28459 test ! -s conftest.err
28460 } && test -s conftest.$ac_objext; then
28461 ac_cv_type_boolean=yes
28462 else
28463 echo "$as_me: failed program was:" >&5
28464 sed 's/^/| /' conftest.$ac_ext >&5
28465
28466 ac_cv_type_boolean=no
28467 fi
28468
28469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28470 fi
28471 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28472 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28473
28474 # The cast to long int works around a bug in the HP C Compiler
28475 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28476 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28477 # This bug is HP SR number 8606223364.
28478 { echo "$as_me:$LINENO: checking size of boolean" >&5
28479 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28480 if test "${ac_cv_sizeof_boolean+set}" = set; then
28481 echo $ECHO_N "(cached) $ECHO_C" >&6
28482 else
28483 if test "$cross_compiling" = yes; then
28484 # Depending upon the size, compute the lo and hi bounds.
28485 cat >conftest.$ac_ext <<_ACEOF
28486 /* confdefs.h. */
28487 _ACEOF
28488 cat confdefs.h >>conftest.$ac_ext
28489 cat >>conftest.$ac_ext <<_ACEOF
28490 /* end confdefs.h. */
28491
28492 #undef HAVE_BOOLEAN
28493 #include <stdio.h>
28494 #include <jpeglib.h>
28495
28496
28497 typedef boolean ac__type_sizeof_;
28498 int
28499 main ()
28500 {
28501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28502 test_array [0] = 0
28503
28504 ;
28505 return 0;
28506 }
28507 _ACEOF
28508 rm -f conftest.$ac_objext
28509 if { (ac_try="$ac_compile"
28510 case "(($ac_try" in
28511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28512 *) ac_try_echo=$ac_try;;
28513 esac
28514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28515 (eval "$ac_compile") 2>conftest.er1
28516 ac_status=$?
28517 grep -v '^ *+' conftest.er1 >conftest.err
28518 rm -f conftest.er1
28519 cat conftest.err >&5
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); } && {
28522 test -z "$ac_c_werror_flag" ||
28523 test ! -s conftest.err
28524 } && test -s conftest.$ac_objext; then
28525 ac_lo=0 ac_mid=0
28526 while :; do
28527 cat >conftest.$ac_ext <<_ACEOF
28528 /* confdefs.h. */
28529 _ACEOF
28530 cat confdefs.h >>conftest.$ac_ext
28531 cat >>conftest.$ac_ext <<_ACEOF
28532 /* end confdefs.h. */
28533
28534 #undef HAVE_BOOLEAN
28535 #include <stdio.h>
28536 #include <jpeglib.h>
28537
28538
28539 typedef boolean ac__type_sizeof_;
28540 int
28541 main ()
28542 {
28543 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28544 test_array [0] = 0
28545
28546 ;
28547 return 0;
28548 }
28549 _ACEOF
28550 rm -f conftest.$ac_objext
28551 if { (ac_try="$ac_compile"
28552 case "(($ac_try" in
28553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28554 *) ac_try_echo=$ac_try;;
28555 esac
28556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28557 (eval "$ac_compile") 2>conftest.er1
28558 ac_status=$?
28559 grep -v '^ *+' conftest.er1 >conftest.err
28560 rm -f conftest.er1
28561 cat conftest.err >&5
28562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28563 (exit $ac_status); } && {
28564 test -z "$ac_c_werror_flag" ||
28565 test ! -s conftest.err
28566 } && test -s conftest.$ac_objext; then
28567 ac_hi=$ac_mid; break
28568 else
28569 echo "$as_me: failed program was:" >&5
28570 sed 's/^/| /' conftest.$ac_ext >&5
28571
28572 ac_lo=`expr $ac_mid + 1`
28573 if test $ac_lo -le $ac_mid; then
28574 ac_lo= ac_hi=
28575 break
28576 fi
28577 ac_mid=`expr 2 '*' $ac_mid + 1`
28578 fi
28579
28580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28581 done
28582 else
28583 echo "$as_me: failed program was:" >&5
28584 sed 's/^/| /' conftest.$ac_ext >&5
28585
28586 cat >conftest.$ac_ext <<_ACEOF
28587 /* confdefs.h. */
28588 _ACEOF
28589 cat confdefs.h >>conftest.$ac_ext
28590 cat >>conftest.$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28592
28593 #undef HAVE_BOOLEAN
28594 #include <stdio.h>
28595 #include <jpeglib.h>
28596
28597
28598 typedef boolean ac__type_sizeof_;
28599 int
28600 main ()
28601 {
28602 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28603 test_array [0] = 0
28604
28605 ;
28606 return 0;
28607 }
28608 _ACEOF
28609 rm -f conftest.$ac_objext
28610 if { (ac_try="$ac_compile"
28611 case "(($ac_try" in
28612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28613 *) ac_try_echo=$ac_try;;
28614 esac
28615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28616 (eval "$ac_compile") 2>conftest.er1
28617 ac_status=$?
28618 grep -v '^ *+' conftest.er1 >conftest.err
28619 rm -f conftest.er1
28620 cat conftest.err >&5
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); } && {
28623 test -z "$ac_c_werror_flag" ||
28624 test ! -s conftest.err
28625 } && test -s conftest.$ac_objext; then
28626 ac_hi=-1 ac_mid=-1
28627 while :; do
28628 cat >conftest.$ac_ext <<_ACEOF
28629 /* confdefs.h. */
28630 _ACEOF
28631 cat confdefs.h >>conftest.$ac_ext
28632 cat >>conftest.$ac_ext <<_ACEOF
28633 /* end confdefs.h. */
28634
28635 #undef HAVE_BOOLEAN
28636 #include <stdio.h>
28637 #include <jpeglib.h>
28638
28639
28640 typedef boolean ac__type_sizeof_;
28641 int
28642 main ()
28643 {
28644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28645 test_array [0] = 0
28646
28647 ;
28648 return 0;
28649 }
28650 _ACEOF
28651 rm -f conftest.$ac_objext
28652 if { (ac_try="$ac_compile"
28653 case "(($ac_try" in
28654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28655 *) ac_try_echo=$ac_try;;
28656 esac
28657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28658 (eval "$ac_compile") 2>conftest.er1
28659 ac_status=$?
28660 grep -v '^ *+' conftest.er1 >conftest.err
28661 rm -f conftest.er1
28662 cat conftest.err >&5
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); } && {
28665 test -z "$ac_c_werror_flag" ||
28666 test ! -s conftest.err
28667 } && test -s conftest.$ac_objext; then
28668 ac_lo=$ac_mid; break
28669 else
28670 echo "$as_me: failed program was:" >&5
28671 sed 's/^/| /' conftest.$ac_ext >&5
28672
28673 ac_hi=`expr '(' $ac_mid ')' - 1`
28674 if test $ac_mid -le $ac_hi; then
28675 ac_lo= ac_hi=
28676 break
28677 fi
28678 ac_mid=`expr 2 '*' $ac_mid`
28679 fi
28680
28681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28682 done
28683 else
28684 echo "$as_me: failed program was:" >&5
28685 sed 's/^/| /' conftest.$ac_ext >&5
28686
28687 ac_lo= ac_hi=
28688 fi
28689
28690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28691 fi
28692
28693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28694 # Binary search between lo and hi bounds.
28695 while test "x$ac_lo" != "x$ac_hi"; do
28696 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28697 cat >conftest.$ac_ext <<_ACEOF
28698 /* confdefs.h. */
28699 _ACEOF
28700 cat confdefs.h >>conftest.$ac_ext
28701 cat >>conftest.$ac_ext <<_ACEOF
28702 /* end confdefs.h. */
28703
28704 #undef HAVE_BOOLEAN
28705 #include <stdio.h>
28706 #include <jpeglib.h>
28707
28708
28709 typedef boolean ac__type_sizeof_;
28710 int
28711 main ()
28712 {
28713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28714 test_array [0] = 0
28715
28716 ;
28717 return 0;
28718 }
28719 _ACEOF
28720 rm -f conftest.$ac_objext
28721 if { (ac_try="$ac_compile"
28722 case "(($ac_try" in
28723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28724 *) ac_try_echo=$ac_try;;
28725 esac
28726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28727 (eval "$ac_compile") 2>conftest.er1
28728 ac_status=$?
28729 grep -v '^ *+' conftest.er1 >conftest.err
28730 rm -f conftest.er1
28731 cat conftest.err >&5
28732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28733 (exit $ac_status); } && {
28734 test -z "$ac_c_werror_flag" ||
28735 test ! -s conftest.err
28736 } && test -s conftest.$ac_objext; then
28737 ac_hi=$ac_mid
28738 else
28739 echo "$as_me: failed program was:" >&5
28740 sed 's/^/| /' conftest.$ac_ext >&5
28741
28742 ac_lo=`expr '(' $ac_mid ')' + 1`
28743 fi
28744
28745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28746 done
28747 case $ac_lo in
28748 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28749 '') if test "$ac_cv_type_boolean" = yes; then
28750 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28751 See \`config.log' for more details." >&5
28752 echo "$as_me: error: cannot compute sizeof (boolean)
28753 See \`config.log' for more details." >&2;}
28754 { (exit 77); exit 77; }; }
28755 else
28756 ac_cv_sizeof_boolean=0
28757 fi ;;
28758 esac
28759 else
28760 cat >conftest.$ac_ext <<_ACEOF
28761 /* confdefs.h. */
28762 _ACEOF
28763 cat confdefs.h >>conftest.$ac_ext
28764 cat >>conftest.$ac_ext <<_ACEOF
28765 /* end confdefs.h. */
28766
28767 #undef HAVE_BOOLEAN
28768 #include <stdio.h>
28769 #include <jpeglib.h>
28770
28771
28772 typedef boolean ac__type_sizeof_;
28773 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28774 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28775 #include <stdio.h>
28776 #include <stdlib.h>
28777 int
28778 main ()
28779 {
28780
28781 FILE *f = fopen ("conftest.val", "w");
28782 if (! f)
28783 return 1;
28784 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28785 {
28786 long int i = longval ();
28787 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28788 return 1;
28789 fprintf (f, "%ld\n", i);
28790 }
28791 else
28792 {
28793 unsigned long int i = ulongval ();
28794 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28795 return 1;
28796 fprintf (f, "%lu\n", i);
28797 }
28798 return ferror (f) || fclose (f) != 0;
28799
28800 ;
28801 return 0;
28802 }
28803 _ACEOF
28804 rm -f conftest$ac_exeext
28805 if { (ac_try="$ac_link"
28806 case "(($ac_try" in
28807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28808 *) ac_try_echo=$ac_try;;
28809 esac
28810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28811 (eval "$ac_link") 2>&5
28812 ac_status=$?
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28815 { (case "(($ac_try" in
28816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28817 *) ac_try_echo=$ac_try;;
28818 esac
28819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28820 (eval "$ac_try") 2>&5
28821 ac_status=$?
28822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823 (exit $ac_status); }; }; then
28824 ac_cv_sizeof_boolean=`cat conftest.val`
28825 else
28826 echo "$as_me: program exited with status $ac_status" >&5
28827 echo "$as_me: failed program was:" >&5
28828 sed 's/^/| /' conftest.$ac_ext >&5
28829
28830 ( exit $ac_status )
28831 if test "$ac_cv_type_boolean" = yes; then
28832 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28833 See \`config.log' for more details." >&5
28834 echo "$as_me: error: cannot compute sizeof (boolean)
28835 See \`config.log' for more details." >&2;}
28836 { (exit 77); exit 77; }; }
28837 else
28838 ac_cv_sizeof_boolean=0
28839 fi
28840 fi
28841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28842 fi
28843 rm -f conftest.val
28844 fi
28845 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28846 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28847
28848
28849
28850 cat >>confdefs.h <<_ACEOF
28851 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28852 _ACEOF
28853
28854
28855 cat >>confdefs.h <<_ACEOF
28856 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28857 _ACEOF
28858
28859
28860 fi
28861
28862 fi
28863 fi
28864 fi
28865 fi
28866 fi
28867
28868
28869 TIFF_LINK=
28870 TIFF_PREREQ_LINKS=-lm
28871 if test "$wxUSE_LIBTIFF" != "no" ; then
28872 cat >>confdefs.h <<\_ACEOF
28873 #define wxUSE_LIBTIFF 1
28874 _ACEOF
28875
28876
28877 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28878 if test "$wxUSE_LIBJPEG" = "sys"; then
28879 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28880 fi
28881 if test "$wxUSE_ZLIB" = "sys"; then
28882 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28883 fi
28884 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28885 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28886 if test "${ac_cv_header_tiffio_h+set}" = set; then
28887 echo $ECHO_N "(cached) $ECHO_C" >&6
28888 else
28889 cat >conftest.$ac_ext <<_ACEOF
28890 /* confdefs.h. */
28891 _ACEOF
28892 cat confdefs.h >>conftest.$ac_ext
28893 cat >>conftest.$ac_ext <<_ACEOF
28894 /* end confdefs.h. */
28895
28896
28897
28898 #include <tiffio.h>
28899 _ACEOF
28900 rm -f conftest.$ac_objext
28901 if { (ac_try="$ac_compile"
28902 case "(($ac_try" in
28903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28904 *) ac_try_echo=$ac_try;;
28905 esac
28906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28907 (eval "$ac_compile") 2>conftest.er1
28908 ac_status=$?
28909 grep -v '^ *+' conftest.er1 >conftest.err
28910 rm -f conftest.er1
28911 cat conftest.err >&5
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); } && {
28914 test -z "$ac_c_werror_flag" ||
28915 test ! -s conftest.err
28916 } && test -s conftest.$ac_objext; then
28917 ac_cv_header_tiffio_h=yes
28918 else
28919 echo "$as_me: failed program was:" >&5
28920 sed 's/^/| /' conftest.$ac_ext >&5
28921
28922 ac_cv_header_tiffio_h=no
28923 fi
28924
28925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28926 fi
28927 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28928 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28929 if test $ac_cv_header_tiffio_h = yes; then
28930
28931 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28932 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28933 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28934 echo $ECHO_N "(cached) $ECHO_C" >&6
28935 else
28936 ac_check_lib_save_LIBS=$LIBS
28937 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28938 cat >conftest.$ac_ext <<_ACEOF
28939 /* confdefs.h. */
28940 _ACEOF
28941 cat confdefs.h >>conftest.$ac_ext
28942 cat >>conftest.$ac_ext <<_ACEOF
28943 /* end confdefs.h. */
28944
28945 /* Override any GCC internal prototype to avoid an error.
28946 Use char because int might match the return type of a GCC
28947 builtin and then its argument prototype would still apply. */
28948 #ifdef __cplusplus
28949 extern "C"
28950 #endif
28951 char TIFFError ();
28952 int
28953 main ()
28954 {
28955 return TIFFError ();
28956 ;
28957 return 0;
28958 }
28959 _ACEOF
28960 rm -f conftest.$ac_objext conftest$ac_exeext
28961 if { (ac_try="$ac_link"
28962 case "(($ac_try" in
28963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28964 *) ac_try_echo=$ac_try;;
28965 esac
28966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28967 (eval "$ac_link") 2>conftest.er1
28968 ac_status=$?
28969 grep -v '^ *+' conftest.er1 >conftest.err
28970 rm -f conftest.er1
28971 cat conftest.err >&5
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); } && {
28974 test -z "$ac_c_werror_flag" ||
28975 test ! -s conftest.err
28976 } && test -s conftest$ac_exeext &&
28977 $as_test_x conftest$ac_exeext; then
28978 ac_cv_lib_tiff_TIFFError=yes
28979 else
28980 echo "$as_me: failed program was:" >&5
28981 sed 's/^/| /' conftest.$ac_ext >&5
28982
28983 ac_cv_lib_tiff_TIFFError=no
28984 fi
28985
28986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28987 conftest$ac_exeext conftest.$ac_ext
28988 LIBS=$ac_check_lib_save_LIBS
28989 fi
28990 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28991 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28992 if test $ac_cv_lib_tiff_TIFFError = yes; then
28993 TIFF_LINK=" -ltiff"
28994 fi
28995
28996
28997 fi
28998
28999
29000
29001 if test "x$TIFF_LINK" = "x" ; then
29002 if test "$wxUSE_LIBTIFF" = "sys" ; then
29003 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29004 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29005 { (exit 1); exit 1; }; }
29006 else
29007 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29008 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29009 wxUSE_LIBTIFF=builtin
29010 fi
29011 else
29012 wxUSE_LIBTIFF=sys
29013 fi
29014 fi
29015 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29016 if test "$wxUSE_LIBJPEG" = "no"; then
29017 ac_configure_args="$ac_configure_args --disable-jpeg"
29018 fi
29019 subdirs="$subdirs src/tiff"
29020
29021 fi
29022 fi
29023
29024
29025 if test "$wxUSE_EXPAT" != "no"; then
29026 wxUSE_XML=yes
29027 cat >>confdefs.h <<\_ACEOF
29028 #define wxUSE_EXPAT 1
29029 _ACEOF
29030
29031 cat >>confdefs.h <<\_ACEOF
29032 #define wxUSE_XML 1
29033 _ACEOF
29034
29035
29036 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29037 { echo "$as_me:$LINENO: checking for expat.h" >&5
29038 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29039 if test "${ac_cv_header_expat_h+set}" = set; then
29040 echo $ECHO_N "(cached) $ECHO_C" >&6
29041 else
29042 cat >conftest.$ac_ext <<_ACEOF
29043 /* confdefs.h. */
29044 _ACEOF
29045 cat confdefs.h >>conftest.$ac_ext
29046 cat >>conftest.$ac_ext <<_ACEOF
29047 /* end confdefs.h. */
29048
29049
29050 #include <expat.h>
29051 _ACEOF
29052 rm -f conftest.$ac_objext
29053 if { (ac_try="$ac_compile"
29054 case "(($ac_try" in
29055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29056 *) ac_try_echo=$ac_try;;
29057 esac
29058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29059 (eval "$ac_compile") 2>conftest.er1
29060 ac_status=$?
29061 grep -v '^ *+' conftest.er1 >conftest.err
29062 rm -f conftest.er1
29063 cat conftest.err >&5
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); } && {
29066 test -z "$ac_c_werror_flag" ||
29067 test ! -s conftest.err
29068 } && test -s conftest.$ac_objext; then
29069 ac_cv_header_expat_h=yes
29070 else
29071 echo "$as_me: failed program was:" >&5
29072 sed 's/^/| /' conftest.$ac_ext >&5
29073
29074 ac_cv_header_expat_h=no
29075 fi
29076
29077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29078 fi
29079 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29080 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29081 if test $ac_cv_header_expat_h = yes; then
29082 found_expat_h=1
29083 fi
29084
29085
29086 if test "x$found_expat_h" = "x1"; then
29087 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29088 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29089 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29090 echo $ECHO_N "(cached) $ECHO_C" >&6
29091 else
29092
29093 ac_ext=cpp
29094 ac_cpp='$CXXCPP $CPPFLAGS'
29095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29098
29099 cat >conftest.$ac_ext <<_ACEOF
29100 /* confdefs.h. */
29101 _ACEOF
29102 cat confdefs.h >>conftest.$ac_ext
29103 cat >>conftest.$ac_ext <<_ACEOF
29104 /* end confdefs.h. */
29105 #include <expat.h>
29106 int
29107 main ()
29108 {
29109
29110 ;
29111 return 0;
29112 }
29113 _ACEOF
29114 rm -f conftest.$ac_objext
29115 if { (ac_try="$ac_compile"
29116 case "(($ac_try" in
29117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29118 *) ac_try_echo=$ac_try;;
29119 esac
29120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29121 (eval "$ac_compile") 2>conftest.er1
29122 ac_status=$?
29123 grep -v '^ *+' conftest.er1 >conftest.err
29124 rm -f conftest.er1
29125 cat conftest.err >&5
29126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29127 (exit $ac_status); } && {
29128 test -z "$ac_cxx_werror_flag" ||
29129 test ! -s conftest.err
29130 } && test -s conftest.$ac_objext; then
29131 wx_cv_expat_is_not_broken=yes
29132 else
29133 echo "$as_me: failed program was:" >&5
29134 sed 's/^/| /' conftest.$ac_ext >&5
29135
29136 wx_cv_expat_is_not_broken=no
29137
29138 fi
29139
29140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29141 ac_ext=c
29142 ac_cpp='$CPP $CPPFLAGS'
29143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29146
29147
29148
29149 fi
29150 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29151 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29152 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29153 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29154 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29155 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29156 echo $ECHO_N "(cached) $ECHO_C" >&6
29157 else
29158 ac_check_lib_save_LIBS=$LIBS
29159 LIBS="-lexpat $LIBS"
29160 cat >conftest.$ac_ext <<_ACEOF
29161 /* confdefs.h. */
29162 _ACEOF
29163 cat confdefs.h >>conftest.$ac_ext
29164 cat >>conftest.$ac_ext <<_ACEOF
29165 /* end confdefs.h. */
29166
29167 /* Override any GCC internal prototype to avoid an error.
29168 Use char because int might match the return type of a GCC
29169 builtin and then its argument prototype would still apply. */
29170 #ifdef __cplusplus
29171 extern "C"
29172 #endif
29173 char XML_ParserCreate ();
29174 int
29175 main ()
29176 {
29177 return XML_ParserCreate ();
29178 ;
29179 return 0;
29180 }
29181 _ACEOF
29182 rm -f conftest.$ac_objext conftest$ac_exeext
29183 if { (ac_try="$ac_link"
29184 case "(($ac_try" in
29185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29186 *) ac_try_echo=$ac_try;;
29187 esac
29188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29189 (eval "$ac_link") 2>conftest.er1
29190 ac_status=$?
29191 grep -v '^ *+' conftest.er1 >conftest.err
29192 rm -f conftest.er1
29193 cat conftest.err >&5
29194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195 (exit $ac_status); } && {
29196 test -z "$ac_c_werror_flag" ||
29197 test ! -s conftest.err
29198 } && test -s conftest$ac_exeext &&
29199 $as_test_x conftest$ac_exeext; then
29200 ac_cv_lib_expat_XML_ParserCreate=yes
29201 else
29202 echo "$as_me: failed program was:" >&5
29203 sed 's/^/| /' conftest.$ac_ext >&5
29204
29205 ac_cv_lib_expat_XML_ParserCreate=no
29206 fi
29207
29208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29209 conftest$ac_exeext conftest.$ac_ext
29210 LIBS=$ac_check_lib_save_LIBS
29211 fi
29212 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29213 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29214 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29215 EXPAT_LINK=" -lexpat"
29216 fi
29217
29218 fi
29219 fi
29220 if test "x$EXPAT_LINK" = "x" ; then
29221 if test "$wxUSE_EXPAT" = "sys" ; then
29222 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29223 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29224 { (exit 1); exit 1; }; }
29225 else
29226 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29227 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29228 wxUSE_EXPAT=builtin
29229 fi
29230 else
29231 wxUSE_EXPAT=sys
29232 fi
29233 fi
29234 if test "$wxUSE_EXPAT" = "builtin" ; then
29235 subdirs="$subdirs src/expat"
29236
29237 fi
29238 fi
29239
29240
29241
29242 if test "$wxUSE_LIBMSPACK" != "no"; then
29243 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29244 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29245 if test "${ac_cv_header_mspack_h+set}" = set; then
29246 echo $ECHO_N "(cached) $ECHO_C" >&6
29247 else
29248 cat >conftest.$ac_ext <<_ACEOF
29249 /* confdefs.h. */
29250 _ACEOF
29251 cat confdefs.h >>conftest.$ac_ext
29252 cat >>conftest.$ac_ext <<_ACEOF
29253 /* end confdefs.h. */
29254
29255
29256 #include <mspack.h>
29257 _ACEOF
29258 rm -f conftest.$ac_objext
29259 if { (ac_try="$ac_compile"
29260 case "(($ac_try" in
29261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29262 *) ac_try_echo=$ac_try;;
29263 esac
29264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29265 (eval "$ac_compile") 2>conftest.er1
29266 ac_status=$?
29267 grep -v '^ *+' conftest.er1 >conftest.err
29268 rm -f conftest.er1
29269 cat conftest.err >&5
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); } && {
29272 test -z "$ac_c_werror_flag" ||
29273 test ! -s conftest.err
29274 } && test -s conftest.$ac_objext; then
29275 ac_cv_header_mspack_h=yes
29276 else
29277 echo "$as_me: failed program was:" >&5
29278 sed 's/^/| /' conftest.$ac_ext >&5
29279
29280 ac_cv_header_mspack_h=no
29281 fi
29282
29283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29284 fi
29285 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29286 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29287 if test $ac_cv_header_mspack_h = yes; then
29288 found_mspack_h=1
29289 fi
29290
29291
29292 if test "x$found_mspack_h" = "x1"; then
29293 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29294 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29295 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29296 echo $ECHO_N "(cached) $ECHO_C" >&6
29297 else
29298 ac_check_lib_save_LIBS=$LIBS
29299 LIBS="-lmspack $LIBS"
29300 cat >conftest.$ac_ext <<_ACEOF
29301 /* confdefs.h. */
29302 _ACEOF
29303 cat confdefs.h >>conftest.$ac_ext
29304 cat >>conftest.$ac_ext <<_ACEOF
29305 /* end confdefs.h. */
29306
29307 /* Override any GCC internal prototype to avoid an error.
29308 Use char because int might match the return type of a GCC
29309 builtin and then its argument prototype would still apply. */
29310 #ifdef __cplusplus
29311 extern "C"
29312 #endif
29313 char mspack_create_chm_decompressor ();
29314 int
29315 main ()
29316 {
29317 return mspack_create_chm_decompressor ();
29318 ;
29319 return 0;
29320 }
29321 _ACEOF
29322 rm -f conftest.$ac_objext conftest$ac_exeext
29323 if { (ac_try="$ac_link"
29324 case "(($ac_try" in
29325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29326 *) ac_try_echo=$ac_try;;
29327 esac
29328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29329 (eval "$ac_link") 2>conftest.er1
29330 ac_status=$?
29331 grep -v '^ *+' conftest.er1 >conftest.err
29332 rm -f conftest.er1
29333 cat conftest.err >&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); } && {
29336 test -z "$ac_c_werror_flag" ||
29337 test ! -s conftest.err
29338 } && test -s conftest$ac_exeext &&
29339 $as_test_x conftest$ac_exeext; then
29340 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29341 else
29342 echo "$as_me: failed program was:" >&5
29343 sed 's/^/| /' conftest.$ac_ext >&5
29344
29345 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29346 fi
29347
29348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29349 conftest$ac_exeext conftest.$ac_ext
29350 LIBS=$ac_check_lib_save_LIBS
29351 fi
29352 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29353 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29354 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29355 MSPACK_LINK=" -lmspack"
29356 fi
29357
29358 fi
29359 if test "x$MSPACK_LINK" = "x" ; then
29360 wxUSE_LIBMSPACK=no
29361 fi
29362 fi
29363
29364 if test "$wxUSE_LIBMSPACK" != "no"; then
29365 cat >>confdefs.h <<\_ACEOF
29366 #define wxUSE_LIBMSPACK 1
29367 _ACEOF
29368
29369 fi
29370
29371
29372
29373 AFMINSTALL=
29374 WIN32INSTALL=
29375
29376 TOOLKIT=
29377 TOOLKIT_INCLUDE=
29378 WIDGET_SET=
29379
29380 if test "$USE_WIN32" = 1 ; then
29381
29382 for ac_header in w32api.h
29383 do
29384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29385 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29387 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29388 echo $ECHO_N "(cached) $ECHO_C" >&6
29389 else
29390 cat >conftest.$ac_ext <<_ACEOF
29391 /* confdefs.h. */
29392 _ACEOF
29393 cat confdefs.h >>conftest.$ac_ext
29394 cat >>conftest.$ac_ext <<_ACEOF
29395 /* end confdefs.h. */
29396
29397
29398 #include <$ac_header>
29399 _ACEOF
29400 rm -f conftest.$ac_objext
29401 if { (ac_try="$ac_compile"
29402 case "(($ac_try" in
29403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29404 *) ac_try_echo=$ac_try;;
29405 esac
29406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29407 (eval "$ac_compile") 2>conftest.er1
29408 ac_status=$?
29409 grep -v '^ *+' conftest.er1 >conftest.err
29410 rm -f conftest.er1
29411 cat conftest.err >&5
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); } && {
29414 test -z "$ac_c_werror_flag" ||
29415 test ! -s conftest.err
29416 } && test -s conftest.$ac_objext; then
29417 eval "$as_ac_Header=yes"
29418 else
29419 echo "$as_me: failed program was:" >&5
29420 sed 's/^/| /' conftest.$ac_ext >&5
29421
29422 eval "$as_ac_Header=no"
29423 fi
29424
29425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29426 fi
29427 ac_res=`eval echo '${'$as_ac_Header'}'`
29428 { echo "$as_me:$LINENO: result: $ac_res" >&5
29429 echo "${ECHO_T}$ac_res" >&6; }
29430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29431 cat >>confdefs.h <<_ACEOF
29432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29433 _ACEOF
29434
29435 fi
29436
29437 done
29438
29439 { echo "$as_me:$LINENO: checking for windows.h" >&5
29440 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29441 if test "${ac_cv_header_windows_h+set}" = set; then
29442 echo $ECHO_N "(cached) $ECHO_C" >&6
29443 else
29444 cat >conftest.$ac_ext <<_ACEOF
29445 /* confdefs.h. */
29446 _ACEOF
29447 cat confdefs.h >>conftest.$ac_ext
29448 cat >>conftest.$ac_ext <<_ACEOF
29449 /* end confdefs.h. */
29450
29451
29452 #include <windows.h>
29453 _ACEOF
29454 rm -f conftest.$ac_objext
29455 if { (ac_try="$ac_compile"
29456 case "(($ac_try" in
29457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29458 *) ac_try_echo=$ac_try;;
29459 esac
29460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29461 (eval "$ac_compile") 2>conftest.er1
29462 ac_status=$?
29463 grep -v '^ *+' conftest.er1 >conftest.err
29464 rm -f conftest.er1
29465 cat conftest.err >&5
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); } && {
29468 test -z "$ac_c_werror_flag" ||
29469 test ! -s conftest.err
29470 } && test -s conftest.$ac_objext; then
29471 ac_cv_header_windows_h=yes
29472 else
29473 echo "$as_me: failed program was:" >&5
29474 sed 's/^/| /' conftest.$ac_ext >&5
29475
29476 ac_cv_header_windows_h=no
29477 fi
29478
29479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29480 fi
29481 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29482 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29483 if test $ac_cv_header_windows_h = yes; then
29484 :
29485 else
29486
29487 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29488 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29489 { (exit 1); exit 1; }; }
29490
29491 fi
29492
29493
29494
29495 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29496 case "${host}" in
29497 x86_64-*-mingw32* )
29498 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29499 ;;
29500 esac
29501 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29502 LIBS="$LIBS -loleacc"
29503 fi
29504
29505 case "${host}" in
29506 *-*-cygwin* )
29507 LIBS="$LIBS -lkernel32 -luser32"
29508 esac
29509
29510 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29511 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29512
29513 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29514
29515 WIN32INSTALL=win32install
29516
29517 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29518 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29519 if test "${ac_cv_header_pbt_h+set}" = set; then
29520 echo $ECHO_N "(cached) $ECHO_C" >&6
29521 else
29522 cat >conftest.$ac_ext <<_ACEOF
29523 /* confdefs.h. */
29524 _ACEOF
29525 cat confdefs.h >>conftest.$ac_ext
29526 cat >>conftest.$ac_ext <<_ACEOF
29527 /* end confdefs.h. */
29528
29529
29530 #include <pbt.h>
29531 _ACEOF
29532 rm -f conftest.$ac_objext
29533 if { (ac_try="$ac_compile"
29534 case "(($ac_try" in
29535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29536 *) ac_try_echo=$ac_try;;
29537 esac
29538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29539 (eval "$ac_compile") 2>conftest.er1
29540 ac_status=$?
29541 grep -v '^ *+' conftest.er1 >conftest.err
29542 rm -f conftest.er1
29543 cat conftest.err >&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); } && {
29546 test -z "$ac_c_werror_flag" ||
29547 test ! -s conftest.err
29548 } && test -s conftest.$ac_objext; then
29549 ac_cv_header_pbt_h=yes
29550 else
29551 echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.$ac_ext >&5
29553
29554 ac_cv_header_pbt_h=no
29555 fi
29556
29557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29558 fi
29559 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29560 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29561 if test $ac_cv_header_pbt_h = yes; then
29562 :
29563 else
29564 cat >>confdefs.h <<\_ACEOF
29565 #define NEED_PBT_H 1
29566 _ACEOF
29567
29568 fi
29569
29570
29571 fi
29572
29573 if test "$wxUSE_GUI" = "yes"; then
29574 USE_GUI=1
29575
29576 GUI_TK_LIBRARY=
29577
29578 WXGTK12=
29579 WXGTK127=
29580 WXGTK2=
29581 WXGPE=
29582
29583 if test "$wxUSE_OLD_COCOA" = 1 ; then
29584 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29585 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29586 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29587 wxUSE_PRINTING_ARCHITECTURE=no
29588 fi
29589 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29590 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29591 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29592 wxUSE_DRAG_AND_DROP=no
29593 fi
29594 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29595 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29596 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29597 wxUSE_DRAGIMAGE=no
29598 fi
29599 fi
29600
29601 if test "$wxUSE_MSW" = 1 ; then
29602 TOOLKIT=MSW
29603 GUIDIST=MSW_DIST
29604
29605 case "${host}" in
29606 *-*-mingw32* )
29607 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29608 esac
29609 fi
29610
29611 if test "$wxUSE_GTK" = 1; then
29612 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29613 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29614
29615 gtk_version_cached=1
29616 if test "${wx_cv_lib_gtk+set}" = set; then
29617 echo $ECHO_N "(cached) $ECHO_C" >&6
29618 else
29619
29620 gtk_version_cached=0
29621 { echo "$as_me:$LINENO: result: " >&5
29622 echo "${ECHO_T}" >&6; }
29623
29624 GTK_MODULES=
29625 if test "$wxUSE_THREADS" = "yes"; then
29626 GTK_MODULES=gthread
29627 fi
29628
29629 wx_cv_lib_gtk=
29630 if test "x$wxGTK_VERSION" != "x1"
29631 then
29632 case "${host}" in
29633 *-*-solaris2* )
29634 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29635 enable_gtktest=no
29636 fi
29637 esac
29638
29639 # Check whether --enable-gtktest was given.
29640 if test "${enable_gtktest+set}" = set; then
29641 enableval=$enable_gtktest;
29642 else
29643 enable_gtktest=yes
29644 fi
29645
29646
29647 pkg_config_args=gtk+-2.0
29648 for module in . $GTK_MODULES
29649 do
29650 case "$module" in
29651 gthread)
29652 pkg_config_args="$pkg_config_args gthread-2.0"
29653 ;;
29654 esac
29655 done
29656
29657 no_gtk=""
29658
29659 # Extract the first word of "pkg-config", so it can be a program name with args.
29660 set dummy pkg-config; ac_word=$2
29661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29663 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29664 echo $ECHO_N "(cached) $ECHO_C" >&6
29665 else
29666 case $PKG_CONFIG in
29667 [\\/]* | ?:[\\/]*)
29668 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29669 ;;
29670 *)
29671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29672 for as_dir in $PATH
29673 do
29674 IFS=$as_save_IFS
29675 test -z "$as_dir" && as_dir=.
29676 for ac_exec_ext in '' $ac_executable_extensions; do
29677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29678 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29680 break 2
29681 fi
29682 done
29683 done
29684 IFS=$as_save_IFS
29685
29686 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29687 ;;
29688 esac
29689 fi
29690 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29691 if test -n "$PKG_CONFIG"; then
29692 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29693 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29694 else
29695 { echo "$as_me:$LINENO: result: no" >&5
29696 echo "${ECHO_T}no" >&6; }
29697 fi
29698
29699
29700
29701 if test x$PKG_CONFIG != xno ; then
29702 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29703 :
29704 else
29705 echo "*** pkg-config too old; version 0.7 or better required."
29706 no_gtk=yes
29707 PKG_CONFIG=no
29708 fi
29709 else
29710 no_gtk=yes
29711 fi
29712
29713 min_gtk_version=2.4.0
29714 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29715 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29716
29717 if test x$PKG_CONFIG != xno ; then
29718 ## don't try to run the test against uninstalled libtool libs
29719 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29720 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29721 enable_gtktest=no
29722 fi
29723
29724 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29725 :
29726 else
29727 no_gtk=yes
29728 fi
29729 fi
29730
29731 if test x"$no_gtk" = x ; then
29732 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29733 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29734 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29736 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29738 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29740 if test "x$enable_gtktest" = "xyes" ; then
29741 ac_save_CFLAGS="$CFLAGS"
29742 ac_save_LIBS="$LIBS"
29743 CFLAGS="$CFLAGS $GTK_CFLAGS"
29744 LIBS="$GTK_LIBS $LIBS"
29745 rm -f conf.gtktest
29746 if test "$cross_compiling" = yes; then
29747 echo $ac_n "cross compiling; assumed OK... $ac_c"
29748 else
29749 cat >conftest.$ac_ext <<_ACEOF
29750 /* confdefs.h. */
29751 _ACEOF
29752 cat confdefs.h >>conftest.$ac_ext
29753 cat >>conftest.$ac_ext <<_ACEOF
29754 /* end confdefs.h. */
29755
29756 #include <gtk/gtk.h>
29757 #include <stdio.h>
29758 #include <stdlib.h>
29759
29760 int
29761 main ()
29762 {
29763 int major, minor, micro;
29764 char *tmp_version;
29765
29766 system ("touch conf.gtktest");
29767
29768 /* HP/UX 9 (%@#!) writes to sscanf strings */
29769 tmp_version = g_strdup("$min_gtk_version");
29770 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29771 printf("%s, bad version string\n", "$min_gtk_version");
29772 exit(1);
29773 }
29774
29775 if ((gtk_major_version != $gtk_config_major_version) ||
29776 (gtk_minor_version != $gtk_config_minor_version) ||
29777 (gtk_micro_version != $gtk_config_micro_version))
29778 {
29779 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29780 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29781 gtk_major_version, gtk_minor_version, gtk_micro_version);
29782 printf ("*** was found! If pkg-config was correct, then it is best\n");
29783 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29784 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29785 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29786 printf("*** required on your system.\n");
29787 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29788 printf("*** to point to the correct configuration files\n");
29789 }
29790 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29791 (gtk_minor_version != GTK_MINOR_VERSION) ||
29792 (gtk_micro_version != GTK_MICRO_VERSION))
29793 {
29794 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29795 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29796 printf("*** library (version %d.%d.%d)\n",
29797 gtk_major_version, gtk_minor_version, gtk_micro_version);
29798 }
29799 else
29800 {
29801 if ((gtk_major_version > major) ||
29802 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29803 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29804 {
29805 return 0;
29806 }
29807 else
29808 {
29809 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29810 gtk_major_version, gtk_minor_version, gtk_micro_version);
29811 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29812 major, minor, micro);
29813 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29814 printf("***\n");
29815 printf("*** If you have already installed a sufficiently new version, this error\n");
29816 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29817 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29818 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29819 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29820 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29821 printf("*** so that the correct libraries are found at run-time))\n");
29822 }
29823 }
29824 return 1;
29825 }
29826
29827 _ACEOF
29828 rm -f conftest$ac_exeext
29829 if { (ac_try="$ac_link"
29830 case "(($ac_try" in
29831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29832 *) ac_try_echo=$ac_try;;
29833 esac
29834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29835 (eval "$ac_link") 2>&5
29836 ac_status=$?
29837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29838 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29839 { (case "(($ac_try" in
29840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29841 *) ac_try_echo=$ac_try;;
29842 esac
29843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29844 (eval "$ac_try") 2>&5
29845 ac_status=$?
29846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29847 (exit $ac_status); }; }; then
29848 :
29849 else
29850 echo "$as_me: program exited with status $ac_status" >&5
29851 echo "$as_me: failed program was:" >&5
29852 sed 's/^/| /' conftest.$ac_ext >&5
29853
29854 ( exit $ac_status )
29855 no_gtk=yes
29856 fi
29857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29858 fi
29859
29860
29861 CFLAGS="$ac_save_CFLAGS"
29862 LIBS="$ac_save_LIBS"
29863 fi
29864 fi
29865 if test "x$no_gtk" = x ; then
29866 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29867 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29868 wx_cv_lib_gtk=2.0
29869 else
29870 { echo "$as_me:$LINENO: result: no" >&5
29871 echo "${ECHO_T}no" >&6; }
29872 if test "$PKG_CONFIG" = "no" ; then
29873 echo "*** A new enough version of pkg-config was not found."
29874 echo "*** See http://pkgconfig.sourceforge.net"
29875 else
29876 if test -f conf.gtktest ; then
29877 :
29878 else
29879 echo "*** Could not run GTK+ test program, checking why..."
29880 ac_save_CFLAGS="$CFLAGS"
29881 ac_save_LIBS="$LIBS"
29882 CFLAGS="$CFLAGS $GTK_CFLAGS"
29883 LIBS="$LIBS $GTK_LIBS"
29884 cat >conftest.$ac_ext <<_ACEOF
29885 /* confdefs.h. */
29886 _ACEOF
29887 cat confdefs.h >>conftest.$ac_ext
29888 cat >>conftest.$ac_ext <<_ACEOF
29889 /* end confdefs.h. */
29890
29891 #include <gtk/gtk.h>
29892 #include <stdio.h>
29893
29894 int
29895 main ()
29896 {
29897 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29898 ;
29899 return 0;
29900 }
29901 _ACEOF
29902 rm -f conftest.$ac_objext conftest$ac_exeext
29903 if { (ac_try="$ac_link"
29904 case "(($ac_try" in
29905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29906 *) ac_try_echo=$ac_try;;
29907 esac
29908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29909 (eval "$ac_link") 2>conftest.er1
29910 ac_status=$?
29911 grep -v '^ *+' conftest.er1 >conftest.err
29912 rm -f conftest.er1
29913 cat conftest.err >&5
29914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29915 (exit $ac_status); } && {
29916 test -z "$ac_c_werror_flag" ||
29917 test ! -s conftest.err
29918 } && test -s conftest$ac_exeext &&
29919 $as_test_x conftest$ac_exeext; then
29920 echo "*** The test program compiled, but did not run. This usually means"
29921 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29922 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29923 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29924 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29925 echo "*** is required on your system"
29926 echo "***"
29927 echo "*** If you have an old version installed, it is best to remove it, although"
29928 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29929 else
29930 echo "$as_me: failed program was:" >&5
29931 sed 's/^/| /' conftest.$ac_ext >&5
29932
29933 echo "*** The test program failed to compile or link. See the file config.log for the"
29934 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29935 fi
29936
29937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29938 conftest$ac_exeext conftest.$ac_ext
29939 CFLAGS="$ac_save_CFLAGS"
29940 LIBS="$ac_save_LIBS"
29941 fi
29942 fi
29943 GTK_CFLAGS=""
29944 GTK_LIBS=""
29945 :
29946 fi
29947
29948
29949 rm -f conf.gtktest
29950
29951
29952 case "${host}" in
29953 *-*-solaris2* )
29954 if test "$wxUSE_SHARED" != "yes"; then
29955 GTK_LIBS="$GTK_LIBS -lX11"
29956 fi
29957 esac
29958 fi
29959
29960 if test -z "$wx_cv_lib_gtk"; then
29961 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29962
29963 # Check whether --with-gtk-prefix was given.
29964 if test "${with_gtk_prefix+set}" = set; then
29965 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29966 else
29967 gtk_config_prefix=""
29968 fi
29969
29970
29971 # Check whether --with-gtk-exec-prefix was given.
29972 if test "${with_gtk_exec_prefix+set}" = set; then
29973 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29974 else
29975 gtk_config_exec_prefix=""
29976 fi
29977
29978 # Check whether --enable-gtktest was given.
29979 if test "${enable_gtktest+set}" = set; then
29980 enableval=$enable_gtktest;
29981 else
29982 enable_gtktest=yes
29983 fi
29984
29985
29986 for module in . $GTK_MODULES
29987 do
29988 case "$module" in
29989 gthread)
29990 gtk_config_args="$gtk_config_args gthread"
29991 ;;
29992 esac
29993 done
29994
29995 if test x$gtk_config_exec_prefix != x ; then
29996 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29997 if test x${GTK_CONFIG+set} != xset ; then
29998 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29999 fi
30000 fi
30001 if test x$gtk_config_prefix != x ; then
30002 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30003 if test x${GTK_CONFIG+set} != xset ; then
30004 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30005 fi
30006 fi
30007
30008 # Extract the first word of "gtk-config", so it can be a program name with args.
30009 set dummy gtk-config; ac_word=$2
30010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30012 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30013 echo $ECHO_N "(cached) $ECHO_C" >&6
30014 else
30015 case $GTK_CONFIG in
30016 [\\/]* | ?:[\\/]*)
30017 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30018 ;;
30019 *)
30020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30021 for as_dir in $PATH
30022 do
30023 IFS=$as_save_IFS
30024 test -z "$as_dir" && as_dir=.
30025 for ac_exec_ext in '' $ac_executable_extensions; do
30026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30027 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30029 break 2
30030 fi
30031 done
30032 done
30033 IFS=$as_save_IFS
30034
30035 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30036 ;;
30037 esac
30038 fi
30039 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30040 if test -n "$GTK_CONFIG"; then
30041 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30042 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30043 else
30044 { echo "$as_me:$LINENO: result: no" >&5
30045 echo "${ECHO_T}no" >&6; }
30046 fi
30047
30048
30049 min_gtk_version=1.2.7
30050 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30051 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30052 no_gtk=""
30053 if test "$GTK_CONFIG" = "no" ; then
30054 no_gtk=yes
30055 else
30056 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30057 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30058 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30059 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30060 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30061 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30062 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30063 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30064 if test "x$enable_gtktest" = "xyes" ; then
30065 ac_save_CFLAGS="$CFLAGS"
30066 ac_save_LIBS="$LIBS"
30067 CFLAGS="$CFLAGS $GTK_CFLAGS"
30068 LIBS="$GTK_LIBS $LIBS"
30069 rm -f conf.gtktest
30070 if test "$cross_compiling" = yes; then
30071 echo $ac_n "cross compiling; assumed OK... $ac_c"
30072 else
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 #include <stdlib.h>
30083
30084 int
30085 main ()
30086 {
30087 int major, minor, micro;
30088 char *tmp_version;
30089
30090 system ("touch conf.gtktest");
30091
30092 /* HP/UX 9 (%@#!) writes to sscanf strings */
30093 tmp_version = g_strdup("$min_gtk_version");
30094 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30095 printf("%s, bad version string\n", "$min_gtk_version");
30096 exit(1);
30097 }
30098
30099 if ((gtk_major_version != $gtk_config_major_version) ||
30100 (gtk_minor_version != $gtk_config_minor_version) ||
30101 (gtk_micro_version != $gtk_config_micro_version))
30102 {
30103 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30104 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30105 gtk_major_version, gtk_minor_version, gtk_micro_version);
30106 printf ("*** was found! If gtk-config was correct, then it is best\n");
30107 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30108 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30109 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30110 printf("*** required on your system.\n");
30111 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30112 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30113 printf("*** before re-running configure\n");
30114 }
30115 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30116 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30117 (gtk_minor_version != GTK_MINOR_VERSION) ||
30118 (gtk_micro_version != GTK_MICRO_VERSION))
30119 {
30120 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30121 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30122 printf("*** library (version %d.%d.%d)\n",
30123 gtk_major_version, gtk_minor_version, gtk_micro_version);
30124 }
30125 #endif /* defined (GTK_MAJOR_VERSION) ... */
30126 else
30127 {
30128 if ((gtk_major_version > major) ||
30129 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30130 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30131 {
30132 return 0;
30133 }
30134 else
30135 {
30136 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30137 gtk_major_version, gtk_minor_version, gtk_micro_version);
30138 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30139 major, minor, micro);
30140 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30141 printf("***\n");
30142 printf("*** If you have already installed a sufficiently new version, this error\n");
30143 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30144 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30145 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30146 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30147 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30148 printf("*** so that the correct libraries are found at run-time))\n");
30149 }
30150 }
30151 return 1;
30152 }
30153
30154 _ACEOF
30155 rm -f conftest$ac_exeext
30156 if { (ac_try="$ac_link"
30157 case "(($ac_try" in
30158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30159 *) ac_try_echo=$ac_try;;
30160 esac
30161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30162 (eval "$ac_link") 2>&5
30163 ac_status=$?
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30166 { (case "(($ac_try" in
30167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30168 *) ac_try_echo=$ac_try;;
30169 esac
30170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30171 (eval "$ac_try") 2>&5
30172 ac_status=$?
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); }; }; then
30175 :
30176 else
30177 echo "$as_me: program exited with status $ac_status" >&5
30178 echo "$as_me: failed program was:" >&5
30179 sed 's/^/| /' conftest.$ac_ext >&5
30180
30181 ( exit $ac_status )
30182 no_gtk=yes
30183 fi
30184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30185 fi
30186
30187
30188 CFLAGS="$ac_save_CFLAGS"
30189 LIBS="$ac_save_LIBS"
30190 fi
30191 fi
30192 if test "x$no_gtk" = x ; then
30193 { echo "$as_me:$LINENO: result: yes" >&5
30194 echo "${ECHO_T}yes" >&6; }
30195 wx_cv_lib_gtk=1.2.7
30196 else
30197 { echo "$as_me:$LINENO: result: no" >&5
30198 echo "${ECHO_T}no" >&6; }
30199 if test "$GTK_CONFIG" = "no" ; then
30200 echo "*** The gtk-config script installed by GTK could not be found"
30201 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30202 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30203 echo "*** full path to gtk-config."
30204 else
30205 if test -f conf.gtktest ; then
30206 :
30207 else
30208 echo "*** Could not run GTK test program, checking why..."
30209 CFLAGS="$CFLAGS $GTK_CFLAGS"
30210 LIBS="$LIBS $GTK_LIBS"
30211 cat >conftest.$ac_ext <<_ACEOF
30212 /* confdefs.h. */
30213 _ACEOF
30214 cat confdefs.h >>conftest.$ac_ext
30215 cat >>conftest.$ac_ext <<_ACEOF
30216 /* end confdefs.h. */
30217
30218 #include <gtk/gtk.h>
30219 #include <stdio.h>
30220
30221 int
30222 main ()
30223 {
30224 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30225 ;
30226 return 0;
30227 }
30228 _ACEOF
30229 rm -f conftest.$ac_objext conftest$ac_exeext
30230 if { (ac_try="$ac_link"
30231 case "(($ac_try" in
30232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30233 *) ac_try_echo=$ac_try;;
30234 esac
30235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30236 (eval "$ac_link") 2>conftest.er1
30237 ac_status=$?
30238 grep -v '^ *+' conftest.er1 >conftest.err
30239 rm -f conftest.er1
30240 cat conftest.err >&5
30241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30242 (exit $ac_status); } && {
30243 test -z "$ac_c_werror_flag" ||
30244 test ! -s conftest.err
30245 } && test -s conftest$ac_exeext &&
30246 $as_test_x conftest$ac_exeext; then
30247 echo "*** The test program compiled, but did not run. This usually means"
30248 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30249 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30250 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30251 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30252 echo "*** is required on your system"
30253 echo "***"
30254 echo "*** If you have an old version installed, it is best to remove it, although"
30255 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30256 echo "***"
30257 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30258 echo "*** came with the system with the command"
30259 echo "***"
30260 echo "*** rpm --erase --nodeps gtk gtk-devel"
30261 else
30262 echo "$as_me: failed program was:" >&5
30263 sed 's/^/| /' conftest.$ac_ext >&5
30264
30265 echo "*** The test program failed to compile or link. See the file config.log for the"
30266 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30267 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30268 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30269 fi
30270
30271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30272 conftest$ac_exeext conftest.$ac_ext
30273 CFLAGS="$ac_save_CFLAGS"
30274 LIBS="$ac_save_LIBS"
30275 fi
30276 fi
30277 GTK_CFLAGS=""
30278 GTK_LIBS=""
30279 :
30280 fi
30281
30282
30283 rm -f conf.gtktest
30284
30285
30286 if test -z "$wx_cv_lib_gtk"; then
30287
30288 # Check whether --with-gtk-prefix was given.
30289 if test "${with_gtk_prefix+set}" = set; then
30290 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30291 else
30292 gtk_config_prefix=""
30293 fi
30294
30295
30296 # Check whether --with-gtk-exec-prefix was given.
30297 if test "${with_gtk_exec_prefix+set}" = set; then
30298 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30299 else
30300 gtk_config_exec_prefix=""
30301 fi
30302
30303 # Check whether --enable-gtktest was given.
30304 if test "${enable_gtktest+set}" = set; then
30305 enableval=$enable_gtktest;
30306 else
30307 enable_gtktest=yes
30308 fi
30309
30310
30311 for module in . $GTK_MODULES
30312 do
30313 case "$module" in
30314 gthread)
30315 gtk_config_args="$gtk_config_args gthread"
30316 ;;
30317 esac
30318 done
30319
30320 if test x$gtk_config_exec_prefix != x ; then
30321 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30322 if test x${GTK_CONFIG+set} != xset ; then
30323 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30324 fi
30325 fi
30326 if test x$gtk_config_prefix != x ; then
30327 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30328 if test x${GTK_CONFIG+set} != xset ; then
30329 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30330 fi
30331 fi
30332
30333 # Extract the first word of "gtk-config", so it can be a program name with args.
30334 set dummy gtk-config; ac_word=$2
30335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30337 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30338 echo $ECHO_N "(cached) $ECHO_C" >&6
30339 else
30340 case $GTK_CONFIG in
30341 [\\/]* | ?:[\\/]*)
30342 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30343 ;;
30344 *)
30345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30346 for as_dir in $PATH
30347 do
30348 IFS=$as_save_IFS
30349 test -z "$as_dir" && as_dir=.
30350 for ac_exec_ext in '' $ac_executable_extensions; do
30351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30352 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30354 break 2
30355 fi
30356 done
30357 done
30358 IFS=$as_save_IFS
30359
30360 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30361 ;;
30362 esac
30363 fi
30364 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30365 if test -n "$GTK_CONFIG"; then
30366 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30367 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30368 else
30369 { echo "$as_me:$LINENO: result: no" >&5
30370 echo "${ECHO_T}no" >&6; }
30371 fi
30372
30373
30374 min_gtk_version=1.2.3
30375 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30376 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30377 no_gtk=""
30378 if test "$GTK_CONFIG" = "no" ; then
30379 no_gtk=yes
30380 else
30381 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30382 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30383 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30384 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30385 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30387 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30389 if test "x$enable_gtktest" = "xyes" ; then
30390 ac_save_CFLAGS="$CFLAGS"
30391 ac_save_LIBS="$LIBS"
30392 CFLAGS="$CFLAGS $GTK_CFLAGS"
30393 LIBS="$GTK_LIBS $LIBS"
30394 rm -f conf.gtktest
30395 if test "$cross_compiling" = yes; then
30396 echo $ac_n "cross compiling; assumed OK... $ac_c"
30397 else
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 #include <stdlib.h>
30408
30409 int
30410 main ()
30411 {
30412 int major, minor, micro;
30413 char *tmp_version;
30414
30415 system ("touch conf.gtktest");
30416
30417 /* HP/UX 9 (%@#!) writes to sscanf strings */
30418 tmp_version = g_strdup("$min_gtk_version");
30419 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30420 printf("%s, bad version string\n", "$min_gtk_version");
30421 exit(1);
30422 }
30423
30424 if ((gtk_major_version != $gtk_config_major_version) ||
30425 (gtk_minor_version != $gtk_config_minor_version) ||
30426 (gtk_micro_version != $gtk_config_micro_version))
30427 {
30428 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30429 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30430 gtk_major_version, gtk_minor_version, gtk_micro_version);
30431 printf ("*** was found! If gtk-config was correct, then it is best\n");
30432 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30433 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30434 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30435 printf("*** required on your system.\n");
30436 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30437 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30438 printf("*** before re-running configure\n");
30439 }
30440 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30441 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30442 (gtk_minor_version != GTK_MINOR_VERSION) ||
30443 (gtk_micro_version != GTK_MICRO_VERSION))
30444 {
30445 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30446 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30447 printf("*** library (version %d.%d.%d)\n",
30448 gtk_major_version, gtk_minor_version, gtk_micro_version);
30449 }
30450 #endif /* defined (GTK_MAJOR_VERSION) ... */
30451 else
30452 {
30453 if ((gtk_major_version > major) ||
30454 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30455 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30456 {
30457 return 0;
30458 }
30459 else
30460 {
30461 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30462 gtk_major_version, gtk_minor_version, gtk_micro_version);
30463 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30464 major, minor, micro);
30465 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30466 printf("***\n");
30467 printf("*** If you have already installed a sufficiently new version, this error\n");
30468 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30469 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30470 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30471 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30472 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30473 printf("*** so that the correct libraries are found at run-time))\n");
30474 }
30475 }
30476 return 1;
30477 }
30478
30479 _ACEOF
30480 rm -f conftest$ac_exeext
30481 if { (ac_try="$ac_link"
30482 case "(($ac_try" in
30483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30484 *) ac_try_echo=$ac_try;;
30485 esac
30486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30487 (eval "$ac_link") 2>&5
30488 ac_status=$?
30489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30490 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30491 { (case "(($ac_try" in
30492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30493 *) ac_try_echo=$ac_try;;
30494 esac
30495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30496 (eval "$ac_try") 2>&5
30497 ac_status=$?
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); }; }; then
30500 :
30501 else
30502 echo "$as_me: program exited with status $ac_status" >&5
30503 echo "$as_me: failed program was:" >&5
30504 sed 's/^/| /' conftest.$ac_ext >&5
30505
30506 ( exit $ac_status )
30507 no_gtk=yes
30508 fi
30509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30510 fi
30511
30512
30513 CFLAGS="$ac_save_CFLAGS"
30514 LIBS="$ac_save_LIBS"
30515 fi
30516 fi
30517 if test "x$no_gtk" = x ; then
30518 { echo "$as_me:$LINENO: result: yes" >&5
30519 echo "${ECHO_T}yes" >&6; }
30520 wx_cv_lib_gtk=1.2.3
30521 else
30522 { echo "$as_me:$LINENO: result: no" >&5
30523 echo "${ECHO_T}no" >&6; }
30524 if test "$GTK_CONFIG" = "no" ; then
30525 echo "*** The gtk-config script installed by GTK could not be found"
30526 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30527 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30528 echo "*** full path to gtk-config."
30529 else
30530 if test -f conf.gtktest ; then
30531 :
30532 else
30533 echo "*** Could not run GTK test program, checking why..."
30534 CFLAGS="$CFLAGS $GTK_CFLAGS"
30535 LIBS="$LIBS $GTK_LIBS"
30536 cat >conftest.$ac_ext <<_ACEOF
30537 /* confdefs.h. */
30538 _ACEOF
30539 cat confdefs.h >>conftest.$ac_ext
30540 cat >>conftest.$ac_ext <<_ACEOF
30541 /* end confdefs.h. */
30542
30543 #include <gtk/gtk.h>
30544 #include <stdio.h>
30545
30546 int
30547 main ()
30548 {
30549 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30550 ;
30551 return 0;
30552 }
30553 _ACEOF
30554 rm -f conftest.$ac_objext conftest$ac_exeext
30555 if { (ac_try="$ac_link"
30556 case "(($ac_try" in
30557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30558 *) ac_try_echo=$ac_try;;
30559 esac
30560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30561 (eval "$ac_link") 2>conftest.er1
30562 ac_status=$?
30563 grep -v '^ *+' conftest.er1 >conftest.err
30564 rm -f conftest.er1
30565 cat conftest.err >&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); } && {
30568 test -z "$ac_c_werror_flag" ||
30569 test ! -s conftest.err
30570 } && test -s conftest$ac_exeext &&
30571 $as_test_x conftest$ac_exeext; then
30572 echo "*** The test program compiled, but did not run. This usually means"
30573 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30574 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30575 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30576 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30577 echo "*** is required on your system"
30578 echo "***"
30579 echo "*** If you have an old version installed, it is best to remove it, although"
30580 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30581 echo "***"
30582 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30583 echo "*** came with the system with the command"
30584 echo "***"
30585 echo "*** rpm --erase --nodeps gtk gtk-devel"
30586 else
30587 echo "$as_me: failed program was:" >&5
30588 sed 's/^/| /' conftest.$ac_ext >&5
30589
30590 echo "*** The test program failed to compile or link. See the file config.log for the"
30591 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30592 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30593 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30594 fi
30595
30596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30597 conftest$ac_exeext conftest.$ac_ext
30598 CFLAGS="$ac_save_CFLAGS"
30599 LIBS="$ac_save_LIBS"
30600 fi
30601 fi
30602 GTK_CFLAGS=""
30603 GTK_LIBS=""
30604 :
30605 fi
30606
30607
30608 rm -f conf.gtktest
30609
30610 fi
30611 fi
30612 fi
30613
30614 if test -z "$wx_cv_lib_gtk"; then
30615 wx_cv_lib_gtk=none
30616 else
30617 wx_cv_cflags_gtk=$GTK_CFLAGS
30618 wx_cv_libs_gtk=$GTK_LIBS
30619 fi
30620
30621
30622 fi
30623
30624
30625 if test "$gtk_version_cached" = 1; then
30626 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30627 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30628 fi
30629
30630 case "$wx_cv_lib_gtk" in
30631 2.0) WXGTK2=1
30632 TOOLKIT_VERSION=2
30633 ;;
30634 1.2.7) WXGTK127=1
30635 WXGTK12=1
30636 ;;
30637 1.2.3) WXGTK12=1
30638 ;;
30639 *) { { echo "$as_me:$LINENO: error:
30640 The development files for GTK+ were not found. For GTK+ 2, please
30641 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30642 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30643 and that the version is 1.2.3 or above. Also check that the
30644 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30645 --libs' are in the LD_LIBRARY_PATH or equivalent.
30646 " >&5
30647 echo "$as_me: error:
30648 The development files for GTK+ were not found. For GTK+ 2, please
30649 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30650 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30651 and that the version is 1.2.3 or above. Also check that the
30652 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30653 --libs' are in the LD_LIBRARY_PATH or equivalent.
30654 " >&2;}
30655 { (exit 1); exit 1; }; }
30656 ;;
30657 esac
30658
30659 if test "$WXGTK2" = 1; then
30660 save_CFLAGS="$CFLAGS"
30661 save_LIBS="$LIBS"
30662 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30663 LIBS="$LIBS $wx_cv_libs_gtk"
30664
30665 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30666 echo $ECHO_N "checking if GTK+ is version >= 2.18... $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,18,0)
30681 Not GTK+ 2.18
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 __WXGTK218__ 1
30708 _ACEOF
30709
30710 cat >>confdefs.h <<\_ACEOF
30711 #define __WXGTK210__ 1
30712 _ACEOF
30713
30714 cat >>confdefs.h <<\_ACEOF
30715 #define __WXGTK26__ 1
30716 _ACEOF
30717
30718 { echo "$as_me:$LINENO: result: yes" >&5
30719 echo "${ECHO_T}yes" >&6; }
30720 ac_wxgtk218=1
30721
30722 else
30723 echo "$as_me: failed program was:" >&5
30724 sed 's/^/| /' conftest.$ac_ext >&5
30725
30726
30727 { echo "$as_me:$LINENO: result: no" >&5
30728 echo "${ECHO_T}no" >&6; }
30729 ac_wxgtk218=0
30730
30731 fi
30732
30733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30734
30735 if test "$ac_wxgtk218" = 0; then
30736 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30737 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30738 cat >conftest.$ac_ext <<_ACEOF
30739 /* confdefs.h. */
30740 _ACEOF
30741 cat confdefs.h >>conftest.$ac_ext
30742 cat >>conftest.$ac_ext <<_ACEOF
30743 /* end confdefs.h. */
30744
30745 #include <gtk/gtk.h>
30746
30747 int
30748 main ()
30749 {
30750
30751 #if !GTK_CHECK_VERSION(2,10,0)
30752 Not GTK+ 2.10
30753 #endif
30754
30755 ;
30756 return 0;
30757 }
30758 _ACEOF
30759 rm -f conftest.$ac_objext
30760 if { (ac_try="$ac_compile"
30761 case "(($ac_try" in
30762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30763 *) ac_try_echo=$ac_try;;
30764 esac
30765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30766 (eval "$ac_compile") 2>conftest.er1
30767 ac_status=$?
30768 grep -v '^ *+' conftest.er1 >conftest.err
30769 rm -f conftest.er1
30770 cat conftest.err >&5
30771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772 (exit $ac_status); } && {
30773 test -z "$ac_c_werror_flag" ||
30774 test ! -s conftest.err
30775 } && test -s conftest.$ac_objext; then
30776
30777 cat >>confdefs.h <<\_ACEOF
30778 #define __WXGTK210__ 1
30779 _ACEOF
30780
30781 cat >>confdefs.h <<\_ACEOF
30782 #define __WXGTK26__ 1
30783 _ACEOF
30784
30785 { echo "$as_me:$LINENO: result: yes" >&5
30786 echo "${ECHO_T}yes" >&6; }
30787 ac_wxgtk210=1
30788
30789 else
30790 echo "$as_me: failed program was:" >&5
30791 sed 's/^/| /' conftest.$ac_ext >&5
30792
30793
30794 { echo "$as_me:$LINENO: result: no" >&5
30795 echo "${ECHO_T}no" >&6; }
30796 ac_wxgtk210=0
30797
30798 fi
30799
30800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30801
30802 if test "$ac_wxgtk210" = 0; then
30803 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30804 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30805 cat >conftest.$ac_ext <<_ACEOF
30806 /* confdefs.h. */
30807 _ACEOF
30808 cat confdefs.h >>conftest.$ac_ext
30809 cat >>conftest.$ac_ext <<_ACEOF
30810 /* end confdefs.h. */
30811
30812 #include <gtk/gtk.h>
30813
30814 int
30815 main ()
30816 {
30817
30818 #if !GTK_CHECK_VERSION(2,6,0)
30819 Not GTK+ 2.6
30820 #endif
30821
30822 ;
30823 return 0;
30824 }
30825 _ACEOF
30826 rm -f conftest.$ac_objext
30827 if { (ac_try="$ac_compile"
30828 case "(($ac_try" in
30829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30830 *) ac_try_echo=$ac_try;;
30831 esac
30832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30833 (eval "$ac_compile") 2>conftest.er1
30834 ac_status=$?
30835 grep -v '^ *+' conftest.er1 >conftest.err
30836 rm -f conftest.er1
30837 cat conftest.err >&5
30838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30839 (exit $ac_status); } && {
30840 test -z "$ac_c_werror_flag" ||
30841 test ! -s conftest.err
30842 } && test -s conftest.$ac_objext; then
30843
30844 cat >>confdefs.h <<\_ACEOF
30845 #define __WXGTK26__ 1
30846 _ACEOF
30847
30848 { echo "$as_me:$LINENO: result: yes" >&5
30849 echo "${ECHO_T}yes" >&6; }
30850 ac_wxgtk26=1
30851
30852 else
30853 echo "$as_me: failed program was:" >&5
30854 sed 's/^/| /' conftest.$ac_ext >&5
30855
30856
30857 { echo "$as_me:$LINENO: result: no" >&5
30858 echo "${ECHO_T}no" >&6; }
30859 ac_wxgtk26=0
30860
30861 fi
30862
30863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30864 fi
30865 fi
30866
30867 CFLAGS="$save_CFLAGS"
30868 LIBS="$save_LIBS"
30869 else
30870 if test "$wxUSE_UNICODE" = "yes"; then
30871 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30872 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30873 wxUSE_UNICODE=no
30874 fi
30875
30876 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30877 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30878 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30879 echo $ECHO_N "(cached) $ECHO_C" >&6
30880 else
30881 ac_check_lib_save_LIBS=$LIBS
30882 LIBS="-lgdk $LIBS"
30883 cat >conftest.$ac_ext <<_ACEOF
30884 /* confdefs.h. */
30885 _ACEOF
30886 cat confdefs.h >>conftest.$ac_ext
30887 cat >>conftest.$ac_ext <<_ACEOF
30888 /* end confdefs.h. */
30889
30890 /* Override any GCC internal prototype to avoid an error.
30891 Use char because int might match the return type of a GCC
30892 builtin and then its argument prototype would still apply. */
30893 #ifdef __cplusplus
30894 extern "C"
30895 #endif
30896 char gdk_im_open ();
30897 int
30898 main ()
30899 {
30900 return gdk_im_open ();
30901 ;
30902 return 0;
30903 }
30904 _ACEOF
30905 rm -f conftest.$ac_objext conftest$ac_exeext
30906 if { (ac_try="$ac_link"
30907 case "(($ac_try" in
30908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30909 *) ac_try_echo=$ac_try;;
30910 esac
30911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30912 (eval "$ac_link") 2>conftest.er1
30913 ac_status=$?
30914 grep -v '^ *+' conftest.er1 >conftest.err
30915 rm -f conftest.er1
30916 cat conftest.err >&5
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); } && {
30919 test -z "$ac_c_werror_flag" ||
30920 test ! -s conftest.err
30921 } && test -s conftest$ac_exeext &&
30922 $as_test_x conftest$ac_exeext; then
30923 ac_cv_lib_gdk_gdk_im_open=yes
30924 else
30925 echo "$as_me: failed program was:" >&5
30926 sed 's/^/| /' conftest.$ac_ext >&5
30927
30928 ac_cv_lib_gdk_gdk_im_open=no
30929 fi
30930
30931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30932 conftest$ac_exeext conftest.$ac_ext
30933 LIBS=$ac_check_lib_save_LIBS
30934 fi
30935 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30936 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30937 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30938 cat >>confdefs.h <<\_ACEOF
30939 #define HAVE_XIM 1
30940 _ACEOF
30941
30942 fi
30943
30944
30945 if test "$USE_DARWIN" != 1; then
30946
30947 for ac_func in poll
30948 do
30949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30950 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30952 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30953 echo $ECHO_N "(cached) $ECHO_C" >&6
30954 else
30955 cat >conftest.$ac_ext <<_ACEOF
30956 /* confdefs.h. */
30957 _ACEOF
30958 cat confdefs.h >>conftest.$ac_ext
30959 cat >>conftest.$ac_ext <<_ACEOF
30960 /* end confdefs.h. */
30961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30963 #define $ac_func innocuous_$ac_func
30964
30965 /* System header to define __stub macros and hopefully few prototypes,
30966 which can conflict with char $ac_func (); below.
30967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30968 <limits.h> exists even on freestanding compilers. */
30969
30970 #ifdef __STDC__
30971 # include <limits.h>
30972 #else
30973 # include <assert.h>
30974 #endif
30975
30976 #undef $ac_func
30977
30978 /* Override any GCC internal prototype to avoid an error.
30979 Use char because int might match the return type of a GCC
30980 builtin and then its argument prototype would still apply. */
30981 #ifdef __cplusplus
30982 extern "C"
30983 #endif
30984 char $ac_func ();
30985 /* The GNU C library defines this for functions which it implements
30986 to always fail with ENOSYS. Some functions are actually named
30987 something starting with __ and the normal name is an alias. */
30988 #if defined __stub_$ac_func || defined __stub___$ac_func
30989 choke me
30990 #endif
30991
30992 int
30993 main ()
30994 {
30995 return $ac_func ();
30996 ;
30997 return 0;
30998 }
30999 _ACEOF
31000 rm -f conftest.$ac_objext conftest$ac_exeext
31001 if { (ac_try="$ac_link"
31002 case "(($ac_try" in
31003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31004 *) ac_try_echo=$ac_try;;
31005 esac
31006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31007 (eval "$ac_link") 2>conftest.er1
31008 ac_status=$?
31009 grep -v '^ *+' conftest.er1 >conftest.err
31010 rm -f conftest.er1
31011 cat conftest.err >&5
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); } && {
31014 test -z "$ac_c_werror_flag" ||
31015 test ! -s conftest.err
31016 } && test -s conftest$ac_exeext &&
31017 $as_test_x conftest$ac_exeext; then
31018 eval "$as_ac_var=yes"
31019 else
31020 echo "$as_me: failed program was:" >&5
31021 sed 's/^/| /' conftest.$ac_ext >&5
31022
31023 eval "$as_ac_var=no"
31024 fi
31025
31026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31027 conftest$ac_exeext conftest.$ac_ext
31028 fi
31029 ac_res=`eval echo '${'$as_ac_var'}'`
31030 { echo "$as_me:$LINENO: result: $ac_res" >&5
31031 echo "${ECHO_T}$ac_res" >&6; }
31032 if test `eval echo '${'$as_ac_var'}'` = yes; then
31033 cat >>confdefs.h <<_ACEOF
31034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31035 _ACEOF
31036
31037 fi
31038 done
31039
31040 fi
31041 fi
31042
31043 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31044 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31045
31046 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31047
31048 AFMINSTALL=afminstall
31049 TOOLKIT=GTK
31050 GUIDIST=GTK_DIST
31051
31052 if test "$wxUSE_GPE" = "yes"; then
31053 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31054 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31055
31056 ac_find_libraries=
31057 for ac_dir in $SEARCH_LIB
31058 do
31059 for ac_extension in a so sl dylib dll.a; do
31060 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31061 ac_find_libraries=$ac_dir
31062 break 2
31063 fi
31064 done
31065 done
31066
31067 if test "$ac_find_libraries" != "" ; then
31068
31069 if test "$ac_find_libraries" = "default location"; then
31070 ac_path_to_link=""
31071 else
31072 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31073 result=$?
31074 if test $result = 0; then
31075 ac_path_to_link=""
31076 else
31077 ac_path_to_link=" -L$ac_find_libraries"
31078 fi
31079 fi
31080
31081 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31082 WXGPE=1
31083 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31084 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31085 else
31086 { echo "$as_me:$LINENO: result: not found" >&5
31087 echo "${ECHO_T}not found" >&6; }
31088 fi
31089
31090 fi
31091 fi
31092
31093 if test "$wxUSE_MGL" = 1; then
31094 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31095 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31096 if test "x$MGL_ROOT" = x ; then
31097 { echo "$as_me:$LINENO: result: not found" >&5
31098 echo "${ECHO_T}not found" >&6; }
31099 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31100 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31101 { (exit 1); exit 1; }; }
31102 else
31103 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31104 echo "${ECHO_T}$MGL_ROOT" >&6; }
31105 fi
31106
31107 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31108 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31109 case "${host}" in
31110 *-*-linux* )
31111 if test "x$wxUSE_SHARED" = xyes ; then
31112 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31113 else
31114 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31115 fi
31116 ;;
31117 *-pc-msdosdjgpp )
31118 mgl_os_candidates="dos32/dj2"
31119 ;;
31120 *)
31121 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31122 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31123 { (exit 1); exit 1; }; }
31124 esac
31125
31126 mgl_lib_type=""
31127 mgl_os=""
31128
31129 for mgl_os_i in $mgl_os_candidates ; do
31130 if test "x$mgl_os" = x ; then
31131 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31132 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31133 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31134 mgl_lib_type=debug
31135 mgl_os=$mgl_os_i
31136 fi
31137 fi
31138 if test "x$mgl_lib_type" = x ; then
31139 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31140 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31141 mgl_lib_type=release
31142 mgl_os=$mgl_os_i
31143 fi
31144 fi
31145 fi
31146 done
31147
31148 if test "x$mgl_os" = x ; then
31149 { echo "$as_me:$LINENO: result: not found" >&5
31150 echo "${ECHO_T}not found" >&6; }
31151 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31152 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31153 { (exit 1); exit 1; }; }
31154 fi
31155 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31156 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31157
31158 wxUSE_UNIVERSAL="yes"
31159
31160 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31161 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31162
31163 AFMINSTALL=afminstall
31164 TOOLKIT=MGL
31165 GUIDIST=MGL_DIST
31166 fi
31167
31168 if test "$wxUSE_DFB" = 1; then
31169
31170
31171 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31172 if test -n "$ac_tool_prefix"; then
31173 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31174 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31177 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31178 echo $ECHO_N "(cached) $ECHO_C" >&6
31179 else
31180 case $PKG_CONFIG in
31181 [\\/]* | ?:[\\/]*)
31182 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31183 ;;
31184 *)
31185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31186 for as_dir in $PATH
31187 do
31188 IFS=$as_save_IFS
31189 test -z "$as_dir" && as_dir=.
31190 for ac_exec_ext in '' $ac_executable_extensions; do
31191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31192 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31194 break 2
31195 fi
31196 done
31197 done
31198 IFS=$as_save_IFS
31199
31200 ;;
31201 esac
31202 fi
31203 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31204 if test -n "$PKG_CONFIG"; then
31205 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31206 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31207 else
31208 { echo "$as_me:$LINENO: result: no" >&5
31209 echo "${ECHO_T}no" >&6; }
31210 fi
31211
31212
31213 fi
31214 if test -z "$ac_cv_path_PKG_CONFIG"; then
31215 ac_pt_PKG_CONFIG=$PKG_CONFIG
31216 # Extract the first word of "pkg-config", so it can be a program name with args.
31217 set dummy pkg-config; ac_word=$2
31218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31220 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31221 echo $ECHO_N "(cached) $ECHO_C" >&6
31222 else
31223 case $ac_pt_PKG_CONFIG in
31224 [\\/]* | ?:[\\/]*)
31225 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31226 ;;
31227 *)
31228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31229 for as_dir in $PATH
31230 do
31231 IFS=$as_save_IFS
31232 test -z "$as_dir" && as_dir=.
31233 for ac_exec_ext in '' $ac_executable_extensions; do
31234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31235 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31237 break 2
31238 fi
31239 done
31240 done
31241 IFS=$as_save_IFS
31242
31243 ;;
31244 esac
31245 fi
31246 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31247 if test -n "$ac_pt_PKG_CONFIG"; then
31248 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31249 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31250 else
31251 { echo "$as_me:$LINENO: result: no" >&5
31252 echo "${ECHO_T}no" >&6; }
31253 fi
31254
31255 if test "x$ac_pt_PKG_CONFIG" = x; then
31256 PKG_CONFIG=""
31257 else
31258 case $cross_compiling:$ac_tool_warned in
31259 yes:)
31260 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31261 whose name does not start with the host triplet. If you think this
31262 configuration is useful to you, please write to autoconf@gnu.org." >&5
31263 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31264 whose name does not start with the host triplet. If you think this
31265 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31266 ac_tool_warned=yes ;;
31267 esac
31268 PKG_CONFIG=$ac_pt_PKG_CONFIG
31269 fi
31270 else
31271 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31272 fi
31273
31274 fi
31275 if test -n "$PKG_CONFIG"; then
31276 _pkg_min_version=0.9.0
31277 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31278 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31279 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31280 { echo "$as_me:$LINENO: result: yes" >&5
31281 echo "${ECHO_T}yes" >&6; }
31282 else
31283 { echo "$as_me:$LINENO: result: no" >&5
31284 echo "${ECHO_T}no" >&6; }
31285 PKG_CONFIG=""
31286 fi
31287
31288 fi
31289
31290
31291 pkg_failed=no
31292 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31293 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31294
31295 if test -n "$PKG_CONFIG"; then
31296 if test -n "$DIRECTFB_CFLAGS"; then
31297 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31298 else
31299 if test -n "$PKG_CONFIG" && \
31300 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31301 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31302 ac_status=$?
31303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31304 (exit $ac_status); }; then
31305 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31306 else
31307 pkg_failed=yes
31308 fi
31309 fi
31310 else
31311 pkg_failed=untried
31312 fi
31313 if test -n "$PKG_CONFIG"; then
31314 if test -n "$DIRECTFB_LIBS"; then
31315 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31316 else
31317 if test -n "$PKG_CONFIG" && \
31318 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31319 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31320 ac_status=$?
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); }; then
31323 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31324 else
31325 pkg_failed=yes
31326 fi
31327 fi
31328 else
31329 pkg_failed=untried
31330 fi
31331
31332
31333
31334 if test $pkg_failed = yes; then
31335
31336 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31337 _pkg_short_errors_supported=yes
31338 else
31339 _pkg_short_errors_supported=no
31340 fi
31341 if test $_pkg_short_errors_supported = yes; then
31342 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31343 else
31344 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31345 fi
31346 # Put the nasty error message in config.log where it belongs
31347 echo "$DIRECTFB_PKG_ERRORS" >&5
31348
31349
31350 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31351 echo "$as_me: error: DirectFB not found." >&2;}
31352 { (exit 1); exit 1; }; }
31353
31354
31355 elif test $pkg_failed = untried; then
31356
31357 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31358 echo "$as_me: error: DirectFB not found." >&2;}
31359 { (exit 1); exit 1; }; }
31360
31361
31362 else
31363 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31364 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31365 { echo "$as_me:$LINENO: result: yes" >&5
31366 echo "${ECHO_T}yes" >&6; }
31367
31368 wxUSE_UNIVERSAL="yes"
31369 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31370 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31371 TOOLKIT=DFB
31372 GUIDIST=DFB_DIST
31373
31374 fi
31375 fi
31376
31377 if test "$wxUSE_MICROWIN" = 1; then
31378 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31379 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31380 if test "x$MICROWINDOWS" = x ; then
31381 { echo "$as_me:$LINENO: result: not found" >&5
31382 echo "${ECHO_T}not found" >&6; }
31383 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31384 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31385 { (exit 1); exit 1; }; }
31386 else
31387 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31388 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31389 fi
31390
31391 if test -f $MICROWINDOWS/lib/libmwin.a; then
31392 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31393 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31394 else
31395 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31396 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31397 { (exit 1); exit 1; }; }
31398 fi
31399
31400 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31401 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31402
31403 wxUSE_UNIVERSAL="yes"
31404
31405 AFMINSTALL=afminstall
31406 TOOLKIT=MICROWIN
31407 GUIDIST=MICROWIN_DIST
31408
31409 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31410 fi
31411
31412 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31413 { echo "$as_me:$LINENO: checking for X" >&5
31414 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31415
31416
31417 # Check whether --with-x was given.
31418 if test "${with_x+set}" = set; then
31419 withval=$with_x;
31420 fi
31421
31422 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31423 if test "x$with_x" = xno; then
31424 # The user explicitly disabled X.
31425 have_x=disabled
31426 else
31427 case $x_includes,$x_libraries in #(
31428 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31429 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31430 { (exit 1); exit 1; }; };; #(
31431 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31432 echo $ECHO_N "(cached) $ECHO_C" >&6
31433 else
31434 # One or both of the vars are not set, and there is no cached value.
31435 ac_x_includes=no ac_x_libraries=no
31436 rm -f -r conftest.dir
31437 if mkdir conftest.dir; then
31438 cd conftest.dir
31439 cat >Imakefile <<'_ACEOF'
31440 incroot:
31441 @echo incroot='${INCROOT}'
31442 usrlibdir:
31443 @echo usrlibdir='${USRLIBDIR}'
31444 libdir:
31445 @echo libdir='${LIBDIR}'
31446 _ACEOF
31447 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31448 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31449 for ac_var in incroot usrlibdir libdir; do
31450 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31451 done
31452 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31453 for ac_extension in a so sl; do
31454 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31455 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31456 ac_im_usrlibdir=$ac_im_libdir; break
31457 fi
31458 done
31459 # Screen out bogus values from the imake configuration. They are
31460 # bogus both because they are the default anyway, and because
31461 # using them would break gcc on systems where it needs fixed includes.
31462 case $ac_im_incroot in
31463 /usr/include) ac_x_includes= ;;
31464 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31465 esac
31466 case $ac_im_usrlibdir in
31467 /usr/lib | /lib) ;;
31468 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31469 esac
31470 fi
31471 cd ..
31472 rm -f -r conftest.dir
31473 fi
31474
31475 # Standard set of common directories for X headers.
31476 # Check X11 before X11Rn because it is often a symlink to the current release.
31477 ac_x_header_dirs='
31478 /usr/X11/include
31479 /usr/X11R6/include
31480 /usr/X11R5/include
31481 /usr/X11R4/include
31482
31483 /usr/include/X11
31484 /usr/include/X11R6
31485 /usr/include/X11R5
31486 /usr/include/X11R4
31487
31488 /usr/local/X11/include
31489 /usr/local/X11R6/include
31490 /usr/local/X11R5/include
31491 /usr/local/X11R4/include
31492
31493 /usr/local/include/X11
31494 /usr/local/include/X11R6
31495 /usr/local/include/X11R5
31496 /usr/local/include/X11R4
31497
31498 /usr/X386/include
31499 /usr/x386/include
31500 /usr/XFree86/include/X11
31501
31502 /usr/include
31503 /usr/local/include
31504 /usr/unsupported/include
31505 /usr/athena/include
31506 /usr/local/x11r5/include
31507 /usr/lpp/Xamples/include
31508
31509 /usr/openwin/include
31510 /usr/openwin/share/include'
31511
31512 if test "$ac_x_includes" = no; then
31513 # Guess where to find include files, by looking for Xlib.h.
31514 # First, try using that file with no special directory specified.
31515 cat >conftest.$ac_ext <<_ACEOF
31516 /* confdefs.h. */
31517 _ACEOF
31518 cat confdefs.h >>conftest.$ac_ext
31519 cat >>conftest.$ac_ext <<_ACEOF
31520 /* end confdefs.h. */
31521 #include <X11/Xlib.h>
31522 _ACEOF
31523 if { (ac_try="$ac_cpp conftest.$ac_ext"
31524 case "(($ac_try" in
31525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31526 *) ac_try_echo=$ac_try;;
31527 esac
31528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31529 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31530 ac_status=$?
31531 grep -v '^ *+' conftest.er1 >conftest.err
31532 rm -f conftest.er1
31533 cat conftest.err >&5
31534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31535 (exit $ac_status); } >/dev/null && {
31536 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31537 test ! -s conftest.err
31538 }; then
31539 # We can compile using X headers with no special include directory.
31540 ac_x_includes=
31541 else
31542 echo "$as_me: failed program was:" >&5
31543 sed 's/^/| /' conftest.$ac_ext >&5
31544
31545 for ac_dir in $ac_x_header_dirs; do
31546 if test -r "$ac_dir/X11/Xlib.h"; then
31547 ac_x_includes=$ac_dir
31548 break
31549 fi
31550 done
31551 fi
31552
31553 rm -f conftest.err conftest.$ac_ext
31554 fi # $ac_x_includes = no
31555
31556 if test "$ac_x_libraries" = no; then
31557 # Check for the libraries.
31558 # See if we find them without any special options.
31559 # Don't add to $LIBS permanently.
31560 ac_save_LIBS=$LIBS
31561 LIBS="-lX11 $LIBS"
31562 cat >conftest.$ac_ext <<_ACEOF
31563 /* confdefs.h. */
31564 _ACEOF
31565 cat confdefs.h >>conftest.$ac_ext
31566 cat >>conftest.$ac_ext <<_ACEOF
31567 /* end confdefs.h. */
31568 #include <X11/Xlib.h>
31569 int
31570 main ()
31571 {
31572 XrmInitialize ()
31573 ;
31574 return 0;
31575 }
31576 _ACEOF
31577 rm -f conftest.$ac_objext conftest$ac_exeext
31578 if { (ac_try="$ac_link"
31579 case "(($ac_try" in
31580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31581 *) ac_try_echo=$ac_try;;
31582 esac
31583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31584 (eval "$ac_link") 2>conftest.er1
31585 ac_status=$?
31586 grep -v '^ *+' conftest.er1 >conftest.err
31587 rm -f conftest.er1
31588 cat conftest.err >&5
31589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31590 (exit $ac_status); } && {
31591 test -z "$ac_c_werror_flag" ||
31592 test ! -s conftest.err
31593 } && test -s conftest$ac_exeext &&
31594 $as_test_x conftest$ac_exeext; then
31595 LIBS=$ac_save_LIBS
31596 # We can link X programs with no special library path.
31597 ac_x_libraries=
31598 else
31599 echo "$as_me: failed program was:" >&5
31600 sed 's/^/| /' conftest.$ac_ext >&5
31601
31602 LIBS=$ac_save_LIBS
31603 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31604 do
31605 # Don't even attempt the hair of trying to link an X program!
31606 for ac_extension in a so sl; do
31607 if test -r "$ac_dir/libX11.$ac_extension"; then
31608 ac_x_libraries=$ac_dir
31609 break 2
31610 fi
31611 done
31612 done
31613 fi
31614
31615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31616 conftest$ac_exeext conftest.$ac_ext
31617 fi # $ac_x_libraries = no
31618
31619 case $ac_x_includes,$ac_x_libraries in #(
31620 no,* | *,no | *\'*)
31621 # Didn't find X, or a directory has "'" in its name.
31622 ac_cv_have_x="have_x=no";; #(
31623 *)
31624 # Record where we found X for the cache.
31625 ac_cv_have_x="have_x=yes\
31626 ac_x_includes='$ac_x_includes'\
31627 ac_x_libraries='$ac_x_libraries'"
31628 esac
31629 fi
31630 ;; #(
31631 *) have_x=yes;;
31632 esac
31633 eval "$ac_cv_have_x"
31634 fi # $with_x != no
31635
31636 if test "$have_x" != yes; then
31637 { echo "$as_me:$LINENO: result: $have_x" >&5
31638 echo "${ECHO_T}$have_x" >&6; }
31639 no_x=yes
31640 else
31641 # If each of the values was on the command line, it overrides each guess.
31642 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31643 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31644 # Update the cache value to reflect the command line values.
31645 ac_cv_have_x="have_x=yes\
31646 ac_x_includes='$x_includes'\
31647 ac_x_libraries='$x_libraries'"
31648 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31649 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31650 fi
31651
31652 if test "$no_x" = yes; then
31653 # Not all programs may use this symbol, but it does not hurt to define it.
31654
31655 cat >>confdefs.h <<\_ACEOF
31656 #define X_DISPLAY_MISSING 1
31657 _ACEOF
31658
31659 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31660 else
31661 if test -n "$x_includes"; then
31662 X_CFLAGS="$X_CFLAGS -I$x_includes"
31663 fi
31664
31665 # It would also be nice to do this for all -L options, not just this one.
31666 if test -n "$x_libraries"; then
31667 X_LIBS="$X_LIBS -L$x_libraries"
31668 # For Solaris; some versions of Sun CC require a space after -R and
31669 # others require no space. Words are not sufficient . . . .
31670 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31671 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31672 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31673 ac_xsave_c_werror_flag=$ac_c_werror_flag
31674 ac_c_werror_flag=yes
31675 cat >conftest.$ac_ext <<_ACEOF
31676 /* confdefs.h. */
31677 _ACEOF
31678 cat confdefs.h >>conftest.$ac_ext
31679 cat >>conftest.$ac_ext <<_ACEOF
31680 /* end confdefs.h. */
31681
31682 int
31683 main ()
31684 {
31685
31686 ;
31687 return 0;
31688 }
31689 _ACEOF
31690 rm -f conftest.$ac_objext conftest$ac_exeext
31691 if { (ac_try="$ac_link"
31692 case "(($ac_try" in
31693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31694 *) ac_try_echo=$ac_try;;
31695 esac
31696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31697 (eval "$ac_link") 2>conftest.er1
31698 ac_status=$?
31699 grep -v '^ *+' conftest.er1 >conftest.err
31700 rm -f conftest.er1
31701 cat conftest.err >&5
31702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31703 (exit $ac_status); } && {
31704 test -z "$ac_c_werror_flag" ||
31705 test ! -s conftest.err
31706 } && test -s conftest$ac_exeext &&
31707 $as_test_x conftest$ac_exeext; then
31708 { echo "$as_me:$LINENO: result: no" >&5
31709 echo "${ECHO_T}no" >&6; }
31710 X_LIBS="$X_LIBS -R$x_libraries"
31711 else
31712 echo "$as_me: failed program was:" >&5
31713 sed 's/^/| /' conftest.$ac_ext >&5
31714
31715 LIBS="$ac_xsave_LIBS -R $x_libraries"
31716 cat >conftest.$ac_ext <<_ACEOF
31717 /* confdefs.h. */
31718 _ACEOF
31719 cat confdefs.h >>conftest.$ac_ext
31720 cat >>conftest.$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31722
31723 int
31724 main ()
31725 {
31726
31727 ;
31728 return 0;
31729 }
31730 _ACEOF
31731 rm -f conftest.$ac_objext conftest$ac_exeext
31732 if { (ac_try="$ac_link"
31733 case "(($ac_try" in
31734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31735 *) ac_try_echo=$ac_try;;
31736 esac
31737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31738 (eval "$ac_link") 2>conftest.er1
31739 ac_status=$?
31740 grep -v '^ *+' conftest.er1 >conftest.err
31741 rm -f conftest.er1
31742 cat conftest.err >&5
31743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31744 (exit $ac_status); } && {
31745 test -z "$ac_c_werror_flag" ||
31746 test ! -s conftest.err
31747 } && test -s conftest$ac_exeext &&
31748 $as_test_x conftest$ac_exeext; then
31749 { echo "$as_me:$LINENO: result: yes" >&5
31750 echo "${ECHO_T}yes" >&6; }
31751 X_LIBS="$X_LIBS -R $x_libraries"
31752 else
31753 echo "$as_me: failed program was:" >&5
31754 sed 's/^/| /' conftest.$ac_ext >&5
31755
31756 { echo "$as_me:$LINENO: result: neither works" >&5
31757 echo "${ECHO_T}neither works" >&6; }
31758 fi
31759
31760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31761 conftest$ac_exeext conftest.$ac_ext
31762 fi
31763
31764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31765 conftest$ac_exeext conftest.$ac_ext
31766 ac_c_werror_flag=$ac_xsave_c_werror_flag
31767 LIBS=$ac_xsave_LIBS
31768 fi
31769
31770 # Check for system-dependent libraries X programs must link with.
31771 # Do this before checking for the system-independent R6 libraries
31772 # (-lICE), since we may need -lsocket or whatever for X linking.
31773
31774 if test "$ISC" = yes; then
31775 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31776 else
31777 # Martyn Johnson says this is needed for Ultrix, if the X
31778 # libraries were built with DECnet support. And Karl Berry says
31779 # the Alpha needs dnet_stub (dnet does not exist).
31780 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31781 cat >conftest.$ac_ext <<_ACEOF
31782 /* confdefs.h. */
31783 _ACEOF
31784 cat confdefs.h >>conftest.$ac_ext
31785 cat >>conftest.$ac_ext <<_ACEOF
31786 /* end confdefs.h. */
31787
31788 /* Override any GCC internal prototype to avoid an error.
31789 Use char because int might match the return type of a GCC
31790 builtin and then its argument prototype would still apply. */
31791 #ifdef __cplusplus
31792 extern "C"
31793 #endif
31794 char XOpenDisplay ();
31795 int
31796 main ()
31797 {
31798 return XOpenDisplay ();
31799 ;
31800 return 0;
31801 }
31802 _ACEOF
31803 rm -f conftest.$ac_objext conftest$ac_exeext
31804 if { (ac_try="$ac_link"
31805 case "(($ac_try" in
31806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31807 *) ac_try_echo=$ac_try;;
31808 esac
31809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31810 (eval "$ac_link") 2>conftest.er1
31811 ac_status=$?
31812 grep -v '^ *+' conftest.er1 >conftest.err
31813 rm -f conftest.er1
31814 cat conftest.err >&5
31815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31816 (exit $ac_status); } && {
31817 test -z "$ac_c_werror_flag" ||
31818 test ! -s conftest.err
31819 } && test -s conftest$ac_exeext &&
31820 $as_test_x conftest$ac_exeext; then
31821 :
31822 else
31823 echo "$as_me: failed program was:" >&5
31824 sed 's/^/| /' conftest.$ac_ext >&5
31825
31826 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31827 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31828 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31829 echo $ECHO_N "(cached) $ECHO_C" >&6
31830 else
31831 ac_check_lib_save_LIBS=$LIBS
31832 LIBS="-ldnet $LIBS"
31833 cat >conftest.$ac_ext <<_ACEOF
31834 /* confdefs.h. */
31835 _ACEOF
31836 cat confdefs.h >>conftest.$ac_ext
31837 cat >>conftest.$ac_ext <<_ACEOF
31838 /* end confdefs.h. */
31839
31840 /* Override any GCC internal prototype to avoid an error.
31841 Use char because int might match the return type of a GCC
31842 builtin and then its argument prototype would still apply. */
31843 #ifdef __cplusplus
31844 extern "C"
31845 #endif
31846 char dnet_ntoa ();
31847 int
31848 main ()
31849 {
31850 return dnet_ntoa ();
31851 ;
31852 return 0;
31853 }
31854 _ACEOF
31855 rm -f conftest.$ac_objext conftest$ac_exeext
31856 if { (ac_try="$ac_link"
31857 case "(($ac_try" in
31858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31859 *) ac_try_echo=$ac_try;;
31860 esac
31861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31862 (eval "$ac_link") 2>conftest.er1
31863 ac_status=$?
31864 grep -v '^ *+' conftest.er1 >conftest.err
31865 rm -f conftest.er1
31866 cat conftest.err >&5
31867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31868 (exit $ac_status); } && {
31869 test -z "$ac_c_werror_flag" ||
31870 test ! -s conftest.err
31871 } && test -s conftest$ac_exeext &&
31872 $as_test_x conftest$ac_exeext; then
31873 ac_cv_lib_dnet_dnet_ntoa=yes
31874 else
31875 echo "$as_me: failed program was:" >&5
31876 sed 's/^/| /' conftest.$ac_ext >&5
31877
31878 ac_cv_lib_dnet_dnet_ntoa=no
31879 fi
31880
31881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31882 conftest$ac_exeext conftest.$ac_ext
31883 LIBS=$ac_check_lib_save_LIBS
31884 fi
31885 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31886 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31887 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31888 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31889 fi
31890
31891 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31892 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31893 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31894 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31895 echo $ECHO_N "(cached) $ECHO_C" >&6
31896 else
31897 ac_check_lib_save_LIBS=$LIBS
31898 LIBS="-ldnet_stub $LIBS"
31899 cat >conftest.$ac_ext <<_ACEOF
31900 /* confdefs.h. */
31901 _ACEOF
31902 cat confdefs.h >>conftest.$ac_ext
31903 cat >>conftest.$ac_ext <<_ACEOF
31904 /* end confdefs.h. */
31905
31906 /* Override any GCC internal prototype to avoid an error.
31907 Use char because int might match the return type of a GCC
31908 builtin and then its argument prototype would still apply. */
31909 #ifdef __cplusplus
31910 extern "C"
31911 #endif
31912 char dnet_ntoa ();
31913 int
31914 main ()
31915 {
31916 return dnet_ntoa ();
31917 ;
31918 return 0;
31919 }
31920 _ACEOF
31921 rm -f conftest.$ac_objext conftest$ac_exeext
31922 if { (ac_try="$ac_link"
31923 case "(($ac_try" in
31924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31925 *) ac_try_echo=$ac_try;;
31926 esac
31927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31928 (eval "$ac_link") 2>conftest.er1
31929 ac_status=$?
31930 grep -v '^ *+' conftest.er1 >conftest.err
31931 rm -f conftest.er1
31932 cat conftest.err >&5
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); } && {
31935 test -z "$ac_c_werror_flag" ||
31936 test ! -s conftest.err
31937 } && test -s conftest$ac_exeext &&
31938 $as_test_x conftest$ac_exeext; then
31939 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31940 else
31941 echo "$as_me: failed program was:" >&5
31942 sed 's/^/| /' conftest.$ac_ext >&5
31943
31944 ac_cv_lib_dnet_stub_dnet_ntoa=no
31945 fi
31946
31947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31948 conftest$ac_exeext conftest.$ac_ext
31949 LIBS=$ac_check_lib_save_LIBS
31950 fi
31951 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31952 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31953 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31954 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31955 fi
31956
31957 fi
31958 fi
31959
31960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31961 conftest$ac_exeext conftest.$ac_ext
31962 LIBS="$ac_xsave_LIBS"
31963
31964 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31965 # to get the SysV transport functions.
31966 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31967 # needs -lnsl.
31968 # The nsl library prevents programs from opening the X display
31969 # on Irix 5.2, according to T.E. Dickey.
31970 # The functions gethostbyname, getservbyname, and inet_addr are
31971 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31972 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31973 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31974 if test "${ac_cv_func_gethostbyname+set}" = set; then
31975 echo $ECHO_N "(cached) $ECHO_C" >&6
31976 else
31977 cat >conftest.$ac_ext <<_ACEOF
31978 /* confdefs.h. */
31979 _ACEOF
31980 cat confdefs.h >>conftest.$ac_ext
31981 cat >>conftest.$ac_ext <<_ACEOF
31982 /* end confdefs.h. */
31983 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31985 #define gethostbyname innocuous_gethostbyname
31986
31987 /* System header to define __stub macros and hopefully few prototypes,
31988 which can conflict with char gethostbyname (); below.
31989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31990 <limits.h> exists even on freestanding compilers. */
31991
31992 #ifdef __STDC__
31993 # include <limits.h>
31994 #else
31995 # include <assert.h>
31996 #endif
31997
31998 #undef gethostbyname
31999
32000 /* Override any GCC internal prototype to avoid an error.
32001 Use char because int might match the return type of a GCC
32002 builtin and then its argument prototype would still apply. */
32003 #ifdef __cplusplus
32004 extern "C"
32005 #endif
32006 char gethostbyname ();
32007 /* The GNU C library defines this for functions which it implements
32008 to always fail with ENOSYS. Some functions are actually named
32009 something starting with __ and the normal name is an alias. */
32010 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32011 choke me
32012 #endif
32013
32014 int
32015 main ()
32016 {
32017 return gethostbyname ();
32018 ;
32019 return 0;
32020 }
32021 _ACEOF
32022 rm -f conftest.$ac_objext conftest$ac_exeext
32023 if { (ac_try="$ac_link"
32024 case "(($ac_try" in
32025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32026 *) ac_try_echo=$ac_try;;
32027 esac
32028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32029 (eval "$ac_link") 2>conftest.er1
32030 ac_status=$?
32031 grep -v '^ *+' conftest.er1 >conftest.err
32032 rm -f conftest.er1
32033 cat conftest.err >&5
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); } && {
32036 test -z "$ac_c_werror_flag" ||
32037 test ! -s conftest.err
32038 } && test -s conftest$ac_exeext &&
32039 $as_test_x conftest$ac_exeext; then
32040 ac_cv_func_gethostbyname=yes
32041 else
32042 echo "$as_me: failed program was:" >&5
32043 sed 's/^/| /' conftest.$ac_ext >&5
32044
32045 ac_cv_func_gethostbyname=no
32046 fi
32047
32048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32049 conftest$ac_exeext conftest.$ac_ext
32050 fi
32051 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32052 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32053
32054 if test $ac_cv_func_gethostbyname = no; then
32055 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32056 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32057 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32058 echo $ECHO_N "(cached) $ECHO_C" >&6
32059 else
32060 ac_check_lib_save_LIBS=$LIBS
32061 LIBS="-lnsl $LIBS"
32062 cat >conftest.$ac_ext <<_ACEOF
32063 /* confdefs.h. */
32064 _ACEOF
32065 cat confdefs.h >>conftest.$ac_ext
32066 cat >>conftest.$ac_ext <<_ACEOF
32067 /* end confdefs.h. */
32068
32069 /* Override any GCC internal prototype to avoid an error.
32070 Use char because int might match the return type of a GCC
32071 builtin and then its argument prototype would still apply. */
32072 #ifdef __cplusplus
32073 extern "C"
32074 #endif
32075 char gethostbyname ();
32076 int
32077 main ()
32078 {
32079 return gethostbyname ();
32080 ;
32081 return 0;
32082 }
32083 _ACEOF
32084 rm -f conftest.$ac_objext conftest$ac_exeext
32085 if { (ac_try="$ac_link"
32086 case "(($ac_try" in
32087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32088 *) ac_try_echo=$ac_try;;
32089 esac
32090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32091 (eval "$ac_link") 2>conftest.er1
32092 ac_status=$?
32093 grep -v '^ *+' conftest.er1 >conftest.err
32094 rm -f conftest.er1
32095 cat conftest.err >&5
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); } && {
32098 test -z "$ac_c_werror_flag" ||
32099 test ! -s conftest.err
32100 } && test -s conftest$ac_exeext &&
32101 $as_test_x conftest$ac_exeext; then
32102 ac_cv_lib_nsl_gethostbyname=yes
32103 else
32104 echo "$as_me: failed program was:" >&5
32105 sed 's/^/| /' conftest.$ac_ext >&5
32106
32107 ac_cv_lib_nsl_gethostbyname=no
32108 fi
32109
32110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32111 conftest$ac_exeext conftest.$ac_ext
32112 LIBS=$ac_check_lib_save_LIBS
32113 fi
32114 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32115 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32116 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32117 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32118 fi
32119
32120 if test $ac_cv_lib_nsl_gethostbyname = no; then
32121 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32122 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32123 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32124 echo $ECHO_N "(cached) $ECHO_C" >&6
32125 else
32126 ac_check_lib_save_LIBS=$LIBS
32127 LIBS="-lbsd $LIBS"
32128 cat >conftest.$ac_ext <<_ACEOF
32129 /* confdefs.h. */
32130 _ACEOF
32131 cat confdefs.h >>conftest.$ac_ext
32132 cat >>conftest.$ac_ext <<_ACEOF
32133 /* end confdefs.h. */
32134
32135 /* Override any GCC internal prototype to avoid an error.
32136 Use char because int might match the return type of a GCC
32137 builtin and then its argument prototype would still apply. */
32138 #ifdef __cplusplus
32139 extern "C"
32140 #endif
32141 char gethostbyname ();
32142 int
32143 main ()
32144 {
32145 return gethostbyname ();
32146 ;
32147 return 0;
32148 }
32149 _ACEOF
32150 rm -f conftest.$ac_objext conftest$ac_exeext
32151 if { (ac_try="$ac_link"
32152 case "(($ac_try" in
32153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32154 *) ac_try_echo=$ac_try;;
32155 esac
32156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32157 (eval "$ac_link") 2>conftest.er1
32158 ac_status=$?
32159 grep -v '^ *+' conftest.er1 >conftest.err
32160 rm -f conftest.er1
32161 cat conftest.err >&5
32162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32163 (exit $ac_status); } && {
32164 test -z "$ac_c_werror_flag" ||
32165 test ! -s conftest.err
32166 } && test -s conftest$ac_exeext &&
32167 $as_test_x conftest$ac_exeext; then
32168 ac_cv_lib_bsd_gethostbyname=yes
32169 else
32170 echo "$as_me: failed program was:" >&5
32171 sed 's/^/| /' conftest.$ac_ext >&5
32172
32173 ac_cv_lib_bsd_gethostbyname=no
32174 fi
32175
32176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32177 conftest$ac_exeext conftest.$ac_ext
32178 LIBS=$ac_check_lib_save_LIBS
32179 fi
32180 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32181 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32182 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32183 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32184 fi
32185
32186 fi
32187 fi
32188
32189 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32190 # socket/setsockopt and other routines are undefined under SCO ODT
32191 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32192 # on later versions), says Simon Leinen: it contains gethostby*
32193 # variants that don't use the name server (or something). -lsocket
32194 # must be given before -lnsl if both are needed. We assume that
32195 # if connect needs -lnsl, so does gethostbyname.
32196 { echo "$as_me:$LINENO: checking for connect" >&5
32197 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32198 if test "${ac_cv_func_connect+set}" = set; then
32199 echo $ECHO_N "(cached) $ECHO_C" >&6
32200 else
32201 cat >conftest.$ac_ext <<_ACEOF
32202 /* confdefs.h. */
32203 _ACEOF
32204 cat confdefs.h >>conftest.$ac_ext
32205 cat >>conftest.$ac_ext <<_ACEOF
32206 /* end confdefs.h. */
32207 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32209 #define connect innocuous_connect
32210
32211 /* System header to define __stub macros and hopefully few prototypes,
32212 which can conflict with char connect (); below.
32213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32214 <limits.h> exists even on freestanding compilers. */
32215
32216 #ifdef __STDC__
32217 # include <limits.h>
32218 #else
32219 # include <assert.h>
32220 #endif
32221
32222 #undef connect
32223
32224 /* Override any GCC internal prototype to avoid an error.
32225 Use char because int might match the return type of a GCC
32226 builtin and then its argument prototype would still apply. */
32227 #ifdef __cplusplus
32228 extern "C"
32229 #endif
32230 char connect ();
32231 /* The GNU C library defines this for functions which it implements
32232 to always fail with ENOSYS. Some functions are actually named
32233 something starting with __ and the normal name is an alias. */
32234 #if defined __stub_connect || defined __stub___connect
32235 choke me
32236 #endif
32237
32238 int
32239 main ()
32240 {
32241 return connect ();
32242 ;
32243 return 0;
32244 }
32245 _ACEOF
32246 rm -f conftest.$ac_objext conftest$ac_exeext
32247 if { (ac_try="$ac_link"
32248 case "(($ac_try" in
32249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32250 *) ac_try_echo=$ac_try;;
32251 esac
32252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32253 (eval "$ac_link") 2>conftest.er1
32254 ac_status=$?
32255 grep -v '^ *+' conftest.er1 >conftest.err
32256 rm -f conftest.er1
32257 cat conftest.err >&5
32258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32259 (exit $ac_status); } && {
32260 test -z "$ac_c_werror_flag" ||
32261 test ! -s conftest.err
32262 } && test -s conftest$ac_exeext &&
32263 $as_test_x conftest$ac_exeext; then
32264 ac_cv_func_connect=yes
32265 else
32266 echo "$as_me: failed program was:" >&5
32267 sed 's/^/| /' conftest.$ac_ext >&5
32268
32269 ac_cv_func_connect=no
32270 fi
32271
32272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32273 conftest$ac_exeext conftest.$ac_ext
32274 fi
32275 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32276 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32277
32278 if test $ac_cv_func_connect = no; then
32279 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32280 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32281 if test "${ac_cv_lib_socket_connect+set}" = set; then
32282 echo $ECHO_N "(cached) $ECHO_C" >&6
32283 else
32284 ac_check_lib_save_LIBS=$LIBS
32285 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32286 cat >conftest.$ac_ext <<_ACEOF
32287 /* confdefs.h. */
32288 _ACEOF
32289 cat confdefs.h >>conftest.$ac_ext
32290 cat >>conftest.$ac_ext <<_ACEOF
32291 /* end confdefs.h. */
32292
32293 /* Override any GCC internal prototype to avoid an error.
32294 Use char because int might match the return type of a GCC
32295 builtin and then its argument prototype would still apply. */
32296 #ifdef __cplusplus
32297 extern "C"
32298 #endif
32299 char connect ();
32300 int
32301 main ()
32302 {
32303 return connect ();
32304 ;
32305 return 0;
32306 }
32307 _ACEOF
32308 rm -f conftest.$ac_objext conftest$ac_exeext
32309 if { (ac_try="$ac_link"
32310 case "(($ac_try" in
32311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32312 *) ac_try_echo=$ac_try;;
32313 esac
32314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32315 (eval "$ac_link") 2>conftest.er1
32316 ac_status=$?
32317 grep -v '^ *+' conftest.er1 >conftest.err
32318 rm -f conftest.er1
32319 cat conftest.err >&5
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); } && {
32322 test -z "$ac_c_werror_flag" ||
32323 test ! -s conftest.err
32324 } && test -s conftest$ac_exeext &&
32325 $as_test_x conftest$ac_exeext; then
32326 ac_cv_lib_socket_connect=yes
32327 else
32328 echo "$as_me: failed program was:" >&5
32329 sed 's/^/| /' conftest.$ac_ext >&5
32330
32331 ac_cv_lib_socket_connect=no
32332 fi
32333
32334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32335 conftest$ac_exeext conftest.$ac_ext
32336 LIBS=$ac_check_lib_save_LIBS
32337 fi
32338 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32339 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32340 if test $ac_cv_lib_socket_connect = yes; then
32341 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32342 fi
32343
32344 fi
32345
32346 # Guillermo Gomez says -lposix is necessary on A/UX.
32347 { echo "$as_me:$LINENO: checking for remove" >&5
32348 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32349 if test "${ac_cv_func_remove+set}" = set; then
32350 echo $ECHO_N "(cached) $ECHO_C" >&6
32351 else
32352 cat >conftest.$ac_ext <<_ACEOF
32353 /* confdefs.h. */
32354 _ACEOF
32355 cat confdefs.h >>conftest.$ac_ext
32356 cat >>conftest.$ac_ext <<_ACEOF
32357 /* end confdefs.h. */
32358 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32360 #define remove innocuous_remove
32361
32362 /* System header to define __stub macros and hopefully few prototypes,
32363 which can conflict with char remove (); below.
32364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32365 <limits.h> exists even on freestanding compilers. */
32366
32367 #ifdef __STDC__
32368 # include <limits.h>
32369 #else
32370 # include <assert.h>
32371 #endif
32372
32373 #undef remove
32374
32375 /* Override any GCC internal prototype to avoid an error.
32376 Use char because int might match the return type of a GCC
32377 builtin and then its argument prototype would still apply. */
32378 #ifdef __cplusplus
32379 extern "C"
32380 #endif
32381 char remove ();
32382 /* The GNU C library defines this for functions which it implements
32383 to always fail with ENOSYS. Some functions are actually named
32384 something starting with __ and the normal name is an alias. */
32385 #if defined __stub_remove || defined __stub___remove
32386 choke me
32387 #endif
32388
32389 int
32390 main ()
32391 {
32392 return remove ();
32393 ;
32394 return 0;
32395 }
32396 _ACEOF
32397 rm -f conftest.$ac_objext conftest$ac_exeext
32398 if { (ac_try="$ac_link"
32399 case "(($ac_try" in
32400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32401 *) ac_try_echo=$ac_try;;
32402 esac
32403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32404 (eval "$ac_link") 2>conftest.er1
32405 ac_status=$?
32406 grep -v '^ *+' conftest.er1 >conftest.err
32407 rm -f conftest.er1
32408 cat conftest.err >&5
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); } && {
32411 test -z "$ac_c_werror_flag" ||
32412 test ! -s conftest.err
32413 } && test -s conftest$ac_exeext &&
32414 $as_test_x conftest$ac_exeext; then
32415 ac_cv_func_remove=yes
32416 else
32417 echo "$as_me: failed program was:" >&5
32418 sed 's/^/| /' conftest.$ac_ext >&5
32419
32420 ac_cv_func_remove=no
32421 fi
32422
32423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32424 conftest$ac_exeext conftest.$ac_ext
32425 fi
32426 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32427 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32428
32429 if test $ac_cv_func_remove = no; then
32430 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32431 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32432 if test "${ac_cv_lib_posix_remove+set}" = set; then
32433 echo $ECHO_N "(cached) $ECHO_C" >&6
32434 else
32435 ac_check_lib_save_LIBS=$LIBS
32436 LIBS="-lposix $LIBS"
32437 cat >conftest.$ac_ext <<_ACEOF
32438 /* confdefs.h. */
32439 _ACEOF
32440 cat confdefs.h >>conftest.$ac_ext
32441 cat >>conftest.$ac_ext <<_ACEOF
32442 /* end confdefs.h. */
32443
32444 /* Override any GCC internal prototype to avoid an error.
32445 Use char because int might match the return type of a GCC
32446 builtin and then its argument prototype would still apply. */
32447 #ifdef __cplusplus
32448 extern "C"
32449 #endif
32450 char remove ();
32451 int
32452 main ()
32453 {
32454 return remove ();
32455 ;
32456 return 0;
32457 }
32458 _ACEOF
32459 rm -f conftest.$ac_objext conftest$ac_exeext
32460 if { (ac_try="$ac_link"
32461 case "(($ac_try" in
32462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32463 *) ac_try_echo=$ac_try;;
32464 esac
32465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32466 (eval "$ac_link") 2>conftest.er1
32467 ac_status=$?
32468 grep -v '^ *+' conftest.er1 >conftest.err
32469 rm -f conftest.er1
32470 cat conftest.err >&5
32471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32472 (exit $ac_status); } && {
32473 test -z "$ac_c_werror_flag" ||
32474 test ! -s conftest.err
32475 } && test -s conftest$ac_exeext &&
32476 $as_test_x conftest$ac_exeext; then
32477 ac_cv_lib_posix_remove=yes
32478 else
32479 echo "$as_me: failed program was:" >&5
32480 sed 's/^/| /' conftest.$ac_ext >&5
32481
32482 ac_cv_lib_posix_remove=no
32483 fi
32484
32485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32486 conftest$ac_exeext conftest.$ac_ext
32487 LIBS=$ac_check_lib_save_LIBS
32488 fi
32489 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32490 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32491 if test $ac_cv_lib_posix_remove = yes; then
32492 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32493 fi
32494
32495 fi
32496
32497 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32498 { echo "$as_me:$LINENO: checking for shmat" >&5
32499 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32500 if test "${ac_cv_func_shmat+set}" = set; then
32501 echo $ECHO_N "(cached) $ECHO_C" >&6
32502 else
32503 cat >conftest.$ac_ext <<_ACEOF
32504 /* confdefs.h. */
32505 _ACEOF
32506 cat confdefs.h >>conftest.$ac_ext
32507 cat >>conftest.$ac_ext <<_ACEOF
32508 /* end confdefs.h. */
32509 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32511 #define shmat innocuous_shmat
32512
32513 /* System header to define __stub macros and hopefully few prototypes,
32514 which can conflict with char shmat (); below.
32515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32516 <limits.h> exists even on freestanding compilers. */
32517
32518 #ifdef __STDC__
32519 # include <limits.h>
32520 #else
32521 # include <assert.h>
32522 #endif
32523
32524 #undef shmat
32525
32526 /* Override any GCC internal prototype to avoid an error.
32527 Use char because int might match the return type of a GCC
32528 builtin and then its argument prototype would still apply. */
32529 #ifdef __cplusplus
32530 extern "C"
32531 #endif
32532 char shmat ();
32533 /* The GNU C library defines this for functions which it implements
32534 to always fail with ENOSYS. Some functions are actually named
32535 something starting with __ and the normal name is an alias. */
32536 #if defined __stub_shmat || defined __stub___shmat
32537 choke me
32538 #endif
32539
32540 int
32541 main ()
32542 {
32543 return shmat ();
32544 ;
32545 return 0;
32546 }
32547 _ACEOF
32548 rm -f conftest.$ac_objext conftest$ac_exeext
32549 if { (ac_try="$ac_link"
32550 case "(($ac_try" in
32551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32552 *) ac_try_echo=$ac_try;;
32553 esac
32554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32555 (eval "$ac_link") 2>conftest.er1
32556 ac_status=$?
32557 grep -v '^ *+' conftest.er1 >conftest.err
32558 rm -f conftest.er1
32559 cat conftest.err >&5
32560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32561 (exit $ac_status); } && {
32562 test -z "$ac_c_werror_flag" ||
32563 test ! -s conftest.err
32564 } && test -s conftest$ac_exeext &&
32565 $as_test_x conftest$ac_exeext; then
32566 ac_cv_func_shmat=yes
32567 else
32568 echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.$ac_ext >&5
32570
32571 ac_cv_func_shmat=no
32572 fi
32573
32574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32575 conftest$ac_exeext conftest.$ac_ext
32576 fi
32577 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32578 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32579
32580 if test $ac_cv_func_shmat = no; then
32581 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32582 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32583 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32584 echo $ECHO_N "(cached) $ECHO_C" >&6
32585 else
32586 ac_check_lib_save_LIBS=$LIBS
32587 LIBS="-lipc $LIBS"
32588 cat >conftest.$ac_ext <<_ACEOF
32589 /* confdefs.h. */
32590 _ACEOF
32591 cat confdefs.h >>conftest.$ac_ext
32592 cat >>conftest.$ac_ext <<_ACEOF
32593 /* end confdefs.h. */
32594
32595 /* Override any GCC internal prototype to avoid an error.
32596 Use char because int might match the return type of a GCC
32597 builtin and then its argument prototype would still apply. */
32598 #ifdef __cplusplus
32599 extern "C"
32600 #endif
32601 char shmat ();
32602 int
32603 main ()
32604 {
32605 return shmat ();
32606 ;
32607 return 0;
32608 }
32609 _ACEOF
32610 rm -f conftest.$ac_objext conftest$ac_exeext
32611 if { (ac_try="$ac_link"
32612 case "(($ac_try" in
32613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32614 *) ac_try_echo=$ac_try;;
32615 esac
32616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32617 (eval "$ac_link") 2>conftest.er1
32618 ac_status=$?
32619 grep -v '^ *+' conftest.er1 >conftest.err
32620 rm -f conftest.er1
32621 cat conftest.err >&5
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); } && {
32624 test -z "$ac_c_werror_flag" ||
32625 test ! -s conftest.err
32626 } && test -s conftest$ac_exeext &&
32627 $as_test_x conftest$ac_exeext; then
32628 ac_cv_lib_ipc_shmat=yes
32629 else
32630 echo "$as_me: failed program was:" >&5
32631 sed 's/^/| /' conftest.$ac_ext >&5
32632
32633 ac_cv_lib_ipc_shmat=no
32634 fi
32635
32636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32637 conftest$ac_exeext conftest.$ac_ext
32638 LIBS=$ac_check_lib_save_LIBS
32639 fi
32640 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32641 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32642 if test $ac_cv_lib_ipc_shmat = yes; then
32643 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32644 fi
32645
32646 fi
32647 fi
32648
32649 # Check for libraries that X11R6 Xt/Xaw programs need.
32650 ac_save_LDFLAGS=$LDFLAGS
32651 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32652 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32653 # check for ICE first), but we must link in the order -lSM -lICE or
32654 # we get undefined symbols. So assume we have SM if we have ICE.
32655 # These have to be linked with before -lX11, unlike the other
32656 # libraries we check for below, so use a different variable.
32657 # John Interrante, Karl Berry
32658 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32659 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32660 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32661 echo $ECHO_N "(cached) $ECHO_C" >&6
32662 else
32663 ac_check_lib_save_LIBS=$LIBS
32664 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32665 cat >conftest.$ac_ext <<_ACEOF
32666 /* confdefs.h. */
32667 _ACEOF
32668 cat confdefs.h >>conftest.$ac_ext
32669 cat >>conftest.$ac_ext <<_ACEOF
32670 /* end confdefs.h. */
32671
32672 /* Override any GCC internal prototype to avoid an error.
32673 Use char because int might match the return type of a GCC
32674 builtin and then its argument prototype would still apply. */
32675 #ifdef __cplusplus
32676 extern "C"
32677 #endif
32678 char IceConnectionNumber ();
32679 int
32680 main ()
32681 {
32682 return IceConnectionNumber ();
32683 ;
32684 return 0;
32685 }
32686 _ACEOF
32687 rm -f conftest.$ac_objext conftest$ac_exeext
32688 if { (ac_try="$ac_link"
32689 case "(($ac_try" in
32690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32691 *) ac_try_echo=$ac_try;;
32692 esac
32693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32694 (eval "$ac_link") 2>conftest.er1
32695 ac_status=$?
32696 grep -v '^ *+' conftest.er1 >conftest.err
32697 rm -f conftest.er1
32698 cat conftest.err >&5
32699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32700 (exit $ac_status); } && {
32701 test -z "$ac_c_werror_flag" ||
32702 test ! -s conftest.err
32703 } && test -s conftest$ac_exeext &&
32704 $as_test_x conftest$ac_exeext; then
32705 ac_cv_lib_ICE_IceConnectionNumber=yes
32706 else
32707 echo "$as_me: failed program was:" >&5
32708 sed 's/^/| /' conftest.$ac_ext >&5
32709
32710 ac_cv_lib_ICE_IceConnectionNumber=no
32711 fi
32712
32713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32714 conftest$ac_exeext conftest.$ac_ext
32715 LIBS=$ac_check_lib_save_LIBS
32716 fi
32717 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32718 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32719 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32720 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32721 fi
32722
32723 LDFLAGS=$ac_save_LDFLAGS
32724
32725 fi
32726
32727
32728 if test "$no_x" = "yes"; then
32729 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32730 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32731 { (exit 1); exit 1; }; }
32732 fi
32733
32734 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32735 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32736 AFMINSTALL=afminstall
32737 COMPILED_X_PROGRAM=0
32738
32739 fi
32740
32741 if test "$wxUSE_X11" = 1; then
32742 if test "$wxUSE_NANOX" = "yes"; then
32743 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32744 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32745 if test "x$MICROWIN" = x ; then
32746 { echo "$as_me:$LINENO: result: not found" >&5
32747 echo "${ECHO_T}not found" >&6; }
32748 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32749 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32750 { (exit 1); exit 1; }; }
32751 else
32752 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32753 echo "${ECHO_T}$MICROWIN" >&6; }
32754 cat >>confdefs.h <<\_ACEOF
32755 #define wxUSE_NANOX 1
32756 _ACEOF
32757
32758 fi
32759 fi
32760
32761 if test "$wxUSE_UNICODE" = "yes"; then
32762
32763
32764 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32765 if test -n "$ac_tool_prefix"; then
32766 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32767 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32770 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32771 echo $ECHO_N "(cached) $ECHO_C" >&6
32772 else
32773 case $PKG_CONFIG in
32774 [\\/]* | ?:[\\/]*)
32775 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32776 ;;
32777 *)
32778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32779 for as_dir in $PATH
32780 do
32781 IFS=$as_save_IFS
32782 test -z "$as_dir" && as_dir=.
32783 for ac_exec_ext in '' $ac_executable_extensions; do
32784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32785 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32787 break 2
32788 fi
32789 done
32790 done
32791 IFS=$as_save_IFS
32792
32793 ;;
32794 esac
32795 fi
32796 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32797 if test -n "$PKG_CONFIG"; then
32798 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32799 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32800 else
32801 { echo "$as_me:$LINENO: result: no" >&5
32802 echo "${ECHO_T}no" >&6; }
32803 fi
32804
32805
32806 fi
32807 if test -z "$ac_cv_path_PKG_CONFIG"; then
32808 ac_pt_PKG_CONFIG=$PKG_CONFIG
32809 # Extract the first word of "pkg-config", so it can be a program name with args.
32810 set dummy pkg-config; ac_word=$2
32811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32813 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32814 echo $ECHO_N "(cached) $ECHO_C" >&6
32815 else
32816 case $ac_pt_PKG_CONFIG in
32817 [\\/]* | ?:[\\/]*)
32818 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32819 ;;
32820 *)
32821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32822 for as_dir in $PATH
32823 do
32824 IFS=$as_save_IFS
32825 test -z "$as_dir" && as_dir=.
32826 for ac_exec_ext in '' $ac_executable_extensions; do
32827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32828 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32830 break 2
32831 fi
32832 done
32833 done
32834 IFS=$as_save_IFS
32835
32836 ;;
32837 esac
32838 fi
32839 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32840 if test -n "$ac_pt_PKG_CONFIG"; then
32841 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32842 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32843 else
32844 { echo "$as_me:$LINENO: result: no" >&5
32845 echo "${ECHO_T}no" >&6; }
32846 fi
32847
32848 if test "x$ac_pt_PKG_CONFIG" = x; then
32849 PKG_CONFIG=""
32850 else
32851 case $cross_compiling:$ac_tool_warned in
32852 yes:)
32853 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32854 whose name does not start with the host triplet. If you think this
32855 configuration is useful to you, please write to autoconf@gnu.org." >&5
32856 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32857 whose name does not start with the host triplet. If you think this
32858 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32859 ac_tool_warned=yes ;;
32860 esac
32861 PKG_CONFIG=$ac_pt_PKG_CONFIG
32862 fi
32863 else
32864 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32865 fi
32866
32867 fi
32868 if test -n "$PKG_CONFIG"; then
32869 _pkg_min_version=0.9.0
32870 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32871 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32872 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32873 { echo "$as_me:$LINENO: result: yes" >&5
32874 echo "${ECHO_T}yes" >&6; }
32875 else
32876 { echo "$as_me:$LINENO: result: no" >&5
32877 echo "${ECHO_T}no" >&6; }
32878 PKG_CONFIG=""
32879 fi
32880
32881 fi
32882
32883
32884 pkg_failed=no
32885 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32886 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32887
32888 if test -n "$PKG_CONFIG"; then
32889 if test -n "$PANGOX_CFLAGS"; then
32890 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32891 else
32892 if test -n "$PKG_CONFIG" && \
32893 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32894 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32895 ac_status=$?
32896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897 (exit $ac_status); }; then
32898 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32899 else
32900 pkg_failed=yes
32901 fi
32902 fi
32903 else
32904 pkg_failed=untried
32905 fi
32906 if test -n "$PKG_CONFIG"; then
32907 if test -n "$PANGOX_LIBS"; then
32908 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32909 else
32910 if test -n "$PKG_CONFIG" && \
32911 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32912 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32913 ac_status=$?
32914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32915 (exit $ac_status); }; then
32916 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32917 else
32918 pkg_failed=yes
32919 fi
32920 fi
32921 else
32922 pkg_failed=untried
32923 fi
32924
32925
32926
32927 if test $pkg_failed = yes; then
32928
32929 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32930 _pkg_short_errors_supported=yes
32931 else
32932 _pkg_short_errors_supported=no
32933 fi
32934 if test $_pkg_short_errors_supported = yes; then
32935 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32936 else
32937 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32938 fi
32939 # Put the nasty error message in config.log where it belongs
32940 echo "$PANGOX_PKG_ERRORS" >&5
32941
32942
32943 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32944 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32945 { (exit 1); exit 1; }; }
32946
32947
32948 elif test $pkg_failed = untried; then
32949
32950 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32951 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32952 { (exit 1); exit 1; }; }
32953
32954
32955 else
32956 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32957 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32958 { echo "$as_me:$LINENO: result: yes" >&5
32959 echo "${ECHO_T}yes" >&6; }
32960
32961 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32962 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32963 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32964
32965 fi
32966
32967 pkg_failed=no
32968 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32969 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32970
32971 if test -n "$PKG_CONFIG"; then
32972 if test -n "$PANGOFT2_CFLAGS"; then
32973 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32974 else
32975 if test -n "$PKG_CONFIG" && \
32976 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32977 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32978 ac_status=$?
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); }; then
32981 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32982 else
32983 pkg_failed=yes
32984 fi
32985 fi
32986 else
32987 pkg_failed=untried
32988 fi
32989 if test -n "$PKG_CONFIG"; then
32990 if test -n "$PANGOFT2_LIBS"; then
32991 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32992 else
32993 if test -n "$PKG_CONFIG" && \
32994 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32995 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32996 ac_status=$?
32997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32998 (exit $ac_status); }; then
32999 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33000 else
33001 pkg_failed=yes
33002 fi
33003 fi
33004 else
33005 pkg_failed=untried
33006 fi
33007
33008
33009
33010 if test $pkg_failed = yes; then
33011
33012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33013 _pkg_short_errors_supported=yes
33014 else
33015 _pkg_short_errors_supported=no
33016 fi
33017 if test $_pkg_short_errors_supported = yes; then
33018 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33019 else
33020 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33021 fi
33022 # Put the nasty error message in config.log where it belongs
33023 echo "$PANGOFT2_PKG_ERRORS" >&5
33024
33025
33026 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33027 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33028 wxUSE_PRINTING_ARCHITECTURE="no"
33029
33030
33031 elif test $pkg_failed = untried; then
33032
33033 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33034 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33035 wxUSE_PRINTING_ARCHITECTURE="no"
33036
33037
33038 else
33039 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33040 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33041 { echo "$as_me:$LINENO: result: yes" >&5
33042 echo "${ECHO_T}yes" >&6; }
33043
33044 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33045 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33046 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33047
33048 fi
33049
33050 pkg_failed=no
33051 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33052 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33053
33054 if test -n "$PKG_CONFIG"; then
33055 if test -n "$PANGOXFT_CFLAGS"; then
33056 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33057 else
33058 if test -n "$PKG_CONFIG" && \
33059 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33060 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33061 ac_status=$?
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; then
33064 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33065 else
33066 pkg_failed=yes
33067 fi
33068 fi
33069 else
33070 pkg_failed=untried
33071 fi
33072 if test -n "$PKG_CONFIG"; then
33073 if test -n "$PANGOXFT_LIBS"; then
33074 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33075 else
33076 if test -n "$PKG_CONFIG" && \
33077 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33078 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33079 ac_status=$?
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); }; then
33082 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33083 else
33084 pkg_failed=yes
33085 fi
33086 fi
33087 else
33088 pkg_failed=untried
33089 fi
33090
33091
33092
33093 if test $pkg_failed = yes; then
33094
33095 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33096 _pkg_short_errors_supported=yes
33097 else
33098 _pkg_short_errors_supported=no
33099 fi
33100 if test $_pkg_short_errors_supported = yes; then
33101 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33102 else
33103 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33104 fi
33105 # Put the nasty error message in config.log where it belongs
33106 echo "$PANGOXFT_PKG_ERRORS" >&5
33107
33108
33109 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33110 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33111
33112
33113 elif test $pkg_failed = untried; then
33114
33115 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33116 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33117
33118
33119 else
33120 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33121 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33122 { echo "$as_me:$LINENO: result: yes" >&5
33123 echo "${ECHO_T}yes" >&6; }
33124
33125 cat >>confdefs.h <<\_ACEOF
33126 #define HAVE_PANGO_XFT 1
33127 _ACEOF
33128
33129 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33130 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33131 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33132
33133 fi
33134 save_LIBS="$LIBS"
33135 LIBS="$LIBS $PANGOX_LIBS"
33136
33137 for ac_func in pango_font_family_is_monospace
33138 do
33139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33140 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33142 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33143 echo $ECHO_N "(cached) $ECHO_C" >&6
33144 else
33145 cat >conftest.$ac_ext <<_ACEOF
33146 /* confdefs.h. */
33147 _ACEOF
33148 cat confdefs.h >>conftest.$ac_ext
33149 cat >>conftest.$ac_ext <<_ACEOF
33150 /* end confdefs.h. */
33151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33153 #define $ac_func innocuous_$ac_func
33154
33155 /* System header to define __stub macros and hopefully few prototypes,
33156 which can conflict with char $ac_func (); below.
33157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33158 <limits.h> exists even on freestanding compilers. */
33159
33160 #ifdef __STDC__
33161 # include <limits.h>
33162 #else
33163 # include <assert.h>
33164 #endif
33165
33166 #undef $ac_func
33167
33168 /* Override any GCC internal prototype to avoid an error.
33169 Use char because int might match the return type of a GCC
33170 builtin and then its argument prototype would still apply. */
33171 #ifdef __cplusplus
33172 extern "C"
33173 #endif
33174 char $ac_func ();
33175 /* The GNU C library defines this for functions which it implements
33176 to always fail with ENOSYS. Some functions are actually named
33177 something starting with __ and the normal name is an alias. */
33178 #if defined __stub_$ac_func || defined __stub___$ac_func
33179 choke me
33180 #endif
33181
33182 int
33183 main ()
33184 {
33185 return $ac_func ();
33186 ;
33187 return 0;
33188 }
33189 _ACEOF
33190 rm -f conftest.$ac_objext conftest$ac_exeext
33191 if { (ac_try="$ac_link"
33192 case "(($ac_try" in
33193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33194 *) ac_try_echo=$ac_try;;
33195 esac
33196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33197 (eval "$ac_link") 2>conftest.er1
33198 ac_status=$?
33199 grep -v '^ *+' conftest.er1 >conftest.err
33200 rm -f conftest.er1
33201 cat conftest.err >&5
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); } && {
33204 test -z "$ac_c_werror_flag" ||
33205 test ! -s conftest.err
33206 } && test -s conftest$ac_exeext &&
33207 $as_test_x conftest$ac_exeext; then
33208 eval "$as_ac_var=yes"
33209 else
33210 echo "$as_me: failed program was:" >&5
33211 sed 's/^/| /' conftest.$ac_ext >&5
33212
33213 eval "$as_ac_var=no"
33214 fi
33215
33216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33217 conftest$ac_exeext conftest.$ac_ext
33218 fi
33219 ac_res=`eval echo '${'$as_ac_var'}'`
33220 { echo "$as_me:$LINENO: result: $ac_res" >&5
33221 echo "${ECHO_T}$ac_res" >&6; }
33222 if test `eval echo '${'$as_ac_var'}'` = yes; then
33223 cat >>confdefs.h <<_ACEOF
33224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33225 _ACEOF
33226
33227 fi
33228 done
33229
33230 LIBS="$save_LIBS"
33231 fi
33232
33233 wxUSE_UNIVERSAL="yes"
33234
33235 if test "$wxUSE_NANOX" = "yes"; then
33236 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33237 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"
33238 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33239 else
33240 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33241 fi
33242
33243 TOOLKIT=X11
33244 GUIDIST=X11_DIST
33245 fi
33246
33247 if test "$wxUSE_MOTIF" = 1; then
33248 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33249 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33250
33251 ac_find_includes=
33252 for ac_dir in $SEARCH_INCLUDE /usr/include
33253 do
33254 if test -f "$ac_dir/Xm/Xm.h"; then
33255 ac_find_includes=$ac_dir
33256 break
33257 fi
33258 done
33259
33260 if test "$ac_find_includes" != "" ; then
33261 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33262 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33263
33264 if test "x$ac_find_includes" = "x/usr/include"; then
33265 ac_path_to_include=""
33266 else
33267 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33268 result=$?
33269 if test $result = 0; then
33270 ac_path_to_include=""
33271 else
33272 ac_path_to_include=" -I$ac_find_includes"
33273 fi
33274 fi
33275
33276 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33277 else
33278 save_CFLAGS=$CFLAGS
33279 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33280
33281 cat >conftest.$ac_ext <<_ACEOF
33282 /* confdefs.h. */
33283 _ACEOF
33284 cat confdefs.h >>conftest.$ac_ext
33285 cat >>conftest.$ac_ext <<_ACEOF
33286 /* end confdefs.h. */
33287
33288 #include <Xm/Xm.h>
33289
33290 int
33291 main ()
33292 {
33293
33294 int version;
33295 version = xmUseVersion;
33296
33297 ;
33298 return 0;
33299 }
33300 _ACEOF
33301 rm -f conftest.$ac_objext
33302 if { (ac_try="$ac_compile"
33303 case "(($ac_try" in
33304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33305 *) ac_try_echo=$ac_try;;
33306 esac
33307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33308 (eval "$ac_compile") 2>conftest.er1
33309 ac_status=$?
33310 grep -v '^ *+' conftest.er1 >conftest.err
33311 rm -f conftest.er1
33312 cat conftest.err >&5
33313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33314 (exit $ac_status); } && {
33315 test -z "$ac_c_werror_flag" ||
33316 test ! -s conftest.err
33317 } && test -s conftest.$ac_objext; then
33318
33319 { echo "$as_me:$LINENO: result: found in default search path" >&5
33320 echo "${ECHO_T}found in default search path" >&6; }
33321 COMPILED_X_PROGRAM=1
33322
33323 else
33324 echo "$as_me: failed program was:" >&5
33325 sed 's/^/| /' conftest.$ac_ext >&5
33326
33327
33328 { echo "$as_me:$LINENO: result: no" >&5
33329 echo "${ECHO_T}no" >&6; }
33330 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33331 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33332 { (exit 1); exit 1; }; }
33333
33334
33335 fi
33336
33337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33338
33339 CFLAGS=$save_CFLAGS
33340 fi
33341
33342
33343 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33344 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33345
33346 ac_find_libraries=
33347 for ac_dir in $SEARCH_LIB
33348 do
33349 for ac_extension in a so sl dylib dll.a; do
33350 if test -f "$ac_dir/libXm.$ac_extension"; then
33351 ac_find_libraries=$ac_dir
33352 break 2
33353 fi
33354 done
33355 done
33356
33357
33358 if test "x$ac_find_libraries" != "x" ; then
33359 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33360 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33361
33362
33363 if test "$ac_find_libraries" = "default location"; then
33364 ac_path_to_link=""
33365 else
33366 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33367 result=$?
33368 if test $result = 0; then
33369 ac_path_to_link=""
33370 else
33371 ac_path_to_link=" -L$ac_find_libraries"
33372 fi
33373 fi
33374
33375 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33376 else
33377 save_CFLAGS=$CFLAGS
33378 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33379 save_LIBS="$LIBS"
33380 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33381
33382 cat >conftest.$ac_ext <<_ACEOF
33383 /* confdefs.h. */
33384 _ACEOF
33385 cat confdefs.h >>conftest.$ac_ext
33386 cat >>conftest.$ac_ext <<_ACEOF
33387 /* end confdefs.h. */
33388
33389 #include <Xm/Xm.h>
33390
33391 int
33392 main ()
33393 {
33394
33395 int version;
33396 version = xmUseVersion;
33397
33398 ;
33399 return 0;
33400 }
33401 _ACEOF
33402 rm -f conftest.$ac_objext conftest$ac_exeext
33403 if { (ac_try="$ac_link"
33404 case "(($ac_try" in
33405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33406 *) ac_try_echo=$ac_try;;
33407 esac
33408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33409 (eval "$ac_link") 2>conftest.er1
33410 ac_status=$?
33411 grep -v '^ *+' conftest.er1 >conftest.err
33412 rm -f conftest.er1
33413 cat conftest.err >&5
33414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33415 (exit $ac_status); } && {
33416 test -z "$ac_c_werror_flag" ||
33417 test ! -s conftest.err
33418 } && test -s conftest$ac_exeext &&
33419 $as_test_x conftest$ac_exeext; then
33420
33421 { echo "$as_me:$LINENO: result: found in default search path" >&5
33422 echo "${ECHO_T}found in default search path" >&6; }
33423 COMPILED_X_PROGRAM=1
33424
33425 else
33426 echo "$as_me: failed program was:" >&5
33427 sed 's/^/| /' conftest.$ac_ext >&5
33428
33429
33430 { echo "$as_me:$LINENO: result: no" >&5
33431 echo "${ECHO_T}no" >&6; }
33432 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33433 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33434 { (exit 1); exit 1; }; }
33435
33436
33437 fi
33438
33439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33440 conftest$ac_exeext conftest.$ac_ext
33441
33442 CFLAGS=$save_CFLAGS
33443 LIBS="$save_LIBS"
33444 fi
33445
33446 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33447 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33448 libp_link=""
33449 libsm_ice_link=""
33450 libs_found=0
33451 for libp in "" " -lXp"; do
33452 if test "$libs_found" = 0; then
33453 for libsm_ice in "" " -lSM -lICE"; do
33454 if test "$libs_found" = 0; then
33455 save_LIBS="$LIBS"
33456 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33457 save_CFLAGS=$CFLAGS
33458 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33459
33460 cat >conftest.$ac_ext <<_ACEOF
33461 /* confdefs.h. */
33462 _ACEOF
33463 cat confdefs.h >>conftest.$ac_ext
33464 cat >>conftest.$ac_ext <<_ACEOF
33465 /* end confdefs.h. */
33466
33467 #include <Xm/Xm.h>
33468 #include <Xm/List.h>
33469
33470 int
33471 main ()
33472 {
33473
33474 XmString string = NULL;
33475 Widget w = NULL;
33476 int position = 0;
33477 XmListAddItem(w, string, position);
33478
33479 ;
33480 return 0;
33481 }
33482 _ACEOF
33483 rm -f conftest.$ac_objext conftest$ac_exeext
33484 if { (ac_try="$ac_link"
33485 case "(($ac_try" in
33486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33487 *) ac_try_echo=$ac_try;;
33488 esac
33489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33490 (eval "$ac_link") 2>conftest.er1
33491 ac_status=$?
33492 grep -v '^ *+' conftest.er1 >conftest.err
33493 rm -f conftest.er1
33494 cat conftest.err >&5
33495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496 (exit $ac_status); } && {
33497 test -z "$ac_c_werror_flag" ||
33498 test ! -s conftest.err
33499 } && test -s conftest$ac_exeext &&
33500 $as_test_x conftest$ac_exeext; then
33501
33502 libp_link="$libp"
33503 libsm_ice_link="$libsm_ice"
33504 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33505 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33506 libs_found=1
33507
33508 else
33509 echo "$as_me: failed program was:" >&5
33510 sed 's/^/| /' conftest.$ac_ext >&5
33511
33512
33513
33514 fi
33515
33516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33517 conftest$ac_exeext conftest.$ac_ext
33518
33519 LIBS="$save_LIBS"
33520 CFLAGS=$save_CFLAGS
33521 fi
33522 done
33523 fi
33524 done
33525
33526 if test "$libs_found" = 0; then
33527 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33528 echo "${ECHO_T}can't find the right libraries" >&6; }
33529 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33530 echo "$as_me: error: can't link a simple motif program" >&2;}
33531 { (exit 1); exit 1; }; }
33532 fi
33533
33534 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33535 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33536 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33537 echo $ECHO_N "(cached) $ECHO_C" >&6
33538 else
33539 ac_check_lib_save_LIBS=$LIBS
33540 LIBS="-lSgm $LIBS"
33541 cat >conftest.$ac_ext <<_ACEOF
33542 /* confdefs.h. */
33543 _ACEOF
33544 cat confdefs.h >>conftest.$ac_ext
33545 cat >>conftest.$ac_ext <<_ACEOF
33546 /* end confdefs.h. */
33547
33548 /* Override any GCC internal prototype to avoid an error.
33549 Use char because int might match the return type of a GCC
33550 builtin and then its argument prototype would still apply. */
33551 #ifdef __cplusplus
33552 extern "C"
33553 #endif
33554 char SgCreateList ();
33555 int
33556 main ()
33557 {
33558 return SgCreateList ();
33559 ;
33560 return 0;
33561 }
33562 _ACEOF
33563 rm -f conftest.$ac_objext conftest$ac_exeext
33564 if { (ac_try="$ac_link"
33565 case "(($ac_try" in
33566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33567 *) ac_try_echo=$ac_try;;
33568 esac
33569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33570 (eval "$ac_link") 2>conftest.er1
33571 ac_status=$?
33572 grep -v '^ *+' conftest.er1 >conftest.err
33573 rm -f conftest.er1
33574 cat conftest.err >&5
33575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33576 (exit $ac_status); } && {
33577 test -z "$ac_c_werror_flag" ||
33578 test ! -s conftest.err
33579 } && test -s conftest$ac_exeext &&
33580 $as_test_x conftest$ac_exeext; then
33581 ac_cv_lib_Sgm_SgCreateList=yes
33582 else
33583 echo "$as_me: failed program was:" >&5
33584 sed 's/^/| /' conftest.$ac_ext >&5
33585
33586 ac_cv_lib_Sgm_SgCreateList=no
33587 fi
33588
33589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33590 conftest$ac_exeext conftest.$ac_ext
33591 LIBS=$ac_check_lib_save_LIBS
33592 fi
33593 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33594 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33595 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33596 libsgm_link=" -lSgm"
33597 fi
33598
33599
33600 save_CFLAGS=$CFLAGS
33601 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33602
33603 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33604 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33605 if test "${wx_cv_lib_motif2+set}" = set; then
33606 echo $ECHO_N "(cached) $ECHO_C" >&6
33607 else
33608 cat >conftest.$ac_ext <<_ACEOF
33609 /* confdefs.h. */
33610 _ACEOF
33611 cat confdefs.h >>conftest.$ac_ext
33612 cat >>conftest.$ac_ext <<_ACEOF
33613 /* end confdefs.h. */
33614
33615 #include <Xm/Xm.h>
33616
33617 int
33618 main ()
33619 {
33620
33621 #if XmVersion < 2000
33622 Not Motif 2
33623 #endif
33624
33625 ;
33626 return 0;
33627 }
33628 _ACEOF
33629 rm -f conftest.$ac_objext
33630 if { (ac_try="$ac_compile"
33631 case "(($ac_try" in
33632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33633 *) ac_try_echo=$ac_try;;
33634 esac
33635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33636 (eval "$ac_compile") 2>conftest.er1
33637 ac_status=$?
33638 grep -v '^ *+' conftest.er1 >conftest.err
33639 rm -f conftest.er1
33640 cat conftest.err >&5
33641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642 (exit $ac_status); } && {
33643 test -z "$ac_c_werror_flag" ||
33644 test ! -s conftest.err
33645 } && test -s conftest.$ac_objext; then
33646 wx_cv_lib_motif2="yes"
33647 else
33648 echo "$as_me: failed program was:" >&5
33649 sed 's/^/| /' conftest.$ac_ext >&5
33650
33651 wx_cv_lib_motif2="no"
33652 fi
33653
33654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33655 fi
33656 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33657 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33658 if test "$wx_cv_lib_motif2" = "yes"; then
33659 cat >>confdefs.h <<\_ACEOF
33660 #define __WXMOTIF20__ 1
33661 _ACEOF
33662
33663 else
33664 cat >>confdefs.h <<\_ACEOF
33665 #define __WXMOTIF20__ 0
33666 _ACEOF
33667
33668 fi
33669
33670 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33671 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33672 if test "${wx_cv_lib_lesstif+set}" = set; then
33673 echo $ECHO_N "(cached) $ECHO_C" >&6
33674 else
33675 cat >conftest.$ac_ext <<_ACEOF
33676 /* confdefs.h. */
33677 _ACEOF
33678 cat confdefs.h >>conftest.$ac_ext
33679 cat >>conftest.$ac_ext <<_ACEOF
33680 /* end confdefs.h. */
33681
33682 #include <Xm/Xm.h>
33683
33684 int
33685 main ()
33686 {
33687
33688 #if !defined(LesstifVersion) || LesstifVersion <= 0
33689 Not Lesstif
33690 #endif
33691
33692 ;
33693 return 0;
33694 }
33695 _ACEOF
33696 rm -f conftest.$ac_objext
33697 if { (ac_try="$ac_compile"
33698 case "(($ac_try" in
33699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33700 *) ac_try_echo=$ac_try;;
33701 esac
33702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33703 (eval "$ac_compile") 2>conftest.er1
33704 ac_status=$?
33705 grep -v '^ *+' conftest.er1 >conftest.err
33706 rm -f conftest.er1
33707 cat conftest.err >&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); } && {
33710 test -z "$ac_c_werror_flag" ||
33711 test ! -s conftest.err
33712 } && test -s conftest.$ac_objext; then
33713 wx_cv_lib_lesstif="yes"
33714 else
33715 echo "$as_me: failed program was:" >&5
33716 sed 's/^/| /' conftest.$ac_ext >&5
33717
33718 wx_cv_lib_lesstif="no"
33719 fi
33720
33721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33722
33723 fi
33724 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33725 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33726 if test "$wx_cv_lib_lesstif" = "yes"; then
33727 cat >>confdefs.h <<\_ACEOF
33728 #define __WXLESSTIF__ 1
33729 _ACEOF
33730
33731 else
33732 cat >>confdefs.h <<\_ACEOF
33733 #define __WXLESSTIF__ 0
33734 _ACEOF
33735
33736 fi
33737
33738 CFLAGS=$save_CFLAGS
33739
33740 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33741 TOOLKIT=MOTIF
33742 GUIDIST=MOTIF_DIST
33743 fi
33744
33745 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33746 if test "$wxUSE_LIBXPM" = "sys"; then
33747 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33748 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33749
33750 ac_find_libraries=
33751 for ac_dir in $SEARCH_LIB
33752 do
33753 for ac_extension in a so sl dylib dll.a; do
33754 if test -f "$ac_dir/libXpm.$ac_extension"; then
33755 ac_find_libraries=$ac_dir
33756 break 2
33757 fi
33758 done
33759 done
33760
33761 if test "$ac_find_libraries" != "" ; then
33762
33763 if test "$ac_find_libraries" = "default location"; then
33764 ac_path_to_link=""
33765 else
33766 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33767 result=$?
33768 if test $result = 0; then
33769 ac_path_to_link=""
33770 else
33771 ac_path_to_link=" -L$ac_find_libraries"
33772 fi
33773 fi
33774
33775 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33776 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33777 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33778
33779 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33780 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33781 if test "${wx_cv_x11_xpm_h+set}" = set; then
33782 echo $ECHO_N "(cached) $ECHO_C" >&6
33783 else
33784
33785 save_CFLAGS=$CFLAGS
33786 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33787
33788 cat >conftest.$ac_ext <<_ACEOF
33789 /* confdefs.h. */
33790 _ACEOF
33791 cat confdefs.h >>conftest.$ac_ext
33792 cat >>conftest.$ac_ext <<_ACEOF
33793 /* end confdefs.h. */
33794
33795 #include <X11/xpm.h>
33796
33797 int
33798 main ()
33799 {
33800
33801 int version;
33802 version = XpmLibraryVersion();
33803
33804 ;
33805 return 0;
33806 }
33807 _ACEOF
33808 rm -f conftest.$ac_objext
33809 if { (ac_try="$ac_compile"
33810 case "(($ac_try" in
33811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33812 *) ac_try_echo=$ac_try;;
33813 esac
33814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33815 (eval "$ac_compile") 2>conftest.er1
33816 ac_status=$?
33817 grep -v '^ *+' conftest.er1 >conftest.err
33818 rm -f conftest.er1
33819 cat conftest.err >&5
33820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33821 (exit $ac_status); } && {
33822 test -z "$ac_c_werror_flag" ||
33823 test ! -s conftest.err
33824 } && test -s conftest.$ac_objext; then
33825 wx_cv_x11_xpm_h=yes
33826 else
33827 echo "$as_me: failed program was:" >&5
33828 sed 's/^/| /' conftest.$ac_ext >&5
33829
33830 wx_cv_x11_xpm_h=no
33831
33832 fi
33833
33834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33835
33836 CFLAGS=$save_CFLAGS
33837
33838
33839 fi
33840 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33841 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33842
33843 if test $wx_cv_x11_xpm_h = "yes"; then
33844 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33845 cat >>confdefs.h <<\_ACEOF
33846 #define wxHAVE_LIB_XPM 1
33847 _ACEOF
33848
33849 else
33850 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33851 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33852 fi
33853 fi
33854
33855 fi
33856
33857 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33858 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33859 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33860 echo $ECHO_N "(cached) $ECHO_C" >&6
33861 else
33862 ac_check_lib_save_LIBS=$LIBS
33863 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33864 cat >conftest.$ac_ext <<_ACEOF
33865 /* confdefs.h. */
33866 _ACEOF
33867 cat confdefs.h >>conftest.$ac_ext
33868 cat >>conftest.$ac_ext <<_ACEOF
33869 /* end confdefs.h. */
33870
33871 /* Override any GCC internal prototype to avoid an error.
33872 Use char because int might match the return type of a GCC
33873 builtin and then its argument prototype would still apply. */
33874 #ifdef __cplusplus
33875 extern "C"
33876 #endif
33877 char XShapeQueryExtension ();
33878 int
33879 main ()
33880 {
33881 return XShapeQueryExtension ();
33882 ;
33883 return 0;
33884 }
33885 _ACEOF
33886 rm -f conftest.$ac_objext conftest$ac_exeext
33887 if { (ac_try="$ac_link"
33888 case "(($ac_try" in
33889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33890 *) ac_try_echo=$ac_try;;
33891 esac
33892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33893 (eval "$ac_link") 2>conftest.er1
33894 ac_status=$?
33895 grep -v '^ *+' conftest.er1 >conftest.err
33896 rm -f conftest.er1
33897 cat conftest.err >&5
33898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33899 (exit $ac_status); } && {
33900 test -z "$ac_c_werror_flag" ||
33901 test ! -s conftest.err
33902 } && test -s conftest$ac_exeext &&
33903 $as_test_x conftest$ac_exeext; then
33904 ac_cv_lib_Xext_XShapeQueryExtension=yes
33905 else
33906 echo "$as_me: failed program was:" >&5
33907 sed 's/^/| /' conftest.$ac_ext >&5
33908
33909 ac_cv_lib_Xext_XShapeQueryExtension=no
33910 fi
33911
33912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33913 conftest$ac_exeext conftest.$ac_ext
33914 LIBS=$ac_check_lib_save_LIBS
33915 fi
33916 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33917 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33918 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33919
33920 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33921 wxHAVE_XEXT_LIB=1
33922
33923 fi
33924
33925
33926 if test "$wxHAVE_XEXT_LIB" = 1; then
33927 save_CFLAGS="$CFLAGS"
33928 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33929
33930 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33931 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33932 cat >conftest.$ac_ext <<_ACEOF
33933 /* confdefs.h. */
33934 _ACEOF
33935 cat confdefs.h >>conftest.$ac_ext
33936 cat >>conftest.$ac_ext <<_ACEOF
33937 /* end confdefs.h. */
33938
33939 #include <X11/Xlib.h>
33940 #include <X11/extensions/shape.h>
33941
33942 int
33943 main ()
33944 {
33945
33946 int dummy1, dummy2;
33947 XShapeQueryExtension((Display*)NULL,
33948 (int*)NULL, (int*)NULL);
33949
33950 ;
33951 return 0;
33952 }
33953 _ACEOF
33954 rm -f conftest.$ac_objext
33955 if { (ac_try="$ac_compile"
33956 case "(($ac_try" in
33957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33958 *) ac_try_echo=$ac_try;;
33959 esac
33960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33961 (eval "$ac_compile") 2>conftest.er1
33962 ac_status=$?
33963 grep -v '^ *+' conftest.er1 >conftest.err
33964 rm -f conftest.er1
33965 cat conftest.err >&5
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); } && {
33968 test -z "$ac_c_werror_flag" ||
33969 test ! -s conftest.err
33970 } && test -s conftest.$ac_objext; then
33971
33972 cat >>confdefs.h <<\_ACEOF
33973 #define HAVE_XSHAPE 1
33974 _ACEOF
33975
33976 { echo "$as_me:$LINENO: result: found" >&5
33977 echo "${ECHO_T}found" >&6; }
33978
33979 else
33980 echo "$as_me: failed program was:" >&5
33981 sed 's/^/| /' conftest.$ac_ext >&5
33982
33983
33984 { echo "$as_me:$LINENO: result: not found" >&5
33985 echo "${ECHO_T}not found" >&6; }
33986
33987 fi
33988
33989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33990 CFLAGS="$save_CFLAGS"
33991
33992 fi
33993 fi
33994
33995 if test "$wxUSE_OSX_CARBON" = 1; then
33996 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33997 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33998 if test "$GCC" = yes; then
33999 { echo "$as_me:$LINENO: result: gcc" >&5
34000 echo "${ECHO_T}gcc" >&6; }
34001 CPPFLAGS_PASCAL="-fpascal-strings"
34002 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34003 { echo "$as_me:$LINENO: result: xlc" >&5
34004 echo "${ECHO_T}xlc" >&6; }
34005 CPPFLAGS_PASCAL="-qmacpstr"
34006 else
34007 { echo "$as_me:$LINENO: result: none" >&5
34008 echo "${ECHO_T}none" >&6; }
34009 fi
34010
34011 if test "x$wxUSE_UNIX" = "xyes"; then
34012 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34013 else
34014 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34015 fi
34016
34017 TOOLKIT=OSX_CARBON
34018 GUIDIST=OSX_CARBON_DIST
34019 WXBASEPORT="_carbon"
34020
34021 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34022 fi
34023
34024 if test "$wxUSE_OSX_COCOA" = 1; then
34025 TOOLKIT=OSX_COCOA
34026 GUIDIST=OSX_COCOA_DIST
34027
34028 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34029 fi
34030
34031 if test "$wxUSE_OSX_IPHONE" = 1; then
34032 TOOLKIT=OSX_IPHONE
34033 fi
34034
34035 if test "$wxUSE_OLD_COCOA" = 1; then
34036 TOOLKIT=COCOA
34037 GUIDIST=COCOA_DIST
34038 fi
34039
34040 if test "$wxUSE_PM" = 1; then
34041 TOOLKIT=PM
34042 GUIDIST=PM_DIST
34043 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34044 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34045 if test "${wx_cv_spbcdata+set}" = set; then
34046 echo $ECHO_N "(cached) $ECHO_C" >&6
34047 else
34048
34049 cat >conftest.$ac_ext <<_ACEOF
34050 /* confdefs.h. */
34051 _ACEOF
34052 cat confdefs.h >>conftest.$ac_ext
34053 cat >>conftest.$ac_ext <<_ACEOF
34054 /* end confdefs.h. */
34055
34056 #define INCL_PM
34057 #include <os2.h>
34058
34059 int
34060 main ()
34061 {
34062
34063 SPBCDATA test;
34064
34065 ;
34066 return 0;
34067 }
34068 _ACEOF
34069 rm -f conftest.$ac_objext
34070 if { (ac_try="$ac_compile"
34071 case "(($ac_try" in
34072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34073 *) ac_try_echo=$ac_try;;
34074 esac
34075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34076 (eval "$ac_compile") 2>conftest.er1
34077 ac_status=$?
34078 grep -v '^ *+' conftest.er1 >conftest.err
34079 rm -f conftest.er1
34080 cat conftest.err >&5
34081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082 (exit $ac_status); } && {
34083 test -z "$ac_c_werror_flag" ||
34084 test ! -s conftest.err
34085 } && test -s conftest.$ac_objext; then
34086 wx_cv_spbcdata=yes
34087 else
34088 echo "$as_me: failed program was:" >&5
34089 sed 's/^/| /' conftest.$ac_ext >&5
34090
34091 wx_cv_spbcdata=no
34092
34093 fi
34094
34095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34096
34097
34098 fi
34099 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34100 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34101
34102 if test $wx_cv_spbcdata = "yes"; then
34103 cat >>confdefs.h <<\_ACEOF
34104 #define HAVE_SPBCDATA 1
34105 _ACEOF
34106
34107 fi
34108 fi
34109
34110 if test "$TOOLKIT" = "PM" ; then
34111 TOOLKIT_DIR="os2"
34112 else
34113 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34114 fi
34115
34116 if test "$wxUSE_UNIVERSAL" = "yes"; then
34117 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34118 WIDGET_SET=univ
34119 fi
34120
34121 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34122 DISTDIR="wx\$(TOOLKIT)"
34123 else
34124 USE_GUI=0
34125
34126 TOOLKIT_DIR="base"
34127
34128 if test "$USE_WIN32" = 1 ; then
34129 TOOLKIT="MSW"
34130 fi
34131
34132 GUIDIST="BASE_DIST"
34133 DISTDIR="wxBase"
34134 fi
34135
34136
34137
34138 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34139 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34140 wxUSE_UNICODE_UTF8=yes
34141 elif test "$USE_OS2" = 1 ; then
34142 wxUSE_UNICODE_UTF8=yes
34143 else
34144 wxUSE_UNICODE_UTF8=no
34145 fi
34146 fi
34147
34148
34149 if test "$wxUSE_GUI" = "yes"; then
34150 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34151
34152 for ac_header in X11/Xlib.h
34153 do
34154 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34155 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34158 echo $ECHO_N "(cached) $ECHO_C" >&6
34159 else
34160 cat >conftest.$ac_ext <<_ACEOF
34161 /* confdefs.h. */
34162 _ACEOF
34163 cat confdefs.h >>conftest.$ac_ext
34164 cat >>conftest.$ac_ext <<_ACEOF
34165 /* end confdefs.h. */
34166
34167
34168 #include <$ac_header>
34169 _ACEOF
34170 rm -f conftest.$ac_objext
34171 if { (ac_try="$ac_compile"
34172 case "(($ac_try" in
34173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34174 *) ac_try_echo=$ac_try;;
34175 esac
34176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34177 (eval "$ac_compile") 2>conftest.er1
34178 ac_status=$?
34179 grep -v '^ *+' conftest.er1 >conftest.err
34180 rm -f conftest.er1
34181 cat conftest.err >&5
34182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34183 (exit $ac_status); } && {
34184 test -z "$ac_c_werror_flag" ||
34185 test ! -s conftest.err
34186 } && test -s conftest.$ac_objext; then
34187 eval "$as_ac_Header=yes"
34188 else
34189 echo "$as_me: failed program was:" >&5
34190 sed 's/^/| /' conftest.$ac_ext >&5
34191
34192 eval "$as_ac_Header=no"
34193 fi
34194
34195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34196 fi
34197 ac_res=`eval echo '${'$as_ac_Header'}'`
34198 { echo "$as_me:$LINENO: result: $ac_res" >&5
34199 echo "${ECHO_T}$ac_res" >&6; }
34200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34201 cat >>confdefs.h <<_ACEOF
34202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34203 _ACEOF
34204
34205 fi
34206
34207 done
34208
34209
34210 for ac_header in X11/XKBlib.h
34211 do
34212 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34213 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34215 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34216 echo $ECHO_N "(cached) $ECHO_C" >&6
34217 else
34218 cat >conftest.$ac_ext <<_ACEOF
34219 /* confdefs.h. */
34220 _ACEOF
34221 cat confdefs.h >>conftest.$ac_ext
34222 cat >>conftest.$ac_ext <<_ACEOF
34223 /* end confdefs.h. */
34224
34225 #if HAVE_X11_XLIB_H
34226 #include <X11/Xlib.h>
34227 #endif
34228
34229
34230 #include <$ac_header>
34231 _ACEOF
34232 rm -f conftest.$ac_objext
34233 if { (ac_try="$ac_compile"
34234 case "(($ac_try" in
34235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34236 *) ac_try_echo=$ac_try;;
34237 esac
34238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34239 (eval "$ac_compile") 2>conftest.er1
34240 ac_status=$?
34241 grep -v '^ *+' conftest.er1 >conftest.err
34242 rm -f conftest.er1
34243 cat conftest.err >&5
34244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34245 (exit $ac_status); } && {
34246 test -z "$ac_c_werror_flag" ||
34247 test ! -s conftest.err
34248 } && test -s conftest.$ac_objext; then
34249 eval "$as_ac_Header=yes"
34250 else
34251 echo "$as_me: failed program was:" >&5
34252 sed 's/^/| /' conftest.$ac_ext >&5
34253
34254 eval "$as_ac_Header=no"
34255 fi
34256
34257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34258 fi
34259 ac_res=`eval echo '${'$as_ac_Header'}'`
34260 { echo "$as_me:$LINENO: result: $ac_res" >&5
34261 echo "${ECHO_T}$ac_res" >&6; }
34262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34263 cat >>confdefs.h <<_ACEOF
34264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34265 _ACEOF
34266
34267 fi
34268
34269 done
34270
34271 fi
34272 fi
34273
34274
34275
34276 USE_XINERAMA=0
34277 if test "$wxUSE_DISPLAY" = "yes"; then
34278 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34279 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34280 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34281
34282 ac_find_libraries=
34283 for ac_dir in $SEARCH_LIB
34284 do
34285 for ac_extension in a so sl dylib dll.a; do
34286 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34287 ac_find_libraries=$ac_dir
34288 break 2
34289 fi
34290 done
34291 done
34292
34293 if test "$ac_find_libraries" != "" ; then
34294
34295 if test "$ac_find_libraries" = "default location"; then
34296 ac_path_to_link=""
34297 else
34298 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34299 result=$?
34300 if test $result = 0; then
34301 ac_path_to_link=""
34302 else
34303 ac_path_to_link=" -L$ac_find_libraries"
34304 fi
34305 fi
34306
34307 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34308 LDFLAGS="$LDFLAGS $ac_path_to_link"
34309 fi
34310 USE_XINERAMA=1
34311 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34312 { echo "$as_me:$LINENO: result: yes" >&5
34313 echo "${ECHO_T}yes" >&6; }
34314 else
34315 { echo "$as_me:$LINENO: result: no" >&5
34316 echo "${ECHO_T}no" >&6; }
34317 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34318 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34319 wxUSE_DISPLAY="no"
34320 fi
34321 elif test "$wxUSE_MSW" = 1; then
34322 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34323 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34324 if test "${ac_cv_header_ddraw_h+set}" = set; then
34325 echo $ECHO_N "(cached) $ECHO_C" >&6
34326 else
34327 cat >conftest.$ac_ext <<_ACEOF
34328 /* confdefs.h. */
34329 _ACEOF
34330 cat confdefs.h >>conftest.$ac_ext
34331 cat >>conftest.$ac_ext <<_ACEOF
34332 /* end confdefs.h. */
34333 #include <windows.h>
34334
34335 #include <ddraw.h>
34336 _ACEOF
34337 rm -f conftest.$ac_objext
34338 if { (ac_try="$ac_compile"
34339 case "(($ac_try" in
34340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34341 *) ac_try_echo=$ac_try;;
34342 esac
34343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34344 (eval "$ac_compile") 2>conftest.er1
34345 ac_status=$?
34346 grep -v '^ *+' conftest.er1 >conftest.err
34347 rm -f conftest.er1
34348 cat conftest.err >&5
34349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350 (exit $ac_status); } && {
34351 test -z "$ac_c_werror_flag" ||
34352 test ! -s conftest.err
34353 } && test -s conftest.$ac_objext; then
34354 ac_cv_header_ddraw_h=yes
34355 else
34356 echo "$as_me: failed program was:" >&5
34357 sed 's/^/| /' conftest.$ac_ext >&5
34358
34359 ac_cv_header_ddraw_h=no
34360 fi
34361
34362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34363 fi
34364 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34365 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34366
34367
34368 fi
34369 fi
34370
34371 if test "$wxUSE_DISPLAY" = "yes"; then
34372 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34373 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34374 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34375
34376 ac_find_libraries=
34377 for ac_dir in $SEARCH_LIB
34378 do
34379 for ac_extension in a so sl dylib dll.a; do
34380 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34381 ac_find_libraries=$ac_dir
34382 break 2
34383 fi
34384 done
34385 done
34386
34387 if test "$ac_find_libraries" != "" ; then
34388 { echo "$as_me:$LINENO: result: yes" >&5
34389 echo "${ECHO_T}yes" >&6; }
34390
34391 for ac_header in X11/extensions/xf86vmode.h
34392 do
34393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34394 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34397 echo $ECHO_N "(cached) $ECHO_C" >&6
34398 else
34399 cat >conftest.$ac_ext <<_ACEOF
34400 /* confdefs.h. */
34401 _ACEOF
34402 cat confdefs.h >>conftest.$ac_ext
34403 cat >>conftest.$ac_ext <<_ACEOF
34404 /* end confdefs.h. */
34405
34406 #if HAVE_X11_XLIB_H
34407 #include <X11/Xlib.h>
34408 #endif
34409
34410
34411 #include <$ac_header>
34412 _ACEOF
34413 rm -f conftest.$ac_objext
34414 if { (ac_try="$ac_compile"
34415 case "(($ac_try" in
34416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34417 *) ac_try_echo=$ac_try;;
34418 esac
34419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34420 (eval "$ac_compile") 2>conftest.er1
34421 ac_status=$?
34422 grep -v '^ *+' conftest.er1 >conftest.err
34423 rm -f conftest.er1
34424 cat conftest.err >&5
34425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426 (exit $ac_status); } && {
34427 test -z "$ac_c_werror_flag" ||
34428 test ! -s conftest.err
34429 } && test -s conftest.$ac_objext; then
34430 eval "$as_ac_Header=yes"
34431 else
34432 echo "$as_me: failed program was:" >&5
34433 sed 's/^/| /' conftest.$ac_ext >&5
34434
34435 eval "$as_ac_Header=no"
34436 fi
34437
34438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34439 fi
34440 ac_res=`eval echo '${'$as_ac_Header'}'`
34441 { echo "$as_me:$LINENO: result: $ac_res" >&5
34442 echo "${ECHO_T}$ac_res" >&6; }
34443 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34444 cat >>confdefs.h <<_ACEOF
34445 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34446 _ACEOF
34447
34448 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34449
34450 fi
34451
34452 done
34453
34454 else
34455 { echo "$as_me:$LINENO: result: no" >&5
34456 echo "${ECHO_T}no" >&6; }
34457 fi
34458 fi
34459 fi
34460
34461 if test "$wxUSE_DETECT_SM" = "yes"; then
34462 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34463 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34464 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34465
34466 ac_find_libraries=
34467 for ac_dir in $SEARCH_LIB
34468 do
34469 for ac_extension in a so sl dylib dll.a; do
34470 if test -f "$ac_dir/libSM.$ac_extension"; then
34471 ac_find_libraries=$ac_dir
34472 break 2
34473 fi
34474 done
34475 done
34476
34477 if test "$ac_find_libraries" != "" ; then
34478
34479 if test "$ac_find_libraries" = "default location"; then
34480 ac_path_to_link=""
34481 else
34482 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34483 result=$?
34484 if test $result = 0; then
34485 ac_path_to_link=""
34486 else
34487 ac_path_to_link=" -L$ac_find_libraries"
34488 fi
34489 fi
34490
34491 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34492 LDFLAGS="$LDFLAGS $ac_path_to_link"
34493 fi
34494 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34495 { echo "$as_me:$LINENO: result: yes" >&5
34496 echo "${ECHO_T}yes" >&6; }
34497 else
34498 { echo "$as_me:$LINENO: result: no" >&5
34499 echo "${ECHO_T}no" >&6; }
34500 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34501 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34502 wxUSE_DETECT_SM="no"
34503 fi
34504 else
34505 wxUSE_DETECT_SM="no"
34506 fi
34507 fi
34508
34509
34510
34511 USE_OPENGL=0
34512 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34513
34514
34515 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34516 OPENGL_LIBS="-framework OpenGL -framework AGL"
34517 elif test "$wxUSE_MSW" = 1; then
34518 OPENGL_LIBS="-lopengl32 -lglu32"
34519 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34520
34521 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34522 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34523
34524 ac_find_includes=
34525 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34526 do
34527 if test -f "$ac_dir/GL/gl.h"; then
34528 ac_find_includes=$ac_dir
34529 break
34530 fi
34531 done
34532
34533 if test "$ac_find_includes" != "" ; then
34534 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34535 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34536
34537 if test "x$ac_find_includes" = "x/usr/include"; then
34538 ac_path_to_include=""
34539 else
34540 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34541 result=$?
34542 if test $result = 0; then
34543 ac_path_to_include=""
34544 else
34545 ac_path_to_include=" -I$ac_find_includes"
34546 fi
34547 fi
34548
34549 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34550 else
34551 { echo "$as_me:$LINENO: result: not found" >&5
34552 echo "${ECHO_T}not found" >&6; }
34553 fi
34554
34555 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34556 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34557 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34558 echo $ECHO_N "(cached) $ECHO_C" >&6
34559 else
34560 cat >conftest.$ac_ext <<_ACEOF
34561 /* confdefs.h. */
34562 _ACEOF
34563 cat confdefs.h >>conftest.$ac_ext
34564 cat >>conftest.$ac_ext <<_ACEOF
34565 /* end confdefs.h. */
34566
34567
34568 #include <GL/gl.h>
34569 _ACEOF
34570 rm -f conftest.$ac_objext
34571 if { (ac_try="$ac_compile"
34572 case "(($ac_try" in
34573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34574 *) ac_try_echo=$ac_try;;
34575 esac
34576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34577 (eval "$ac_compile") 2>conftest.er1
34578 ac_status=$?
34579 grep -v '^ *+' conftest.er1 >conftest.err
34580 rm -f conftest.er1
34581 cat conftest.err >&5
34582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34583 (exit $ac_status); } && {
34584 test -z "$ac_c_werror_flag" ||
34585 test ! -s conftest.err
34586 } && test -s conftest.$ac_objext; then
34587 ac_cv_header_GL_gl_h=yes
34588 else
34589 echo "$as_me: failed program was:" >&5
34590 sed 's/^/| /' conftest.$ac_ext >&5
34591
34592 ac_cv_header_GL_gl_h=no
34593 fi
34594
34595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34596 fi
34597 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34598 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34599 if test $ac_cv_header_GL_gl_h = yes; then
34600
34601 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34602 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34603 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34604 echo $ECHO_N "(cached) $ECHO_C" >&6
34605 else
34606 cat >conftest.$ac_ext <<_ACEOF
34607 /* confdefs.h. */
34608 _ACEOF
34609 cat confdefs.h >>conftest.$ac_ext
34610 cat >>conftest.$ac_ext <<_ACEOF
34611 /* end confdefs.h. */
34612
34613
34614 #include <GL/glu.h>
34615 _ACEOF
34616 rm -f conftest.$ac_objext
34617 if { (ac_try="$ac_compile"
34618 case "(($ac_try" in
34619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34620 *) ac_try_echo=$ac_try;;
34621 esac
34622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34623 (eval "$ac_compile") 2>conftest.er1
34624 ac_status=$?
34625 grep -v '^ *+' conftest.er1 >conftest.err
34626 rm -f conftest.er1
34627 cat conftest.err >&5
34628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34629 (exit $ac_status); } && {
34630 test -z "$ac_c_werror_flag" ||
34631 test ! -s conftest.err
34632 } && test -s conftest.$ac_objext; then
34633 ac_cv_header_GL_glu_h=yes
34634 else
34635 echo "$as_me: failed program was:" >&5
34636 sed 's/^/| /' conftest.$ac_ext >&5
34637
34638 ac_cv_header_GL_glu_h=no
34639 fi
34640
34641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34642 fi
34643 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34644 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34645 if test $ac_cv_header_GL_glu_h = yes; then
34646
34647 found_gl=0
34648
34649 { echo "$as_me:$LINENO: checking for -lGL" >&5
34650 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34651
34652 ac_find_libraries=
34653 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34654 do
34655 for ac_extension in a so sl dylib dll.a; do
34656 if test -f "$ac_dir/libGL.$ac_extension"; then
34657 ac_find_libraries=$ac_dir
34658 break 2
34659 fi
34660 done
34661 done
34662
34663 if test "$ac_find_libraries" != "" ; then
34664 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34665 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34666
34667
34668 if test "$ac_find_libraries" = "default location"; then
34669 ac_path_to_link=""
34670 else
34671 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34672 result=$?
34673 if test $result = 0; then
34674 ac_path_to_link=""
34675 else
34676 ac_path_to_link=" -L$ac_find_libraries"
34677 fi
34678 fi
34679
34680 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34681 LDFLAGS_GL="$ac_path_to_link"
34682 fi
34683
34684 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34685 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34686
34687 ac_find_libraries=
34688 for ac_dir in $SEARCH_LIB
34689 do
34690 for ac_extension in a so sl dylib dll.a; do
34691 if test -f "$ac_dir/libGLU.$ac_extension"; then
34692 ac_find_libraries=$ac_dir
34693 break 2
34694 fi
34695 done
34696 done
34697
34698 if test "$ac_find_libraries" != "" ; then
34699
34700 if test "$ac_find_libraries" = "default location"; then
34701 ac_path_to_link=""
34702 else
34703 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34704 result=$?
34705 if test $result = 0; then
34706 ac_path_to_link=""
34707 else
34708 ac_path_to_link=" -L$ac_find_libraries"
34709 fi
34710 fi
34711
34712 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34713 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34714 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34715 fi
34716
34717 found_gl=1
34718 OPENGL_LIBS="-lGL -lGLU"
34719 { echo "$as_me:$LINENO: result: yes" >&5
34720 echo "${ECHO_T}yes" >&6; }
34721 else
34722 { echo "$as_me:$LINENO: result: no" >&5
34723 echo "${ECHO_T}no" >&6; }
34724 fi
34725 else
34726 { echo "$as_me:$LINENO: result: no" >&5
34727 echo "${ECHO_T}no" >&6; }
34728 fi
34729
34730 if test "$found_gl" != 1; then
34731 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34732 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34733
34734 ac_find_libraries=
34735 for ac_dir in $SEARCH_LIB
34736 do
34737 for ac_extension in a so sl dylib dll.a; do
34738 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34739 ac_find_libraries=$ac_dir
34740 break 2
34741 fi
34742 done
34743 done
34744
34745 if test "$ac_find_libraries" != "" ; then
34746
34747 if test "$ac_find_libraries" = "default location"; then
34748 ac_path_to_link=""
34749 else
34750 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34751 result=$?
34752 if test $result = 0; then
34753 ac_path_to_link=""
34754 else
34755 ac_path_to_link=" -L$ac_find_libraries"
34756 fi
34757 fi
34758
34759 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34760 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34761 { echo "$as_me:$LINENO: result: yes" >&5
34762 echo "${ECHO_T}yes" >&6; }
34763 else
34764 { echo "$as_me:$LINENO: result: no" >&5
34765 echo "${ECHO_T}no" >&6; }
34766 fi
34767 fi
34768
34769 fi
34770
34771
34772
34773 fi
34774
34775
34776
34777 if test "x$OPENGL_LIBS" = "x"; then
34778 if test "$wxUSE_OPENGL" = "yes"; then
34779 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34780 echo "$as_me: error: OpenGL libraries not available" >&2;}
34781 { (exit 1); exit 1; }; }
34782 else
34783 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34784 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34785 wxUSE_OPENGL=no
34786 USE_OPENGL=0
34787 fi
34788 fi
34789 else
34790 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34791 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34792 wxUSE_OPENGL="no"
34793 fi
34794
34795 if test "$wxUSE_OPENGL" = "auto"; then
34796 wxUSE_OPENGL=yes
34797 fi
34798
34799 if test "$wxUSE_OPENGL" = "yes"; then
34800 USE_OPENGL=1
34801 cat >>confdefs.h <<\_ACEOF
34802 #define wxUSE_OPENGL 1
34803 _ACEOF
34804
34805 cat >>confdefs.h <<\_ACEOF
34806 #define wxUSE_GLCANVAS 1
34807 _ACEOF
34808
34809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34810 fi
34811 fi
34812
34813
34814 if test -n "$TOOLKIT" ; then
34815 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34816 fi
34817
34818
34819
34820 if test "$wxUSE_SHARED" = "yes"; then
34821 case "${host}" in
34822 *-pc-msdosdjgpp )
34823 wxUSE_SHARED=no
34824 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34825 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34826 ;;
34827 esac
34828 fi
34829
34830 if test "$wxUSE_SHARED" = "yes"; then
34831
34832
34833 case "${host}" in
34834 *-*-cygwin* | *-*-mingw* )
34835 wx_cv_version_script=no
34836 ;;
34837
34838 *)
34839 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34840 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34841 if test "${wx_cv_version_script+set}" = set; then
34842 echo $ECHO_N "(cached) $ECHO_C" >&6
34843 else
34844
34845 echo "VER_1 { *; };" >conftest.sym
34846 echo "int main() { return 0; }" >conftest.cpp
34847
34848 if { ac_try='
34849 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34850 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34852 (eval $ac_try) 2>&5
34853 ac_status=$?
34854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34855 (exit $ac_status); }; } ; then
34856 if test -s conftest.stderr ; then
34857 wx_cv_version_script=no
34858 else
34859 wx_cv_version_script=yes
34860 fi
34861 else
34862 wx_cv_version_script=no
34863 fi
34864
34865 if test $wx_cv_version_script = yes
34866 then
34867 echo "struct B { virtual ~B() { } }; \
34868 struct D : public B { }; \
34869 void F() { D d; }" > conftest.cpp
34870
34871 if { ac_try='
34872 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34873 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34875 (eval $ac_try) 2>&5
34876 ac_status=$?
34877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34878 (exit $ac_status); }; } &&
34879 { ac_try='
34880 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34881 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34883 (eval $ac_try) 2>&5
34884 ac_status=$?
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); }; }
34887 then
34888 if { ac_try='
34889 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34890 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34892 (eval $ac_try) 2>&5
34893 ac_status=$?
34894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34895 (exit $ac_status); }; }
34896 then
34897 wx_cv_version_script=yes
34898 else
34899 wx_cv_version_script=no
34900 fi
34901 fi
34902 fi
34903
34904 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34905 rm -f conftest1.output conftest2.output conftest3.output
34906
34907 fi
34908 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34909 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34910
34911 if test $wx_cv_version_script = yes ; then
34912 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34913 fi
34914 ;;
34915 esac
34916
34917
34918 if test "$wxUSE_VISIBILITY" != "no"; then
34919
34920
34921 if test -n "$GCC"; then
34922 CFLAGS_VISIBILITY="-fvisibility=hidden"
34923 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34924 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34925 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34926 if test "${wx_cv_cc_visibility+set}" = set; then
34927 echo $ECHO_N "(cached) $ECHO_C" >&6
34928 else
34929
34930 wx_save_CXXFLAGS="$CXXFLAGS"
34931 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34932 ac_ext=cpp
34933 ac_cpp='$CXXCPP $CPPFLAGS'
34934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34937
34938 cat >conftest.$ac_ext <<_ACEOF
34939 /* confdefs.h. */
34940 _ACEOF
34941 cat confdefs.h >>conftest.$ac_ext
34942 cat >>conftest.$ac_ext <<_ACEOF
34943 /* end confdefs.h. */
34944
34945 /* we need gcc >= 4.0, older versions with visibility support
34946 didn't have class visibility: */
34947 #if defined(__GNUC__) && __GNUC__ < 4
34948 error this gcc is too old;
34949 #endif
34950
34951 /* visibility only makes sense for ELF shared libs: */
34952 #if !defined(__ELF__) && !defined(__APPLE__)
34953 error this platform has no visibility;
34954 #endif
34955
34956 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34957 extern __attribute__((__visibility__("default"))) int exportedvar;
34958 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34959 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34960 class __attribute__((__visibility__("default"))) Foo {
34961 Foo() {}
34962 };
34963
34964 int
34965 main ()
34966 {
34967
34968 ;
34969 return 0;
34970 }
34971 _ACEOF
34972 rm -f conftest.$ac_objext
34973 if { (ac_try="$ac_compile"
34974 case "(($ac_try" in
34975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34976 *) ac_try_echo=$ac_try;;
34977 esac
34978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34979 (eval "$ac_compile") 2>conftest.er1
34980 ac_status=$?
34981 grep -v '^ *+' conftest.er1 >conftest.err
34982 rm -f conftest.er1
34983 cat conftest.err >&5
34984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34985 (exit $ac_status); } && {
34986 test -z "$ac_cxx_werror_flag" ||
34987 test ! -s conftest.err
34988 } && test -s conftest.$ac_objext; then
34989 wx_cv_cc_visibility=yes
34990 else
34991 echo "$as_me: failed program was:" >&5
34992 sed 's/^/| /' conftest.$ac_ext >&5
34993
34994 wx_cv_cc_visibility=no
34995 fi
34996
34997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34998 ac_ext=c
34999 ac_cpp='$CPP $CPPFLAGS'
35000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35003
35004 CXXFLAGS="$wx_save_CXXFLAGS"
35005 fi
35006
35007 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35008 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35009 if test $wx_cv_cc_visibility = yes; then
35010 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35011 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35012 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35013 echo $ECHO_N "(cached) $ECHO_C" >&6
35014 else
35015
35016 wx_save_CXXFLAGS="$CXXFLAGS"
35017 wx_save_LDFLAGS="$LDFLAGS"
35018 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35019 LDFLAGS="$LDFLAGS -shared -fPIC"
35020 ac_ext=cpp
35021 ac_cpp='$CXXCPP $CPPFLAGS'
35022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35025
35026 cat >conftest.$ac_ext <<_ACEOF
35027 /* confdefs.h. */
35028 _ACEOF
35029 cat confdefs.h >>conftest.$ac_ext
35030 cat >>conftest.$ac_ext <<_ACEOF
35031 /* end confdefs.h. */
35032
35033 #include <string>
35034
35035 int
35036 main ()
35037 {
35038
35039 std::string s("hello");
35040 return s.length();
35041
35042 ;
35043 return 0;
35044 }
35045 _ACEOF
35046 rm -f conftest.$ac_objext conftest$ac_exeext
35047 if { (ac_try="$ac_link"
35048 case "(($ac_try" in
35049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35050 *) ac_try_echo=$ac_try;;
35051 esac
35052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35053 (eval "$ac_link") 2>conftest.er1
35054 ac_status=$?
35055 grep -v '^ *+' conftest.er1 >conftest.err
35056 rm -f conftest.er1
35057 cat conftest.err >&5
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); } && {
35060 test -z "$ac_cxx_werror_flag" ||
35061 test ! -s conftest.err
35062 } && test -s conftest$ac_exeext &&
35063 $as_test_x conftest$ac_exeext; then
35064 wx_cv_cc_broken_libstdcxx_visibility=no
35065 else
35066 echo "$as_me: failed program was:" >&5
35067 sed 's/^/| /' conftest.$ac_ext >&5
35068
35069 wx_cv_cc_broken_libstdcxx_visibility=yes
35070 fi
35071
35072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35073 conftest$ac_exeext conftest.$ac_ext
35074 ac_ext=c
35075 ac_cpp='$CPP $CPPFLAGS'
35076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35079
35080 CXXFLAGS="$wx_save_CXXFLAGS"
35081 LDFLAGS="$wx_save_LDFLAGS"
35082 fi
35083
35084 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35085 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35086
35087 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35088 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35089 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35090 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35091 echo $ECHO_N "(cached) $ECHO_C" >&6
35092 else
35093
35094 ac_ext=cpp
35095 ac_cpp='$CXXCPP $CPPFLAGS'
35096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35099
35100 cat >conftest.$ac_ext <<_ACEOF
35101 /* confdefs.h. */
35102 _ACEOF
35103 cat confdefs.h >>conftest.$ac_ext
35104 cat >>conftest.$ac_ext <<_ACEOF
35105 /* end confdefs.h. */
35106
35107 #pragma GCC visibility push(default)
35108 #include <string>
35109 #pragma GCC visibility pop
35110
35111 int
35112 main ()
35113 {
35114
35115 std::string s("hello");
35116 return s.length();
35117
35118 ;
35119 return 0;
35120 }
35121 _ACEOF
35122 rm -f conftest.$ac_objext conftest$ac_exeext
35123 if { (ac_try="$ac_link"
35124 case "(($ac_try" in
35125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35126 *) ac_try_echo=$ac_try;;
35127 esac
35128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35129 (eval "$ac_link") 2>conftest.er1
35130 ac_status=$?
35131 grep -v '^ *+' conftest.er1 >conftest.err
35132 rm -f conftest.er1
35133 cat conftest.err >&5
35134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35135 (exit $ac_status); } && {
35136 test -z "$ac_cxx_werror_flag" ||
35137 test ! -s conftest.err
35138 } && test -s conftest$ac_exeext &&
35139 $as_test_x conftest$ac_exeext; then
35140 wx_cv_cc_visibility_workaround=no
35141 else
35142 echo "$as_me: failed program was:" >&5
35143 sed 's/^/| /' conftest.$ac_ext >&5
35144
35145 wx_cv_cc_visibility_workaround=yes
35146 fi
35147
35148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35149 conftest$ac_exeext conftest.$ac_ext
35150 ac_ext=c
35151 ac_cpp='$CPP $CPPFLAGS'
35152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35155
35156
35157 fi
35158
35159 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35160 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35161
35162 if test $wx_cv_cc_visibility_workaround = no; then
35163 wx_cv_cc_visibility=no
35164 fi
35165 fi
35166 fi
35167
35168 if test $wx_cv_cc_visibility = yes; then
35169 cat >>confdefs.h <<\_ACEOF
35170 #define HAVE_VISIBILITY 1
35171 _ACEOF
35172
35173 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35174 cat >>confdefs.h <<\_ACEOF
35175 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35176 _ACEOF
35177
35178 fi
35179 else
35180 CFLAGS_VISIBILITY=""
35181 CXXFLAGS_VISIBILITY=""
35182 fi
35183
35184
35185 fi
35186
35187 fi
35188
35189 if test "x$SUNCXX" = xyes; then
35190 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35191 WXCONFIG_RPATH="-R\$libdir"
35192 else
35193 case "${host}" in
35194 *-*-linux* | *-*-gnu* )
35195 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35196 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35197 ;;
35198
35199 *-*-solaris2* )
35200
35201 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35202
35203 saveLdflags="$LDFLAGS"
35204 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35205 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35206 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35207 cat >conftest.$ac_ext <<_ACEOF
35208 /* confdefs.h. */
35209 _ACEOF
35210 cat confdefs.h >>conftest.$ac_ext
35211 cat >>conftest.$ac_ext <<_ACEOF
35212 /* end confdefs.h. */
35213
35214 int
35215 main ()
35216 {
35217
35218 ;
35219 return 0;
35220 }
35221 _ACEOF
35222 rm -f conftest.$ac_objext conftest$ac_exeext
35223 if { (ac_try="$ac_link"
35224 case "(($ac_try" in
35225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35226 *) ac_try_echo=$ac_try;;
35227 esac
35228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35229 (eval "$ac_link") 2>conftest.er1
35230 ac_status=$?
35231 grep -v '^ *+' conftest.er1 >conftest.err
35232 rm -f conftest.er1
35233 cat conftest.err >&5
35234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35235 (exit $ac_status); } && {
35236 test -z "$ac_c_werror_flag" ||
35237 test ! -s conftest.err
35238 } && test -s conftest$ac_exeext &&
35239 $as_test_x conftest$ac_exeext; then
35240
35241 { echo "$as_me:$LINENO: result: yes" >&5
35242 echo "${ECHO_T}yes" >&6; }
35243 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35244 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35245
35246 else
35247 echo "$as_me: failed program was:" >&5
35248 sed 's/^/| /' conftest.$ac_ext >&5
35249
35250
35251 { echo "$as_me:$LINENO: result: no" >&5
35252 echo "${ECHO_T}no" >&6; }
35253 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35254 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35255 LDFLAGS="$saveLdflags -Wl,-R,/"
35256 cat >conftest.$ac_ext <<_ACEOF
35257 /* confdefs.h. */
35258 _ACEOF
35259 cat confdefs.h >>conftest.$ac_ext
35260 cat >>conftest.$ac_ext <<_ACEOF
35261 /* end confdefs.h. */
35262
35263 int
35264 main ()
35265 {
35266
35267 ;
35268 return 0;
35269 }
35270 _ACEOF
35271 rm -f conftest.$ac_objext conftest$ac_exeext
35272 if { (ac_try="$ac_link"
35273 case "(($ac_try" in
35274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35275 *) ac_try_echo=$ac_try;;
35276 esac
35277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35278 (eval "$ac_link") 2>conftest.er1
35279 ac_status=$?
35280 grep -v '^ *+' conftest.er1 >conftest.err
35281 rm -f conftest.er1
35282 cat conftest.err >&5
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); } && {
35285 test -z "$ac_c_werror_flag" ||
35286 test ! -s conftest.err
35287 } && test -s conftest$ac_exeext &&
35288 $as_test_x conftest$ac_exeext; then
35289
35290 { echo "$as_me:$LINENO: result: yes" >&5
35291 echo "${ECHO_T}yes" >&6; }
35292 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35293 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35294
35295 else
35296 echo "$as_me: failed program was:" >&5
35297 sed 's/^/| /' conftest.$ac_ext >&5
35298
35299
35300 { echo "$as_me:$LINENO: result: no" >&5
35301 echo "${ECHO_T}no" >&6; }
35302
35303 fi
35304
35305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35306 conftest$ac_exeext conftest.$ac_ext
35307
35308 fi
35309
35310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35311 conftest$ac_exeext conftest.$ac_ext
35312 LDFLAGS="$saveLdflags"
35313 ;;
35314
35315 *-*-darwin* )
35316 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35317 if test "$install_name_tool" -a -x "$install_name_tool"; then
35318 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35319 cat <<EOF >change-install-names
35320 #!/bin/sh
35321 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35322 for i in \${libnames} ; do
35323 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
35324 for dep in \${libnames} ; do
35325 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
35326 done
35327 done
35328 EOF
35329 chmod +x change-install-names
35330 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
35331 fi
35332
35333 HEADER_PAD_OPTION="-headerpad_max_install_names"
35334 ;;
35335
35336 *-*-cygwin* | *-*-mingw32* )
35337 ;;
35338
35339 *-*-hpux* )
35340 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35341 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35342 ;;
35343
35344 esac
35345 fi
35346
35347 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35348
35349 if test $wxUSE_RPATH = "no"; then
35350 SAMPLES_RPATH_FLAG=''
35351 DYLIB_PATH_POSTLINK=''
35352 WXCONFIG_RPATH=''
35353 fi
35354
35355 SHARED=1
35356
35357 else
35358
35359 config_linkage_component="-static"
35360 SHARED=0
35361
35362 fi
35363
35364
35365 UNICODE=0
35366 lib_unicode_suffix=
35367 WX_CHARTYPE="ansi"
35368 if test "$wxUSE_UNICODE" = "yes"; then
35369 lib_unicode_suffix=u
35370 WX_CHARTYPE="unicode"
35371 UNICODE=1
35372 fi
35373
35374 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35375 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35376
35377 DEBUG_INFO=0
35378 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35379 DEBUG_INFO=1
35380 fi
35381
35382 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35383
35384 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35385
35386 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35387
35388
35389 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35390 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35391 else
35392 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35393 fi
35394 if test "${TOOLKIT_DIR}" = "os2"; then
35395 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35396 else
35397 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35398 fi
35399
35400
35401
35402 if test "$wxUSE_OLD_COCOA" = 1; then
35403
35404 ac_ext=c
35405 ac_cpp='$CPP $CPPFLAGS'
35406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35409
35410 ac_ext=m
35411
35412 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35413 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35414 cat >conftest.$ac_ext <<_ACEOF
35415 /* confdefs.h. */
35416 _ACEOF
35417 cat confdefs.h >>conftest.$ac_ext
35418 cat >>conftest.$ac_ext <<_ACEOF
35419 /* end confdefs.h. */
35420 #include <AppKit/NSEvent.h>
35421 #include <CoreFoundation/CoreFoundation.h>
35422
35423 int
35424 main ()
35425 {
35426
35427 ;
35428 return 0;
35429 }
35430 _ACEOF
35431 rm -f conftest.$ac_objext
35432 if { (ac_try="$ac_compile"
35433 case "(($ac_try" in
35434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35435 *) ac_try_echo=$ac_try;;
35436 esac
35437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35438 (eval "$ac_compile") 2>conftest.er1
35439 ac_status=$?
35440 grep -v '^ *+' conftest.er1 >conftest.err
35441 rm -f conftest.er1
35442 cat conftest.err >&5
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); } && {
35445 test -z "$ac_c_werror_flag" ||
35446 test ! -s conftest.err
35447 } && test -s conftest.$ac_objext; then
35448 { echo "$as_me:$LINENO: result: no" >&5
35449 echo "${ECHO_T}no" >&6; }
35450 else
35451 echo "$as_me: failed program was:" >&5
35452 sed 's/^/| /' conftest.$ac_ext >&5
35453
35454 { echo "$as_me:$LINENO: result: yes" >&5
35455 echo "${ECHO_T}yes" >&6; }
35456 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35457 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35458 cat >conftest.$ac_ext <<_ACEOF
35459 /* confdefs.h. */
35460 _ACEOF
35461 cat confdefs.h >>conftest.$ac_ext
35462 cat >>conftest.$ac_ext <<_ACEOF
35463 /* end confdefs.h. */
35464 #define __Point__ 1
35465 #include <AppKit/NSEvent.h>
35466 #include <CoreFoundation/CoreFoundation.h>
35467
35468 int
35469 main ()
35470 {
35471
35472 ;
35473 return 0;
35474 }
35475 _ACEOF
35476 rm -f conftest.$ac_objext
35477 if { (ac_try="$ac_compile"
35478 case "(($ac_try" in
35479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35480 *) ac_try_echo=$ac_try;;
35481 esac
35482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35483 (eval "$ac_compile") 2>conftest.er1
35484 ac_status=$?
35485 grep -v '^ *+' conftest.er1 >conftest.err
35486 rm -f conftest.er1
35487 cat conftest.err >&5
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); } && {
35490 test -z "$ac_c_werror_flag" ||
35491 test ! -s conftest.err
35492 } && test -s conftest.$ac_objext; then
35493 { echo "$as_me:$LINENO: result: yes" >&5
35494 echo "${ECHO_T}yes" >&6; }
35495 cat >>confdefs.h <<\_ACEOF
35496 #define __Point__ 1
35497 _ACEOF
35498
35499
35500 else
35501 echo "$as_me: failed program was:" >&5
35502 sed 's/^/| /' conftest.$ac_ext >&5
35503
35504 { { echo "$as_me:$LINENO: error: no
35505 See \`config.log' for more details." >&5
35506 echo "$as_me: error: no
35507 See \`config.log' for more details." >&2;}
35508 { (exit 1); exit 1; }; }
35509
35510 fi
35511
35512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35513
35514 fi
35515
35516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35517 ac_ext=c
35518 ac_cpp='$CPP $CPPFLAGS'
35519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35522
35523 fi
35524
35525
35526 { echo "$as_me:$LINENO: checking for mode_t" >&5
35527 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35528 if test "${ac_cv_type_mode_t+set}" = set; then
35529 echo $ECHO_N "(cached) $ECHO_C" >&6
35530 else
35531 cat >conftest.$ac_ext <<_ACEOF
35532 /* confdefs.h. */
35533 _ACEOF
35534 cat confdefs.h >>conftest.$ac_ext
35535 cat >>conftest.$ac_ext <<_ACEOF
35536 /* end confdefs.h. */
35537 $ac_includes_default
35538 typedef mode_t ac__type_new_;
35539 int
35540 main ()
35541 {
35542 if ((ac__type_new_ *) 0)
35543 return 0;
35544 if (sizeof (ac__type_new_))
35545 return 0;
35546 ;
35547 return 0;
35548 }
35549 _ACEOF
35550 rm -f conftest.$ac_objext
35551 if { (ac_try="$ac_compile"
35552 case "(($ac_try" in
35553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35554 *) ac_try_echo=$ac_try;;
35555 esac
35556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35557 (eval "$ac_compile") 2>conftest.er1
35558 ac_status=$?
35559 grep -v '^ *+' conftest.er1 >conftest.err
35560 rm -f conftest.er1
35561 cat conftest.err >&5
35562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35563 (exit $ac_status); } && {
35564 test -z "$ac_c_werror_flag" ||
35565 test ! -s conftest.err
35566 } && test -s conftest.$ac_objext; then
35567 ac_cv_type_mode_t=yes
35568 else
35569 echo "$as_me: failed program was:" >&5
35570 sed 's/^/| /' conftest.$ac_ext >&5
35571
35572 ac_cv_type_mode_t=no
35573 fi
35574
35575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35576 fi
35577 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35578 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35579 if test $ac_cv_type_mode_t = yes; then
35580 :
35581 else
35582
35583 cat >>confdefs.h <<_ACEOF
35584 #define mode_t int
35585 _ACEOF
35586
35587 fi
35588
35589 { echo "$as_me:$LINENO: checking for off_t" >&5
35590 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35591 if test "${ac_cv_type_off_t+set}" = set; then
35592 echo $ECHO_N "(cached) $ECHO_C" >&6
35593 else
35594 cat >conftest.$ac_ext <<_ACEOF
35595 /* confdefs.h. */
35596 _ACEOF
35597 cat confdefs.h >>conftest.$ac_ext
35598 cat >>conftest.$ac_ext <<_ACEOF
35599 /* end confdefs.h. */
35600 $ac_includes_default
35601 typedef off_t ac__type_new_;
35602 int
35603 main ()
35604 {
35605 if ((ac__type_new_ *) 0)
35606 return 0;
35607 if (sizeof (ac__type_new_))
35608 return 0;
35609 ;
35610 return 0;
35611 }
35612 _ACEOF
35613 rm -f conftest.$ac_objext
35614 if { (ac_try="$ac_compile"
35615 case "(($ac_try" in
35616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35617 *) ac_try_echo=$ac_try;;
35618 esac
35619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35620 (eval "$ac_compile") 2>conftest.er1
35621 ac_status=$?
35622 grep -v '^ *+' conftest.er1 >conftest.err
35623 rm -f conftest.er1
35624 cat conftest.err >&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); } && {
35627 test -z "$ac_c_werror_flag" ||
35628 test ! -s conftest.err
35629 } && test -s conftest.$ac_objext; then
35630 ac_cv_type_off_t=yes
35631 else
35632 echo "$as_me: failed program was:" >&5
35633 sed 's/^/| /' conftest.$ac_ext >&5
35634
35635 ac_cv_type_off_t=no
35636 fi
35637
35638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35639 fi
35640 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35641 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35642 if test $ac_cv_type_off_t = yes; then
35643 :
35644 else
35645
35646 cat >>confdefs.h <<_ACEOF
35647 #define off_t long int
35648 _ACEOF
35649
35650 fi
35651
35652 { echo "$as_me:$LINENO: checking for pid_t" >&5
35653 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35654 if test "${ac_cv_type_pid_t+set}" = set; then
35655 echo $ECHO_N "(cached) $ECHO_C" >&6
35656 else
35657 cat >conftest.$ac_ext <<_ACEOF
35658 /* confdefs.h. */
35659 _ACEOF
35660 cat confdefs.h >>conftest.$ac_ext
35661 cat >>conftest.$ac_ext <<_ACEOF
35662 /* end confdefs.h. */
35663 $ac_includes_default
35664 typedef pid_t ac__type_new_;
35665 int
35666 main ()
35667 {
35668 if ((ac__type_new_ *) 0)
35669 return 0;
35670 if (sizeof (ac__type_new_))
35671 return 0;
35672 ;
35673 return 0;
35674 }
35675 _ACEOF
35676 rm -f conftest.$ac_objext
35677 if { (ac_try="$ac_compile"
35678 case "(($ac_try" in
35679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35680 *) ac_try_echo=$ac_try;;
35681 esac
35682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35683 (eval "$ac_compile") 2>conftest.er1
35684 ac_status=$?
35685 grep -v '^ *+' conftest.er1 >conftest.err
35686 rm -f conftest.er1
35687 cat conftest.err >&5
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); } && {
35690 test -z "$ac_c_werror_flag" ||
35691 test ! -s conftest.err
35692 } && test -s conftest.$ac_objext; then
35693 ac_cv_type_pid_t=yes
35694 else
35695 echo "$as_me: failed program was:" >&5
35696 sed 's/^/| /' conftest.$ac_ext >&5
35697
35698 ac_cv_type_pid_t=no
35699 fi
35700
35701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35702 fi
35703 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35704 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35705 if test $ac_cv_type_pid_t = yes; then
35706 :
35707 else
35708
35709 cat >>confdefs.h <<_ACEOF
35710 #define pid_t int
35711 _ACEOF
35712
35713 fi
35714
35715 { echo "$as_me:$LINENO: checking for size_t" >&5
35716 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35717 if test "${ac_cv_type_size_t+set}" = set; then
35718 echo $ECHO_N "(cached) $ECHO_C" >&6
35719 else
35720 cat >conftest.$ac_ext <<_ACEOF
35721 /* confdefs.h. */
35722 _ACEOF
35723 cat confdefs.h >>conftest.$ac_ext
35724 cat >>conftest.$ac_ext <<_ACEOF
35725 /* end confdefs.h. */
35726 $ac_includes_default
35727 typedef size_t ac__type_new_;
35728 int
35729 main ()
35730 {
35731 if ((ac__type_new_ *) 0)
35732 return 0;
35733 if (sizeof (ac__type_new_))
35734 return 0;
35735 ;
35736 return 0;
35737 }
35738 _ACEOF
35739 rm -f conftest.$ac_objext
35740 if { (ac_try="$ac_compile"
35741 case "(($ac_try" in
35742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35743 *) ac_try_echo=$ac_try;;
35744 esac
35745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35746 (eval "$ac_compile") 2>conftest.er1
35747 ac_status=$?
35748 grep -v '^ *+' conftest.er1 >conftest.err
35749 rm -f conftest.er1
35750 cat conftest.err >&5
35751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35752 (exit $ac_status); } && {
35753 test -z "$ac_c_werror_flag" ||
35754 test ! -s conftest.err
35755 } && test -s conftest.$ac_objext; then
35756 ac_cv_type_size_t=yes
35757 else
35758 echo "$as_me: failed program was:" >&5
35759 sed 's/^/| /' conftest.$ac_ext >&5
35760
35761 ac_cv_type_size_t=no
35762 fi
35763
35764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35765 fi
35766 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35767 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35768 if test $ac_cv_type_size_t = yes; then
35769 :
35770 else
35771
35772 cat >>confdefs.h <<_ACEOF
35773 #define size_t unsigned int
35774 _ACEOF
35775
35776 fi
35777
35778
35779 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35780 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35781 if test "${ac_cv_type_ssize_t+set}" = set; then
35782 echo $ECHO_N "(cached) $ECHO_C" >&6
35783 else
35784 cat >conftest.$ac_ext <<_ACEOF
35785 /* confdefs.h. */
35786 _ACEOF
35787 cat confdefs.h >>conftest.$ac_ext
35788 cat >>conftest.$ac_ext <<_ACEOF
35789 /* end confdefs.h. */
35790 $ac_includes_default
35791 typedef ssize_t ac__type_new_;
35792 int
35793 main ()
35794 {
35795 if ((ac__type_new_ *) 0)
35796 return 0;
35797 if (sizeof (ac__type_new_))
35798 return 0;
35799 ;
35800 return 0;
35801 }
35802 _ACEOF
35803 rm -f conftest.$ac_objext
35804 if { (ac_try="$ac_compile"
35805 case "(($ac_try" in
35806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35807 *) ac_try_echo=$ac_try;;
35808 esac
35809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35810 (eval "$ac_compile") 2>conftest.er1
35811 ac_status=$?
35812 grep -v '^ *+' conftest.er1 >conftest.err
35813 rm -f conftest.er1
35814 cat conftest.err >&5
35815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35816 (exit $ac_status); } && {
35817 test -z "$ac_c_werror_flag" ||
35818 test ! -s conftest.err
35819 } && test -s conftest.$ac_objext; then
35820 ac_cv_type_ssize_t=yes
35821 else
35822 echo "$as_me: failed program was:" >&5
35823 sed 's/^/| /' conftest.$ac_ext >&5
35824
35825 ac_cv_type_ssize_t=no
35826 fi
35827
35828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35829 fi
35830 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35831 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35832 if test $ac_cv_type_ssize_t = yes; then
35833
35834 cat >>confdefs.h <<_ACEOF
35835 #define HAVE_SSIZE_T 1
35836 _ACEOF
35837
35838
35839 fi
35840
35841
35842 ac_ext=cpp
35843 ac_cpp='$CXXCPP $CPPFLAGS'
35844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35847 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35848 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35849 if test "${wx_cv_size_t_is_uint+set}" = set; then
35850 echo $ECHO_N "(cached) $ECHO_C" >&6
35851 else
35852
35853 cat >conftest.$ac_ext <<_ACEOF
35854 /* confdefs.h. */
35855 _ACEOF
35856 cat confdefs.h >>conftest.$ac_ext
35857 cat >>conftest.$ac_ext <<_ACEOF
35858 /* end confdefs.h. */
35859 #include <stddef.h>
35860 int
35861 main ()
35862 {
35863
35864 return 0; }
35865
35866 struct Foo { void foo(size_t); void foo(unsigned int); };
35867
35868 int bar() {
35869
35870 ;
35871 return 0;
35872 }
35873 _ACEOF
35874 rm -f conftest.$ac_objext
35875 if { (ac_try="$ac_compile"
35876 case "(($ac_try" in
35877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35878 *) ac_try_echo=$ac_try;;
35879 esac
35880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35881 (eval "$ac_compile") 2>conftest.er1
35882 ac_status=$?
35883 grep -v '^ *+' conftest.er1 >conftest.err
35884 rm -f conftest.er1
35885 cat conftest.err >&5
35886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35887 (exit $ac_status); } && {
35888 test -z "$ac_cxx_werror_flag" ||
35889 test ! -s conftest.err
35890 } && test -s conftest.$ac_objext; then
35891 wx_cv_size_t_is_uint=no
35892 else
35893 echo "$as_me: failed program was:" >&5
35894 sed 's/^/| /' conftest.$ac_ext >&5
35895
35896 wx_cv_size_t_is_uint=yes
35897
35898 fi
35899
35900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35901
35902
35903 fi
35904 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35905 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35906
35907 if test "$wx_cv_size_t_is_uint" = "yes"; then
35908 cat >>confdefs.h <<\_ACEOF
35909 #define wxSIZE_T_IS_UINT 1
35910 _ACEOF
35911
35912 else
35913 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35914 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35915 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35916 echo $ECHO_N "(cached) $ECHO_C" >&6
35917 else
35918 cat >conftest.$ac_ext <<_ACEOF
35919 /* confdefs.h. */
35920 _ACEOF
35921 cat confdefs.h >>conftest.$ac_ext
35922 cat >>conftest.$ac_ext <<_ACEOF
35923 /* end confdefs.h. */
35924 #include <stddef.h>
35925 int
35926 main ()
35927 {
35928
35929 return 0; }
35930
35931 struct Foo { void foo(size_t); void foo(unsigned long); };
35932
35933 int bar() {
35934
35935 ;
35936 return 0;
35937 }
35938 _ACEOF
35939 rm -f conftest.$ac_objext
35940 if { (ac_try="$ac_compile"
35941 case "(($ac_try" in
35942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35943 *) ac_try_echo=$ac_try;;
35944 esac
35945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35946 (eval "$ac_compile") 2>conftest.er1
35947 ac_status=$?
35948 grep -v '^ *+' conftest.er1 >conftest.err
35949 rm -f conftest.er1
35950 cat conftest.err >&5
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); } && {
35953 test -z "$ac_cxx_werror_flag" ||
35954 test ! -s conftest.err
35955 } && test -s conftest.$ac_objext; then
35956 wx_cv_size_t_is_ulong=no
35957 else
35958 echo "$as_me: failed program was:" >&5
35959 sed 's/^/| /' conftest.$ac_ext >&5
35960
35961 wx_cv_size_t_is_ulong=yes
35962
35963 fi
35964
35965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35966
35967 fi
35968 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35969 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35970
35971 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35972 cat >>confdefs.h <<\_ACEOF
35973 #define wxSIZE_T_IS_ULONG 1
35974 _ACEOF
35975
35976 fi
35977 fi
35978
35979 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35980 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35981 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35982 echo $ECHO_N "(cached) $ECHO_C" >&6
35983 else
35984 cat >conftest.$ac_ext <<_ACEOF
35985 /* confdefs.h. */
35986 _ACEOF
35987 cat confdefs.h >>conftest.$ac_ext
35988 cat >>conftest.$ac_ext <<_ACEOF
35989 /* end confdefs.h. */
35990 #include <wchar.h>
35991 int
35992 main ()
35993 {
35994
35995 return 0; }
35996
35997 struct Foo { void foo(wchar_t);
35998 void foo(unsigned short);
35999 void foo(unsigned int);
36000 void foo(unsigned long); };
36001
36002 int bar() {
36003
36004 ;
36005 return 0;
36006 }
36007 _ACEOF
36008 rm -f conftest.$ac_objext
36009 if { (ac_try="$ac_compile"
36010 case "(($ac_try" in
36011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36012 *) ac_try_echo=$ac_try;;
36013 esac
36014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36015 (eval "$ac_compile") 2>conftest.er1
36016 ac_status=$?
36017 grep -v '^ *+' conftest.er1 >conftest.err
36018 rm -f conftest.er1
36019 cat conftest.err >&5
36020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021 (exit $ac_status); } && {
36022 test -z "$ac_cxx_werror_flag" ||
36023 test ! -s conftest.err
36024 } && test -s conftest.$ac_objext; then
36025 wx_cv_wchar_t_is_separate_type=yes
36026 else
36027 echo "$as_me: failed program was:" >&5
36028 sed 's/^/| /' conftest.$ac_ext >&5
36029
36030 wx_cv_wchar_t_is_separate_type=no
36031
36032 fi
36033
36034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36035
36036 fi
36037 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36038 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36039
36040 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36041 cat >>confdefs.h <<\_ACEOF
36042 #define wxWCHAR_T_IS_REAL_TYPE 1
36043 _ACEOF
36044
36045 else
36046 cat >>confdefs.h <<\_ACEOF
36047 #define wxWCHAR_T_IS_REAL_TYPE 0
36048 _ACEOF
36049
36050 fi
36051
36052 ac_ext=c
36053 ac_cpp='$CPP $CPPFLAGS'
36054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36057
36058
36059 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36060 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36061 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36062 echo $ECHO_N "(cached) $ECHO_C" >&6
36063 else
36064
36065 cat >conftest.$ac_ext <<_ACEOF
36066 /* confdefs.h. */
36067 _ACEOF
36068 cat confdefs.h >>conftest.$ac_ext
36069 cat >>conftest.$ac_ext <<_ACEOF
36070 /* end confdefs.h. */
36071 #include <pwd.h>
36072 int
36073 main ()
36074 {
36075
36076 char *p;
36077 struct passwd *pw;
36078 p = pw->pw_gecos;
36079
36080 ;
36081 return 0;
36082 }
36083 _ACEOF
36084 rm -f conftest.$ac_objext
36085 if { (ac_try="$ac_compile"
36086 case "(($ac_try" in
36087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36088 *) ac_try_echo=$ac_try;;
36089 esac
36090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36091 (eval "$ac_compile") 2>conftest.er1
36092 ac_status=$?
36093 grep -v '^ *+' conftest.er1 >conftest.err
36094 rm -f conftest.er1
36095 cat conftest.err >&5
36096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36097 (exit $ac_status); } && {
36098 test -z "$ac_c_werror_flag" ||
36099 test ! -s conftest.err
36100 } && test -s conftest.$ac_objext; then
36101
36102 wx_cv_struct_pw_gecos=yes
36103
36104 else
36105 echo "$as_me: failed program was:" >&5
36106 sed 's/^/| /' conftest.$ac_ext >&5
36107
36108
36109 wx_cv_struct_pw_gecos=no
36110
36111
36112 fi
36113
36114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36115
36116
36117 fi
36118 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36119 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36120
36121 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36122 cat >>confdefs.h <<\_ACEOF
36123 #define HAVE_PW_GECOS 1
36124 _ACEOF
36125
36126 fi
36127
36128
36129 WCSLEN_FOUND=0
36130 WCHAR_LINK=
36131
36132 for ac_func in wcslen
36133 do
36134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36135 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36137 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36138 echo $ECHO_N "(cached) $ECHO_C" >&6
36139 else
36140 cat >conftest.$ac_ext <<_ACEOF
36141 /* confdefs.h. */
36142 _ACEOF
36143 cat confdefs.h >>conftest.$ac_ext
36144 cat >>conftest.$ac_ext <<_ACEOF
36145 /* end confdefs.h. */
36146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36148 #define $ac_func innocuous_$ac_func
36149
36150 /* System header to define __stub macros and hopefully few prototypes,
36151 which can conflict with char $ac_func (); below.
36152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36153 <limits.h> exists even on freestanding compilers. */
36154
36155 #ifdef __STDC__
36156 # include <limits.h>
36157 #else
36158 # include <assert.h>
36159 #endif
36160
36161 #undef $ac_func
36162
36163 /* Override any GCC internal prototype to avoid an error.
36164 Use char because int might match the return type of a GCC
36165 builtin and then its argument prototype would still apply. */
36166 #ifdef __cplusplus
36167 extern "C"
36168 #endif
36169 char $ac_func ();
36170 /* The GNU C library defines this for functions which it implements
36171 to always fail with ENOSYS. Some functions are actually named
36172 something starting with __ and the normal name is an alias. */
36173 #if defined __stub_$ac_func || defined __stub___$ac_func
36174 choke me
36175 #endif
36176
36177 int
36178 main ()
36179 {
36180 return $ac_func ();
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 eval "$as_ac_var=yes"
36204 else
36205 echo "$as_me: failed program was:" >&5
36206 sed 's/^/| /' conftest.$ac_ext >&5
36207
36208 eval "$as_ac_var=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 fi
36214 ac_res=`eval echo '${'$as_ac_var'}'`
36215 { echo "$as_me:$LINENO: result: $ac_res" >&5
36216 echo "${ECHO_T}$ac_res" >&6; }
36217 if test `eval echo '${'$as_ac_var'}'` = yes; then
36218 cat >>confdefs.h <<_ACEOF
36219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36220 _ACEOF
36221 WCSLEN_FOUND=1
36222 fi
36223 done
36224
36225
36226 if test "$WCSLEN_FOUND" = 0; then
36227 if test "$TOOLKIT" = "MSW"; then
36228 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36229 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36230 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36231 echo $ECHO_N "(cached) $ECHO_C" >&6
36232 else
36233 ac_check_lib_save_LIBS=$LIBS
36234 LIBS="-lmsvcrt $LIBS"
36235 cat >conftest.$ac_ext <<_ACEOF
36236 /* confdefs.h. */
36237 _ACEOF
36238 cat confdefs.h >>conftest.$ac_ext
36239 cat >>conftest.$ac_ext <<_ACEOF
36240 /* end confdefs.h. */
36241
36242 /* Override any GCC internal prototype to avoid an error.
36243 Use char because int might match the return type of a GCC
36244 builtin and then its argument prototype would still apply. */
36245 #ifdef __cplusplus
36246 extern "C"
36247 #endif
36248 char wcslen ();
36249 int
36250 main ()
36251 {
36252 return wcslen ();
36253 ;
36254 return 0;
36255 }
36256 _ACEOF
36257 rm -f conftest.$ac_objext conftest$ac_exeext
36258 if { (ac_try="$ac_link"
36259 case "(($ac_try" in
36260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36261 *) ac_try_echo=$ac_try;;
36262 esac
36263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36264 (eval "$ac_link") 2>conftest.er1
36265 ac_status=$?
36266 grep -v '^ *+' conftest.er1 >conftest.err
36267 rm -f conftest.er1
36268 cat conftest.err >&5
36269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36270 (exit $ac_status); } && {
36271 test -z "$ac_c_werror_flag" ||
36272 test ! -s conftest.err
36273 } && test -s conftest$ac_exeext &&
36274 $as_test_x conftest$ac_exeext; then
36275 ac_cv_lib_msvcrt_wcslen=yes
36276 else
36277 echo "$as_me: failed program was:" >&5
36278 sed 's/^/| /' conftest.$ac_ext >&5
36279
36280 ac_cv_lib_msvcrt_wcslen=no
36281 fi
36282
36283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36284 conftest$ac_exeext conftest.$ac_ext
36285 LIBS=$ac_check_lib_save_LIBS
36286 fi
36287 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36288 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36289 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36290 WCHAR_OK=1
36291 fi
36292
36293 else
36294 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36295 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36296 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36297 echo $ECHO_N "(cached) $ECHO_C" >&6
36298 else
36299 ac_check_lib_save_LIBS=$LIBS
36300 LIBS="-lw $LIBS"
36301 cat >conftest.$ac_ext <<_ACEOF
36302 /* confdefs.h. */
36303 _ACEOF
36304 cat confdefs.h >>conftest.$ac_ext
36305 cat >>conftest.$ac_ext <<_ACEOF
36306 /* end confdefs.h. */
36307
36308 /* Override any GCC internal prototype to avoid an error.
36309 Use char because int might match the return type of a GCC
36310 builtin and then its argument prototype would still apply. */
36311 #ifdef __cplusplus
36312 extern "C"
36313 #endif
36314 char wcslen ();
36315 int
36316 main ()
36317 {
36318 return wcslen ();
36319 ;
36320 return 0;
36321 }
36322 _ACEOF
36323 rm -f conftest.$ac_objext conftest$ac_exeext
36324 if { (ac_try="$ac_link"
36325 case "(($ac_try" in
36326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36327 *) ac_try_echo=$ac_try;;
36328 esac
36329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36330 (eval "$ac_link") 2>conftest.er1
36331 ac_status=$?
36332 grep -v '^ *+' conftest.er1 >conftest.err
36333 rm -f conftest.er1
36334 cat conftest.err >&5
36335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36336 (exit $ac_status); } && {
36337 test -z "$ac_c_werror_flag" ||
36338 test ! -s conftest.err
36339 } && test -s conftest$ac_exeext &&
36340 $as_test_x conftest$ac_exeext; then
36341 ac_cv_lib_w_wcslen=yes
36342 else
36343 echo "$as_me: failed program was:" >&5
36344 sed 's/^/| /' conftest.$ac_ext >&5
36345
36346 ac_cv_lib_w_wcslen=no
36347 fi
36348
36349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36350 conftest$ac_exeext conftest.$ac_ext
36351 LIBS=$ac_check_lib_save_LIBS
36352 fi
36353 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36354 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36355 if test $ac_cv_lib_w_wcslen = yes; then
36356
36357 WCHAR_LINK=" -lw"
36358 WCSLEN_FOUND=1
36359
36360 fi
36361
36362 fi
36363 fi
36364
36365 if test "$WCSLEN_FOUND" = 1; then
36366 cat >>confdefs.h <<\_ACEOF
36367 #define HAVE_WCSLEN 1
36368 _ACEOF
36369
36370 fi
36371
36372
36373
36374
36375
36376
36377
36378 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36379 do
36380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36381 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36383 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36384 echo $ECHO_N "(cached) $ECHO_C" >&6
36385 else
36386 cat >conftest.$ac_ext <<_ACEOF
36387 /* confdefs.h. */
36388 _ACEOF
36389 cat confdefs.h >>conftest.$ac_ext
36390 cat >>conftest.$ac_ext <<_ACEOF
36391 /* end confdefs.h. */
36392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36394 #define $ac_func innocuous_$ac_func
36395
36396 /* System header to define __stub macros and hopefully few prototypes,
36397 which can conflict with char $ac_func (); below.
36398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36399 <limits.h> exists even on freestanding compilers. */
36400
36401 #ifdef __STDC__
36402 # include <limits.h>
36403 #else
36404 # include <assert.h>
36405 #endif
36406
36407 #undef $ac_func
36408
36409 /* Override any GCC internal prototype to avoid an error.
36410 Use char because int might match the return type of a GCC
36411 builtin and then its argument prototype would still apply. */
36412 #ifdef __cplusplus
36413 extern "C"
36414 #endif
36415 char $ac_func ();
36416 /* The GNU C library defines this for functions which it implements
36417 to always fail with ENOSYS. Some functions are actually named
36418 something starting with __ and the normal name is an alias. */
36419 #if defined __stub_$ac_func || defined __stub___$ac_func
36420 choke me
36421 #endif
36422
36423 int
36424 main ()
36425 {
36426 return $ac_func ();
36427 ;
36428 return 0;
36429 }
36430 _ACEOF
36431 rm -f conftest.$ac_objext conftest$ac_exeext
36432 if { (ac_try="$ac_link"
36433 case "(($ac_try" in
36434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36435 *) ac_try_echo=$ac_try;;
36436 esac
36437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36438 (eval "$ac_link") 2>conftest.er1
36439 ac_status=$?
36440 grep -v '^ *+' conftest.er1 >conftest.err
36441 rm -f conftest.er1
36442 cat conftest.err >&5
36443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36444 (exit $ac_status); } && {
36445 test -z "$ac_c_werror_flag" ||
36446 test ! -s conftest.err
36447 } && test -s conftest$ac_exeext &&
36448 $as_test_x conftest$ac_exeext; then
36449 eval "$as_ac_var=yes"
36450 else
36451 echo "$as_me: failed program was:" >&5
36452 sed 's/^/| /' conftest.$ac_ext >&5
36453
36454 eval "$as_ac_var=no"
36455 fi
36456
36457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36458 conftest$ac_exeext conftest.$ac_ext
36459 fi
36460 ac_res=`eval echo '${'$as_ac_var'}'`
36461 { echo "$as_me:$LINENO: result: $ac_res" >&5
36462 echo "${ECHO_T}$ac_res" >&6; }
36463 if test `eval echo '${'$as_ac_var'}'` = yes; then
36464 cat >>confdefs.h <<_ACEOF
36465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36466 _ACEOF
36467
36468 fi
36469 done
36470
36471
36472 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36473 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36474 fi
36475
36476 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36477 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36478 if test "${ac_cv_type_mbstate_t+set}" = set; then
36479 echo $ECHO_N "(cached) $ECHO_C" >&6
36480 else
36481 cat >conftest.$ac_ext <<_ACEOF
36482 /* confdefs.h. */
36483 _ACEOF
36484 cat confdefs.h >>conftest.$ac_ext
36485 cat >>conftest.$ac_ext <<_ACEOF
36486 /* end confdefs.h. */
36487 #include <wchar.h>
36488
36489 typedef mbstate_t ac__type_new_;
36490 int
36491 main ()
36492 {
36493 if ((ac__type_new_ *) 0)
36494 return 0;
36495 if (sizeof (ac__type_new_))
36496 return 0;
36497 ;
36498 return 0;
36499 }
36500 _ACEOF
36501 rm -f conftest.$ac_objext
36502 if { (ac_try="$ac_compile"
36503 case "(($ac_try" in
36504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36505 *) ac_try_echo=$ac_try;;
36506 esac
36507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36508 (eval "$ac_compile") 2>conftest.er1
36509 ac_status=$?
36510 grep -v '^ *+' conftest.er1 >conftest.err
36511 rm -f conftest.er1
36512 cat conftest.err >&5
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); } && {
36515 test -z "$ac_c_werror_flag" ||
36516 test ! -s conftest.err
36517 } && test -s conftest.$ac_objext; then
36518 ac_cv_type_mbstate_t=yes
36519 else
36520 echo "$as_me: failed program was:" >&5
36521 sed 's/^/| /' conftest.$ac_ext >&5
36522
36523 ac_cv_type_mbstate_t=no
36524 fi
36525
36526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36527 fi
36528 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36529 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36530 if test $ac_cv_type_mbstate_t = yes; then
36531
36532 cat >>confdefs.h <<_ACEOF
36533 #define HAVE_MBSTATE_T 1
36534 _ACEOF
36535
36536
36537 for ac_func in wcsrtombs
36538 do
36539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36542 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36543 echo $ECHO_N "(cached) $ECHO_C" >&6
36544 else
36545 cat >conftest.$ac_ext <<_ACEOF
36546 /* confdefs.h. */
36547 _ACEOF
36548 cat confdefs.h >>conftest.$ac_ext
36549 cat >>conftest.$ac_ext <<_ACEOF
36550 /* end confdefs.h. */
36551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36553 #define $ac_func innocuous_$ac_func
36554
36555 /* System header to define __stub macros and hopefully few prototypes,
36556 which can conflict with char $ac_func (); below.
36557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36558 <limits.h> exists even on freestanding compilers. */
36559
36560 #ifdef __STDC__
36561 # include <limits.h>
36562 #else
36563 # include <assert.h>
36564 #endif
36565
36566 #undef $ac_func
36567
36568 /* Override any GCC internal prototype to avoid an error.
36569 Use char because int might match the return type of a GCC
36570 builtin and then its argument prototype would still apply. */
36571 #ifdef __cplusplus
36572 extern "C"
36573 #endif
36574 char $ac_func ();
36575 /* The GNU C library defines this for functions which it implements
36576 to always fail with ENOSYS. Some functions are actually named
36577 something starting with __ and the normal name is an alias. */
36578 #if defined __stub_$ac_func || defined __stub___$ac_func
36579 choke me
36580 #endif
36581
36582 int
36583 main ()
36584 {
36585 return $ac_func ();
36586 ;
36587 return 0;
36588 }
36589 _ACEOF
36590 rm -f conftest.$ac_objext conftest$ac_exeext
36591 if { (ac_try="$ac_link"
36592 case "(($ac_try" in
36593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36594 *) ac_try_echo=$ac_try;;
36595 esac
36596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36597 (eval "$ac_link") 2>conftest.er1
36598 ac_status=$?
36599 grep -v '^ *+' conftest.er1 >conftest.err
36600 rm -f conftest.er1
36601 cat conftest.err >&5
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); } && {
36604 test -z "$ac_c_werror_flag" ||
36605 test ! -s conftest.err
36606 } && test -s conftest$ac_exeext &&
36607 $as_test_x conftest$ac_exeext; then
36608 eval "$as_ac_var=yes"
36609 else
36610 echo "$as_me: failed program was:" >&5
36611 sed 's/^/| /' conftest.$ac_ext >&5
36612
36613 eval "$as_ac_var=no"
36614 fi
36615
36616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36617 conftest$ac_exeext conftest.$ac_ext
36618 fi
36619 ac_res=`eval echo '${'$as_ac_var'}'`
36620 { echo "$as_me:$LINENO: result: $ac_res" >&5
36621 echo "${ECHO_T}$ac_res" >&6; }
36622 if test `eval echo '${'$as_ac_var'}'` = yes; then
36623 cat >>confdefs.h <<_ACEOF
36624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36625 _ACEOF
36626
36627 fi
36628 done
36629
36630 fi
36631
36632
36633
36634
36635
36636 for ac_func in snprintf vsnprintf vsscanf
36637 do
36638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36639 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36641 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36642 echo $ECHO_N "(cached) $ECHO_C" >&6
36643 else
36644 cat >conftest.$ac_ext <<_ACEOF
36645 /* confdefs.h. */
36646 _ACEOF
36647 cat confdefs.h >>conftest.$ac_ext
36648 cat >>conftest.$ac_ext <<_ACEOF
36649 /* end confdefs.h. */
36650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36652 #define $ac_func innocuous_$ac_func
36653
36654 /* System header to define __stub macros and hopefully few prototypes,
36655 which can conflict with char $ac_func (); below.
36656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36657 <limits.h> exists even on freestanding compilers. */
36658
36659 #ifdef __STDC__
36660 # include <limits.h>
36661 #else
36662 # include <assert.h>
36663 #endif
36664
36665 #undef $ac_func
36666
36667 /* Override any GCC internal prototype to avoid an error.
36668 Use char because int might match the return type of a GCC
36669 builtin and then its argument prototype would still apply. */
36670 #ifdef __cplusplus
36671 extern "C"
36672 #endif
36673 char $ac_func ();
36674 /* The GNU C library defines this for functions which it implements
36675 to always fail with ENOSYS. Some functions are actually named
36676 something starting with __ and the normal name is an alias. */
36677 #if defined __stub_$ac_func || defined __stub___$ac_func
36678 choke me
36679 #endif
36680
36681 int
36682 main ()
36683 {
36684 return $ac_func ();
36685 ;
36686 return 0;
36687 }
36688 _ACEOF
36689 rm -f conftest.$ac_objext conftest$ac_exeext
36690 if { (ac_try="$ac_link"
36691 case "(($ac_try" in
36692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36693 *) ac_try_echo=$ac_try;;
36694 esac
36695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36696 (eval "$ac_link") 2>conftest.er1
36697 ac_status=$?
36698 grep -v '^ *+' conftest.er1 >conftest.err
36699 rm -f conftest.er1
36700 cat conftest.err >&5
36701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36702 (exit $ac_status); } && {
36703 test -z "$ac_c_werror_flag" ||
36704 test ! -s conftest.err
36705 } && test -s conftest$ac_exeext &&
36706 $as_test_x conftest$ac_exeext; then
36707 eval "$as_ac_var=yes"
36708 else
36709 echo "$as_me: failed program was:" >&5
36710 sed 's/^/| /' conftest.$ac_ext >&5
36711
36712 eval "$as_ac_var=no"
36713 fi
36714
36715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36716 conftest$ac_exeext conftest.$ac_ext
36717 fi
36718 ac_res=`eval echo '${'$as_ac_var'}'`
36719 { echo "$as_me:$LINENO: result: $ac_res" >&5
36720 echo "${ECHO_T}$ac_res" >&6; }
36721 if test `eval echo '${'$as_ac_var'}'` = yes; then
36722 cat >>confdefs.h <<_ACEOF
36723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36724 _ACEOF
36725
36726 fi
36727 done
36728
36729
36730 ac_ext=cpp
36731 ac_cpp='$CXXCPP $CPPFLAGS'
36732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36735
36736 if test "$ac_cv_func_vsnprintf" = "yes"; then
36737 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36738 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36739 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36740 echo $ECHO_N "(cached) $ECHO_C" >&6
36741 else
36742
36743 cat >conftest.$ac_ext <<_ACEOF
36744 /* confdefs.h. */
36745 _ACEOF
36746 cat confdefs.h >>conftest.$ac_ext
36747 cat >>conftest.$ac_ext <<_ACEOF
36748 /* end confdefs.h. */
36749
36750 #include <stdio.h>
36751 #include <stdarg.h>
36752 #ifdef __MSL__
36753 #if __MSL__ >= 0x6000
36754 namespace std {}
36755 using namespace std;
36756 #endif
36757 #endif
36758
36759 int
36760 main ()
36761 {
36762
36763 char *buf;
36764 va_list ap;
36765 vsnprintf(buf, 10u, "%s", ap);
36766
36767 ;
36768 return 0;
36769 }
36770 _ACEOF
36771 rm -f conftest.$ac_objext
36772 if { (ac_try="$ac_compile"
36773 case "(($ac_try" in
36774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36775 *) ac_try_echo=$ac_try;;
36776 esac
36777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36778 (eval "$ac_compile") 2>conftest.er1
36779 ac_status=$?
36780 grep -v '^ *+' conftest.er1 >conftest.err
36781 rm -f conftest.er1
36782 cat conftest.err >&5
36783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 (exit $ac_status); } && {
36785 test -z "$ac_cxx_werror_flag" ||
36786 test ! -s conftest.err
36787 } && test -s conftest.$ac_objext; then
36788 wx_cv_func_vsnprintf_decl=yes
36789 else
36790 echo "$as_me: failed program was:" >&5
36791 sed 's/^/| /' conftest.$ac_ext >&5
36792
36793 wx_cv_func_vsnprintf_decl=no
36794
36795 fi
36796
36797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36798
36799
36800 fi
36801 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36802 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36803
36804 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36805 cat >>confdefs.h <<\_ACEOF
36806 #define HAVE_VSNPRINTF_DECL 1
36807 _ACEOF
36808
36809
36810 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36811 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36812 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36813 echo $ECHO_N "(cached) $ECHO_C" >&6
36814 else
36815
36816 cat >conftest.$ac_ext <<_ACEOF
36817 /* confdefs.h. */
36818 _ACEOF
36819 cat confdefs.h >>conftest.$ac_ext
36820 cat >>conftest.$ac_ext <<_ACEOF
36821 /* end confdefs.h. */
36822
36823 #include <stdio.h>
36824 #include <stdarg.h>
36825 #ifdef __MSL__
36826 #if __MSL__ >= 0x6000
36827 namespace std {}
36828 using namespace std;
36829 #endif
36830 #endif
36831
36832 int
36833 main ()
36834 {
36835
36836 char *buf;
36837 va_list ap;
36838 const char *fmt = "%s";
36839 vsnprintf(buf, 10u, fmt, ap);
36840
36841 ;
36842 return 0;
36843 }
36844 _ACEOF
36845 rm -f conftest.$ac_objext
36846 if { (ac_try="$ac_compile"
36847 case "(($ac_try" in
36848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36849 *) ac_try_echo=$ac_try;;
36850 esac
36851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36852 (eval "$ac_compile") 2>conftest.er1
36853 ac_status=$?
36854 grep -v '^ *+' conftest.er1 >conftest.err
36855 rm -f conftest.er1
36856 cat conftest.err >&5
36857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858 (exit $ac_status); } && {
36859 test -z "$ac_cxx_werror_flag" ||
36860 test ! -s conftest.err
36861 } && test -s conftest.$ac_objext; then
36862 wx_cv_func_broken_vsnprintf_decl=no
36863 else
36864 echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.$ac_ext >&5
36866
36867 wx_cv_func_broken_vsnprintf_decl=yes
36868
36869 fi
36870
36871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36872
36873
36874 fi
36875 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36876 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36877
36878 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36879 cat >>confdefs.h <<\_ACEOF
36880 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36881 _ACEOF
36882
36883 fi
36884 fi
36885 fi
36886
36887 if test "$ac_cv_func_snprintf" = "yes"; then
36888 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36889 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36890 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36891 echo $ECHO_N "(cached) $ECHO_C" >&6
36892 else
36893
36894 cat >conftest.$ac_ext <<_ACEOF
36895 /* confdefs.h. */
36896 _ACEOF
36897 cat confdefs.h >>conftest.$ac_ext
36898 cat >>conftest.$ac_ext <<_ACEOF
36899 /* end confdefs.h. */
36900
36901 #include <stdio.h>
36902 #include <stdarg.h>
36903 #ifdef __MSL__
36904 #if __MSL__ >= 0x6000
36905 namespace std {}
36906 using namespace std;
36907 #endif
36908 #endif
36909
36910 int
36911 main ()
36912 {
36913
36914 char *buf;
36915 snprintf(buf, 10u, "%s", "wx");
36916
36917 ;
36918 return 0;
36919 }
36920 _ACEOF
36921 rm -f conftest.$ac_objext
36922 if { (ac_try="$ac_compile"
36923 case "(($ac_try" in
36924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36925 *) ac_try_echo=$ac_try;;
36926 esac
36927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36928 (eval "$ac_compile") 2>conftest.er1
36929 ac_status=$?
36930 grep -v '^ *+' conftest.er1 >conftest.err
36931 rm -f conftest.er1
36932 cat conftest.err >&5
36933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36934 (exit $ac_status); } && {
36935 test -z "$ac_cxx_werror_flag" ||
36936 test ! -s conftest.err
36937 } && test -s conftest.$ac_objext; then
36938 wx_cv_func_snprintf_decl=yes
36939 else
36940 echo "$as_me: failed program was:" >&5
36941 sed 's/^/| /' conftest.$ac_ext >&5
36942
36943 wx_cv_func_snprintf_decl=no
36944
36945 fi
36946
36947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36948
36949
36950 fi
36951 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36952 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36953
36954 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36955 cat >>confdefs.h <<\_ACEOF
36956 #define HAVE_SNPRINTF_DECL 1
36957 _ACEOF
36958
36959 fi
36960
36961 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36962
36963 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36964 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36965 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36966 echo $ECHO_N "(cached) $ECHO_C" >&6
36967 else
36968
36969 if test "$cross_compiling" = yes; then
36970
36971 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36972 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36973 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36974 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36975 wx_cv_func_snprintf_pos_params=no
36976
36977
36978 else
36979 cat >conftest.$ac_ext <<_ACEOF
36980 /* confdefs.h. */
36981 _ACEOF
36982 cat confdefs.h >>conftest.$ac_ext
36983 cat >>conftest.$ac_ext <<_ACEOF
36984 /* end confdefs.h. */
36985
36986 #include <stdio.h>
36987
36988 int main (void)
36989 {
36990 char buffer[128];
36991 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36992 if (strcmp ("2 3 1", buffer) == 0)
36993 exit (0);
36994 exit (1);
36995 }
36996
36997 _ACEOF
36998 rm -f conftest$ac_exeext
36999 if { (ac_try="$ac_link"
37000 case "(($ac_try" in
37001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37002 *) ac_try_echo=$ac_try;;
37003 esac
37004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37005 (eval "$ac_link") 2>&5
37006 ac_status=$?
37007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37009 { (case "(($ac_try" in
37010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37011 *) ac_try_echo=$ac_try;;
37012 esac
37013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37014 (eval "$ac_try") 2>&5
37015 ac_status=$?
37016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37017 (exit $ac_status); }; }; then
37018 wx_cv_func_snprintf_pos_params=no
37019 else
37020 echo "$as_me: program exited with status $ac_status" >&5
37021 echo "$as_me: failed program was:" >&5
37022 sed 's/^/| /' conftest.$ac_ext >&5
37023
37024 ( exit $ac_status )
37025 wx_cv_func_snprintf_pos_params=yes
37026 fi
37027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37028 fi
37029
37030
37031
37032
37033 fi
37034 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37035 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37036
37037 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37038 cat >>confdefs.h <<\_ACEOF
37039 #define HAVE_UNIX98_PRINTF 1
37040 _ACEOF
37041
37042 fi
37043 fi
37044 fi
37045
37046 if test "$ac_cv_func_vsscanf" = "yes"; then
37047 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37048 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37049 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37050 echo $ECHO_N "(cached) $ECHO_C" >&6
37051 else
37052
37053 cat >conftest.$ac_ext <<_ACEOF
37054 /* confdefs.h. */
37055 _ACEOF
37056 cat confdefs.h >>conftest.$ac_ext
37057 cat >>conftest.$ac_ext <<_ACEOF
37058 /* end confdefs.h. */
37059
37060 #include <stdio.h>
37061 #include <stdarg.h>
37062 #ifdef __MSL__
37063 #if __MSL__ >= 0x6000
37064 namespace std {}
37065 using namespace std;
37066 #endif
37067 #endif
37068
37069 int
37070 main ()
37071 {
37072
37073 char *buf;
37074 va_list args;
37075 vsscanf(buf, "%s", args);
37076
37077 ;
37078 return 0;
37079 }
37080 _ACEOF
37081 rm -f conftest.$ac_objext
37082 if { (ac_try="$ac_compile"
37083 case "(($ac_try" in
37084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37085 *) ac_try_echo=$ac_try;;
37086 esac
37087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37088 (eval "$ac_compile") 2>conftest.er1
37089 ac_status=$?
37090 grep -v '^ *+' conftest.er1 >conftest.err
37091 rm -f conftest.er1
37092 cat conftest.err >&5
37093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094 (exit $ac_status); } && {
37095 test -z "$ac_cxx_werror_flag" ||
37096 test ! -s conftest.err
37097 } && test -s conftest.$ac_objext; then
37098 wx_cv_func_vsscanf_decl=yes
37099 else
37100 echo "$as_me: failed program was:" >&5
37101 sed 's/^/| /' conftest.$ac_ext >&5
37102
37103 wx_cv_func_vsscanf_decl=no
37104
37105 fi
37106
37107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37108
37109
37110 fi
37111 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37112 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37113
37114 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37115 cat >>confdefs.h <<\_ACEOF
37116 #define HAVE_VSSCANF_DECL 1
37117 _ACEOF
37118
37119 fi
37120 fi
37121 ac_ext=c
37122 ac_cpp='$CPP $CPPFLAGS'
37123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37126
37127
37128 if test "$wxUSE_UNICODE" = yes; then
37129
37130 wchar_headers="#include <stdio.h>
37131 #include <wchar.h>"
37132 case "${host}" in
37133 *-*-solaris2* )
37134
37135 for ac_header in widec.h
37136 do
37137 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37138 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37140 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37141 echo $ECHO_N "(cached) $ECHO_C" >&6
37142 else
37143 cat >conftest.$ac_ext <<_ACEOF
37144 /* confdefs.h. */
37145 _ACEOF
37146 cat confdefs.h >>conftest.$ac_ext
37147 cat >>conftest.$ac_ext <<_ACEOF
37148 /* end confdefs.h. */
37149 $ac_includes_default
37150
37151 #include <$ac_header>
37152 _ACEOF
37153 rm -f conftest.$ac_objext
37154 if { (ac_try="$ac_compile"
37155 case "(($ac_try" in
37156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37157 *) ac_try_echo=$ac_try;;
37158 esac
37159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37160 (eval "$ac_compile") 2>conftest.er1
37161 ac_status=$?
37162 grep -v '^ *+' conftest.er1 >conftest.err
37163 rm -f conftest.er1
37164 cat conftest.err >&5
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); } && {
37167 test -z "$ac_c_werror_flag" ||
37168 test ! -s conftest.err
37169 } && test -s conftest.$ac_objext; then
37170 eval "$as_ac_Header=yes"
37171 else
37172 echo "$as_me: failed program was:" >&5
37173 sed 's/^/| /' conftest.$ac_ext >&5
37174
37175 eval "$as_ac_Header=no"
37176 fi
37177
37178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37179 fi
37180 ac_res=`eval echo '${'$as_ac_Header'}'`
37181 { echo "$as_me:$LINENO: result: $ac_res" >&5
37182 echo "${ECHO_T}$ac_res" >&6; }
37183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37184 cat >>confdefs.h <<_ACEOF
37185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37186 _ACEOF
37187
37188 fi
37189
37190 done
37191
37192 if test "$ac_cv_header_widec_h" = "yes"; then
37193 wchar_headers="$wchar_headers
37194 #include <widec.h>"
37195 fi
37196 esac
37197
37198
37199 for wx_func in putws fputws wprintf vswprintf vswscanf
37200 do
37201 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37202 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37203 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37204 echo $ECHO_N "(cached) $ECHO_C" >&6
37205 else
37206
37207 cat >conftest.$ac_ext <<_ACEOF
37208
37209 /* confdefs.h. */
37210 _ACEOF
37211 cat confdefs.h >>conftest.$ac_ext
37212 cat >>conftest.$ac_ext <<_ACEOF
37213 /* end confdefs.h. */
37214
37215 $wchar_headers
37216 $ac_includes_default
37217
37218 int
37219 main ()
37220 {
37221
37222 #ifndef $wx_func
37223 &$wx_func;
37224 #endif
37225
37226
37227 ;
37228 return 0;
37229 }
37230
37231 _ACEOF
37232 rm -f conftest.$ac_objext conftest$ac_exeext
37233 if { (ac_try="$ac_link"
37234 case "(($ac_try" in
37235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37236 *) ac_try_echo=$ac_try;;
37237 esac
37238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37239 (eval "$ac_link") 2>conftest.er1
37240 ac_status=$?
37241 grep -v '^ *+' conftest.er1 >conftest.err
37242 rm -f conftest.er1
37243 cat conftest.err >&5
37244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37245 (exit $ac_status); } && {
37246 test -z "$ac_c_werror_flag" ||
37247 test ! -s conftest.err
37248 } && test -s conftest$ac_exeext &&
37249 $as_test_x conftest$ac_exeext; then
37250 eval wx_cv_func_$wx_func=yes
37251 else
37252 echo "$as_me: failed program was:" >&5
37253 sed 's/^/| /' conftest.$ac_ext >&5
37254
37255 eval wx_cv_func_$wx_func=no
37256 fi
37257
37258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37259 conftest$ac_exeext conftest.$ac_ext
37260
37261 fi
37262 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37263 { echo "$as_me:$LINENO: result: $ac_res" >&5
37264 echo "${ECHO_T}$ac_res" >&6; }
37265
37266 if eval test \$wx_cv_func_$wx_func = yes
37267 then
37268 cat >>confdefs.h <<_ACEOF
37269 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37270 _ACEOF
37271
37272
37273 else
37274 :
37275
37276 fi
37277 done
37278
37279
37280 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37281 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37282 cat >conftest.$ac_ext <<_ACEOF
37283 /* confdefs.h. */
37284 _ACEOF
37285 cat confdefs.h >>conftest.$ac_ext
37286 cat >>conftest.$ac_ext <<_ACEOF
37287 /* end confdefs.h. */
37288 #include <wchar.h>
37289 int
37290 main ()
37291 {
37292 &_vsnwprintf;
37293 ;
37294 return 0;
37295 }
37296 _ACEOF
37297 rm -f conftest.$ac_objext
37298 if { (ac_try="$ac_compile"
37299 case "(($ac_try" in
37300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37301 *) ac_try_echo=$ac_try;;
37302 esac
37303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37304 (eval "$ac_compile") 2>conftest.er1
37305 ac_status=$?
37306 grep -v '^ *+' conftest.er1 >conftest.err
37307 rm -f conftest.er1
37308 cat conftest.err >&5
37309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37310 (exit $ac_status); } && {
37311 test -z "$ac_c_werror_flag" ||
37312 test ! -s conftest.err
37313 } && test -s conftest.$ac_objext; then
37314 { echo "$as_me:$LINENO: result: yes" >&5
37315 echo "${ECHO_T}yes" >&6; }
37316 cat >>confdefs.h <<\_ACEOF
37317 #define HAVE__VSNWPRINTF 1
37318 _ACEOF
37319
37320 else
37321 echo "$as_me: failed program was:" >&5
37322 sed 's/^/| /' conftest.$ac_ext >&5
37323
37324 { echo "$as_me:$LINENO: result: no" >&5
37325 echo "${ECHO_T}no" >&6; }
37326 fi
37327
37328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37329 fi
37330
37331 if test "$wxUSE_FILE" = "yes"; then
37332
37333 for wx_func in fsync
37334 do
37335 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37336 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37337 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37338 echo $ECHO_N "(cached) $ECHO_C" >&6
37339 else
37340
37341 cat >conftest.$ac_ext <<_ACEOF
37342
37343 /* confdefs.h. */
37344 _ACEOF
37345 cat confdefs.h >>conftest.$ac_ext
37346 cat >>conftest.$ac_ext <<_ACEOF
37347 /* end confdefs.h. */
37348
37349
37350 $ac_includes_default
37351
37352 int
37353 main ()
37354 {
37355
37356 #ifndef $wx_func
37357 &$wx_func;
37358 #endif
37359
37360
37361 ;
37362 return 0;
37363 }
37364
37365 _ACEOF
37366 rm -f conftest.$ac_objext conftest$ac_exeext
37367 if { (ac_try="$ac_link"
37368 case "(($ac_try" in
37369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37370 *) ac_try_echo=$ac_try;;
37371 esac
37372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37373 (eval "$ac_link") 2>conftest.er1
37374 ac_status=$?
37375 grep -v '^ *+' conftest.er1 >conftest.err
37376 rm -f conftest.er1
37377 cat conftest.err >&5
37378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37379 (exit $ac_status); } && {
37380 test -z "$ac_c_werror_flag" ||
37381 test ! -s conftest.err
37382 } && test -s conftest$ac_exeext &&
37383 $as_test_x conftest$ac_exeext; then
37384 eval wx_cv_func_$wx_func=yes
37385 else
37386 echo "$as_me: failed program was:" >&5
37387 sed 's/^/| /' conftest.$ac_ext >&5
37388
37389 eval wx_cv_func_$wx_func=no
37390 fi
37391
37392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37393 conftest$ac_exeext conftest.$ac_ext
37394
37395 fi
37396 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37397 { echo "$as_me:$LINENO: result: $ac_res" >&5
37398 echo "${ECHO_T}$ac_res" >&6; }
37399
37400 if eval test \$wx_cv_func_$wx_func = yes
37401 then
37402 cat >>confdefs.h <<_ACEOF
37403 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37404 _ACEOF
37405
37406
37407 else
37408 :
37409
37410 fi
37411 done
37412
37413 fi
37414
37415 ac_ext=cpp
37416 ac_cpp='$CXXCPP $CPPFLAGS'
37417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37420
37421
37422 for wx_func in round
37423 do
37424 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37425 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37426 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37427 echo $ECHO_N "(cached) $ECHO_C" >&6
37428 else
37429
37430 cat >conftest.$ac_ext <<_ACEOF
37431
37432 /* confdefs.h. */
37433 _ACEOF
37434 cat confdefs.h >>conftest.$ac_ext
37435 cat >>conftest.$ac_ext <<_ACEOF
37436 /* end confdefs.h. */
37437
37438 #include <math.h>
37439 $ac_includes_default
37440
37441 int
37442 main ()
37443 {
37444
37445 #ifndef $wx_func
37446 &$wx_func;
37447 #endif
37448
37449
37450 ;
37451 return 0;
37452 }
37453
37454 _ACEOF
37455 rm -f conftest.$ac_objext conftest$ac_exeext
37456 if { (ac_try="$ac_link"
37457 case "(($ac_try" in
37458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37459 *) ac_try_echo=$ac_try;;
37460 esac
37461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37462 (eval "$ac_link") 2>conftest.er1
37463 ac_status=$?
37464 grep -v '^ *+' conftest.er1 >conftest.err
37465 rm -f conftest.er1
37466 cat conftest.err >&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); } && {
37469 test -z "$ac_cxx_werror_flag" ||
37470 test ! -s conftest.err
37471 } && test -s conftest$ac_exeext &&
37472 $as_test_x conftest$ac_exeext; then
37473 eval wx_cv_func_$wx_func=yes
37474 else
37475 echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.$ac_ext >&5
37477
37478 eval wx_cv_func_$wx_func=no
37479 fi
37480
37481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37482 conftest$ac_exeext conftest.$ac_ext
37483
37484 fi
37485 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37486 { echo "$as_me:$LINENO: result: $ac_res" >&5
37487 echo "${ECHO_T}$ac_res" >&6; }
37488
37489 if eval test \$wx_cv_func_$wx_func = yes
37490 then
37491 cat >>confdefs.h <<_ACEOF
37492 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37493 _ACEOF
37494
37495
37496 else
37497 :
37498
37499 fi
37500 done
37501
37502 ac_ext=c
37503 ac_cpp='$CPP $CPPFLAGS'
37504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37507
37508
37509 if test "$TOOLKIT" != "MSW"; then
37510
37511 if test "$wxUSE_LIBICONV" != "no" ; then
37512
37513
37514
37515 # Check whether --with-libiconv-prefix was given.
37516 if test "${with_libiconv_prefix+set}" = set; then
37517 withval=$with_libiconv_prefix;
37518 for dir in `echo "$withval" | tr : ' '`; do
37519 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37520 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37521 done
37522
37523 fi
37524
37525
37526 { echo "$as_me:$LINENO: checking for iconv" >&5
37527 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37528 if test "${am_cv_func_iconv+set}" = set; then
37529 echo $ECHO_N "(cached) $ECHO_C" >&6
37530 else
37531
37532 am_cv_func_iconv="no, consider installing GNU libiconv"
37533 am_cv_lib_iconv=no
37534 cat >conftest.$ac_ext <<_ACEOF
37535 /* confdefs.h. */
37536 _ACEOF
37537 cat confdefs.h >>conftest.$ac_ext
37538 cat >>conftest.$ac_ext <<_ACEOF
37539 /* end confdefs.h. */
37540 #include <stdlib.h>
37541 #include <iconv.h>
37542 int
37543 main ()
37544 {
37545 iconv_t cd = iconv_open("","");
37546 iconv(cd,NULL,NULL,NULL,NULL);
37547 iconv_close(cd);
37548 ;
37549 return 0;
37550 }
37551 _ACEOF
37552 rm -f conftest.$ac_objext conftest$ac_exeext
37553 if { (ac_try="$ac_link"
37554 case "(($ac_try" in
37555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37556 *) ac_try_echo=$ac_try;;
37557 esac
37558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37559 (eval "$ac_link") 2>conftest.er1
37560 ac_status=$?
37561 grep -v '^ *+' conftest.er1 >conftest.err
37562 rm -f conftest.er1
37563 cat conftest.err >&5
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); } && {
37566 test -z "$ac_c_werror_flag" ||
37567 test ! -s conftest.err
37568 } && test -s conftest$ac_exeext &&
37569 $as_test_x conftest$ac_exeext; then
37570 am_cv_func_iconv=yes
37571 else
37572 echo "$as_me: failed program was:" >&5
37573 sed 's/^/| /' conftest.$ac_ext >&5
37574
37575
37576 fi
37577
37578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37579 conftest$ac_exeext conftest.$ac_ext
37580 if test "$am_cv_func_iconv" != yes; then
37581 am_save_LIBS="$LIBS"
37582 LIBS="$LIBS -liconv"
37583 cat >conftest.$ac_ext <<_ACEOF
37584 /* confdefs.h. */
37585 _ACEOF
37586 cat confdefs.h >>conftest.$ac_ext
37587 cat >>conftest.$ac_ext <<_ACEOF
37588 /* end confdefs.h. */
37589 #include <stdlib.h>
37590 #include <iconv.h>
37591 int
37592 main ()
37593 {
37594 iconv_t cd = iconv_open("","");
37595 iconv(cd,NULL,NULL,NULL,NULL);
37596 iconv_close(cd);
37597 ;
37598 return 0;
37599 }
37600 _ACEOF
37601 rm -f conftest.$ac_objext conftest$ac_exeext
37602 if { (ac_try="$ac_link"
37603 case "(($ac_try" in
37604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37605 *) ac_try_echo=$ac_try;;
37606 esac
37607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37608 (eval "$ac_link") 2>conftest.er1
37609 ac_status=$?
37610 grep -v '^ *+' conftest.er1 >conftest.err
37611 rm -f conftest.er1
37612 cat conftest.err >&5
37613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614 (exit $ac_status); } && {
37615 test -z "$ac_c_werror_flag" ||
37616 test ! -s conftest.err
37617 } && test -s conftest$ac_exeext &&
37618 $as_test_x conftest$ac_exeext; then
37619 am_cv_lib_iconv=yes
37620 am_cv_func_iconv=yes
37621 else
37622 echo "$as_me: failed program was:" >&5
37623 sed 's/^/| /' conftest.$ac_ext >&5
37624
37625
37626 fi
37627
37628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37629 conftest$ac_exeext conftest.$ac_ext
37630 LIBS="$am_save_LIBS"
37631 fi
37632
37633 fi
37634 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37635 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37636 if test "$am_cv_func_iconv" = yes; then
37637
37638 cat >>confdefs.h <<\_ACEOF
37639 #define HAVE_ICONV 1
37640 _ACEOF
37641
37642 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37643 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37644 if test "${wx_cv_func_iconv_const+set}" = set; then
37645 echo $ECHO_N "(cached) $ECHO_C" >&6
37646 else
37647 cat >conftest.$ac_ext <<_ACEOF
37648 /* confdefs.h. */
37649 _ACEOF
37650 cat confdefs.h >>conftest.$ac_ext
37651 cat >>conftest.$ac_ext <<_ACEOF
37652 /* end confdefs.h. */
37653
37654 #include <stdlib.h>
37655 #include <iconv.h>
37656 extern
37657 #ifdef __cplusplus
37658 "C"
37659 #endif
37660 #if defined(__STDC__) || defined(__cplusplus)
37661 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37662 #else
37663 size_t iconv();
37664 #endif
37665
37666 int
37667 main ()
37668 {
37669
37670 ;
37671 return 0;
37672 }
37673 _ACEOF
37674 rm -f conftest.$ac_objext
37675 if { (ac_try="$ac_compile"
37676 case "(($ac_try" in
37677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37678 *) ac_try_echo=$ac_try;;
37679 esac
37680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37681 (eval "$ac_compile") 2>conftest.er1
37682 ac_status=$?
37683 grep -v '^ *+' conftest.er1 >conftest.err
37684 rm -f conftest.er1
37685 cat conftest.err >&5
37686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37687 (exit $ac_status); } && {
37688 test -z "$ac_c_werror_flag" ||
37689 test ! -s conftest.err
37690 } && test -s conftest.$ac_objext; then
37691 wx_cv_func_iconv_const="no"
37692 else
37693 echo "$as_me: failed program was:" >&5
37694 sed 's/^/| /' conftest.$ac_ext >&5
37695
37696 wx_cv_func_iconv_const="yes"
37697
37698 fi
37699
37700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37701
37702 fi
37703 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37704 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37705
37706 iconv_const=
37707 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37708 iconv_const="const"
37709 fi
37710
37711
37712 cat >>confdefs.h <<_ACEOF
37713 #define ICONV_CONST $iconv_const
37714 _ACEOF
37715
37716 fi
37717 LIBICONV=
37718 if test "$am_cv_lib_iconv" = yes; then
37719 LIBICONV="-liconv"
37720 fi
37721
37722
37723 LIBS="$LIBICONV $LIBS"
37724 fi
37725
37726 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37727
37728 for ac_func in sigaction
37729 do
37730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37731 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37733 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37734 echo $ECHO_N "(cached) $ECHO_C" >&6
37735 else
37736 cat >conftest.$ac_ext <<_ACEOF
37737 /* confdefs.h. */
37738 _ACEOF
37739 cat confdefs.h >>conftest.$ac_ext
37740 cat >>conftest.$ac_ext <<_ACEOF
37741 /* end confdefs.h. */
37742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37744 #define $ac_func innocuous_$ac_func
37745
37746 /* System header to define __stub macros and hopefully few prototypes,
37747 which can conflict with char $ac_func (); below.
37748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37749 <limits.h> exists even on freestanding compilers. */
37750
37751 #ifdef __STDC__
37752 # include <limits.h>
37753 #else
37754 # include <assert.h>
37755 #endif
37756
37757 #undef $ac_func
37758
37759 /* Override any GCC internal prototype to avoid an error.
37760 Use char because int might match the return type of a GCC
37761 builtin and then its argument prototype would still apply. */
37762 #ifdef __cplusplus
37763 extern "C"
37764 #endif
37765 char $ac_func ();
37766 /* The GNU C library defines this for functions which it implements
37767 to always fail with ENOSYS. Some functions are actually named
37768 something starting with __ and the normal name is an alias. */
37769 #if defined __stub_$ac_func || defined __stub___$ac_func
37770 choke me
37771 #endif
37772
37773 int
37774 main ()
37775 {
37776 return $ac_func ();
37777 ;
37778 return 0;
37779 }
37780 _ACEOF
37781 rm -f conftest.$ac_objext conftest$ac_exeext
37782 if { (ac_try="$ac_link"
37783 case "(($ac_try" in
37784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37785 *) ac_try_echo=$ac_try;;
37786 esac
37787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37788 (eval "$ac_link") 2>conftest.er1
37789 ac_status=$?
37790 grep -v '^ *+' conftest.er1 >conftest.err
37791 rm -f conftest.er1
37792 cat conftest.err >&5
37793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794 (exit $ac_status); } && {
37795 test -z "$ac_c_werror_flag" ||
37796 test ! -s conftest.err
37797 } && test -s conftest$ac_exeext &&
37798 $as_test_x conftest$ac_exeext; then
37799 eval "$as_ac_var=yes"
37800 else
37801 echo "$as_me: failed program was:" >&5
37802 sed 's/^/| /' conftest.$ac_ext >&5
37803
37804 eval "$as_ac_var=no"
37805 fi
37806
37807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37808 conftest$ac_exeext conftest.$ac_ext
37809 fi
37810 ac_res=`eval echo '${'$as_ac_var'}'`
37811 { echo "$as_me:$LINENO: result: $ac_res" >&5
37812 echo "${ECHO_T}$ac_res" >&6; }
37813 if test `eval echo '${'$as_ac_var'}'` = yes; then
37814 cat >>confdefs.h <<_ACEOF
37815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37816 _ACEOF
37817
37818 fi
37819 done
37820
37821
37822 if test "$ac_cv_func_sigaction" = "no"; then
37823 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37824 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37825 wxUSE_ON_FATAL_EXCEPTION=no
37826 fi
37827
37828 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37829 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37830 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37831 if test "${wx_cv_type_sa_handler+set}" = set; then
37832 echo $ECHO_N "(cached) $ECHO_C" >&6
37833 else
37834
37835 ac_ext=cpp
37836 ac_cpp='$CXXCPP $CPPFLAGS'
37837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37840
37841 cat >conftest.$ac_ext <<_ACEOF
37842 /* confdefs.h. */
37843 _ACEOF
37844 cat confdefs.h >>conftest.$ac_ext
37845 cat >>conftest.$ac_ext <<_ACEOF
37846 /* end confdefs.h. */
37847 #include <signal.h>
37848 int
37849 main ()
37850 {
37851
37852 extern void testSigHandler(int);
37853
37854 struct sigaction sa;
37855 sa.sa_handler = testSigHandler;
37856
37857 ;
37858 return 0;
37859 }
37860 _ACEOF
37861 rm -f conftest.$ac_objext
37862 if { (ac_try="$ac_compile"
37863 case "(($ac_try" in
37864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37865 *) ac_try_echo=$ac_try;;
37866 esac
37867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37868 (eval "$ac_compile") 2>conftest.er1
37869 ac_status=$?
37870 grep -v '^ *+' conftest.er1 >conftest.err
37871 rm -f conftest.er1
37872 cat conftest.err >&5
37873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37874 (exit $ac_status); } && {
37875 test -z "$ac_cxx_werror_flag" ||
37876 test ! -s conftest.err
37877 } && test -s conftest.$ac_objext; then
37878
37879 wx_cv_type_sa_handler=int
37880
37881 else
37882 echo "$as_me: failed program was:" >&5
37883 sed 's/^/| /' conftest.$ac_ext >&5
37884
37885
37886 wx_cv_type_sa_handler=void
37887
37888 fi
37889
37890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37891 ac_ext=c
37892 ac_cpp='$CPP $CPPFLAGS'
37893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37896
37897
37898 fi
37899 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37900 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37901
37902 cat >>confdefs.h <<_ACEOF
37903 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37904 _ACEOF
37905
37906 fi
37907 fi
37908
37909 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37910 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37911 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37912 if test "${wx_cv_func_backtrace+set}" = set; then
37913 echo $ECHO_N "(cached) $ECHO_C" >&6
37914 else
37915
37916 ac_ext=cpp
37917 ac_cpp='$CXXCPP $CPPFLAGS'
37918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37921
37922 cat >conftest.$ac_ext <<_ACEOF
37923 /* confdefs.h. */
37924 _ACEOF
37925 cat confdefs.h >>conftest.$ac_ext
37926 cat >>conftest.$ac_ext <<_ACEOF
37927 /* end confdefs.h. */
37928 #include <execinfo.h>
37929 int
37930 main ()
37931 {
37932
37933 void *trace[1];
37934 char **messages;
37935
37936 backtrace(trace, 1);
37937 messages = backtrace_symbols(trace, 1);
37938
37939 ;
37940 return 0;
37941 }
37942 _ACEOF
37943 rm -f conftest.$ac_objext
37944 if { (ac_try="$ac_compile"
37945 case "(($ac_try" in
37946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37947 *) ac_try_echo=$ac_try;;
37948 esac
37949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37950 (eval "$ac_compile") 2>conftest.er1
37951 ac_status=$?
37952 grep -v '^ *+' conftest.er1 >conftest.err
37953 rm -f conftest.er1
37954 cat conftest.err >&5
37955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37956 (exit $ac_status); } && {
37957 test -z "$ac_cxx_werror_flag" ||
37958 test ! -s conftest.err
37959 } && test -s conftest.$ac_objext; then
37960 wx_cv_func_backtrace=yes
37961 else
37962 echo "$as_me: failed program was:" >&5
37963 sed 's/^/| /' conftest.$ac_ext >&5
37964
37965 wx_cv_func_backtrace=no
37966
37967 fi
37968
37969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37970 ac_ext=c
37971 ac_cpp='$CPP $CPPFLAGS'
37972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37975
37976
37977
37978 fi
37979 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37980 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37981
37982
37983 if test "$wx_cv_func_backtrace" = "no"; then
37984 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37985 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37986 wxUSE_STACKWALKER=no
37987 else
37988 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37989 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37990 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37991 echo $ECHO_N "(cached) $ECHO_C" >&6
37992 else
37993
37994 ac_ext=cpp
37995 ac_cpp='$CXXCPP $CPPFLAGS'
37996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37999
38000 cat >conftest.$ac_ext <<_ACEOF
38001 /* confdefs.h. */
38002 _ACEOF
38003 cat confdefs.h >>conftest.$ac_ext
38004 cat >>conftest.$ac_ext <<_ACEOF
38005 /* end confdefs.h. */
38006 #include <cxxabi.h>
38007 int
38008 main ()
38009 {
38010
38011 int rc;
38012 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38013
38014 ;
38015 return 0;
38016 }
38017 _ACEOF
38018 rm -f conftest.$ac_objext conftest$ac_exeext
38019 if { (ac_try="$ac_link"
38020 case "(($ac_try" in
38021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38022 *) ac_try_echo=$ac_try;;
38023 esac
38024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38025 (eval "$ac_link") 2>conftest.er1
38026 ac_status=$?
38027 grep -v '^ *+' conftest.er1 >conftest.err
38028 rm -f conftest.er1
38029 cat conftest.err >&5
38030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031 (exit $ac_status); } && {
38032 test -z "$ac_cxx_werror_flag" ||
38033 test ! -s conftest.err
38034 } && test -s conftest$ac_exeext &&
38035 $as_test_x conftest$ac_exeext; then
38036 wx_cv_func_cxa_demangle=yes
38037 else
38038 echo "$as_me: failed program was:" >&5
38039 sed 's/^/| /' conftest.$ac_ext >&5
38040
38041 wx_cv_func_cxa_demangle=no
38042
38043 fi
38044
38045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38046 conftest$ac_exeext conftest.$ac_ext
38047 ac_ext=c
38048 ac_cpp='$CPP $CPPFLAGS'
38049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38052
38053
38054
38055 fi
38056 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38057 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38058
38059 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38060 cat >>confdefs.h <<\_ACEOF
38061 #define HAVE_CXA_DEMANGLE 1
38062 _ACEOF
38063
38064 fi
38065 fi
38066 fi
38067
38068 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38069 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38070 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38071 wxUSE_STACKWALKER=no
38072 fi
38073
38074
38075
38076
38077 for ac_func in mkstemp mktemp
38078 do
38079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38080 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38082 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38083 echo $ECHO_N "(cached) $ECHO_C" >&6
38084 else
38085 cat >conftest.$ac_ext <<_ACEOF
38086 /* confdefs.h. */
38087 _ACEOF
38088 cat confdefs.h >>conftest.$ac_ext
38089 cat >>conftest.$ac_ext <<_ACEOF
38090 /* end confdefs.h. */
38091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38093 #define $ac_func innocuous_$ac_func
38094
38095 /* System header to define __stub macros and hopefully few prototypes,
38096 which can conflict with char $ac_func (); below.
38097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38098 <limits.h> exists even on freestanding compilers. */
38099
38100 #ifdef __STDC__
38101 # include <limits.h>
38102 #else
38103 # include <assert.h>
38104 #endif
38105
38106 #undef $ac_func
38107
38108 /* Override any GCC internal prototype to avoid an error.
38109 Use char because int might match the return type of a GCC
38110 builtin and then its argument prototype would still apply. */
38111 #ifdef __cplusplus
38112 extern "C"
38113 #endif
38114 char $ac_func ();
38115 /* The GNU C library defines this for functions which it implements
38116 to always fail with ENOSYS. Some functions are actually named
38117 something starting with __ and the normal name is an alias. */
38118 #if defined __stub_$ac_func || defined __stub___$ac_func
38119 choke me
38120 #endif
38121
38122 int
38123 main ()
38124 {
38125 return $ac_func ();
38126 ;
38127 return 0;
38128 }
38129 _ACEOF
38130 rm -f conftest.$ac_objext conftest$ac_exeext
38131 if { (ac_try="$ac_link"
38132 case "(($ac_try" in
38133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38134 *) ac_try_echo=$ac_try;;
38135 esac
38136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38137 (eval "$ac_link") 2>conftest.er1
38138 ac_status=$?
38139 grep -v '^ *+' conftest.er1 >conftest.err
38140 rm -f conftest.er1
38141 cat conftest.err >&5
38142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38143 (exit $ac_status); } && {
38144 test -z "$ac_c_werror_flag" ||
38145 test ! -s conftest.err
38146 } && test -s conftest$ac_exeext &&
38147 $as_test_x conftest$ac_exeext; then
38148 eval "$as_ac_var=yes"
38149 else
38150 echo "$as_me: failed program was:" >&5
38151 sed 's/^/| /' conftest.$ac_ext >&5
38152
38153 eval "$as_ac_var=no"
38154 fi
38155
38156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38157 conftest$ac_exeext conftest.$ac_ext
38158 fi
38159 ac_res=`eval echo '${'$as_ac_var'}'`
38160 { echo "$as_me:$LINENO: result: $ac_res" >&5
38161 echo "${ECHO_T}$ac_res" >&6; }
38162 if test `eval echo '${'$as_ac_var'}'` = yes; then
38163 cat >>confdefs.h <<_ACEOF
38164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38165 _ACEOF
38166 break
38167 fi
38168 done
38169
38170
38171 { echo "$as_me:$LINENO: checking for statfs" >&5
38172 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38173 if test "${wx_cv_func_statfs+set}" = set; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38175 else
38176 cat >conftest.$ac_ext <<_ACEOF
38177 /* confdefs.h. */
38178 _ACEOF
38179 cat confdefs.h >>conftest.$ac_ext
38180 cat >>conftest.$ac_ext <<_ACEOF
38181 /* end confdefs.h. */
38182
38183 #if defined(__BSD__)
38184 #include <sys/param.h>
38185 #include <sys/mount.h>
38186 #else
38187 #include <sys/vfs.h>
38188 #endif
38189
38190 int
38191 main ()
38192 {
38193
38194 long l;
38195 struct statfs fs;
38196 statfs("/", &fs);
38197 l = fs.f_bsize;
38198 l += fs.f_blocks;
38199 l += fs.f_bavail;
38200
38201 ;
38202 return 0;
38203 }
38204 _ACEOF
38205 rm -f conftest.$ac_objext
38206 if { (ac_try="$ac_compile"
38207 case "(($ac_try" in
38208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38209 *) ac_try_echo=$ac_try;;
38210 esac
38211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38212 (eval "$ac_compile") 2>conftest.er1
38213 ac_status=$?
38214 grep -v '^ *+' conftest.er1 >conftest.err
38215 rm -f conftest.er1
38216 cat conftest.err >&5
38217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38218 (exit $ac_status); } && {
38219 test -z "$ac_c_werror_flag" ||
38220 test ! -s conftest.err
38221 } && test -s conftest.$ac_objext; then
38222 wx_cv_func_statfs=yes
38223 else
38224 echo "$as_me: failed program was:" >&5
38225 sed 's/^/| /' conftest.$ac_ext >&5
38226
38227 wx_cv_func_statfs=no
38228
38229 fi
38230
38231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38232
38233 fi
38234 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38235 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38236
38237 if test "$wx_cv_func_statfs" = "yes"; then
38238 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38239 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38240 if test "${wx_cv_func_statfs_decl+set}" = set; then
38241 echo $ECHO_N "(cached) $ECHO_C" >&6
38242 else
38243 ac_ext=cpp
38244 ac_cpp='$CXXCPP $CPPFLAGS'
38245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38248
38249 cat >conftest.$ac_ext <<_ACEOF
38250 /* confdefs.h. */
38251 _ACEOF
38252 cat confdefs.h >>conftest.$ac_ext
38253 cat >>conftest.$ac_ext <<_ACEOF
38254 /* end confdefs.h. */
38255
38256 #if defined(__BSD__)
38257 #include <sys/param.h>
38258 #include <sys/mount.h>
38259 #else
38260 #include <sys/vfs.h>
38261 #endif
38262
38263 int
38264 main ()
38265 {
38266
38267 struct statfs fs;
38268 statfs("", &fs);
38269
38270 ;
38271 return 0;
38272 }
38273 _ACEOF
38274 rm -f conftest.$ac_objext
38275 if { (ac_try="$ac_compile"
38276 case "(($ac_try" in
38277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38278 *) ac_try_echo=$ac_try;;
38279 esac
38280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38281 (eval "$ac_compile") 2>conftest.er1
38282 ac_status=$?
38283 grep -v '^ *+' conftest.er1 >conftest.err
38284 rm -f conftest.er1
38285 cat conftest.err >&5
38286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38287 (exit $ac_status); } && {
38288 test -z "$ac_cxx_werror_flag" ||
38289 test ! -s conftest.err
38290 } && test -s conftest.$ac_objext; then
38291 wx_cv_func_statfs_decl=yes
38292 else
38293 echo "$as_me: failed program was:" >&5
38294 sed 's/^/| /' conftest.$ac_ext >&5
38295
38296 wx_cv_func_statfs_decl=no
38297
38298 fi
38299
38300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38301 ac_ext=c
38302 ac_cpp='$CPP $CPPFLAGS'
38303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38306
38307
38308 fi
38309 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38310 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38311
38312 if test "$wx_cv_func_statfs_decl" = "yes"; then
38313 cat >>confdefs.h <<\_ACEOF
38314 #define HAVE_STATFS_DECL 1
38315 _ACEOF
38316
38317 fi
38318
38319 wx_cv_type_statvfs_t="struct statfs"
38320 cat >>confdefs.h <<\_ACEOF
38321 #define HAVE_STATFS 1
38322 _ACEOF
38323
38324 else
38325 { echo "$as_me:$LINENO: checking for statvfs" >&5
38326 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38327 if test "${wx_cv_func_statvfs+set}" = set; then
38328 echo $ECHO_N "(cached) $ECHO_C" >&6
38329 else
38330 cat >conftest.$ac_ext <<_ACEOF
38331 /* confdefs.h. */
38332 _ACEOF
38333 cat confdefs.h >>conftest.$ac_ext
38334 cat >>conftest.$ac_ext <<_ACEOF
38335 /* end confdefs.h. */
38336
38337 #include <stddef.h>
38338 #include <sys/statvfs.h>
38339
38340 int
38341 main ()
38342 {
38343
38344 statvfs("/", NULL);
38345
38346 ;
38347 return 0;
38348 }
38349 _ACEOF
38350 rm -f conftest.$ac_objext
38351 if { (ac_try="$ac_compile"
38352 case "(($ac_try" in
38353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38354 *) ac_try_echo=$ac_try;;
38355 esac
38356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38357 (eval "$ac_compile") 2>conftest.er1
38358 ac_status=$?
38359 grep -v '^ *+' conftest.er1 >conftest.err
38360 rm -f conftest.er1
38361 cat conftest.err >&5
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); } && {
38364 test -z "$ac_c_werror_flag" ||
38365 test ! -s conftest.err
38366 } && test -s conftest.$ac_objext; then
38367 wx_cv_func_statvfs=yes
38368 else
38369 echo "$as_me: failed program was:" >&5
38370 sed 's/^/| /' conftest.$ac_ext >&5
38371
38372 wx_cv_func_statvfs=no
38373
38374 fi
38375
38376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38377
38378 fi
38379 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38380 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38381
38382 if test "$wx_cv_func_statvfs" = "yes"; then
38383 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38384 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38385 if test "${wx_cv_type_statvfs_t+set}" = set; then
38386 echo $ECHO_N "(cached) $ECHO_C" >&6
38387 else
38388 ac_ext=cpp
38389 ac_cpp='$CXXCPP $CPPFLAGS'
38390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38393
38394 cat >conftest.$ac_ext <<_ACEOF
38395 /* confdefs.h. */
38396 _ACEOF
38397 cat confdefs.h >>conftest.$ac_ext
38398 cat >>conftest.$ac_ext <<_ACEOF
38399 /* end confdefs.h. */
38400
38401 #include <sys/statvfs.h>
38402
38403 int
38404 main ()
38405 {
38406
38407 long l;
38408 statvfs_t fs;
38409 statvfs("/", &fs);
38410 l = fs.f_bsize;
38411 l += fs.f_blocks;
38412 l += fs.f_bavail;
38413
38414 ;
38415 return 0;
38416 }
38417 _ACEOF
38418 rm -f conftest.$ac_objext
38419 if { (ac_try="$ac_compile"
38420 case "(($ac_try" in
38421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38422 *) ac_try_echo=$ac_try;;
38423 esac
38424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38425 (eval "$ac_compile") 2>conftest.er1
38426 ac_status=$?
38427 grep -v '^ *+' conftest.er1 >conftest.err
38428 rm -f conftest.er1
38429 cat conftest.err >&5
38430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38431 (exit $ac_status); } && {
38432 test -z "$ac_cxx_werror_flag" ||
38433 test ! -s conftest.err
38434 } && test -s conftest.$ac_objext; then
38435 wx_cv_type_statvfs_t=statvfs_t
38436 else
38437 echo "$as_me: failed program was:" >&5
38438 sed 's/^/| /' conftest.$ac_ext >&5
38439
38440
38441 cat >conftest.$ac_ext <<_ACEOF
38442 /* confdefs.h. */
38443 _ACEOF
38444 cat confdefs.h >>conftest.$ac_ext
38445 cat >>conftest.$ac_ext <<_ACEOF
38446 /* end confdefs.h. */
38447
38448 #include <sys/statvfs.h>
38449
38450 int
38451 main ()
38452 {
38453
38454 long l;
38455 struct statvfs fs;
38456 statvfs("/", &fs);
38457 l = fs.f_bsize;
38458 l += fs.f_blocks;
38459 l += fs.f_bavail;
38460
38461 ;
38462 return 0;
38463 }
38464 _ACEOF
38465 rm -f conftest.$ac_objext
38466 if { (ac_try="$ac_compile"
38467 case "(($ac_try" in
38468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38469 *) ac_try_echo=$ac_try;;
38470 esac
38471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38472 (eval "$ac_compile") 2>conftest.er1
38473 ac_status=$?
38474 grep -v '^ *+' conftest.er1 >conftest.err
38475 rm -f conftest.er1
38476 cat conftest.err >&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); } && {
38479 test -z "$ac_cxx_werror_flag" ||
38480 test ! -s conftest.err
38481 } && test -s conftest.$ac_objext; then
38482 wx_cv_type_statvfs_t="struct statvfs"
38483 else
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.$ac_ext >&5
38486
38487 wx_cv_type_statvfs_t="unknown"
38488
38489 fi
38490
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38492
38493
38494 fi
38495
38496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38497 ac_ext=c
38498 ac_cpp='$CPP $CPPFLAGS'
38499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38502
38503
38504 fi
38505 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38506 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38507
38508 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38509 cat >>confdefs.h <<\_ACEOF
38510 #define HAVE_STATVFS 1
38511 _ACEOF
38512
38513 fi
38514 else
38515 wx_cv_type_statvfs_t="unknown"
38516 fi
38517 fi
38518
38519 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38520 cat >>confdefs.h <<_ACEOF
38521 #define WX_STATFS_T $wx_cv_type_statvfs_t
38522 _ACEOF
38523
38524 else
38525 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38526 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38527 fi
38528
38529 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38530
38531
38532 for ac_func in fcntl flock
38533 do
38534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38535 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38537 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38538 echo $ECHO_N "(cached) $ECHO_C" >&6
38539 else
38540 cat >conftest.$ac_ext <<_ACEOF
38541 /* confdefs.h. */
38542 _ACEOF
38543 cat confdefs.h >>conftest.$ac_ext
38544 cat >>conftest.$ac_ext <<_ACEOF
38545 /* end confdefs.h. */
38546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38548 #define $ac_func innocuous_$ac_func
38549
38550 /* System header to define __stub macros and hopefully few prototypes,
38551 which can conflict with char $ac_func (); below.
38552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38553 <limits.h> exists even on freestanding compilers. */
38554
38555 #ifdef __STDC__
38556 # include <limits.h>
38557 #else
38558 # include <assert.h>
38559 #endif
38560
38561 #undef $ac_func
38562
38563 /* Override any GCC internal prototype to avoid an error.
38564 Use char because int might match the return type of a GCC
38565 builtin and then its argument prototype would still apply. */
38566 #ifdef __cplusplus
38567 extern "C"
38568 #endif
38569 char $ac_func ();
38570 /* The GNU C library defines this for functions which it implements
38571 to always fail with ENOSYS. Some functions are actually named
38572 something starting with __ and the normal name is an alias. */
38573 #if defined __stub_$ac_func || defined __stub___$ac_func
38574 choke me
38575 #endif
38576
38577 int
38578 main ()
38579 {
38580 return $ac_func ();
38581 ;
38582 return 0;
38583 }
38584 _ACEOF
38585 rm -f conftest.$ac_objext conftest$ac_exeext
38586 if { (ac_try="$ac_link"
38587 case "(($ac_try" in
38588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38589 *) ac_try_echo=$ac_try;;
38590 esac
38591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38592 (eval "$ac_link") 2>conftest.er1
38593 ac_status=$?
38594 grep -v '^ *+' conftest.er1 >conftest.err
38595 rm -f conftest.er1
38596 cat conftest.err >&5
38597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38598 (exit $ac_status); } && {
38599 test -z "$ac_c_werror_flag" ||
38600 test ! -s conftest.err
38601 } && test -s conftest$ac_exeext &&
38602 $as_test_x conftest$ac_exeext; then
38603 eval "$as_ac_var=yes"
38604 else
38605 echo "$as_me: failed program was:" >&5
38606 sed 's/^/| /' conftest.$ac_ext >&5
38607
38608 eval "$as_ac_var=no"
38609 fi
38610
38611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38612 conftest$ac_exeext conftest.$ac_ext
38613 fi
38614 ac_res=`eval echo '${'$as_ac_var'}'`
38615 { echo "$as_me:$LINENO: result: $ac_res" >&5
38616 echo "${ECHO_T}$ac_res" >&6; }
38617 if test `eval echo '${'$as_ac_var'}'` = yes; then
38618 cat >>confdefs.h <<_ACEOF
38619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38620 _ACEOF
38621 break
38622 fi
38623 done
38624
38625
38626 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38627 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38628 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38629 wxUSE_SNGLINST_CHECKER=no
38630 fi
38631 fi
38632
38633
38634
38635 for ac_func in setenv putenv
38636 do
38637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38638 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38640 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38641 echo $ECHO_N "(cached) $ECHO_C" >&6
38642 else
38643 cat >conftest.$ac_ext <<_ACEOF
38644 /* confdefs.h. */
38645 _ACEOF
38646 cat confdefs.h >>conftest.$ac_ext
38647 cat >>conftest.$ac_ext <<_ACEOF
38648 /* end confdefs.h. */
38649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38651 #define $ac_func innocuous_$ac_func
38652
38653 /* System header to define __stub macros and hopefully few prototypes,
38654 which can conflict with char $ac_func (); below.
38655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38656 <limits.h> exists even on freestanding compilers. */
38657
38658 #ifdef __STDC__
38659 # include <limits.h>
38660 #else
38661 # include <assert.h>
38662 #endif
38663
38664 #undef $ac_func
38665
38666 /* Override any GCC internal prototype to avoid an error.
38667 Use char because int might match the return type of a GCC
38668 builtin and then its argument prototype would still apply. */
38669 #ifdef __cplusplus
38670 extern "C"
38671 #endif
38672 char $ac_func ();
38673 /* The GNU C library defines this for functions which it implements
38674 to always fail with ENOSYS. Some functions are actually named
38675 something starting with __ and the normal name is an alias. */
38676 #if defined __stub_$ac_func || defined __stub___$ac_func
38677 choke me
38678 #endif
38679
38680 int
38681 main ()
38682 {
38683 return $ac_func ();
38684 ;
38685 return 0;
38686 }
38687 _ACEOF
38688 rm -f conftest.$ac_objext conftest$ac_exeext
38689 if { (ac_try="$ac_link"
38690 case "(($ac_try" in
38691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38692 *) ac_try_echo=$ac_try;;
38693 esac
38694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38695 (eval "$ac_link") 2>conftest.er1
38696 ac_status=$?
38697 grep -v '^ *+' conftest.er1 >conftest.err
38698 rm -f conftest.er1
38699 cat conftest.err >&5
38700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38701 (exit $ac_status); } && {
38702 test -z "$ac_c_werror_flag" ||
38703 test ! -s conftest.err
38704 } && test -s conftest$ac_exeext &&
38705 $as_test_x conftest$ac_exeext; then
38706 eval "$as_ac_var=yes"
38707 else
38708 echo "$as_me: failed program was:" >&5
38709 sed 's/^/| /' conftest.$ac_ext >&5
38710
38711 eval "$as_ac_var=no"
38712 fi
38713
38714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38715 conftest$ac_exeext conftest.$ac_ext
38716 fi
38717 ac_res=`eval echo '${'$as_ac_var'}'`
38718 { echo "$as_me:$LINENO: result: $ac_res" >&5
38719 echo "${ECHO_T}$ac_res" >&6; }
38720 if test `eval echo '${'$as_ac_var'}'` = yes; then
38721 cat >>confdefs.h <<_ACEOF
38722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38723 _ACEOF
38724 break
38725 fi
38726 done
38727
38728 if test "$ac_cv_func_setenv" = "yes"; then
38729
38730 for ac_func in unsetenv
38731 do
38732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38733 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38735 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38736 echo $ECHO_N "(cached) $ECHO_C" >&6
38737 else
38738 cat >conftest.$ac_ext <<_ACEOF
38739 /* confdefs.h. */
38740 _ACEOF
38741 cat confdefs.h >>conftest.$ac_ext
38742 cat >>conftest.$ac_ext <<_ACEOF
38743 /* end confdefs.h. */
38744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38746 #define $ac_func innocuous_$ac_func
38747
38748 /* System header to define __stub macros and hopefully few prototypes,
38749 which can conflict with char $ac_func (); below.
38750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38751 <limits.h> exists even on freestanding compilers. */
38752
38753 #ifdef __STDC__
38754 # include <limits.h>
38755 #else
38756 # include <assert.h>
38757 #endif
38758
38759 #undef $ac_func
38760
38761 /* Override any GCC internal prototype to avoid an error.
38762 Use char because int might match the return type of a GCC
38763 builtin and then its argument prototype would still apply. */
38764 #ifdef __cplusplus
38765 extern "C"
38766 #endif
38767 char $ac_func ();
38768 /* The GNU C library defines this for functions which it implements
38769 to always fail with ENOSYS. Some functions are actually named
38770 something starting with __ and the normal name is an alias. */
38771 #if defined __stub_$ac_func || defined __stub___$ac_func
38772 choke me
38773 #endif
38774
38775 int
38776 main ()
38777 {
38778 return $ac_func ();
38779 ;
38780 return 0;
38781 }
38782 _ACEOF
38783 rm -f conftest.$ac_objext conftest$ac_exeext
38784 if { (ac_try="$ac_link"
38785 case "(($ac_try" in
38786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38787 *) ac_try_echo=$ac_try;;
38788 esac
38789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38790 (eval "$ac_link") 2>conftest.er1
38791 ac_status=$?
38792 grep -v '^ *+' conftest.er1 >conftest.err
38793 rm -f conftest.er1
38794 cat conftest.err >&5
38795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38796 (exit $ac_status); } && {
38797 test -z "$ac_c_werror_flag" ||
38798 test ! -s conftest.err
38799 } && test -s conftest$ac_exeext &&
38800 $as_test_x conftest$ac_exeext; then
38801 eval "$as_ac_var=yes"
38802 else
38803 echo "$as_me: failed program was:" >&5
38804 sed 's/^/| /' conftest.$ac_ext >&5
38805
38806 eval "$as_ac_var=no"
38807 fi
38808
38809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38810 conftest$ac_exeext conftest.$ac_ext
38811 fi
38812 ac_res=`eval echo '${'$as_ac_var'}'`
38813 { echo "$as_me:$LINENO: result: $ac_res" >&5
38814 echo "${ECHO_T}$ac_res" >&6; }
38815 if test `eval echo '${'$as_ac_var'}'` = yes; then
38816 cat >>confdefs.h <<_ACEOF
38817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38818 _ACEOF
38819
38820 fi
38821 done
38822
38823 fi
38824
38825 HAVE_SOME_SLEEP_FUNC=0
38826 if test "$USE_BEOS" = 1; then
38827 cat >>confdefs.h <<\_ACEOF
38828 #define HAVE_SLEEP 1
38829 _ACEOF
38830
38831 HAVE_SOME_SLEEP_FUNC=1
38832 fi
38833
38834 if test "$USE_DARWIN" = 1; then
38835 cat >>confdefs.h <<\_ACEOF
38836 #define HAVE_USLEEP 1
38837 _ACEOF
38838
38839 HAVE_SOME_SLEEP_FUNC=1
38840 fi
38841
38842 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38843 POSIX4_LINK=
38844
38845 for ac_func in nanosleep
38846 do
38847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38851 echo $ECHO_N "(cached) $ECHO_C" >&6
38852 else
38853 cat >conftest.$ac_ext <<_ACEOF
38854 /* confdefs.h. */
38855 _ACEOF
38856 cat confdefs.h >>conftest.$ac_ext
38857 cat >>conftest.$ac_ext <<_ACEOF
38858 /* end confdefs.h. */
38859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38861 #define $ac_func innocuous_$ac_func
38862
38863 /* System header to define __stub macros and hopefully few prototypes,
38864 which can conflict with char $ac_func (); below.
38865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38866 <limits.h> exists even on freestanding compilers. */
38867
38868 #ifdef __STDC__
38869 # include <limits.h>
38870 #else
38871 # include <assert.h>
38872 #endif
38873
38874 #undef $ac_func
38875
38876 /* Override any GCC internal prototype to avoid an error.
38877 Use char because int might match the return type of a GCC
38878 builtin and then its argument prototype would still apply. */
38879 #ifdef __cplusplus
38880 extern "C"
38881 #endif
38882 char $ac_func ();
38883 /* The GNU C library defines this for functions which it implements
38884 to always fail with ENOSYS. Some functions are actually named
38885 something starting with __ and the normal name is an alias. */
38886 #if defined __stub_$ac_func || defined __stub___$ac_func
38887 choke me
38888 #endif
38889
38890 int
38891 main ()
38892 {
38893 return $ac_func ();
38894 ;
38895 return 0;
38896 }
38897 _ACEOF
38898 rm -f conftest.$ac_objext conftest$ac_exeext
38899 if { (ac_try="$ac_link"
38900 case "(($ac_try" in
38901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38902 *) ac_try_echo=$ac_try;;
38903 esac
38904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38905 (eval "$ac_link") 2>conftest.er1
38906 ac_status=$?
38907 grep -v '^ *+' conftest.er1 >conftest.err
38908 rm -f conftest.er1
38909 cat conftest.err >&5
38910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38911 (exit $ac_status); } && {
38912 test -z "$ac_c_werror_flag" ||
38913 test ! -s conftest.err
38914 } && test -s conftest$ac_exeext &&
38915 $as_test_x conftest$ac_exeext; then
38916 eval "$as_ac_var=yes"
38917 else
38918 echo "$as_me: failed program was:" >&5
38919 sed 's/^/| /' conftest.$ac_ext >&5
38920
38921 eval "$as_ac_var=no"
38922 fi
38923
38924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38925 conftest$ac_exeext conftest.$ac_ext
38926 fi
38927 ac_res=`eval echo '${'$as_ac_var'}'`
38928 { echo "$as_me:$LINENO: result: $ac_res" >&5
38929 echo "${ECHO_T}$ac_res" >&6; }
38930 if test `eval echo '${'$as_ac_var'}'` = yes; then
38931 cat >>confdefs.h <<_ACEOF
38932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38933 _ACEOF
38934 cat >>confdefs.h <<\_ACEOF
38935 #define HAVE_NANOSLEEP 1
38936 _ACEOF
38937
38938 else
38939
38940 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38941 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38942 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38943 echo $ECHO_N "(cached) $ECHO_C" >&6
38944 else
38945 ac_check_lib_save_LIBS=$LIBS
38946 LIBS="-lposix4 $LIBS"
38947 cat >conftest.$ac_ext <<_ACEOF
38948 /* confdefs.h. */
38949 _ACEOF
38950 cat confdefs.h >>conftest.$ac_ext
38951 cat >>conftest.$ac_ext <<_ACEOF
38952 /* end confdefs.h. */
38953
38954 /* Override any GCC internal prototype to avoid an error.
38955 Use char because int might match the return type of a GCC
38956 builtin and then its argument prototype would still apply. */
38957 #ifdef __cplusplus
38958 extern "C"
38959 #endif
38960 char nanosleep ();
38961 int
38962 main ()
38963 {
38964 return nanosleep ();
38965 ;
38966 return 0;
38967 }
38968 _ACEOF
38969 rm -f conftest.$ac_objext conftest$ac_exeext
38970 if { (ac_try="$ac_link"
38971 case "(($ac_try" in
38972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38973 *) ac_try_echo=$ac_try;;
38974 esac
38975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38976 (eval "$ac_link") 2>conftest.er1
38977 ac_status=$?
38978 grep -v '^ *+' conftest.er1 >conftest.err
38979 rm -f conftest.er1
38980 cat conftest.err >&5
38981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38982 (exit $ac_status); } && {
38983 test -z "$ac_c_werror_flag" ||
38984 test ! -s conftest.err
38985 } && test -s conftest$ac_exeext &&
38986 $as_test_x conftest$ac_exeext; then
38987 ac_cv_lib_posix4_nanosleep=yes
38988 else
38989 echo "$as_me: failed program was:" >&5
38990 sed 's/^/| /' conftest.$ac_ext >&5
38991
38992 ac_cv_lib_posix4_nanosleep=no
38993 fi
38994
38995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38996 conftest$ac_exeext conftest.$ac_ext
38997 LIBS=$ac_check_lib_save_LIBS
38998 fi
38999 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39000 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39001 if test $ac_cv_lib_posix4_nanosleep = yes; then
39002
39003 cat >>confdefs.h <<\_ACEOF
39004 #define HAVE_NANOSLEEP 1
39005 _ACEOF
39006
39007 POSIX4_LINK=" -lposix4"
39008
39009 else
39010
39011
39012 for wx_func in usleep
39013 do
39014 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39015 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39016 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39017 echo $ECHO_N "(cached) $ECHO_C" >&6
39018 else
39019
39020 cat >conftest.$ac_ext <<_ACEOF
39021
39022 /* confdefs.h. */
39023 _ACEOF
39024 cat confdefs.h >>conftest.$ac_ext
39025 cat >>conftest.$ac_ext <<_ACEOF
39026 /* end confdefs.h. */
39027
39028
39029 $ac_includes_default
39030
39031 int
39032 main ()
39033 {
39034
39035 #ifndef $wx_func
39036 &$wx_func;
39037 #endif
39038
39039
39040 ;
39041 return 0;
39042 }
39043
39044 _ACEOF
39045 rm -f conftest.$ac_objext conftest$ac_exeext
39046 if { (ac_try="$ac_link"
39047 case "(($ac_try" in
39048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39049 *) ac_try_echo=$ac_try;;
39050 esac
39051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39052 (eval "$ac_link") 2>conftest.er1
39053 ac_status=$?
39054 grep -v '^ *+' conftest.er1 >conftest.err
39055 rm -f conftest.er1
39056 cat conftest.err >&5
39057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39058 (exit $ac_status); } && {
39059 test -z "$ac_c_werror_flag" ||
39060 test ! -s conftest.err
39061 } && test -s conftest$ac_exeext &&
39062 $as_test_x conftest$ac_exeext; then
39063 eval wx_cv_func_$wx_func=yes
39064 else
39065 echo "$as_me: failed program was:" >&5
39066 sed 's/^/| /' conftest.$ac_ext >&5
39067
39068 eval wx_cv_func_$wx_func=no
39069 fi
39070
39071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39072 conftest$ac_exeext conftest.$ac_ext
39073
39074 fi
39075 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39076 { echo "$as_me:$LINENO: result: $ac_res" >&5
39077 echo "${ECHO_T}$ac_res" >&6; }
39078
39079 if eval test \$wx_cv_func_$wx_func = yes
39080 then
39081 cat >>confdefs.h <<_ACEOF
39082 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39083 _ACEOF
39084
39085
39086 else
39087 :
39088 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39089 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39090
39091 fi
39092 done
39093
39094
39095
39096 fi
39097
39098
39099
39100 fi
39101 done
39102
39103 fi
39104
39105
39106 for wx_func in uname
39107 do
39108 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39109 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39110 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39111 echo $ECHO_N "(cached) $ECHO_C" >&6
39112 else
39113
39114 cat >conftest.$ac_ext <<_ACEOF
39115
39116 /* confdefs.h. */
39117 _ACEOF
39118 cat confdefs.h >>conftest.$ac_ext
39119 cat >>conftest.$ac_ext <<_ACEOF
39120 /* end confdefs.h. */
39121
39122 #include <sys/utsname.h>
39123 $ac_includes_default
39124
39125 int
39126 main ()
39127 {
39128
39129 #ifndef $wx_func
39130 &$wx_func;
39131 #endif
39132
39133
39134 ;
39135 return 0;
39136 }
39137
39138 _ACEOF
39139 rm -f conftest.$ac_objext conftest$ac_exeext
39140 if { (ac_try="$ac_link"
39141 case "(($ac_try" in
39142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39143 *) ac_try_echo=$ac_try;;
39144 esac
39145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39146 (eval "$ac_link") 2>conftest.er1
39147 ac_status=$?
39148 grep -v '^ *+' conftest.er1 >conftest.err
39149 rm -f conftest.er1
39150 cat conftest.err >&5
39151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39152 (exit $ac_status); } && {
39153 test -z "$ac_c_werror_flag" ||
39154 test ! -s conftest.err
39155 } && test -s conftest$ac_exeext &&
39156 $as_test_x conftest$ac_exeext; then
39157 eval wx_cv_func_$wx_func=yes
39158 else
39159 echo "$as_me: failed program was:" >&5
39160 sed 's/^/| /' conftest.$ac_ext >&5
39161
39162 eval wx_cv_func_$wx_func=no
39163 fi
39164
39165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39166 conftest$ac_exeext conftest.$ac_ext
39167
39168 fi
39169 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39170 { echo "$as_me:$LINENO: result: $ac_res" >&5
39171 echo "${ECHO_T}$ac_res" >&6; }
39172
39173 if eval test \$wx_cv_func_$wx_func = yes
39174 then
39175 cat >>confdefs.h <<_ACEOF
39176 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39177 _ACEOF
39178
39179
39180 else
39181 :
39182
39183 fi
39184 done
39185
39186 if test "$wx_cv_func_uname" != yes; then
39187
39188 for wx_func in gethostname
39189 do
39190 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39191 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39192 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39193 echo $ECHO_N "(cached) $ECHO_C" >&6
39194 else
39195
39196 cat >conftest.$ac_ext <<_ACEOF
39197
39198 /* confdefs.h. */
39199 _ACEOF
39200 cat confdefs.h >>conftest.$ac_ext
39201 cat >>conftest.$ac_ext <<_ACEOF
39202 /* end confdefs.h. */
39203
39204
39205 $ac_includes_default
39206
39207 int
39208 main ()
39209 {
39210
39211 #ifndef $wx_func
39212 &$wx_func;
39213 #endif
39214
39215
39216 ;
39217 return 0;
39218 }
39219
39220 _ACEOF
39221 rm -f conftest.$ac_objext conftest$ac_exeext
39222 if { (ac_try="$ac_link"
39223 case "(($ac_try" in
39224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39225 *) ac_try_echo=$ac_try;;
39226 esac
39227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39228 (eval "$ac_link") 2>conftest.er1
39229 ac_status=$?
39230 grep -v '^ *+' conftest.er1 >conftest.err
39231 rm -f conftest.er1
39232 cat conftest.err >&5
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); } && {
39235 test -z "$ac_c_werror_flag" ||
39236 test ! -s conftest.err
39237 } && test -s conftest$ac_exeext &&
39238 $as_test_x conftest$ac_exeext; then
39239 eval wx_cv_func_$wx_func=yes
39240 else
39241 echo "$as_me: failed program was:" >&5
39242 sed 's/^/| /' conftest.$ac_ext >&5
39243
39244 eval wx_cv_func_$wx_func=no
39245 fi
39246
39247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39248 conftest$ac_exeext conftest.$ac_ext
39249
39250 fi
39251 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39252 { echo "$as_me:$LINENO: result: $ac_res" >&5
39253 echo "${ECHO_T}$ac_res" >&6; }
39254
39255 if eval test \$wx_cv_func_$wx_func = yes
39256 then
39257 cat >>confdefs.h <<_ACEOF
39258 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39259 _ACEOF
39260
39261
39262 else
39263 :
39264
39265 fi
39266 done
39267
39268 fi
39269
39270
39271 for wx_func in strtok_r
39272 do
39273 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39274 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39275 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39276 echo $ECHO_N "(cached) $ECHO_C" >&6
39277 else
39278
39279 cat >conftest.$ac_ext <<_ACEOF
39280
39281 /* confdefs.h. */
39282 _ACEOF
39283 cat confdefs.h >>conftest.$ac_ext
39284 cat >>conftest.$ac_ext <<_ACEOF
39285 /* end confdefs.h. */
39286
39287 #define _REENTRANT
39288 $ac_includes_default
39289
39290 int
39291 main ()
39292 {
39293
39294 #ifndef $wx_func
39295 &$wx_func;
39296 #endif
39297
39298
39299 ;
39300 return 0;
39301 }
39302
39303 _ACEOF
39304 rm -f conftest.$ac_objext conftest$ac_exeext
39305 if { (ac_try="$ac_link"
39306 case "(($ac_try" in
39307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39308 *) ac_try_echo=$ac_try;;
39309 esac
39310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39311 (eval "$ac_link") 2>conftest.er1
39312 ac_status=$?
39313 grep -v '^ *+' conftest.er1 >conftest.err
39314 rm -f conftest.er1
39315 cat conftest.err >&5
39316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39317 (exit $ac_status); } && {
39318 test -z "$ac_c_werror_flag" ||
39319 test ! -s conftest.err
39320 } && test -s conftest$ac_exeext &&
39321 $as_test_x conftest$ac_exeext; then
39322 eval wx_cv_func_$wx_func=yes
39323 else
39324 echo "$as_me: failed program was:" >&5
39325 sed 's/^/| /' conftest.$ac_ext >&5
39326
39327 eval wx_cv_func_$wx_func=no
39328 fi
39329
39330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39331 conftest$ac_exeext conftest.$ac_ext
39332
39333 fi
39334 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39335 { echo "$as_me:$LINENO: result: $ac_res" >&5
39336 echo "${ECHO_T}$ac_res" >&6; }
39337
39338 if eval test \$wx_cv_func_$wx_func = yes
39339 then
39340 cat >>confdefs.h <<_ACEOF
39341 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39342 _ACEOF
39343
39344
39345 else
39346 :
39347
39348 fi
39349 done
39350
39351
39352 INET_LINK=
39353
39354 for ac_func in inet_addr
39355 do
39356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39357 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39359 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39360 echo $ECHO_N "(cached) $ECHO_C" >&6
39361 else
39362 cat >conftest.$ac_ext <<_ACEOF
39363 /* confdefs.h. */
39364 _ACEOF
39365 cat confdefs.h >>conftest.$ac_ext
39366 cat >>conftest.$ac_ext <<_ACEOF
39367 /* end confdefs.h. */
39368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39370 #define $ac_func innocuous_$ac_func
39371
39372 /* System header to define __stub macros and hopefully few prototypes,
39373 which can conflict with char $ac_func (); below.
39374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39375 <limits.h> exists even on freestanding compilers. */
39376
39377 #ifdef __STDC__
39378 # include <limits.h>
39379 #else
39380 # include <assert.h>
39381 #endif
39382
39383 #undef $ac_func
39384
39385 /* Override any GCC internal prototype to avoid an error.
39386 Use char because int might match the return type of a GCC
39387 builtin and then its argument prototype would still apply. */
39388 #ifdef __cplusplus
39389 extern "C"
39390 #endif
39391 char $ac_func ();
39392 /* The GNU C library defines this for functions which it implements
39393 to always fail with ENOSYS. Some functions are actually named
39394 something starting with __ and the normal name is an alias. */
39395 #if defined __stub_$ac_func || defined __stub___$ac_func
39396 choke me
39397 #endif
39398
39399 int
39400 main ()
39401 {
39402 return $ac_func ();
39403 ;
39404 return 0;
39405 }
39406 _ACEOF
39407 rm -f conftest.$ac_objext conftest$ac_exeext
39408 if { (ac_try="$ac_link"
39409 case "(($ac_try" in
39410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39411 *) ac_try_echo=$ac_try;;
39412 esac
39413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39414 (eval "$ac_link") 2>conftest.er1
39415 ac_status=$?
39416 grep -v '^ *+' conftest.er1 >conftest.err
39417 rm -f conftest.er1
39418 cat conftest.err >&5
39419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39420 (exit $ac_status); } && {
39421 test -z "$ac_c_werror_flag" ||
39422 test ! -s conftest.err
39423 } && test -s conftest$ac_exeext &&
39424 $as_test_x conftest$ac_exeext; then
39425 eval "$as_ac_var=yes"
39426 else
39427 echo "$as_me: failed program was:" >&5
39428 sed 's/^/| /' conftest.$ac_ext >&5
39429
39430 eval "$as_ac_var=no"
39431 fi
39432
39433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39434 conftest$ac_exeext conftest.$ac_ext
39435 fi
39436 ac_res=`eval echo '${'$as_ac_var'}'`
39437 { echo "$as_me:$LINENO: result: $ac_res" >&5
39438 echo "${ECHO_T}$ac_res" >&6; }
39439 if test `eval echo '${'$as_ac_var'}'` = yes; then
39440 cat >>confdefs.h <<_ACEOF
39441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39442 _ACEOF
39443 cat >>confdefs.h <<\_ACEOF
39444 #define HAVE_INET_ADDR 1
39445 _ACEOF
39446
39447 else
39448
39449 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39450 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39451 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39452 echo $ECHO_N "(cached) $ECHO_C" >&6
39453 else
39454 ac_check_lib_save_LIBS=$LIBS
39455 LIBS="-lnsl $LIBS"
39456 cat >conftest.$ac_ext <<_ACEOF
39457 /* confdefs.h. */
39458 _ACEOF
39459 cat confdefs.h >>conftest.$ac_ext
39460 cat >>conftest.$ac_ext <<_ACEOF
39461 /* end confdefs.h. */
39462
39463 /* Override any GCC internal prototype to avoid an error.
39464 Use char because int might match the return type of a GCC
39465 builtin and then its argument prototype would still apply. */
39466 #ifdef __cplusplus
39467 extern "C"
39468 #endif
39469 char inet_addr ();
39470 int
39471 main ()
39472 {
39473 return inet_addr ();
39474 ;
39475 return 0;
39476 }
39477 _ACEOF
39478 rm -f conftest.$ac_objext conftest$ac_exeext
39479 if { (ac_try="$ac_link"
39480 case "(($ac_try" in
39481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39482 *) ac_try_echo=$ac_try;;
39483 esac
39484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39485 (eval "$ac_link") 2>conftest.er1
39486 ac_status=$?
39487 grep -v '^ *+' conftest.er1 >conftest.err
39488 rm -f conftest.er1
39489 cat conftest.err >&5
39490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39491 (exit $ac_status); } && {
39492 test -z "$ac_c_werror_flag" ||
39493 test ! -s conftest.err
39494 } && test -s conftest$ac_exeext &&
39495 $as_test_x conftest$ac_exeext; then
39496 ac_cv_lib_nsl_inet_addr=yes
39497 else
39498 echo "$as_me: failed program was:" >&5
39499 sed 's/^/| /' conftest.$ac_ext >&5
39500
39501 ac_cv_lib_nsl_inet_addr=no
39502 fi
39503
39504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39505 conftest$ac_exeext conftest.$ac_ext
39506 LIBS=$ac_check_lib_save_LIBS
39507 fi
39508 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39509 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39510 if test $ac_cv_lib_nsl_inet_addr = yes; then
39511 INET_LINK="nsl"
39512 else
39513
39514 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39515 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39516 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39517 echo $ECHO_N "(cached) $ECHO_C" >&6
39518 else
39519 ac_check_lib_save_LIBS=$LIBS
39520 LIBS="-lresolv $LIBS"
39521 cat >conftest.$ac_ext <<_ACEOF
39522 /* confdefs.h. */
39523 _ACEOF
39524 cat confdefs.h >>conftest.$ac_ext
39525 cat >>conftest.$ac_ext <<_ACEOF
39526 /* end confdefs.h. */
39527
39528 /* Override any GCC internal prototype to avoid an error.
39529 Use char because int might match the return type of a GCC
39530 builtin and then its argument prototype would still apply. */
39531 #ifdef __cplusplus
39532 extern "C"
39533 #endif
39534 char inet_addr ();
39535 int
39536 main ()
39537 {
39538 return inet_addr ();
39539 ;
39540 return 0;
39541 }
39542 _ACEOF
39543 rm -f conftest.$ac_objext conftest$ac_exeext
39544 if { (ac_try="$ac_link"
39545 case "(($ac_try" in
39546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39547 *) ac_try_echo=$ac_try;;
39548 esac
39549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39550 (eval "$ac_link") 2>conftest.er1
39551 ac_status=$?
39552 grep -v '^ *+' conftest.er1 >conftest.err
39553 rm -f conftest.er1
39554 cat conftest.err >&5
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); } && {
39557 test -z "$ac_c_werror_flag" ||
39558 test ! -s conftest.err
39559 } && test -s conftest$ac_exeext &&
39560 $as_test_x conftest$ac_exeext; then
39561 ac_cv_lib_resolv_inet_addr=yes
39562 else
39563 echo "$as_me: failed program was:" >&5
39564 sed 's/^/| /' conftest.$ac_ext >&5
39565
39566 ac_cv_lib_resolv_inet_addr=no
39567 fi
39568
39569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39570 conftest$ac_exeext conftest.$ac_ext
39571 LIBS=$ac_check_lib_save_LIBS
39572 fi
39573 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39574 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39575 if test $ac_cv_lib_resolv_inet_addr = yes; then
39576 INET_LINK="resolv"
39577 else
39578
39579 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39580 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39581 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39582 echo $ECHO_N "(cached) $ECHO_C" >&6
39583 else
39584 ac_check_lib_save_LIBS=$LIBS
39585 LIBS="-lsocket $LIBS"
39586 cat >conftest.$ac_ext <<_ACEOF
39587 /* confdefs.h. */
39588 _ACEOF
39589 cat confdefs.h >>conftest.$ac_ext
39590 cat >>conftest.$ac_ext <<_ACEOF
39591 /* end confdefs.h. */
39592
39593 /* Override any GCC internal prototype to avoid an error.
39594 Use char because int might match the return type of a GCC
39595 builtin and then its argument prototype would still apply. */
39596 #ifdef __cplusplus
39597 extern "C"
39598 #endif
39599 char inet_addr ();
39600 int
39601 main ()
39602 {
39603 return inet_addr ();
39604 ;
39605 return 0;
39606 }
39607 _ACEOF
39608 rm -f conftest.$ac_objext conftest$ac_exeext
39609 if { (ac_try="$ac_link"
39610 case "(($ac_try" in
39611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39612 *) ac_try_echo=$ac_try;;
39613 esac
39614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39615 (eval "$ac_link") 2>conftest.er1
39616 ac_status=$?
39617 grep -v '^ *+' conftest.er1 >conftest.err
39618 rm -f conftest.er1
39619 cat conftest.err >&5
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); } && {
39622 test -z "$ac_c_werror_flag" ||
39623 test ! -s conftest.err
39624 } && test -s conftest$ac_exeext &&
39625 $as_test_x conftest$ac_exeext; then
39626 ac_cv_lib_socket_inet_addr=yes
39627 else
39628 echo "$as_me: failed program was:" >&5
39629 sed 's/^/| /' conftest.$ac_ext >&5
39630
39631 ac_cv_lib_socket_inet_addr=no
39632 fi
39633
39634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39635 conftest$ac_exeext conftest.$ac_ext
39636 LIBS=$ac_check_lib_save_LIBS
39637 fi
39638 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39639 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39640 if test $ac_cv_lib_socket_inet_addr = yes; then
39641 INET_LINK="socket"
39642
39643 fi
39644
39645
39646
39647 fi
39648
39649
39650
39651 fi
39652
39653
39654
39655 fi
39656 done
39657
39658
39659
39660 for ac_func in inet_aton
39661 do
39662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39663 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39665 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39666 echo $ECHO_N "(cached) $ECHO_C" >&6
39667 else
39668 cat >conftest.$ac_ext <<_ACEOF
39669 /* confdefs.h. */
39670 _ACEOF
39671 cat confdefs.h >>conftest.$ac_ext
39672 cat >>conftest.$ac_ext <<_ACEOF
39673 /* end confdefs.h. */
39674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39676 #define $ac_func innocuous_$ac_func
39677
39678 /* System header to define __stub macros and hopefully few prototypes,
39679 which can conflict with char $ac_func (); below.
39680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39681 <limits.h> exists even on freestanding compilers. */
39682
39683 #ifdef __STDC__
39684 # include <limits.h>
39685 #else
39686 # include <assert.h>
39687 #endif
39688
39689 #undef $ac_func
39690
39691 /* Override any GCC internal prototype to avoid an error.
39692 Use char because int might match the return type of a GCC
39693 builtin and then its argument prototype would still apply. */
39694 #ifdef __cplusplus
39695 extern "C"
39696 #endif
39697 char $ac_func ();
39698 /* The GNU C library defines this for functions which it implements
39699 to always fail with ENOSYS. Some functions are actually named
39700 something starting with __ and the normal name is an alias. */
39701 #if defined __stub_$ac_func || defined __stub___$ac_func
39702 choke me
39703 #endif
39704
39705 int
39706 main ()
39707 {
39708 return $ac_func ();
39709 ;
39710 return 0;
39711 }
39712 _ACEOF
39713 rm -f conftest.$ac_objext conftest$ac_exeext
39714 if { (ac_try="$ac_link"
39715 case "(($ac_try" in
39716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39717 *) ac_try_echo=$ac_try;;
39718 esac
39719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39720 (eval "$ac_link") 2>conftest.er1
39721 ac_status=$?
39722 grep -v '^ *+' conftest.er1 >conftest.err
39723 rm -f conftest.er1
39724 cat conftest.err >&5
39725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39726 (exit $ac_status); } && {
39727 test -z "$ac_c_werror_flag" ||
39728 test ! -s conftest.err
39729 } && test -s conftest$ac_exeext &&
39730 $as_test_x conftest$ac_exeext; then
39731 eval "$as_ac_var=yes"
39732 else
39733 echo "$as_me: failed program was:" >&5
39734 sed 's/^/| /' conftest.$ac_ext >&5
39735
39736 eval "$as_ac_var=no"
39737 fi
39738
39739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39740 conftest$ac_exeext conftest.$ac_ext
39741 fi
39742 ac_res=`eval echo '${'$as_ac_var'}'`
39743 { echo "$as_me:$LINENO: result: $ac_res" >&5
39744 echo "${ECHO_T}$ac_res" >&6; }
39745 if test `eval echo '${'$as_ac_var'}'` = yes; then
39746 cat >>confdefs.h <<_ACEOF
39747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39748 _ACEOF
39749 cat >>confdefs.h <<\_ACEOF
39750 #define HAVE_INET_ATON 1
39751 _ACEOF
39752
39753 else
39754
39755 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39756 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39757 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39758 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39759 echo $ECHO_N "(cached) $ECHO_C" >&6
39760 else
39761 ac_check_lib_save_LIBS=$LIBS
39762 LIBS="-l$INET_LINK $LIBS"
39763 cat >conftest.$ac_ext <<_ACEOF
39764 /* confdefs.h. */
39765 _ACEOF
39766 cat confdefs.h >>conftest.$ac_ext
39767 cat >>conftest.$ac_ext <<_ACEOF
39768 /* end confdefs.h. */
39769
39770 /* Override any GCC internal prototype to avoid an error.
39771 Use char because int might match the return type of a GCC
39772 builtin and then its argument prototype would still apply. */
39773 #ifdef __cplusplus
39774 extern "C"
39775 #endif
39776 char inet_aton ();
39777 int
39778 main ()
39779 {
39780 return inet_aton ();
39781 ;
39782 return 0;
39783 }
39784 _ACEOF
39785 rm -f conftest.$ac_objext conftest$ac_exeext
39786 if { (ac_try="$ac_link"
39787 case "(($ac_try" in
39788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39789 *) ac_try_echo=$ac_try;;
39790 esac
39791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39792 (eval "$ac_link") 2>conftest.er1
39793 ac_status=$?
39794 grep -v '^ *+' conftest.er1 >conftest.err
39795 rm -f conftest.er1
39796 cat conftest.err >&5
39797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39798 (exit $ac_status); } && {
39799 test -z "$ac_c_werror_flag" ||
39800 test ! -s conftest.err
39801 } && test -s conftest$ac_exeext &&
39802 $as_test_x conftest$ac_exeext; then
39803 eval "$as_ac_Lib=yes"
39804 else
39805 echo "$as_me: failed program was:" >&5
39806 sed 's/^/| /' conftest.$ac_ext >&5
39807
39808 eval "$as_ac_Lib=no"
39809 fi
39810
39811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39812 conftest$ac_exeext conftest.$ac_ext
39813 LIBS=$ac_check_lib_save_LIBS
39814 fi
39815 ac_res=`eval echo '${'$as_ac_Lib'}'`
39816 { echo "$as_me:$LINENO: result: $ac_res" >&5
39817 echo "${ECHO_T}$ac_res" >&6; }
39818 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39819 cat >>confdefs.h <<\_ACEOF
39820 #define HAVE_INET_ATON 1
39821 _ACEOF
39822
39823 fi
39824
39825
39826 fi
39827 done
39828
39829
39830 if test "x$INET_LINK" != "x"; then
39831 cat >>confdefs.h <<\_ACEOF
39832 #define HAVE_INET_ADDR 1
39833 _ACEOF
39834
39835 INET_LINK=" -l$INET_LINK"
39836 fi
39837
39838
39839 for wx_func in fdopen
39840 do
39841 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39842 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39843 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39844 echo $ECHO_N "(cached) $ECHO_C" >&6
39845 else
39846
39847 cat >conftest.$ac_ext <<_ACEOF
39848
39849 /* confdefs.h. */
39850 _ACEOF
39851 cat confdefs.h >>conftest.$ac_ext
39852 cat >>conftest.$ac_ext <<_ACEOF
39853 /* end confdefs.h. */
39854
39855
39856 $ac_includes_default
39857
39858 int
39859 main ()
39860 {
39861
39862 #ifndef $wx_func
39863 &$wx_func;
39864 #endif
39865
39866
39867 ;
39868 return 0;
39869 }
39870
39871 _ACEOF
39872 rm -f conftest.$ac_objext conftest$ac_exeext
39873 if { (ac_try="$ac_link"
39874 case "(($ac_try" in
39875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39876 *) ac_try_echo=$ac_try;;
39877 esac
39878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39879 (eval "$ac_link") 2>conftest.er1
39880 ac_status=$?
39881 grep -v '^ *+' conftest.er1 >conftest.err
39882 rm -f conftest.er1
39883 cat conftest.err >&5
39884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39885 (exit $ac_status); } && {
39886 test -z "$ac_c_werror_flag" ||
39887 test ! -s conftest.err
39888 } && test -s conftest$ac_exeext &&
39889 $as_test_x conftest$ac_exeext; then
39890 eval wx_cv_func_$wx_func=yes
39891 else
39892 echo "$as_me: failed program was:" >&5
39893 sed 's/^/| /' conftest.$ac_ext >&5
39894
39895 eval wx_cv_func_$wx_func=no
39896 fi
39897
39898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39899 conftest$ac_exeext conftest.$ac_ext
39900
39901 fi
39902 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39903 { echo "$as_me:$LINENO: result: $ac_res" >&5
39904 echo "${ECHO_T}$ac_res" >&6; }
39905
39906 if eval test \$wx_cv_func_$wx_func = yes
39907 then
39908 cat >>confdefs.h <<_ACEOF
39909 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39910 _ACEOF
39911
39912
39913 else
39914 :
39915
39916 fi
39917 done
39918
39919
39920 if test "$wxUSE_TARSTREAM" = "yes"; then
39921
39922 for wx_func in sysconf
39923 do
39924 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39925 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39926 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39927 echo $ECHO_N "(cached) $ECHO_C" >&6
39928 else
39929
39930 cat >conftest.$ac_ext <<_ACEOF
39931
39932 /* confdefs.h. */
39933 _ACEOF
39934 cat confdefs.h >>conftest.$ac_ext
39935 cat >>conftest.$ac_ext <<_ACEOF
39936 /* end confdefs.h. */
39937
39938
39939 $ac_includes_default
39940
39941 int
39942 main ()
39943 {
39944
39945 #ifndef $wx_func
39946 &$wx_func;
39947 #endif
39948
39949
39950 ;
39951 return 0;
39952 }
39953
39954 _ACEOF
39955 rm -f conftest.$ac_objext conftest$ac_exeext
39956 if { (ac_try="$ac_link"
39957 case "(($ac_try" in
39958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39959 *) ac_try_echo=$ac_try;;
39960 esac
39961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39962 (eval "$ac_link") 2>conftest.er1
39963 ac_status=$?
39964 grep -v '^ *+' conftest.er1 >conftest.err
39965 rm -f conftest.er1
39966 cat conftest.err >&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } && {
39969 test -z "$ac_c_werror_flag" ||
39970 test ! -s conftest.err
39971 } && test -s conftest$ac_exeext &&
39972 $as_test_x conftest$ac_exeext; then
39973 eval wx_cv_func_$wx_func=yes
39974 else
39975 echo "$as_me: failed program was:" >&5
39976 sed 's/^/| /' conftest.$ac_ext >&5
39977
39978 eval wx_cv_func_$wx_func=no
39979 fi
39980
39981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39982 conftest$ac_exeext conftest.$ac_ext
39983
39984 fi
39985 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39986 { echo "$as_me:$LINENO: result: $ac_res" >&5
39987 echo "${ECHO_T}$ac_res" >&6; }
39988
39989 if eval test \$wx_cv_func_$wx_func = yes
39990 then
39991 cat >>confdefs.h <<_ACEOF
39992 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39993 _ACEOF
39994
39995
39996 else
39997 :
39998
39999 fi
40000 done
40001
40002
40003
40004 for wx_func in getpwuid_r
40005 do
40006 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40007 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40008 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40009 echo $ECHO_N "(cached) $ECHO_C" >&6
40010 else
40011
40012 cat >conftest.$ac_ext <<_ACEOF
40013
40014 /* confdefs.h. */
40015 _ACEOF
40016 cat confdefs.h >>conftest.$ac_ext
40017 cat >>conftest.$ac_ext <<_ACEOF
40018 /* end confdefs.h. */
40019
40020
40021 #define _REENTRANT
40022 #include <pwd.h>
40023
40024 $ac_includes_default
40025
40026 int
40027 main ()
40028 {
40029
40030 #ifndef $wx_func
40031 &$wx_func;
40032 #endif
40033
40034 struct passwd pw, *ppw;
40035 char buf[1024];
40036 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40037
40038
40039 ;
40040 return 0;
40041 }
40042
40043 _ACEOF
40044 rm -f conftest.$ac_objext conftest$ac_exeext
40045 if { (ac_try="$ac_link"
40046 case "(($ac_try" in
40047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40048 *) ac_try_echo=$ac_try;;
40049 esac
40050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40051 (eval "$ac_link") 2>conftest.er1
40052 ac_status=$?
40053 grep -v '^ *+' conftest.er1 >conftest.err
40054 rm -f conftest.er1
40055 cat conftest.err >&5
40056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40057 (exit $ac_status); } && {
40058 test -z "$ac_c_werror_flag" ||
40059 test ! -s conftest.err
40060 } && test -s conftest$ac_exeext &&
40061 $as_test_x conftest$ac_exeext; then
40062 eval wx_cv_func_$wx_func=yes
40063 else
40064 echo "$as_me: failed program was:" >&5
40065 sed 's/^/| /' conftest.$ac_ext >&5
40066
40067 eval wx_cv_func_$wx_func=no
40068 fi
40069
40070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40071 conftest$ac_exeext conftest.$ac_ext
40072
40073 fi
40074 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40075 { echo "$as_me:$LINENO: result: $ac_res" >&5
40076 echo "${ECHO_T}$ac_res" >&6; }
40077
40078 if eval test \$wx_cv_func_$wx_func = yes
40079 then
40080 cat >>confdefs.h <<_ACEOF
40081 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40082 _ACEOF
40083
40084
40085 else
40086 :
40087
40088 fi
40089 done
40090
40091
40092
40093 for wx_func in getgrgid_r
40094 do
40095 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40096 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40097 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40098 echo $ECHO_N "(cached) $ECHO_C" >&6
40099 else
40100
40101 cat >conftest.$ac_ext <<_ACEOF
40102
40103 /* confdefs.h. */
40104 _ACEOF
40105 cat confdefs.h >>conftest.$ac_ext
40106 cat >>conftest.$ac_ext <<_ACEOF
40107 /* end confdefs.h. */
40108
40109
40110 #define _REENTRANT
40111 #include <grp.h>
40112
40113 $ac_includes_default
40114
40115 int
40116 main ()
40117 {
40118
40119 #ifndef $wx_func
40120 &$wx_func;
40121 #endif
40122
40123 struct group grp, *pgrp;
40124 char buf[1024];
40125 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40126
40127
40128 ;
40129 return 0;
40130 }
40131
40132 _ACEOF
40133 rm -f conftest.$ac_objext conftest$ac_exeext
40134 if { (ac_try="$ac_link"
40135 case "(($ac_try" in
40136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40137 *) ac_try_echo=$ac_try;;
40138 esac
40139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40140 (eval "$ac_link") 2>conftest.er1
40141 ac_status=$?
40142 grep -v '^ *+' conftest.er1 >conftest.err
40143 rm -f conftest.er1
40144 cat conftest.err >&5
40145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40146 (exit $ac_status); } && {
40147 test -z "$ac_c_werror_flag" ||
40148 test ! -s conftest.err
40149 } && test -s conftest$ac_exeext &&
40150 $as_test_x conftest$ac_exeext; then
40151 eval wx_cv_func_$wx_func=yes
40152 else
40153 echo "$as_me: failed program was:" >&5
40154 sed 's/^/| /' conftest.$ac_ext >&5
40155
40156 eval wx_cv_func_$wx_func=no
40157 fi
40158
40159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40160 conftest$ac_exeext conftest.$ac_ext
40161
40162 fi
40163 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40164 { echo "$as_me:$LINENO: result: $ac_res" >&5
40165 echo "${ECHO_T}$ac_res" >&6; }
40166
40167 if eval test \$wx_cv_func_$wx_func = yes
40168 then
40169 cat >>confdefs.h <<_ACEOF
40170 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40171 _ACEOF
40172
40173
40174 else
40175 :
40176
40177 fi
40178 done
40179
40180 fi
40181
40182 fi
40183
40184
40185
40186 cat >confcache <<\_ACEOF
40187 # This file is a shell script that caches the results of configure
40188 # tests run on this system so they can be shared between configure
40189 # scripts and configure runs, see configure's option --config-cache.
40190 # It is not useful on other systems. If it contains results you don't
40191 # want to keep, you may remove or edit it.
40192 #
40193 # config.status only pays attention to the cache file if you give it
40194 # the --recheck option to rerun configure.
40195 #
40196 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40197 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40198 # following values.
40199
40200 _ACEOF
40201
40202 # The following way of writing the cache mishandles newlines in values,
40203 # but we know of no workaround that is simple, portable, and efficient.
40204 # So, we kill variables containing newlines.
40205 # Ultrix sh set writes to stderr and can't be redirected directly,
40206 # and sets the high bit in the cache file unless we assign to the vars.
40207 (
40208 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40209 eval ac_val=\$$ac_var
40210 case $ac_val in #(
40211 *${as_nl}*)
40212 case $ac_var in #(
40213 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40214 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40215 esac
40216 case $ac_var in #(
40217 _ | IFS | as_nl) ;; #(
40218 *) $as_unset $ac_var ;;
40219 esac ;;
40220 esac
40221 done
40222
40223 (set) 2>&1 |
40224 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40225 *${as_nl}ac_space=\ *)
40226 # `set' does not quote correctly, so add quotes (double-quote
40227 # substitution turns \\\\ into \\, and sed turns \\ into \).
40228 sed -n \
40229 "s/'/'\\\\''/g;
40230 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40231 ;; #(
40232 *)
40233 # `set' quotes correctly as required by POSIX, so do not add quotes.
40234 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40235 ;;
40236 esac |
40237 sort
40238 ) |
40239 sed '
40240 /^ac_cv_env_/b end
40241 t clear
40242 :clear
40243 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40244 t end
40245 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40246 :end' >>confcache
40247 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40248 if test -w "$cache_file"; then
40249 test "x$cache_file" != "x/dev/null" &&
40250 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40251 echo "$as_me: updating cache $cache_file" >&6;}
40252 cat confcache >$cache_file
40253 else
40254 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40255 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40256 fi
40257 fi
40258 rm -f confcache
40259
40260
40261 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40262
40263
40264 THREADS_LINK=
40265 THREADS_CFLAGS=
40266
40267 if test "$wxUSE_THREADS" = "yes" ; then
40268 if test "$USE_BEOS" = 1; then
40269 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40270 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40271 wxUSE_THREADS="no"
40272 fi
40273 fi
40274
40275 if test "$wxUSE_THREADS" = "yes" ; then
40276
40277
40278 THREAD_OPTS="-pthread"
40279 if test "x$SUNCXX" = xyes; then
40280 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40281 fi
40282
40283 case "${host}" in
40284 *-*-solaris2* | *-*-sunos4* )
40285 if test "x$GCC" = "xyes"; then
40286 THREAD_OPTS="-pthreads $THREAD_OPTS"
40287 fi
40288 ;;
40289 *-*-freebsd*)
40290 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40291 ;;
40292 *-*-darwin* | *-*-cygwin* )
40293 THREAD_OPTS=""
40294 ;;
40295 *-*-aix*)
40296 THREAD_OPTS="pthreads"
40297 ;;
40298 *-hp-hpux* )
40299 if test "x$GCC" = "xyes"; then
40300 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40301 THREAD_OPTS=""
40302 else
40303 THREAD_OPTS="-mt"
40304 fi
40305 ;;
40306
40307 *-*-irix* )
40308 if test "x$GCC" = "xyes"; then
40309 THREAD_OPTS=""
40310 fi
40311 ;;
40312
40313 *-*-qnx*)
40314 THREAD_OPTS=""
40315 ;;
40316
40317 *-*-*UnixWare*)
40318 if test "x$GCC" != "xyes"; then
40319 THREAD_OPTS="-Ethread"
40320 fi
40321 ;;
40322 esac
40323
40324 case "${host}" in
40325 *-*-qnx*)
40326 THREAD_OPTS="none pthread"
40327 ;;
40328
40329 *)
40330 THREAD_OPTS="$THREAD_OPTS pthread none"
40331 ;;
40332 esac
40333
40334 THREADS_OK=no
40335 for flag in $THREAD_OPTS; do
40336 case $flag in
40337 none)
40338 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40339 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40340 ;;
40341
40342 -*)
40343 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40344 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40345 THREADS_CFLAGS="$flag"
40346 ;;
40347
40348 *)
40349 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40350 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40351 THREADS_LINK="-l$flag"
40352 ;;
40353 esac
40354
40355 save_LIBS="$LIBS"
40356 save_CFLAGS="$CFLAGS"
40357 LIBS="$THREADS_LINK $LIBS"
40358 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40359
40360 cat >conftest.$ac_ext <<_ACEOF
40361 /* confdefs.h. */
40362 _ACEOF
40363 cat confdefs.h >>conftest.$ac_ext
40364 cat >>conftest.$ac_ext <<_ACEOF
40365 /* end confdefs.h. */
40366 #include <pthread.h>
40367 int
40368 main ()
40369 {
40370 pthread_create(0,0,0,0);
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 THREADS_OK=yes
40394 else
40395 echo "$as_me: failed program was:" >&5
40396 sed 's/^/| /' conftest.$ac_ext >&5
40397
40398
40399 fi
40400
40401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40402 conftest$ac_exeext conftest.$ac_ext
40403
40404 LIBS="$save_LIBS"
40405 CFLAGS="$save_CFLAGS"
40406
40407 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40408 echo "${ECHO_T}$THREADS_OK" >&6; }
40409 if test "x$THREADS_OK" = "xyes"; then
40410 break;
40411 fi
40412
40413 THREADS_LINK=""
40414 THREADS_CFLAGS=""
40415 done
40416
40417 if test "x$THREADS_OK" != "xyes"; then
40418 wxUSE_THREADS=no
40419 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40420 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40421 else
40422 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40423 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40424 LIBS="$THREADS_LINK $LIBS"
40425
40426 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40427 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40428 flag=no
40429 case "${host}" in
40430 *-aix*)
40431 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40432 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40433 flag="-D_THREAD_SAFE"
40434 ;;
40435 *-freebsd*)
40436 flag="-D_THREAD_SAFE"
40437 ;;
40438 *-hp-hpux* )
40439 flag="-D_REENTRANT"
40440 if test "x$GCC" != "xyes"; then
40441 flag="$flag -D_RWSTD_MULTI_THREAD"
40442 fi
40443 ;;
40444 *solaris* | alpha*-osf*)
40445 flag="-D_REENTRANT"
40446 ;;
40447 esac
40448 { echo "$as_me:$LINENO: result: ${flag}" >&5
40449 echo "${ECHO_T}${flag}" >&6; }
40450 if test "x$flag" != xno; then
40451 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40452 fi
40453
40454 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40455 fi
40456 fi
40457
40458 if test "$wxUSE_THREADS" = "yes" ; then
40459
40460 for ac_func in thr_setconcurrency
40461 do
40462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40463 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40465 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40466 echo $ECHO_N "(cached) $ECHO_C" >&6
40467 else
40468 cat >conftest.$ac_ext <<_ACEOF
40469 /* confdefs.h. */
40470 _ACEOF
40471 cat confdefs.h >>conftest.$ac_ext
40472 cat >>conftest.$ac_ext <<_ACEOF
40473 /* end confdefs.h. */
40474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40476 #define $ac_func innocuous_$ac_func
40477
40478 /* System header to define __stub macros and hopefully few prototypes,
40479 which can conflict with char $ac_func (); below.
40480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40481 <limits.h> exists even on freestanding compilers. */
40482
40483 #ifdef __STDC__
40484 # include <limits.h>
40485 #else
40486 # include <assert.h>
40487 #endif
40488
40489 #undef $ac_func
40490
40491 /* Override any GCC internal prototype to avoid an error.
40492 Use char because int might match the return type of a GCC
40493 builtin and then its argument prototype would still apply. */
40494 #ifdef __cplusplus
40495 extern "C"
40496 #endif
40497 char $ac_func ();
40498 /* The GNU C library defines this for functions which it implements
40499 to always fail with ENOSYS. Some functions are actually named
40500 something starting with __ and the normal name is an alias. */
40501 #if defined __stub_$ac_func || defined __stub___$ac_func
40502 choke me
40503 #endif
40504
40505 int
40506 main ()
40507 {
40508 return $ac_func ();
40509 ;
40510 return 0;
40511 }
40512 _ACEOF
40513 rm -f conftest.$ac_objext conftest$ac_exeext
40514 if { (ac_try="$ac_link"
40515 case "(($ac_try" in
40516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40517 *) ac_try_echo=$ac_try;;
40518 esac
40519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40520 (eval "$ac_link") 2>conftest.er1
40521 ac_status=$?
40522 grep -v '^ *+' conftest.er1 >conftest.err
40523 rm -f conftest.er1
40524 cat conftest.err >&5
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); } && {
40527 test -z "$ac_c_werror_flag" ||
40528 test ! -s conftest.err
40529 } && test -s conftest$ac_exeext &&
40530 $as_test_x conftest$ac_exeext; then
40531 eval "$as_ac_var=yes"
40532 else
40533 echo "$as_me: failed program was:" >&5
40534 sed 's/^/| /' conftest.$ac_ext >&5
40535
40536 eval "$as_ac_var=no"
40537 fi
40538
40539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40540 conftest$ac_exeext conftest.$ac_ext
40541 fi
40542 ac_res=`eval echo '${'$as_ac_var'}'`
40543 { echo "$as_me:$LINENO: result: $ac_res" >&5
40544 echo "${ECHO_T}$ac_res" >&6; }
40545 if test `eval echo '${'$as_ac_var'}'` = yes; then
40546 cat >>confdefs.h <<_ACEOF
40547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40548 _ACEOF
40549
40550 fi
40551 done
40552
40553
40554 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40555 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40556 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40557 echo $ECHO_N "(cached) $ECHO_C" >&6
40558 else
40559
40560 ac_ext=cpp
40561 ac_cpp='$CXXCPP $CPPFLAGS'
40562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40565
40566 cat >conftest.$ac_ext <<_ACEOF
40567 /* confdefs.h. */
40568 _ACEOF
40569 cat confdefs.h >>conftest.$ac_ext
40570 cat >>conftest.$ac_ext <<_ACEOF
40571 /* end confdefs.h. */
40572 #include <pthread.h>
40573 void ThreadCleanupFunc(void *p);
40574
40575 int
40576 main ()
40577 {
40578
40579 void *p;
40580 pthread_cleanup_push(ThreadCleanupFunc, p);
40581 pthread_cleanup_pop(0);
40582
40583 ;
40584 return 0;
40585 }
40586 _ACEOF
40587 rm -f conftest.$ac_objext
40588 if { (ac_try="$ac_compile"
40589 case "(($ac_try" in
40590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40591 *) ac_try_echo=$ac_try;;
40592 esac
40593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40594 (eval "$ac_compile") 2>conftest.er1
40595 ac_status=$?
40596 grep -v '^ *+' conftest.er1 >conftest.err
40597 rm -f conftest.er1
40598 cat conftest.err >&5
40599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40600 (exit $ac_status); } && {
40601 test -z "$ac_cxx_werror_flag" ||
40602 test ! -s conftest.err
40603 } && test -s conftest.$ac_objext; then
40604
40605 wx_cv_func_pthread_cleanup=yes
40606
40607 else
40608 echo "$as_me: failed program was:" >&5
40609 sed 's/^/| /' conftest.$ac_ext >&5
40610
40611
40612 wx_cv_func_pthread_cleanup=no
40613
40614
40615 fi
40616
40617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40618 ac_ext=c
40619 ac_cpp='$CPP $CPPFLAGS'
40620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40623
40624
40625 fi
40626 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40627 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40628 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40629 cat >>confdefs.h <<\_ACEOF
40630 #define wxHAVE_PTHREAD_CLEANUP 1
40631 _ACEOF
40632
40633 fi
40634
40635
40636 for ac_header in sched.h
40637 do
40638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40639 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40641 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40642 echo $ECHO_N "(cached) $ECHO_C" >&6
40643 else
40644 cat >conftest.$ac_ext <<_ACEOF
40645 /* confdefs.h. */
40646 _ACEOF
40647 cat confdefs.h >>conftest.$ac_ext
40648 cat >>conftest.$ac_ext <<_ACEOF
40649 /* end confdefs.h. */
40650 $ac_includes_default
40651
40652 #include <$ac_header>
40653 _ACEOF
40654 rm -f conftest.$ac_objext
40655 if { (ac_try="$ac_compile"
40656 case "(($ac_try" in
40657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40658 *) ac_try_echo=$ac_try;;
40659 esac
40660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40661 (eval "$ac_compile") 2>conftest.er1
40662 ac_status=$?
40663 grep -v '^ *+' conftest.er1 >conftest.err
40664 rm -f conftest.er1
40665 cat conftest.err >&5
40666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40667 (exit $ac_status); } && {
40668 test -z "$ac_c_werror_flag" ||
40669 test ! -s conftest.err
40670 } && test -s conftest.$ac_objext; then
40671 eval "$as_ac_Header=yes"
40672 else
40673 echo "$as_me: failed program was:" >&5
40674 sed 's/^/| /' conftest.$ac_ext >&5
40675
40676 eval "$as_ac_Header=no"
40677 fi
40678
40679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40680 fi
40681 ac_res=`eval echo '${'$as_ac_Header'}'`
40682 { echo "$as_me:$LINENO: result: $ac_res" >&5
40683 echo "${ECHO_T}$ac_res" >&6; }
40684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40685 cat >>confdefs.h <<_ACEOF
40686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40687 _ACEOF
40688
40689 fi
40690
40691 done
40692
40693 if test "$ac_cv_header_sched_h" = "yes"; then
40694 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40695 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40696 if test "${ac_cv_func_sched_yield+set}" = set; then
40697 echo $ECHO_N "(cached) $ECHO_C" >&6
40698 else
40699 cat >conftest.$ac_ext <<_ACEOF
40700 /* confdefs.h. */
40701 _ACEOF
40702 cat confdefs.h >>conftest.$ac_ext
40703 cat >>conftest.$ac_ext <<_ACEOF
40704 /* end confdefs.h. */
40705 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40707 #define sched_yield innocuous_sched_yield
40708
40709 /* System header to define __stub macros and hopefully few prototypes,
40710 which can conflict with char sched_yield (); below.
40711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40712 <limits.h> exists even on freestanding compilers. */
40713
40714 #ifdef __STDC__
40715 # include <limits.h>
40716 #else
40717 # include <assert.h>
40718 #endif
40719
40720 #undef sched_yield
40721
40722 /* Override any GCC internal prototype to avoid an error.
40723 Use char because int might match the return type of a GCC
40724 builtin and then its argument prototype would still apply. */
40725 #ifdef __cplusplus
40726 extern "C"
40727 #endif
40728 char sched_yield ();
40729 /* The GNU C library defines this for functions which it implements
40730 to always fail with ENOSYS. Some functions are actually named
40731 something starting with __ and the normal name is an alias. */
40732 #if defined __stub_sched_yield || defined __stub___sched_yield
40733 choke me
40734 #endif
40735
40736 int
40737 main ()
40738 {
40739 return sched_yield ();
40740 ;
40741 return 0;
40742 }
40743 _ACEOF
40744 rm -f conftest.$ac_objext conftest$ac_exeext
40745 if { (ac_try="$ac_link"
40746 case "(($ac_try" in
40747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40748 *) ac_try_echo=$ac_try;;
40749 esac
40750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40751 (eval "$ac_link") 2>conftest.er1
40752 ac_status=$?
40753 grep -v '^ *+' conftest.er1 >conftest.err
40754 rm -f conftest.er1
40755 cat conftest.err >&5
40756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757 (exit $ac_status); } && {
40758 test -z "$ac_c_werror_flag" ||
40759 test ! -s conftest.err
40760 } && test -s conftest$ac_exeext &&
40761 $as_test_x conftest$ac_exeext; then
40762 ac_cv_func_sched_yield=yes
40763 else
40764 echo "$as_me: failed program was:" >&5
40765 sed 's/^/| /' conftest.$ac_ext >&5
40766
40767 ac_cv_func_sched_yield=no
40768 fi
40769
40770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40771 conftest$ac_exeext conftest.$ac_ext
40772 fi
40773 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40774 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40775 if test $ac_cv_func_sched_yield = yes; then
40776 cat >>confdefs.h <<\_ACEOF
40777 #define HAVE_SCHED_YIELD 1
40778 _ACEOF
40779
40780 else
40781
40782 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40783 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40784 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40785 echo $ECHO_N "(cached) $ECHO_C" >&6
40786 else
40787 ac_check_lib_save_LIBS=$LIBS
40788 LIBS="-lposix4 $LIBS"
40789 cat >conftest.$ac_ext <<_ACEOF
40790 /* confdefs.h. */
40791 _ACEOF
40792 cat confdefs.h >>conftest.$ac_ext
40793 cat >>conftest.$ac_ext <<_ACEOF
40794 /* end confdefs.h. */
40795
40796 /* Override any GCC internal prototype to avoid an error.
40797 Use char because int might match the return type of a GCC
40798 builtin and then its argument prototype would still apply. */
40799 #ifdef __cplusplus
40800 extern "C"
40801 #endif
40802 char sched_yield ();
40803 int
40804 main ()
40805 {
40806 return sched_yield ();
40807 ;
40808 return 0;
40809 }
40810 _ACEOF
40811 rm -f conftest.$ac_objext conftest$ac_exeext
40812 if { (ac_try="$ac_link"
40813 case "(($ac_try" in
40814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40815 *) ac_try_echo=$ac_try;;
40816 esac
40817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40818 (eval "$ac_link") 2>conftest.er1
40819 ac_status=$?
40820 grep -v '^ *+' conftest.er1 >conftest.err
40821 rm -f conftest.er1
40822 cat conftest.err >&5
40823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40824 (exit $ac_status); } && {
40825 test -z "$ac_c_werror_flag" ||
40826 test ! -s conftest.err
40827 } && test -s conftest$ac_exeext &&
40828 $as_test_x conftest$ac_exeext; then
40829 ac_cv_lib_posix4_sched_yield=yes
40830 else
40831 echo "$as_me: failed program was:" >&5
40832 sed 's/^/| /' conftest.$ac_ext >&5
40833
40834 ac_cv_lib_posix4_sched_yield=no
40835 fi
40836
40837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40838 conftest$ac_exeext conftest.$ac_ext
40839 LIBS=$ac_check_lib_save_LIBS
40840 fi
40841 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40842 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40843 if test $ac_cv_lib_posix4_sched_yield = yes; then
40844 cat >>confdefs.h <<\_ACEOF
40845 #define HAVE_SCHED_YIELD 1
40846 _ACEOF
40847 POSIX4_LINK=" -lposix4"
40848 else
40849 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40850 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40851
40852 fi
40853
40854
40855
40856 fi
40857
40858 fi
40859
40860 HAVE_PRIOR_FUNCS=0
40861 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40862 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40863 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40864 echo $ECHO_N "(cached) $ECHO_C" >&6
40865 else
40866 cat >conftest.$ac_ext <<_ACEOF
40867 /* confdefs.h. */
40868 _ACEOF
40869 cat confdefs.h >>conftest.$ac_ext
40870 cat >>conftest.$ac_ext <<_ACEOF
40871 /* end confdefs.h. */
40872 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40874 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40875
40876 /* System header to define __stub macros and hopefully few prototypes,
40877 which can conflict with char pthread_attr_getschedpolicy (); below.
40878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40879 <limits.h> exists even on freestanding compilers. */
40880
40881 #ifdef __STDC__
40882 # include <limits.h>
40883 #else
40884 # include <assert.h>
40885 #endif
40886
40887 #undef pthread_attr_getschedpolicy
40888
40889 /* Override any GCC internal prototype to avoid an error.
40890 Use char because int might match the return type of a GCC
40891 builtin and then its argument prototype would still apply. */
40892 #ifdef __cplusplus
40893 extern "C"
40894 #endif
40895 char pthread_attr_getschedpolicy ();
40896 /* The GNU C library defines this for functions which it implements
40897 to always fail with ENOSYS. Some functions are actually named
40898 something starting with __ and the normal name is an alias. */
40899 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40900 choke me
40901 #endif
40902
40903 int
40904 main ()
40905 {
40906 return pthread_attr_getschedpolicy ();
40907 ;
40908 return 0;
40909 }
40910 _ACEOF
40911 rm -f conftest.$ac_objext conftest$ac_exeext
40912 if { (ac_try="$ac_link"
40913 case "(($ac_try" in
40914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40915 *) ac_try_echo=$ac_try;;
40916 esac
40917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40918 (eval "$ac_link") 2>conftest.er1
40919 ac_status=$?
40920 grep -v '^ *+' conftest.er1 >conftest.err
40921 rm -f conftest.er1
40922 cat conftest.err >&5
40923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40924 (exit $ac_status); } && {
40925 test -z "$ac_c_werror_flag" ||
40926 test ! -s conftest.err
40927 } && test -s conftest$ac_exeext &&
40928 $as_test_x conftest$ac_exeext; then
40929 ac_cv_func_pthread_attr_getschedpolicy=yes
40930 else
40931 echo "$as_me: failed program was:" >&5
40932 sed 's/^/| /' conftest.$ac_ext >&5
40933
40934 ac_cv_func_pthread_attr_getschedpolicy=no
40935 fi
40936
40937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40938 conftest$ac_exeext conftest.$ac_ext
40939 fi
40940 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40941 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40942 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40943 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40944 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40945 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40946 echo $ECHO_N "(cached) $ECHO_C" >&6
40947 else
40948 cat >conftest.$ac_ext <<_ACEOF
40949 /* confdefs.h. */
40950 _ACEOF
40951 cat confdefs.h >>conftest.$ac_ext
40952 cat >>conftest.$ac_ext <<_ACEOF
40953 /* end confdefs.h. */
40954 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40956 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40957
40958 /* System header to define __stub macros and hopefully few prototypes,
40959 which can conflict with char pthread_attr_setschedparam (); below.
40960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40961 <limits.h> exists even on freestanding compilers. */
40962
40963 #ifdef __STDC__
40964 # include <limits.h>
40965 #else
40966 # include <assert.h>
40967 #endif
40968
40969 #undef pthread_attr_setschedparam
40970
40971 /* Override any GCC internal prototype to avoid an error.
40972 Use char because int might match the return type of a GCC
40973 builtin and then its argument prototype would still apply. */
40974 #ifdef __cplusplus
40975 extern "C"
40976 #endif
40977 char pthread_attr_setschedparam ();
40978 /* The GNU C library defines this for functions which it implements
40979 to always fail with ENOSYS. Some functions are actually named
40980 something starting with __ and the normal name is an alias. */
40981 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40982 choke me
40983 #endif
40984
40985 int
40986 main ()
40987 {
40988 return pthread_attr_setschedparam ();
40989 ;
40990 return 0;
40991 }
40992 _ACEOF
40993 rm -f conftest.$ac_objext conftest$ac_exeext
40994 if { (ac_try="$ac_link"
40995 case "(($ac_try" in
40996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40997 *) ac_try_echo=$ac_try;;
40998 esac
40999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41000 (eval "$ac_link") 2>conftest.er1
41001 ac_status=$?
41002 grep -v '^ *+' conftest.er1 >conftest.err
41003 rm -f conftest.er1
41004 cat conftest.err >&5
41005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41006 (exit $ac_status); } && {
41007 test -z "$ac_c_werror_flag" ||
41008 test ! -s conftest.err
41009 } && test -s conftest$ac_exeext &&
41010 $as_test_x conftest$ac_exeext; then
41011 ac_cv_func_pthread_attr_setschedparam=yes
41012 else
41013 echo "$as_me: failed program was:" >&5
41014 sed 's/^/| /' conftest.$ac_ext >&5
41015
41016 ac_cv_func_pthread_attr_setschedparam=no
41017 fi
41018
41019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41020 conftest$ac_exeext conftest.$ac_ext
41021 fi
41022 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41023 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41024 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41025 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41026 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41027 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41028 echo $ECHO_N "(cached) $ECHO_C" >&6
41029 else
41030 cat >conftest.$ac_ext <<_ACEOF
41031 /* confdefs.h. */
41032 _ACEOF
41033 cat confdefs.h >>conftest.$ac_ext
41034 cat >>conftest.$ac_ext <<_ACEOF
41035 /* end confdefs.h. */
41036 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41038 #define sched_get_priority_max innocuous_sched_get_priority_max
41039
41040 /* System header to define __stub macros and hopefully few prototypes,
41041 which can conflict with char sched_get_priority_max (); below.
41042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41043 <limits.h> exists even on freestanding compilers. */
41044
41045 #ifdef __STDC__
41046 # include <limits.h>
41047 #else
41048 # include <assert.h>
41049 #endif
41050
41051 #undef sched_get_priority_max
41052
41053 /* Override any GCC internal prototype to avoid an error.
41054 Use char because int might match the return type of a GCC
41055 builtin and then its argument prototype would still apply. */
41056 #ifdef __cplusplus
41057 extern "C"
41058 #endif
41059 char sched_get_priority_max ();
41060 /* The GNU C library defines this for functions which it implements
41061 to always fail with ENOSYS. Some functions are actually named
41062 something starting with __ and the normal name is an alias. */
41063 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41064 choke me
41065 #endif
41066
41067 int
41068 main ()
41069 {
41070 return sched_get_priority_max ();
41071 ;
41072 return 0;
41073 }
41074 _ACEOF
41075 rm -f conftest.$ac_objext conftest$ac_exeext
41076 if { (ac_try="$ac_link"
41077 case "(($ac_try" in
41078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41079 *) ac_try_echo=$ac_try;;
41080 esac
41081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41082 (eval "$ac_link") 2>conftest.er1
41083 ac_status=$?
41084 grep -v '^ *+' conftest.er1 >conftest.err
41085 rm -f conftest.er1
41086 cat conftest.err >&5
41087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41088 (exit $ac_status); } && {
41089 test -z "$ac_c_werror_flag" ||
41090 test ! -s conftest.err
41091 } && test -s conftest$ac_exeext &&
41092 $as_test_x conftest$ac_exeext; then
41093 ac_cv_func_sched_get_priority_max=yes
41094 else
41095 echo "$as_me: failed program was:" >&5
41096 sed 's/^/| /' conftest.$ac_ext >&5
41097
41098 ac_cv_func_sched_get_priority_max=no
41099 fi
41100
41101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41102 conftest$ac_exeext conftest.$ac_ext
41103 fi
41104 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41105 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41106 if test $ac_cv_func_sched_get_priority_max = yes; then
41107 HAVE_PRIOR_FUNCS=1
41108 else
41109 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41110 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41111 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41112 echo $ECHO_N "(cached) $ECHO_C" >&6
41113 else
41114 ac_check_lib_save_LIBS=$LIBS
41115 LIBS="-lposix4 $LIBS"
41116 cat >conftest.$ac_ext <<_ACEOF
41117 /* confdefs.h. */
41118 _ACEOF
41119 cat confdefs.h >>conftest.$ac_ext
41120 cat >>conftest.$ac_ext <<_ACEOF
41121 /* end confdefs.h. */
41122
41123 /* Override any GCC internal prototype to avoid an error.
41124 Use char because int might match the return type of a GCC
41125 builtin and then its argument prototype would still apply. */
41126 #ifdef __cplusplus
41127 extern "C"
41128 #endif
41129 char sched_get_priority_max ();
41130 int
41131 main ()
41132 {
41133 return sched_get_priority_max ();
41134 ;
41135 return 0;
41136 }
41137 _ACEOF
41138 rm -f conftest.$ac_objext conftest$ac_exeext
41139 if { (ac_try="$ac_link"
41140 case "(($ac_try" in
41141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41142 *) ac_try_echo=$ac_try;;
41143 esac
41144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41145 (eval "$ac_link") 2>conftest.er1
41146 ac_status=$?
41147 grep -v '^ *+' conftest.er1 >conftest.err
41148 rm -f conftest.er1
41149 cat conftest.err >&5
41150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41151 (exit $ac_status); } && {
41152 test -z "$ac_c_werror_flag" ||
41153 test ! -s conftest.err
41154 } && test -s conftest$ac_exeext &&
41155 $as_test_x conftest$ac_exeext; then
41156 ac_cv_lib_posix4_sched_get_priority_max=yes
41157 else
41158 echo "$as_me: failed program was:" >&5
41159 sed 's/^/| /' conftest.$ac_ext >&5
41160
41161 ac_cv_lib_posix4_sched_get_priority_max=no
41162 fi
41163
41164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41165 conftest$ac_exeext conftest.$ac_ext
41166 LIBS=$ac_check_lib_save_LIBS
41167 fi
41168 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41169 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41170 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41171
41172 HAVE_PRIOR_FUNCS=1
41173 POSIX4_LINK=" -lposix4"
41174
41175 fi
41176
41177
41178 fi
41179
41180
41181 fi
41182
41183
41184 fi
41185
41186
41187 if test "$HAVE_PRIOR_FUNCS" = 1; then
41188 cat >>confdefs.h <<\_ACEOF
41189 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41190 _ACEOF
41191
41192 else
41193 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41194 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41195 fi
41196
41197 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41198 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41199 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41200 echo $ECHO_N "(cached) $ECHO_C" >&6
41201 else
41202 cat >conftest.$ac_ext <<_ACEOF
41203 /* confdefs.h. */
41204 _ACEOF
41205 cat confdefs.h >>conftest.$ac_ext
41206 cat >>conftest.$ac_ext <<_ACEOF
41207 /* end confdefs.h. */
41208 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41210 #define pthread_cancel innocuous_pthread_cancel
41211
41212 /* System header to define __stub macros and hopefully few prototypes,
41213 which can conflict with char pthread_cancel (); below.
41214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41215 <limits.h> exists even on freestanding compilers. */
41216
41217 #ifdef __STDC__
41218 # include <limits.h>
41219 #else
41220 # include <assert.h>
41221 #endif
41222
41223 #undef pthread_cancel
41224
41225 /* Override any GCC internal prototype to avoid an error.
41226 Use char because int might match the return type of a GCC
41227 builtin and then its argument prototype would still apply. */
41228 #ifdef __cplusplus
41229 extern "C"
41230 #endif
41231 char pthread_cancel ();
41232 /* The GNU C library defines this for functions which it implements
41233 to always fail with ENOSYS. Some functions are actually named
41234 something starting with __ and the normal name is an alias. */
41235 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41236 choke me
41237 #endif
41238
41239 int
41240 main ()
41241 {
41242 return pthread_cancel ();
41243 ;
41244 return 0;
41245 }
41246 _ACEOF
41247 rm -f conftest.$ac_objext conftest$ac_exeext
41248 if { (ac_try="$ac_link"
41249 case "(($ac_try" in
41250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41251 *) ac_try_echo=$ac_try;;
41252 esac
41253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41254 (eval "$ac_link") 2>conftest.er1
41255 ac_status=$?
41256 grep -v '^ *+' conftest.er1 >conftest.err
41257 rm -f conftest.er1
41258 cat conftest.err >&5
41259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41260 (exit $ac_status); } && {
41261 test -z "$ac_c_werror_flag" ||
41262 test ! -s conftest.err
41263 } && test -s conftest$ac_exeext &&
41264 $as_test_x conftest$ac_exeext; then
41265 ac_cv_func_pthread_cancel=yes
41266 else
41267 echo "$as_me: failed program was:" >&5
41268 sed 's/^/| /' conftest.$ac_ext >&5
41269
41270 ac_cv_func_pthread_cancel=no
41271 fi
41272
41273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41274 conftest$ac_exeext conftest.$ac_ext
41275 fi
41276 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41277 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41278 if test $ac_cv_func_pthread_cancel = yes; then
41279 cat >>confdefs.h <<\_ACEOF
41280 #define HAVE_PTHREAD_CANCEL 1
41281 _ACEOF
41282
41283 else
41284 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41285 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41286 fi
41287
41288
41289 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41290 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41291 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41292 echo $ECHO_N "(cached) $ECHO_C" >&6
41293 else
41294 cat >conftest.$ac_ext <<_ACEOF
41295 /* confdefs.h. */
41296 _ACEOF
41297 cat confdefs.h >>conftest.$ac_ext
41298 cat >>conftest.$ac_ext <<_ACEOF
41299 /* end confdefs.h. */
41300 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41302 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41303
41304 /* System header to define __stub macros and hopefully few prototypes,
41305 which can conflict with char pthread_mutex_timedlock (); below.
41306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41307 <limits.h> exists even on freestanding compilers. */
41308
41309 #ifdef __STDC__
41310 # include <limits.h>
41311 #else
41312 # include <assert.h>
41313 #endif
41314
41315 #undef pthread_mutex_timedlock
41316
41317 /* Override any GCC internal prototype to avoid an error.
41318 Use char because int might match the return type of a GCC
41319 builtin and then its argument prototype would still apply. */
41320 #ifdef __cplusplus
41321 extern "C"
41322 #endif
41323 char pthread_mutex_timedlock ();
41324 /* The GNU C library defines this for functions which it implements
41325 to always fail with ENOSYS. Some functions are actually named
41326 something starting with __ and the normal name is an alias. */
41327 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41328 choke me
41329 #endif
41330
41331 int
41332 main ()
41333 {
41334 return pthread_mutex_timedlock ();
41335 ;
41336 return 0;
41337 }
41338 _ACEOF
41339 rm -f conftest.$ac_objext conftest$ac_exeext
41340 if { (ac_try="$ac_link"
41341 case "(($ac_try" in
41342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41343 *) ac_try_echo=$ac_try;;
41344 esac
41345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41346 (eval "$ac_link") 2>conftest.er1
41347 ac_status=$?
41348 grep -v '^ *+' conftest.er1 >conftest.err
41349 rm -f conftest.er1
41350 cat conftest.err >&5
41351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41352 (exit $ac_status); } && {
41353 test -z "$ac_c_werror_flag" ||
41354 test ! -s conftest.err
41355 } && test -s conftest$ac_exeext &&
41356 $as_test_x conftest$ac_exeext; then
41357 ac_cv_func_pthread_mutex_timedlock=yes
41358 else
41359 echo "$as_me: failed program was:" >&5
41360 sed 's/^/| /' conftest.$ac_ext >&5
41361
41362 ac_cv_func_pthread_mutex_timedlock=no
41363 fi
41364
41365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41366 conftest$ac_exeext conftest.$ac_ext
41367 fi
41368 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41369 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41370 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41371 cat >>confdefs.h <<\_ACEOF
41372 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41373 _ACEOF
41374
41375 else
41376 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41377 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41378 fi
41379
41380
41381 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41382 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41383 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41384 echo $ECHO_N "(cached) $ECHO_C" >&6
41385 else
41386 cat >conftest.$ac_ext <<_ACEOF
41387 /* confdefs.h. */
41388 _ACEOF
41389 cat confdefs.h >>conftest.$ac_ext
41390 cat >>conftest.$ac_ext <<_ACEOF
41391 /* end confdefs.h. */
41392 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41394 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41395
41396 /* System header to define __stub macros and hopefully few prototypes,
41397 which can conflict with char pthread_attr_setstacksize (); below.
41398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41399 <limits.h> exists even on freestanding compilers. */
41400
41401 #ifdef __STDC__
41402 # include <limits.h>
41403 #else
41404 # include <assert.h>
41405 #endif
41406
41407 #undef pthread_attr_setstacksize
41408
41409 /* Override any GCC internal prototype to avoid an error.
41410 Use char because int might match the return type of a GCC
41411 builtin and then its argument prototype would still apply. */
41412 #ifdef __cplusplus
41413 extern "C"
41414 #endif
41415 char pthread_attr_setstacksize ();
41416 /* The GNU C library defines this for functions which it implements
41417 to always fail with ENOSYS. Some functions are actually named
41418 something starting with __ and the normal name is an alias. */
41419 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41420 choke me
41421 #endif
41422
41423 int
41424 main ()
41425 {
41426 return pthread_attr_setstacksize ();
41427 ;
41428 return 0;
41429 }
41430 _ACEOF
41431 rm -f conftest.$ac_objext conftest$ac_exeext
41432 if { (ac_try="$ac_link"
41433 case "(($ac_try" in
41434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41435 *) ac_try_echo=$ac_try;;
41436 esac
41437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41438 (eval "$ac_link") 2>conftest.er1
41439 ac_status=$?
41440 grep -v '^ *+' conftest.er1 >conftest.err
41441 rm -f conftest.er1
41442 cat conftest.err >&5
41443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444 (exit $ac_status); } && {
41445 test -z "$ac_c_werror_flag" ||
41446 test ! -s conftest.err
41447 } && test -s conftest$ac_exeext &&
41448 $as_test_x conftest$ac_exeext; then
41449 ac_cv_func_pthread_attr_setstacksize=yes
41450 else
41451 echo "$as_me: failed program was:" >&5
41452 sed 's/^/| /' conftest.$ac_ext >&5
41453
41454 ac_cv_func_pthread_attr_setstacksize=no
41455 fi
41456
41457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41458 conftest$ac_exeext conftest.$ac_ext
41459 fi
41460 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41461 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41462 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41463 cat >>confdefs.h <<\_ACEOF
41464 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41465 _ACEOF
41466
41467 fi
41468
41469
41470
41471 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41472 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41473 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41474 echo $ECHO_N "(cached) $ECHO_C" >&6
41475 else
41476
41477 cat >conftest.$ac_ext <<_ACEOF
41478 /* confdefs.h. */
41479 _ACEOF
41480 cat confdefs.h >>conftest.$ac_ext
41481 cat >>conftest.$ac_ext <<_ACEOF
41482 /* end confdefs.h. */
41483 #include <pthread.h>
41484 int
41485 main ()
41486 {
41487
41488 pthread_mutexattr_t attr;
41489 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41490
41491 ;
41492 return 0;
41493 }
41494 _ACEOF
41495 rm -f conftest.$ac_objext
41496 if { (ac_try="$ac_compile"
41497 case "(($ac_try" in
41498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41499 *) ac_try_echo=$ac_try;;
41500 esac
41501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41502 (eval "$ac_compile") 2>conftest.er1
41503 ac_status=$?
41504 grep -v '^ *+' conftest.er1 >conftest.err
41505 rm -f conftest.er1
41506 cat conftest.err >&5
41507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41508 (exit $ac_status); } && {
41509 test -z "$ac_c_werror_flag" ||
41510 test ! -s conftest.err
41511 } && test -s conftest.$ac_objext; then
41512 wx_cv_type_pthread_mutexattr_t=yes
41513 else
41514 echo "$as_me: failed program was:" >&5
41515 sed 's/^/| /' conftest.$ac_ext >&5
41516
41517 wx_cv_type_pthread_mutexattr_t=no
41518
41519 fi
41520
41521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41522
41523 fi
41524 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41525 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41526
41527 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41528 cat >>confdefs.h <<\_ACEOF
41529 #define HAVE_PTHREAD_MUTEXATTR_T 1
41530 _ACEOF
41531
41532
41533 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41534 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41535 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41536 echo $ECHO_N "(cached) $ECHO_C" >&6
41537 else
41538
41539 cat >conftest.$ac_ext <<_ACEOF
41540 /* confdefs.h. */
41541 _ACEOF
41542 cat confdefs.h >>conftest.$ac_ext
41543 cat >>conftest.$ac_ext <<_ACEOF
41544 /* end confdefs.h. */
41545 #include <pthread.h>
41546 int
41547 main ()
41548 {
41549
41550 pthread_mutexattr_t attr;
41551 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41552
41553 ;
41554 return 0;
41555 }
41556 _ACEOF
41557 rm -f conftest.$ac_objext
41558 if { (ac_try="$ac_compile"
41559 case "(($ac_try" in
41560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41561 *) ac_try_echo=$ac_try;;
41562 esac
41563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41564 (eval "$ac_compile") 2>conftest.er1
41565 ac_status=$?
41566 grep -v '^ *+' conftest.er1 >conftest.err
41567 rm -f conftest.er1
41568 cat conftest.err >&5
41569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41570 (exit $ac_status); } && {
41571 test -z "$ac_c_werror_flag" ||
41572 test ! -s conftest.err
41573 } && test -s conftest.$ac_objext; then
41574 wx_cv_func_pthread_mutexattr_settype_decl=yes
41575 else
41576 echo "$as_me: failed program was:" >&5
41577 sed 's/^/| /' conftest.$ac_ext >&5
41578
41579 wx_cv_func_pthread_mutexattr_settype_decl=no
41580
41581 fi
41582
41583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41584
41585 fi
41586 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41587 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41588 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41589 cat >>confdefs.h <<\_ACEOF
41590 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41591 _ACEOF
41592
41593 fi
41594 else
41595 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41596 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41597 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41598 echo $ECHO_N "(cached) $ECHO_C" >&6
41599 else
41600
41601 cat >conftest.$ac_ext <<_ACEOF
41602 /* confdefs.h. */
41603 _ACEOF
41604 cat confdefs.h >>conftest.$ac_ext
41605 cat >>conftest.$ac_ext <<_ACEOF
41606 /* end confdefs.h. */
41607 #include <pthread.h>
41608 int
41609 main ()
41610 {
41611
41612 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41613
41614 ;
41615 return 0;
41616 }
41617 _ACEOF
41618 rm -f conftest.$ac_objext
41619 if { (ac_try="$ac_compile"
41620 case "(($ac_try" in
41621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41622 *) ac_try_echo=$ac_try;;
41623 esac
41624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41625 (eval "$ac_compile") 2>conftest.er1
41626 ac_status=$?
41627 grep -v '^ *+' conftest.er1 >conftest.err
41628 rm -f conftest.er1
41629 cat conftest.err >&5
41630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41631 (exit $ac_status); } && {
41632 test -z "$ac_c_werror_flag" ||
41633 test ! -s conftest.err
41634 } && test -s conftest.$ac_objext; then
41635
41636 wx_cv_type_pthread_rec_mutex_init=yes
41637
41638 else
41639 echo "$as_me: failed program was:" >&5
41640 sed 's/^/| /' conftest.$ac_ext >&5
41641
41642
41643 wx_cv_type_pthread_rec_mutex_init=no
41644
41645
41646 fi
41647
41648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41649
41650 fi
41651 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41652 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41653 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41654 cat >>confdefs.h <<\_ACEOF
41655 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41656 _ACEOF
41657
41658 else
41659 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41660 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41661 fi
41662 fi
41663
41664 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41665 if test "$USE_NETBSD" = 1; then
41666 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41667 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41668 wxUSE_COMPILER_TLS=no
41669 else
41670 wxUSE_COMPILER_TLS=yes
41671 fi
41672 fi
41673
41674 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41675 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41676 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41677 if test "${wx_cv_cc___thread+set}" = set; then
41678 echo $ECHO_N "(cached) $ECHO_C" >&6
41679 else
41680
41681 cat >conftest.$ac_ext <<_ACEOF
41682 /* confdefs.h. */
41683 _ACEOF
41684 cat confdefs.h >>conftest.$ac_ext
41685 cat >>conftest.$ac_ext <<_ACEOF
41686 /* end confdefs.h. */
41687 #include <pthread.h>
41688 int
41689 main ()
41690 {
41691
41692 static __thread int n = 0;
41693 static __thread int *p = 0;
41694
41695 ;
41696 return 0;
41697 }
41698 _ACEOF
41699 rm -f conftest.$ac_objext
41700 if { (ac_try="$ac_compile"
41701 case "(($ac_try" in
41702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41703 *) ac_try_echo=$ac_try;;
41704 esac
41705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41706 (eval "$ac_compile") 2>conftest.er1
41707 ac_status=$?
41708 grep -v '^ *+' conftest.er1 >conftest.err
41709 rm -f conftest.er1
41710 cat conftest.err >&5
41711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41712 (exit $ac_status); } && {
41713 test -z "$ac_c_werror_flag" ||
41714 test ! -s conftest.err
41715 } && test -s conftest.$ac_objext; then
41716 wx_cv_cc___thread=yes
41717 else
41718 echo "$as_me: failed program was:" >&5
41719 sed 's/^/| /' conftest.$ac_ext >&5
41720
41721 wx_cv_cc___thread=no
41722
41723 fi
41724
41725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41726
41727
41728 fi
41729 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41730 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41731
41732 if test "$wx_cv_cc___thread" = "yes"; then
41733
41734 GXX_VERSION=""
41735
41736
41737
41738 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41739 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41740
41741 if test "x$GCC" = "xyes" ; then
41742
41743 if test -z "" ; then
41744
41745 ax_gcc_option_test="int main()
41746 {
41747 return 0;
41748 }"
41749
41750 else
41751
41752 ax_gcc_option_test=""
41753
41754 fi
41755
41756
41757 # Dump the test program to file
41758 cat <<EOF > conftest.c
41759 $ax_gcc_option_test
41760 EOF
41761
41762 # Dump back the file to the log, useful for debugging purposes
41763 { ac_try='cat conftest.c 1>&5'
41764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41765 (eval $ac_try) 2>&5
41766 ac_status=$?
41767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41768 (exit $ac_status); }; }
41769
41770 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41772 (eval $ac_try) 2>&5
41773 ac_status=$?
41774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41775 (exit $ac_status); }; } ; then
41776
41777 { echo "$as_me:$LINENO: result: yes" >&5
41778 echo "${ECHO_T}yes" >&6; }
41779
41780 ax_gcc_version_option=yes
41781
41782
41783 else
41784
41785 { echo "$as_me:$LINENO: result: no" >&5
41786 echo "${ECHO_T}no" >&6; }
41787
41788 ax_gcc_version_option=no
41789
41790
41791 fi
41792
41793
41794 else
41795
41796 { echo "$as_me:$LINENO: result: no gcc available" >&5
41797 echo "${ECHO_T}no gcc available" >&6; }
41798
41799 fi
41800
41801
41802 if test "x$GXX" = "xyes"; then
41803
41804 if test "x$ax_gxx_version_option" != "no"; then
41805
41806 { echo "$as_me:$LINENO: checking gxx version" >&5
41807 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41808 if test "${ax_cv_gxx_version+set}" = set; then
41809 echo $ECHO_N "(cached) $ECHO_C" >&6
41810 else
41811
41812 ax_cv_gxx_version="`$CXX -dumpversion`"
41813 if test "x$ax_cv_gxx_version" = "x"; then
41814
41815 ax_cv_gxx_version=""
41816
41817 fi
41818
41819
41820 fi
41821 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41822 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41823 GXX_VERSION=$ax_cv_gxx_version
41824
41825 fi
41826
41827
41828 fi
41829
41830
41831
41832 if test -n "$ax_cv_gxx_version"; then
41833 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41834 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41835 case "$ax_cv_gxx_version" in
41836 1.* | 2.* | 3.* )
41837 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41838 echo "${ECHO_T}no, it's broken" >&6; }
41839 wx_cv_cc___thread=no
41840 ;;
41841 *)
41842 { echo "$as_me:$LINENO: result: yes, it works" >&5
41843 echo "${ECHO_T}yes, it works" >&6; }
41844 ;;
41845 esac
41846 fi
41847 fi
41848
41849 if test "$wx_cv_cc___thread" = "yes"; then
41850 cat >>confdefs.h <<\_ACEOF
41851 #define HAVE___THREAD_KEYWORD 1
41852 _ACEOF
41853
41854 fi
41855 fi
41856 fi
41857
41858 else
41859 if test "$wxUSE_THREADS" = "yes" ; then
41860 case "${host}" in
41861 x86_64-*-mingw32* )
41862 ;;
41863 *-*-mingw32* )
41864 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41865 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41866 if test "${wx_cv_cflags_mthread+set}" = set; then
41867 echo $ECHO_N "(cached) $ECHO_C" >&6
41868 else
41869
41870 CFLAGS_OLD="$CFLAGS"
41871 CFLAGS="-mthreads $CFLAGS"
41872 cat >conftest.$ac_ext <<_ACEOF
41873 /* confdefs.h. */
41874 _ACEOF
41875 cat confdefs.h >>conftest.$ac_ext
41876 cat >>conftest.$ac_ext <<_ACEOF
41877 /* end confdefs.h. */
41878
41879 int
41880 main ()
41881 {
41882
41883 ;
41884 return 0;
41885 }
41886 _ACEOF
41887 rm -f conftest.$ac_objext
41888 if { (ac_try="$ac_compile"
41889 case "(($ac_try" in
41890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41891 *) ac_try_echo=$ac_try;;
41892 esac
41893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41894 (eval "$ac_compile") 2>conftest.er1
41895 ac_status=$?
41896 grep -v '^ *+' conftest.er1 >conftest.err
41897 rm -f conftest.er1
41898 cat conftest.err >&5
41899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41900 (exit $ac_status); } && {
41901 test -z "$ac_c_werror_flag" ||
41902 test ! -s conftest.err
41903 } && test -s conftest.$ac_objext; then
41904 wx_cv_cflags_mthread=yes
41905 else
41906 echo "$as_me: failed program was:" >&5
41907 sed 's/^/| /' conftest.$ac_ext >&5
41908
41909 wx_cv_cflags_mthread=no
41910
41911 fi
41912
41913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41914
41915
41916 fi
41917 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41918 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41919
41920 if test "$wx_cv_cflags_mthread" = "yes"; then
41921 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41922 LDFLAGS="$LDFLAGS -mthreads"
41923 else
41924 CFLAGS="$CFLAGS_OLD"
41925 fi
41926 ;;
41927 *-pc-os2*emx )
41928 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41929 LDFLAGS="$LDFLAGS -Zmt"
41930 ;;
41931 esac
41932 fi
41933 fi
41934
41935 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41936 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41937 if test "${ac_cv_func_localtime_r+set}" = set; then
41938 echo $ECHO_N "(cached) $ECHO_C" >&6
41939 else
41940 cat >conftest.$ac_ext <<_ACEOF
41941 /* confdefs.h. */
41942 _ACEOF
41943 cat confdefs.h >>conftest.$ac_ext
41944 cat >>conftest.$ac_ext <<_ACEOF
41945 /* end confdefs.h. */
41946 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41948 #define localtime_r innocuous_localtime_r
41949
41950 /* System header to define __stub macros and hopefully few prototypes,
41951 which can conflict with char localtime_r (); below.
41952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41953 <limits.h> exists even on freestanding compilers. */
41954
41955 #ifdef __STDC__
41956 # include <limits.h>
41957 #else
41958 # include <assert.h>
41959 #endif
41960
41961 #undef localtime_r
41962
41963 /* Override any GCC internal prototype to avoid an error.
41964 Use char because int might match the return type of a GCC
41965 builtin and then its argument prototype would still apply. */
41966 #ifdef __cplusplus
41967 extern "C"
41968 #endif
41969 char localtime_r ();
41970 /* The GNU C library defines this for functions which it implements
41971 to always fail with ENOSYS. Some functions are actually named
41972 something starting with __ and the normal name is an alias. */
41973 #if defined __stub_localtime_r || defined __stub___localtime_r
41974 choke me
41975 #endif
41976
41977 int
41978 main ()
41979 {
41980 return localtime_r ();
41981 ;
41982 return 0;
41983 }
41984 _ACEOF
41985 rm -f conftest.$ac_objext conftest$ac_exeext
41986 if { (ac_try="$ac_link"
41987 case "(($ac_try" in
41988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41989 *) ac_try_echo=$ac_try;;
41990 esac
41991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41992 (eval "$ac_link") 2>conftest.er1
41993 ac_status=$?
41994 grep -v '^ *+' conftest.er1 >conftest.err
41995 rm -f conftest.er1
41996 cat conftest.err >&5
41997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41998 (exit $ac_status); } && {
41999 test -z "$ac_c_werror_flag" ||
42000 test ! -s conftest.err
42001 } && test -s conftest$ac_exeext &&
42002 $as_test_x conftest$ac_exeext; then
42003 ac_cv_func_localtime_r=yes
42004 else
42005 echo "$as_me: failed program was:" >&5
42006 sed 's/^/| /' conftest.$ac_ext >&5
42007
42008 ac_cv_func_localtime_r=no
42009 fi
42010
42011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42012 conftest$ac_exeext conftest.$ac_ext
42013 fi
42014 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42015 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42016 if test $ac_cv_func_localtime_r = yes; then
42017 cat >>confdefs.h <<\_ACEOF
42018 #define HAVE_LOCALTIME_R 1
42019 _ACEOF
42020
42021 fi
42022
42023 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42024 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42025 if test "${ac_cv_func_gmtime_r+set}" = set; then
42026 echo $ECHO_N "(cached) $ECHO_C" >&6
42027 else
42028 cat >conftest.$ac_ext <<_ACEOF
42029 /* confdefs.h. */
42030 _ACEOF
42031 cat confdefs.h >>conftest.$ac_ext
42032 cat >>conftest.$ac_ext <<_ACEOF
42033 /* end confdefs.h. */
42034 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42036 #define gmtime_r innocuous_gmtime_r
42037
42038 /* System header to define __stub macros and hopefully few prototypes,
42039 which can conflict with char gmtime_r (); below.
42040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42041 <limits.h> exists even on freestanding compilers. */
42042
42043 #ifdef __STDC__
42044 # include <limits.h>
42045 #else
42046 # include <assert.h>
42047 #endif
42048
42049 #undef gmtime_r
42050
42051 /* Override any GCC internal prototype to avoid an error.
42052 Use char because int might match the return type of a GCC
42053 builtin and then its argument prototype would still apply. */
42054 #ifdef __cplusplus
42055 extern "C"
42056 #endif
42057 char gmtime_r ();
42058 /* The GNU C library defines this for functions which it implements
42059 to always fail with ENOSYS. Some functions are actually named
42060 something starting with __ and the normal name is an alias. */
42061 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42062 choke me
42063 #endif
42064
42065 int
42066 main ()
42067 {
42068 return gmtime_r ();
42069 ;
42070 return 0;
42071 }
42072 _ACEOF
42073 rm -f conftest.$ac_objext conftest$ac_exeext
42074 if { (ac_try="$ac_link"
42075 case "(($ac_try" in
42076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42077 *) ac_try_echo=$ac_try;;
42078 esac
42079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42080 (eval "$ac_link") 2>conftest.er1
42081 ac_status=$?
42082 grep -v '^ *+' conftest.er1 >conftest.err
42083 rm -f conftest.er1
42084 cat conftest.err >&5
42085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42086 (exit $ac_status); } && {
42087 test -z "$ac_c_werror_flag" ||
42088 test ! -s conftest.err
42089 } && test -s conftest$ac_exeext &&
42090 $as_test_x conftest$ac_exeext; then
42091 ac_cv_func_gmtime_r=yes
42092 else
42093 echo "$as_me: failed program was:" >&5
42094 sed 's/^/| /' conftest.$ac_ext >&5
42095
42096 ac_cv_func_gmtime_r=no
42097 fi
42098
42099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42100 conftest$ac_exeext conftest.$ac_ext
42101 fi
42102 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42103 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42104 if test $ac_cv_func_gmtime_r = yes; then
42105 cat >>confdefs.h <<\_ACEOF
42106 #define HAVE_GMTIME_R 1
42107 _ACEOF
42108
42109 fi
42110
42111
42112
42113
42114 ac_ext=c
42115 ac_cpp='$CPP $CPPFLAGS'
42116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42119
42120 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42121 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42122
42123 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42124 echo $ECHO_N "(cached) $ECHO_C" >&6
42125 else
42126
42127
42128 ################################################################
42129
42130 ac_cv_func_which_gethostbyname_r=unknown
42131
42132 #
42133 # ONE ARGUMENT (sanity check)
42134 #
42135
42136 # This should fail, as there is no variant of gethostbyname_r() that takes
42137 # a single argument. If it actually compiles, then we can assume that
42138 # netdb.h is not declaring the function, and the compiler is thereby
42139 # assuming an implicit prototype. In which case, we're out of luck.
42140 #
42141 cat >conftest.$ac_ext <<_ACEOF
42142 /* confdefs.h. */
42143 _ACEOF
42144 cat confdefs.h >>conftest.$ac_ext
42145 cat >>conftest.$ac_ext <<_ACEOF
42146 /* end confdefs.h. */
42147 #include <netdb.h>
42148 int
42149 main ()
42150 {
42151
42152 char *name = "www.gnu.org";
42153 (void)gethostbyname_r(name) /* ; */
42154
42155 ;
42156 return 0;
42157 }
42158 _ACEOF
42159 rm -f conftest.$ac_objext
42160 if { (ac_try="$ac_compile"
42161 case "(($ac_try" in
42162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42163 *) ac_try_echo=$ac_try;;
42164 esac
42165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42166 (eval "$ac_compile") 2>conftest.er1
42167 ac_status=$?
42168 grep -v '^ *+' conftest.er1 >conftest.err
42169 rm -f conftest.er1
42170 cat conftest.err >&5
42171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42172 (exit $ac_status); } && {
42173 test -z "$ac_c_werror_flag" ||
42174 test ! -s conftest.err
42175 } && test -s conftest.$ac_objext; then
42176 ac_cv_func_which_gethostbyname_r=no
42177 else
42178 echo "$as_me: failed program was:" >&5
42179 sed 's/^/| /' conftest.$ac_ext >&5
42180
42181
42182 fi
42183
42184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42185
42186 #
42187 # SIX ARGUMENTS
42188 # (e.g. Linux)
42189 #
42190
42191 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42192
42193 cat >conftest.$ac_ext <<_ACEOF
42194 /* confdefs.h. */
42195 _ACEOF
42196 cat confdefs.h >>conftest.$ac_ext
42197 cat >>conftest.$ac_ext <<_ACEOF
42198 /* end confdefs.h. */
42199 #include <netdb.h>
42200 int
42201 main ()
42202 {
42203
42204 char *name = "www.gnu.org";
42205 struct hostent ret, *retp;
42206 char buf[1024];
42207 int buflen = 1024;
42208 int my_h_errno;
42209 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42210
42211 ;
42212 return 0;
42213 }
42214 _ACEOF
42215 rm -f conftest.$ac_objext
42216 if { (ac_try="$ac_compile"
42217 case "(($ac_try" in
42218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42219 *) ac_try_echo=$ac_try;;
42220 esac
42221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42222 (eval "$ac_compile") 2>conftest.er1
42223 ac_status=$?
42224 grep -v '^ *+' conftest.er1 >conftest.err
42225 rm -f conftest.er1
42226 cat conftest.err >&5
42227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42228 (exit $ac_status); } && {
42229 test -z "$ac_c_werror_flag" ||
42230 test ! -s conftest.err
42231 } && test -s conftest.$ac_objext; then
42232 ac_cv_func_which_gethostbyname_r=six
42233 else
42234 echo "$as_me: failed program was:" >&5
42235 sed 's/^/| /' conftest.$ac_ext >&5
42236
42237
42238 fi
42239
42240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42241
42242 fi
42243
42244 #
42245 # FIVE ARGUMENTS
42246 # (e.g. Solaris)
42247 #
42248
42249 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42250
42251 cat >conftest.$ac_ext <<_ACEOF
42252 /* confdefs.h. */
42253 _ACEOF
42254 cat confdefs.h >>conftest.$ac_ext
42255 cat >>conftest.$ac_ext <<_ACEOF
42256 /* end confdefs.h. */
42257 #include <netdb.h>
42258 int
42259 main ()
42260 {
42261
42262 char *name = "www.gnu.org";
42263 struct hostent ret;
42264 char buf[1024];
42265 int buflen = 1024;
42266 int my_h_errno;
42267 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42268
42269 ;
42270 return 0;
42271 }
42272 _ACEOF
42273 rm -f conftest.$ac_objext
42274 if { (ac_try="$ac_compile"
42275 case "(($ac_try" in
42276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42277 *) ac_try_echo=$ac_try;;
42278 esac
42279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42280 (eval "$ac_compile") 2>conftest.er1
42281 ac_status=$?
42282 grep -v '^ *+' conftest.er1 >conftest.err
42283 rm -f conftest.er1
42284 cat conftest.err >&5
42285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42286 (exit $ac_status); } && {
42287 test -z "$ac_c_werror_flag" ||
42288 test ! -s conftest.err
42289 } && test -s conftest.$ac_objext; then
42290 ac_cv_func_which_gethostbyname_r=five
42291 else
42292 echo "$as_me: failed program was:" >&5
42293 sed 's/^/| /' conftest.$ac_ext >&5
42294
42295
42296 fi
42297
42298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42299
42300 fi
42301
42302 #
42303 # THREE ARGUMENTS
42304 # (e.g. AIX, HP-UX, Tru64)
42305 #
42306
42307 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42308
42309 cat >conftest.$ac_ext <<_ACEOF
42310 /* confdefs.h. */
42311 _ACEOF
42312 cat confdefs.h >>conftest.$ac_ext
42313 cat >>conftest.$ac_ext <<_ACEOF
42314 /* end confdefs.h. */
42315 #include <netdb.h>
42316 int
42317 main ()
42318 {
42319
42320 char *name = "www.gnu.org";
42321 struct hostent ret;
42322 struct hostent_data data;
42323 (void)gethostbyname_r(name, &ret, &data) /* ; */
42324
42325 ;
42326 return 0;
42327 }
42328 _ACEOF
42329 rm -f conftest.$ac_objext
42330 if { (ac_try="$ac_compile"
42331 case "(($ac_try" in
42332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42333 *) ac_try_echo=$ac_try;;
42334 esac
42335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42336 (eval "$ac_compile") 2>conftest.er1
42337 ac_status=$?
42338 grep -v '^ *+' conftest.er1 >conftest.err
42339 rm -f conftest.er1
42340 cat conftest.err >&5
42341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42342 (exit $ac_status); } && {
42343 test -z "$ac_c_werror_flag" ||
42344 test ! -s conftest.err
42345 } && test -s conftest.$ac_objext; then
42346 ac_cv_func_which_gethostbyname_r=three
42347 else
42348 echo "$as_me: failed program was:" >&5
42349 sed 's/^/| /' conftest.$ac_ext >&5
42350
42351
42352 fi
42353
42354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42355
42356 fi
42357
42358 ################################################################
42359
42360
42361 fi
42362
42363 case "$ac_cv_func_which_gethostbyname_r" in
42364 three)
42365 { echo "$as_me:$LINENO: result: three" >&5
42366 echo "${ECHO_T}three" >&6; }
42367 cat >>confdefs.h <<\_ACEOF
42368 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42369 _ACEOF
42370
42371 ;;
42372
42373 five)
42374 { echo "$as_me:$LINENO: result: five" >&5
42375 echo "${ECHO_T}five" >&6; }
42376 cat >>confdefs.h <<\_ACEOF
42377 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42378 _ACEOF
42379
42380 ;;
42381
42382 six)
42383 { echo "$as_me:$LINENO: result: six" >&5
42384 echo "${ECHO_T}six" >&6; }
42385 cat >>confdefs.h <<\_ACEOF
42386 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42387 _ACEOF
42388
42389 ;;
42390
42391 no)
42392 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42393 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42394 ;;
42395
42396 unknown)
42397 { echo "$as_me:$LINENO: result: can't tell" >&5
42398 echo "${ECHO_T}can't tell" >&6; }
42399 ;;
42400
42401 *)
42402 { { echo "$as_me:$LINENO: error: internal error" >&5
42403 echo "$as_me: error: internal error" >&2;}
42404 { (exit 1); exit 1; }; }
42405 ;;
42406 esac
42407
42408 ac_ext=c
42409 ac_cpp='$CPP $CPPFLAGS'
42410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42413
42414
42415
42416 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42417 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42418 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42419 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42420 if test "${ac_cv_func_gethostbyname+set}" = set; then
42421 echo $ECHO_N "(cached) $ECHO_C" >&6
42422 else
42423 cat >conftest.$ac_ext <<_ACEOF
42424 /* confdefs.h. */
42425 _ACEOF
42426 cat confdefs.h >>conftest.$ac_ext
42427 cat >>conftest.$ac_ext <<_ACEOF
42428 /* end confdefs.h. */
42429 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42431 #define gethostbyname innocuous_gethostbyname
42432
42433 /* System header to define __stub macros and hopefully few prototypes,
42434 which can conflict with char gethostbyname (); below.
42435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42436 <limits.h> exists even on freestanding compilers. */
42437
42438 #ifdef __STDC__
42439 # include <limits.h>
42440 #else
42441 # include <assert.h>
42442 #endif
42443
42444 #undef gethostbyname
42445
42446 /* Override any GCC internal prototype to avoid an error.
42447 Use char because int might match the return type of a GCC
42448 builtin and then its argument prototype would still apply. */
42449 #ifdef __cplusplus
42450 extern "C"
42451 #endif
42452 char gethostbyname ();
42453 /* The GNU C library defines this for functions which it implements
42454 to always fail with ENOSYS. Some functions are actually named
42455 something starting with __ and the normal name is an alias. */
42456 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42457 choke me
42458 #endif
42459
42460 int
42461 main ()
42462 {
42463 return gethostbyname ();
42464 ;
42465 return 0;
42466 }
42467 _ACEOF
42468 rm -f conftest.$ac_objext conftest$ac_exeext
42469 if { (ac_try="$ac_link"
42470 case "(($ac_try" in
42471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42472 *) ac_try_echo=$ac_try;;
42473 esac
42474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42475 (eval "$ac_link") 2>conftest.er1
42476 ac_status=$?
42477 grep -v '^ *+' conftest.er1 >conftest.err
42478 rm -f conftest.er1
42479 cat conftest.err >&5
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); } && {
42482 test -z "$ac_c_werror_flag" ||
42483 test ! -s conftest.err
42484 } && test -s conftest$ac_exeext &&
42485 $as_test_x conftest$ac_exeext; then
42486 ac_cv_func_gethostbyname=yes
42487 else
42488 echo "$as_me: failed program was:" >&5
42489 sed 's/^/| /' conftest.$ac_ext >&5
42490
42491 ac_cv_func_gethostbyname=no
42492 fi
42493
42494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42495 conftest$ac_exeext conftest.$ac_ext
42496 fi
42497 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42498 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42499 if test $ac_cv_func_gethostbyname = yes; then
42500 cat >>confdefs.h <<\_ACEOF
42501 #define HAVE_GETHOSTBYNAME 1
42502 _ACEOF
42503
42504 fi
42505
42506 fi
42507
42508 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42509 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42510 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42511 echo $ECHO_N "(cached) $ECHO_C" >&6
42512 else
42513
42514 ac_ext=cpp
42515 ac_cpp='$CXXCPP $CPPFLAGS'
42516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42519
42520
42521 cat >conftest.$ac_ext <<_ACEOF
42522 /* confdefs.h. */
42523 _ACEOF
42524 cat confdefs.h >>conftest.$ac_ext
42525 cat >>conftest.$ac_ext <<_ACEOF
42526 /* end confdefs.h. */
42527 #include <netdb.h>
42528 int
42529 main ()
42530 {
42531
42532 char *name;
42533 char *proto;
42534 struct servent *se, *res;
42535 char buffer[2048];
42536 int buflen = 2048;
42537 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42538
42539 ;
42540 return 0;
42541 }
42542 _ACEOF
42543 rm -f conftest.$ac_objext
42544 if { (ac_try="$ac_compile"
42545 case "(($ac_try" in
42546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42547 *) ac_try_echo=$ac_try;;
42548 esac
42549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42550 (eval "$ac_compile") 2>conftest.er1
42551 ac_status=$?
42552 grep -v '^ *+' conftest.er1 >conftest.err
42553 rm -f conftest.er1
42554 cat conftest.err >&5
42555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42556 (exit $ac_status); } && {
42557 test -z "$ac_cxx_werror_flag" ||
42558 test ! -s conftest.err
42559 } && test -s conftest.$ac_objext; then
42560 ac_cv_func_which_getservbyname_r=six
42561 else
42562 echo "$as_me: failed program was:" >&5
42563 sed 's/^/| /' conftest.$ac_ext >&5
42564
42565
42566 cat >conftest.$ac_ext <<_ACEOF
42567 /* confdefs.h. */
42568 _ACEOF
42569 cat confdefs.h >>conftest.$ac_ext
42570 cat >>conftest.$ac_ext <<_ACEOF
42571 /* end confdefs.h. */
42572 #include <netdb.h>
42573 int
42574 main ()
42575 {
42576
42577 char *name;
42578 char *proto;
42579 struct servent *se;
42580 char buffer[2048];
42581 int buflen = 2048;
42582 (void) getservbyname_r(name, proto, se, buffer, buflen)
42583
42584 ;
42585 return 0;
42586 }
42587 _ACEOF
42588 rm -f conftest.$ac_objext
42589 if { (ac_try="$ac_compile"
42590 case "(($ac_try" in
42591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42592 *) ac_try_echo=$ac_try;;
42593 esac
42594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42595 (eval "$ac_compile") 2>conftest.er1
42596 ac_status=$?
42597 grep -v '^ *+' conftest.er1 >conftest.err
42598 rm -f conftest.er1
42599 cat conftest.err >&5
42600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42601 (exit $ac_status); } && {
42602 test -z "$ac_cxx_werror_flag" ||
42603 test ! -s conftest.err
42604 } && test -s conftest.$ac_objext; then
42605 ac_cv_func_which_getservbyname_r=five
42606 else
42607 echo "$as_me: failed program was:" >&5
42608 sed 's/^/| /' conftest.$ac_ext >&5
42609
42610
42611 cat >conftest.$ac_ext <<_ACEOF
42612 /* confdefs.h. */
42613 _ACEOF
42614 cat confdefs.h >>conftest.$ac_ext
42615 cat >>conftest.$ac_ext <<_ACEOF
42616 /* end confdefs.h. */
42617 #include <netdb.h>
42618 int
42619 main ()
42620 {
42621
42622 char *name;
42623 char *proto;
42624 struct servent *se;
42625 struct servent_data data;
42626 (void) getservbyname_r(name, proto, se, &data);
42627
42628 ;
42629 return 0;
42630 }
42631 _ACEOF
42632 rm -f conftest.$ac_objext
42633 if { (ac_try="$ac_compile"
42634 case "(($ac_try" in
42635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42636 *) ac_try_echo=$ac_try;;
42637 esac
42638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42639 (eval "$ac_compile") 2>conftest.er1
42640 ac_status=$?
42641 grep -v '^ *+' conftest.er1 >conftest.err
42642 rm -f conftest.er1
42643 cat conftest.err >&5
42644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42645 (exit $ac_status); } && {
42646 test -z "$ac_cxx_werror_flag" ||
42647 test ! -s conftest.err
42648 } && test -s conftest.$ac_objext; then
42649 ac_cv_func_which_getservbyname_r=four
42650 else
42651 echo "$as_me: failed program was:" >&5
42652 sed 's/^/| /' conftest.$ac_ext >&5
42653
42654 ac_cv_func_which_getservbyname_r=no
42655
42656 fi
42657
42658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42659
42660
42661 fi
42662
42663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42664
42665
42666 fi
42667
42668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42669 ac_ext=c
42670 ac_cpp='$CPP $CPPFLAGS'
42671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42674
42675
42676
42677 fi
42678 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42679 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42680
42681 if test $ac_cv_func_which_getservbyname_r = six; then
42682 cat >>confdefs.h <<\_ACEOF
42683 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42684 _ACEOF
42685
42686 elif test $ac_cv_func_which_getservbyname_r = five; then
42687 cat >>confdefs.h <<\_ACEOF
42688 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42689 _ACEOF
42690
42691 elif test $ac_cv_func_which_getservbyname_r = four; then
42692 cat >>confdefs.h <<\_ACEOF
42693 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42694 _ACEOF
42695
42696 fi
42697
42698
42699 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42700 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42701
42702 for ac_func in getservbyname
42703 do
42704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42705 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42707 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42708 echo $ECHO_N "(cached) $ECHO_C" >&6
42709 else
42710 cat >conftest.$ac_ext <<_ACEOF
42711 /* confdefs.h. */
42712 _ACEOF
42713 cat confdefs.h >>conftest.$ac_ext
42714 cat >>conftest.$ac_ext <<_ACEOF
42715 /* end confdefs.h. */
42716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42718 #define $ac_func innocuous_$ac_func
42719
42720 /* System header to define __stub macros and hopefully few prototypes,
42721 which can conflict with char $ac_func (); below.
42722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42723 <limits.h> exists even on freestanding compilers. */
42724
42725 #ifdef __STDC__
42726 # include <limits.h>
42727 #else
42728 # include <assert.h>
42729 #endif
42730
42731 #undef $ac_func
42732
42733 /* Override any GCC internal prototype to avoid an error.
42734 Use char because int might match the return type of a GCC
42735 builtin and then its argument prototype would still apply. */
42736 #ifdef __cplusplus
42737 extern "C"
42738 #endif
42739 char $ac_func ();
42740 /* The GNU C library defines this for functions which it implements
42741 to always fail with ENOSYS. Some functions are actually named
42742 something starting with __ and the normal name is an alias. */
42743 #if defined __stub_$ac_func || defined __stub___$ac_func
42744 choke me
42745 #endif
42746
42747 int
42748 main ()
42749 {
42750 return $ac_func ();
42751 ;
42752 return 0;
42753 }
42754 _ACEOF
42755 rm -f conftest.$ac_objext conftest$ac_exeext
42756 if { (ac_try="$ac_link"
42757 case "(($ac_try" in
42758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42759 *) ac_try_echo=$ac_try;;
42760 esac
42761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42762 (eval "$ac_link") 2>conftest.er1
42763 ac_status=$?
42764 grep -v '^ *+' conftest.er1 >conftest.err
42765 rm -f conftest.er1
42766 cat conftest.err >&5
42767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42768 (exit $ac_status); } && {
42769 test -z "$ac_c_werror_flag" ||
42770 test ! -s conftest.err
42771 } && test -s conftest$ac_exeext &&
42772 $as_test_x conftest$ac_exeext; then
42773 eval "$as_ac_var=yes"
42774 else
42775 echo "$as_me: failed program was:" >&5
42776 sed 's/^/| /' conftest.$ac_ext >&5
42777
42778 eval "$as_ac_var=no"
42779 fi
42780
42781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42782 conftest$ac_exeext conftest.$ac_ext
42783 fi
42784 ac_res=`eval echo '${'$as_ac_var'}'`
42785 { echo "$as_me:$LINENO: result: $ac_res" >&5
42786 echo "${ECHO_T}$ac_res" >&6; }
42787 if test `eval echo '${'$as_ac_var'}'` = yes; then
42788 cat >>confdefs.h <<_ACEOF
42789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42790 _ACEOF
42791 cat >>confdefs.h <<\_ACEOF
42792 #define HAVE_GETSERVBYNAME 1
42793 _ACEOF
42794
42795 fi
42796 done
42797
42798 fi
42799
42800 if test "$wxUSE_THREADS" = "yes"; then
42801 cat >>confdefs.h <<\_ACEOF
42802 #define wxUSE_THREADS 1
42803 _ACEOF
42804
42805
42806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42807 else
42808 if test "$wx_cv_func_strtok_r" = "yes"; then
42809 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42810 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42811 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42812 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42813 { echo "$as_me:$LINENO: result: yes" >&5
42814 echo "${ECHO_T}yes" >&6; }
42815 else
42816 { echo "$as_me:$LINENO: result: no" >&5
42817 echo "${ECHO_T}no" >&6; }
42818 fi
42819 fi
42820 fi
42821
42822 if test "$WXGTK2" = 1 ; then
42823 cat >>confdefs.h <<_ACEOF
42824 #define __WXGTK20__ $WXGTK2
42825 _ACEOF
42826
42827 WXGTK12=1
42828 fi
42829
42830 if test "$WXGTK12" = 1 ; then
42831 cat >>confdefs.h <<_ACEOF
42832 #define __WXGTK12__ $WXGTK12
42833 _ACEOF
42834
42835 fi
42836
42837 if test "$WXGTK127" = 1 ; then
42838 cat >>confdefs.h <<_ACEOF
42839 #define __WXGTK127__ $WXGTK127
42840 _ACEOF
42841
42842 fi
42843
42844 if test "$WXGPE" = 1 ; then
42845 cat >>confdefs.h <<_ACEOF
42846 #define __WXGPE__ $WXGPE
42847 _ACEOF
42848
42849 fi
42850
42851 DEBUG_CFLAGS=
42852 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42853 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42854 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42855 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42856 DEBUG_CFLAGS="-g"
42857 fi
42858
42859 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42860 wxUSE_DEBUG_INFO=yes
42861 if test "$GCC" = yes; then
42862 DEBUG_CFLAGS="-ggdb"
42863 fi
42864 fi
42865
42866 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42867 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42868
42869 if test "$wxUSE_GTK" = 1 ; then
42870 if test "x$wxGTK_VERSION" = "x1" ; then
42871 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42872 fi
42873 fi
42874 fi
42875
42876 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42877 cat >>confdefs.h <<\_ACEOF
42878 #define wxUSE_MEMORY_TRACING 1
42879 _ACEOF
42880
42881 cat >>confdefs.h <<\_ACEOF
42882 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42883 _ACEOF
42884
42885 cat >>confdefs.h <<\_ACEOF
42886 #define wxUSE_DEBUG_NEW_ALWAYS 1
42887 _ACEOF
42888
42889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42890 fi
42891
42892 if test "$wxUSE_DMALLOC" = "yes" ; then
42893 DMALLOC_LIBS="-ldmallocthcxx"
42894 fi
42895
42896 PROFILE_FLAGS=
42897 if test "$wxUSE_PROFILE" = "yes" ; then
42898 PROFILE_FLAGS=" -pg"
42899 fi
42900
42901 if test "$GCC" = "yes" ; then
42902 if test "$wxUSE_NO_RTTI" = "yes" ; then
42903 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42904 fi
42905 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42906 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42907 fi
42908 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42909 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42910 fi
42911
42912 case "${host}" in
42913 powerpc*-*-aix* )
42914 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42915 ;;
42916 *-hppa* )
42917 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42918 ;;
42919 esac
42920 fi
42921
42922 OPTIMISE_CFLAGS=
42923 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42924 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42925 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42926 else
42927 if test "$wxUSE_OPTIMISE" = "no" ; then
42928 if test "$GCC" = yes ; then
42929 OPTIMISE_CFLAGS="-O0"
42930 fi
42931 else
42932 if test "$GCC" = yes ; then
42933 case "${host}" in
42934 *-pc-os2_emx | *-pc-os2-emx )
42935 OPTIMISE_CFLAGS="-O2"
42936 ;;
42937 *)
42938 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42939 ;;
42940 esac
42941 else
42942 OPTIMISE_CFLAGS="-O"
42943 fi
42944 fi
42945 fi
42946
42947
42948 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42949 cat >>confdefs.h <<\_ACEOF
42950 #define WXWIN_COMPATIBILITY_2_6 1
42951 _ACEOF
42952
42953
42954 WXWIN_COMPATIBILITY_2_8="yes"
42955 fi
42956
42957 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42958 cat >>confdefs.h <<\_ACEOF
42959 #define WXWIN_COMPATIBILITY_2_8 1
42960 _ACEOF
42961
42962 fi
42963
42964
42965 if test "$wxUSE_GUI" = "yes"; then
42966 cat >>confdefs.h <<\_ACEOF
42967 #define wxUSE_GUI 1
42968 _ACEOF
42969
42970
42971 fi
42972
42973
42974 if test "$wxUSE_UNIX" = "yes"; then
42975 cat >>confdefs.h <<\_ACEOF
42976 #define wxUSE_UNIX 1
42977 _ACEOF
42978
42979 fi
42980
42981
42982 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42983
42984 HAVE_DL_FUNCS=0
42985 HAVE_SHL_FUNCS=0
42986 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42987 if test "$USE_DOS" = 1; then
42988 HAVE_DL_FUNCS=0
42989 else
42990
42991 for ac_func in dlopen
42992 do
42993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42994 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42996 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42997 echo $ECHO_N "(cached) $ECHO_C" >&6
42998 else
42999 cat >conftest.$ac_ext <<_ACEOF
43000 /* confdefs.h. */
43001 _ACEOF
43002 cat confdefs.h >>conftest.$ac_ext
43003 cat >>conftest.$ac_ext <<_ACEOF
43004 /* end confdefs.h. */
43005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43007 #define $ac_func innocuous_$ac_func
43008
43009 /* System header to define __stub macros and hopefully few prototypes,
43010 which can conflict with char $ac_func (); below.
43011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43012 <limits.h> exists even on freestanding compilers. */
43013
43014 #ifdef __STDC__
43015 # include <limits.h>
43016 #else
43017 # include <assert.h>
43018 #endif
43019
43020 #undef $ac_func
43021
43022 /* Override any GCC internal prototype to avoid an error.
43023 Use char because int might match the return type of a GCC
43024 builtin and then its argument prototype would still apply. */
43025 #ifdef __cplusplus
43026 extern "C"
43027 #endif
43028 char $ac_func ();
43029 /* The GNU C library defines this for functions which it implements
43030 to always fail with ENOSYS. Some functions are actually named
43031 something starting with __ and the normal name is an alias. */
43032 #if defined __stub_$ac_func || defined __stub___$ac_func
43033 choke me
43034 #endif
43035
43036 int
43037 main ()
43038 {
43039 return $ac_func ();
43040 ;
43041 return 0;
43042 }
43043 _ACEOF
43044 rm -f conftest.$ac_objext conftest$ac_exeext
43045 if { (ac_try="$ac_link"
43046 case "(($ac_try" in
43047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43048 *) ac_try_echo=$ac_try;;
43049 esac
43050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43051 (eval "$ac_link") 2>conftest.er1
43052 ac_status=$?
43053 grep -v '^ *+' conftest.er1 >conftest.err
43054 rm -f conftest.er1
43055 cat conftest.err >&5
43056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43057 (exit $ac_status); } && {
43058 test -z "$ac_c_werror_flag" ||
43059 test ! -s conftest.err
43060 } && test -s conftest$ac_exeext &&
43061 $as_test_x conftest$ac_exeext; then
43062 eval "$as_ac_var=yes"
43063 else
43064 echo "$as_me: failed program was:" >&5
43065 sed 's/^/| /' conftest.$ac_ext >&5
43066
43067 eval "$as_ac_var=no"
43068 fi
43069
43070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43071 conftest$ac_exeext conftest.$ac_ext
43072 fi
43073 ac_res=`eval echo '${'$as_ac_var'}'`
43074 { echo "$as_me:$LINENO: result: $ac_res" >&5
43075 echo "${ECHO_T}$ac_res" >&6; }
43076 if test `eval echo '${'$as_ac_var'}'` = yes; then
43077 cat >>confdefs.h <<_ACEOF
43078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43079 _ACEOF
43080
43081 cat >>confdefs.h <<\_ACEOF
43082 #define HAVE_DLOPEN 1
43083 _ACEOF
43084
43085 HAVE_DL_FUNCS=1
43086
43087 else
43088
43089 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43090 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43091 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43092 echo $ECHO_N "(cached) $ECHO_C" >&6
43093 else
43094 ac_check_lib_save_LIBS=$LIBS
43095 LIBS="-ldl $LIBS"
43096 cat >conftest.$ac_ext <<_ACEOF
43097 /* confdefs.h. */
43098 _ACEOF
43099 cat confdefs.h >>conftest.$ac_ext
43100 cat >>conftest.$ac_ext <<_ACEOF
43101 /* end confdefs.h. */
43102
43103 /* Override any GCC internal prototype to avoid an error.
43104 Use char because int might match the return type of a GCC
43105 builtin and then its argument prototype would still apply. */
43106 #ifdef __cplusplus
43107 extern "C"
43108 #endif
43109 char dlopen ();
43110 int
43111 main ()
43112 {
43113 return dlopen ();
43114 ;
43115 return 0;
43116 }
43117 _ACEOF
43118 rm -f conftest.$ac_objext conftest$ac_exeext
43119 if { (ac_try="$ac_link"
43120 case "(($ac_try" in
43121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43122 *) ac_try_echo=$ac_try;;
43123 esac
43124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43125 (eval "$ac_link") 2>conftest.er1
43126 ac_status=$?
43127 grep -v '^ *+' conftest.er1 >conftest.err
43128 rm -f conftest.er1
43129 cat conftest.err >&5
43130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43131 (exit $ac_status); } && {
43132 test -z "$ac_c_werror_flag" ||
43133 test ! -s conftest.err
43134 } && test -s conftest$ac_exeext &&
43135 $as_test_x conftest$ac_exeext; then
43136 ac_cv_lib_dl_dlopen=yes
43137 else
43138 echo "$as_me: failed program was:" >&5
43139 sed 's/^/| /' conftest.$ac_ext >&5
43140
43141 ac_cv_lib_dl_dlopen=no
43142 fi
43143
43144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43145 conftest$ac_exeext conftest.$ac_ext
43146 LIBS=$ac_check_lib_save_LIBS
43147 fi
43148 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43149 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43150 if test $ac_cv_lib_dl_dlopen = yes; then
43151
43152 cat >>confdefs.h <<\_ACEOF
43153 #define HAVE_DLOPEN 1
43154 _ACEOF
43155
43156 HAVE_DL_FUNCS=1
43157 DL_LINK=" -ldl$DL_LINK"
43158
43159 else
43160
43161
43162 for ac_func in shl_load
43163 do
43164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43165 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43167 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43168 echo $ECHO_N "(cached) $ECHO_C" >&6
43169 else
43170 cat >conftest.$ac_ext <<_ACEOF
43171 /* confdefs.h. */
43172 _ACEOF
43173 cat confdefs.h >>conftest.$ac_ext
43174 cat >>conftest.$ac_ext <<_ACEOF
43175 /* end confdefs.h. */
43176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43178 #define $ac_func innocuous_$ac_func
43179
43180 /* System header to define __stub macros and hopefully few prototypes,
43181 which can conflict with char $ac_func (); below.
43182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43183 <limits.h> exists even on freestanding compilers. */
43184
43185 #ifdef __STDC__
43186 # include <limits.h>
43187 #else
43188 # include <assert.h>
43189 #endif
43190
43191 #undef $ac_func
43192
43193 /* Override any GCC internal prototype to avoid an error.
43194 Use char because int might match the return type of a GCC
43195 builtin and then its argument prototype would still apply. */
43196 #ifdef __cplusplus
43197 extern "C"
43198 #endif
43199 char $ac_func ();
43200 /* The GNU C library defines this for functions which it implements
43201 to always fail with ENOSYS. Some functions are actually named
43202 something starting with __ and the normal name is an alias. */
43203 #if defined __stub_$ac_func || defined __stub___$ac_func
43204 choke me
43205 #endif
43206
43207 int
43208 main ()
43209 {
43210 return $ac_func ();
43211 ;
43212 return 0;
43213 }
43214 _ACEOF
43215 rm -f conftest.$ac_objext conftest$ac_exeext
43216 if { (ac_try="$ac_link"
43217 case "(($ac_try" in
43218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43219 *) ac_try_echo=$ac_try;;
43220 esac
43221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43222 (eval "$ac_link") 2>conftest.er1
43223 ac_status=$?
43224 grep -v '^ *+' conftest.er1 >conftest.err
43225 rm -f conftest.er1
43226 cat conftest.err >&5
43227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43228 (exit $ac_status); } && {
43229 test -z "$ac_c_werror_flag" ||
43230 test ! -s conftest.err
43231 } && test -s conftest$ac_exeext &&
43232 $as_test_x conftest$ac_exeext; then
43233 eval "$as_ac_var=yes"
43234 else
43235 echo "$as_me: failed program was:" >&5
43236 sed 's/^/| /' conftest.$ac_ext >&5
43237
43238 eval "$as_ac_var=no"
43239 fi
43240
43241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43242 conftest$ac_exeext conftest.$ac_ext
43243 fi
43244 ac_res=`eval echo '${'$as_ac_var'}'`
43245 { echo "$as_me:$LINENO: result: $ac_res" >&5
43246 echo "${ECHO_T}$ac_res" >&6; }
43247 if test `eval echo '${'$as_ac_var'}'` = yes; then
43248 cat >>confdefs.h <<_ACEOF
43249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43250 _ACEOF
43251
43252 cat >>confdefs.h <<\_ACEOF
43253 #define HAVE_SHL_LOAD 1
43254 _ACEOF
43255
43256 HAVE_SHL_FUNCS=1
43257
43258 else
43259
43260 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43261 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43262 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43263 echo $ECHO_N "(cached) $ECHO_C" >&6
43264 else
43265 ac_check_lib_save_LIBS=$LIBS
43266 LIBS="-lshl_load $LIBS"
43267 cat >conftest.$ac_ext <<_ACEOF
43268 /* confdefs.h. */
43269 _ACEOF
43270 cat confdefs.h >>conftest.$ac_ext
43271 cat >>conftest.$ac_ext <<_ACEOF
43272 /* end confdefs.h. */
43273
43274 /* Override any GCC internal prototype to avoid an error.
43275 Use char because int might match the return type of a GCC
43276 builtin and then its argument prototype would still apply. */
43277 #ifdef __cplusplus
43278 extern "C"
43279 #endif
43280 char dld ();
43281 int
43282 main ()
43283 {
43284 return dld ();
43285 ;
43286 return 0;
43287 }
43288 _ACEOF
43289 rm -f conftest.$ac_objext conftest$ac_exeext
43290 if { (ac_try="$ac_link"
43291 case "(($ac_try" in
43292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43293 *) ac_try_echo=$ac_try;;
43294 esac
43295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43296 (eval "$ac_link") 2>conftest.er1
43297 ac_status=$?
43298 grep -v '^ *+' conftest.er1 >conftest.err
43299 rm -f conftest.er1
43300 cat conftest.err >&5
43301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302 (exit $ac_status); } && {
43303 test -z "$ac_c_werror_flag" ||
43304 test ! -s conftest.err
43305 } && test -s conftest$ac_exeext &&
43306 $as_test_x conftest$ac_exeext; then
43307 ac_cv_lib_shl_load_dld=yes
43308 else
43309 echo "$as_me: failed program was:" >&5
43310 sed 's/^/| /' conftest.$ac_ext >&5
43311
43312 ac_cv_lib_shl_load_dld=no
43313 fi
43314
43315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43316 conftest$ac_exeext conftest.$ac_ext
43317 LIBS=$ac_check_lib_save_LIBS
43318 fi
43319 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43320 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43321 if test $ac_cv_lib_shl_load_dld = yes; then
43322
43323 HAVE_SHL_FUNCS=1
43324 DL_LINK=" -ldld$DL_LINK"
43325
43326 fi
43327
43328
43329 fi
43330 done
43331
43332
43333 fi
43334
43335
43336 fi
43337 done
43338
43339
43340 if test "$HAVE_DL_FUNCS" = 1; then
43341
43342 for ac_func in dlerror
43343 do
43344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43345 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43347 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43348 echo $ECHO_N "(cached) $ECHO_C" >&6
43349 else
43350 cat >conftest.$ac_ext <<_ACEOF
43351 /* confdefs.h. */
43352 _ACEOF
43353 cat confdefs.h >>conftest.$ac_ext
43354 cat >>conftest.$ac_ext <<_ACEOF
43355 /* end confdefs.h. */
43356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43358 #define $ac_func innocuous_$ac_func
43359
43360 /* System header to define __stub macros and hopefully few prototypes,
43361 which can conflict with char $ac_func (); below.
43362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43363 <limits.h> exists even on freestanding compilers. */
43364
43365 #ifdef __STDC__
43366 # include <limits.h>
43367 #else
43368 # include <assert.h>
43369 #endif
43370
43371 #undef $ac_func
43372
43373 /* Override any GCC internal prototype to avoid an error.
43374 Use char because int might match the return type of a GCC
43375 builtin and then its argument prototype would still apply. */
43376 #ifdef __cplusplus
43377 extern "C"
43378 #endif
43379 char $ac_func ();
43380 /* The GNU C library defines this for functions which it implements
43381 to always fail with ENOSYS. Some functions are actually named
43382 something starting with __ and the normal name is an alias. */
43383 #if defined __stub_$ac_func || defined __stub___$ac_func
43384 choke me
43385 #endif
43386
43387 int
43388 main ()
43389 {
43390 return $ac_func ();
43391 ;
43392 return 0;
43393 }
43394 _ACEOF
43395 rm -f conftest.$ac_objext conftest$ac_exeext
43396 if { (ac_try="$ac_link"
43397 case "(($ac_try" in
43398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43399 *) ac_try_echo=$ac_try;;
43400 esac
43401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43402 (eval "$ac_link") 2>conftest.er1
43403 ac_status=$?
43404 grep -v '^ *+' conftest.er1 >conftest.err
43405 rm -f conftest.er1
43406 cat conftest.err >&5
43407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43408 (exit $ac_status); } && {
43409 test -z "$ac_c_werror_flag" ||
43410 test ! -s conftest.err
43411 } && test -s conftest$ac_exeext &&
43412 $as_test_x conftest$ac_exeext; then
43413 eval "$as_ac_var=yes"
43414 else
43415 echo "$as_me: failed program was:" >&5
43416 sed 's/^/| /' conftest.$ac_ext >&5
43417
43418 eval "$as_ac_var=no"
43419 fi
43420
43421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43422 conftest$ac_exeext conftest.$ac_ext
43423 fi
43424 ac_res=`eval echo '${'$as_ac_var'}'`
43425 { echo "$as_me:$LINENO: result: $ac_res" >&5
43426 echo "${ECHO_T}$ac_res" >&6; }
43427 if test `eval echo '${'$as_ac_var'}'` = yes; then
43428 cat >>confdefs.h <<_ACEOF
43429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43430 _ACEOF
43431 cat >>confdefs.h <<\_ACEOF
43432 #define HAVE_DLERROR 1
43433 _ACEOF
43434
43435 else
43436
43437 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43438 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43439 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43440 echo $ECHO_N "(cached) $ECHO_C" >&6
43441 else
43442 ac_check_lib_save_LIBS=$LIBS
43443 LIBS="-ldl $LIBS"
43444 cat >conftest.$ac_ext <<_ACEOF
43445 /* confdefs.h. */
43446 _ACEOF
43447 cat confdefs.h >>conftest.$ac_ext
43448 cat >>conftest.$ac_ext <<_ACEOF
43449 /* end confdefs.h. */
43450
43451 /* Override any GCC internal prototype to avoid an error.
43452 Use char because int might match the return type of a GCC
43453 builtin and then its argument prototype would still apply. */
43454 #ifdef __cplusplus
43455 extern "C"
43456 #endif
43457 char dlerror ();
43458 int
43459 main ()
43460 {
43461 return dlerror ();
43462 ;
43463 return 0;
43464 }
43465 _ACEOF
43466 rm -f conftest.$ac_objext conftest$ac_exeext
43467 if { (ac_try="$ac_link"
43468 case "(($ac_try" in
43469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43470 *) ac_try_echo=$ac_try;;
43471 esac
43472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43473 (eval "$ac_link") 2>conftest.er1
43474 ac_status=$?
43475 grep -v '^ *+' conftest.er1 >conftest.err
43476 rm -f conftest.er1
43477 cat conftest.err >&5
43478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43479 (exit $ac_status); } && {
43480 test -z "$ac_c_werror_flag" ||
43481 test ! -s conftest.err
43482 } && test -s conftest$ac_exeext &&
43483 $as_test_x conftest$ac_exeext; then
43484 ac_cv_lib_dl_dlerror=yes
43485 else
43486 echo "$as_me: failed program was:" >&5
43487 sed 's/^/| /' conftest.$ac_ext >&5
43488
43489 ac_cv_lib_dl_dlerror=no
43490 fi
43491
43492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43493 conftest$ac_exeext conftest.$ac_ext
43494 LIBS=$ac_check_lib_save_LIBS
43495 fi
43496 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43497 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43498 if test $ac_cv_lib_dl_dlerror = yes; then
43499 cat >>confdefs.h <<\_ACEOF
43500 #define HAVE_DLERROR 1
43501 _ACEOF
43502
43503 fi
43504
43505
43506
43507 fi
43508 done
43509
43510 fi
43511 fi
43512
43513 if test "$USE_DARWIN" = 1; then
43514 HAVE_DL_FUNCS=1
43515 fi
43516
43517 if test "$HAVE_DL_FUNCS" = 0; then
43518 if test "$HAVE_SHL_FUNCS" = 0; then
43519 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43520 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43521 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43522 wxUSE_DYNAMIC_LOADER=no
43523 wxUSE_DYNLIB_CLASS=no
43524 else
43525 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43526 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43527 fi
43528 fi
43529 fi
43530 fi
43531 fi
43532
43533 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43534 cat >>confdefs.h <<\_ACEOF
43535 #define wxUSE_DYNAMIC_LOADER 1
43536 _ACEOF
43537
43538 fi
43539 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43540 cat >>confdefs.h <<\_ACEOF
43541 #define wxUSE_DYNLIB_CLASS 1
43542 _ACEOF
43543
43544 fi
43545
43546
43547
43548 if test "$wxUSE_PLUGINS" = "yes" ; then
43549 if test "$wxUSE_SHARED" = "no" ; then
43550 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43551 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43552 wxUSE_PLUGINS=no
43553 fi
43554 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43555 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43556 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43557 wxUSE_PLUGINS=no
43558 fi
43559 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43560 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43561 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43562 wxUSE_PLUGINS=no
43563 fi
43564 if test "$wxUSE_PLUGINS" = "yes" ; then
43565 cat >>confdefs.h <<\_ACEOF
43566 #define wxUSE_PLUGINS 1
43567 _ACEOF
43568
43569 fi
43570 fi
43571
43572
43573 if test "$wxUSE_FSWATCHER" = "yes"; then
43574 if test "$wxUSE_MSW" != "1"; then
43575 if test "$wxUSE_UNIX" = "yes"; then
43576
43577 for ac_header in sys/inotify.h
43578 do
43579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43580 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43582 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43583 echo $ECHO_N "(cached) $ECHO_C" >&6
43584 else
43585 cat >conftest.$ac_ext <<_ACEOF
43586 /* confdefs.h. */
43587 _ACEOF
43588 cat confdefs.h >>conftest.$ac_ext
43589 cat >>conftest.$ac_ext <<_ACEOF
43590 /* end confdefs.h. */
43591 $ac_includes_default
43592
43593 #include <$ac_header>
43594 _ACEOF
43595 rm -f conftest.$ac_objext
43596 if { (ac_try="$ac_compile"
43597 case "(($ac_try" in
43598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43599 *) ac_try_echo=$ac_try;;
43600 esac
43601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43602 (eval "$ac_compile") 2>conftest.er1
43603 ac_status=$?
43604 grep -v '^ *+' conftest.er1 >conftest.err
43605 rm -f conftest.er1
43606 cat conftest.err >&5
43607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43608 (exit $ac_status); } && {
43609 test -z "$ac_c_werror_flag" ||
43610 test ! -s conftest.err
43611 } && test -s conftest.$ac_objext; then
43612 eval "$as_ac_Header=yes"
43613 else
43614 echo "$as_me: failed program was:" >&5
43615 sed 's/^/| /' conftest.$ac_ext >&5
43616
43617 eval "$as_ac_Header=no"
43618 fi
43619
43620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43621 fi
43622 ac_res=`eval echo '${'$as_ac_Header'}'`
43623 { echo "$as_me:$LINENO: result: $ac_res" >&5
43624 echo "${ECHO_T}$ac_res" >&6; }
43625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43626 cat >>confdefs.h <<_ACEOF
43627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43628 _ACEOF
43629
43630 fi
43631
43632 done
43633
43634 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43635 cat >>confdefs.h <<\_ACEOF
43636 #define wxHAS_INOTIFY 1
43637 _ACEOF
43638
43639 else
43640
43641 for ac_header in sys/event.h
43642 do
43643 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43644 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43647 echo $ECHO_N "(cached) $ECHO_C" >&6
43648 else
43649 cat >conftest.$ac_ext <<_ACEOF
43650 /* confdefs.h. */
43651 _ACEOF
43652 cat confdefs.h >>conftest.$ac_ext
43653 cat >>conftest.$ac_ext <<_ACEOF
43654 /* end confdefs.h. */
43655 $ac_includes_default
43656
43657 #include <$ac_header>
43658 _ACEOF
43659 rm -f conftest.$ac_objext
43660 if { (ac_try="$ac_compile"
43661 case "(($ac_try" in
43662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43663 *) ac_try_echo=$ac_try;;
43664 esac
43665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43666 (eval "$ac_compile") 2>conftest.er1
43667 ac_status=$?
43668 grep -v '^ *+' conftest.er1 >conftest.err
43669 rm -f conftest.er1
43670 cat conftest.err >&5
43671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43672 (exit $ac_status); } && {
43673 test -z "$ac_c_werror_flag" ||
43674 test ! -s conftest.err
43675 } && test -s conftest.$ac_objext; then
43676 eval "$as_ac_Header=yes"
43677 else
43678 echo "$as_me: failed program was:" >&5
43679 sed 's/^/| /' conftest.$ac_ext >&5
43680
43681 eval "$as_ac_Header=no"
43682 fi
43683
43684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43685 fi
43686 ac_res=`eval echo '${'$as_ac_Header'}'`
43687 { echo "$as_me:$LINENO: result: $ac_res" >&5
43688 echo "${ECHO_T}$ac_res" >&6; }
43689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43690 cat >>confdefs.h <<_ACEOF
43691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43692 _ACEOF
43693
43694 fi
43695
43696 done
43697
43698 if test "$ac_cv_header_sys_event_h" = "yes"; then
43699 cat >>confdefs.h <<\_ACEOF
43700 #define wxHAS_KQUEUE 1
43701 _ACEOF
43702
43703 else
43704 wxUSE_FSWATCHER=no
43705 fi
43706 fi
43707 else
43708 wxUSE_FSWATCHER=no
43709 fi
43710 fi
43711
43712 if test "$wxUSE_FSWATCHER" = "yes"; then
43713 cat >>confdefs.h <<\_ACEOF
43714 #define wxUSE_FSWATCHER 1
43715 _ACEOF
43716
43717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43718 else
43719 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43720 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43721 fi
43722 fi
43723
43724
43725 if test "$wxUSE_STL" = "yes"; then
43726 cat >>confdefs.h <<\_ACEOF
43727 #define wxUSE_STL 1
43728 _ACEOF
43729
43730 fi
43731
43732 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43733 cat >>confdefs.h <<\_ACEOF
43734 #define wxUSE_EXTENDED_RTTI 1
43735 _ACEOF
43736
43737 fi
43738
43739 if test "$wxUSE_ANY" = "yes"; then
43740 cat >>confdefs.h <<\_ACEOF
43741 #define wxUSE_ANY 1
43742 _ACEOF
43743
43744 fi
43745
43746 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43747 cat >>confdefs.h <<\_ACEOF
43748 #define wxUSE_APPLE_IEEE 1
43749 _ACEOF
43750
43751 fi
43752
43753 if test "$wxUSE_TIMER" = "yes"; then
43754 cat >>confdefs.h <<\_ACEOF
43755 #define wxUSE_TIMER 1
43756 _ACEOF
43757
43758 fi
43759
43760 if test "$USE_UNIX" = 1 ; then
43761 if test "$wxUSE_MGL" != 1; then
43762 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43763 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43764 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43765 echo $ECHO_N "(cached) $ECHO_C" >&6
43766 else
43767
43768 cat >conftest.$ac_ext <<_ACEOF
43769 /* confdefs.h. */
43770 _ACEOF
43771 cat confdefs.h >>conftest.$ac_ext
43772 cat >>conftest.$ac_ext <<_ACEOF
43773 /* end confdefs.h. */
43774
43775 #include <sys/ioctl.h>
43776 #include <sys/soundcard.h>
43777
43778 int
43779 main ()
43780 {
43781
43782 ioctl(0, SNDCTL_DSP_SPEED, 0);
43783
43784 ;
43785 return 0;
43786 }
43787 _ACEOF
43788 rm -f conftest.$ac_objext conftest$ac_exeext
43789 if { (ac_try="$ac_link"
43790 case "(($ac_try" in
43791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43792 *) ac_try_echo=$ac_try;;
43793 esac
43794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43795 (eval "$ac_link") 2>conftest.er1
43796 ac_status=$?
43797 grep -v '^ *+' conftest.er1 >conftest.err
43798 rm -f conftest.er1
43799 cat conftest.err >&5
43800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43801 (exit $ac_status); } && {
43802 test -z "$ac_c_werror_flag" ||
43803 test ! -s conftest.err
43804 } && test -s conftest$ac_exeext &&
43805 $as_test_x conftest$ac_exeext; then
43806 ac_cv_header_sys_soundcard=yes
43807 else
43808 echo "$as_me: failed program was:" >&5
43809 sed 's/^/| /' conftest.$ac_ext >&5
43810
43811
43812 saveLibs="$LIBS"
43813 LIBS="$saveLibs -lossaudio"
43814 cat >conftest.$ac_ext <<_ACEOF
43815 /* confdefs.h. */
43816 _ACEOF
43817 cat confdefs.h >>conftest.$ac_ext
43818 cat >>conftest.$ac_ext <<_ACEOF
43819 /* end confdefs.h. */
43820
43821 #include <sys/ioctl.h>
43822 #include <sys/soundcard.h>
43823
43824 int
43825 main ()
43826 {
43827
43828 ioctl(0, SNDCTL_DSP_SPEED, 0);
43829
43830 ;
43831 return 0;
43832 }
43833 _ACEOF
43834 rm -f conftest.$ac_objext conftest$ac_exeext
43835 if { (ac_try="$ac_link"
43836 case "(($ac_try" in
43837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43838 *) ac_try_echo=$ac_try;;
43839 esac
43840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43841 (eval "$ac_link") 2>conftest.er1
43842 ac_status=$?
43843 grep -v '^ *+' conftest.er1 >conftest.err
43844 rm -f conftest.er1
43845 cat conftest.err >&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } && {
43848 test -z "$ac_c_werror_flag" ||
43849 test ! -s conftest.err
43850 } && test -s conftest$ac_exeext &&
43851 $as_test_x conftest$ac_exeext; then
43852 ac_cv_header_sys_soundcard=yes
43853 else
43854 echo "$as_me: failed program was:" >&5
43855 sed 's/^/| /' conftest.$ac_ext >&5
43856
43857
43858 LIBS="$saveLibs"
43859 ac_cv_header_sys_soundcard=no
43860
43861
43862 fi
43863
43864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43865 conftest$ac_exeext conftest.$ac_ext
43866
43867
43868 fi
43869
43870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43871 conftest$ac_exeext conftest.$ac_ext
43872
43873 fi
43874 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43875 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43876 fi
43877
43878 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43879 cat >>confdefs.h <<\_ACEOF
43880 #define HAVE_SYS_SOUNDCARD_H 1
43881 _ACEOF
43882
43883 fi
43884 fi
43885
43886 WITH_PLUGIN_SDL=0
43887 if test "$wxUSE_SOUND" = "yes"; then
43888 if test "$USE_UNIX" = 1 ; then
43889 if test "$wxUSE_LIBSDL" != "no"; then
43890
43891 # Check whether --with-sdl-prefix was given.
43892 if test "${with_sdl_prefix+set}" = set; then
43893 withval=$with_sdl_prefix; sdl_prefix="$withval"
43894 else
43895 sdl_prefix=""
43896 fi
43897
43898
43899 # Check whether --with-sdl-exec-prefix was given.
43900 if test "${with_sdl_exec_prefix+set}" = set; then
43901 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43902 else
43903 sdl_exec_prefix=""
43904 fi
43905
43906 # Check whether --enable-sdltest was given.
43907 if test "${enable_sdltest+set}" = set; then
43908 enableval=$enable_sdltest;
43909 else
43910 enable_sdltest=yes
43911 fi
43912
43913
43914 if test x$sdl_exec_prefix != x ; then
43915 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43916 if test x${SDL_CONFIG+set} != xset ; then
43917 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43918 fi
43919 fi
43920 if test x$sdl_prefix != x ; then
43921 sdl_args="$sdl_args --prefix=$sdl_prefix"
43922 if test x${SDL_CONFIG+set} != xset ; then
43923 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43924 fi
43925 fi
43926
43927 if test "x$prefix" != xNONE; then
43928 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43929 fi
43930 # Extract the first word of "sdl-config", so it can be a program name with args.
43931 set dummy sdl-config; ac_word=$2
43932 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43934 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43935 echo $ECHO_N "(cached) $ECHO_C" >&6
43936 else
43937 case $SDL_CONFIG in
43938 [\\/]* | ?:[\\/]*)
43939 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43940 ;;
43941 *)
43942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43943 for as_dir in $PATH
43944 do
43945 IFS=$as_save_IFS
43946 test -z "$as_dir" && as_dir=.
43947 for ac_exec_ext in '' $ac_executable_extensions; do
43948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43949 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43951 break 2
43952 fi
43953 done
43954 done
43955 IFS=$as_save_IFS
43956
43957 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43958 ;;
43959 esac
43960 fi
43961 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43962 if test -n "$SDL_CONFIG"; then
43963 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43964 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43965 else
43966 { echo "$as_me:$LINENO: result: no" >&5
43967 echo "${ECHO_T}no" >&6; }
43968 fi
43969
43970
43971 min_sdl_version=1.2.0
43972 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43973 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43974 no_sdl=""
43975 if test "$SDL_CONFIG" = "no" ; then
43976 no_sdl=yes
43977 else
43978 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43979 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43980
43981 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43983 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43985 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43986 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43987 if test "x$enable_sdltest" = "xyes" ; then
43988 ac_save_CFLAGS="$CFLAGS"
43989 ac_save_CXXFLAGS="$CXXFLAGS"
43990 ac_save_LIBS="$LIBS"
43991 CFLAGS="$CFLAGS $SDL_CFLAGS"
43992 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43993 LIBS="$LIBS $SDL_LIBS"
43994 rm -f conf.sdltest
43995 if test "$cross_compiling" = yes; then
43996 echo $ac_n "cross compiling; assumed OK... $ac_c"
43997 else
43998 cat >conftest.$ac_ext <<_ACEOF
43999 /* confdefs.h. */
44000 _ACEOF
44001 cat confdefs.h >>conftest.$ac_ext
44002 cat >>conftest.$ac_ext <<_ACEOF
44003 /* end confdefs.h. */
44004
44005 #include <stdio.h>
44006 #include <stdlib.h>
44007 #include <string.h>
44008 #include "SDL.h"
44009
44010 char*
44011 my_strdup (char *str)
44012 {
44013 char *new_str;
44014
44015 if (str)
44016 {
44017 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44018 strcpy (new_str, str);
44019 }
44020 else
44021 new_str = NULL;
44022
44023 return new_str;
44024 }
44025
44026 int main (int argc, char *argv[])
44027 {
44028 int major, minor, micro;
44029 char *tmp_version;
44030
44031 /* This hangs on some systems (?)
44032 system ("touch conf.sdltest");
44033 */
44034 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44035
44036 /* HP/UX 9 (%@#!) writes to sscanf strings */
44037 tmp_version = my_strdup("$min_sdl_version");
44038 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44039 printf("%s, bad version string\n", "$min_sdl_version");
44040 exit(1);
44041 }
44042
44043 if (($sdl_major_version > major) ||
44044 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44045 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44046 {
44047 return 0;
44048 }
44049 else
44050 {
44051 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44052 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44053 printf("*** best to upgrade to the required version.\n");
44054 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44055 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44056 printf("*** config.cache before re-running configure\n");
44057 return 1;
44058 }
44059 }
44060
44061
44062 _ACEOF
44063 rm -f conftest$ac_exeext
44064 if { (ac_try="$ac_link"
44065 case "(($ac_try" in
44066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44067 *) ac_try_echo=$ac_try;;
44068 esac
44069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44070 (eval "$ac_link") 2>&5
44071 ac_status=$?
44072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44073 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44074 { (case "(($ac_try" in
44075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44076 *) ac_try_echo=$ac_try;;
44077 esac
44078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44079 (eval "$ac_try") 2>&5
44080 ac_status=$?
44081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44082 (exit $ac_status); }; }; then
44083 :
44084 else
44085 echo "$as_me: program exited with status $ac_status" >&5
44086 echo "$as_me: failed program was:" >&5
44087 sed 's/^/| /' conftest.$ac_ext >&5
44088
44089 ( exit $ac_status )
44090 no_sdl=yes
44091 fi
44092 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44093 fi
44094
44095
44096 CFLAGS="$ac_save_CFLAGS"
44097 CXXFLAGS="$ac_save_CXXFLAGS"
44098 LIBS="$ac_save_LIBS"
44099 fi
44100 fi
44101 if test "x$no_sdl" = x ; then
44102 { echo "$as_me:$LINENO: result: yes" >&5
44103 echo "${ECHO_T}yes" >&6; }
44104
44105 EXTRALIBS_SDL="$SDL_LIBS"
44106 CFLAGS="$SDL_CFLAGS $CFLAGS"
44107 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44108 cat >>confdefs.h <<\_ACEOF
44109 #define wxUSE_LIBSDL 1
44110 _ACEOF
44111
44112
44113 else
44114 { echo "$as_me:$LINENO: result: no" >&5
44115 echo "${ECHO_T}no" >&6; }
44116 if test "$SDL_CONFIG" = "no" ; then
44117 echo "*** The sdl-config script installed by SDL could not be found"
44118 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44119 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44120 echo "*** full path to sdl-config."
44121 else
44122 if test -f conf.sdltest ; then
44123 :
44124 else
44125 echo "*** Could not run SDL test program, checking why..."
44126 CFLAGS="$CFLAGS $SDL_CFLAGS"
44127 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44128 LIBS="$LIBS $SDL_LIBS"
44129 cat >conftest.$ac_ext <<_ACEOF
44130 /* confdefs.h. */
44131 _ACEOF
44132 cat confdefs.h >>conftest.$ac_ext
44133 cat >>conftest.$ac_ext <<_ACEOF
44134 /* end confdefs.h. */
44135
44136 #include <stdio.h>
44137 #include "SDL.h"
44138
44139 int main(int argc, char *argv[])
44140 { return 0; }
44141 #undef main
44142 #define main K_and_R_C_main
44143
44144 int
44145 main ()
44146 {
44147 return 0;
44148 ;
44149 return 0;
44150 }
44151 _ACEOF
44152 rm -f conftest.$ac_objext conftest$ac_exeext
44153 if { (ac_try="$ac_link"
44154 case "(($ac_try" in
44155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44156 *) ac_try_echo=$ac_try;;
44157 esac
44158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44159 (eval "$ac_link") 2>conftest.er1
44160 ac_status=$?
44161 grep -v '^ *+' conftest.er1 >conftest.err
44162 rm -f conftest.er1
44163 cat conftest.err >&5
44164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44165 (exit $ac_status); } && {
44166 test -z "$ac_c_werror_flag" ||
44167 test ! -s conftest.err
44168 } && test -s conftest$ac_exeext &&
44169 $as_test_x conftest$ac_exeext; then
44170 echo "*** The test program compiled, but did not run. This usually means"
44171 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44172 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44173 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44174 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44175 echo "*** is required on your system"
44176 echo "***"
44177 echo "*** If you have an old version installed, it is best to remove it, although"
44178 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44179 else
44180 echo "$as_me: failed program was:" >&5
44181 sed 's/^/| /' conftest.$ac_ext >&5
44182
44183 echo "*** The test program failed to compile or link. See the file config.log for the"
44184 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44185 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44186 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44187 fi
44188
44189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44190 conftest$ac_exeext conftest.$ac_ext
44191 CFLAGS="$ac_save_CFLAGS"
44192 CXXFLAGS="$ac_save_CXXFLAGS"
44193 LIBS="$ac_save_LIBS"
44194 fi
44195 fi
44196 SDL_CFLAGS=""
44197 SDL_LIBS=""
44198 wxUSE_LIBSDL="no"
44199 fi
44200
44201
44202 rm -f conf.sdltest
44203
44204 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44205 WITH_PLUGIN_SDL=1
44206 fi
44207 fi
44208 else
44209 if test "$wxUSE_MGL" = 1; then
44210 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44211 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44212 wxUSE_SOUND="no"
44213 fi
44214 fi
44215 fi
44216
44217 if test "$wxUSE_SOUND" = "yes"; then
44218 cat >>confdefs.h <<\_ACEOF
44219 #define wxUSE_SOUND 1
44220 _ACEOF
44221
44222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44223 fi
44224
44225 if test "$WXGTK2" = 1; then
44226
44227
44228 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44229 if test -n "$ac_tool_prefix"; then
44230 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44231 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44234 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44235 echo $ECHO_N "(cached) $ECHO_C" >&6
44236 else
44237 case $PKG_CONFIG in
44238 [\\/]* | ?:[\\/]*)
44239 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44240 ;;
44241 *)
44242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44243 for as_dir in $PATH
44244 do
44245 IFS=$as_save_IFS
44246 test -z "$as_dir" && as_dir=.
44247 for ac_exec_ext in '' $ac_executable_extensions; do
44248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44249 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44251 break 2
44252 fi
44253 done
44254 done
44255 IFS=$as_save_IFS
44256
44257 ;;
44258 esac
44259 fi
44260 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44261 if test -n "$PKG_CONFIG"; then
44262 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44263 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44264 else
44265 { echo "$as_me:$LINENO: result: no" >&5
44266 echo "${ECHO_T}no" >&6; }
44267 fi
44268
44269
44270 fi
44271 if test -z "$ac_cv_path_PKG_CONFIG"; then
44272 ac_pt_PKG_CONFIG=$PKG_CONFIG
44273 # Extract the first word of "pkg-config", so it can be a program name with args.
44274 set dummy pkg-config; ac_word=$2
44275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44277 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44278 echo $ECHO_N "(cached) $ECHO_C" >&6
44279 else
44280 case $ac_pt_PKG_CONFIG in
44281 [\\/]* | ?:[\\/]*)
44282 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44283 ;;
44284 *)
44285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44286 for as_dir in $PATH
44287 do
44288 IFS=$as_save_IFS
44289 test -z "$as_dir" && as_dir=.
44290 for ac_exec_ext in '' $ac_executable_extensions; do
44291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44292 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44294 break 2
44295 fi
44296 done
44297 done
44298 IFS=$as_save_IFS
44299
44300 ;;
44301 esac
44302 fi
44303 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44304 if test -n "$ac_pt_PKG_CONFIG"; then
44305 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44306 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44307 else
44308 { echo "$as_me:$LINENO: result: no" >&5
44309 echo "${ECHO_T}no" >&6; }
44310 fi
44311
44312 if test "x$ac_pt_PKG_CONFIG" = x; then
44313 PKG_CONFIG=""
44314 else
44315 case $cross_compiling:$ac_tool_warned in
44316 yes:)
44317 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44318 whose name does not start with the host triplet. If you think this
44319 configuration is useful to you, please write to autoconf@gnu.org." >&5
44320 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44321 whose name does not start with the host triplet. If you think this
44322 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44323 ac_tool_warned=yes ;;
44324 esac
44325 PKG_CONFIG=$ac_pt_PKG_CONFIG
44326 fi
44327 else
44328 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44329 fi
44330
44331 fi
44332 if test -n "$PKG_CONFIG"; then
44333 _pkg_min_version=0.9.0
44334 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44335 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44336 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44337 { echo "$as_me:$LINENO: result: yes" >&5
44338 echo "${ECHO_T}yes" >&6; }
44339 else
44340 { echo "$as_me:$LINENO: result: no" >&5
44341 echo "${ECHO_T}no" >&6; }
44342 PKG_CONFIG=""
44343 fi
44344
44345 fi
44346
44347 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44348
44349 if test "$wxUSE_GTKPRINT" = "yes" ; then
44350
44351
44352 pkg_failed=no
44353 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44354 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44355
44356 if test -n "$PKG_CONFIG"; then
44357 if test -n "$GTKPRINT_CFLAGS"; then
44358 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44359 else
44360 if test -n "$PKG_CONFIG" && \
44361 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44362 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44363 ac_status=$?
44364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44365 (exit $ac_status); }; then
44366 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44367 else
44368 pkg_failed=yes
44369 fi
44370 fi
44371 else
44372 pkg_failed=untried
44373 fi
44374 if test -n "$PKG_CONFIG"; then
44375 if test -n "$GTKPRINT_LIBS"; then
44376 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44377 else
44378 if test -n "$PKG_CONFIG" && \
44379 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44380 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44381 ac_status=$?
44382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44383 (exit $ac_status); }; then
44384 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44385 else
44386 pkg_failed=yes
44387 fi
44388 fi
44389 else
44390 pkg_failed=untried
44391 fi
44392
44393
44394
44395 if test $pkg_failed = yes; then
44396
44397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44398 _pkg_short_errors_supported=yes
44399 else
44400 _pkg_short_errors_supported=no
44401 fi
44402 if test $_pkg_short_errors_supported = yes; then
44403 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44404 else
44405 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44406 fi
44407 # Put the nasty error message in config.log where it belongs
44408 echo "$GTKPRINT_PKG_ERRORS" >&5
44409
44410
44411 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44412 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44413 wxUSE_GTKPRINT="no"
44414
44415
44416 elif test $pkg_failed = untried; then
44417
44418 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44419 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44420 wxUSE_GTKPRINT="no"
44421
44422
44423 else
44424 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44425 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44426 { echo "$as_me:$LINENO: result: yes" >&5
44427 echo "${ECHO_T}yes" >&6; }
44428
44429 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44430 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44431 cat >>confdefs.h <<\_ACEOF
44432 #define wxUSE_GTKPRINT 1
44433 _ACEOF
44434
44435
44436 fi
44437 fi
44438
44439 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44440
44441
44442 pkg_failed=no
44443 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44444 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44445
44446 if test -n "$PKG_CONFIG"; then
44447 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44448 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44449 else
44450 if test -n "$PKG_CONFIG" && \
44451 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44452 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44453 ac_status=$?
44454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44455 (exit $ac_status); }; then
44456 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44457 else
44458 pkg_failed=yes
44459 fi
44460 fi
44461 else
44462 pkg_failed=untried
44463 fi
44464 if test -n "$PKG_CONFIG"; then
44465 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44466 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44467 else
44468 if test -n "$PKG_CONFIG" && \
44469 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44470 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44471 ac_status=$?
44472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44473 (exit $ac_status); }; then
44474 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44475 else
44476 pkg_failed=yes
44477 fi
44478 fi
44479 else
44480 pkg_failed=untried
44481 fi
44482
44483
44484
44485 if test $pkg_failed = yes; then
44486
44487 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44488 _pkg_short_errors_supported=yes
44489 else
44490 _pkg_short_errors_supported=no
44491 fi
44492 if test $_pkg_short_errors_supported = yes; then
44493 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44494 else
44495 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44496 fi
44497 # Put the nasty error message in config.log where it belongs
44498 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44499
44500
44501 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44502 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44503 wxUSE_LIBGNOMEPRINT="no"
44504
44505
44506 elif test $pkg_failed = untried; then
44507
44508 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44509 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44510 wxUSE_LIBGNOMEPRINT="no"
44511
44512
44513 else
44514 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44515 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44516 { echo "$as_me:$LINENO: result: yes" >&5
44517 echo "${ECHO_T}yes" >&6; }
44518
44519 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44520 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44521 cat >>confdefs.h <<\_ACEOF
44522 #define wxUSE_LIBGNOMEPRINT 1
44523 _ACEOF
44524
44525
44526 fi
44527 fi
44528 fi
44529
44530 if test "$wxUSE_MIMETYPE" = "yes" ; then
44531 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44532
44533
44534 pkg_failed=no
44535 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44536 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44537
44538 if test -n "$PKG_CONFIG"; then
44539 if test -n "$GNOMEVFS_CFLAGS"; then
44540 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44541 else
44542 if test -n "$PKG_CONFIG" && \
44543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44544 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44545 ac_status=$?
44546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547 (exit $ac_status); }; then
44548 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44549 else
44550 pkg_failed=yes
44551 fi
44552 fi
44553 else
44554 pkg_failed=untried
44555 fi
44556 if test -n "$PKG_CONFIG"; then
44557 if test -n "$GNOMEVFS_LIBS"; then
44558 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44559 else
44560 if test -n "$PKG_CONFIG" && \
44561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44562 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44563 ac_status=$?
44564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44565 (exit $ac_status); }; then
44566 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44567 else
44568 pkg_failed=yes
44569 fi
44570 fi
44571 else
44572 pkg_failed=untried
44573 fi
44574
44575
44576
44577 if test $pkg_failed = yes; then
44578
44579 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44580 _pkg_short_errors_supported=yes
44581 else
44582 _pkg_short_errors_supported=no
44583 fi
44584 if test $_pkg_short_errors_supported = yes; then
44585 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44586 else
44587 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44588 fi
44589 # Put the nasty error message in config.log where it belongs
44590 echo "$GNOMEVFS_PKG_ERRORS" >&5
44591
44592
44593 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44594 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44595 wxUSE_LIBGNOMEVFS="no"
44596
44597
44598 elif test $pkg_failed = untried; then
44599
44600 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44601 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44602 wxUSE_LIBGNOMEVFS="no"
44603
44604
44605 else
44606 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44607 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44608 { echo "$as_me:$LINENO: result: yes" >&5
44609 echo "${ECHO_T}yes" >&6; }
44610
44611 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44612 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44613 cat >>confdefs.h <<\_ACEOF
44614 #define wxUSE_LIBGNOMEVFS 1
44615 _ACEOF
44616
44617
44618 fi
44619 fi
44620 fi
44621
44622 if test "$wxUSE_LIBHILDON" = "yes" ; then
44623
44624 pkg_failed=no
44625 { echo "$as_me:$LINENO: checking for HILDON" >&5
44626 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44627
44628 if test -n "$PKG_CONFIG"; then
44629 if test -n "$HILDON_CFLAGS"; then
44630 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44631 else
44632 if test -n "$PKG_CONFIG" && \
44633 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44634 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44635 ac_status=$?
44636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44637 (exit $ac_status); }; then
44638 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44639 else
44640 pkg_failed=yes
44641 fi
44642 fi
44643 else
44644 pkg_failed=untried
44645 fi
44646 if test -n "$PKG_CONFIG"; then
44647 if test -n "$HILDON_LIBS"; then
44648 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44649 else
44650 if test -n "$PKG_CONFIG" && \
44651 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44652 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44653 ac_status=$?
44654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44655 (exit $ac_status); }; then
44656 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44657 else
44658 pkg_failed=yes
44659 fi
44660 fi
44661 else
44662 pkg_failed=untried
44663 fi
44664
44665
44666
44667 if test $pkg_failed = yes; then
44668
44669 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44670 _pkg_short_errors_supported=yes
44671 else
44672 _pkg_short_errors_supported=no
44673 fi
44674 if test $_pkg_short_errors_supported = yes; then
44675 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44676 else
44677 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44678 fi
44679 # Put the nasty error message in config.log where it belongs
44680 echo "$HILDON_PKG_ERRORS" >&5
44681
44682
44683 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44684 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44685 wxUSE_LIBHILDON="no"
44686 ac_hildon_lgpl=0
44687
44688
44689 elif test $pkg_failed = untried; then
44690
44691 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44692 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44693 wxUSE_LIBHILDON="no"
44694 ac_hildon_lgpl=0
44695
44696
44697 else
44698 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44699 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44700 { echo "$as_me:$LINENO: result: yes" >&5
44701 echo "${ECHO_T}yes" >&6; }
44702
44703 EXTRALIBS_HILDON="$HILDON_LIBS"
44704 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44705 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44706 cat >>confdefs.h <<\_ACEOF
44707 #define wxUSE_LIBHILDON 1
44708 _ACEOF
44709
44710 ac_hildon_lgpl=1
44711
44712 fi
44713
44714 if test "$ac_hildon_lgpl" = 0 ; then
44715
44716 pkg_failed=no
44717 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44718 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44719
44720 if test -n "$PKG_CONFIG"; then
44721 if test -n "$HILDON2_CFLAGS"; then
44722 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44723 else
44724 if test -n "$PKG_CONFIG" && \
44725 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44726 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44727 ac_status=$?
44728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44729 (exit $ac_status); }; then
44730 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44731 else
44732 pkg_failed=yes
44733 fi
44734 fi
44735 else
44736 pkg_failed=untried
44737 fi
44738 if test -n "$PKG_CONFIG"; then
44739 if test -n "$HILDON2_LIBS"; then
44740 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44741 else
44742 if test -n "$PKG_CONFIG" && \
44743 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44744 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44745 ac_status=$?
44746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44747 (exit $ac_status); }; then
44748 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44749 else
44750 pkg_failed=yes
44751 fi
44752 fi
44753 else
44754 pkg_failed=untried
44755 fi
44756
44757
44758
44759 if test $pkg_failed = yes; then
44760
44761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44762 _pkg_short_errors_supported=yes
44763 else
44764 _pkg_short_errors_supported=no
44765 fi
44766 if test $_pkg_short_errors_supported = yes; then
44767 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44768 else
44769 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44770 fi
44771 # Put the nasty error message in config.log where it belongs
44772 echo "$HILDON2_PKG_ERRORS" >&5
44773
44774
44775 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44776 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44777 wxUSE_LIBHILDON2="no"
44778
44779
44780 elif test $pkg_failed = untried; then
44781
44782 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44783 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44784 wxUSE_LIBHILDON2="no"
44785
44786
44787 else
44788 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44789 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44790 { echo "$as_me:$LINENO: result: yes" >&5
44791 echo "${ECHO_T}yes" >&6; }
44792
44793 EXTRALIBS_HILDON="$HILDON2_LIBS"
44794 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44795 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44796 cat >>confdefs.h <<\_ACEOF
44797 #define wxUSE_LIBHILDON2 1
44798 _ACEOF
44799
44800
44801 fi
44802 fi
44803 fi
44804 fi
44805
44806 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44807 cat >>confdefs.h <<\_ACEOF
44808 #define wxUSE_CMDLINE_PARSER 1
44809 _ACEOF
44810
44811 fi
44812
44813 if test "$wxUSE_STOPWATCH" = "yes"; then
44814 cat >>confdefs.h <<\_ACEOF
44815 #define wxUSE_STOPWATCH 1
44816 _ACEOF
44817
44818 fi
44819
44820 if test "$wxUSE_DATETIME" = "yes"; then
44821 cat >>confdefs.h <<\_ACEOF
44822 #define wxUSE_DATETIME 1
44823 _ACEOF
44824
44825 fi
44826
44827 if test "$wxUSE_FILE" = "yes"; then
44828 cat >>confdefs.h <<\_ACEOF
44829 #define wxUSE_FILE 1
44830 _ACEOF
44831
44832 fi
44833
44834 if test "$wxUSE_FFILE" = "yes"; then
44835 cat >>confdefs.h <<\_ACEOF
44836 #define wxUSE_FFILE 1
44837 _ACEOF
44838
44839 fi
44840
44841 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44842 if test "$wxUSE_STREAMS" != yes; then
44843 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44844 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44845 wxUSE_ARCHIVE_STREAMS=no
44846 else
44847 cat >>confdefs.h <<\_ACEOF
44848 #define wxUSE_ARCHIVE_STREAMS 1
44849 _ACEOF
44850
44851 fi
44852 fi
44853
44854 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44855 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44856 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44857 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44858 elif test "$wxUSE_ZLIB" = "no"; then
44859 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44860 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44861 else
44862 cat >>confdefs.h <<\_ACEOF
44863 #define wxUSE_ZIPSTREAM 1
44864 _ACEOF
44865
44866 fi
44867 fi
44868
44869 if test "$wxUSE_TARSTREAM" = "yes"; then
44870 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44871 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44872 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44873 else
44874 cat >>confdefs.h <<\_ACEOF
44875 #define wxUSE_TARSTREAM 1
44876 _ACEOF
44877
44878 fi
44879 fi
44880
44881 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44882 cat >>confdefs.h <<\_ACEOF
44883 #define wxUSE_FILE_HISTORY 1
44884 _ACEOF
44885
44886 fi
44887
44888 if test "$wxUSE_FILESYSTEM" = "yes"; then
44889 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44890 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44891 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44892 wxUSE_FILESYSTEM=no
44893 else
44894 cat >>confdefs.h <<\_ACEOF
44895 #define wxUSE_FILESYSTEM 1
44896 _ACEOF
44897
44898 fi
44899 fi
44900
44901 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44902 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44903 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44904 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44905 else
44906 cat >>confdefs.h <<\_ACEOF
44907 #define wxUSE_FS_ARCHIVE 1
44908 _ACEOF
44909
44910 fi
44911 fi
44912
44913 if test "$wxUSE_FS_ZIP" = "yes"; then
44914 if test "$wxUSE_FS_ARCHIVE" != yes; then
44915 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44916 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44917 else
44918 cat >>confdefs.h <<\_ACEOF
44919 #define wxUSE_FS_ZIP 1
44920 _ACEOF
44921
44922 fi
44923 fi
44924
44925 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44926 if test "$USE_UNIX" != 1; then
44927 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44928 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44929 wxUSE_ON_FATAL_EXCEPTION=no
44930 else
44931 cat >>confdefs.h <<\_ACEOF
44932 #define wxUSE_ON_FATAL_EXCEPTION 1
44933 _ACEOF
44934
44935 fi
44936 fi
44937
44938 if test "$wxUSE_STACKWALKER" = "yes"; then
44939 cat >>confdefs.h <<\_ACEOF
44940 #define wxUSE_STACKWALKER 1
44941 _ACEOF
44942
44943 fi
44944
44945 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44946 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44947 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44948 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44949 wxUSE_DEBUGREPORT=no
44950 else
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_DEBUGREPORT 1
44953 _ACEOF
44954
44955 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44957 fi
44958 fi
44959 fi
44960
44961 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44962 cat >>confdefs.h <<\_ACEOF
44963 #define wxUSE_SNGLINST_CHECKER 1
44964 _ACEOF
44965
44966 fi
44967
44968 if test "$wxUSE_BUSYINFO" = "yes"; then
44969 cat >>confdefs.h <<\_ACEOF
44970 #define wxUSE_BUSYINFO 1
44971 _ACEOF
44972
44973 fi
44974
44975 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
44976 cat >>confdefs.h <<\_ACEOF
44977 #define wxUSE_STD_CONTAINERS 1
44978 _ACEOF
44979
44980 fi
44981
44982 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44983 cat >>confdefs.h <<\_ACEOF
44984 #define wxUSE_STD_IOSTREAM 1
44985 _ACEOF
44986
44987 fi
44988
44989 if test "$wxUSE_STD_STRING" = "yes"; then
44990 cat >>confdefs.h <<\_ACEOF
44991 #define wxUSE_STD_STRING 1
44992 _ACEOF
44993
44994 fi
44995
44996 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
44997 cat >>confdefs.h <<\_ACEOF
44998 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
44999 _ACEOF
45000
45001 fi
45002
45003 if test "$wxUSE_STDPATHS" = "yes"; then
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_STDPATHS 1
45006 _ACEOF
45007
45008 fi
45009
45010 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45011 cat >>confdefs.h <<\_ACEOF
45012 #define wxUSE_TEXTBUFFER 1
45013 _ACEOF
45014
45015 fi
45016
45017 if test "$wxUSE_TEXTFILE" = "yes"; then
45018 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45019 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45020 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45021 else
45022 cat >>confdefs.h <<\_ACEOF
45023 #define wxUSE_TEXTFILE 1
45024 _ACEOF
45025
45026 fi
45027 fi
45028
45029 if test "$wxUSE_CONFIG" = "yes" ; then
45030 if test "$wxUSE_TEXTFILE" != "yes"; then
45031 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45032 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45033 else
45034 cat >>confdefs.h <<\_ACEOF
45035 #define wxUSE_CONFIG 1
45036 _ACEOF
45037
45038 cat >>confdefs.h <<\_ACEOF
45039 #define wxUSE_CONFIG_NATIVE 1
45040 _ACEOF
45041
45042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45043 fi
45044 fi
45045
45046 if test "$wxUSE_INTL" = "yes" ; then
45047 if test "$wxUSE_FILE" != "yes"; then
45048 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45049 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45050 else
45051 cat >>confdefs.h <<\_ACEOF
45052 #define wxUSE_INTL 1
45053 _ACEOF
45054
45055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45056 GUIDIST="$GUIDIST INTL_DIST"
45057 fi
45058 fi
45059
45060 if test "$wxUSE_XLOCALE" = "yes" ; then
45061 cat >>confdefs.h <<\_ACEOF
45062 #define wxUSE_XLOCALE 1
45063 _ACEOF
45064
45065 { echo "$as_me:$LINENO: checking for locale_t" >&5
45066 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45067 if test "${ac_cv_type_locale_t+set}" = set; then
45068 echo $ECHO_N "(cached) $ECHO_C" >&6
45069 else
45070 cat >conftest.$ac_ext <<_ACEOF
45071 /* confdefs.h. */
45072 _ACEOF
45073 cat confdefs.h >>conftest.$ac_ext
45074 cat >>conftest.$ac_ext <<_ACEOF
45075 /* end confdefs.h. */
45076 #include <xlocale.h>
45077 #include <locale.h>
45078
45079 typedef locale_t ac__type_new_;
45080 int
45081 main ()
45082 {
45083 if ((ac__type_new_ *) 0)
45084 return 0;
45085 if (sizeof (ac__type_new_))
45086 return 0;
45087 ;
45088 return 0;
45089 }
45090 _ACEOF
45091 rm -f conftest.$ac_objext
45092 if { (ac_try="$ac_compile"
45093 case "(($ac_try" in
45094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45095 *) ac_try_echo=$ac_try;;
45096 esac
45097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45098 (eval "$ac_compile") 2>conftest.er1
45099 ac_status=$?
45100 grep -v '^ *+' conftest.er1 >conftest.err
45101 rm -f conftest.er1
45102 cat conftest.err >&5
45103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45104 (exit $ac_status); } && {
45105 test -z "$ac_c_werror_flag" ||
45106 test ! -s conftest.err
45107 } && test -s conftest.$ac_objext; then
45108 ac_cv_type_locale_t=yes
45109 else
45110 echo "$as_me: failed program was:" >&5
45111 sed 's/^/| /' conftest.$ac_ext >&5
45112
45113 ac_cv_type_locale_t=no
45114 fi
45115
45116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45117 fi
45118 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45119 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45120 if test $ac_cv_type_locale_t = yes; then
45121
45122 cat >>confdefs.h <<_ACEOF
45123 #define HAVE_LOCALE_T 1
45124 _ACEOF
45125
45126
45127 fi
45128
45129 fi
45130
45131 if test "$wxUSE_LOG" = "yes"; then
45132 cat >>confdefs.h <<\_ACEOF
45133 #define wxUSE_LOG 1
45134 _ACEOF
45135
45136
45137 if test "$wxUSE_LOGGUI" = "yes"; then
45138 cat >>confdefs.h <<\_ACEOF
45139 #define wxUSE_LOGGUI 1
45140 _ACEOF
45141
45142 fi
45143
45144 if test "$wxUSE_LOGWINDOW" = "yes"; then
45145 cat >>confdefs.h <<\_ACEOF
45146 #define wxUSE_LOGWINDOW 1
45147 _ACEOF
45148
45149 fi
45150
45151 if test "$wxUSE_LOGDIALOG" = "yes"; then
45152 cat >>confdefs.h <<\_ACEOF
45153 #define wxUSE_LOG_DIALOG 1
45154 _ACEOF
45155
45156 fi
45157
45158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45159 fi
45160
45161 if test "$wxUSE_LONGLONG" = "yes"; then
45162 cat >>confdefs.h <<\_ACEOF
45163 #define wxUSE_LONGLONG 1
45164 _ACEOF
45165
45166 fi
45167
45168 if test "$wxUSE_GEOMETRY" = "yes"; then
45169 cat >>confdefs.h <<\_ACEOF
45170 #define wxUSE_GEOMETRY 1
45171 _ACEOF
45172
45173 fi
45174
45175 if test "$wxUSE_BASE64" = "yes"; then
45176 cat >>confdefs.h <<\_ACEOF
45177 #define wxUSE_BASE64 1
45178 _ACEOF
45179
45180 fi
45181
45182 if test "$wxUSE_STREAMS" = "yes" ; then
45183 cat >>confdefs.h <<\_ACEOF
45184 #define wxUSE_STREAMS 1
45185 _ACEOF
45186
45187 fi
45188
45189 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45190 cat >>confdefs.h <<\_ACEOF
45191 #define wxUSE_PRINTF_POS_PARAMS 1
45192 _ACEOF
45193
45194 fi
45195
45196 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45197 cat >>confdefs.h <<\_ACEOF
45198 #define wxUSE_OBJC_UNIQUIFYING 1
45199 _ACEOF
45200
45201 fi
45202
45203
45204 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45205 cat >>confdefs.h <<\_ACEOF
45206 #define wxUSE_CONSOLE_EVENTLOOP 1
45207 _ACEOF
45208
45209
45210 if test "$wxUSE_UNIX" = "yes"; then
45211 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45212 cat >>confdefs.h <<\_ACEOF
45213 #define wxUSE_SELECT_DISPATCHER 1
45214 _ACEOF
45215
45216 fi
45217
45218 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45219
45220 for ac_header in sys/epoll.h
45221 do
45222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45226 echo $ECHO_N "(cached) $ECHO_C" >&6
45227 else
45228 cat >conftest.$ac_ext <<_ACEOF
45229 /* confdefs.h. */
45230 _ACEOF
45231 cat confdefs.h >>conftest.$ac_ext
45232 cat >>conftest.$ac_ext <<_ACEOF
45233 /* end confdefs.h. */
45234 $ac_includes_default
45235
45236 #include <$ac_header>
45237 _ACEOF
45238 rm -f conftest.$ac_objext
45239 if { (ac_try="$ac_compile"
45240 case "(($ac_try" in
45241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45242 *) ac_try_echo=$ac_try;;
45243 esac
45244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45245 (eval "$ac_compile") 2>conftest.er1
45246 ac_status=$?
45247 grep -v '^ *+' conftest.er1 >conftest.err
45248 rm -f conftest.er1
45249 cat conftest.err >&5
45250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45251 (exit $ac_status); } && {
45252 test -z "$ac_c_werror_flag" ||
45253 test ! -s conftest.err
45254 } && test -s conftest.$ac_objext; then
45255 eval "$as_ac_Header=yes"
45256 else
45257 echo "$as_me: failed program was:" >&5
45258 sed 's/^/| /' conftest.$ac_ext >&5
45259
45260 eval "$as_ac_Header=no"
45261 fi
45262
45263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45264 fi
45265 ac_res=`eval echo '${'$as_ac_Header'}'`
45266 { echo "$as_me:$LINENO: result: $ac_res" >&5
45267 echo "${ECHO_T}$ac_res" >&6; }
45268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45269 cat >>confdefs.h <<_ACEOF
45270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45271 _ACEOF
45272
45273 fi
45274
45275 done
45276
45277 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45278 cat >>confdefs.h <<\_ACEOF
45279 #define wxUSE_EPOLL_DISPATCHER 1
45280 _ACEOF
45281
45282 else
45283 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45284 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45285 fi
45286 fi
45287 fi
45288 fi
45289
45290
45291
45292
45293 for ac_func in gettimeofday ftime
45294 do
45295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45296 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45298 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45299 echo $ECHO_N "(cached) $ECHO_C" >&6
45300 else
45301 cat >conftest.$ac_ext <<_ACEOF
45302 /* confdefs.h. */
45303 _ACEOF
45304 cat confdefs.h >>conftest.$ac_ext
45305 cat >>conftest.$ac_ext <<_ACEOF
45306 /* end confdefs.h. */
45307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45309 #define $ac_func innocuous_$ac_func
45310
45311 /* System header to define __stub macros and hopefully few prototypes,
45312 which can conflict with char $ac_func (); below.
45313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45314 <limits.h> exists even on freestanding compilers. */
45315
45316 #ifdef __STDC__
45317 # include <limits.h>
45318 #else
45319 # include <assert.h>
45320 #endif
45321
45322 #undef $ac_func
45323
45324 /* Override any GCC internal prototype to avoid an error.
45325 Use char because int might match the return type of a GCC
45326 builtin and then its argument prototype would still apply. */
45327 #ifdef __cplusplus
45328 extern "C"
45329 #endif
45330 char $ac_func ();
45331 /* The GNU C library defines this for functions which it implements
45332 to always fail with ENOSYS. Some functions are actually named
45333 something starting with __ and the normal name is an alias. */
45334 #if defined __stub_$ac_func || defined __stub___$ac_func
45335 choke me
45336 #endif
45337
45338 int
45339 main ()
45340 {
45341 return $ac_func ();
45342 ;
45343 return 0;
45344 }
45345 _ACEOF
45346 rm -f conftest.$ac_objext conftest$ac_exeext
45347 if { (ac_try="$ac_link"
45348 case "(($ac_try" in
45349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45350 *) ac_try_echo=$ac_try;;
45351 esac
45352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45353 (eval "$ac_link") 2>conftest.er1
45354 ac_status=$?
45355 grep -v '^ *+' conftest.er1 >conftest.err
45356 rm -f conftest.er1
45357 cat conftest.err >&5
45358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45359 (exit $ac_status); } && {
45360 test -z "$ac_c_werror_flag" ||
45361 test ! -s conftest.err
45362 } && test -s conftest$ac_exeext &&
45363 $as_test_x conftest$ac_exeext; then
45364 eval "$as_ac_var=yes"
45365 else
45366 echo "$as_me: failed program was:" >&5
45367 sed 's/^/| /' conftest.$ac_ext >&5
45368
45369 eval "$as_ac_var=no"
45370 fi
45371
45372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45373 conftest$ac_exeext conftest.$ac_ext
45374 fi
45375 ac_res=`eval echo '${'$as_ac_var'}'`
45376 { echo "$as_me:$LINENO: result: $ac_res" >&5
45377 echo "${ECHO_T}$ac_res" >&6; }
45378 if test `eval echo '${'$as_ac_var'}'` = yes; then
45379 cat >>confdefs.h <<_ACEOF
45380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45381 _ACEOF
45382 break
45383 fi
45384 done
45385
45386
45387 if test "$ac_cv_func_gettimeofday" = "yes"; then
45388 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45389 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45390 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45391 echo $ECHO_N "(cached) $ECHO_C" >&6
45392 else
45393
45394 cat >conftest.$ac_ext <<_ACEOF
45395 /* confdefs.h. */
45396 _ACEOF
45397 cat confdefs.h >>conftest.$ac_ext
45398 cat >>conftest.$ac_ext <<_ACEOF
45399 /* end confdefs.h. */
45400
45401 #include <sys/time.h>
45402 #include <unistd.h>
45403
45404 int
45405 main ()
45406 {
45407
45408 struct timeval tv;
45409 gettimeofday(&tv, NULL);
45410
45411 ;
45412 return 0;
45413 }
45414 _ACEOF
45415 rm -f conftest.$ac_objext
45416 if { (ac_try="$ac_compile"
45417 case "(($ac_try" in
45418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45419 *) ac_try_echo=$ac_try;;
45420 esac
45421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45422 (eval "$ac_compile") 2>conftest.er1
45423 ac_status=$?
45424 grep -v '^ *+' conftest.er1 >conftest.err
45425 rm -f conftest.er1
45426 cat conftest.err >&5
45427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45428 (exit $ac_status); } && {
45429 test -z "$ac_c_werror_flag" ||
45430 test ! -s conftest.err
45431 } && test -s conftest.$ac_objext; then
45432 wx_cv_func_gettimeofday_has_2_args=yes
45433 else
45434 echo "$as_me: failed program was:" >&5
45435 sed 's/^/| /' conftest.$ac_ext >&5
45436
45437 cat >conftest.$ac_ext <<_ACEOF
45438 /* confdefs.h. */
45439 _ACEOF
45440 cat confdefs.h >>conftest.$ac_ext
45441 cat >>conftest.$ac_ext <<_ACEOF
45442 /* end confdefs.h. */
45443
45444 #include <sys/time.h>
45445 #include <unistd.h>
45446
45447 int
45448 main ()
45449 {
45450
45451 struct timeval tv;
45452 gettimeofday(&tv);
45453
45454 ;
45455 return 0;
45456 }
45457 _ACEOF
45458 rm -f conftest.$ac_objext
45459 if { (ac_try="$ac_compile"
45460 case "(($ac_try" in
45461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45462 *) ac_try_echo=$ac_try;;
45463 esac
45464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45465 (eval "$ac_compile") 2>conftest.er1
45466 ac_status=$?
45467 grep -v '^ *+' conftest.er1 >conftest.err
45468 rm -f conftest.er1
45469 cat conftest.err >&5
45470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45471 (exit $ac_status); } && {
45472 test -z "$ac_c_werror_flag" ||
45473 test ! -s conftest.err
45474 } && test -s conftest.$ac_objext; then
45475 wx_cv_func_gettimeofday_has_2_args=no
45476 else
45477 echo "$as_me: failed program was:" >&5
45478 sed 's/^/| /' conftest.$ac_ext >&5
45479
45480
45481 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45482 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45483 wx_cv_func_gettimeofday_has_2_args=unknown
45484
45485
45486 fi
45487
45488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45489
45490 fi
45491
45492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45493
45494 fi
45495 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45496 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45497
45498 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45499 cat >>confdefs.h <<\_ACEOF
45500 #define WX_GETTIMEOFDAY_NO_TZ 1
45501 _ACEOF
45502
45503 fi
45504 fi
45505
45506 if test "$wxUSE_DATETIME" = "yes"; then
45507 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45508 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45509 if test "${wx_cv_var_timezone+set}" = set; then
45510 echo $ECHO_N "(cached) $ECHO_C" >&6
45511 else
45512
45513 ac_ext=cpp
45514 ac_cpp='$CXXCPP $CPPFLAGS'
45515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45518
45519 cat >conftest.$ac_ext <<_ACEOF
45520 /* confdefs.h. */
45521 _ACEOF
45522 cat confdefs.h >>conftest.$ac_ext
45523 cat >>conftest.$ac_ext <<_ACEOF
45524 /* end confdefs.h. */
45525
45526 #include <time.h>
45527
45528 int
45529 main ()
45530 {
45531
45532 int tz;
45533 tz = timezone;
45534
45535 ;
45536 return 0;
45537 }
45538 _ACEOF
45539 rm -f conftest.$ac_objext
45540 if { (ac_try="$ac_compile"
45541 case "(($ac_try" in
45542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45543 *) ac_try_echo=$ac_try;;
45544 esac
45545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45546 (eval "$ac_compile") 2>conftest.er1
45547 ac_status=$?
45548 grep -v '^ *+' conftest.er1 >conftest.err
45549 rm -f conftest.er1
45550 cat conftest.err >&5
45551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45552 (exit $ac_status); } && {
45553 test -z "$ac_cxx_werror_flag" ||
45554 test ! -s conftest.err
45555 } && test -s conftest.$ac_objext; then
45556
45557 wx_cv_var_timezone=timezone
45558
45559 else
45560 echo "$as_me: failed program was:" >&5
45561 sed 's/^/| /' conftest.$ac_ext >&5
45562
45563
45564 cat >conftest.$ac_ext <<_ACEOF
45565 /* confdefs.h. */
45566 _ACEOF
45567 cat confdefs.h >>conftest.$ac_ext
45568 cat >>conftest.$ac_ext <<_ACEOF
45569 /* end confdefs.h. */
45570
45571 #include <time.h>
45572
45573 int
45574 main ()
45575 {
45576
45577 int tz;
45578 tz = _timezone;
45579
45580 ;
45581 return 0;
45582 }
45583 _ACEOF
45584 rm -f conftest.$ac_objext
45585 if { (ac_try="$ac_compile"
45586 case "(($ac_try" in
45587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45588 *) ac_try_echo=$ac_try;;
45589 esac
45590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45591 (eval "$ac_compile") 2>conftest.er1
45592 ac_status=$?
45593 grep -v '^ *+' conftest.er1 >conftest.err
45594 rm -f conftest.er1
45595 cat conftest.err >&5
45596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45597 (exit $ac_status); } && {
45598 test -z "$ac_cxx_werror_flag" ||
45599 test ! -s conftest.err
45600 } && test -s conftest.$ac_objext; then
45601
45602 wx_cv_var_timezone=_timezone
45603
45604 else
45605 echo "$as_me: failed program was:" >&5
45606 sed 's/^/| /' conftest.$ac_ext >&5
45607
45608
45609 cat >conftest.$ac_ext <<_ACEOF
45610 /* confdefs.h. */
45611 _ACEOF
45612 cat confdefs.h >>conftest.$ac_ext
45613 cat >>conftest.$ac_ext <<_ACEOF
45614 /* end confdefs.h. */
45615
45616 #include <time.h>
45617
45618 int
45619 main ()
45620 {
45621
45622 int tz;
45623 tz = __timezone;
45624
45625 ;
45626 return 0;
45627 }
45628 _ACEOF
45629 rm -f conftest.$ac_objext
45630 if { (ac_try="$ac_compile"
45631 case "(($ac_try" in
45632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45633 *) ac_try_echo=$ac_try;;
45634 esac
45635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45636 (eval "$ac_compile") 2>conftest.er1
45637 ac_status=$?
45638 grep -v '^ *+' conftest.er1 >conftest.err
45639 rm -f conftest.er1
45640 cat conftest.err >&5
45641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45642 (exit $ac_status); } && {
45643 test -z "$ac_cxx_werror_flag" ||
45644 test ! -s conftest.err
45645 } && test -s conftest.$ac_objext; then
45646
45647 wx_cv_var_timezone=__timezone
45648
45649 else
45650 echo "$as_me: failed program was:" >&5
45651 sed 's/^/| /' conftest.$ac_ext >&5
45652
45653
45654 if test "$USE_DOS" = 0 ; then
45655 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45656 echo "$as_me: WARNING: no timezone variable" >&2;}
45657 fi
45658
45659
45660 fi
45661
45662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45663
45664
45665 fi
45666
45667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45668
45669
45670 fi
45671
45672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45673 ac_ext=c
45674 ac_cpp='$CPP $CPPFLAGS'
45675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45678
45679
45680
45681 fi
45682 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45683 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45684
45685 if test "x$wx_cv_var_timezone" != x ; then
45686 cat >>confdefs.h <<_ACEOF
45687 #define WX_TIMEZONE $wx_cv_var_timezone
45688 _ACEOF
45689
45690 fi
45691
45692
45693 for ac_func in localtime
45694 do
45695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45696 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45698 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45699 echo $ECHO_N "(cached) $ECHO_C" >&6
45700 else
45701 cat >conftest.$ac_ext <<_ACEOF
45702 /* confdefs.h. */
45703 _ACEOF
45704 cat confdefs.h >>conftest.$ac_ext
45705 cat >>conftest.$ac_ext <<_ACEOF
45706 /* end confdefs.h. */
45707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45709 #define $ac_func innocuous_$ac_func
45710
45711 /* System header to define __stub macros and hopefully few prototypes,
45712 which can conflict with char $ac_func (); below.
45713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45714 <limits.h> exists even on freestanding compilers. */
45715
45716 #ifdef __STDC__
45717 # include <limits.h>
45718 #else
45719 # include <assert.h>
45720 #endif
45721
45722 #undef $ac_func
45723
45724 /* Override any GCC internal prototype to avoid an error.
45725 Use char because int might match the return type of a GCC
45726 builtin and then its argument prototype would still apply. */
45727 #ifdef __cplusplus
45728 extern "C"
45729 #endif
45730 char $ac_func ();
45731 /* The GNU C library defines this for functions which it implements
45732 to always fail with ENOSYS. Some functions are actually named
45733 something starting with __ and the normal name is an alias. */
45734 #if defined __stub_$ac_func || defined __stub___$ac_func
45735 choke me
45736 #endif
45737
45738 int
45739 main ()
45740 {
45741 return $ac_func ();
45742 ;
45743 return 0;
45744 }
45745 _ACEOF
45746 rm -f conftest.$ac_objext conftest$ac_exeext
45747 if { (ac_try="$ac_link"
45748 case "(($ac_try" in
45749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45750 *) ac_try_echo=$ac_try;;
45751 esac
45752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45753 (eval "$ac_link") 2>conftest.er1
45754 ac_status=$?
45755 grep -v '^ *+' conftest.er1 >conftest.err
45756 rm -f conftest.er1
45757 cat conftest.err >&5
45758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45759 (exit $ac_status); } && {
45760 test -z "$ac_c_werror_flag" ||
45761 test ! -s conftest.err
45762 } && test -s conftest$ac_exeext &&
45763 $as_test_x conftest$ac_exeext; then
45764 eval "$as_ac_var=yes"
45765 else
45766 echo "$as_me: failed program was:" >&5
45767 sed 's/^/| /' conftest.$ac_ext >&5
45768
45769 eval "$as_ac_var=no"
45770 fi
45771
45772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45773 conftest$ac_exeext conftest.$ac_ext
45774 fi
45775 ac_res=`eval echo '${'$as_ac_var'}'`
45776 { echo "$as_me:$LINENO: result: $ac_res" >&5
45777 echo "${ECHO_T}$ac_res" >&6; }
45778 if test `eval echo '${'$as_ac_var'}'` = yes; then
45779 cat >>confdefs.h <<_ACEOF
45780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45781 _ACEOF
45782
45783 fi
45784 done
45785
45786
45787 if test "$ac_cv_func_localtime" = "yes"; then
45788 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45789 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45790 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45791 echo $ECHO_N "(cached) $ECHO_C" >&6
45792 else
45793
45794 cat >conftest.$ac_ext <<_ACEOF
45795 /* confdefs.h. */
45796 _ACEOF
45797 cat confdefs.h >>conftest.$ac_ext
45798 cat >>conftest.$ac_ext <<_ACEOF
45799 /* end confdefs.h. */
45800
45801 #include <time.h>
45802
45803 int
45804 main ()
45805 {
45806
45807 struct tm tm;
45808 tm.tm_gmtoff++;
45809
45810 ;
45811 return 0;
45812 }
45813 _ACEOF
45814 rm -f conftest.$ac_objext
45815 if { (ac_try="$ac_compile"
45816 case "(($ac_try" in
45817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45818 *) ac_try_echo=$ac_try;;
45819 esac
45820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45821 (eval "$ac_compile") 2>conftest.er1
45822 ac_status=$?
45823 grep -v '^ *+' conftest.er1 >conftest.err
45824 rm -f conftest.er1
45825 cat conftest.err >&5
45826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45827 (exit $ac_status); } && {
45828 test -z "$ac_c_werror_flag" ||
45829 test ! -s conftest.err
45830 } && test -s conftest.$ac_objext; then
45831
45832 wx_cv_struct_tm_has_gmtoff=yes
45833
45834 else
45835 echo "$as_me: failed program was:" >&5
45836 sed 's/^/| /' conftest.$ac_ext >&5
45837
45838 wx_cv_struct_tm_has_gmtoff=no
45839
45840 fi
45841
45842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45843
45844 fi
45845 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45846 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45847 fi
45848
45849 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45850 cat >>confdefs.h <<\_ACEOF
45851 #define WX_GMTOFF_IN_TM 1
45852 _ACEOF
45853
45854 fi
45855
45856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45857 fi
45858
45859
45860 if test "$wxUSE_SOCKETS" = "yes"; then
45861 if test "$wxUSE_MGL" = 1; then
45862 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45863 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45864 wxUSE_SOCKETS="no"
45865 fi
45866 fi
45867
45868 if test "$wxUSE_SOCKETS" = "yes"; then
45869 if test "$TOOLKIT" != "MSW"; then
45870 { echo "$as_me:$LINENO: checking for socket" >&5
45871 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45872 if test "${ac_cv_func_socket+set}" = set; then
45873 echo $ECHO_N "(cached) $ECHO_C" >&6
45874 else
45875 cat >conftest.$ac_ext <<_ACEOF
45876 /* confdefs.h. */
45877 _ACEOF
45878 cat confdefs.h >>conftest.$ac_ext
45879 cat >>conftest.$ac_ext <<_ACEOF
45880 /* end confdefs.h. */
45881 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45883 #define socket innocuous_socket
45884
45885 /* System header to define __stub macros and hopefully few prototypes,
45886 which can conflict with char socket (); below.
45887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45888 <limits.h> exists even on freestanding compilers. */
45889
45890 #ifdef __STDC__
45891 # include <limits.h>
45892 #else
45893 # include <assert.h>
45894 #endif
45895
45896 #undef socket
45897
45898 /* Override any GCC internal prototype to avoid an error.
45899 Use char because int might match the return type of a GCC
45900 builtin and then its argument prototype would still apply. */
45901 #ifdef __cplusplus
45902 extern "C"
45903 #endif
45904 char socket ();
45905 /* The GNU C library defines this for functions which it implements
45906 to always fail with ENOSYS. Some functions are actually named
45907 something starting with __ and the normal name is an alias. */
45908 #if defined __stub_socket || defined __stub___socket
45909 choke me
45910 #endif
45911
45912 int
45913 main ()
45914 {
45915 return socket ();
45916 ;
45917 return 0;
45918 }
45919 _ACEOF
45920 rm -f conftest.$ac_objext conftest$ac_exeext
45921 if { (ac_try="$ac_link"
45922 case "(($ac_try" in
45923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45924 *) ac_try_echo=$ac_try;;
45925 esac
45926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45927 (eval "$ac_link") 2>conftest.er1
45928 ac_status=$?
45929 grep -v '^ *+' conftest.er1 >conftest.err
45930 rm -f conftest.er1
45931 cat conftest.err >&5
45932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45933 (exit $ac_status); } && {
45934 test -z "$ac_c_werror_flag" ||
45935 test ! -s conftest.err
45936 } && test -s conftest$ac_exeext &&
45937 $as_test_x conftest$ac_exeext; then
45938 ac_cv_func_socket=yes
45939 else
45940 echo "$as_me: failed program was:" >&5
45941 sed 's/^/| /' conftest.$ac_ext >&5
45942
45943 ac_cv_func_socket=no
45944 fi
45945
45946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45947 conftest$ac_exeext conftest.$ac_ext
45948 fi
45949 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45950 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45951 if test $ac_cv_func_socket = yes; then
45952 :
45953 else
45954
45955 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45956 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45957 if test "${ac_cv_lib_socket_socket+set}" = set; then
45958 echo $ECHO_N "(cached) $ECHO_C" >&6
45959 else
45960 ac_check_lib_save_LIBS=$LIBS
45961 LIBS="-lsocket $LIBS"
45962 cat >conftest.$ac_ext <<_ACEOF
45963 /* confdefs.h. */
45964 _ACEOF
45965 cat confdefs.h >>conftest.$ac_ext
45966 cat >>conftest.$ac_ext <<_ACEOF
45967 /* end confdefs.h. */
45968
45969 /* Override any GCC internal prototype to avoid an error.
45970 Use char because int might match the return type of a GCC
45971 builtin and then its argument prototype would still apply. */
45972 #ifdef __cplusplus
45973 extern "C"
45974 #endif
45975 char socket ();
45976 int
45977 main ()
45978 {
45979 return socket ();
45980 ;
45981 return 0;
45982 }
45983 _ACEOF
45984 rm -f conftest.$ac_objext conftest$ac_exeext
45985 if { (ac_try="$ac_link"
45986 case "(($ac_try" in
45987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45988 *) ac_try_echo=$ac_try;;
45989 esac
45990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45991 (eval "$ac_link") 2>conftest.er1
45992 ac_status=$?
45993 grep -v '^ *+' conftest.er1 >conftest.err
45994 rm -f conftest.er1
45995 cat conftest.err >&5
45996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45997 (exit $ac_status); } && {
45998 test -z "$ac_c_werror_flag" ||
45999 test ! -s conftest.err
46000 } && test -s conftest$ac_exeext &&
46001 $as_test_x conftest$ac_exeext; then
46002 ac_cv_lib_socket_socket=yes
46003 else
46004 echo "$as_me: failed program was:" >&5
46005 sed 's/^/| /' conftest.$ac_ext >&5
46006
46007 ac_cv_lib_socket_socket=no
46008 fi
46009
46010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46011 conftest$ac_exeext conftest.$ac_ext
46012 LIBS=$ac_check_lib_save_LIBS
46013 fi
46014 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46015 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46016 if test $ac_cv_lib_socket_socket = yes; then
46017 if test "$INET_LINK" != " -lsocket"; then
46018 INET_LINK="$INET_LINK -lsocket"
46019 fi
46020 else
46021
46022 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46023 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46024 wxUSE_SOCKETS=no
46025
46026
46027 fi
46028
46029
46030
46031 fi
46032
46033 fi
46034 fi
46035
46036 if test "$wxUSE_SOCKETS" = "yes" ; then
46037 if test "$TOOLKIT" != "MSW"; then
46038 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46039 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46040 if test "${wx_cv_type_getsockname3+set}" = set; then
46041 echo $ECHO_N "(cached) $ECHO_C" >&6
46042 else
46043
46044 ac_ext=cpp
46045 ac_cpp='$CXXCPP $CPPFLAGS'
46046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46049
46050 cat >conftest.$ac_ext <<_ACEOF
46051 /* confdefs.h. */
46052 _ACEOF
46053 cat confdefs.h >>conftest.$ac_ext
46054 cat >>conftest.$ac_ext <<_ACEOF
46055 /* end confdefs.h. */
46056
46057 #include <sys/types.h>
46058 #include <sys/socket.h>
46059
46060 int
46061 main ()
46062 {
46063
46064 socklen_t len;
46065 getsockname(0, 0, &len);
46066
46067 ;
46068 return 0;
46069 }
46070 _ACEOF
46071 rm -f conftest.$ac_objext
46072 if { (ac_try="$ac_compile"
46073 case "(($ac_try" in
46074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46075 *) ac_try_echo=$ac_try;;
46076 esac
46077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46078 (eval "$ac_compile") 2>conftest.er1
46079 ac_status=$?
46080 grep -v '^ *+' conftest.er1 >conftest.err
46081 rm -f conftest.er1
46082 cat conftest.err >&5
46083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46084 (exit $ac_status); } && {
46085 test -z "$ac_cxx_werror_flag" ||
46086 test ! -s conftest.err
46087 } && test -s conftest.$ac_objext; then
46088 wx_cv_type_getsockname3=socklen_t
46089 else
46090 echo "$as_me: failed program was:" >&5
46091 sed 's/^/| /' conftest.$ac_ext >&5
46092
46093
46094 CFLAGS_OLD="$CFLAGS"
46095 if test "$GCC" = yes ; then
46096 CFLAGS="-Werror $CFLAGS"
46097 fi
46098
46099 cat >conftest.$ac_ext <<_ACEOF
46100 /* confdefs.h. */
46101 _ACEOF
46102 cat confdefs.h >>conftest.$ac_ext
46103 cat >>conftest.$ac_ext <<_ACEOF
46104 /* end confdefs.h. */
46105
46106 #include <sys/types.h>
46107 #include <sys/socket.h>
46108
46109 int
46110 main ()
46111 {
46112
46113 size_t len;
46114 getsockname(0, 0, &len);
46115
46116 ;
46117 return 0;
46118 }
46119 _ACEOF
46120 rm -f conftest.$ac_objext
46121 if { (ac_try="$ac_compile"
46122 case "(($ac_try" in
46123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46124 *) ac_try_echo=$ac_try;;
46125 esac
46126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46127 (eval "$ac_compile") 2>conftest.er1
46128 ac_status=$?
46129 grep -v '^ *+' conftest.er1 >conftest.err
46130 rm -f conftest.er1
46131 cat conftest.err >&5
46132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46133 (exit $ac_status); } && {
46134 test -z "$ac_cxx_werror_flag" ||
46135 test ! -s conftest.err
46136 } && test -s conftest.$ac_objext; then
46137 wx_cv_type_getsockname3=size_t
46138 else
46139 echo "$as_me: failed program was:" >&5
46140 sed 's/^/| /' conftest.$ac_ext >&5
46141
46142 cat >conftest.$ac_ext <<_ACEOF
46143 /* confdefs.h. */
46144 _ACEOF
46145 cat confdefs.h >>conftest.$ac_ext
46146 cat >>conftest.$ac_ext <<_ACEOF
46147 /* end confdefs.h. */
46148
46149 #include <sys/types.h>
46150 #include <sys/socket.h>
46151
46152 int
46153 main ()
46154 {
46155
46156 int len;
46157 getsockname(0, 0, &len);
46158
46159 ;
46160 return 0;
46161 }
46162 _ACEOF
46163 rm -f conftest.$ac_objext
46164 if { (ac_try="$ac_compile"
46165 case "(($ac_try" in
46166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46167 *) ac_try_echo=$ac_try;;
46168 esac
46169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46170 (eval "$ac_compile") 2>conftest.er1
46171 ac_status=$?
46172 grep -v '^ *+' conftest.er1 >conftest.err
46173 rm -f conftest.er1
46174 cat conftest.err >&5
46175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46176 (exit $ac_status); } && {
46177 test -z "$ac_cxx_werror_flag" ||
46178 test ! -s conftest.err
46179 } && test -s conftest.$ac_objext; then
46180 wx_cv_type_getsockname3=int
46181 else
46182 echo "$as_me: failed program was:" >&5
46183 sed 's/^/| /' conftest.$ac_ext >&5
46184
46185 wx_cv_type_getsockname3=unknown
46186
46187 fi
46188
46189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46190
46191 fi
46192
46193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46194
46195 CFLAGS="$CFLAGS_OLD"
46196
46197
46198 fi
46199
46200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46201 ac_ext=c
46202 ac_cpp='$CPP $CPPFLAGS'
46203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46206
46207
46208 fi
46209 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46210 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46211
46212 if test "$wx_cv_type_getsockname3" = "unknown"; then
46213 wxUSE_SOCKETS=no
46214 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46215 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46216 else
46217 cat >>confdefs.h <<_ACEOF
46218 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46219 _ACEOF
46220
46221 fi
46222 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46223 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46224 if test "${wx_cv_type_getsockopt5+set}" = set; then
46225 echo $ECHO_N "(cached) $ECHO_C" >&6
46226 else
46227
46228 ac_ext=cpp
46229 ac_cpp='$CXXCPP $CPPFLAGS'
46230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46233
46234 cat >conftest.$ac_ext <<_ACEOF
46235 /* confdefs.h. */
46236 _ACEOF
46237 cat confdefs.h >>conftest.$ac_ext
46238 cat >>conftest.$ac_ext <<_ACEOF
46239 /* end confdefs.h. */
46240
46241 #include <sys/types.h>
46242 #include <sys/socket.h>
46243
46244 int
46245 main ()
46246 {
46247
46248 socklen_t len;
46249 getsockopt(0, 0, 0, 0, &len);
46250
46251 ;
46252 return 0;
46253 }
46254 _ACEOF
46255 rm -f conftest.$ac_objext
46256 if { (ac_try="$ac_compile"
46257 case "(($ac_try" in
46258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46259 *) ac_try_echo=$ac_try;;
46260 esac
46261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46262 (eval "$ac_compile") 2>conftest.er1
46263 ac_status=$?
46264 grep -v '^ *+' conftest.er1 >conftest.err
46265 rm -f conftest.er1
46266 cat conftest.err >&5
46267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46268 (exit $ac_status); } && {
46269 test -z "$ac_cxx_werror_flag" ||
46270 test ! -s conftest.err
46271 } && test -s conftest.$ac_objext; then
46272 wx_cv_type_getsockopt5=socklen_t
46273 else
46274 echo "$as_me: failed program was:" >&5
46275 sed 's/^/| /' conftest.$ac_ext >&5
46276
46277
46278 cat >conftest.$ac_ext <<_ACEOF
46279 /* confdefs.h. */
46280 _ACEOF
46281 cat confdefs.h >>conftest.$ac_ext
46282 cat >>conftest.$ac_ext <<_ACEOF
46283 /* end confdefs.h. */
46284
46285 #include <sys/types.h>
46286 #include <sys/socket.h>
46287
46288 int
46289 main ()
46290 {
46291
46292 size_t len;
46293 getsockopt(0, 0, 0, 0, &len);
46294
46295 ;
46296 return 0;
46297 }
46298 _ACEOF
46299 rm -f conftest.$ac_objext
46300 if { (ac_try="$ac_compile"
46301 case "(($ac_try" in
46302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46303 *) ac_try_echo=$ac_try;;
46304 esac
46305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46306 (eval "$ac_compile") 2>conftest.er1
46307 ac_status=$?
46308 grep -v '^ *+' conftest.er1 >conftest.err
46309 rm -f conftest.er1
46310 cat conftest.err >&5
46311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46312 (exit $ac_status); } && {
46313 test -z "$ac_cxx_werror_flag" ||
46314 test ! -s conftest.err
46315 } && test -s conftest.$ac_objext; then
46316 wx_cv_type_getsockopt5=size_t
46317 else
46318 echo "$as_me: failed program was:" >&5
46319 sed 's/^/| /' conftest.$ac_ext >&5
46320
46321 cat >conftest.$ac_ext <<_ACEOF
46322 /* confdefs.h. */
46323 _ACEOF
46324 cat confdefs.h >>conftest.$ac_ext
46325 cat >>conftest.$ac_ext <<_ACEOF
46326 /* end confdefs.h. */
46327
46328 #include <sys/types.h>
46329 #include <sys/socket.h>
46330
46331 int
46332 main ()
46333 {
46334
46335 int len;
46336 getsockopt(0, 0, 0, 0, &len);
46337
46338 ;
46339 return 0;
46340 }
46341 _ACEOF
46342 rm -f conftest.$ac_objext
46343 if { (ac_try="$ac_compile"
46344 case "(($ac_try" in
46345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46346 *) ac_try_echo=$ac_try;;
46347 esac
46348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46349 (eval "$ac_compile") 2>conftest.er1
46350 ac_status=$?
46351 grep -v '^ *+' conftest.er1 >conftest.err
46352 rm -f conftest.er1
46353 cat conftest.err >&5
46354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46355 (exit $ac_status); } && {
46356 test -z "$ac_cxx_werror_flag" ||
46357 test ! -s conftest.err
46358 } && test -s conftest.$ac_objext; then
46359 wx_cv_type_getsockopt5=int
46360 else
46361 echo "$as_me: failed program was:" >&5
46362 sed 's/^/| /' conftest.$ac_ext >&5
46363
46364 wx_cv_type_getsockopt5=unknown
46365
46366 fi
46367
46368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46369
46370 fi
46371
46372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46373
46374
46375 fi
46376
46377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46378 ac_ext=c
46379 ac_cpp='$CPP $CPPFLAGS'
46380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46383
46384
46385 fi
46386 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46387 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46388
46389 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46390 wxUSE_SOCKETS=no
46391 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46392 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46393 else
46394 cat >>confdefs.h <<_ACEOF
46395 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46396 _ACEOF
46397
46398 fi
46399 fi
46400 fi
46401
46402 if test "$wxUSE_SOCKETS" = "yes" ; then
46403 if test "$wxUSE_IPV6" = "yes"; then
46404 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46405 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46406 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46407 echo $ECHO_N "(cached) $ECHO_C" >&6
46408 else
46409
46410 cat >conftest.$ac_ext <<_ACEOF
46411 /* confdefs.h. */
46412 _ACEOF
46413 cat confdefs.h >>conftest.$ac_ext
46414 cat >>conftest.$ac_ext <<_ACEOF
46415 /* end confdefs.h. */
46416
46417 #include <sys/types.h>
46418 #include <sys/socket.h>
46419 #include <netinet/in.h>
46420
46421 int
46422 main ()
46423 {
46424
46425 struct sockaddr_in6 sa6;
46426
46427 ;
46428 return 0;
46429 }
46430 _ACEOF
46431 rm -f conftest.$ac_objext
46432 if { (ac_try="$ac_compile"
46433 case "(($ac_try" in
46434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46435 *) ac_try_echo=$ac_try;;
46436 esac
46437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46438 (eval "$ac_compile") 2>conftest.er1
46439 ac_status=$?
46440 grep -v '^ *+' conftest.er1 >conftest.err
46441 rm -f conftest.er1
46442 cat conftest.err >&5
46443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46444 (exit $ac_status); } && {
46445 test -z "$ac_c_werror_flag" ||
46446 test ! -s conftest.err
46447 } && test -s conftest.$ac_objext; then
46448 wx_cv_type_sockaddr_in6=yes
46449 else
46450 echo "$as_me: failed program was:" >&5
46451 sed 's/^/| /' conftest.$ac_ext >&5
46452
46453 wx_cv_type_sockaddr_in6=no
46454
46455 fi
46456
46457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46458
46459
46460 fi
46461 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46462 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46463
46464 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46465 cat >>confdefs.h <<\_ACEOF
46466 #define wxUSE_IPV6 1
46467 _ACEOF
46468
46469 else
46470 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46471 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46472 fi
46473 fi
46474
46475 cat >>confdefs.h <<\_ACEOF
46476 #define wxUSE_SOCKETS 1
46477 _ACEOF
46478
46479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46480 fi
46481
46482 if test "$wxUSE_PROTOCOL" = "yes"; then
46483 if test "$wxUSE_SOCKETS" != "yes"; then
46484 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46485 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46486 wxUSE_PROTOCOL=no
46487 fi
46488 fi
46489
46490 if test "$wxUSE_PROTOCOL" = "yes"; then
46491 cat >>confdefs.h <<\_ACEOF
46492 #define wxUSE_PROTOCOL 1
46493 _ACEOF
46494
46495
46496 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46497 cat >>confdefs.h <<\_ACEOF
46498 #define wxUSE_PROTOCOL_HTTP 1
46499 _ACEOF
46500
46501 fi
46502 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46503 cat >>confdefs.h <<\_ACEOF
46504 #define wxUSE_PROTOCOL_FTP 1
46505 _ACEOF
46506
46507 fi
46508 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46509 cat >>confdefs.h <<\_ACEOF
46510 #define wxUSE_PROTOCOL_FILE 1
46511 _ACEOF
46512
46513 fi
46514 else
46515 if test "$wxUSE_FS_INET" = "yes"; then
46516 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46517 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46518 wxUSE_FS_INET="no"
46519 fi
46520 fi
46521
46522 if test "$wxUSE_URL" = "yes"; then
46523 if test "$wxUSE_PROTOCOL" != "yes"; then
46524 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46525 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46526 wxUSE_URL=no
46527 fi
46528 if test "$wxUSE_URL" = "yes"; then
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_URL 1
46531 _ACEOF
46532
46533 fi
46534 fi
46535
46536 if test "$wxUSE_VARIANT" = "yes"; then
46537 cat >>confdefs.h <<\_ACEOF
46538 #define wxUSE_VARIANT 1
46539 _ACEOF
46540
46541 fi
46542
46543 if test "$wxUSE_FS_INET" = "yes"; then
46544 cat >>confdefs.h <<\_ACEOF
46545 #define wxUSE_FS_INET 1
46546 _ACEOF
46547
46548 fi
46549
46550
46551 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46552 wxUSE_JOYSTICK=no
46553
46554 if test "$TOOLKIT" = "MSW"; then
46555 wxUSE_JOYSTICK=yes
46556
46557 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46558 if test "$USE_DARWIN" = 1; then
46559 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46560 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46561 ac_ext=cpp
46562 ac_cpp='$CXXCPP $CPPFLAGS'
46563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46566
46567 cat >conftest.$ac_ext <<_ACEOF
46568 /* confdefs.h. */
46569 _ACEOF
46570 cat confdefs.h >>conftest.$ac_ext
46571 cat >>conftest.$ac_ext <<_ACEOF
46572 /* end confdefs.h. */
46573 #include <IOKit/hid/IOHIDLib.h>
46574 int
46575 main ()
46576 {
46577 IOHIDQueueInterface *qi = NULL;
46578 IOHIDCallbackFunction cb = NULL;
46579 qi->setEventCallout(NULL, cb, NULL, NULL);
46580 ;
46581 return 0;
46582 }
46583 _ACEOF
46584 rm -f conftest.$ac_objext
46585 if { (ac_try="$ac_compile"
46586 case "(($ac_try" in
46587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46588 *) ac_try_echo=$ac_try;;
46589 esac
46590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46591 (eval "$ac_compile") 2>conftest.er1
46592 ac_status=$?
46593 grep -v '^ *+' conftest.er1 >conftest.err
46594 rm -f conftest.er1
46595 cat conftest.err >&5
46596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46597 (exit $ac_status); } && {
46598 test -z "$ac_cxx_werror_flag" ||
46599 test ! -s conftest.err
46600 } && test -s conftest.$ac_objext; then
46601 wxUSE_JOYSTICK=yes
46602
46603 else
46604 echo "$as_me: failed program was:" >&5
46605 sed 's/^/| /' conftest.$ac_ext >&5
46606
46607
46608 fi
46609
46610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46611 ac_ext=c
46612 ac_cpp='$CPP $CPPFLAGS'
46613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46616
46617 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46618 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46619 fi
46620
46621 else
46622 if test "$wxUSE_MGL" != 1; then
46623
46624 for ac_header in linux/joystick.h
46625 do
46626 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46630 echo $ECHO_N "(cached) $ECHO_C" >&6
46631 else
46632 cat >conftest.$ac_ext <<_ACEOF
46633 /* confdefs.h. */
46634 _ACEOF
46635 cat confdefs.h >>conftest.$ac_ext
46636 cat >>conftest.$ac_ext <<_ACEOF
46637 /* end confdefs.h. */
46638 $ac_includes_default
46639
46640 #include <$ac_header>
46641 _ACEOF
46642 rm -f conftest.$ac_objext
46643 if { (ac_try="$ac_compile"
46644 case "(($ac_try" in
46645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46646 *) ac_try_echo=$ac_try;;
46647 esac
46648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46649 (eval "$ac_compile") 2>conftest.er1
46650 ac_status=$?
46651 grep -v '^ *+' conftest.er1 >conftest.err
46652 rm -f conftest.er1
46653 cat conftest.err >&5
46654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46655 (exit $ac_status); } && {
46656 test -z "$ac_c_werror_flag" ||
46657 test ! -s conftest.err
46658 } && test -s conftest.$ac_objext; then
46659 eval "$as_ac_Header=yes"
46660 else
46661 echo "$as_me: failed program was:" >&5
46662 sed 's/^/| /' conftest.$ac_ext >&5
46663
46664 eval "$as_ac_Header=no"
46665 fi
46666
46667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46668 fi
46669 ac_res=`eval echo '${'$as_ac_Header'}'`
46670 { echo "$as_me:$LINENO: result: $ac_res" >&5
46671 echo "${ECHO_T}$ac_res" >&6; }
46672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46673 cat >>confdefs.h <<_ACEOF
46674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46675 _ACEOF
46676 wxUSE_JOYSTICK=yes
46677 fi
46678
46679 done
46680
46681 fi
46682 fi
46683
46684 if test "$wxUSE_JOYSTICK" = "yes"; then
46685 cat >>confdefs.h <<\_ACEOF
46686 #define wxUSE_JOYSTICK 1
46687 _ACEOF
46688
46689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46690 else
46691 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46692 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46693 fi
46694 fi
46695
46696
46697
46698 if test "$wxUSE_FONTENUM" = "yes" ; then
46699 cat >>confdefs.h <<\_ACEOF
46700 #define wxUSE_FONTENUM 1
46701 _ACEOF
46702
46703 fi
46704
46705 if test "$wxUSE_FONTMAP" = "yes" ; then
46706 cat >>confdefs.h <<\_ACEOF
46707 #define wxUSE_FONTMAP 1
46708 _ACEOF
46709
46710 fi
46711
46712 if test "$wxUSE_UNICODE" = "yes" ; then
46713 cat >>confdefs.h <<\_ACEOF
46714 #define wxUSE_UNICODE 1
46715 _ACEOF
46716
46717
46718 if test "$USE_WIN32" != 1; then
46719 wxUSE_UNICODE_MSLU=no
46720 fi
46721
46722 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46723 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46724 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46725 if test "${ac_cv_lib_unicows_main+set}" = set; then
46726 echo $ECHO_N "(cached) $ECHO_C" >&6
46727 else
46728 ac_check_lib_save_LIBS=$LIBS
46729 LIBS="-lunicows $LIBS"
46730 cat >conftest.$ac_ext <<_ACEOF
46731 /* confdefs.h. */
46732 _ACEOF
46733 cat confdefs.h >>conftest.$ac_ext
46734 cat >>conftest.$ac_ext <<_ACEOF
46735 /* end confdefs.h. */
46736
46737
46738 int
46739 main ()
46740 {
46741 return main ();
46742 ;
46743 return 0;
46744 }
46745 _ACEOF
46746 rm -f conftest.$ac_objext conftest$ac_exeext
46747 if { (ac_try="$ac_link"
46748 case "(($ac_try" in
46749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46750 *) ac_try_echo=$ac_try;;
46751 esac
46752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46753 (eval "$ac_link") 2>conftest.er1
46754 ac_status=$?
46755 grep -v '^ *+' conftest.er1 >conftest.err
46756 rm -f conftest.er1
46757 cat conftest.err >&5
46758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46759 (exit $ac_status); } && {
46760 test -z "$ac_c_werror_flag" ||
46761 test ! -s conftest.err
46762 } && test -s conftest$ac_exeext &&
46763 $as_test_x conftest$ac_exeext; then
46764 ac_cv_lib_unicows_main=yes
46765 else
46766 echo "$as_me: failed program was:" >&5
46767 sed 's/^/| /' conftest.$ac_ext >&5
46768
46769 ac_cv_lib_unicows_main=no
46770 fi
46771
46772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46773 conftest$ac_exeext conftest.$ac_ext
46774 LIBS=$ac_check_lib_save_LIBS
46775 fi
46776 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46777 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46778 if test $ac_cv_lib_unicows_main = yes; then
46779
46780 cat >>confdefs.h <<\_ACEOF
46781 #define wxUSE_UNICODE_MSLU 1
46782 _ACEOF
46783
46784
46785 else
46786
46787 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46788 Applications will only run on Windows NT/2000/XP!" >&5
46789 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46790 Applications will only run on Windows NT/2000/XP!" >&2;}
46791 wxUSE_UNICODE_MSLU=no
46792
46793 fi
46794
46795 fi
46796 fi
46797
46798 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46799 cat >>confdefs.h <<\_ACEOF
46800 #define wxUSE_UNICODE_UTF8 1
46801 _ACEOF
46802
46803
46804 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46805 cat >>confdefs.h <<\_ACEOF
46806 #define wxUSE_UTF8_LOCALE_ONLY 1
46807 _ACEOF
46808
46809 fi
46810 fi
46811
46812
46813 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46814 cat >>confdefs.h <<\_ACEOF
46815 #define wxUSE_CONSTRAINTS 1
46816 _ACEOF
46817
46818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46819 fi
46820
46821 if test "$wxUSE_MDI" = "yes"; then
46822 cat >>confdefs.h <<\_ACEOF
46823 #define wxUSE_MDI 1
46824 _ACEOF
46825
46826
46827 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46828 cat >>confdefs.h <<\_ACEOF
46829 #define wxUSE_MDI_ARCHITECTURE 1
46830 _ACEOF
46831
46832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46833 fi
46834 fi
46835
46836 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46837 cat >>confdefs.h <<\_ACEOF
46838 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46839 _ACEOF
46840
46841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46842 fi
46843
46844 if test "$wxUSE_HELP" = "yes"; then
46845 cat >>confdefs.h <<\_ACEOF
46846 #define wxUSE_HELP 1
46847 _ACEOF
46848
46849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46850
46851 if test "$wxUSE_MSW" = 1; then
46852 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46853 cat >>confdefs.h <<\_ACEOF
46854 #define wxUSE_MS_HTML_HELP 1
46855 _ACEOF
46856
46857 fi
46858 fi
46859
46860 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46861 if test "$wxUSE_HTML" = "yes"; then
46862 cat >>confdefs.h <<\_ACEOF
46863 #define wxUSE_WXHTML_HELP 1
46864 _ACEOF
46865
46866 else
46867 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46868 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46869 wxUSE_WXHTML_HELP=no
46870 fi
46871 fi
46872 fi
46873
46874 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46875 cat >>confdefs.h <<\_ACEOF
46876 #define wxUSE_PRINTING_ARCHITECTURE 1
46877 _ACEOF
46878
46879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46880 fi
46881
46882 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46883 cat >>confdefs.h <<\_ACEOF
46884 #define wxUSE_POSTSCRIPT 1
46885 _ACEOF
46886
46887 fi
46888
46889 cat >>confdefs.h <<\_ACEOF
46890 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46891 _ACEOF
46892
46893
46894 if test "$wxUSE_SVG" = "yes"; then
46895 cat >>confdefs.h <<\_ACEOF
46896 #define wxUSE_SVG 1
46897 _ACEOF
46898
46899 fi
46900
46901
46902 if test "$wxUSE_METAFILE" = "yes"; then
46903 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46904 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46905 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46906 wxUSE_METAFILE=no
46907 fi
46908 fi
46909
46910
46911 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46912 -o "$wxUSE_CLIPBOARD" = "yes" \
46913 -o "$wxUSE_OLE" = "yes" \
46914 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46915 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46916 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46917 if test "${ac_cv_header_ole2_h+set}" = set; then
46918 echo $ECHO_N "(cached) $ECHO_C" >&6
46919 else
46920 cat >conftest.$ac_ext <<_ACEOF
46921 /* confdefs.h. */
46922 _ACEOF
46923 cat confdefs.h >>conftest.$ac_ext
46924 cat >>conftest.$ac_ext <<_ACEOF
46925 /* end confdefs.h. */
46926
46927
46928 #include <ole2.h>
46929 _ACEOF
46930 rm -f conftest.$ac_objext
46931 if { (ac_try="$ac_compile"
46932 case "(($ac_try" in
46933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46934 *) ac_try_echo=$ac_try;;
46935 esac
46936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46937 (eval "$ac_compile") 2>conftest.er1
46938 ac_status=$?
46939 grep -v '^ *+' conftest.er1 >conftest.err
46940 rm -f conftest.er1
46941 cat conftest.err >&5
46942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46943 (exit $ac_status); } && {
46944 test -z "$ac_c_werror_flag" ||
46945 test ! -s conftest.err
46946 } && test -s conftest.$ac_objext; then
46947 ac_cv_header_ole2_h=yes
46948 else
46949 echo "$as_me: failed program was:" >&5
46950 sed 's/^/| /' conftest.$ac_ext >&5
46951
46952 ac_cv_header_ole2_h=no
46953 fi
46954
46955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46956 fi
46957 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46958 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46959
46960
46961
46962 if test "$ac_cv_header_ole2_h" = "yes" ; then
46963 if test "$GCC" = yes ; then
46964 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46965 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46966 cat >conftest.$ac_ext <<_ACEOF
46967 /* confdefs.h. */
46968 _ACEOF
46969 cat confdefs.h >>conftest.$ac_ext
46970 cat >>conftest.$ac_ext <<_ACEOF
46971 /* end confdefs.h. */
46972 #include <windows.h>
46973 #include <ole2.h>
46974 int
46975 main ()
46976 {
46977
46978 ;
46979 return 0;
46980 }
46981 _ACEOF
46982 rm -f conftest.$ac_objext
46983 if { (ac_try="$ac_compile"
46984 case "(($ac_try" in
46985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46986 *) ac_try_echo=$ac_try;;
46987 esac
46988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46989 (eval "$ac_compile") 2>conftest.er1
46990 ac_status=$?
46991 grep -v '^ *+' conftest.er1 >conftest.err
46992 rm -f conftest.er1
46993 cat conftest.err >&5
46994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46995 (exit $ac_status); } && {
46996 test -z "$ac_c_werror_flag" ||
46997 test ! -s conftest.err
46998 } && test -s conftest.$ac_objext; then
46999 { echo "$as_me:$LINENO: result: no" >&5
47000 echo "${ECHO_T}no" >&6; }
47001 else
47002 echo "$as_me: failed program was:" >&5
47003 sed 's/^/| /' conftest.$ac_ext >&5
47004
47005 { echo "$as_me:$LINENO: result: yes" >&5
47006 echo "${ECHO_T}yes" >&6; }
47007 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47008 fi
47009
47010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47011 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47012 if test "$wxUSE_OLE" = "yes" ; then
47013 cat >>confdefs.h <<\_ACEOF
47014 #define wxUSE_OLE 1
47015 _ACEOF
47016
47017 cat >>confdefs.h <<\_ACEOF
47018 #define wxUSE_OLE_AUTOMATION 1
47019 _ACEOF
47020
47021 cat >>confdefs.h <<\_ACEOF
47022 #define wxUSE_ACTIVEX 1
47023 _ACEOF
47024
47025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47026 fi
47027 fi
47028
47029 if test "$wxUSE_DATAOBJ" = "yes" ; then
47030 cat >>confdefs.h <<\_ACEOF
47031 #define wxUSE_DATAOBJ 1
47032 _ACEOF
47033
47034 fi
47035 else
47036 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47037 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47038
47039 wxUSE_CLIPBOARD=no
47040 wxUSE_DRAG_AND_DROP=no
47041 wxUSE_DATAOBJ=no
47042 wxUSE_OLE=no
47043 fi
47044
47045 if test "$wxUSE_METAFILE" = "yes"; then
47046 cat >>confdefs.h <<\_ACEOF
47047 #define wxUSE_METAFILE 1
47048 _ACEOF
47049
47050
47051 cat >>confdefs.h <<\_ACEOF
47052 #define wxUSE_ENH_METAFILE 1
47053 _ACEOF
47054
47055 fi
47056 fi
47057
47058 if test "$wxUSE_IPC" = "yes"; then
47059 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47060 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47061 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47062 wxUSE_IPC=no
47063 fi
47064
47065 if test "$wxUSE_IPC" = "yes"; then
47066 cat >>confdefs.h <<\_ACEOF
47067 #define wxUSE_IPC 1
47068 _ACEOF
47069
47070 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47071 fi
47072 fi
47073
47074 if test "$wxUSE_DATAOBJ" = "yes"; then
47075 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47076 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47077 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47078 wxUSE_DATAOBJ=no
47079 else
47080 cat >>confdefs.h <<\_ACEOF
47081 #define wxUSE_DATAOBJ 1
47082 _ACEOF
47083
47084 fi
47085 else
47086 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47087 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47088 wxUSE_CLIPBOARD=no
47089 wxUSE_DRAG_AND_DROP=no
47090 fi
47091
47092 if test "$wxUSE_CLIPBOARD" = "yes"; then
47093 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47094 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47095 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47096 wxUSE_CLIPBOARD=no
47097 fi
47098
47099 if test "$wxUSE_CLIPBOARD" = "yes"; then
47100 cat >>confdefs.h <<\_ACEOF
47101 #define wxUSE_CLIPBOARD 1
47102 _ACEOF
47103
47104 fi
47105 fi
47106
47107 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47108 if test "$wxUSE_GTK" = 1; then
47109 if test "$WXGTK12" != 1; then
47110 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47111 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47112 wxUSE_DRAG_AND_DROP=no
47113 fi
47114 fi
47115
47116 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47117 "$wxUSE_DFB" = 1; then
47118 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47119 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47120 wxUSE_DRAG_AND_DROP=no
47121 fi
47122
47123 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47124 cat >>confdefs.h <<\_ACEOF
47125 #define wxUSE_DRAG_AND_DROP 1
47126 _ACEOF
47127
47128 fi
47129
47130 fi
47131
47132 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47134 fi
47135
47136 if test "$wxUSE_CLIPBOARD" = "yes"; then
47137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47138 fi
47139
47140 if test "$wxUSE_SPLINES" = "yes" ; then
47141 cat >>confdefs.h <<\_ACEOF
47142 #define wxUSE_SPLINES 1
47143 _ACEOF
47144
47145 fi
47146
47147 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47148 cat >>confdefs.h <<\_ACEOF
47149 #define wxUSE_MOUSEWHEEL 1
47150 _ACEOF
47151
47152 fi
47153
47154 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47155 cat >>confdefs.h <<\_ACEOF
47156 #define wxUSE_UIACTIONSIMULATOR 1
47157 _ACEOF
47158
47159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47160 fi
47161
47162
47163 USES_CONTROLS=0
47164 if test "$wxUSE_CONTROLS" = "yes"; then
47165 USES_CONTROLS=1
47166 fi
47167
47168 if test "$wxUSE_MARKUP" = "yes"; then
47169 cat >>confdefs.h <<\_ACEOF
47170 #define wxUSE_MARKUP 1
47171 _ACEOF
47172
47173 fi
47174
47175 if test "$wxUSE_ACCEL" = "yes"; then
47176 cat >>confdefs.h <<\_ACEOF
47177 #define wxUSE_ACCEL 1
47178 _ACEOF
47179
47180 USES_CONTROLS=1
47181 fi
47182
47183 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47184 cat >>confdefs.h <<\_ACEOF
47185 #define wxUSE_ANIMATIONCTRL 1
47186 _ACEOF
47187
47188 USES_CONTROLS=1
47189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47190 fi
47191
47192 if test "$wxUSE_BUTTON" = "yes"; then
47193 cat >>confdefs.h <<\_ACEOF
47194 #define wxUSE_BUTTON 1
47195 _ACEOF
47196
47197 USES_CONTROLS=1
47198 fi
47199
47200 if test "$wxUSE_BMPBUTTON" = "yes"; then
47201 cat >>confdefs.h <<\_ACEOF
47202 #define wxUSE_BMPBUTTON 1
47203 _ACEOF
47204
47205 USES_CONTROLS=1
47206 fi
47207
47208 if test "$wxUSE_CALCTRL" = "yes"; then
47209 cat >>confdefs.h <<\_ACEOF
47210 #define wxUSE_CALENDARCTRL 1
47211 _ACEOF
47212
47213 USES_CONTROLS=1
47214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47215 fi
47216
47217 if test "$wxUSE_CARET" = "yes"; then
47218 cat >>confdefs.h <<\_ACEOF
47219 #define wxUSE_CARET 1
47220 _ACEOF
47221
47222 USES_CONTROLS=1
47223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47224 fi
47225
47226 if test "$wxUSE_COLLPANE" = "yes"; then
47227 cat >>confdefs.h <<\_ACEOF
47228 #define wxUSE_COLLPANE 1
47229 _ACEOF
47230
47231 USES_CONTROLS=1
47232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47233 fi
47234
47235 if test "$wxUSE_COMBOBOX" = "yes"; then
47236 cat >>confdefs.h <<\_ACEOF
47237 #define wxUSE_COMBOBOX 1
47238 _ACEOF
47239
47240 USES_CONTROLS=1
47241 fi
47242
47243 if test "$wxUSE_COMBOCTRL" = "yes"; then
47244 cat >>confdefs.h <<\_ACEOF
47245 #define wxUSE_COMBOCTRL 1
47246 _ACEOF
47247
47248 USES_CONTROLS=1
47249 fi
47250
47251 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47252 cat >>confdefs.h <<\_ACEOF
47253 #define wxUSE_COMMANDLINKBUTTON 1
47254 _ACEOF
47255
47256 USES_CONTROLS=1
47257 fi
47258
47259 if test "$wxUSE_CHOICE" = "yes"; then
47260 cat >>confdefs.h <<\_ACEOF
47261 #define wxUSE_CHOICE 1
47262 _ACEOF
47263
47264 USES_CONTROLS=1
47265 fi
47266
47267 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47268 cat >>confdefs.h <<\_ACEOF
47269 #define wxUSE_CHOICEBOOK 1
47270 _ACEOF
47271
47272 USES_CONTROLS=1
47273 fi
47274
47275 if test "$wxUSE_CHECKBOX" = "yes"; then
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_CHECKBOX 1
47278 _ACEOF
47279
47280 USES_CONTROLS=1
47281 fi
47282
47283 if test "$wxUSE_CHECKLST" = "yes"; then
47284 cat >>confdefs.h <<\_ACEOF
47285 #define wxUSE_CHECKLISTBOX 1
47286 _ACEOF
47287
47288 USES_CONTROLS=1
47289 fi
47290
47291 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47292 cat >>confdefs.h <<\_ACEOF
47293 #define wxUSE_COLOURPICKERCTRL 1
47294 _ACEOF
47295
47296 USES_CONTROLS=1
47297 fi
47298
47299 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47300 cat >>confdefs.h <<\_ACEOF
47301 #define wxUSE_DATEPICKCTRL 1
47302 _ACEOF
47303
47304 USES_CONTROLS=1
47305 fi
47306
47307 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47308 cat >>confdefs.h <<\_ACEOF
47309 #define wxUSE_DIRPICKERCTRL 1
47310 _ACEOF
47311
47312 USES_CONTROLS=1
47313 fi
47314
47315 if test "$wxUSE_FILECTRL" = "yes"; then
47316 cat >>confdefs.h <<\_ACEOF
47317 #define wxUSE_FILECTRL 1
47318 _ACEOF
47319
47320 USES_CONTROLS=1
47321 fi
47322
47323 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47324 cat >>confdefs.h <<\_ACEOF
47325 #define wxUSE_FILEPICKERCTRL 1
47326 _ACEOF
47327
47328 USES_CONTROLS=1
47329 fi
47330
47331 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_FONTPICKERCTRL 1
47334 _ACEOF
47335
47336 USES_CONTROLS=1
47337 fi
47338
47339 if test "$wxUSE_DISPLAY" = "yes"; then
47340 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47341 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47342 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47343 wxUSE_DISPLAY=no
47344 else
47345 cat >>confdefs.h <<\_ACEOF
47346 #define wxUSE_DISPLAY 1
47347 _ACEOF
47348
47349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47350 fi
47351 fi
47352
47353 if test "$wxUSE_DETECT_SM" = "yes"; then
47354 cat >>confdefs.h <<\_ACEOF
47355 #define wxUSE_DETECT_SM 1
47356 _ACEOF
47357
47358 fi
47359
47360 if test "$wxUSE_GAUGE" = "yes"; then
47361 cat >>confdefs.h <<\_ACEOF
47362 #define wxUSE_GAUGE 1
47363 _ACEOF
47364
47365 USES_CONTROLS=1
47366 fi
47367
47368 if test "$wxUSE_GRID" = "yes"; then
47369 cat >>confdefs.h <<\_ACEOF
47370 #define wxUSE_GRID 1
47371 _ACEOF
47372
47373 USES_CONTROLS=1
47374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47375 fi
47376
47377 if test "$wxUSE_HEADERCTRL" = "yes"; then
47378 cat >>confdefs.h <<\_ACEOF
47379 #define wxUSE_HEADERCTRL 1
47380 _ACEOF
47381
47382 USES_CONTROLS=1
47383 fi
47384
47385 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47386 cat >>confdefs.h <<\_ACEOF
47387 #define wxUSE_HYPERLINKCTRL 1
47388 _ACEOF
47389
47390 USES_CONTROLS=1
47391 fi
47392
47393 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47394 cat >>confdefs.h <<\_ACEOF
47395 #define wxUSE_BITMAPCOMBOBOX 1
47396 _ACEOF
47397
47398 USES_CONTROLS=1
47399 fi
47400
47401 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47402 cat >>confdefs.h <<\_ACEOF
47403 #define wxUSE_DATAVIEWCTRL 1
47404 _ACEOF
47405
47406 USES_CONTROLS=1
47407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47408 fi
47409
47410 if test "$wxUSE_IMAGLIST" = "yes"; then
47411 cat >>confdefs.h <<\_ACEOF
47412 #define wxUSE_IMAGLIST 1
47413 _ACEOF
47414
47415 fi
47416
47417 if test "$wxUSE_INFOBAR" = "yes"; then
47418 cat >>confdefs.h <<\_ACEOF
47419 #define wxUSE_INFOBAR 1
47420 _ACEOF
47421
47422 fi
47423
47424 if test "$wxUSE_LISTBOOK" = "yes"; then
47425 cat >>confdefs.h <<\_ACEOF
47426 #define wxUSE_LISTBOOK 1
47427 _ACEOF
47428
47429 USES_CONTROLS=1
47430 fi
47431
47432 if test "$wxUSE_LISTBOX" = "yes"; then
47433 cat >>confdefs.h <<\_ACEOF
47434 #define wxUSE_LISTBOX 1
47435 _ACEOF
47436
47437 USES_CONTROLS=1
47438 fi
47439
47440 if test "$wxUSE_LISTCTRL" = "yes"; then
47441 if test "$wxUSE_IMAGLIST" = "yes"; then
47442 cat >>confdefs.h <<\_ACEOF
47443 #define wxUSE_LISTCTRL 1
47444 _ACEOF
47445
47446 USES_CONTROLS=1
47447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47448 else
47449 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47450 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47451 fi
47452 fi
47453
47454 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47455 cat >>confdefs.h <<\_ACEOF
47456 #define wxUSE_EDITABLELISTBOX 1
47457 _ACEOF
47458
47459 USES_CONTROLS=1
47460 fi
47461
47462 if test "$wxUSE_NOTEBOOK" = "yes"; then
47463 cat >>confdefs.h <<\_ACEOF
47464 #define wxUSE_NOTEBOOK 1
47465 _ACEOF
47466
47467 USES_CONTROLS=1
47468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47469 fi
47470
47471 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47472 cat >>confdefs.h <<\_ACEOF
47473 #define wxUSE_NOTIFICATION_MESSAGE 1
47474 _ACEOF
47475
47476 fi
47477
47478 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47479 cat >>confdefs.h <<\_ACEOF
47480 #define wxUSE_ODCOMBOBOX 1
47481 _ACEOF
47482
47483 USES_CONTROLS=1
47484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47485 fi
47486
47487 if test "$wxUSE_RADIOBOX" = "yes"; then
47488 cat >>confdefs.h <<\_ACEOF
47489 #define wxUSE_RADIOBOX 1
47490 _ACEOF
47491
47492 USES_CONTROLS=1
47493 fi
47494
47495 if test "$wxUSE_RADIOBTN" = "yes"; then
47496 cat >>confdefs.h <<\_ACEOF
47497 #define wxUSE_RADIOBTN 1
47498 _ACEOF
47499
47500 USES_CONTROLS=1
47501 fi
47502
47503 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47504 cat >>confdefs.h <<\_ACEOF
47505 #define wxUSE_REARRANGECTRL 1
47506 _ACEOF
47507
47508 fi
47509
47510 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47511 cat >>confdefs.h <<\_ACEOF
47512 #define wxUSE_RICHMSGDLG 1
47513 _ACEOF
47514
47515 fi
47516
47517 if test "$wxUSE_SASH" = "yes"; then
47518 cat >>confdefs.h <<\_ACEOF
47519 #define wxUSE_SASH 1
47520 _ACEOF
47521
47522 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47523 fi
47524
47525 if test "$wxUSE_SCROLLBAR" = "yes"; then
47526 cat >>confdefs.h <<\_ACEOF
47527 #define wxUSE_SCROLLBAR 1
47528 _ACEOF
47529
47530 USES_CONTROLS=1
47531 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47532 fi
47533
47534 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47535 cat >>confdefs.h <<\_ACEOF
47536 #define wxUSE_SEARCHCTRL 1
47537 _ACEOF
47538
47539 USES_CONTROLS=1
47540 fi
47541
47542 if test "$wxUSE_SLIDER" = "yes"; then
47543 cat >>confdefs.h <<\_ACEOF
47544 #define wxUSE_SLIDER 1
47545 _ACEOF
47546
47547 USES_CONTROLS=1
47548 fi
47549
47550 if test "$wxUSE_SPINBTN" = "yes"; then
47551 cat >>confdefs.h <<\_ACEOF
47552 #define wxUSE_SPINBTN 1
47553 _ACEOF
47554
47555 USES_CONTROLS=1
47556 fi
47557
47558 if test "$wxUSE_SPINCTRL" = "yes"; then
47559 cat >>confdefs.h <<\_ACEOF
47560 #define wxUSE_SPINCTRL 1
47561 _ACEOF
47562
47563 USES_CONTROLS=1
47564 fi
47565
47566 if test "$wxUSE_SPLITTER" = "yes"; then
47567 cat >>confdefs.h <<\_ACEOF
47568 #define wxUSE_SPLITTER 1
47569 _ACEOF
47570
47571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47572 fi
47573
47574 if test "$wxUSE_STATBMP" = "yes"; then
47575 cat >>confdefs.h <<\_ACEOF
47576 #define wxUSE_STATBMP 1
47577 _ACEOF
47578
47579 USES_CONTROLS=1
47580 fi
47581
47582 if test "$wxUSE_STATBOX" = "yes"; then
47583 cat >>confdefs.h <<\_ACEOF
47584 #define wxUSE_STATBOX 1
47585 _ACEOF
47586
47587 USES_CONTROLS=1
47588 fi
47589
47590 if test "$wxUSE_STATTEXT" = "yes"; then
47591 cat >>confdefs.h <<\_ACEOF
47592 #define wxUSE_STATTEXT 1
47593 _ACEOF
47594
47595 USES_CONTROLS=1
47596 fi
47597
47598 if test "$wxUSE_STATLINE" = "yes"; then
47599 cat >>confdefs.h <<\_ACEOF
47600 #define wxUSE_STATLINE 1
47601 _ACEOF
47602
47603 USES_CONTROLS=1
47604 fi
47605
47606 if test "$wxUSE_STATUSBAR" = "yes"; then
47607 cat >>confdefs.h <<\_ACEOF
47608 #define wxUSE_NATIVE_STATUSBAR 1
47609 _ACEOF
47610
47611 cat >>confdefs.h <<\_ACEOF
47612 #define wxUSE_STATUSBAR 1
47613 _ACEOF
47614
47615 USES_CONTROLS=1
47616
47617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47618 fi
47619
47620 if test "$wxUSE_TEXTCTRL" = "yes"; then
47621 cat >>confdefs.h <<\_ACEOF
47622 #define wxUSE_TEXTCTRL 1
47623 _ACEOF
47624
47625 USES_CONTROLS=1
47626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47627
47628 cat >>confdefs.h <<\_ACEOF
47629 #define wxUSE_RICHEDIT 1
47630 _ACEOF
47631
47632 cat >>confdefs.h <<\_ACEOF
47633 #define wxUSE_RICHEDIT2 1
47634 _ACEOF
47635
47636 fi
47637
47638 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47639 if test "$wxUSE_OLD_COCOA" = 1 ; then
47640 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47641 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47642 wxUSE_TOGGLEBTN=no
47643 fi
47644
47645 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47646 cat >>confdefs.h <<\_ACEOF
47647 #define wxUSE_TOGGLEBTN 1
47648 _ACEOF
47649
47650 USES_CONTROLS=1
47651 fi
47652 fi
47653
47654 if test "$wxUSE_TOOLBAR" = "yes"; then
47655 cat >>confdefs.h <<\_ACEOF
47656 #define wxUSE_TOOLBAR 1
47657 _ACEOF
47658
47659 USES_CONTROLS=1
47660
47661 if test "$wxUSE_UNIVERSAL" = "yes"; then
47662 wxUSE_TOOLBAR_NATIVE="no"
47663 else
47664 wxUSE_TOOLBAR_NATIVE="yes"
47665 cat >>confdefs.h <<\_ACEOF
47666 #define wxUSE_TOOLBAR_NATIVE 1
47667 _ACEOF
47668
47669 fi
47670
47671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47672 fi
47673
47674 if test "$wxUSE_TOOLTIPS" = "yes"; then
47675 if test "$wxUSE_MOTIF" = 1; then
47676 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47677 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47678 else
47679 if test "$wxUSE_UNIVERSAL" = "yes"; then
47680 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47681 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47682 else
47683 cat >>confdefs.h <<\_ACEOF
47684 #define wxUSE_TOOLTIPS 1
47685 _ACEOF
47686
47687 fi
47688 fi
47689 fi
47690
47691 if test "$wxUSE_TREEBOOK" = "yes"; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_TREEBOOK 1
47694 _ACEOF
47695
47696 USES_CONTROLS=1
47697 fi
47698
47699 if test "$wxUSE_TOOLBOOK" = "yes"; then
47700 cat >>confdefs.h <<\_ACEOF
47701 #define wxUSE_TOOLBOOK 1
47702 _ACEOF
47703
47704 USES_CONTROLS=1
47705 fi
47706
47707 if test "$wxUSE_TREECTRL" = "yes"; then
47708 if test "$wxUSE_IMAGLIST" = "yes"; then
47709 cat >>confdefs.h <<\_ACEOF
47710 #define wxUSE_TREECTRL 1
47711 _ACEOF
47712
47713 USES_CONTROLS=1
47714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47715 else
47716 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47717 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47718 fi
47719 fi
47720
47721 if test "$wxUSE_POPUPWIN" = "yes"; then
47722 if test "$wxUSE_OLD_COCOA" = 1 ; then
47723 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47724 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47725 else
47726 if test "$wxUSE_PM" = 1; then
47727 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47728 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47729 else
47730 cat >>confdefs.h <<\_ACEOF
47731 #define wxUSE_POPUPWIN 1
47732 _ACEOF
47733
47734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47735
47736 USES_CONTROLS=1
47737 fi
47738 fi
47739 fi
47740
47741 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47742 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47743 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47744 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47745 else
47746 cat >>confdefs.h <<\_ACEOF
47747 #define wxUSE_DIALUP_MANAGER 1
47748 _ACEOF
47749
47750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47751 fi
47752 fi
47753
47754 if test "$wxUSE_TIPWINDOW" = "yes"; then
47755 if test "$wxUSE_PM" = 1; then
47756 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47757 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47758 else
47759 cat >>confdefs.h <<\_ACEOF
47760 #define wxUSE_TIPWINDOW 1
47761 _ACEOF
47762
47763 fi
47764 fi
47765
47766 if test "$USES_CONTROLS" = 1; then
47767 cat >>confdefs.h <<\_ACEOF
47768 #define wxUSE_CONTROLS 1
47769 _ACEOF
47770
47771 fi
47772
47773
47774 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_ACCESSIBILITY 1
47777 _ACEOF
47778
47779 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47780 fi
47781
47782 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47783 cat >>confdefs.h <<\_ACEOF
47784 #define wxUSE_ARTPROVIDER_STD 1
47785 _ACEOF
47786
47787 fi
47788
47789 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47790 if test "$wxUSE_GTK" != 1; then
47791 if test "$wxUSE_LIBPNG" != no -a \
47792 "$wxUSE_IMAGE" = yes -a \
47793 "$wxUSE_STREAMS" = yes; then
47794 wxUSE_ARTPROVIDER_TANGO="yes"
47795 fi
47796 fi
47797 fi
47798
47799 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47800 cat >>confdefs.h <<\_ACEOF
47801 #define wxUSE_ARTPROVIDER_TANGO 1
47802 _ACEOF
47803
47804 fi
47805
47806 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47807 cat >>confdefs.h <<\_ACEOF
47808 #define wxUSE_DRAGIMAGE 1
47809 _ACEOF
47810
47811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47812 fi
47813
47814 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47815 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47816 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47817 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47818 else
47819 cat >>confdefs.h <<\_ACEOF
47820 #define wxUSE_EXCEPTIONS 1
47821 _ACEOF
47822
47823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47824 fi
47825 fi
47826
47827 USE_HTML=0
47828 if test "$wxUSE_HTML" = "yes"; then
47829 cat >>confdefs.h <<\_ACEOF
47830 #define wxUSE_HTML 1
47831 _ACEOF
47832
47833 USE_HTML=1
47834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47835 fi
47836 if test "$wxUSE_WEBKIT" = "yes"; then
47837 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47838 old_CPPFLAGS="$CPPFLAGS"
47839 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47840 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47841 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47842 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47843 echo $ECHO_N "(cached) $ECHO_C" >&6
47844 else
47845 cat >conftest.$ac_ext <<_ACEOF
47846 /* confdefs.h. */
47847 _ACEOF
47848 cat confdefs.h >>conftest.$ac_ext
47849 cat >>conftest.$ac_ext <<_ACEOF
47850 /* end confdefs.h. */
47851
47852 #include <Carbon/Carbon.h>
47853 #include <WebKit/WebKit.h>
47854
47855
47856 #include <WebKit/HIWebView.h>
47857 _ACEOF
47858 rm -f conftest.$ac_objext
47859 if { (ac_try="$ac_compile"
47860 case "(($ac_try" in
47861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47862 *) ac_try_echo=$ac_try;;
47863 esac
47864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47865 (eval "$ac_compile") 2>conftest.er1
47866 ac_status=$?
47867 grep -v '^ *+' conftest.er1 >conftest.err
47868 rm -f conftest.er1
47869 cat conftest.err >&5
47870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47871 (exit $ac_status); } && {
47872 test -z "$ac_c_werror_flag" ||
47873 test ! -s conftest.err
47874 } && test -s conftest.$ac_objext; then
47875 ac_cv_header_WebKit_HIWebView_h=yes
47876 else
47877 echo "$as_me: failed program was:" >&5
47878 sed 's/^/| /' conftest.$ac_ext >&5
47879
47880 ac_cv_header_WebKit_HIWebView_h=no
47881 fi
47882
47883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47884 fi
47885 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47886 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47887 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47888
47889 cat >>confdefs.h <<\_ACEOF
47890 #define wxUSE_WEBKIT 1
47891 _ACEOF
47892
47893 WEBKIT_LINK="-framework WebKit"
47894
47895 else
47896
47897 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47898 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47899 wxUSE_WEBKIT=no
47900
47901 fi
47902
47903
47904 CPPFLAGS="$old_CPPFLAGS"
47905 elif test "$wxUSE_OLD_COCOA" = 1; then
47906 cat >>confdefs.h <<\_ACEOF
47907 #define wxUSE_WEBKIT 1
47908 _ACEOF
47909
47910 else
47911 wxUSE_WEBKIT=no
47912 fi
47913 if test "$wxUSE_WEBKIT" = "yes"; then
47914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47915 fi
47916 fi
47917
47918 USE_XRC=0
47919 if test "$wxUSE_XRC" = "yes"; then
47920 if test "$wxUSE_XML" != "yes"; then
47921 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47922 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47923 wxUSE_XRC=no
47924 else
47925 cat >>confdefs.h <<\_ACEOF
47926 #define wxUSE_XRC 1
47927 _ACEOF
47928
47929 USE_XRC=1
47930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47931 fi
47932 fi
47933
47934 USE_AUI=0
47935 if test "$wxUSE_AUI" = "yes"; then
47936 cat >>confdefs.h <<\_ACEOF
47937 #define wxUSE_AUI 1
47938 _ACEOF
47939
47940 USE_AUI=1
47941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47942 fi
47943
47944 USE_PROPGRID=0
47945 if test "$wxUSE_PROPGRID" = "yes"; then
47946 cat >>confdefs.h <<\_ACEOF
47947 #define wxUSE_PROPGRID 1
47948 _ACEOF
47949
47950 USE_PROPGRID=1
47951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47952 fi
47953
47954 USE_RIBBON=0
47955 if test "$wxUSE_RIBBON" = "yes"; then
47956 cat >>confdefs.h <<\_ACEOF
47957 #define wxUSE_RIBBON 1
47958 _ACEOF
47959
47960 USE_RIBBON=1
47961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47962 fi
47963
47964 USE_STC=0
47965 if test "$wxUSE_STC" = "yes"; then
47966 cat >>confdefs.h <<\_ACEOF
47967 #define wxUSE_STC 1
47968 _ACEOF
47969
47970 USE_STC=1
47971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47972
47973 # Extract the first word of "python", so it can be a program name with args.
47974 set dummy python; ac_word=$2
47975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47977 if test "${ac_cv_path_PYTHON+set}" = set; then
47978 echo $ECHO_N "(cached) $ECHO_C" >&6
47979 else
47980 case $PYTHON in
47981 [\\/]* | ?:[\\/]*)
47982 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47983 ;;
47984 *)
47985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47986 for as_dir in $PATH
47987 do
47988 IFS=$as_save_IFS
47989 test -z "$as_dir" && as_dir=.
47990 for ac_exec_ext in '' $ac_executable_extensions; do
47991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47992 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47994 break 2
47995 fi
47996 done
47997 done
47998 IFS=$as_save_IFS
47999
48000 ;;
48001 esac
48002 fi
48003 PYTHON=$ac_cv_path_PYTHON
48004 if test -n "$PYTHON"; then
48005 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48006 echo "${ECHO_T}$PYTHON" >&6; }
48007 else
48008 { echo "$as_me:$LINENO: result: no" >&5
48009 echo "${ECHO_T}no" >&6; }
48010 fi
48011
48012
48013 if test "x$PYTHON" = "x"; then
48014 COND_PYTHON="#"
48015 fi
48016
48017 fi
48018
48019 if test "$wxUSE_MENUS" = "yes"; then
48020 cat >>confdefs.h <<\_ACEOF
48021 #define wxUSE_MENUS 1
48022 _ACEOF
48023
48024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48025 fi
48026
48027 if test "$wxUSE_METAFILE" = "yes"; then
48028 cat >>confdefs.h <<\_ACEOF
48029 #define wxUSE_METAFILE 1
48030 _ACEOF
48031
48032 fi
48033
48034 if test "$wxUSE_MIMETYPE" = "yes"; then
48035 cat >>confdefs.h <<\_ACEOF
48036 #define wxUSE_MIMETYPE 1
48037 _ACEOF
48038
48039 fi
48040
48041 if test "$wxUSE_MINIFRAME" = "yes"; then
48042 cat >>confdefs.h <<\_ACEOF
48043 #define wxUSE_MINIFRAME 1
48044 _ACEOF
48045
48046 fi
48047
48048 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48049 cat >>confdefs.h <<\_ACEOF
48050 #define wxUSE_SYSTEM_OPTIONS 1
48051 _ACEOF
48052
48053 fi
48054
48055 if test "$wxUSE_TASKBARICON" = "yes"; then
48056 cat >>confdefs.h <<\_ACEOF
48057 #define wxUSE_TASKBARICON 1
48058 _ACEOF
48059
48060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48061 fi
48062
48063
48064 if test "$wxUSE_VALIDATORS" = "yes"; then
48065 cat >>confdefs.h <<\_ACEOF
48066 #define wxUSE_VALIDATORS 1
48067 _ACEOF
48068
48069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48070 fi
48071
48072 if test "$wxUSE_PALETTE" = "yes" ; then
48073 if test "$wxUSE_DFB" = 1; then
48074 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48075 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48076 wxUSE_PALETTE=no
48077 else
48078 cat >>confdefs.h <<\_ACEOF
48079 #define wxUSE_PALETTE 1
48080 _ACEOF
48081
48082 fi
48083 fi
48084
48085 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48086 LIBS=" -lunicows $LIBS"
48087 fi
48088
48089 USE_RICHTEXT=0
48090 if test "$wxUSE_RICHTEXT" = "yes"; then
48091 cat >>confdefs.h <<\_ACEOF
48092 #define wxUSE_RICHTEXT 1
48093 _ACEOF
48094
48095 USE_RICHTEXT=1
48096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48097 fi
48098
48099
48100 if test "$wxUSE_IMAGE" = "yes" ; then
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_IMAGE 1
48103 _ACEOF
48104
48105
48106 if test "$wxUSE_GIF" = "yes" ; then
48107 cat >>confdefs.h <<\_ACEOF
48108 #define wxUSE_GIF 1
48109 _ACEOF
48110
48111 fi
48112
48113 if test "$wxUSE_PCX" = "yes" ; then
48114 cat >>confdefs.h <<\_ACEOF
48115 #define wxUSE_PCX 1
48116 _ACEOF
48117
48118 fi
48119
48120 if test "$wxUSE_TGA" = "yes" ; then
48121 cat >>confdefs.h <<\_ACEOF
48122 #define wxUSE_TGA 1
48123 _ACEOF
48124
48125 fi
48126
48127 if test "$wxUSE_IFF" = "yes" ; then
48128 cat >>confdefs.h <<\_ACEOF
48129 #define wxUSE_IFF 1
48130 _ACEOF
48131
48132 fi
48133
48134 if test "$wxUSE_PNM" = "yes" ; then
48135 cat >>confdefs.h <<\_ACEOF
48136 #define wxUSE_PNM 1
48137 _ACEOF
48138
48139 fi
48140
48141 if test "$wxUSE_XPM" = "yes" ; then
48142 cat >>confdefs.h <<\_ACEOF
48143 #define wxUSE_XPM 1
48144 _ACEOF
48145
48146 fi
48147
48148 if test "$wxUSE_ICO_CUR" = "yes" ; then
48149 cat >>confdefs.h <<\_ACEOF
48150 #define wxUSE_ICO_CUR 1
48151 _ACEOF
48152
48153 fi
48154 fi
48155
48156
48157 if test "$wxUSE_ABOUTDLG" = "yes"; then
48158 cat >>confdefs.h <<\_ACEOF
48159 #define wxUSE_ABOUTDLG 1
48160 _ACEOF
48161
48162 fi
48163
48164 if test "$wxUSE_CHOICEDLG" = "yes"; then
48165 cat >>confdefs.h <<\_ACEOF
48166 #define wxUSE_CHOICEDLG 1
48167 _ACEOF
48168
48169 fi
48170
48171 if test "$wxUSE_COLOURDLG" = "yes"; then
48172 cat >>confdefs.h <<\_ACEOF
48173 #define wxUSE_COLOURDLG 1
48174 _ACEOF
48175
48176 fi
48177
48178 if test "$wxUSE_FILEDLG" = "yes"; then
48179 cat >>confdefs.h <<\_ACEOF
48180 #define wxUSE_FILEDLG 1
48181 _ACEOF
48182
48183 fi
48184
48185 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48186 cat >>confdefs.h <<\_ACEOF
48187 #define wxUSE_FINDREPLDLG 1
48188 _ACEOF
48189
48190 fi
48191
48192 if test "$wxUSE_FONTDLG" = "yes"; then
48193 cat >>confdefs.h <<\_ACEOF
48194 #define wxUSE_FONTDLG 1
48195 _ACEOF
48196
48197 fi
48198
48199 if test "$wxUSE_DIRDLG" = "yes"; then
48200 if test "$wxUSE_TREECTRL" != "yes"; then
48201 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48202 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48203 else
48204 cat >>confdefs.h <<\_ACEOF
48205 #define wxUSE_DIRDLG 1
48206 _ACEOF
48207
48208 fi
48209 fi
48210
48211 if test "$wxUSE_MSGDLG" = "yes"; then
48212 cat >>confdefs.h <<\_ACEOF
48213 #define wxUSE_MSGDLG 1
48214 _ACEOF
48215
48216 fi
48217
48218 if test "$wxUSE_NUMBERDLG" = "yes"; then
48219 cat >>confdefs.h <<\_ACEOF
48220 #define wxUSE_NUMBERDLG 1
48221 _ACEOF
48222
48223 fi
48224
48225 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48226 cat >>confdefs.h <<\_ACEOF
48227 #define wxUSE_PROGRESSDLG 1
48228 _ACEOF
48229
48230 fi
48231
48232 if test "$wxUSE_SPLASH" = "yes"; then
48233 cat >>confdefs.h <<\_ACEOF
48234 #define wxUSE_SPLASH 1
48235 _ACEOF
48236
48237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48238 fi
48239
48240 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48241 cat >>confdefs.h <<\_ACEOF
48242 #define wxUSE_STARTUP_TIPS 1
48243 _ACEOF
48244
48245 fi
48246
48247 if test "$wxUSE_TEXTDLG" = "yes"; then
48248 cat >>confdefs.h <<\_ACEOF
48249 #define wxUSE_TEXTDLG 1
48250 _ACEOF
48251
48252 fi
48253
48254 if test "$wxUSE_WIZARDDLG" = "yes"; then
48255 cat >>confdefs.h <<\_ACEOF
48256 #define wxUSE_WIZARDDLG 1
48257 _ACEOF
48258
48259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48260 fi
48261
48262
48263 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48264 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48265 cat >>confdefs.h <<\_ACEOF
48266 #define wxUSE_OWNER_DRAWN 1
48267 _ACEOF
48268
48269 fi
48270 fi
48271
48272
48273 if test "$wxUSE_MSW" = 1 ; then
48274
48275 if test "$wxUSE_DC_CACHEING" = "yes"; then
48276 cat >>confdefs.h <<\_ACEOF
48277 #define wxUSE_DC_CACHEING 1
48278 _ACEOF
48279
48280 fi
48281
48282 if test "$wxUSE_DIB" = "yes"; then
48283 cat >>confdefs.h <<\_ACEOF
48284 #define wxUSE_WXDIB 1
48285 _ACEOF
48286
48287 fi
48288
48289 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48290 cat >>confdefs.h <<\_ACEOF
48291 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48292 _ACEOF
48293
48294 fi
48295
48296 if test "$wxUSE_UXTHEME" = "yes"; then
48297 cat >>confdefs.h <<\_ACEOF
48298 #define wxUSE_UXTHEME 1
48299 _ACEOF
48300
48301 fi
48302
48303 fi
48304
48305 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48306 cat >>confdefs.h <<\_ACEOF
48307 #define wxUSE_AUTOID_MANAGEMENT 1
48308 _ACEOF
48309
48310 fi
48311
48312 if test "$USE_WIN32" = 1 ; then
48313 if test "$wxUSE_INICONF" = "yes"; then
48314 cat >>confdefs.h <<\_ACEOF
48315 #define wxUSE_INICONF 1
48316 _ACEOF
48317
48318 fi
48319
48320 if test "$wxUSE_REGKEY" = "yes"; then
48321 cat >>confdefs.h <<\_ACEOF
48322 #define wxUSE_REGKEY 1
48323 _ACEOF
48324
48325 fi
48326 fi
48327
48328
48329 if test "$wxUSE_MAC" = 1; then
48330 wxUSE_GRAPHICS_CONTEXT="yes"
48331 fi
48332
48333 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48334 wx_has_graphics=0
48335 if test "$wxUSE_MSW" = 1; then
48336 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48337 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48338 if test "${wx_cv_lib_gdiplus+set}" = set; then
48339 echo $ECHO_N "(cached) $ECHO_C" >&6
48340 else
48341
48342 ac_ext=cpp
48343 ac_cpp='$CXXCPP $CPPFLAGS'
48344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48347
48348 cat >conftest.$ac_ext <<_ACEOF
48349 /* confdefs.h. */
48350 _ACEOF
48351 cat confdefs.h >>conftest.$ac_ext
48352 cat >>conftest.$ac_ext <<_ACEOF
48353 /* end confdefs.h. */
48354 #include <windows.h>
48355 #include <gdiplus.h>
48356 int
48357 main ()
48358 {
48359
48360 using namespace Gdiplus;
48361
48362 ;
48363 return 0;
48364 }
48365 _ACEOF
48366 rm -f conftest.$ac_objext
48367 if { (ac_try="$ac_compile"
48368 case "(($ac_try" in
48369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48370 *) ac_try_echo=$ac_try;;
48371 esac
48372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48373 (eval "$ac_compile") 2>conftest.er1
48374 ac_status=$?
48375 grep -v '^ *+' conftest.er1 >conftest.err
48376 rm -f conftest.er1
48377 cat conftest.err >&5
48378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48379 (exit $ac_status); } && {
48380 test -z "$ac_cxx_werror_flag" ||
48381 test ! -s conftest.err
48382 } && test -s conftest.$ac_objext; then
48383 wx_cv_lib_gdiplus=yes
48384 else
48385 echo "$as_me: failed program was:" >&5
48386 sed 's/^/| /' conftest.$ac_ext >&5
48387
48388 wx_cv_lib_gdiplus=no
48389
48390 fi
48391
48392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48393 ac_ext=c
48394 ac_cpp='$CPP $CPPFLAGS'
48395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48398
48399
48400
48401 fi
48402 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48403 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48404 if test "$wx_cv_lib_gdiplus" = "yes"; then
48405 wx_has_graphics=1
48406 fi
48407 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48408
48409 pkg_failed=no
48410 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48411 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48412
48413 if test -n "$PKG_CONFIG"; then
48414 if test -n "$CAIRO_CFLAGS"; then
48415 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48416 else
48417 if test -n "$PKG_CONFIG" && \
48418 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48419 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48420 ac_status=$?
48421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48422 (exit $ac_status); }; then
48423 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48424 else
48425 pkg_failed=yes
48426 fi
48427 fi
48428 else
48429 pkg_failed=untried
48430 fi
48431 if test -n "$PKG_CONFIG"; then
48432 if test -n "$CAIRO_LIBS"; then
48433 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48434 else
48435 if test -n "$PKG_CONFIG" && \
48436 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48437 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48438 ac_status=$?
48439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48440 (exit $ac_status); }; then
48441 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48442 else
48443 pkg_failed=yes
48444 fi
48445 fi
48446 else
48447 pkg_failed=untried
48448 fi
48449
48450
48451
48452 if test $pkg_failed = yes; then
48453
48454 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48455 _pkg_short_errors_supported=yes
48456 else
48457 _pkg_short_errors_supported=no
48458 fi
48459 if test $_pkg_short_errors_supported = yes; then
48460 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48461 else
48462 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48463 fi
48464 # Put the nasty error message in config.log where it belongs
48465 echo "$CAIRO_PKG_ERRORS" >&5
48466
48467 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48468 echo "$as_me: WARNING: Cairo library not found" >&2;}
48469
48470 elif test $pkg_failed = untried; then
48471 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48472 echo "$as_me: WARNING: Cairo library not found" >&2;}
48473
48474 else
48475 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48476 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48477 { echo "$as_me:$LINENO: result: yes" >&5
48478 echo "${ECHO_T}yes" >&6; }
48479 wx_has_graphics=1
48480 fi
48481 if test "$wx_has_graphics" = 1; then
48482 save_LIBS="$LIBS"
48483 LIBS="$LIBS $CAIRO_LIBS"
48484
48485 for ac_func in cairo_push_group
48486 do
48487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48488 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48490 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48491 echo $ECHO_N "(cached) $ECHO_C" >&6
48492 else
48493 cat >conftest.$ac_ext <<_ACEOF
48494 /* confdefs.h. */
48495 _ACEOF
48496 cat confdefs.h >>conftest.$ac_ext
48497 cat >>conftest.$ac_ext <<_ACEOF
48498 /* end confdefs.h. */
48499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48501 #define $ac_func innocuous_$ac_func
48502
48503 /* System header to define __stub macros and hopefully few prototypes,
48504 which can conflict with char $ac_func (); below.
48505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48506 <limits.h> exists even on freestanding compilers. */
48507
48508 #ifdef __STDC__
48509 # include <limits.h>
48510 #else
48511 # include <assert.h>
48512 #endif
48513
48514 #undef $ac_func
48515
48516 /* Override any GCC internal prototype to avoid an error.
48517 Use char because int might match the return type of a GCC
48518 builtin and then its argument prototype would still apply. */
48519 #ifdef __cplusplus
48520 extern "C"
48521 #endif
48522 char $ac_func ();
48523 /* The GNU C library defines this for functions which it implements
48524 to always fail with ENOSYS. Some functions are actually named
48525 something starting with __ and the normal name is an alias. */
48526 #if defined __stub_$ac_func || defined __stub___$ac_func
48527 choke me
48528 #endif
48529
48530 int
48531 main ()
48532 {
48533 return $ac_func ();
48534 ;
48535 return 0;
48536 }
48537 _ACEOF
48538 rm -f conftest.$ac_objext conftest$ac_exeext
48539 if { (ac_try="$ac_link"
48540 case "(($ac_try" in
48541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48542 *) ac_try_echo=$ac_try;;
48543 esac
48544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48545 (eval "$ac_link") 2>conftest.er1
48546 ac_status=$?
48547 grep -v '^ *+' conftest.er1 >conftest.err
48548 rm -f conftest.er1
48549 cat conftest.err >&5
48550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48551 (exit $ac_status); } && {
48552 test -z "$ac_c_werror_flag" ||
48553 test ! -s conftest.err
48554 } && test -s conftest$ac_exeext &&
48555 $as_test_x conftest$ac_exeext; then
48556 eval "$as_ac_var=yes"
48557 else
48558 echo "$as_me: failed program was:" >&5
48559 sed 's/^/| /' conftest.$ac_ext >&5
48560
48561 eval "$as_ac_var=no"
48562 fi
48563
48564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48565 conftest$ac_exeext conftest.$ac_ext
48566 fi
48567 ac_res=`eval echo '${'$as_ac_var'}'`
48568 { echo "$as_me:$LINENO: result: $ac_res" >&5
48569 echo "${ECHO_T}$ac_res" >&6; }
48570 if test `eval echo '${'$as_ac_var'}'` = yes; then
48571 cat >>confdefs.h <<_ACEOF
48572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48573 _ACEOF
48574
48575 fi
48576 done
48577
48578 LIBS="$save_LIBS"
48579 if test "$ac_cv_func_cairo_push_group" = "no"; then
48580 wx_has_graphics=0
48581 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48582 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48583 else
48584 cat >>confdefs.h <<\_ACEOF
48585 #define wxUSE_CAIRO 1
48586 _ACEOF
48587
48588
48589 if test "$wxUSE_GTK" != 1; then
48590 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48591 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48592 fi
48593 fi
48594 fi
48595 else
48596 wx_has_graphics=1
48597 fi
48598
48599 if test "$wx_has_graphics" = 1; then
48600 cat >>confdefs.h <<\_ACEOF
48601 #define wxUSE_GRAPHICS_CONTEXT 1
48602 _ACEOF
48603
48604 else
48605 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48606 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48607 fi
48608 fi
48609
48610
48611 USE_MEDIA=0
48612
48613 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48614 USE_MEDIA=1
48615
48616 if test "$wxUSE_GTK" = 1; then
48617 wxUSE_GSTREAMER="no"
48618
48619 GST_VERSION_MAJOR=0
48620 GST_VERSION_MINOR=10
48621 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48622
48623 if test "$wxUSE_GSTREAMER8" = "no"; then
48624
48625 pkg_failed=no
48626 { echo "$as_me:$LINENO: checking for GST" >&5
48627 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48628
48629 if test -n "$PKG_CONFIG"; then
48630 if test -n "$GST_CFLAGS"; then
48631 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48632 else
48633 if test -n "$PKG_CONFIG" && \
48634 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48635 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48636 ac_status=$?
48637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48638 (exit $ac_status); }; then
48639 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48640 else
48641 pkg_failed=yes
48642 fi
48643 fi
48644 else
48645 pkg_failed=untried
48646 fi
48647 if test -n "$PKG_CONFIG"; then
48648 if test -n "$GST_LIBS"; then
48649 pkg_cv_GST_LIBS="$GST_LIBS"
48650 else
48651 if test -n "$PKG_CONFIG" && \
48652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48653 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48654 ac_status=$?
48655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48656 (exit $ac_status); }; then
48657 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48658 else
48659 pkg_failed=yes
48660 fi
48661 fi
48662 else
48663 pkg_failed=untried
48664 fi
48665
48666
48667
48668 if test $pkg_failed = yes; then
48669
48670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48671 _pkg_short_errors_supported=yes
48672 else
48673 _pkg_short_errors_supported=no
48674 fi
48675 if test $_pkg_short_errors_supported = yes; then
48676 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48677 else
48678 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48679 fi
48680 # Put the nasty error message in config.log where it belongs
48681 echo "$GST_PKG_ERRORS" >&5
48682
48683
48684 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48685 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48686 GST_VERSION_MINOR=8
48687
48688
48689 elif test $pkg_failed = untried; then
48690
48691 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48692 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48693 GST_VERSION_MINOR=8
48694
48695
48696 else
48697 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48698 GST_LIBS=$pkg_cv_GST_LIBS
48699 { echo "$as_me:$LINENO: result: yes" >&5
48700 echo "${ECHO_T}yes" >&6; }
48701
48702 wxUSE_GSTREAMER="yes"
48703 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48704
48705 fi
48706 else
48707 GST_VERSION_MINOR=8
48708 fi
48709
48710 if test $GST_VERSION_MINOR = "8"; then
48711 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48712
48713 pkg_failed=no
48714 { echo "$as_me:$LINENO: checking for GST" >&5
48715 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48716
48717 if test -n "$PKG_CONFIG"; then
48718 if test -n "$GST_CFLAGS"; then
48719 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48720 else
48721 if test -n "$PKG_CONFIG" && \
48722 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48723 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48724 ac_status=$?
48725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48726 (exit $ac_status); }; then
48727 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48728 else
48729 pkg_failed=yes
48730 fi
48731 fi
48732 else
48733 pkg_failed=untried
48734 fi
48735 if test -n "$PKG_CONFIG"; then
48736 if test -n "$GST_LIBS"; then
48737 pkg_cv_GST_LIBS="$GST_LIBS"
48738 else
48739 if test -n "$PKG_CONFIG" && \
48740 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48741 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48742 ac_status=$?
48743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48744 (exit $ac_status); }; then
48745 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48746 else
48747 pkg_failed=yes
48748 fi
48749 fi
48750 else
48751 pkg_failed=untried
48752 fi
48753
48754
48755
48756 if test $pkg_failed = yes; then
48757
48758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48759 _pkg_short_errors_supported=yes
48760 else
48761 _pkg_short_errors_supported=no
48762 fi
48763 if test $_pkg_short_errors_supported = yes; then
48764 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48765 else
48766 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48767 fi
48768 # Put the nasty error message in config.log where it belongs
48769 echo "$GST_PKG_ERRORS" >&5
48770
48771
48772 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48773 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48774
48775 elif test $pkg_failed = untried; then
48776
48777 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48778 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48779
48780 else
48781 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48782 GST_LIBS=$pkg_cv_GST_LIBS
48783 { echo "$as_me:$LINENO: result: yes" >&5
48784 echo "${ECHO_T}yes" >&6; }
48785 wxUSE_GSTREAMER="yes"
48786 fi
48787 fi
48788
48789
48790 if test "$wxUSE_GSTREAMER" = "yes"; then
48791 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48792 EXTRALIBS_MEDIA="$GST_LIBS"
48793
48794 cat >>confdefs.h <<\_ACEOF
48795 #define wxUSE_GSTREAMER 1
48796 _ACEOF
48797
48798 else
48799 USE_MEDIA=0
48800 fi
48801 fi
48802
48803 if test $USE_MEDIA = 1; then
48804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48805 cat >>confdefs.h <<\_ACEOF
48806 #define wxUSE_MEDIACTRL 1
48807 _ACEOF
48808
48809 else
48810 if test "$wxUSE_MEDIACTRL" = "yes"; then
48811 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48812 echo "$as_me: error: GStreamer not available" >&2;}
48813 { (exit 1); exit 1; }; }
48814 else
48815 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48816 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48817 fi
48818 fi
48819 fi
48820
48821
48822 if test "$cross_compiling" != "no"; then
48823 OSINFO="\"$host\""
48824 else
48825 OSINFO=`uname -s -r -m`
48826 OSINFO="\"$OSINFO\""
48827 fi
48828
48829 cat >>confdefs.h <<_ACEOF
48830 #define WXWIN_OS_DESCRIPTION $OSINFO
48831 _ACEOF
48832
48833
48834
48835 if test "x$prefix" != "xNONE"; then
48836 wxPREFIX=$prefix
48837 else
48838 wxPREFIX=$ac_default_prefix
48839 fi
48840
48841 cat >>confdefs.h <<_ACEOF
48842 #define wxINSTALL_PREFIX "$wxPREFIX"
48843 _ACEOF
48844
48845
48846
48847
48848 STD_BASE_LIBS="base"
48849 STD_GUI_LIBS=""
48850 BUILT_WX_LIBS="base"
48851 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48852
48853 if test "$wxUSE_SOCKETS" = "yes" ; then
48854 STD_BASE_LIBS="net $STD_BASE_LIBS"
48855 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48856 fi
48857 if test "$wxUSE_XML" = "yes" ; then
48858 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48859 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48860 fi
48861
48862 if test "$wxUSE_GUI" = "yes"; then
48863 STD_GUI_LIBS="adv core"
48864 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48865
48866 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48867 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48868 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48869 fi
48870 if test "$wxUSE_HTML" = "yes" ; then
48871 STD_GUI_LIBS="html $STD_GUI_LIBS"
48872 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48873 fi
48874 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48875 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48876 fi
48877 if test "$wxUSE_OPENGL" = "yes" ; then
48878 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48879 fi
48880 if test "$wxUSE_AUI" = "yes" ; then
48881 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48882 fi
48883 if test "$wxUSE_PROPGRID" = "yes" ; then
48884 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48885 fi
48886 if test "$wxUSE_RIBBON" = "yes" ; then
48887 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48888 fi
48889 if test "$wxUSE_RICHTEXT" = "yes" ; then
48890 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48891 fi
48892 if test "$wxUSE_STC" = "yes" ; then
48893 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48894 fi
48895 if test "$wxUSE_XRC" = "yes" ; then
48896 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48897 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48898 fi
48899 fi
48900
48901
48902
48903
48904
48905
48906
48907 EXTRA_FRAMEWORKS=
48908 if test "$wxUSE_MAC" = 1 ; then
48909 if test "$USE_DARWIN" = 1; then
48910 if test "$wxUSE_OSX_IPHONE" = 1; then
48911 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48912 else
48913 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48914 fi
48915 fi
48916 fi
48917 if test "$wxUSE_OLD_COCOA" = 1 ; then
48918 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48919 if test "$wxUSE_MEDIACTRL" = "yes"; then
48920 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48921 fi
48922 fi
48923 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48924 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48925 fi
48926
48927 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48928 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48929
48930 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48931
48932 if test "$wxUSE_GUI" = "yes"; then
48933
48934
48935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48936 erase event exec font image minimal render \
48937 shaped svg taborder vscroll widgets wrapsizer"
48938
48939 if test "$wxUSE_MONOLITHIC" != "yes"; then
48940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48941 fi
48942 if test "$TOOLKIT" = "MSW"; then
48943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48944 if test "$wxUSE_UNIVERSAL" != "yes"; then
48945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48946 fi
48947 fi
48948 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48950 fi
48951 else
48952 SAMPLES_SUBDIRS="console"
48953 if test "$wxUSE_SOCKETS" = "yes" ; then
48954 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48955 fi
48956 if test "$wxUSE_IPC" = "yes" ; then
48957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48958 fi
48959 fi
48960
48961
48962 if test "x$INTELCC" = "xyes" ; then
48963 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
48964 elif test "$GCC" = yes ; then
48965 CWARNINGS="-Wall -Wundef"
48966 fi
48967
48968 if test "x$INTELCXX" = "xyes" ; then
48969 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
48970 elif test "$GXX" = yes ; then
48971 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
48972 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
48973 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
48974 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
48975 echo $ECHO_N "(cached) $ECHO_C" >&6
48976 else
48977 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
48978
48979 ac_ext=cpp
48980 ac_cpp='$CXXCPP $CPPFLAGS'
48981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48984
48985 ac_save_CXXFLAGS="$CXXFLAGS"
48986 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
48987 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
48988 cat >conftest.$ac_ext <<_ACEOF
48989 /* confdefs.h. */
48990 _ACEOF
48991 cat confdefs.h >>conftest.$ac_ext
48992 cat >>conftest.$ac_ext <<_ACEOF
48993 /* end confdefs.h. */
48994
48995 int
48996 main ()
48997 {
48998 return 0;
48999 ;
49000 return 0;
49001 }
49002 _ACEOF
49003 rm -f conftest.$ac_objext
49004 if { (ac_try="$ac_compile"
49005 case "(($ac_try" in
49006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49007 *) ac_try_echo=$ac_try;;
49008 esac
49009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49010 (eval "$ac_compile") 2>conftest.er1
49011 ac_status=$?
49012 grep -v '^ *+' conftest.er1 >conftest.err
49013 rm -f conftest.er1
49014 cat conftest.err >&5
49015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49016 (exit $ac_status); } && {
49017 test -z "$ac_cxx_werror_flag" ||
49018 test ! -s conftest.err
49019 } && test -s conftest.$ac_objext; then
49020 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49021 else
49022 echo "$as_me: failed program was:" >&5
49023 sed 's/^/| /' conftest.$ac_ext >&5
49024
49025
49026 fi
49027
49028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49029 done
49030 CXXFLAGS="$ac_save_CXXFLAGS"
49031 ac_ext=c
49032 ac_cpp='$CPP $CPPFLAGS'
49033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49036
49037
49038 fi
49039 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49040 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49041 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49042 .ok|.ok,*) ;;
49043 .|.no|.no,*) ;;
49044 *)
49045 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49046 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49047 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49048 ac_status=$?
49049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49050 (exit $ac_status); }
49051 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49052 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49053 ac_status=$?
49054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49055 (exit $ac_status); }
49056 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49057 fi
49058 ;;
49059 esac
49060
49061
49062 if test "$wxUSE_MAC" = 1 ; then
49063 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49064 fi
49065 fi
49066
49067
49068 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49069 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49070
49071
49072 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49073 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49074 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49075 $CPPFLAGS `
49076
49077 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49078 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49079 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49080 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49081 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49082
49083 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49084
49085
49086 if test "x$MWCC" = "xyes"; then
49087
49088 CC="$CC -cwd source -I-"
49089 CXX="$CXX -cwd source -I-"
49090 fi
49091
49092
49093 LIBS=`echo $LIBS`
49094 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49095 EXTRALIBS_XML="$EXPAT_LINK"
49096 EXTRALIBS_HTML="$MSPACK_LINK"
49097 EXTRALIBS_MEDIA="$GST_LIBS"
49098 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49099 if test "$wxUSE_GUI" = "yes"; then
49100 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49101 fi
49102 if test "$wxUSE_OPENGL" = "yes"; then
49103 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49104 fi
49105
49106 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49107
49108 WXCONFIG_LIBS="$LIBS"
49109
49110 if test "$wxUSE_REGEX" = "builtin" ; then
49111 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49112 fi
49113 if test "$wxUSE_EXPAT" = "builtin" ; then
49114 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49115 fi
49116 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49117 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49118 fi
49119 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49120 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49121 fi
49122 if test "$wxUSE_LIBPNG" = "builtin" ; then
49123 wxconfig_3rdparty="png $wxconfig_3rdparty"
49124 fi
49125 if test "$wxUSE_ZLIB" = "builtin" ; then
49126 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49127 fi
49128
49129 for i in $wxconfig_3rdparty ; do
49130 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49131 done
49132
49133
49134 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49135 WXUNIV=1
49136
49137 case "$wxUNIV_THEMES" in
49138 ''|all)
49139 cat >>confdefs.h <<\_ACEOF
49140 #define wxUSE_ALL_THEMES 1
49141 _ACEOF
49142
49143 ;;
49144
49145 *)
49146 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49147 cat >>confdefs.h <<_ACEOF
49148 #define wxUSE_THEME_$t 1
49149 _ACEOF
49150
49151 done
49152 esac
49153 else
49154 WXUNIV=0
49155 fi
49156
49157
49158
49159
49160
49161
49162
49163
49164 if test $wxUSE_MONOLITHIC = "yes" ; then
49165 MONOLITHIC=1
49166 else
49167 MONOLITHIC=0
49168 fi
49169
49170 if test $wxUSE_PLUGINS = "yes" ; then
49171 USE_PLUGINS=1
49172 else
49173 USE_PLUGINS=0
49174 fi
49175
49176 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49177 USE_QA=1
49178 else
49179 USE_QA=0
49180 fi
49181
49182 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49183 OFFICIAL_BUILD=1
49184 else
49185 OFFICIAL_BUILD=0
49186 fi
49187
49188
49189
49190
49191
49192
49193
49194
49195
49196
49197
49198
49199
49200
49201
49202
49203
49204
49205
49206
49207
49208
49209
49210
49211
49212
49213
49214 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49215
49216
49217
49218
49219
49220
49221
49222
49223
49224
49225 case "$TOOLKIT" in
49226 GTK)
49227 TOOLKIT_DESC="GTK+"
49228 if test "$WXGTK2" = 1; then
49229 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49230 if test "$wxUSE_GTKPRINT" = "yes" ; then
49231 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49232 fi
49233 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49234 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49235 fi
49236 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49237 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49238 fi
49239 if test "$wxUSE_LIBHILDON" = "yes"; then
49240 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49241 fi
49242 if test "$wxUSE_LIBHILDON2" = "yes"; then
49243 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49244 fi
49245
49246 if test "$TOOLKIT_EXTRA" != ""; then
49247 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49248 fi
49249 fi
49250 ;;
49251
49252 ?*)
49253 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49254 ;;
49255
49256 *)
49257 TOOLKIT_DESC="base only"
49258 ;;
49259 esac
49260
49261 if test "$wxUSE_WINE" = "yes"; then
49262 BAKEFILE_FORCE_PLATFORM=win32
49263 fi
49264
49265 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49266 then
49267 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49268 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49269 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49270 echo $ECHO_N "(cached) $ECHO_C" >&6
49271 else
49272
49273 echo '#include <stdio.h>
49274 const wchar_t test_var[] = L"awidetest";' > conftest.h
49275
49276 echo '#include "conftest.h"
49277 int main()
49278 {
49279 printf("%ls", test_var);
49280 return 0;
49281 }' > conftest.cpp
49282
49283 wx_cv_gcc_pch_bug="pch not supported"
49284
49285 if $CXX conftest.h >/dev/null 2>&1
49286 then
49287 wx_cv_gcc_pch_bug=
49288
49289 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49290 then
49291 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49292 grep awidetest >/dev/null
49293 then
49294 wx_cv_gcc_pch_bug=no
49295 else
49296 wx_cv_gcc_pch_bug=yes
49297 fi
49298 fi
49299 fi
49300
49301 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49302
49303 fi
49304 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49305 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49306
49307 if test "$wx_cv_gcc_pch_bug" = yes; then
49308 bk_use_pch=no
49309 fi
49310 fi
49311
49312
49313
49314
49315
49316
49317
49318 if test "x$BAKEFILE_HOST" = "x"; then
49319 if test "x${host}" = "x" ; then
49320 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49321 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49322 { (exit 1); exit 1; }; }
49323 fi
49324
49325 BAKEFILE_HOST="${host}"
49326 fi
49327
49328 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49329
49330 if test -n "$ac_tool_prefix"; then
49331 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49332 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49335 if test "${ac_cv_prog_RANLIB+set}" = set; then
49336 echo $ECHO_N "(cached) $ECHO_C" >&6
49337 else
49338 if test -n "$RANLIB"; then
49339 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49340 else
49341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49342 for as_dir in $PATH
49343 do
49344 IFS=$as_save_IFS
49345 test -z "$as_dir" && as_dir=.
49346 for ac_exec_ext in '' $ac_executable_extensions; do
49347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49348 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49350 break 2
49351 fi
49352 done
49353 done
49354 IFS=$as_save_IFS
49355
49356 fi
49357 fi
49358 RANLIB=$ac_cv_prog_RANLIB
49359 if test -n "$RANLIB"; then
49360 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49361 echo "${ECHO_T}$RANLIB" >&6; }
49362 else
49363 { echo "$as_me:$LINENO: result: no" >&5
49364 echo "${ECHO_T}no" >&6; }
49365 fi
49366
49367
49368 fi
49369 if test -z "$ac_cv_prog_RANLIB"; then
49370 ac_ct_RANLIB=$RANLIB
49371 # Extract the first word of "ranlib", so it can be a program name with args.
49372 set dummy ranlib; ac_word=$2
49373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49375 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49376 echo $ECHO_N "(cached) $ECHO_C" >&6
49377 else
49378 if test -n "$ac_ct_RANLIB"; then
49379 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49380 else
49381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49382 for as_dir in $PATH
49383 do
49384 IFS=$as_save_IFS
49385 test -z "$as_dir" && as_dir=.
49386 for ac_exec_ext in '' $ac_executable_extensions; do
49387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49388 ac_cv_prog_ac_ct_RANLIB="ranlib"
49389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49390 break 2
49391 fi
49392 done
49393 done
49394 IFS=$as_save_IFS
49395
49396 fi
49397 fi
49398 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49399 if test -n "$ac_ct_RANLIB"; then
49400 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49401 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49402 else
49403 { echo "$as_me:$LINENO: result: no" >&5
49404 echo "${ECHO_T}no" >&6; }
49405 fi
49406
49407 if test "x$ac_ct_RANLIB" = x; then
49408 RANLIB=":"
49409 else
49410 case $cross_compiling:$ac_tool_warned in
49411 yes:)
49412 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49413 whose name does not start with the host triplet. If you think this
49414 configuration is useful to you, please write to autoconf@gnu.org." >&5
49415 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49416 whose name does not start with the host triplet. If you think this
49417 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49418 ac_tool_warned=yes ;;
49419 esac
49420 RANLIB=$ac_ct_RANLIB
49421 fi
49422 else
49423 RANLIB="$ac_cv_prog_RANLIB"
49424 fi
49425
49426 # Find a good install program. We prefer a C program (faster),
49427 # so one script is as good as another. But avoid the broken or
49428 # incompatible versions:
49429 # SysV /etc/install, /usr/sbin/install
49430 # SunOS /usr/etc/install
49431 # IRIX /sbin/install
49432 # AIX /bin/install
49433 # AmigaOS /C/install, which installs bootblocks on floppy discs
49434 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49435 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49436 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49437 # OS/2's system install, which has a completely different semantic
49438 # ./install, which can be erroneously created by make from ./install.sh.
49439 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49440 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49441 if test -z "$INSTALL"; then
49442 if test "${ac_cv_path_install+set}" = set; then
49443 echo $ECHO_N "(cached) $ECHO_C" >&6
49444 else
49445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49446 for as_dir in $PATH
49447 do
49448 IFS=$as_save_IFS
49449 test -z "$as_dir" && as_dir=.
49450 # Account for people who put trailing slashes in PATH elements.
49451 case $as_dir/ in
49452 ./ | .// | /cC/* | \
49453 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49454 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49455 /usr/ucb/* ) ;;
49456 *)
49457 # OSF1 and SCO ODT 3.0 have their own names for install.
49458 # Don't use installbsd from OSF since it installs stuff as root
49459 # by default.
49460 for ac_prog in ginstall scoinst install; do
49461 for ac_exec_ext in '' $ac_executable_extensions; do
49462 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49463 if test $ac_prog = install &&
49464 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49465 # AIX install. It has an incompatible calling convention.
49466 :
49467 elif test $ac_prog = install &&
49468 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49469 # program-specific install script used by HP pwplus--don't use.
49470 :
49471 else
49472 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49473 break 3
49474 fi
49475 fi
49476 done
49477 done
49478 ;;
49479 esac
49480 done
49481 IFS=$as_save_IFS
49482
49483
49484 fi
49485 if test "${ac_cv_path_install+set}" = set; then
49486 INSTALL=$ac_cv_path_install
49487 else
49488 # As a last resort, use the slow shell script. Don't cache a
49489 # value for INSTALL within a source directory, because that will
49490 # break other packages using the cache if that directory is
49491 # removed, or if the value is a relative name.
49492 INSTALL=$ac_install_sh
49493 fi
49494 fi
49495 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49496 echo "${ECHO_T}$INSTALL" >&6; }
49497
49498 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49499 # It thinks the first close brace ends the variable substitution.
49500 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49501
49502 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49503
49504 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49505
49506 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49507 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49508 LN_S=$as_ln_s
49509 if test "$LN_S" = "ln -s"; then
49510 { echo "$as_me:$LINENO: result: yes" >&5
49511 echo "${ECHO_T}yes" >&6; }
49512 else
49513 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49514 echo "${ECHO_T}no, using $LN_S" >&6; }
49515 fi
49516
49517
49518 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49519 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49520 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49521 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49522 echo $ECHO_N "(cached) $ECHO_C" >&6
49523 else
49524 cat >conftest.make <<\_ACEOF
49525 SHELL = /bin/sh
49526 all:
49527 @echo '@@@%%%=$(MAKE)=@@@%%%'
49528 _ACEOF
49529 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49530 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49531 *@@@%%%=?*=@@@%%%*)
49532 eval ac_cv_prog_make_${ac_make}_set=yes;;
49533 *)
49534 eval ac_cv_prog_make_${ac_make}_set=no;;
49535 esac
49536 rm -f conftest.make
49537 fi
49538 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49539 { echo "$as_me:$LINENO: result: yes" >&5
49540 echo "${ECHO_T}yes" >&6; }
49541 SET_MAKE=
49542 else
49543 { echo "$as_me:$LINENO: result: no" >&5
49544 echo "${ECHO_T}no" >&6; }
49545 SET_MAKE="MAKE=${MAKE-make}"
49546 fi
49547
49548
49549
49550 if test "x$SUNCXX" = "xyes"; then
49551 AR=$CXX
49552 AROPTIONS="-xar -o"
49553
49554 elif test "x$SGICC" = "xyes"; then
49555 AR=$CXX
49556 AROPTIONS="-ar -o"
49557
49558 else
49559 if test -n "$ac_tool_prefix"; then
49560 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49561 set dummy ${ac_tool_prefix}ar; ac_word=$2
49562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49564 if test "${ac_cv_prog_AR+set}" = set; then
49565 echo $ECHO_N "(cached) $ECHO_C" >&6
49566 else
49567 if test -n "$AR"; then
49568 ac_cv_prog_AR="$AR" # Let the user override the test.
49569 else
49570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49571 for as_dir in $PATH
49572 do
49573 IFS=$as_save_IFS
49574 test -z "$as_dir" && as_dir=.
49575 for ac_exec_ext in '' $ac_executable_extensions; do
49576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49577 ac_cv_prog_AR="${ac_tool_prefix}ar"
49578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49579 break 2
49580 fi
49581 done
49582 done
49583 IFS=$as_save_IFS
49584
49585 fi
49586 fi
49587 AR=$ac_cv_prog_AR
49588 if test -n "$AR"; then
49589 { echo "$as_me:$LINENO: result: $AR" >&5
49590 echo "${ECHO_T}$AR" >&6; }
49591 else
49592 { echo "$as_me:$LINENO: result: no" >&5
49593 echo "${ECHO_T}no" >&6; }
49594 fi
49595
49596
49597 fi
49598 if test -z "$ac_cv_prog_AR"; then
49599 ac_ct_AR=$AR
49600 # Extract the first word of "ar", so it can be a program name with args.
49601 set dummy ar; ac_word=$2
49602 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49604 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49605 echo $ECHO_N "(cached) $ECHO_C" >&6
49606 else
49607 if test -n "$ac_ct_AR"; then
49608 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49609 else
49610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49611 for as_dir in $PATH
49612 do
49613 IFS=$as_save_IFS
49614 test -z "$as_dir" && as_dir=.
49615 for ac_exec_ext in '' $ac_executable_extensions; do
49616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49617 ac_cv_prog_ac_ct_AR="ar"
49618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49619 break 2
49620 fi
49621 done
49622 done
49623 IFS=$as_save_IFS
49624
49625 fi
49626 fi
49627 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49628 if test -n "$ac_ct_AR"; then
49629 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49630 echo "${ECHO_T}$ac_ct_AR" >&6; }
49631 else
49632 { echo "$as_me:$LINENO: result: no" >&5
49633 echo "${ECHO_T}no" >&6; }
49634 fi
49635
49636 if test "x$ac_ct_AR" = x; then
49637 AR="ar"
49638 else
49639 case $cross_compiling:$ac_tool_warned in
49640 yes:)
49641 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49642 whose name does not start with the host triplet. If you think this
49643 configuration is useful to you, please write to autoconf@gnu.org." >&5
49644 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49645 whose name does not start with the host triplet. If you think this
49646 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49647 ac_tool_warned=yes ;;
49648 esac
49649 AR=$ac_ct_AR
49650 fi
49651 else
49652 AR="$ac_cv_prog_AR"
49653 fi
49654
49655 AROPTIONS=rcu
49656 fi
49657
49658
49659 if test -n "$ac_tool_prefix"; then
49660 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49661 set dummy ${ac_tool_prefix}strip; ac_word=$2
49662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49664 if test "${ac_cv_prog_STRIP+set}" = set; then
49665 echo $ECHO_N "(cached) $ECHO_C" >&6
49666 else
49667 if test -n "$STRIP"; then
49668 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49669 else
49670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49671 for as_dir in $PATH
49672 do
49673 IFS=$as_save_IFS
49674 test -z "$as_dir" && as_dir=.
49675 for ac_exec_ext in '' $ac_executable_extensions; do
49676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49677 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49679 break 2
49680 fi
49681 done
49682 done
49683 IFS=$as_save_IFS
49684
49685 fi
49686 fi
49687 STRIP=$ac_cv_prog_STRIP
49688 if test -n "$STRIP"; then
49689 { echo "$as_me:$LINENO: result: $STRIP" >&5
49690 echo "${ECHO_T}$STRIP" >&6; }
49691 else
49692 { echo "$as_me:$LINENO: result: no" >&5
49693 echo "${ECHO_T}no" >&6; }
49694 fi
49695
49696
49697 fi
49698 if test -z "$ac_cv_prog_STRIP"; then
49699 ac_ct_STRIP=$STRIP
49700 # Extract the first word of "strip", so it can be a program name with args.
49701 set dummy strip; ac_word=$2
49702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49704 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49705 echo $ECHO_N "(cached) $ECHO_C" >&6
49706 else
49707 if test -n "$ac_ct_STRIP"; then
49708 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49709 else
49710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49711 for as_dir in $PATH
49712 do
49713 IFS=$as_save_IFS
49714 test -z "$as_dir" && as_dir=.
49715 for ac_exec_ext in '' $ac_executable_extensions; do
49716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49717 ac_cv_prog_ac_ct_STRIP="strip"
49718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49719 break 2
49720 fi
49721 done
49722 done
49723 IFS=$as_save_IFS
49724
49725 fi
49726 fi
49727 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49728 if test -n "$ac_ct_STRIP"; then
49729 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49730 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49731 else
49732 { echo "$as_me:$LINENO: result: no" >&5
49733 echo "${ECHO_T}no" >&6; }
49734 fi
49735
49736 if test "x$ac_ct_STRIP" = x; then
49737 STRIP=":"
49738 else
49739 case $cross_compiling:$ac_tool_warned in
49740 yes:)
49741 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49742 whose name does not start with the host triplet. If you think this
49743 configuration is useful to you, please write to autoconf@gnu.org." >&5
49744 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49745 whose name does not start with the host triplet. If you think this
49746 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49747 ac_tool_warned=yes ;;
49748 esac
49749 STRIP=$ac_ct_STRIP
49750 fi
49751 else
49752 STRIP="$ac_cv_prog_STRIP"
49753 fi
49754
49755 if test -n "$ac_tool_prefix"; then
49756 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49757 set dummy ${ac_tool_prefix}nm; ac_word=$2
49758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49760 if test "${ac_cv_prog_NM+set}" = set; then
49761 echo $ECHO_N "(cached) $ECHO_C" >&6
49762 else
49763 if test -n "$NM"; then
49764 ac_cv_prog_NM="$NM" # Let the user override the test.
49765 else
49766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49767 for as_dir in $PATH
49768 do
49769 IFS=$as_save_IFS
49770 test -z "$as_dir" && as_dir=.
49771 for ac_exec_ext in '' $ac_executable_extensions; do
49772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49773 ac_cv_prog_NM="${ac_tool_prefix}nm"
49774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49775 break 2
49776 fi
49777 done
49778 done
49779 IFS=$as_save_IFS
49780
49781 fi
49782 fi
49783 NM=$ac_cv_prog_NM
49784 if test -n "$NM"; then
49785 { echo "$as_me:$LINENO: result: $NM" >&5
49786 echo "${ECHO_T}$NM" >&6; }
49787 else
49788 { echo "$as_me:$LINENO: result: no" >&5
49789 echo "${ECHO_T}no" >&6; }
49790 fi
49791
49792
49793 fi
49794 if test -z "$ac_cv_prog_NM"; then
49795 ac_ct_NM=$NM
49796 # Extract the first word of "nm", so it can be a program name with args.
49797 set dummy nm; ac_word=$2
49798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49800 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49801 echo $ECHO_N "(cached) $ECHO_C" >&6
49802 else
49803 if test -n "$ac_ct_NM"; then
49804 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49805 else
49806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49807 for as_dir in $PATH
49808 do
49809 IFS=$as_save_IFS
49810 test -z "$as_dir" && as_dir=.
49811 for ac_exec_ext in '' $ac_executable_extensions; do
49812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49813 ac_cv_prog_ac_ct_NM="nm"
49814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49815 break 2
49816 fi
49817 done
49818 done
49819 IFS=$as_save_IFS
49820
49821 fi
49822 fi
49823 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49824 if test -n "$ac_ct_NM"; then
49825 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49826 echo "${ECHO_T}$ac_ct_NM" >&6; }
49827 else
49828 { echo "$as_me:$LINENO: result: no" >&5
49829 echo "${ECHO_T}no" >&6; }
49830 fi
49831
49832 if test "x$ac_ct_NM" = x; then
49833 NM=":"
49834 else
49835 case $cross_compiling:$ac_tool_warned in
49836 yes:)
49837 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49838 whose name does not start with the host triplet. If you think this
49839 configuration is useful to you, please write to autoconf@gnu.org." >&5
49840 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49841 whose name does not start with the host triplet. If you think this
49842 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49843 ac_tool_warned=yes ;;
49844 esac
49845 NM=$ac_ct_NM
49846 fi
49847 else
49848 NM="$ac_cv_prog_NM"
49849 fi
49850
49851
49852 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49853 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49854 INSTALL_TEST_DIR=acbftest$$
49855 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49856 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49857 rmdir $INSTALL_TEST_DIR
49858 INSTALL_DIR='$(INSTALL) -d'
49859 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49860 echo "${ECHO_T}$INSTALL -d" >&6; }
49861 else
49862 INSTALL_DIR="mkdir -p"
49863 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49864 echo "${ECHO_T}mkdir -p" >&6; }
49865 fi
49866
49867
49868 LDFLAGS_GUI=
49869 case ${BAKEFILE_HOST} in
49870 *-*-cygwin* | *-*-mingw32* )
49871 LDFLAGS_GUI="-mwindows"
49872 esac
49873
49874
49875 fi
49876
49877 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49878 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49879 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49880 echo $ECHO_N "(cached) $ECHO_C" >&6
49881 else
49882
49883 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49884 egrep -s GNU > /dev/null); then
49885 bakefile_cv_prog_makeisgnu="yes"
49886 else
49887 bakefile_cv_prog_makeisgnu="no"
49888 fi
49889
49890 fi
49891 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49892 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49893
49894 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49895 IF_GNU_MAKE=""
49896 else
49897 IF_GNU_MAKE="#"
49898 fi
49899
49900
49901
49902 PLATFORM_UNIX=0
49903 PLATFORM_WIN32=0
49904 PLATFORM_MSDOS=0
49905 PLATFORM_MAC=0
49906 PLATFORM_MACOS=0
49907 PLATFORM_MACOSX=0
49908 PLATFORM_OS2=0
49909 PLATFORM_BEOS=0
49910
49911 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49912 case "${BAKEFILE_HOST}" in
49913 *-*-mingw32* )
49914 PLATFORM_WIN32=1
49915 ;;
49916 *-pc-msdosdjgpp )
49917 PLATFORM_MSDOS=1
49918 ;;
49919 *-pc-os2_emx | *-pc-os2-emx )
49920 PLATFORM_OS2=1
49921 ;;
49922 *-*-darwin* )
49923 PLATFORM_MAC=1
49924 PLATFORM_MACOSX=1
49925 ;;
49926 *-*-beos* )
49927 PLATFORM_BEOS=1
49928 ;;
49929 powerpc-apple-macos* )
49930 PLATFORM_MAC=1
49931 PLATFORM_MACOS=1
49932 ;;
49933 * )
49934 PLATFORM_UNIX=1
49935 ;;
49936 esac
49937 else
49938 case "$BAKEFILE_FORCE_PLATFORM" in
49939 win32 )
49940 PLATFORM_WIN32=1
49941 ;;
49942 msdos )
49943 PLATFORM_MSDOS=1
49944 ;;
49945 os2 )
49946 PLATFORM_OS2=1
49947 ;;
49948 darwin )
49949 PLATFORM_MAC=1
49950 PLATFORM_MACOSX=1
49951 ;;
49952 unix )
49953 PLATFORM_UNIX=1
49954 ;;
49955 beos )
49956 PLATFORM_BEOS=1
49957 ;;
49958 * )
49959 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
49960 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
49961 { (exit 1); exit 1; }; }
49962 ;;
49963 esac
49964 fi
49965
49966
49967
49968
49969
49970
49971
49972
49973
49974
49975
49976 # Check whether --enable-omf was given.
49977 if test "${enable_omf+set}" = set; then
49978 enableval=$enable_omf; bk_os2_use_omf="$enableval"
49979 fi
49980
49981
49982 case "${BAKEFILE_HOST}" in
49983 *-*-darwin* )
49984 if test "x$GCC" = "xyes"; then
49985 CFLAGS="$CFLAGS -fno-common"
49986 CXXFLAGS="$CXXFLAGS -fno-common"
49987 fi
49988 if test "x$XLCC" = "xyes"; then
49989 CFLAGS="$CFLAGS -qnocommon"
49990 CXXFLAGS="$CXXFLAGS -qnocommon"
49991 fi
49992 ;;
49993
49994 *-pc-os2_emx | *-pc-os2-emx )
49995 if test "x$bk_os2_use_omf" = "xyes" ; then
49996 AR=emxomfar
49997 RANLIB=:
49998 LDFLAGS="-Zomf $LDFLAGS"
49999 CFLAGS="-Zomf $CFLAGS"
50000 CXXFLAGS="-Zomf $CXXFLAGS"
50001 OS2_LIBEXT="lib"
50002 else
50003 OS2_LIBEXT="a"
50004 fi
50005 ;;
50006
50007 i*86-*-beos* )
50008 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50009 ;;
50010 esac
50011
50012
50013 SO_SUFFIX="so"
50014 SO_SUFFIX_MODULE="so"
50015 EXEEXT=""
50016 LIBPREFIX="lib"
50017 LIBEXT=".a"
50018 DLLPREFIX="lib"
50019 DLLPREFIX_MODULE=""
50020 DLLIMP_SUFFIX=""
50021 dlldir="$libdir"
50022
50023 case "${BAKEFILE_HOST}" in
50024 ia64-hp-hpux* )
50025 ;;
50026 *-hp-hpux* )
50027 SO_SUFFIX="sl"
50028 SO_SUFFIX_MODULE="sl"
50029 ;;
50030 *-*-aix* )
50031 SO_SUFFIX="a"
50032 SO_SUFFIX_MODULE="a"
50033 ;;
50034 *-*-cygwin* )
50035 SO_SUFFIX="dll"
50036 SO_SUFFIX_MODULE="dll"
50037 DLLIMP_SUFFIX="dll.a"
50038 EXEEXT=".exe"
50039 DLLPREFIX="cyg"
50040 dlldir="$bindir"
50041 ;;
50042 *-*-mingw32* )
50043 SO_SUFFIX="dll"
50044 SO_SUFFIX_MODULE="dll"
50045 DLLIMP_SUFFIX="dll.a"
50046 EXEEXT=".exe"
50047 DLLPREFIX=""
50048 dlldir="$bindir"
50049 ;;
50050 *-pc-msdosdjgpp )
50051 EXEEXT=".exe"
50052 DLLPREFIX=""
50053 dlldir="$bindir"
50054 ;;
50055 *-pc-os2_emx | *-pc-os2-emx )
50056 SO_SUFFIX="dll"
50057 SO_SUFFIX_MODULE="dll"
50058 DLLIMP_SUFFIX=$OS2_LIBEXT
50059 EXEEXT=".exe"
50060 DLLPREFIX=""
50061 LIBPREFIX=""
50062 LIBEXT=".$OS2_LIBEXT"
50063 dlldir="$bindir"
50064 ;;
50065 *-*-darwin* )
50066 SO_SUFFIX="dylib"
50067 SO_SUFFIX_MODULE="bundle"
50068 ;;
50069 esac
50070
50071 if test "x$DLLIMP_SUFFIX" = "x" ; then
50072 DLLIMP_SUFFIX="$SO_SUFFIX"
50073 fi
50074
50075
50076
50077
50078
50079
50080
50081
50082
50083
50084
50085
50086 PIC_FLAG=""
50087 if test "x$GCC" = "xyes"; then
50088 PIC_FLAG="-fPIC"
50089 fi
50090
50091 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50092 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50093 WINDOWS_IMPLIB=0
50094
50095 case "${BAKEFILE_HOST}" in
50096 *-hp-hpux* )
50097 if test "x$GCC" != "xyes"; then
50098 LDFLAGS="$LDFLAGS -L/usr/lib"
50099
50100 SHARED_LD_CC="${CC} -b -o"
50101 SHARED_LD_CXX="${CXX} -b -o"
50102 PIC_FLAG="+Z"
50103 fi
50104 ;;
50105
50106 *-*-linux* )
50107 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50108 PIC_FLAG="-KPIC"
50109 elif test "x$SUNCXX" = "xyes"; then
50110 SHARED_LD_CC="${CC} -G -o"
50111 SHARED_LD_CXX="${CXX} -G -o"
50112 PIC_FLAG="-KPIC"
50113 fi
50114 ;;
50115
50116 *-*-solaris2* )
50117 if test "x$SUNCXX" = xyes ; then
50118 SHARED_LD_CC="${CC} -G -o"
50119 SHARED_LD_CXX="${CXX} -G -o"
50120 PIC_FLAG="-KPIC"
50121 fi
50122 ;;
50123
50124 *-*-darwin* )
50125
50126 D='$'
50127 cat <<EOF >shared-ld-sh
50128 #!/bin/sh
50129 #-----------------------------------------------------------------------------
50130 #-- Name: distrib/mac/shared-ld-sh
50131 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50132 #-- Author: Gilles Depeyrot
50133 #-- Copyright: (c) 2002 Gilles Depeyrot
50134 #-- Licence: any use permitted
50135 #-----------------------------------------------------------------------------
50136
50137 verbose=0
50138 args=""
50139 objects=""
50140 linking_flag="-dynamiclib"
50141 ldargs="-r -keep_private_externs -nostdlib"
50142
50143 if test "x${D}CXX" = "x"; then
50144 CXX="c++"
50145 fi
50146
50147 while test ${D}# -gt 0; do
50148 case ${D}1 in
50149
50150 -v)
50151 verbose=1
50152 ;;
50153
50154 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50155 # collect these options and values
50156 args="${D}{args} ${D}1 ${D}2"
50157 shift
50158 ;;
50159
50160 -arch|-isysroot)
50161 # collect these options and values
50162 ldargs="${D}{ldargs} ${D}1 ${D}2"
50163 shift
50164 ;;
50165
50166 -s|-Wl,*)
50167 # collect these load args
50168 ldargs="${D}{ldargs} ${D}1"
50169 ;;
50170
50171 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50172 # collect these options
50173 args="${D}{args} ${D}1"
50174 ;;
50175
50176 -dynamiclib|-bundle)
50177 linking_flag="${D}1"
50178 ;;
50179
50180 -*)
50181 echo "shared-ld: unhandled option '${D}1'"
50182 exit 1
50183 ;;
50184
50185 *.o | *.a | *.dylib)
50186 # collect object files
50187 objects="${D}{objects} ${D}1"
50188 ;;
50189
50190 *)
50191 echo "shared-ld: unhandled argument '${D}1'"
50192 exit 1
50193 ;;
50194
50195 esac
50196 shift
50197 done
50198
50199 status=0
50200
50201 #
50202 # Link one module containing all the others
50203 #
50204 if test ${D}{verbose} = 1; then
50205 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50206 fi
50207 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50208 status=${D}?
50209
50210 #
50211 # Link the shared library from the single module created, but only if the
50212 # previous command didn't fail:
50213 #
50214 if test ${D}{status} = 0; then
50215 if test ${D}{verbose} = 1; then
50216 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50217 fi
50218 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50219 status=${D}?
50220 fi
50221
50222 #
50223 # Remove intermediate module
50224 #
50225 rm -f master.${D}${D}.o
50226
50227 exit ${D}status
50228 EOF
50229
50230 chmod +x shared-ld-sh
50231
50232 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50233 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50234
50235
50236 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50237 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50238 if test "${bakefile_cv_gcc31+set}" = set; then
50239 echo $ECHO_N "(cached) $ECHO_C" >&6
50240 else
50241
50242 cat >conftest.$ac_ext <<_ACEOF
50243 /* confdefs.h. */
50244 _ACEOF
50245 cat confdefs.h >>conftest.$ac_ext
50246 cat >>conftest.$ac_ext <<_ACEOF
50247 /* end confdefs.h. */
50248
50249 int
50250 main ()
50251 {
50252
50253 #if (__GNUC__ < 3) || \
50254 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50255 This is old gcc
50256 #endif
50257
50258 ;
50259 return 0;
50260 }
50261 _ACEOF
50262 rm -f conftest.$ac_objext
50263 if { (ac_try="$ac_compile"
50264 case "(($ac_try" in
50265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50266 *) ac_try_echo=$ac_try;;
50267 esac
50268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50269 (eval "$ac_compile") 2>conftest.er1
50270 ac_status=$?
50271 grep -v '^ *+' conftest.er1 >conftest.err
50272 rm -f conftest.er1
50273 cat conftest.err >&5
50274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50275 (exit $ac_status); } && {
50276 test -z "$ac_c_werror_flag" ||
50277 test ! -s conftest.err
50278 } && test -s conftest.$ac_objext; then
50279
50280 bakefile_cv_gcc31=yes
50281
50282 else
50283 echo "$as_me: failed program was:" >&5
50284 sed 's/^/| /' conftest.$ac_ext >&5
50285
50286
50287 bakefile_cv_gcc31=no
50288
50289
50290 fi
50291
50292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50293
50294 fi
50295 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50296 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50297 if test "$bakefile_cv_gcc31" = "no"; then
50298 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50299 SHARED_LD_CXX="$SHARED_LD_CC"
50300 else
50301 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50302 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50303 fi
50304
50305 if test "x$GCC" == "xyes"; then
50306 PIC_FLAG="-dynamic -fPIC"
50307 fi
50308 if test "x$XLCC" = "xyes"; then
50309 PIC_FLAG="-dynamic -DPIC"
50310 fi
50311 ;;
50312
50313 *-*-aix* )
50314 if test "x$GCC" = "xyes"; then
50315 PIC_FLAG=""
50316
50317 case "${BAKEFILE_HOST}" in
50318 *-*-aix5* )
50319 LD_EXPFULL="-Wl,-bexpfull"
50320 ;;
50321 esac
50322
50323 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50324 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50325 else
50326 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50327 set dummy makeC++SharedLib; ac_word=$2
50328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50330 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50331 echo $ECHO_N "(cached) $ECHO_C" >&6
50332 else
50333 if test -n "$AIX_CXX_LD"; then
50334 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50335 else
50336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50337 for as_dir in $PATH
50338 do
50339 IFS=$as_save_IFS
50340 test -z "$as_dir" && as_dir=.
50341 for ac_exec_ext in '' $ac_executable_extensions; do
50342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50343 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50345 break 2
50346 fi
50347 done
50348 done
50349 IFS=$as_save_IFS
50350
50351 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50352 fi
50353 fi
50354 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50355 if test -n "$AIX_CXX_LD"; then
50356 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50357 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50358 else
50359 { echo "$as_me:$LINENO: result: no" >&5
50360 echo "${ECHO_T}no" >&6; }
50361 fi
50362
50363
50364 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50365 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50366 fi
50367 ;;
50368
50369 *-*-beos* )
50370 SHARED_LD_CC="${LD} -nostart -o"
50371 SHARED_LD_CXX="${LD} -nostart -o"
50372 ;;
50373
50374 *-*-irix* )
50375 if test "x$GCC" != "xyes"; then
50376 PIC_FLAG="-KPIC"
50377 fi
50378 ;;
50379
50380 *-*-cygwin* | *-*-mingw32* )
50381 PIC_FLAG=""
50382 SHARED_LD_CC="\$(CC) -shared -o"
50383 SHARED_LD_CXX="\$(CXX) -shared -o"
50384 WINDOWS_IMPLIB=1
50385 ;;
50386
50387 *-pc-os2_emx | *-pc-os2-emx )
50388 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50389 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50390 PIC_FLAG=""
50391
50392 D='$'
50393 cat <<EOF >dllar.sh
50394 #!/bin/sh
50395 #
50396 # dllar - a tool to build both a .dll and an .a file
50397 # from a set of object (.o) files for EMX/OS2.
50398 #
50399 # Written by Andrew Zabolotny, bit@freya.etu.ru
50400 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50401 #
50402 # This script will accept a set of files on the command line.
50403 # All the public symbols from the .o files will be exported into
50404 # a .DEF file, then linker will be run (through gcc) against them to
50405 # build a shared library consisting of all given .o files. All libraries
50406 # (.a) will be first decompressed into component .o files then act as
50407 # described above. You can optionally give a description (-d "description")
50408 # which will be put into .DLL. To see the list of accepted options (as well
50409 # as command-line format) simply run this program without options. The .DLL
50410 # is built to be imported by name (there is no guarantee that new versions
50411 # of the library you build will have same ordinals for same symbols).
50412 #
50413 # dllar is free software; you can redistribute it and/or modify
50414 # it under the terms of the GNU General Public License as published by
50415 # the Free Software Foundation; either version 2, or (at your option)
50416 # any later version.
50417 #
50418 # dllar is distributed in the hope that it will be useful,
50419 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50420 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50421 # GNU General Public License for more details.
50422 #
50423 # You should have received a copy of the GNU General Public License
50424 # along with dllar; see the file COPYING. If not, write to the Free
50425 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50426 # 02111-1307, USA.
50427
50428 # To successfuly run this program you will need:
50429 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50430 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50431 # - gcc
50432 # (used to build the .dll)
50433 # - emxexp
50434 # (used to create .def file from .o files)
50435 # - emximp
50436 # (used to create .a file from .def file)
50437 # - GNU text utilites (cat, sort, uniq)
50438 # used to process emxexp output
50439 # - GNU file utilities (mv, rm)
50440 # - GNU sed
50441 # - lxlite (optional, see flag below)
50442 # (used for general .dll cleanup)
50443 #
50444
50445 flag_USE_LXLITE=1;
50446
50447 #
50448 # helper functions
50449 # basnam, variant of basename, which does _not_ remove the path, _iff_
50450 # second argument (suffix to remove) is given
50451 basnam(){
50452 case ${D}# in
50453 1)
50454 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50455 ;;
50456 2)
50457 echo ${D}1 | sed 's/'${D}2'${D}//'
50458 ;;
50459 *)
50460 echo "error in basnam ${D}*"
50461 exit 8
50462 ;;
50463 esac
50464 }
50465
50466 # Cleanup temporary files and output
50467 CleanUp() {
50468 cd ${D}curDir
50469 for i in ${D}inputFiles ; do
50470 case ${D}i in
50471 *!)
50472 rm -rf \`basnam ${D}i !\`
50473 ;;
50474 *)
50475 ;;
50476 esac
50477 done
50478
50479 # Kill result in case of failure as there is just to many stupid make/nmake
50480 # things out there which doesn't do this.
50481 if [ ${D}# -eq 0 ]; then
50482 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50483 fi
50484 }
50485
50486 # Print usage and exit script with rc=1.
50487 PrintHelp() {
50488 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50489 echo ' [-name-mangler-script script.sh]'
50490 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50491 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50492 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50493 echo ' [*.o] [*.a]'
50494 echo '*> "output_file" should have no extension.'
50495 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50496 echo ' The import library name is derived from this and is set to "name".a,'
50497 echo ' unless overridden by -import'
50498 echo '*> "importlib_name" should have no extension.'
50499 echo ' If it has the .o, or .a extension, it is automatically removed.'
50500 echo ' This name is used as the import library name and may be longer and'
50501 echo ' more descriptive than the DLL name which has to follow the old '
50502 echo ' 8.3 convention of FAT.'
50503 echo '*> "script.sh may be given to override the output_file name by a'
50504 echo ' different name. It is mainly useful if the regular make process'
50505 echo ' of some package does not take into account OS/2 restriction of'
50506 echo ' DLL name lengths. It takes the importlib name as input and is'
50507 echo ' supposed to procude a shorter name as output. The script should'
50508 echo ' expect to get importlib_name without extension and should produce'
50509 echo ' a (max.) 8 letter name without extension.'
50510 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50511 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50512 echo ' These flags will be put at the start of GCC command line.'
50513 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50514 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50515 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50516 echo ' If the last character of a symbol is "*", all symbols beginning'
50517 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50518 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50519 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50520 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50521 echo ' C runtime DLLs.'
50522 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50523 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50524 echo ' unchanged to GCC at the end of command line.'
50525 echo '*> If you create a DLL from a library and you do not specify -o,'
50526 echo ' the basename for DLL and import library will be set to library name,'
50527 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50528 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50529 echo ' library will be renamed into gcc_s.a.'
50530 echo '--------'
50531 echo 'Example:'
50532 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50533 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50534 CleanUp
50535 exit 1
50536 }
50537
50538 # Execute a command.
50539 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50540 # @Uses Whatever CleanUp() uses.
50541 doCommand() {
50542 echo "${D}*"
50543 eval ${D}*
50544 rcCmd=${D}?
50545
50546 if [ ${D}rcCmd -ne 0 ]; then
50547 echo "command failed, exit code="${D}rcCmd
50548 CleanUp
50549 exit ${D}rcCmd
50550 fi
50551 }
50552
50553 # main routine
50554 # setup globals
50555 cmdLine=${D}*
50556 outFile=""
50557 outimpFile=""
50558 inputFiles=""
50559 renameScript=""
50560 description=""
50561 CC=gcc.exe
50562 CFLAGS="-s -Zcrtdll"
50563 EXTRA_CFLAGS=""
50564 EXPORT_BY_ORDINALS=0
50565 exclude_symbols=""
50566 library_flags=""
50567 curDir=\`pwd\`
50568 curDirS=curDir
50569 case ${D}curDirS in
50570 */)
50571 ;;
50572 *)
50573 curDirS=${D}{curDirS}"/"
50574 ;;
50575 esac
50576 # Parse commandline
50577 libsToLink=0
50578 omfLinking=0
50579 while [ ${D}1 ]; do
50580 case ${D}1 in
50581 -ord*)
50582 EXPORT_BY_ORDINALS=1;
50583 ;;
50584 -o*)
50585 shift
50586 outFile=${D}1
50587 ;;
50588 -i*)
50589 shift
50590 outimpFile=${D}1
50591 ;;
50592 -name-mangler-script)
50593 shift
50594 renameScript=${D}1
50595 ;;
50596 -d*)
50597 shift
50598 description=${D}1
50599 ;;
50600 -f*)
50601 shift
50602 CFLAGS=${D}1
50603 ;;
50604 -c*)
50605 shift
50606 CC=${D}1
50607 ;;
50608 -h*)
50609 PrintHelp
50610 ;;
50611 -ex*)
50612 shift
50613 exclude_symbols=${D}{exclude_symbols}${D}1" "
50614 ;;
50615 -libf*)
50616 shift
50617 library_flags=${D}{library_flags}${D}1" "
50618 ;;
50619 -nocrt*)
50620 CFLAGS="-s"
50621 ;;
50622 -nolxl*)
50623 flag_USE_LXLITE=0
50624 ;;
50625 -* | /*)
50626 case ${D}1 in
50627 -L* | -l*)
50628 libsToLink=1
50629 ;;
50630 -Zomf)
50631 omfLinking=1
50632 ;;
50633 *)
50634 ;;
50635 esac
50636 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50637 ;;
50638 *.dll)
50639 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50640 if [ ${D}omfLinking -eq 1 ]; then
50641 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50642 else
50643 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50644 fi
50645 ;;
50646 *)
50647 found=0;
50648 if [ ${D}libsToLink -ne 0 ]; then
50649 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50650 else
50651 for file in ${D}1 ; do
50652 if [ -f ${D}file ]; then
50653 inputFiles="${D}{inputFiles} ${D}file"
50654 found=1
50655 fi
50656 done
50657 if [ ${D}found -eq 0 ]; then
50658 echo "ERROR: No file(s) found: "${D}1
50659 exit 8
50660 fi
50661 fi
50662 ;;
50663 esac
50664 shift
50665 done # iterate cmdline words
50666
50667 #
50668 if [ -z "${D}inputFiles" ]; then
50669 echo "dllar: no input files"
50670 PrintHelp
50671 fi
50672
50673 # Now extract all .o files from .a files
50674 newInputFiles=""
50675 for file in ${D}inputFiles ; do
50676 case ${D}file in
50677 *.a | *.lib)
50678 case ${D}file in
50679 *.a)
50680 suffix=".a"
50681 AR="ar"
50682 ;;
50683 *.lib)
50684 suffix=".lib"
50685 AR="emxomfar"
50686 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50687 ;;
50688 *)
50689 ;;
50690 esac
50691 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50692 mkdir ${D}dirname
50693 if [ ${D}? -ne 0 ]; then
50694 echo "Failed to create subdirectory ./${D}dirname"
50695 CleanUp
50696 exit 8;
50697 fi
50698 # Append '!' to indicate archive
50699 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50700 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50701 cd ${D}curDir
50702 found=0;
50703 for subfile in ${D}dirname/*.o* ; do
50704 if [ -f ${D}subfile ]; then
50705 found=1
50706 if [ -s ${D}subfile ]; then
50707 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50708 newInputFiles="${D}newInputFiles ${D}subfile"
50709 fi
50710 fi
50711 done
50712 if [ ${D}found -eq 0 ]; then
50713 echo "WARNING: there are no files in archive \\'${D}file\\'"
50714 fi
50715 ;;
50716 *)
50717 newInputFiles="${D}{newInputFiles} ${D}file"
50718 ;;
50719 esac
50720 done
50721 inputFiles="${D}newInputFiles"
50722
50723 # Output filename(s).
50724 do_backup=0;
50725 if [ -z ${D}outFile ]; then
50726 do_backup=1;
50727 set outFile ${D}inputFiles; outFile=${D}2
50728 fi
50729
50730 # If it is an archive, remove the '!' and the '_%' suffixes
50731 case ${D}outFile in
50732 *_%!)
50733 outFile=\`basnam ${D}outFile _%!\`
50734 ;;
50735 *)
50736 ;;
50737 esac
50738 case ${D}outFile in
50739 *.dll)
50740 outFile=\`basnam ${D}outFile .dll\`
50741 ;;
50742 *.DLL)
50743 outFile=\`basnam ${D}outFile .DLL\`
50744 ;;
50745 *.o)
50746 outFile=\`basnam ${D}outFile .o\`
50747 ;;
50748 *.obj)
50749 outFile=\`basnam ${D}outFile .obj\`
50750 ;;
50751 *.a)
50752 outFile=\`basnam ${D}outFile .a\`
50753 ;;
50754 *.lib)
50755 outFile=\`basnam ${D}outFile .lib\`
50756 ;;
50757 *)
50758 ;;
50759 esac
50760 case ${D}outimpFile in
50761 *.a)
50762 outimpFile=\`basnam ${D}outimpFile .a\`
50763 ;;
50764 *.lib)
50765 outimpFile=\`basnam ${D}outimpFile .lib\`
50766 ;;
50767 *)
50768 ;;
50769 esac
50770 if [ -z ${D}outimpFile ]; then
50771 outimpFile=${D}outFile
50772 fi
50773 defFile="${D}{outFile}.def"
50774 arcFile="${D}{outimpFile}.a"
50775 arcFile2="${D}{outimpFile}.lib"
50776
50777 #create ${D}dllFile as something matching 8.3 restrictions,
50778 if [ -z ${D}renameScript ] ; then
50779 dllFile="${D}outFile"
50780 else
50781 dllFile=\`${D}renameScript ${D}outimpFile\`
50782 fi
50783
50784 if [ ${D}do_backup -ne 0 ] ; then
50785 if [ -f ${D}arcFile ] ; then
50786 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50787 fi
50788 if [ -f ${D}arcFile2 ] ; then
50789 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50790 fi
50791 fi
50792
50793 # Extract public symbols from all the object files.
50794 tmpdefFile=${D}{defFile}_%
50795 rm -f ${D}tmpdefFile
50796 for file in ${D}inputFiles ; do
50797 case ${D}file in
50798 *!)
50799 ;;
50800 *)
50801 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50802 ;;
50803 esac
50804 done
50805
50806 # Create the def file.
50807 rm -f ${D}defFile
50808 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50809 dllFile="${D}{dllFile}.dll"
50810 if [ ! -z ${D}description ]; then
50811 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50812 fi
50813 echo "EXPORTS" >> ${D}defFile
50814
50815 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50816 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50817
50818 # Checks if the export is ok or not.
50819 for word in ${D}exclude_symbols; do
50820 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50821 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50822 done
50823
50824
50825 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50826 sed "=" < ${D}tmpdefFile | \\
50827 sed '
50828 N
50829 : loop
50830 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50831 t loop
50832 ' > ${D}{tmpdefFile}%
50833 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50834 else
50835 rm -f ${D}{tmpdefFile}%
50836 fi
50837 cat ${D}tmpdefFile >> ${D}defFile
50838 rm -f ${D}tmpdefFile
50839
50840 # Do linking, create implib, and apply lxlite.
50841 gccCmdl="";
50842 for file in ${D}inputFiles ; do
50843 case ${D}file in
50844 *!)
50845 ;;
50846 *)
50847 gccCmdl="${D}gccCmdl ${D}file"
50848 ;;
50849 esac
50850 done
50851 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50852 touch "${D}{outFile}.dll"
50853
50854 doCommand "emximp -o ${D}arcFile ${D}defFile"
50855 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50856 add_flags="";
50857 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50858 add_flags="-ynd"
50859 fi
50860 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50861 fi
50862 doCommand "emxomf -s -l ${D}arcFile"
50863
50864 # Successful exit.
50865 CleanUp 1
50866 exit 0
50867 EOF
50868
50869 chmod +x dllar.sh
50870 ;;
50871
50872 powerpc-apple-macos* | \
50873 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50874 *-*-mirbsd* | \
50875 *-*-sunos4* | \
50876 *-*-osf* | \
50877 *-*-dgux5* | \
50878 *-*-sysv5* | \
50879 *-pc-msdosdjgpp )
50880 ;;
50881
50882 *)
50883 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50884 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50885 { (exit 1); exit 1; }; }
50886 esac
50887
50888 if test "x$PIC_FLAG" != "x" ; then
50889 PIC_FLAG="$PIC_FLAG -DPIC"
50890 fi
50891
50892 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50893 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50894 fi
50895 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50896 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50897 fi
50898
50899
50900
50901
50902
50903
50904
50905
50906
50907 USE_SOVERSION=0
50908 USE_SOVERLINUX=0
50909 USE_SOVERSOLARIS=0
50910 USE_SOVERCYGWIN=0
50911 USE_SOTWOSYMLINKS=0
50912 USE_MACVERSION=0
50913 SONAME_FLAG=
50914
50915 case "${BAKEFILE_HOST}" in
50916 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50917 *-*-k*bsd*-gnu | *-*-mirbsd* )
50918 if test "x$SUNCXX" = "xyes"; then
50919 SONAME_FLAG="-h "
50920 else
50921 SONAME_FLAG="-Wl,-soname,"
50922 fi
50923 USE_SOVERSION=1
50924 USE_SOVERLINUX=1
50925 USE_SOTWOSYMLINKS=1
50926 ;;
50927
50928 *-*-solaris2* )
50929 SONAME_FLAG="-h "
50930 USE_SOVERSION=1
50931 USE_SOVERSOLARIS=1
50932 ;;
50933
50934 *-*-darwin* )
50935 USE_MACVERSION=1
50936 USE_SOVERSION=1
50937 USE_SOTWOSYMLINKS=1
50938 ;;
50939
50940 *-*-cygwin* )
50941 USE_SOVERSION=1
50942 USE_SOVERCYGWIN=1
50943 ;;
50944 esac
50945
50946
50947
50948
50949
50950
50951
50952
50953
50954
50955 # Check whether --enable-dependency-tracking was given.
50956 if test "${enable_dependency_tracking+set}" = set; then
50957 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
50958 fi
50959
50960
50961 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50962 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
50963
50964 BK_DEPS=""
50965 if test "x$bk_use_trackdeps" = "xno" ; then
50966 DEPS_TRACKING=0
50967 { echo "$as_me:$LINENO: result: disabled" >&5
50968 echo "${ECHO_T}disabled" >&6; }
50969 else
50970 DEPS_TRACKING=1
50971
50972 if test "x$GCC" = "xyes"; then
50973 DEPSMODE=gcc
50974 case "${BAKEFILE_HOST}" in
50975 *-*-darwin* )
50976 DEPSFLAG="-no-cpp-precomp -MMD"
50977 ;;
50978 * )
50979 DEPSFLAG="-MMD"
50980 ;;
50981 esac
50982 { echo "$as_me:$LINENO: result: gcc" >&5
50983 echo "${ECHO_T}gcc" >&6; }
50984 elif test "x$MWCC" = "xyes"; then
50985 DEPSMODE=mwcc
50986 DEPSFLAG="-MM"
50987 { echo "$as_me:$LINENO: result: mwcc" >&5
50988 echo "${ECHO_T}mwcc" >&6; }
50989 elif test "x$SUNCC" = "xyes"; then
50990 DEPSMODE=unixcc
50991 DEPSFLAG="-xM1"
50992 { echo "$as_me:$LINENO: result: Sun cc" >&5
50993 echo "${ECHO_T}Sun cc" >&6; }
50994 elif test "x$SGICC" = "xyes"; then
50995 DEPSMODE=unixcc
50996 DEPSFLAG="-M"
50997 { echo "$as_me:$LINENO: result: SGI cc" >&5
50998 echo "${ECHO_T}SGI cc" >&6; }
50999 elif test "x$HPCC" = "xyes"; then
51000 DEPSMODE=unixcc
51001 DEPSFLAG="+make"
51002 { echo "$as_me:$LINENO: result: HP cc" >&5
51003 echo "${ECHO_T}HP cc" >&6; }
51004 elif test "x$COMPAQCC" = "xyes"; then
51005 DEPSMODE=gcc
51006 DEPSFLAG="-MD"
51007 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51008 echo "${ECHO_T}Compaq cc" >&6; }
51009 else
51010 DEPS_TRACKING=0
51011 { echo "$as_me:$LINENO: result: none" >&5
51012 echo "${ECHO_T}none" >&6; }
51013 fi
51014
51015 if test $DEPS_TRACKING = 1 ; then
51016
51017 D='$'
51018 cat <<EOF >bk-deps
51019 #!/bin/sh
51020
51021 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51022 # script. It is used to track C/C++ files dependencies in portable way.
51023 #
51024 # Permission is given to use this file in any way.
51025
51026 DEPSMODE=${DEPSMODE}
51027 DEPSFLAG="${DEPSFLAG}"
51028 DEPSDIRBASE=.deps
51029
51030 if test ${D}DEPSMODE = gcc ; then
51031 ${D}* ${D}{DEPSFLAG}
51032 status=${D}?
51033
51034 # determine location of created files:
51035 while test ${D}# -gt 0; do
51036 case "${D}1" in
51037 -o )
51038 shift
51039 objfile=${D}1
51040 ;;
51041 -* )
51042 ;;
51043 * )
51044 srcfile=${D}1
51045 ;;
51046 esac
51047 shift
51048 done
51049 objfilebase=\`basename ${D}objfile\`
51050 builddir=\`dirname ${D}objfile\`
51051 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51052 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51053 depsdir=${D}builddir/${D}DEPSDIRBASE
51054 mkdir -p ${D}depsdir
51055
51056 # if the compiler failed, we're done:
51057 if test ${D}{status} != 0 ; then
51058 rm -f ${D}depfile
51059 exit ${D}{status}
51060 fi
51061
51062 # move created file to the location we want it in:
51063 if test -f ${D}depfile ; then
51064 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51065 rm -f ${D}depfile
51066 else
51067 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51068 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51069 if test ! -f ${D}depfile ; then
51070 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51071 depfile="${D}objfile.d"
51072 fi
51073 if test -f ${D}depfile ; then
51074 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51075 rm -f ${D}depfile
51076 fi
51077 fi
51078 exit 0
51079
51080 elif test ${D}DEPSMODE = mwcc ; then
51081 ${D}* || exit ${D}?
51082 # Run mwcc again with -MM and redirect into the dep file we want
51083 # NOTE: We can't use shift here because we need ${D}* to be valid
51084 prevarg=
51085 for arg in ${D}* ; do
51086 if test "${D}prevarg" = "-o"; then
51087 objfile=${D}arg
51088 else
51089 case "${D}arg" in
51090 -* )
51091 ;;
51092 * )
51093 srcfile=${D}arg
51094 ;;
51095 esac
51096 fi
51097 prevarg="${D}arg"
51098 done
51099
51100 objfilebase=\`basename ${D}objfile\`
51101 builddir=\`dirname ${D}objfile\`
51102 depsdir=${D}builddir/${D}DEPSDIRBASE
51103 mkdir -p ${D}depsdir
51104
51105 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51106 exit 0
51107
51108 elif test ${D}DEPSMODE = unixcc; then
51109 ${D}* || exit ${D}?
51110 # Run compiler again with deps flag and redirect into the dep file.
51111 # It doesn't work if the '-o FILE' option is used, but without it the
51112 # dependency file will contain the wrong name for the object. So it is
51113 # removed from the command line, and the dep file is fixed with sed.
51114 cmd=""
51115 while test ${D}# -gt 0; do
51116 case "${D}1" in
51117 -o )
51118 shift
51119 objfile=${D}1
51120 ;;
51121 * )
51122 eval arg${D}#=\\${D}1
51123 cmd="${D}cmd \\${D}arg${D}#"
51124 ;;
51125 esac
51126 shift
51127 done
51128
51129 objfilebase=\`basename ${D}objfile\`
51130 builddir=\`dirname ${D}objfile\`
51131 depsdir=${D}builddir/${D}DEPSDIRBASE
51132 mkdir -p ${D}depsdir
51133
51134 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51135 exit 0
51136
51137 else
51138 ${D}*
51139 exit ${D}?
51140 fi
51141 EOF
51142
51143 chmod +x bk-deps
51144 BK_DEPS="`pwd`/bk-deps"
51145 fi
51146 fi
51147
51148
51149
51150
51151
51152 case ${BAKEFILE_HOST} in
51153 *-*-cygwin* | *-*-mingw32* )
51154 if test -n "$ac_tool_prefix"; then
51155 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51156 set dummy ${ac_tool_prefix}windres; ac_word=$2
51157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51159 if test "${ac_cv_prog_WINDRES+set}" = set; then
51160 echo $ECHO_N "(cached) $ECHO_C" >&6
51161 else
51162 if test -n "$WINDRES"; then
51163 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51164 else
51165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51166 for as_dir in $PATH
51167 do
51168 IFS=$as_save_IFS
51169 test -z "$as_dir" && as_dir=.
51170 for ac_exec_ext in '' $ac_executable_extensions; do
51171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51172 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51174 break 2
51175 fi
51176 done
51177 done
51178 IFS=$as_save_IFS
51179
51180 fi
51181 fi
51182 WINDRES=$ac_cv_prog_WINDRES
51183 if test -n "$WINDRES"; then
51184 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51185 echo "${ECHO_T}$WINDRES" >&6; }
51186 else
51187 { echo "$as_me:$LINENO: result: no" >&5
51188 echo "${ECHO_T}no" >&6; }
51189 fi
51190
51191
51192 fi
51193 if test -z "$ac_cv_prog_WINDRES"; then
51194 ac_ct_WINDRES=$WINDRES
51195 # Extract the first word of "windres", so it can be a program name with args.
51196 set dummy windres; ac_word=$2
51197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51199 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51200 echo $ECHO_N "(cached) $ECHO_C" >&6
51201 else
51202 if test -n "$ac_ct_WINDRES"; then
51203 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51204 else
51205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51206 for as_dir in $PATH
51207 do
51208 IFS=$as_save_IFS
51209 test -z "$as_dir" && as_dir=.
51210 for ac_exec_ext in '' $ac_executable_extensions; do
51211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51212 ac_cv_prog_ac_ct_WINDRES="windres"
51213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51214 break 2
51215 fi
51216 done
51217 done
51218 IFS=$as_save_IFS
51219
51220 fi
51221 fi
51222 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51223 if test -n "$ac_ct_WINDRES"; then
51224 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51225 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51226 else
51227 { echo "$as_me:$LINENO: result: no" >&5
51228 echo "${ECHO_T}no" >&6; }
51229 fi
51230
51231 if test "x$ac_ct_WINDRES" = x; then
51232 WINDRES=""
51233 else
51234 case $cross_compiling:$ac_tool_warned in
51235 yes:)
51236 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51237 whose name does not start with the host triplet. If you think this
51238 configuration is useful to you, please write to autoconf@gnu.org." >&5
51239 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51240 whose name does not start with the host triplet. If you think this
51241 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51242 ac_tool_warned=yes ;;
51243 esac
51244 WINDRES=$ac_ct_WINDRES
51245 fi
51246 else
51247 WINDRES="$ac_cv_prog_WINDRES"
51248 fi
51249
51250 ;;
51251
51252 *-*-darwin* | powerpc-apple-macos* )
51253 # Extract the first word of "Rez", so it can be a program name with args.
51254 set dummy Rez; ac_word=$2
51255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51257 if test "${ac_cv_prog_REZ+set}" = set; then
51258 echo $ECHO_N "(cached) $ECHO_C" >&6
51259 else
51260 if test -n "$REZ"; then
51261 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51262 else
51263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51264 for as_dir in $PATH
51265 do
51266 IFS=$as_save_IFS
51267 test -z "$as_dir" && as_dir=.
51268 for ac_exec_ext in '' $ac_executable_extensions; do
51269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51270 ac_cv_prog_REZ="Rez"
51271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51272 break 2
51273 fi
51274 done
51275 done
51276 IFS=$as_save_IFS
51277
51278 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51279 fi
51280 fi
51281 REZ=$ac_cv_prog_REZ
51282 if test -n "$REZ"; then
51283 { echo "$as_me:$LINENO: result: $REZ" >&5
51284 echo "${ECHO_T}$REZ" >&6; }
51285 else
51286 { echo "$as_me:$LINENO: result: no" >&5
51287 echo "${ECHO_T}no" >&6; }
51288 fi
51289
51290
51291 # Extract the first word of "SetFile", so it can be a program name with args.
51292 set dummy SetFile; ac_word=$2
51293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51295 if test "${ac_cv_prog_SETFILE+set}" = set; then
51296 echo $ECHO_N "(cached) $ECHO_C" >&6
51297 else
51298 if test -n "$SETFILE"; then
51299 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51300 else
51301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51302 for as_dir in $PATH
51303 do
51304 IFS=$as_save_IFS
51305 test -z "$as_dir" && as_dir=.
51306 for ac_exec_ext in '' $ac_executable_extensions; do
51307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51308 ac_cv_prog_SETFILE="SetFile"
51309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51310 break 2
51311 fi
51312 done
51313 done
51314 IFS=$as_save_IFS
51315
51316 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51317 fi
51318 fi
51319 SETFILE=$ac_cv_prog_SETFILE
51320 if test -n "$SETFILE"; then
51321 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51322 echo "${ECHO_T}$SETFILE" >&6; }
51323 else
51324 { echo "$as_me:$LINENO: result: no" >&5
51325 echo "${ECHO_T}no" >&6; }
51326 fi
51327
51328
51329 ;;
51330 esac
51331
51332
51333
51334
51335
51336
51337
51338
51339
51340 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51341
51342
51343 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51344
51345
51346
51347 # Check whether --enable-precomp-headers was given.
51348 if test "${enable_precomp_headers+set}" = set; then
51349 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51350 fi
51351
51352
51353 GCC_PCH=0
51354 ICC_PCH=0
51355 USE_PCH=0
51356 BK_MAKE_PCH=""
51357
51358 case ${BAKEFILE_HOST} in
51359 *-*-cygwin* )
51360 bk_use_pch="no"
51361 ;;
51362 esac
51363
51364 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51365 if test "x$GCC" = "xyes"; then
51366 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51367 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51368 cat >conftest.$ac_ext <<_ACEOF
51369 /* confdefs.h. */
51370 _ACEOF
51371 cat confdefs.h >>conftest.$ac_ext
51372 cat >>conftest.$ac_ext <<_ACEOF
51373 /* end confdefs.h. */
51374
51375 int
51376 main ()
51377 {
51378
51379 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51380 There is no PCH support
51381 #endif
51382 #if (__GNUC__ < 3)
51383 There is no PCH support
51384 #endif
51385 #if (__GNUC__ == 3) && \
51386 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51387 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51388 ( defined(__INTEL_COMPILER) )
51389 There is no PCH support
51390 #endif
51391
51392 ;
51393 return 0;
51394 }
51395 _ACEOF
51396 rm -f conftest.$ac_objext
51397 if { (ac_try="$ac_compile"
51398 case "(($ac_try" in
51399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51400 *) ac_try_echo=$ac_try;;
51401 esac
51402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51403 (eval "$ac_compile") 2>conftest.er1
51404 ac_status=$?
51405 grep -v '^ *+' conftest.er1 >conftest.err
51406 rm -f conftest.er1
51407 cat conftest.err >&5
51408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51409 (exit $ac_status); } && {
51410 test -z "$ac_c_werror_flag" ||
51411 test ! -s conftest.err
51412 } && test -s conftest.$ac_objext; then
51413
51414 { echo "$as_me:$LINENO: result: yes" >&5
51415 echo "${ECHO_T}yes" >&6; }
51416 GCC_PCH=1
51417
51418 else
51419 echo "$as_me: failed program was:" >&5
51420 sed 's/^/| /' conftest.$ac_ext >&5
51421
51422
51423 if test "$INTELCXX8" = "yes"; then
51424 { echo "$as_me:$LINENO: result: yes" >&5
51425 echo "${ECHO_T}yes" >&6; }
51426 ICC_PCH=1
51427 if test "$INTELCXX10" = "yes"; then
51428 ICC_PCH_CREATE_SWITCH="-pch-create"
51429 ICC_PCH_USE_SWITCH="-pch-use"
51430 else
51431 ICC_PCH_CREATE_SWITCH="-create-pch"
51432 ICC_PCH_USE_SWITCH="-use-pch"
51433 fi
51434 else
51435 { echo "$as_me:$LINENO: result: no" >&5
51436 echo "${ECHO_T}no" >&6; }
51437 fi
51438
51439 fi
51440
51441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51442 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51443 USE_PCH=1
51444
51445 D='$'
51446 cat <<EOF >bk-make-pch
51447 #!/bin/sh
51448
51449 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51450 # script. It is used to generated precompiled headers.
51451 #
51452 # Permission is given to use this file in any way.
51453
51454 outfile="${D}{1}"
51455 header="${D}{2}"
51456 shift
51457 shift
51458
51459 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51460
51461 compiler=""
51462 headerfile=""
51463
51464 while test ${D}{#} -gt 0; do
51465 add_to_cmdline=1
51466 case "${D}{1}" in
51467 -I* )
51468 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51469 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51470 headerfile="${D}{incdir}/${D}{header}"
51471 fi
51472 ;;
51473 -use-pch|-use_pch|-pch-use )
51474 shift
51475 add_to_cmdline=0
51476 ;;
51477 esac
51478 if test ${D}add_to_cmdline = 1 ; then
51479 compiler="${D}{compiler} ${D}{1}"
51480 fi
51481 shift
51482 done
51483
51484 if test "x${D}{headerfile}" = "x" ; then
51485 echo "error: can't find header ${D}{header} in include paths" >&2
51486 else
51487 if test -f ${D}{outfile} ; then
51488 rm -f ${D}{outfile}
51489 else
51490 mkdir -p \`dirname ${D}{outfile}\`
51491 fi
51492 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51493 mkdir -p ${D}{builddir}/.deps
51494 if test "x${GCC_PCH}" = "x1" ; then
51495 # can do this because gcc is >= 3.4:
51496 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51497 elif test "x${ICC_PCH}" = "x1" ; then
51498 filename=pch_gen-${D}${D}
51499 file=${D}{filename}.c
51500 dfile=${D}{filename}.d
51501 cat > ${D}file <<EOT
51502 #include "${D}header"
51503 EOT
51504 # using -MF icc complains about differing command lines in creation/use
51505 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51506 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51507 rm -f ${D}file ${D}dfile ${D}{filename}.o
51508 fi
51509 exit ${D}{?}
51510 fi
51511 EOF
51512
51513 chmod +x bk-make-pch
51514 BK_MAKE_PCH="`pwd`/bk-make-pch"
51515 fi
51516 fi
51517 fi
51518
51519
51520
51521
51522
51523
51524
51525 COND_BUILD_DEBUG="#"
51526 if test "x$BUILD" = "xdebug" ; then
51527 COND_BUILD_DEBUG=""
51528 fi
51529
51530 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51531 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51532 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51533 fi
51534
51535 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51536 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51537 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51538 fi
51539
51540 COND_BUILD_DEBUG_UNICODE_0="#"
51541 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51542 COND_BUILD_DEBUG_UNICODE_0=""
51543 fi
51544
51545 COND_BUILD_DEBUG_UNICODE_1="#"
51546 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51547 COND_BUILD_DEBUG_UNICODE_1=""
51548 fi
51549
51550 COND_BUILD_RELEASE="#"
51551 if test "x$BUILD" = "xrelease" ; then
51552 COND_BUILD_RELEASE=""
51553 fi
51554
51555 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51556 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51557 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51558 fi
51559
51560 COND_BUILD_RELEASE_UNICODE_0="#"
51561 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51562 COND_BUILD_RELEASE_UNICODE_0=""
51563 fi
51564
51565 COND_BUILD_RELEASE_UNICODE_1="#"
51566 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51567 COND_BUILD_RELEASE_UNICODE_1=""
51568 fi
51569
51570 COND_BUILD_debug="#"
51571 if test "x$BUILD" = "xdebug" ; then
51572 COND_BUILD_debug=""
51573 fi
51574
51575 COND_BUILD_debug_DEBUG_FLAG_default="#"
51576 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51577 COND_BUILD_debug_DEBUG_FLAG_default=""
51578 fi
51579
51580 COND_BUILD_debug_DEBUG_INFO_default="#"
51581 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51582 COND_BUILD_debug_DEBUG_INFO_default=""
51583 fi
51584
51585 COND_BUILD_debug_UNICODE_0="#"
51586 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51587 COND_BUILD_debug_UNICODE_0=""
51588 fi
51589
51590 COND_BUILD_debug_UNICODE_1="#"
51591 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51592 COND_BUILD_debug_UNICODE_1=""
51593 fi
51594
51595 COND_BUILD_release="#"
51596 if test "x$BUILD" = "xrelease" ; then
51597 COND_BUILD_release=""
51598 fi
51599
51600 COND_BUILD_release_DEBUG_INFO_default="#"
51601 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51602 COND_BUILD_release_DEBUG_INFO_default=""
51603 fi
51604
51605 COND_BUILD_release_UNICODE_0="#"
51606 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51607 COND_BUILD_release_UNICODE_0=""
51608 fi
51609
51610 COND_BUILD_release_UNICODE_1="#"
51611 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51612 COND_BUILD_release_UNICODE_1=""
51613 fi
51614
51615 COND_DEBUG_FLAG_0="#"
51616 if test "x$DEBUG_FLAG" = "x0" ; then
51617 COND_DEBUG_FLAG_0=""
51618 fi
51619
51620 COND_DEBUG_FLAG_1="#"
51621 if test "x$DEBUG_FLAG" = "x1" ; then
51622 COND_DEBUG_FLAG_1=""
51623 fi
51624
51625 COND_DEBUG_INFO_0="#"
51626 if test "x$DEBUG_INFO" = "x0" ; then
51627 COND_DEBUG_INFO_0=""
51628 fi
51629
51630 COND_DEBUG_INFO_1="#"
51631 if test "x$DEBUG_INFO" = "x1" ; then
51632 COND_DEBUG_INFO_1=""
51633 fi
51634
51635 COND_DEPS_TRACKING_0="#"
51636 if test "x$DEPS_TRACKING" = "x0" ; then
51637 COND_DEPS_TRACKING_0=""
51638 fi
51639
51640 COND_DEPS_TRACKING_1="#"
51641 if test "x$DEPS_TRACKING" = "x1" ; then
51642 COND_DEPS_TRACKING_1=""
51643 fi
51644
51645 COND_GCC_PCH_1="#"
51646 if test "x$GCC_PCH" = "x1" ; then
51647 COND_GCC_PCH_1=""
51648 fi
51649
51650 COND_ICC_PCH_1="#"
51651 if test "x$ICC_PCH" = "x1" ; then
51652 COND_ICC_PCH_1=""
51653 fi
51654
51655 COND_MONOLITHIC_0="#"
51656 if test "x$MONOLITHIC" = "x0" ; then
51657 COND_MONOLITHIC_0=""
51658 fi
51659
51660 COND_MONOLITHIC_0_SHARED_0="#"
51661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51662 COND_MONOLITHIC_0_SHARED_0=""
51663 fi
51664
51665 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51666 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51667 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51668 fi
51669
51670 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51671 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51672 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51673 fi
51674
51675 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51676 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51677 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51678 fi
51679
51680 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51681 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51682 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51683 fi
51684
51685 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51687 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51688 fi
51689
51690 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51692 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51693 fi
51694
51695 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51697 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51698 fi
51699
51700 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51702 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51703 fi
51704
51705 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51707 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51708 fi
51709
51710 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51712 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51713 fi
51714
51715 COND_MONOLITHIC_0_SHARED_1="#"
51716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51717 COND_MONOLITHIC_0_SHARED_1=""
51718 fi
51719
51720 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51722 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51723 fi
51724
51725 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51727 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51728 fi
51729
51730 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51732 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51733 fi
51734
51735 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51737 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51738 fi
51739
51740 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51742 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51743 fi
51744
51745 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51747 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51748 fi
51749
51750 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51751 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51752 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51753 fi
51754
51755 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51756 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51757 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51758 fi
51759
51760 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51761 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51762 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51763 fi
51764
51765 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51766 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51767 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51768 fi
51769
51770 COND_MONOLITHIC_0_USE_AUI_1="#"
51771 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51772 COND_MONOLITHIC_0_USE_AUI_1=""
51773 fi
51774
51775 COND_MONOLITHIC_0_USE_GUI_1="#"
51776 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51777 COND_MONOLITHIC_0_USE_GUI_1=""
51778 fi
51779
51780 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51781 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51782 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51783 fi
51784
51785 COND_MONOLITHIC_0_USE_HTML_1="#"
51786 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51787 COND_MONOLITHIC_0_USE_HTML_1=""
51788 fi
51789
51790 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51791 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51792 COND_MONOLITHIC_0_USE_MEDIA_1=""
51793 fi
51794
51795 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51796 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51797 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51798 fi
51799
51800 COND_MONOLITHIC_0_USE_QA_1="#"
51801 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51802 COND_MONOLITHIC_0_USE_QA_1=""
51803 fi
51804
51805 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51806 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51807 COND_MONOLITHIC_0_USE_RIBBON_1=""
51808 fi
51809
51810 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51811 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51812 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51813 fi
51814
51815 COND_MONOLITHIC_0_USE_STC_1="#"
51816 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51817 COND_MONOLITHIC_0_USE_STC_1=""
51818 fi
51819
51820 COND_MONOLITHIC_0_USE_XRC_1="#"
51821 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51822 COND_MONOLITHIC_0_USE_XRC_1=""
51823 fi
51824
51825 COND_MONOLITHIC_1="#"
51826 if test "x$MONOLITHIC" = "x1" ; then
51827 COND_MONOLITHIC_1=""
51828 fi
51829
51830 COND_MONOLITHIC_1_SHARED_0="#"
51831 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51832 COND_MONOLITHIC_1_SHARED_0=""
51833 fi
51834
51835 COND_MONOLITHIC_1_SHARED_1="#"
51836 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51837 COND_MONOLITHIC_1_SHARED_1=""
51838 fi
51839
51840 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51841 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51842 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51843 fi
51844
51845 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51846 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51847 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51848 fi
51849
51850 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51851 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51852 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51853 fi
51854
51855 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51856 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51857 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51858 fi
51859
51860 COND_PLATFORM_MACOSX_1="#"
51861 if test "x$PLATFORM_MACOSX" = "x1" ; then
51862 COND_PLATFORM_MACOSX_1=""
51863 fi
51864
51865 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51866 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51867 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51868 fi
51869
51870 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51871 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51872 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51873 fi
51874
51875 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51876 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51877 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51878 fi
51879
51880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51881 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51883 fi
51884
51885 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51886 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51888 fi
51889
51890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51891 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51893 fi
51894
51895 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51896 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51897 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51898 fi
51899
51900 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51901 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51902 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51903 fi
51904
51905 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51906 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51907 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51908 fi
51909
51910 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51911 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51912 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51913 fi
51914
51915 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51916 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51917 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51918 fi
51919
51920 COND_PLATFORM_MACOS_1="#"
51921 if test "x$PLATFORM_MACOS" = "x1" ; then
51922 COND_PLATFORM_MACOS_1=""
51923 fi
51924
51925 COND_PLATFORM_MAC_0="#"
51926 if test "x$PLATFORM_MAC" = "x0" ; then
51927 COND_PLATFORM_MAC_0=""
51928 fi
51929
51930 COND_PLATFORM_MAC_1="#"
51931 if test "x$PLATFORM_MAC" = "x1" ; then
51932 COND_PLATFORM_MAC_1=""
51933 fi
51934
51935 COND_PLATFORM_MSDOS_0="#"
51936 if test "x$PLATFORM_MSDOS" = "x0" ; then
51937 COND_PLATFORM_MSDOS_0=""
51938 fi
51939
51940 COND_PLATFORM_MSDOS_1="#"
51941 if test "x$PLATFORM_MSDOS" = "x1" ; then
51942 COND_PLATFORM_MSDOS_1=""
51943 fi
51944
51945 COND_PLATFORM_OS2_1="#"
51946 if test "x$PLATFORM_OS2" = "x1" ; then
51947 COND_PLATFORM_OS2_1=""
51948 fi
51949
51950 COND_PLATFORM_UNIX_0="#"
51951 if test "x$PLATFORM_UNIX" = "x0" ; then
51952 COND_PLATFORM_UNIX_0=""
51953 fi
51954
51955 COND_PLATFORM_UNIX_1="#"
51956 if test "x$PLATFORM_UNIX" = "x1" ; then
51957 COND_PLATFORM_UNIX_1=""
51958 fi
51959
51960 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51961 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51962 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51963 fi
51964
51965 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51966 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51967 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51968 fi
51969
51970 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51971 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51972 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51973 fi
51974
51975 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51976 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51977 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51978 fi
51979
51980 COND_PLATFORM_WIN32_0="#"
51981 if test "x$PLATFORM_WIN32" = "x0" ; then
51982 COND_PLATFORM_WIN32_0=""
51983 fi
51984
51985 COND_PLATFORM_WIN32_1="#"
51986 if test "x$PLATFORM_WIN32" = "x1" ; then
51987 COND_PLATFORM_WIN32_1=""
51988 fi
51989
51990 COND_PLATFORM_WIN32_1_SHARED_0="#"
51991 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51992 COND_PLATFORM_WIN32_1_SHARED_0=""
51993 fi
51994
51995 COND_SHARED_0="#"
51996 if test "x$SHARED" = "x0" ; then
51997 COND_SHARED_0=""
51998 fi
51999
52000 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52001 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52002 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52003 fi
52004
52005 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52006 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52007 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52008 fi
52009
52010 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52011 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52012 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52013 fi
52014
52015 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52016 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52017 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52018 fi
52019
52020 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52021 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52022 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52023 fi
52024
52025 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52026 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52027 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52028 fi
52029
52030 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52031 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52032 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52033 fi
52034
52035 COND_SHARED_0_USE_STC_1="#"
52036 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52037 COND_SHARED_0_USE_STC_1=""
52038 fi
52039
52040 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52041 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52042 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52043 fi
52044
52045 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52046 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52047 COND_SHARED_0_wxUSE_REGEX_builtin=""
52048 fi
52049
52050 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52051 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52052 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52053 fi
52054
52055 COND_SHARED_1="#"
52056 if test "x$SHARED" = "x1" ; then
52057 COND_SHARED_1=""
52058 fi
52059
52060 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52061 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52062 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52063 fi
52064
52065 COND_TOOLKIT_="#"
52066 if test "x$TOOLKIT" = "x" ; then
52067 COND_TOOLKIT_=""
52068 fi
52069
52070 COND_TOOLKIT_COCOA="#"
52071 if test "x$TOOLKIT" = "xCOCOA" ; then
52072 COND_TOOLKIT_COCOA=""
52073 fi
52074
52075 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52076 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52077 COND_TOOLKIT_COCOA_USE_GUI_1=""
52078 fi
52079
52080 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52081 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52082 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52083 fi
52084
52085 COND_TOOLKIT_DFB="#"
52086 if test "x$TOOLKIT" = "xDFB" ; then
52087 COND_TOOLKIT_DFB=""
52088 fi
52089
52090 COND_TOOLKIT_DFB_USE_GUI_1="#"
52091 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52092 COND_TOOLKIT_DFB_USE_GUI_1=""
52093 fi
52094
52095 COND_TOOLKIT_GTK="#"
52096 if test "x$TOOLKIT" = "xGTK" ; then
52097 COND_TOOLKIT_GTK=""
52098 fi
52099
52100 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52101 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52102 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52103 fi
52104
52105 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52106 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52107 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52108 fi
52109
52110 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52111 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52112 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52113 fi
52114
52115 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52116 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52117 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52118 fi
52119
52120 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52121 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52122 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52123 fi
52124
52125 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52126 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52127 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52128 fi
52129
52130 COND_TOOLKIT_GTK_USE_GUI_1="#"
52131 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52132 COND_TOOLKIT_GTK_USE_GUI_1=""
52133 fi
52134
52135 COND_TOOLKIT_MAC="#"
52136 if test "x$TOOLKIT" = "xMAC" ; then
52137 COND_TOOLKIT_MAC=""
52138 fi
52139
52140 COND_TOOLKIT_MGL="#"
52141 if test "x$TOOLKIT" = "xMGL" ; then
52142 COND_TOOLKIT_MGL=""
52143 fi
52144
52145 COND_TOOLKIT_MGL_USE_GUI_1="#"
52146 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52147 COND_TOOLKIT_MGL_USE_GUI_1=""
52148 fi
52149
52150 COND_TOOLKIT_MOTIF="#"
52151 if test "x$TOOLKIT" = "xMOTIF" ; then
52152 COND_TOOLKIT_MOTIF=""
52153 fi
52154
52155 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52156 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52157 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52158 fi
52159
52160 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52161 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52162 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52163 fi
52164
52165 COND_TOOLKIT_MSW="#"
52166 if test "x$TOOLKIT" = "xMSW" ; then
52167 COND_TOOLKIT_MSW=""
52168 fi
52169
52170 COND_TOOLKIT_MSW_USE_GUI_1="#"
52171 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52172 COND_TOOLKIT_MSW_USE_GUI_1=""
52173 fi
52174
52175 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52176 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52177 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52178 fi
52179
52180 COND_TOOLKIT_MSW_WXUNIV_0="#"
52181 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52182 COND_TOOLKIT_MSW_WXUNIV_0=""
52183 fi
52184
52185 COND_TOOLKIT_OSX_CARBON="#"
52186 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52187 COND_TOOLKIT_OSX_CARBON=""
52188 fi
52189
52190 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52191 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52192 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52193 fi
52194
52195 COND_TOOLKIT_OSX_COCOA="#"
52196 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52197 COND_TOOLKIT_OSX_COCOA=""
52198 fi
52199
52200 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52201 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52202 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52203 fi
52204
52205 COND_TOOLKIT_OSX_IPHONE="#"
52206 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52207 COND_TOOLKIT_OSX_IPHONE=""
52208 fi
52209
52210 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52211 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52212 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52213 fi
52214
52215 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52216 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52217 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52218 fi
52219
52220 COND_TOOLKIT_PM="#"
52221 if test "x$TOOLKIT" = "xPM" ; then
52222 COND_TOOLKIT_PM=""
52223 fi
52224
52225 COND_TOOLKIT_PM_USE_GUI_1="#"
52226 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52227 COND_TOOLKIT_PM_USE_GUI_1=""
52228 fi
52229
52230 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52231 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52232 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52233 fi
52234
52235 COND_TOOLKIT_WINCE="#"
52236 if test "x$TOOLKIT" = "xWINCE" ; then
52237 COND_TOOLKIT_WINCE=""
52238 fi
52239
52240 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52241 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52242 COND_TOOLKIT_WINCE_USE_GUI_1=""
52243 fi
52244
52245 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52246 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52247 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52248 fi
52249
52250 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52251 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52252 COND_TOOLKIT_WINCE_WXUNIV_0=""
52253 fi
52254
52255 COND_TOOLKIT_X11="#"
52256 if test "x$TOOLKIT" = "xX11" ; then
52257 COND_TOOLKIT_X11=""
52258 fi
52259
52260 COND_TOOLKIT_X11_USE_GUI_1="#"
52261 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52262 COND_TOOLKIT_X11_USE_GUI_1=""
52263 fi
52264
52265 COND_UNICODE_1="#"
52266 if test "x$UNICODE" = "x1" ; then
52267 COND_UNICODE_1=""
52268 fi
52269
52270 COND_USE_CAIRO_1="#"
52271 if test "x$USE_CAIRO" = "x1" ; then
52272 COND_USE_CAIRO_1=""
52273 fi
52274
52275 COND_USE_EXCEPTIONS_0="#"
52276 if test "x$USE_EXCEPTIONS" = "x0" ; then
52277 COND_USE_EXCEPTIONS_0=""
52278 fi
52279
52280 COND_USE_EXCEPTIONS_1="#"
52281 if test "x$USE_EXCEPTIONS" = "x1" ; then
52282 COND_USE_EXCEPTIONS_1=""
52283 fi
52284
52285 COND_USE_GUI_0="#"
52286 if test "x$USE_GUI" = "x0" ; then
52287 COND_USE_GUI_0=""
52288 fi
52289
52290 COND_USE_GUI_1="#"
52291 if test "x$USE_GUI" = "x1" ; then
52292 COND_USE_GUI_1=""
52293 fi
52294
52295 COND_USE_GUI_1_USE_OPENGL_1="#"
52296 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52297 COND_USE_GUI_1_USE_OPENGL_1=""
52298 fi
52299
52300 COND_USE_GUI_1_WXUNIV_0="#"
52301 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52302 COND_USE_GUI_1_WXUNIV_0=""
52303 fi
52304
52305 COND_USE_GUI_1_WXUNIV_1="#"
52306 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52307 COND_USE_GUI_1_WXUNIV_1=""
52308 fi
52309
52310 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52311 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52312 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52313 fi
52314
52315 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52316 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52317 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52318 fi
52319
52320 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52321 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52322 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52323 fi
52324
52325 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52326 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52327 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52328 fi
52329
52330 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52331 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52332 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52333 fi
52334
52335 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52336 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52337 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52338 fi
52339
52340 COND_USE_OPENGL_1="#"
52341 if test "x$USE_OPENGL" = "x1" ; then
52342 COND_USE_OPENGL_1=""
52343 fi
52344
52345 COND_USE_PCH_1="#"
52346 if test "x$USE_PCH" = "x1" ; then
52347 COND_USE_PCH_1=""
52348 fi
52349
52350 COND_USE_PLUGINS_0="#"
52351 if test "x$USE_PLUGINS" = "x0" ; then
52352 COND_USE_PLUGINS_0=""
52353 fi
52354
52355 COND_USE_RTTI_0="#"
52356 if test "x$USE_RTTI" = "x0" ; then
52357 COND_USE_RTTI_0=""
52358 fi
52359
52360 COND_USE_RTTI_1="#"
52361 if test "x$USE_RTTI" = "x1" ; then
52362 COND_USE_RTTI_1=""
52363 fi
52364
52365 COND_USE_SOTWOSYMLINKS_1="#"
52366 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52367 COND_USE_SOTWOSYMLINKS_1=""
52368 fi
52369
52370 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52371 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52372 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52373 fi
52374
52375 COND_USE_SOVERLINUX_1="#"
52376 if test "x$USE_SOVERLINUX" = "x1" ; then
52377 COND_USE_SOVERLINUX_1=""
52378 fi
52379
52380 COND_USE_SOVERSION_0="#"
52381 if test "x$USE_SOVERSION" = "x0" ; then
52382 COND_USE_SOVERSION_0=""
52383 fi
52384
52385 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52386 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52387 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52388 fi
52389
52390 COND_USE_SOVERSOLARIS_1="#"
52391 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52392 COND_USE_SOVERSOLARIS_1=""
52393 fi
52394
52395 COND_USE_STC_1="#"
52396 if test "x$USE_STC" = "x1" ; then
52397 COND_USE_STC_1=""
52398 fi
52399
52400 COND_USE_THREADS_0="#"
52401 if test "x$USE_THREADS" = "x0" ; then
52402 COND_USE_THREADS_0=""
52403 fi
52404
52405 COND_USE_THREADS_1="#"
52406 if test "x$USE_THREADS" = "x1" ; then
52407 COND_USE_THREADS_1=""
52408 fi
52409
52410 COND_USE_XRC_1="#"
52411 if test "x$USE_XRC" = "x1" ; then
52412 COND_USE_XRC_1=""
52413 fi
52414
52415 COND_WINDOWS_IMPLIB_1="#"
52416 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52417 COND_WINDOWS_IMPLIB_1=""
52418 fi
52419
52420 COND_WITH_PLUGIN_SDL_1="#"
52421 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52422 COND_WITH_PLUGIN_SDL_1=""
52423 fi
52424
52425 COND_WXUNIV_0="#"
52426 if test "x$WXUNIV" = "x0" ; then
52427 COND_WXUNIV_0=""
52428 fi
52429
52430 COND_WXUNIV_1="#"
52431 if test "x$WXUNIV" = "x1" ; then
52432 COND_WXUNIV_1=""
52433 fi
52434
52435 COND_WXUSE_EXPAT_BUILTIN="#"
52436 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52437 COND_WXUSE_EXPAT_BUILTIN=""
52438 fi
52439
52440 COND_WXUSE_LIBJPEG_BUILTIN="#"
52441 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52442 COND_WXUSE_LIBJPEG_BUILTIN=""
52443 fi
52444
52445 COND_WXUSE_LIBPNG_BUILTIN="#"
52446 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52447 COND_WXUSE_LIBPNG_BUILTIN=""
52448 fi
52449
52450 COND_WXUSE_LIBTIFF_BUILTIN="#"
52451 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52452 COND_WXUSE_LIBTIFF_BUILTIN=""
52453 fi
52454
52455 COND_WXUSE_REGEX_BUILTIN="#"
52456 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52457 COND_WXUSE_REGEX_BUILTIN=""
52458 fi
52459
52460 COND_WXUSE_ZLIB_BUILTIN="#"
52461 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52462 COND_WXUSE_ZLIB_BUILTIN=""
52463 fi
52464
52465 COND_wxUSE_EXPAT_builtin="#"
52466 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52467 COND_wxUSE_EXPAT_builtin=""
52468 fi
52469
52470 COND_wxUSE_LIBJPEG_builtin="#"
52471 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52472 COND_wxUSE_LIBJPEG_builtin=""
52473 fi
52474
52475 COND_wxUSE_LIBPNG_builtin="#"
52476 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52477 COND_wxUSE_LIBPNG_builtin=""
52478 fi
52479
52480 COND_wxUSE_LIBTIFF_builtin="#"
52481 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52482 COND_wxUSE_LIBTIFF_builtin=""
52483 fi
52484
52485 COND_wxUSE_REGEX_builtin="#"
52486 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52487 COND_wxUSE_REGEX_builtin=""
52488 fi
52489
52490 COND_wxUSE_ZLIB_builtin="#"
52491 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52492 COND_wxUSE_ZLIB_builtin=""
52493 fi
52494
52495
52496
52497 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52498 { { 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
52499 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;}
52500 { (exit 1); exit 1; }; }
52501 fi
52502
52503 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52504 { { 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
52505 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;}
52506 { (exit 1); exit 1; }; }
52507 fi
52508
52509
52510 case ${INSTALL} in
52511 /* ) # Absolute
52512 ;;
52513 ?:* ) # Drive letter, considered as absolute.
52514 ;;
52515 *)
52516 INSTALL=`pwd`/${INSTALL} ;;
52517 esac
52518
52519 if test "$wxUSE_GUI" = "yes"; then
52520
52521 if test "$wxUSE_MSW" = 1 ; then
52522 if test "x$WINDRES" = "x"; then
52523 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52524 echo "$as_me: error: Required windres program not found" >&2;}
52525 { (exit 1); exit 1; }; }
52526 fi
52527
52528 RESCOMP="$WINDRES"
52529 fi
52530
52531 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52532 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52533 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52534
52535 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52536
52537 # Extract the first word of "DeRez", so it can be a program name with args.
52538 set dummy DeRez; ac_word=$2
52539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52541 if test "${ac_cv_prog_DEREZ+set}" = set; then
52542 echo $ECHO_N "(cached) $ECHO_C" >&6
52543 else
52544 if test -n "$DEREZ"; then
52545 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52546 else
52547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52548 for as_dir in $PATH
52549 do
52550 IFS=$as_save_IFS
52551 test -z "$as_dir" && as_dir=.
52552 for ac_exec_ext in '' $ac_executable_extensions; do
52553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52554 ac_cv_prog_DEREZ="DeRez"
52555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52556 break 2
52557 fi
52558 done
52559 done
52560 IFS=$as_save_IFS
52561
52562 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52563 fi
52564 fi
52565 DEREZ=$ac_cv_prog_DEREZ
52566 if test -n "$DEREZ"; then
52567 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52568 echo "${ECHO_T}$DEREZ" >&6; }
52569 else
52570 { echo "$as_me:$LINENO: result: no" >&5
52571 echo "${ECHO_T}no" >&6; }
52572 fi
52573
52574
52575
52576 MACSETFILE="\$(SETFILE)"
52577
52578 if test "$wxUSE_OSX_CARBON" = 1; then
52579 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52580 RESCOMP="$REZ"
52581 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52582 else
52583 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52584 RESCOMP="cat /dev/null \| $REZ"
52585 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52586 fi
52587
52588 else
52589 MACSETFILE="@true"
52590
52591 if test "$wxUSE_PM" = 1; then
52592 RESCOMP="emxbind"
52593 WXCONFIG_RESFLAGS="-ep"
52594
52595 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52596 else
52597 POSTLINK_COMMAND="@true"
52598 fi
52599 fi
52600
52601 fi
52602
52603
52604 if test $GCC_PCH = 1
52605 then
52606 if test "$wx_cv_gcc_pch_bug" = yes; then
52607 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52608 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52609 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52610 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52611 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52612 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52613 fi
52614
52615 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52616 # the headers that benefit from precompilation are mostly C++ headers.
52617 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52618 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52619 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52620 fi
52621
52622
52623 if test "$wxUSE_MAC" = 1 ; then
52624 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52625 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52626 mv temp bk-deps
52627 chmod +x bk-deps
52628 fi
52629 fi
52630
52631 if test "$wxUSE_SHARED" = "yes"; then
52632 case "${host}" in
52633 *-pc-os2_emx | *-pc-os2-emx )
52634 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52635 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52636 cp -p ${srcdir}/src/os2/dllnames.sh .
52637 cp -p ${srcdir}/src/os2/dllar.sh .
52638 ;;
52639 esac
52640 fi
52641 if test "$wxUSE_OMF" = "yes"; then
52642 case "${host}" in
52643 *-pc-os2_emx | *-pc-os2-emx )
52644 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52645 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52646 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52647 ;;
52648 esac
52649 fi
52650
52651 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52652
52653
52654 case "${host}" in
52655 *-*-solaris2* )
52656 if test "$GCC" = yes; then
52657 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52658 LIBS=`echo $LIBS | sed 's/-mt//'`
52659 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52660 fi
52661 ;;
52662
52663 *-*-linux* )
52664 if test "x$SUNCXX" = xyes; then
52665 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52666 LIBS=`echo $LIBS | sed 's/-pthread//'`
52667 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52668 fi
52669 ;;
52670 esac
52671
52672 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52673 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52674 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52675 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52676
52677 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52678
52679
52680
52681
52682
52683
52684
52685
52686
52687
52688
52689
52690
52691
52692
52693
52694
52695
52696
52697
52698
52699
52700
52701
52702
52703
52704
52705
52706
52707
52708
52709
52710
52711
52712
52713
52714
52715
52716
52717
52718
52719
52720
52721
52722
52723
52724
52725
52726
52727
52728
52729
52730
52731
52732
52733
52734
52735
52736
52737
52738 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52739 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52740 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52741 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52742 echo $ECHO_N "(cached) $ECHO_C" >&6
52743 else
52744 cat >conftest.make <<\_ACEOF
52745 SHELL = /bin/sh
52746 all:
52747 @echo '@@@%%%=$(MAKE)=@@@%%%'
52748 _ACEOF
52749 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52750 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52751 *@@@%%%=?*=@@@%%%*)
52752 eval ac_cv_prog_make_${ac_make}_set=yes;;
52753 *)
52754 eval ac_cv_prog_make_${ac_make}_set=no;;
52755 esac
52756 rm -f conftest.make
52757 fi
52758 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52759 { echo "$as_me:$LINENO: result: yes" >&5
52760 echo "${ECHO_T}yes" >&6; }
52761 SET_MAKE=
52762 else
52763 { echo "$as_me:$LINENO: result: no" >&5
52764 echo "${ECHO_T}no" >&6; }
52765 SET_MAKE="MAKE=${MAKE-make}"
52766 fi
52767
52768
52769
52770 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52771
52772
52773 if test "$USE_WIN32" = 1; then
52774 ac_config_commands="$ac_config_commands rcdefs.h"
52775
52776 fi
52777
52778 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52779
52780
52781 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52782
52783
52784 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52785
52786
52787 if test "$wx_cv_version_script" = "yes"; then
52788 ac_config_files="$ac_config_files version-script"
52789
52790 fi
52791 ac_config_files="$ac_config_files Makefile"
52792
52793
52794 ac_config_commands="$ac_config_commands wx-config"
52795
52796
52797
52798 if test "$wxWITH_SUBDIRS" != "no"; then
52799 if test "$wxUSE_GUI" = "yes"; then
52800 SUBDIRS="samples demos utils"
52801 else
52802 SUBDIRS="samples utils"
52803 fi
52804
52805
52806
52807 # Check whether --with-cppunit-prefix was given.
52808 if test "${with_cppunit_prefix+set}" = set; then
52809 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52810 else
52811 cppunit_config_prefix=""
52812 fi
52813
52814
52815 # Check whether --with-cppunit-exec-prefix was given.
52816 if test "${with_cppunit_exec_prefix+set}" = set; then
52817 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52818 else
52819 cppunit_config_exec_prefix=""
52820 fi
52821
52822
52823 if test x$cppunit_config_exec_prefix != x ; then
52824 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52825 if test x${CPPUNIT_CONFIG+set} != xset ; then
52826 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52827 fi
52828 fi
52829 if test x$cppunit_config_prefix != x ; then
52830 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52831 if test x${CPPUNIT_CONFIG+set} != xset ; then
52832 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52833 fi
52834 fi
52835
52836 # Extract the first word of "cppunit-config", so it can be a program name with args.
52837 set dummy cppunit-config; ac_word=$2
52838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52840 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52841 echo $ECHO_N "(cached) $ECHO_C" >&6
52842 else
52843 case $CPPUNIT_CONFIG in
52844 [\\/]* | ?:[\\/]*)
52845 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52846 ;;
52847 *)
52848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52849 for as_dir in $PATH
52850 do
52851 IFS=$as_save_IFS
52852 test -z "$as_dir" && as_dir=.
52853 for ac_exec_ext in '' $ac_executable_extensions; do
52854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52855 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52857 break 2
52858 fi
52859 done
52860 done
52861 IFS=$as_save_IFS
52862
52863 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52864 ;;
52865 esac
52866 fi
52867 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52868 if test -n "$CPPUNIT_CONFIG"; then
52869 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52870 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52871 else
52872 { echo "$as_me:$LINENO: result: no" >&5
52873 echo "${ECHO_T}no" >&6; }
52874 fi
52875
52876
52877 cppunit_version_min=1.8.0
52878
52879 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52880 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52881 no_cppunit=""
52882 if test "$CPPUNIT_CONFIG" = "no" ; then
52883 { echo "$as_me:$LINENO: result: no" >&5
52884 echo "${ECHO_T}no" >&6; }
52885 no_cppunit=yes
52886 else
52887 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52888 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52889 cppunit_version=`$CPPUNIT_CONFIG --version`
52890
52891 cppunit_major_version=`echo $cppunit_version | \
52892 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52893 cppunit_minor_version=`echo $cppunit_version | \
52894 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52895 cppunit_micro_version=`echo $cppunit_version | \
52896 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52897
52898 cppunit_major_min=`echo $cppunit_version_min | \
52899 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52900 cppunit_minor_min=`echo $cppunit_version_min | \
52901 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52902 cppunit_micro_min=`echo $cppunit_version_min | \
52903 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52904
52905 cppunit_version_proper=`expr \
52906 $cppunit_major_version \> $cppunit_major_min \| \
52907 $cppunit_major_version \= $cppunit_major_min \& \
52908 $cppunit_minor_version \> $cppunit_minor_min \| \
52909 $cppunit_major_version \= $cppunit_major_min \& \
52910 $cppunit_minor_version \= $cppunit_minor_min \& \
52911 $cppunit_micro_version \>= $cppunit_micro_min `
52912
52913 if test "$cppunit_version_proper" = "1" ; then
52914 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52915 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52916 else
52917 { echo "$as_me:$LINENO: result: no" >&5
52918 echo "${ECHO_T}no" >&6; }
52919 no_cppunit=yes
52920 fi
52921 fi
52922
52923 if test "x$no_cppunit" = x ; then
52924 SUBDIRS="$SUBDIRS tests"
52925 else
52926 CPPUNIT_CFLAGS=""
52927 CPPUNIT_LIBS=""
52928 :
52929 fi
52930
52931
52932
52933
52934
52935 for subdir in $SUBDIRS; do
52936 if test -d ${srcdir}/${subdir} ; then
52937 if test "$wxUSE_GUI" = "yes"; then
52938 if test ${subdir} = "samples"; then
52939 makefiles="samples/Makefile.in $makefiles"
52940 for sample in $SAMPLES_SUBDIRS; do
52941 if test -d $srcdir/samples/$sample; then
52942 makefiles="samples/$sample/Makefile.in $makefiles"
52943 fi
52944 done
52945 else
52946 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52947 eval "disabled=\$$disabled_var"
52948 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52949 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52950 fi
52951 else
52952 if test ${subdir} = "samples"; then
52953 makefiles="samples/Makefile.in $makefiles"
52954 for sample in `echo $SAMPLES_SUBDIRS`; do
52955 if test -d $srcdir/samples/$sample; then
52956 makefiles="samples/$sample/Makefile.in $makefiles"
52957 fi
52958 done
52959 elif test ${subdir} = "utils"; then
52960 makefiles=""
52961 for util in ifacecheck ; do
52962 if test -d $srcdir/utils/$util ; then
52963 makefiles="utils/$util/src/Makefile.in \
52964 $makefiles"
52965 fi
52966 done
52967 else
52968 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
52969 fi
52970 fi
52971
52972 for mkin in $makefiles ; do
52973 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
52974 ac_config_files="$ac_config_files $mk"
52975
52976 done
52977 fi
52978 done
52979 fi
52980 cat >confcache <<\_ACEOF
52981 # This file is a shell script that caches the results of configure
52982 # tests run on this system so they can be shared between configure
52983 # scripts and configure runs, see configure's option --config-cache.
52984 # It is not useful on other systems. If it contains results you don't
52985 # want to keep, you may remove or edit it.
52986 #
52987 # config.status only pays attention to the cache file if you give it
52988 # the --recheck option to rerun configure.
52989 #
52990 # `ac_cv_env_foo' variables (set or unset) will be overridden when
52991 # loading this file, other *unset* `ac_cv_foo' will be assigned the
52992 # following values.
52993
52994 _ACEOF
52995
52996 # The following way of writing the cache mishandles newlines in values,
52997 # but we know of no workaround that is simple, portable, and efficient.
52998 # So, we kill variables containing newlines.
52999 # Ultrix sh set writes to stderr and can't be redirected directly,
53000 # and sets the high bit in the cache file unless we assign to the vars.
53001 (
53002 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53003 eval ac_val=\$$ac_var
53004 case $ac_val in #(
53005 *${as_nl}*)
53006 case $ac_var in #(
53007 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53008 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53009 esac
53010 case $ac_var in #(
53011 _ | IFS | as_nl) ;; #(
53012 *) $as_unset $ac_var ;;
53013 esac ;;
53014 esac
53015 done
53016
53017 (set) 2>&1 |
53018 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53019 *${as_nl}ac_space=\ *)
53020 # `set' does not quote correctly, so add quotes (double-quote
53021 # substitution turns \\\\ into \\, and sed turns \\ into \).
53022 sed -n \
53023 "s/'/'\\\\''/g;
53024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53025 ;; #(
53026 *)
53027 # `set' quotes correctly as required by POSIX, so do not add quotes.
53028 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53029 ;;
53030 esac |
53031 sort
53032 ) |
53033 sed '
53034 /^ac_cv_env_/b end
53035 t clear
53036 :clear
53037 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53038 t end
53039 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53040 :end' >>confcache
53041 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53042 if test -w "$cache_file"; then
53043 test "x$cache_file" != "x/dev/null" &&
53044 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53045 echo "$as_me: updating cache $cache_file" >&6;}
53046 cat confcache >$cache_file
53047 else
53048 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53049 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53050 fi
53051 fi
53052 rm -f confcache
53053
53054 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53055 # Let make expand exec_prefix.
53056 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53057
53058 DEFS=-DHAVE_CONFIG_H
53059
53060 ac_libobjs=
53061 ac_ltlibobjs=
53062 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53063 # 1. Remove the extension, and $U if already installed.
53064 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53065 ac_i=`echo "$ac_i" | sed "$ac_script"`
53066 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53067 # will be set to the directory where LIBOBJS objects are built.
53068 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53069 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53070 done
53071 LIBOBJS=$ac_libobjs
53072
53073 LTLIBOBJS=$ac_ltlibobjs
53074
53075
53076
53077 : ${CONFIG_STATUS=./config.status}
53078 ac_clean_files_save=$ac_clean_files
53079 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53080 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53081 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53082 cat >$CONFIG_STATUS <<_ACEOF
53083 #! $SHELL
53084 # Generated by $as_me.
53085 # Run this file to recreate the current configuration.
53086 # Compiler output produced by configure, useful for debugging
53087 # configure, is in config.log if it exists.
53088
53089 debug=false
53090 ac_cs_recheck=false
53091 ac_cs_silent=false
53092 SHELL=\${CONFIG_SHELL-$SHELL}
53093 _ACEOF
53094
53095 cat >>$CONFIG_STATUS <<\_ACEOF
53096 ## --------------------- ##
53097 ## M4sh Initialization. ##
53098 ## --------------------- ##
53099
53100 # Be more Bourne compatible
53101 DUALCASE=1; export DUALCASE # for MKS sh
53102 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53103 emulate sh
53104 NULLCMD=:
53105 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53106 # is contrary to our usage. Disable this feature.
53107 alias -g '${1+"$@"}'='"$@"'
53108 setopt NO_GLOB_SUBST
53109 else
53110 case `(set -o) 2>/dev/null` in
53111 *posix*) set -o posix ;;
53112 esac
53113
53114 fi
53115
53116
53117
53118
53119 # PATH needs CR
53120 # Avoid depending upon Character Ranges.
53121 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53122 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53123 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53124 as_cr_digits='0123456789'
53125 as_cr_alnum=$as_cr_Letters$as_cr_digits
53126
53127 # The user is always right.
53128 if test "${PATH_SEPARATOR+set}" != set; then
53129 echo "#! /bin/sh" >conf$$.sh
53130 echo "exit 0" >>conf$$.sh
53131 chmod +x conf$$.sh
53132 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53133 PATH_SEPARATOR=';'
53134 else
53135 PATH_SEPARATOR=:
53136 fi
53137 rm -f conf$$.sh
53138 fi
53139
53140 # Support unset when possible.
53141 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53142 as_unset=unset
53143 else
53144 as_unset=false
53145 fi
53146
53147
53148 # IFS
53149 # We need space, tab and new line, in precisely that order. Quoting is
53150 # there to prevent editors from complaining about space-tab.
53151 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53152 # splitting by setting IFS to empty value.)
53153 as_nl='
53154 '
53155 IFS=" "" $as_nl"
53156
53157 # Find who we are. Look in the path if we contain no directory separator.
53158 case $0 in
53159 *[\\/]* ) as_myself=$0 ;;
53160 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53161 for as_dir in $PATH
53162 do
53163 IFS=$as_save_IFS
53164 test -z "$as_dir" && as_dir=.
53165 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53166 done
53167 IFS=$as_save_IFS
53168
53169 ;;
53170 esac
53171 # We did not find ourselves, most probably we were run as `sh COMMAND'
53172 # in which case we are not to be found in the path.
53173 if test "x$as_myself" = x; then
53174 as_myself=$0
53175 fi
53176 if test ! -f "$as_myself"; then
53177 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53178 { (exit 1); exit 1; }
53179 fi
53180
53181 # Work around bugs in pre-3.0 UWIN ksh.
53182 for as_var in ENV MAIL MAILPATH
53183 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53184 done
53185 PS1='$ '
53186 PS2='> '
53187 PS4='+ '
53188
53189 # NLS nuisances.
53190 for as_var in \
53191 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53192 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53193 LC_TELEPHONE LC_TIME
53194 do
53195 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53196 eval $as_var=C; export $as_var
53197 else
53198 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53199 fi
53200 done
53201
53202 # Required to use basename.
53203 if expr a : '\(a\)' >/dev/null 2>&1 &&
53204 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53205 as_expr=expr
53206 else
53207 as_expr=false
53208 fi
53209
53210 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53211 as_basename=basename
53212 else
53213 as_basename=false
53214 fi
53215
53216
53217 # Name of the executable.
53218 as_me=`$as_basename -- "$0" ||
53219 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53220 X"$0" : 'X\(//\)$' \| \
53221 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53222 echo X/"$0" |
53223 sed '/^.*\/\([^/][^/]*\)\/*$/{
53224 s//\1/
53225 q
53226 }
53227 /^X\/\(\/\/\)$/{
53228 s//\1/
53229 q
53230 }
53231 /^X\/\(\/\).*/{
53232 s//\1/
53233 q
53234 }
53235 s/.*/./; q'`
53236
53237 # CDPATH.
53238 $as_unset CDPATH
53239
53240
53241
53242 as_lineno_1=$LINENO
53243 as_lineno_2=$LINENO
53244 test "x$as_lineno_1" != "x$as_lineno_2" &&
53245 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53246
53247 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53248 # uniformly replaced by the line number. The first 'sed' inserts a
53249 # line-number line after each line using $LINENO; the second 'sed'
53250 # does the real work. The second script uses 'N' to pair each
53251 # line-number line with the line containing $LINENO, and appends
53252 # trailing '-' during substitution so that $LINENO is not a special
53253 # case at line end.
53254 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53255 # scripts with optimization help from Paolo Bonzini. Blame Lee
53256 # E. McMahon (1931-1989) for sed's syntax. :-)
53257 sed -n '
53258 p
53259 /[$]LINENO/=
53260 ' <$as_myself |
53261 sed '
53262 s/[$]LINENO.*/&-/
53263 t lineno
53264 b
53265 :lineno
53266 N
53267 :loop
53268 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53269 t loop
53270 s/-\n.*//
53271 ' >$as_me.lineno &&
53272 chmod +x "$as_me.lineno" ||
53273 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53274 { (exit 1); exit 1; }; }
53275
53276 # Don't try to exec as it changes $[0], causing all sort of problems
53277 # (the dirname of $[0] is not the place where we might find the
53278 # original and so on. Autoconf is especially sensitive to this).
53279 . "./$as_me.lineno"
53280 # Exit status is that of the last command.
53281 exit
53282 }
53283
53284
53285 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53286 as_dirname=dirname
53287 else
53288 as_dirname=false
53289 fi
53290
53291 ECHO_C= ECHO_N= ECHO_T=
53292 case `echo -n x` in
53293 -n*)
53294 case `echo 'x\c'` in
53295 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53296 *) ECHO_C='\c';;
53297 esac;;
53298 *)
53299 ECHO_N='-n';;
53300 esac
53301
53302 if expr a : '\(a\)' >/dev/null 2>&1 &&
53303 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53304 as_expr=expr
53305 else
53306 as_expr=false
53307 fi
53308
53309 rm -f conf$$ conf$$.exe conf$$.file
53310 if test -d conf$$.dir; then
53311 rm -f conf$$.dir/conf$$.file
53312 else
53313 rm -f conf$$.dir
53314 mkdir conf$$.dir
53315 fi
53316 echo >conf$$.file
53317 if ln -s conf$$.file conf$$ 2>/dev/null; then
53318 as_ln_s='ln -s'
53319 # ... but there are two gotchas:
53320 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53321 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53322 # In both cases, we have to default to `cp -p'.
53323 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53324 as_ln_s='cp -p'
53325 elif ln conf$$.file conf$$ 2>/dev/null; then
53326 as_ln_s=ln
53327 else
53328 as_ln_s='cp -p'
53329 fi
53330 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53331 rmdir conf$$.dir 2>/dev/null
53332
53333 if mkdir -p . 2>/dev/null; then
53334 as_mkdir_p=:
53335 else
53336 test -d ./-p && rmdir ./-p
53337 as_mkdir_p=false
53338 fi
53339
53340 if test -x / >/dev/null 2>&1; then
53341 as_test_x='test -x'
53342 else
53343 if ls -dL / >/dev/null 2>&1; then
53344 as_ls_L_option=L
53345 else
53346 as_ls_L_option=
53347 fi
53348 as_test_x='
53349 eval sh -c '\''
53350 if test -d "$1"; then
53351 test -d "$1/.";
53352 else
53353 case $1 in
53354 -*)set "./$1";;
53355 esac;
53356 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53357 ???[sx]*):;;*)false;;esac;fi
53358 '\'' sh
53359 '
53360 fi
53361 as_executable_p=$as_test_x
53362
53363 # Sed expression to map a string onto a valid CPP name.
53364 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53365
53366 # Sed expression to map a string onto a valid variable name.
53367 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53368
53369
53370 exec 6>&1
53371
53372 # Save the log message, to keep $[0] and so on meaningful, and to
53373 # report actual input values of CONFIG_FILES etc. instead of their
53374 # values after options handling.
53375 ac_log="
53376 This file was extended by wxWidgets $as_me 2.9.2, which was
53377 generated by GNU Autoconf 2.61. Invocation command line was
53378
53379 CONFIG_FILES = $CONFIG_FILES
53380 CONFIG_HEADERS = $CONFIG_HEADERS
53381 CONFIG_LINKS = $CONFIG_LINKS
53382 CONFIG_COMMANDS = $CONFIG_COMMANDS
53383 $ $0 $@
53384
53385 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53386 "
53387
53388 _ACEOF
53389
53390 cat >>$CONFIG_STATUS <<_ACEOF
53391 # Files that config.status was made for.
53392 config_files="$ac_config_files"
53393 config_headers="$ac_config_headers"
53394 config_commands="$ac_config_commands"
53395
53396 _ACEOF
53397
53398 cat >>$CONFIG_STATUS <<\_ACEOF
53399 ac_cs_usage="\
53400 \`$as_me' instantiates files from templates according to the
53401 current configuration.
53402
53403 Usage: $0 [OPTIONS] [FILE]...
53404
53405 -h, --help print this help, then exit
53406 -V, --version print version number and configuration settings, then exit
53407 -q, --quiet do not print progress messages
53408 -d, --debug don't remove temporary files
53409 --recheck update $as_me by reconfiguring in the same conditions
53410 --file=FILE[:TEMPLATE]
53411 instantiate the configuration file FILE
53412 --header=FILE[:TEMPLATE]
53413 instantiate the configuration header FILE
53414
53415 Configuration files:
53416 $config_files
53417
53418 Configuration headers:
53419 $config_headers
53420
53421 Configuration commands:
53422 $config_commands
53423
53424 Report bugs to <bug-autoconf@gnu.org>."
53425
53426 _ACEOF
53427 cat >>$CONFIG_STATUS <<_ACEOF
53428 ac_cs_version="\\
53429 wxWidgets config.status 2.9.2
53430 configured by $0, generated by GNU Autoconf 2.61,
53431 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53432
53433 Copyright (C) 2006 Free Software Foundation, Inc.
53434 This config.status script is free software; the Free Software Foundation
53435 gives unlimited permission to copy, distribute and modify it."
53436
53437 ac_pwd='$ac_pwd'
53438 srcdir='$srcdir'
53439 INSTALL='$INSTALL'
53440 _ACEOF
53441
53442 cat >>$CONFIG_STATUS <<\_ACEOF
53443 # If no file are specified by the user, then we need to provide default
53444 # value. By we need to know if files were specified by the user.
53445 ac_need_defaults=:
53446 while test $# != 0
53447 do
53448 case $1 in
53449 --*=*)
53450 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53451 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53452 ac_shift=:
53453 ;;
53454 *)
53455 ac_option=$1
53456 ac_optarg=$2
53457 ac_shift=shift
53458 ;;
53459 esac
53460
53461 case $ac_option in
53462 # Handling of the options.
53463 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53464 ac_cs_recheck=: ;;
53465 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53466 echo "$ac_cs_version"; exit ;;
53467 --debug | --debu | --deb | --de | --d | -d )
53468 debug=: ;;
53469 --file | --fil | --fi | --f )
53470 $ac_shift
53471 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53472 ac_need_defaults=false;;
53473 --header | --heade | --head | --hea )
53474 $ac_shift
53475 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53476 ac_need_defaults=false;;
53477 --he | --h)
53478 # Conflict between --help and --header
53479 { echo "$as_me: error: ambiguous option: $1
53480 Try \`$0 --help' for more information." >&2
53481 { (exit 1); exit 1; }; };;
53482 --help | --hel | -h )
53483 echo "$ac_cs_usage"; exit ;;
53484 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53485 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53486 ac_cs_silent=: ;;
53487
53488 # This is an error.
53489 -*) { echo "$as_me: error: unrecognized option: $1
53490 Try \`$0 --help' for more information." >&2
53491 { (exit 1); exit 1; }; } ;;
53492
53493 *) ac_config_targets="$ac_config_targets $1"
53494 ac_need_defaults=false ;;
53495
53496 esac
53497 shift
53498 done
53499
53500 ac_configure_extra_args=
53501
53502 if $ac_cs_silent; then
53503 exec 6>/dev/null
53504 ac_configure_extra_args="$ac_configure_extra_args --silent"
53505 fi
53506
53507 _ACEOF
53508 cat >>$CONFIG_STATUS <<_ACEOF
53509 if \$ac_cs_recheck; then
53510 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53511 CONFIG_SHELL=$SHELL
53512 export CONFIG_SHELL
53513 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53514 fi
53515
53516 _ACEOF
53517 cat >>$CONFIG_STATUS <<\_ACEOF
53518 exec 5>>config.log
53519 {
53520 echo
53521 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53522 ## Running $as_me. ##
53523 _ASBOX
53524 echo "$ac_log"
53525 } >&5
53526
53527 _ACEOF
53528 cat >>$CONFIG_STATUS <<_ACEOF
53529 #
53530 # INIT-COMMANDS
53531 #
53532
53533 CPP="$CPP"
53534 infile="$srcdir/include/wx/msw/genrcdefs.h"
53535 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53536
53537
53538 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53539 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53540 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53541 LN_S="${LN_S}"
53542
53543
53544 _ACEOF
53545
53546 cat >>$CONFIG_STATUS <<\_ACEOF
53547
53548 # Handling of arguments.
53549 for ac_config_target in $ac_config_targets
53550 do
53551 case $ac_config_target in
53552 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53553 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53554 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53555 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53556 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53557 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53558 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53559 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53560 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53561
53562 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53563 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53564 { (exit 1); exit 1; }; };;
53565 esac
53566 done
53567
53568
53569 # If the user did not use the arguments to specify the items to instantiate,
53570 # then the envvar interface is used. Set only those that are not.
53571 # We use the long form for the default assignment because of an extremely
53572 # bizarre bug on SunOS 4.1.3.
53573 if $ac_need_defaults; then
53574 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53575 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53576 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53577 fi
53578
53579 # Have a temporary directory for convenience. Make it in the build tree
53580 # simply because there is no reason against having it here, and in addition,
53581 # creating and moving files from /tmp can sometimes cause problems.
53582 # Hook for its removal unless debugging.
53583 # Note that there is a small window in which the directory will not be cleaned:
53584 # after its creation but before its name has been assigned to `$tmp'.
53585 $debug ||
53586 {
53587 tmp=
53588 trap 'exit_status=$?
53589 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53590 ' 0
53591 trap '{ (exit 1); exit 1; }' 1 2 13 15
53592 }
53593 # Create a (secure) tmp directory for tmp files.
53594
53595 {
53596 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53597 test -n "$tmp" && test -d "$tmp"
53598 } ||
53599 {
53600 tmp=./conf$$-$RANDOM
53601 (umask 077 && mkdir "$tmp")
53602 } ||
53603 {
53604 echo "$me: cannot create a temporary directory in ." >&2
53605 { (exit 1); exit 1; }
53606 }
53607
53608 #
53609 # Set up the sed scripts for CONFIG_FILES section.
53610 #
53611
53612 # No need to generate the scripts if there are no CONFIG_FILES.
53613 # This happens for instance when ./config.status config.h
53614 if test -n "$CONFIG_FILES"; then
53615
53616 _ACEOF
53617
53618
53619
53620 ac_delim='%!_!# '
53621 for ac_last_try in false false false false false :; do
53622 cat >conf$$subs.sed <<_ACEOF
53623 SHELL!$SHELL$ac_delim
53624 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53625 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53626 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53627 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53628 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53629 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53630 exec_prefix!$exec_prefix$ac_delim
53631 prefix!$prefix$ac_delim
53632 program_transform_name!$program_transform_name$ac_delim
53633 bindir!$bindir$ac_delim
53634 sbindir!$sbindir$ac_delim
53635 libexecdir!$libexecdir$ac_delim
53636 datarootdir!$datarootdir$ac_delim
53637 datadir!$datadir$ac_delim
53638 sysconfdir!$sysconfdir$ac_delim
53639 sharedstatedir!$sharedstatedir$ac_delim
53640 localstatedir!$localstatedir$ac_delim
53641 includedir!$includedir$ac_delim
53642 oldincludedir!$oldincludedir$ac_delim
53643 docdir!$docdir$ac_delim
53644 infodir!$infodir$ac_delim
53645 htmldir!$htmldir$ac_delim
53646 dvidir!$dvidir$ac_delim
53647 pdfdir!$pdfdir$ac_delim
53648 psdir!$psdir$ac_delim
53649 libdir!$libdir$ac_delim
53650 localedir!$localedir$ac_delim
53651 mandir!$mandir$ac_delim
53652 DEFS!$DEFS$ac_delim
53653 ECHO_C!$ECHO_C$ac_delim
53654 ECHO_N!$ECHO_N$ac_delim
53655 ECHO_T!$ECHO_T$ac_delim
53656 LIBS!$LIBS$ac_delim
53657 build_alias!$build_alias$ac_delim
53658 host_alias!$host_alias$ac_delim
53659 target_alias!$target_alias$ac_delim
53660 build!$build$ac_delim
53661 build_cpu!$build_cpu$ac_delim
53662 build_vendor!$build_vendor$ac_delim
53663 build_os!$build_os$ac_delim
53664 host!$host$ac_delim
53665 host_cpu!$host_cpu$ac_delim
53666 host_vendor!$host_vendor$ac_delim
53667 host_os!$host_os$ac_delim
53668 wx_top_builddir!$wx_top_builddir$ac_delim
53669 CC!$CC$ac_delim
53670 CFLAGS!$CFLAGS$ac_delim
53671 LDFLAGS!$LDFLAGS$ac_delim
53672 CPPFLAGS!$CPPFLAGS$ac_delim
53673 ac_ct_CC!$ac_ct_CC$ac_delim
53674 EXEEXT!$EXEEXT$ac_delim
53675 OBJEXT!$OBJEXT$ac_delim
53676 CPP!$CPP$ac_delim
53677 GREP!$GREP$ac_delim
53678 EGREP!$EGREP$ac_delim
53679 CXX!$CXX$ac_delim
53680 CXXFLAGS!$CXXFLAGS$ac_delim
53681 ac_ct_CXX!$ac_ct_CXX$ac_delim
53682 AR!$AR$ac_delim
53683 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53684 CXXCPP!$CXXCPP$ac_delim
53685 subdirs!$subdirs$ac_delim
53686 PKG_CONFIG!$PKG_CONFIG$ac_delim
53687 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53688 GTK_LIBS!$GTK_LIBS$ac_delim
53689 GTK_CONFIG!$GTK_CONFIG$ac_delim
53690 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53691 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53692 XMKMF!$XMKMF$ac_delim
53693 X_CFLAGS!$X_CFLAGS$ac_delim
53694 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53695 X_LIBS!$X_LIBS$ac_delim
53696 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53697 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53698 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53699 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53700 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53701 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53702 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53703 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53704 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53705 LIBICONV!$LIBICONV$ac_delim
53706 GXX_VERSION!$GXX_VERSION$ac_delim
53707 SDL_CONFIG!$SDL_CONFIG$ac_delim
53708 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53709 SDL_LIBS!$SDL_LIBS$ac_delim
53710 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53711 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53712 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53713 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53714 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53715 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53716 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53717 HILDON_LIBS!$HILDON_LIBS$ac_delim
53718 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53719 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53720 _ACEOF
53721
53722 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53723 break
53724 elif $ac_last_try; then
53725 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53726 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53727 { (exit 1); exit 1; }; }
53728 else
53729 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53730 fi
53731 done
53732
53733 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53734 if test -n "$ac_eof"; then
53735 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53736 ac_eof=`expr $ac_eof + 1`
53737 fi
53738
53739 cat >>$CONFIG_STATUS <<_ACEOF
53740 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53741 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53742 _ACEOF
53743 sed '
53744 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53745 s/^/s,@/; s/!/@,|#_!!_#|/
53746 :n
53747 t n
53748 s/'"$ac_delim"'$/,g/; t
53749 s/$/\\/; p
53750 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53751 ' >>$CONFIG_STATUS <conf$$subs.sed
53752 rm -f conf$$subs.sed
53753 cat >>$CONFIG_STATUS <<_ACEOF
53754 CEOF$ac_eof
53755 _ACEOF
53756
53757
53758 ac_delim='%!_!# '
53759 for ac_last_try in false false false false false :; do
53760 cat >conf$$subs.sed <<_ACEOF
53761 PYTHON!$PYTHON$ac_delim
53762 COND_PYTHON!$COND_PYTHON$ac_delim
53763 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53764 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53765 GST_CFLAGS!$GST_CFLAGS$ac_delim
53766 GST_LIBS!$GST_LIBS$ac_delim
53767 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53768 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53769 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53770 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53771 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53772 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53773 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53774 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53775 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53776 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53777 VENDOR!$VENDOR$ac_delim
53778 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53779 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53780 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53781 WXUNIV!$WXUNIV$ac_delim
53782 MONOLITHIC!$MONOLITHIC$ac_delim
53783 USE_PLUGINS!$USE_PLUGINS$ac_delim
53784 CXXWARNINGS!$CXXWARNINGS$ac_delim
53785 EXTRALIBS!$EXTRALIBS$ac_delim
53786 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53787 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53788 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53789 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53790 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53791 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53792 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53793 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53794 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53795 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53796 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53797 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53798 UNICODE!$UNICODE$ac_delim
53799 DEBUG_INFO!$DEBUG_INFO$ac_delim
53800 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53801 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53802 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53803 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53804 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53805 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53806 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53807 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53808 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53809 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53810 RANLIB!$RANLIB$ac_delim
53811 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53812 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53813 INSTALL_DATA!$INSTALL_DATA$ac_delim
53814 LN_S!$LN_S$ac_delim
53815 SET_MAKE!$SET_MAKE$ac_delim
53816 MAKE_SET!$MAKE_SET$ac_delim
53817 AROPTIONS!$AROPTIONS$ac_delim
53818 STRIP!$STRIP$ac_delim
53819 NM!$NM$ac_delim
53820 INSTALL_DIR!$INSTALL_DIR$ac_delim
53821 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53822 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53823 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53824 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53825 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53826 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53827 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53828 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53829 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53830 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53831 SO_SUFFIX!$SO_SUFFIX$ac_delim
53832 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53833 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53834 LIBPREFIX!$LIBPREFIX$ac_delim
53835 LIBEXT!$LIBEXT$ac_delim
53836 DLLPREFIX!$DLLPREFIX$ac_delim
53837 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53838 dlldir!$dlldir$ac_delim
53839 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53840 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53841 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53842 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53843 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53844 PIC_FLAG!$PIC_FLAG$ac_delim
53845 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53846 USE_SOVERSION!$USE_SOVERSION$ac_delim
53847 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53848 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53849 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53850 USE_MACVERSION!$USE_MACVERSION$ac_delim
53851 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53852 SONAME_FLAG!$SONAME_FLAG$ac_delim
53853 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53854 BK_DEPS!$BK_DEPS$ac_delim
53855 WINDRES!$WINDRES$ac_delim
53856 REZ!$REZ$ac_delim
53857 SETFILE!$SETFILE$ac_delim
53858 _ACEOF
53859
53860 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53861 break
53862 elif $ac_last_try; then
53863 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53864 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53865 { (exit 1); exit 1; }; }
53866 else
53867 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53868 fi
53869 done
53870
53871 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53872 if test -n "$ac_eof"; then
53873 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53874 ac_eof=`expr $ac_eof + 1`
53875 fi
53876
53877 cat >>$CONFIG_STATUS <<_ACEOF
53878 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53879 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53880 _ACEOF
53881 sed '
53882 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53883 s/^/s,@/; s/!/@,|#_!!_#|/
53884 :n
53885 t n
53886 s/'"$ac_delim"'$/,g/; t
53887 s/$/\\/; p
53888 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53889 ' >>$CONFIG_STATUS <conf$$subs.sed
53890 rm -f conf$$subs.sed
53891 cat >>$CONFIG_STATUS <<_ACEOF
53892 CEOF$ac_eof
53893 _ACEOF
53894
53895
53896 ac_delim='%!_!# '
53897 for ac_last_try in false false false false false :; do
53898 cat >conf$$subs.sed <<_ACEOF
53899 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53900 GCC_PCH!$GCC_PCH$ac_delim
53901 ICC_PCH!$ICC_PCH$ac_delim
53902 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53903 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53904 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53905 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53906 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53907 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53908 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53909 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53910 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53911 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53912 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53913 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53914 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53915 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53916 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53917 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53918 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53919 COND_BUILD_release!$COND_BUILD_release$ac_delim
53920 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53921 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53922 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53923 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53924 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53925 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53926 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53927 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53928 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53929 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53930 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53931 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53932 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53933 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53934 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53935 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53936 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53937 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53938 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53939 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53940 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53941 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53942 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53943 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53944 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53945 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53946 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53947 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53948 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53949 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53950 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53951 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53952 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53953 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
53954 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
53955 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
53956 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53957 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
53958 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
53959 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
53960 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
53961 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
53962 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
53963 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
53964 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
53965 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
53966 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
53967 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
53968 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
53969 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
53970 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
53971 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
53972 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
53973 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
53974 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
53975 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53976 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
53977 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53978 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
53979 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
53980 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
53981 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
53982 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
53983 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
53984 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
53985 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
53986 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
53987 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
53988 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
53989 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
53990 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
53991 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
53992 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
53993 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
53994 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
53995 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
53996 _ACEOF
53997
53998 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53999 break
54000 elif $ac_last_try; then
54001 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54002 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54003 { (exit 1); exit 1; }; }
54004 else
54005 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54006 fi
54007 done
54008
54009 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54010 if test -n "$ac_eof"; then
54011 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54012 ac_eof=`expr $ac_eof + 1`
54013 fi
54014
54015 cat >>$CONFIG_STATUS <<_ACEOF
54016 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54017 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54018 _ACEOF
54019 sed '
54020 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54021 s/^/s,@/; s/!/@,|#_!!_#|/
54022 :n
54023 t n
54024 s/'"$ac_delim"'$/,g/; t
54025 s/$/\\/; p
54026 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54027 ' >>$CONFIG_STATUS <conf$$subs.sed
54028 rm -f conf$$subs.sed
54029 cat >>$CONFIG_STATUS <<_ACEOF
54030 CEOF$ac_eof
54031 _ACEOF
54032
54033
54034 ac_delim='%!_!# '
54035 for ac_last_try in false false false false false :; do
54036 cat >conf$$subs.sed <<_ACEOF
54037 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54038 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54039 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54040 COND_SHARED_0!$COND_SHARED_0$ac_delim
54041 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54042 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54043 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54044 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54045 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54046 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54047 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54048 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54049 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54050 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54051 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54052 COND_SHARED_1!$COND_SHARED_1$ac_delim
54053 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54054 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54055 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54056 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54057 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54058 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54059 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54060 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54061 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54062 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54063 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54064 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54065 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54066 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54067 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54068 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54069 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54070 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54071 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54072 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54073 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54074 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54075 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54076 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54077 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54078 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54079 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54080 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54081 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54082 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54083 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54084 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54085 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54086 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54087 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54088 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54089 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54090 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54091 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54092 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54093 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54094 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54095 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54096 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54097 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54098 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54099 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54100 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54101 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54102 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54103 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54104 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54105 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54106 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54107 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54108 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54109 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54110 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54111 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54112 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54113 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54114 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54115 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54116 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54117 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54118 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54119 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54120 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54121 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54122 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54123 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54124 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54125 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54126 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54127 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54128 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54129 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54130 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54131 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54132 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54133 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54134 _ACEOF
54135
54136 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54137 break
54138 elif $ac_last_try; then
54139 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54140 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54141 { (exit 1); exit 1; }; }
54142 else
54143 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54144 fi
54145 done
54146
54147 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54148 if test -n "$ac_eof"; then
54149 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54150 ac_eof=`expr $ac_eof + 1`
54151 fi
54152
54153 cat >>$CONFIG_STATUS <<_ACEOF
54154 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54155 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54156 _ACEOF
54157 sed '
54158 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54159 s/^/s,@/; s/!/@,|#_!!_#|/
54160 :n
54161 t n
54162 s/'"$ac_delim"'$/,g/; t
54163 s/$/\\/; p
54164 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54165 ' >>$CONFIG_STATUS <conf$$subs.sed
54166 rm -f conf$$subs.sed
54167 cat >>$CONFIG_STATUS <<_ACEOF
54168 CEOF$ac_eof
54169 _ACEOF
54170
54171
54172 ac_delim='%!_!# '
54173 for ac_last_try in false false false false false :; do
54174 cat >conf$$subs.sed <<_ACEOF
54175 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54176 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54177 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54178 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54179 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54180 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54181 DEREZ!$DEREZ$ac_delim
54182 SHARED!$SHARED$ac_delim
54183 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54184 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54185 USE_GUI!$USE_GUI$ac_delim
54186 AFMINSTALL!$AFMINSTALL$ac_delim
54187 WIN32INSTALL!$WIN32INSTALL$ac_delim
54188 TOOLKIT!$TOOLKIT$ac_delim
54189 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54190 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54191 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54192 cross_compiling!$cross_compiling$ac_delim
54193 WIDGET_SET!$WIDGET_SET$ac_delim
54194 WX_RELEASE!$WX_RELEASE$ac_delim
54195 WX_VERSION!$WX_VERSION$ac_delim
54196 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54197 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54198 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54199 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54200 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54201 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54202 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54203 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54204 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54205 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54206 GUIDIST!$GUIDIST$ac_delim
54207 DISTDIR!$DISTDIR$ac_delim
54208 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54209 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54210 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54211 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54212 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54213 RESCOMP!$RESCOMP$ac_delim
54214 RESFLAGS!$RESFLAGS$ac_delim
54215 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54216 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54217 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54218 LIBWXMACRES!$LIBWXMACRES$ac_delim
54219 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54220 MACSETFILE!$MACSETFILE$ac_delim
54221 GCC!$GCC$ac_delim
54222 DLLTOOL!$DLLTOOL$ac_delim
54223 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54224 LIBOBJS!$LIBOBJS$ac_delim
54225 LTLIBOBJS!$LTLIBOBJS$ac_delim
54226 _ACEOF
54227
54228 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54229 break
54230 elif $ac_last_try; then
54231 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54232 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54233 { (exit 1); exit 1; }; }
54234 else
54235 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54236 fi
54237 done
54238
54239 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54240 if test -n "$ac_eof"; then
54241 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54242 ac_eof=`expr $ac_eof + 1`
54243 fi
54244
54245 cat >>$CONFIG_STATUS <<_ACEOF
54246 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54247 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54248 _ACEOF
54249 sed '
54250 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54251 s/^/s,@/; s/!/@,|#_!!_#|/
54252 :n
54253 t n
54254 s/'"$ac_delim"'$/,g/; t
54255 s/$/\\/; p
54256 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54257 ' >>$CONFIG_STATUS <conf$$subs.sed
54258 rm -f conf$$subs.sed
54259 cat >>$CONFIG_STATUS <<_ACEOF
54260 :end
54261 s/|#_!!_#|//g
54262 CEOF$ac_eof
54263 _ACEOF
54264
54265
54266 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54267 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54268 # trailing colons and then remove the whole line if VPATH becomes empty
54269 # (actually we leave an empty line to preserve line numbers).
54270 if test "x$srcdir" = x.; then
54271 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54272 s/:*\$(srcdir):*/:/
54273 s/:*\${srcdir}:*/:/
54274 s/:*@srcdir@:*/:/
54275 s/^\([^=]*=[ ]*\):*/\1/
54276 s/:*$//
54277 s/^[^=]*=[ ]*$//
54278 }'
54279 fi
54280
54281 cat >>$CONFIG_STATUS <<\_ACEOF
54282 fi # test -n "$CONFIG_FILES"
54283
54284
54285 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54286 do
54287 case $ac_tag in
54288 :[FHLC]) ac_mode=$ac_tag; continue;;
54289 esac
54290 case $ac_mode$ac_tag in
54291 :[FHL]*:*);;
54292 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54293 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54294 { (exit 1); exit 1; }; };;
54295 :[FH]-) ac_tag=-:-;;
54296 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54297 esac
54298 ac_save_IFS=$IFS
54299 IFS=:
54300 set x $ac_tag
54301 IFS=$ac_save_IFS
54302 shift
54303 ac_file=$1
54304 shift
54305
54306 case $ac_mode in
54307 :L) ac_source=$1;;
54308 :[FH])
54309 ac_file_inputs=
54310 for ac_f
54311 do
54312 case $ac_f in
54313 -) ac_f="$tmp/stdin";;
54314 *) # Look for the file first in the build tree, then in the source tree
54315 # (if the path is not absolute). The absolute path cannot be DOS-style,
54316 # because $ac_f cannot contain `:'.
54317 test -f "$ac_f" ||
54318 case $ac_f in
54319 [\\/$]*) false;;
54320 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54321 esac ||
54322 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54323 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54324 { (exit 1); exit 1; }; };;
54325 esac
54326 ac_file_inputs="$ac_file_inputs $ac_f"
54327 done
54328
54329 # Let's still pretend it is `configure' which instantiates (i.e., don't
54330 # use $as_me), people would be surprised to read:
54331 # /* config.h. Generated by config.status. */
54332 configure_input="Generated from "`IFS=:
54333 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54334 if test x"$ac_file" != x-; then
54335 configure_input="$ac_file. $configure_input"
54336 { echo "$as_me:$LINENO: creating $ac_file" >&5
54337 echo "$as_me: creating $ac_file" >&6;}
54338 fi
54339
54340 case $ac_tag in
54341 *:-:* | *:-) cat >"$tmp/stdin";;
54342 esac
54343 ;;
54344 esac
54345
54346 ac_dir=`$as_dirname -- "$ac_file" ||
54347 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54348 X"$ac_file" : 'X\(//\)[^/]' \| \
54349 X"$ac_file" : 'X\(//\)$' \| \
54350 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54351 echo X"$ac_file" |
54352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54353 s//\1/
54354 q
54355 }
54356 /^X\(\/\/\)[^/].*/{
54357 s//\1/
54358 q
54359 }
54360 /^X\(\/\/\)$/{
54361 s//\1/
54362 q
54363 }
54364 /^X\(\/\).*/{
54365 s//\1/
54366 q
54367 }
54368 s/.*/./; q'`
54369 { as_dir="$ac_dir"
54370 case $as_dir in #(
54371 -*) as_dir=./$as_dir;;
54372 esac
54373 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54374 as_dirs=
54375 while :; do
54376 case $as_dir in #(
54377 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54378 *) as_qdir=$as_dir;;
54379 esac
54380 as_dirs="'$as_qdir' $as_dirs"
54381 as_dir=`$as_dirname -- "$as_dir" ||
54382 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54383 X"$as_dir" : 'X\(//\)[^/]' \| \
54384 X"$as_dir" : 'X\(//\)$' \| \
54385 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54386 echo X"$as_dir" |
54387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54388 s//\1/
54389 q
54390 }
54391 /^X\(\/\/\)[^/].*/{
54392 s//\1/
54393 q
54394 }
54395 /^X\(\/\/\)$/{
54396 s//\1/
54397 q
54398 }
54399 /^X\(\/\).*/{
54400 s//\1/
54401 q
54402 }
54403 s/.*/./; q'`
54404 test -d "$as_dir" && break
54405 done
54406 test -z "$as_dirs" || eval "mkdir $as_dirs"
54407 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54408 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54409 { (exit 1); exit 1; }; }; }
54410 ac_builddir=.
54411
54412 case "$ac_dir" in
54413 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54414 *)
54415 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54416 # A ".." for each directory in $ac_dir_suffix.
54417 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54418 case $ac_top_builddir_sub in
54419 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54420 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54421 esac ;;
54422 esac
54423 ac_abs_top_builddir=$ac_pwd
54424 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54425 # for backward compatibility:
54426 ac_top_builddir=$ac_top_build_prefix
54427
54428 case $srcdir in
54429 .) # We are building in place.
54430 ac_srcdir=.
54431 ac_top_srcdir=$ac_top_builddir_sub
54432 ac_abs_top_srcdir=$ac_pwd ;;
54433 [\\/]* | ?:[\\/]* ) # Absolute name.
54434 ac_srcdir=$srcdir$ac_dir_suffix;
54435 ac_top_srcdir=$srcdir
54436 ac_abs_top_srcdir=$srcdir ;;
54437 *) # Relative name.
54438 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54439 ac_top_srcdir=$ac_top_build_prefix$srcdir
54440 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54441 esac
54442 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54443
54444
54445 case $ac_mode in
54446 :F)
54447 #
54448 # CONFIG_FILE
54449 #
54450
54451 case $INSTALL in
54452 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54453 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54454 esac
54455 _ACEOF
54456
54457 cat >>$CONFIG_STATUS <<\_ACEOF
54458 # If the template does not know about datarootdir, expand it.
54459 # FIXME: This hack should be removed a few years after 2.60.
54460 ac_datarootdir_hack=; ac_datarootdir_seen=
54461
54462 case `sed -n '/datarootdir/ {
54463 p
54464 q
54465 }
54466 /@datadir@/p
54467 /@docdir@/p
54468 /@infodir@/p
54469 /@localedir@/p
54470 /@mandir@/p
54471 ' $ac_file_inputs` in
54472 *datarootdir*) ac_datarootdir_seen=yes;;
54473 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54474 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54475 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54476 _ACEOF
54477 cat >>$CONFIG_STATUS <<_ACEOF
54478 ac_datarootdir_hack='
54479 s&@datadir@&$datadir&g
54480 s&@docdir@&$docdir&g
54481 s&@infodir@&$infodir&g
54482 s&@localedir@&$localedir&g
54483 s&@mandir@&$mandir&g
54484 s&\\\${datarootdir}&$datarootdir&g' ;;
54485 esac
54486 _ACEOF
54487
54488 # Neutralize VPATH when `$srcdir' = `.'.
54489 # Shell code in configure.ac might set extrasub.
54490 # FIXME: do we really want to maintain this feature?
54491 cat >>$CONFIG_STATUS <<_ACEOF
54492 sed "$ac_vpsub
54493 $extrasub
54494 _ACEOF
54495 cat >>$CONFIG_STATUS <<\_ACEOF
54496 :t
54497 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54498 s&@configure_input@&$configure_input&;t t
54499 s&@top_builddir@&$ac_top_builddir_sub&;t t
54500 s&@srcdir@&$ac_srcdir&;t t
54501 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54502 s&@top_srcdir@&$ac_top_srcdir&;t t
54503 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54504 s&@builddir@&$ac_builddir&;t t
54505 s&@abs_builddir@&$ac_abs_builddir&;t t
54506 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54507 s&@INSTALL@&$ac_INSTALL&;t t
54508 $ac_datarootdir_hack
54509 " $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
54510
54511 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54512 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54513 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54514 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54515 which seems to be undefined. Please make sure it is defined." >&5
54516 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54517 which seems to be undefined. Please make sure it is defined." >&2;}
54518
54519 rm -f "$tmp/stdin"
54520 case $ac_file in
54521 -) cat "$tmp/out"; rm -f "$tmp/out";;
54522 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54523 esac
54524 ;;
54525 :H)
54526 #
54527 # CONFIG_HEADER
54528 #
54529 _ACEOF
54530
54531 # Transform confdefs.h into a sed script `conftest.defines', that
54532 # substitutes the proper values into config.h.in to produce config.h.
54533 rm -f conftest.defines conftest.tail
54534 # First, append a space to every undef/define line, to ease matching.
54535 echo 's/$/ /' >conftest.defines
54536 # Then, protect against being on the right side of a sed subst, or in
54537 # an unquoted here document, in config.status. If some macros were
54538 # called several times there might be several #defines for the same
54539 # symbol, which is useless. But do not sort them, since the last
54540 # AC_DEFINE must be honored.
54541 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54542 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54543 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54544 # PARAMS is the parameter list in the macro definition--in most cases, it's
54545 # just an empty string.
54546 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54547 ac_dB='\\)[ (].*,\\1define\\2'
54548 ac_dC=' '
54549 ac_dD=' ,'
54550
54551 uniq confdefs.h |
54552 sed -n '
54553 t rset
54554 :rset
54555 s/^[ ]*#[ ]*define[ ][ ]*//
54556 t ok
54557 d
54558 :ok
54559 s/[\\&,]/\\&/g
54560 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54561 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54562 ' >>conftest.defines
54563
54564 # Remove the space that was appended to ease matching.
54565 # Then replace #undef with comments. This is necessary, for
54566 # example, in the case of _POSIX_SOURCE, which is predefined and required
54567 # on some systems where configure will not decide to define it.
54568 # (The regexp can be short, since the line contains either #define or #undef.)
54569 echo 's/ $//
54570 s,^[ #]*u.*,/* & */,' >>conftest.defines
54571
54572 # Break up conftest.defines:
54573 ac_max_sed_lines=50
54574
54575 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54576 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54577 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54578 # et cetera.
54579 ac_in='$ac_file_inputs'
54580 ac_out='"$tmp/out1"'
54581 ac_nxt='"$tmp/out2"'
54582
54583 while :
54584 do
54585 # Write a here document:
54586 cat >>$CONFIG_STATUS <<_ACEOF
54587 # First, check the format of the line:
54588 cat >"\$tmp/defines.sed" <<\\CEOF
54589 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54590 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54591 b
54592 :def
54593 _ACEOF
54594 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54595 echo 'CEOF
54596 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54597 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54598 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54599 grep . conftest.tail >/dev/null || break
54600 rm -f conftest.defines
54601 mv conftest.tail conftest.defines
54602 done
54603 rm -f conftest.defines conftest.tail
54604
54605 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54606 cat >>$CONFIG_STATUS <<\_ACEOF
54607 if test x"$ac_file" != x-; then
54608 echo "/* $configure_input */" >"$tmp/config.h"
54609 cat "$ac_result" >>"$tmp/config.h"
54610 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54611 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54612 echo "$as_me: $ac_file is unchanged" >&6;}
54613 else
54614 rm -f $ac_file
54615 mv "$tmp/config.h" $ac_file
54616 fi
54617 else
54618 echo "/* $configure_input */"
54619 cat "$ac_result"
54620 fi
54621 rm -f "$tmp/out12"
54622 ;;
54623
54624 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54625 echo "$as_me: executing $ac_file commands" >&6;}
54626 ;;
54627 esac
54628
54629
54630 case $ac_file$ac_mode in
54631 "rcdefs.h":C)
54632 mkdir -p $outdir &&
54633 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54634 ;;
54635 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54636 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54637 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54638 "wx-config":C) rm -f wx-config
54639 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54640 ;;
54641
54642 esac
54643 done # for ac_tag
54644
54645
54646 { (exit 0); exit 0; }
54647 _ACEOF
54648 chmod +x $CONFIG_STATUS
54649 ac_clean_files=$ac_clean_files_save
54650
54651
54652 # configure is writing to config.log, and then calls config.status.
54653 # config.status does its own redirection, appending to config.log.
54654 # Unfortunately, on DOS this fails, as config.log is still kept open
54655 # by configure, so config.status won't be able to write to it; its
54656 # output is simply discarded. So we exec the FD to /dev/null,
54657 # effectively closing config.log, so it can be properly (re)opened and
54658 # appended to by config.status. When coming back to configure, we
54659 # need to make the FD available again.
54660 if test "$no_create" != yes; then
54661 ac_cs_success=:
54662 ac_config_status_args=
54663 test "$silent" = yes &&
54664 ac_config_status_args="$ac_config_status_args --quiet"
54665 exec 5>/dev/null
54666 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54667 exec 5>>config.log
54668 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54669 # would make configure fail if this is the last instruction.
54670 $ac_cs_success || { (exit 1); exit 1; }
54671 fi
54672
54673 #
54674 # CONFIG_SUBDIRS section.
54675 #
54676 if test "$no_recursion" != yes; then
54677
54678 # Remove --cache-file and --srcdir arguments so they do not pile up.
54679 ac_sub_configure_args=
54680 ac_prev=
54681 eval "set x $ac_configure_args"
54682 shift
54683 for ac_arg
54684 do
54685 if test -n "$ac_prev"; then
54686 ac_prev=
54687 continue
54688 fi
54689 case $ac_arg in
54690 -cache-file | --cache-file | --cache-fil | --cache-fi \
54691 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54692 ac_prev=cache_file ;;
54693 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54694 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54695 | --c=*)
54696 ;;
54697 --config-cache | -C)
54698 ;;
54699 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54700 ac_prev=srcdir ;;
54701 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54702 ;;
54703 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54704 ac_prev=prefix ;;
54705 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54706 ;;
54707 *)
54708 case $ac_arg in
54709 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54710 esac
54711 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54712 esac
54713 done
54714
54715 # Always prepend --prefix to ensure using the same prefix
54716 # in subdir configurations.
54717 ac_arg="--prefix=$prefix"
54718 case $ac_arg in
54719 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54720 esac
54721 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54722
54723 # Pass --silent
54724 if test "$silent" = yes; then
54725 ac_sub_configure_args="--silent $ac_sub_configure_args"
54726 fi
54727
54728 ac_popdir=`pwd`
54729 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54730
54731 # Do not complain, so a configure script can configure whichever
54732 # parts of a large source tree are present.
54733 test -d "$srcdir/$ac_dir" || continue
54734
54735 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54736 echo "$as_me:$LINENO: $ac_msg" >&5
54737 echo "$ac_msg" >&6
54738 { as_dir="$ac_dir"
54739 case $as_dir in #(
54740 -*) as_dir=./$as_dir;;
54741 esac
54742 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54743 as_dirs=
54744 while :; do
54745 case $as_dir in #(
54746 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54747 *) as_qdir=$as_dir;;
54748 esac
54749 as_dirs="'$as_qdir' $as_dirs"
54750 as_dir=`$as_dirname -- "$as_dir" ||
54751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54752 X"$as_dir" : 'X\(//\)[^/]' \| \
54753 X"$as_dir" : 'X\(//\)$' \| \
54754 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54755 echo X"$as_dir" |
54756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54757 s//\1/
54758 q
54759 }
54760 /^X\(\/\/\)[^/].*/{
54761 s//\1/
54762 q
54763 }
54764 /^X\(\/\/\)$/{
54765 s//\1/
54766 q
54767 }
54768 /^X\(\/\).*/{
54769 s//\1/
54770 q
54771 }
54772 s/.*/./; q'`
54773 test -d "$as_dir" && break
54774 done
54775 test -z "$as_dirs" || eval "mkdir $as_dirs"
54776 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54777 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54778 { (exit 1); exit 1; }; }; }
54779 ac_builddir=.
54780
54781 case "$ac_dir" in
54782 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54783 *)
54784 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54785 # A ".." for each directory in $ac_dir_suffix.
54786 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54787 case $ac_top_builddir_sub in
54788 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54789 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54790 esac ;;
54791 esac
54792 ac_abs_top_builddir=$ac_pwd
54793 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54794 # for backward compatibility:
54795 ac_top_builddir=$ac_top_build_prefix
54796
54797 case $srcdir in
54798 .) # We are building in place.
54799 ac_srcdir=.
54800 ac_top_srcdir=$ac_top_builddir_sub
54801 ac_abs_top_srcdir=$ac_pwd ;;
54802 [\\/]* | ?:[\\/]* ) # Absolute name.
54803 ac_srcdir=$srcdir$ac_dir_suffix;
54804 ac_top_srcdir=$srcdir
54805 ac_abs_top_srcdir=$srcdir ;;
54806 *) # Relative name.
54807 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54808 ac_top_srcdir=$ac_top_build_prefix$srcdir
54809 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54810 esac
54811 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54812
54813
54814 cd "$ac_dir"
54815
54816 # Check for guested configure; otherwise get Cygnus style configure.
54817 if test -f "$ac_srcdir/configure.gnu"; then
54818 ac_sub_configure=$ac_srcdir/configure.gnu
54819 elif test -f "$ac_srcdir/configure"; then
54820 ac_sub_configure=$ac_srcdir/configure
54821 elif test -f "$ac_srcdir/configure.in"; then
54822 # This should be Cygnus configure.
54823 ac_sub_configure=$ac_aux_dir/configure
54824 else
54825 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54826 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54827 ac_sub_configure=
54828 fi
54829
54830 # The recursion is here.
54831 if test -n "$ac_sub_configure"; then
54832 # Make the cache file name correct relative to the subdirectory.
54833 case $cache_file in
54834 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54835 *) # Relative name.
54836 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54837 esac
54838
54839 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54840 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54841 # The eval makes quoting arguments work.
54842 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54843 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54844 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54845 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54846 { (exit 1); exit 1; }; }
54847 fi
54848
54849 cd "$ac_popdir"
54850 done
54851 fi
54852
54853
54854 echo
54855 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54856 echo ""
54857 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54858 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54859 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54860 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54861 if test "$wxUSE_UNICODE" = "yes"; then
54862 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54863 echo " (using UTF-8)"
54864 else
54865 echo " (using wchar_t)"
54866 fi
54867 else
54868 echo
54869 fi
54870
54871 echo " What level of wxWidgets compatibility should be enabled?"
54872 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54873 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54874
54875 echo " Which libraries should wxWidgets use?"
54876 echo " STL ${wxUSE_STL}"
54877 echo " jpeg ${wxUSE_LIBJPEG-none}"
54878 echo " png ${wxUSE_LIBPNG-none}"
54879 echo " regex ${wxUSE_REGEX}"
54880 echo " tiff ${wxUSE_LIBTIFF-none}"
54881 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54882 echo " xpm ${wxUSE_LIBXPM-none}"
54883 fi
54884 echo " zlib ${wxUSE_ZLIB}"
54885 echo " expat ${wxUSE_EXPAT}"
54886 echo " libmspack ${wxUSE_LIBMSPACK}"
54887 echo " sdl ${wxUSE_LIBSDL}"
54888
54889 echo ""
54890