]> git.saurik.com Git - wxWidgets.git/blob - configure
Make wxListCtrl sort function take wxIntPtr, not long, arguments.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 67603 2011-04-26 17:35:35Z RD .
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-dctransform use wxDC::SetTransformMatrix and related
1903 --enable-palette use wxPalette class
1904 --enable-image use wxImage class
1905 --enable-gif use gif images (GIF file format)
1906 --enable-pcx use pcx images (PCX file format)
1907 --enable-tga use tga images (TGA file format)
1908 --enable-iff use iff images (IFF file format)
1909 --enable-pnm use pnm images (PNM file format)
1910 --enable-xpm use xpm images (XPM file format)
1911 --enable-ico_cur use Windows ICO and CUR formats
1912 --enable-dccache cache temporary wxDC objects (Win32 only)
1913 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1914 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1915 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1916 --enable-wxdib use wxDIB class (Win32 only)
1917 --enable-autoidman use automatic ids management
1918 --disable-largefile omit support for large files
1919 --disable-gtktest do not try to compile and run a test GTK+ program
1920 --disable-gtktest Do not try to compile and run a test GTK program
1921 --disable-sdltest Do not try to compile and run a test SDL program
1922 --enable-omf use OMF object format (OS/2)
1923 --disable-dependency-tracking
1924 don't use dependency tracking even if the compiler
1925 can
1926 --disable-precomp-headers
1927 don't use precompiled headers even if compiler can
1928
1929 Optional Packages:
1930 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1931 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1932 --without-subdirs don't generate makefiles for samples/demos/...
1933 --with-flavour=NAME specify a name to identify this build
1934 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1935 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1936 --with-motif use Motif/Lesstif
1937 --with-osx_carbon use Mac OS X (Carbon)
1938 --with-osx_cocoa use Mac OS X (Cocoa)
1939 --with-osx_iphone use iPhone OS X port
1940 --with-osx use Mac OS X (default port, currently Carbon)
1941 --with-carbon same as --with-osx_carbon
1942 --with-cocoa same as --with-osx_cocoa
1943 --with-iphone same as --with-osx_iphone
1944 --with-mac same as --with-osx
1945 --with-old_cocoa use old, deprecated, Cocoa port
1946 --with-wine use Wine
1947 --with-msw use MS-Windows
1948 --with-pm use OS/2 Presentation Manager
1949 --with-mgl use SciTech MGL
1950 --with-directfb use DirectFB
1951 --with-microwin use MicroWindows
1952 --with-x11 use X11
1953 --with-libpng use libpng (PNG image format)
1954 --with-libjpeg use libjpeg (JPEG file format)
1955 --with-libtiff use libtiff (TIFF file format)
1956 --with-libxpm use libxpm (XPM file format)
1957 --with-libiconv use libiconv (character conversion)
1958 --with-libmspack use libmspack (CHM help files loading)
1959 --without-gtkprint don't use GTK printing support
1960 --without-gnomeprint don't use GNOME printing libraries
1961 --with-gnomevfs use GNOME VFS for associating MIME types
1962 --with-hildon use Hildon framework for Nokia 770/800/810
1963 --with-opengl use OpenGL (or Mesa)
1964 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1965 --with-sdl use SDL for audio on Unix
1966 --with-regex enable support for wxRegEx class
1967 --with-zlib use zlib for LZW compression
1968 --with-expat enable XML support using expat parser
1969 --with-macosx-sdk=PATH use an OS X SDK at PATH
1970 --with-macosx-version-min=VER build binaries which require at least this OS X version
1971 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1972 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1973 --with-x use the X Window System
1974 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1975 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1976 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1977 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1978 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1979
1980 Some influential environment variables:
1981 CC C compiler command
1982 CFLAGS C compiler flags
1983 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1984 nonstandard directory <lib dir>
1985 LIBS libraries to pass to the linker, e.g. -l<library>
1986 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1987 you have headers in a nonstandard directory <include dir>
1988 CPP C preprocessor
1989 CXX C++ compiler command
1990 CXXFLAGS C++ compiler flags
1991 CXXCPP C++ preprocessor
1992 PKG_CONFIG path to pkg-config utility
1993 DIRECTFB_CFLAGS
1994 C compiler flags for DIRECTFB, overriding pkg-config
1995 DIRECTFB_LIBS
1996 linker flags for DIRECTFB, overriding pkg-config
1997 XMKMF Path to xmkmf, Makefile generator for X Window System
1998 PANGOX_CFLAGS
1999 C compiler flags for PANGOX, overriding pkg-config
2000 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2001 PANGOFT2_CFLAGS
2002 C compiler flags for PANGOFT2, overriding pkg-config
2003 PANGOFT2_LIBS
2004 linker flags for PANGOFT2, overriding pkg-config
2005 PANGOXFT_CFLAGS
2006 C compiler flags for PANGOXFT, overriding pkg-config
2007 PANGOXFT_LIBS
2008 linker flags for PANGOXFT, overriding pkg-config
2009 GTKPRINT_CFLAGS
2010 C compiler flags for GTKPRINT, overriding pkg-config
2011 GTKPRINT_LIBS
2012 linker flags for GTKPRINT, overriding pkg-config
2013 LIBGNOMEPRINTUI_CFLAGS
2014 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2015 LIBGNOMEPRINTUI_LIBS
2016 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2017 GNOMEVFS_CFLAGS
2018 C compiler flags for GNOMEVFS, overriding pkg-config
2019 GNOMEVFS_LIBS
2020 linker flags for GNOMEVFS, overriding pkg-config
2021 HILDON_CFLAGS
2022 C compiler flags for HILDON, overriding pkg-config
2023 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2024 HILDON2_CFLAGS
2025 C compiler flags for HILDON2, overriding pkg-config
2026 HILDON2_LIBS
2027 linker flags for HILDON2, overriding pkg-config
2028 CAIRO_CFLAGS
2029 C compiler flags for CAIRO, overriding pkg-config
2030 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2031 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2032 GST_LIBS linker flags for GST, overriding pkg-config
2033
2034 Use these variables to override the choices made by `configure' or to help
2035 it to find libraries and programs with nonstandard names/locations.
2036
2037 Report bugs to <wx-dev@lists.wxwidgets.org>.
2038 _ACEOF
2039 ac_status=$?
2040 fi
2041
2042 if test "$ac_init_help" = "recursive"; then
2043 # If there are subdirs, report their specific --help.
2044 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2045 test -d "$ac_dir" || continue
2046 ac_builddir=.
2047
2048 case "$ac_dir" in
2049 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2050 *)
2051 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2052 # A ".." for each directory in $ac_dir_suffix.
2053 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2054 case $ac_top_builddir_sub in
2055 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2056 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2057 esac ;;
2058 esac
2059 ac_abs_top_builddir=$ac_pwd
2060 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2061 # for backward compatibility:
2062 ac_top_builddir=$ac_top_build_prefix
2063
2064 case $srcdir in
2065 .) # We are building in place.
2066 ac_srcdir=.
2067 ac_top_srcdir=$ac_top_builddir_sub
2068 ac_abs_top_srcdir=$ac_pwd ;;
2069 [\\/]* | ?:[\\/]* ) # Absolute name.
2070 ac_srcdir=$srcdir$ac_dir_suffix;
2071 ac_top_srcdir=$srcdir
2072 ac_abs_top_srcdir=$srcdir ;;
2073 *) # Relative name.
2074 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2075 ac_top_srcdir=$ac_top_build_prefix$srcdir
2076 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2077 esac
2078 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2079
2080 cd "$ac_dir" || { ac_status=$?; continue; }
2081 # Check for guested configure.
2082 if test -f "$ac_srcdir/configure.gnu"; then
2083 echo &&
2084 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2085 elif test -f "$ac_srcdir/configure"; then
2086 echo &&
2087 $SHELL "$ac_srcdir/configure" --help=recursive
2088 else
2089 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2090 fi || ac_status=$?
2091 cd "$ac_pwd" || { ac_status=$?; break; }
2092 done
2093 fi
2094
2095 test -n "$ac_init_help" && exit $ac_status
2096 if $ac_init_version; then
2097 cat <<\_ACEOF
2098 wxWidgets configure 2.9.2
2099 generated by GNU Autoconf 2.61
2100
2101 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2102 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2103 This configure script is free software; the Free Software Foundation
2104 gives unlimited permission to copy, distribute and modify it.
2105 _ACEOF
2106 exit
2107 fi
2108 cat >config.log <<_ACEOF
2109 This file contains any messages produced by compilers while
2110 running configure, to aid debugging if configure makes a mistake.
2111
2112 It was created by wxWidgets $as_me 2.9.2, which was
2113 generated by GNU Autoconf 2.61. Invocation command line was
2114
2115 $ $0 $@
2116
2117 _ACEOF
2118 exec 5>>config.log
2119 {
2120 cat <<_ASUNAME
2121 ## --------- ##
2122 ## Platform. ##
2123 ## --------- ##
2124
2125 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2126 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2127 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2128 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2129 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2130
2131 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2132 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2133
2134 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2135 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2136 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2137 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2138 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2139 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2140 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2141
2142 _ASUNAME
2143
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 for as_dir in $PATH
2146 do
2147 IFS=$as_save_IFS
2148 test -z "$as_dir" && as_dir=.
2149 echo "PATH: $as_dir"
2150 done
2151 IFS=$as_save_IFS
2152
2153 } >&5
2154
2155 cat >&5 <<_ACEOF
2156
2157
2158 ## ----------- ##
2159 ## Core tests. ##
2160 ## ----------- ##
2161
2162 _ACEOF
2163
2164
2165 # Keep a trace of the command line.
2166 # Strip out --no-create and --no-recursion so they do not pile up.
2167 # Strip out --silent because we don't want to record it for future runs.
2168 # Also quote any args containing shell meta-characters.
2169 # Make two passes to allow for proper duplicate-argument suppression.
2170 ac_configure_args=
2171 ac_configure_args0=
2172 ac_configure_args1=
2173 ac_must_keep_next=false
2174 for ac_pass in 1 2
2175 do
2176 for ac_arg
2177 do
2178 case $ac_arg in
2179 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2181 | -silent | --silent | --silen | --sile | --sil)
2182 continue ;;
2183 *\'*)
2184 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2185 esac
2186 case $ac_pass in
2187 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2188 2)
2189 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2190 if test $ac_must_keep_next = true; then
2191 ac_must_keep_next=false # Got value, back to normal.
2192 else
2193 case $ac_arg in
2194 *=* | --config-cache | -C | -disable-* | --disable-* \
2195 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2196 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2197 | -with-* | --with-* | -without-* | --without-* | --x)
2198 case "$ac_configure_args0 " in
2199 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2200 esac
2201 ;;
2202 -* ) ac_must_keep_next=true ;;
2203 esac
2204 fi
2205 ac_configure_args="$ac_configure_args '$ac_arg'"
2206 ;;
2207 esac
2208 done
2209 done
2210 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2211 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2212
2213 # When interrupted or exit'd, cleanup temporary files, and complete
2214 # config.log. We remove comments because anyway the quotes in there
2215 # would cause problems or look ugly.
2216 # WARNING: Use '\'' to represent an apostrophe within the trap.
2217 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2218 trap 'exit_status=$?
2219 # Save into config.log some information that might help in debugging.
2220 {
2221 echo
2222
2223 cat <<\_ASBOX
2224 ## ---------------- ##
2225 ## Cache variables. ##
2226 ## ---------------- ##
2227 _ASBOX
2228 echo
2229 # The following way of writing the cache mishandles newlines in values,
2230 (
2231 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2232 eval ac_val=\$$ac_var
2233 case $ac_val in #(
2234 *${as_nl}*)
2235 case $ac_var in #(
2236 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2237 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2238 esac
2239 case $ac_var in #(
2240 _ | IFS | as_nl) ;; #(
2241 *) $as_unset $ac_var ;;
2242 esac ;;
2243 esac
2244 done
2245 (set) 2>&1 |
2246 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2247 *${as_nl}ac_space=\ *)
2248 sed -n \
2249 "s/'\''/'\''\\\\'\'''\''/g;
2250 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2251 ;; #(
2252 *)
2253 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2254 ;;
2255 esac |
2256 sort
2257 )
2258 echo
2259
2260 cat <<\_ASBOX
2261 ## ----------------- ##
2262 ## Output variables. ##
2263 ## ----------------- ##
2264 _ASBOX
2265 echo
2266 for ac_var in $ac_subst_vars
2267 do
2268 eval ac_val=\$$ac_var
2269 case $ac_val in
2270 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2271 esac
2272 echo "$ac_var='\''$ac_val'\''"
2273 done | sort
2274 echo
2275
2276 if test -n "$ac_subst_files"; then
2277 cat <<\_ASBOX
2278 ## ------------------- ##
2279 ## File substitutions. ##
2280 ## ------------------- ##
2281 _ASBOX
2282 echo
2283 for ac_var in $ac_subst_files
2284 do
2285 eval ac_val=\$$ac_var
2286 case $ac_val in
2287 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2288 esac
2289 echo "$ac_var='\''$ac_val'\''"
2290 done | sort
2291 echo
2292 fi
2293
2294 if test -s confdefs.h; then
2295 cat <<\_ASBOX
2296 ## ----------- ##
2297 ## confdefs.h. ##
2298 ## ----------- ##
2299 _ASBOX
2300 echo
2301 cat confdefs.h
2302 echo
2303 fi
2304 test "$ac_signal" != 0 &&
2305 echo "$as_me: caught signal $ac_signal"
2306 echo "$as_me: exit $exit_status"
2307 } >&5
2308 rm -f core *.core core.conftest.* &&
2309 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2310 exit $exit_status
2311 ' 0
2312 for ac_signal in 1 2 13 15; do
2313 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2314 done
2315 ac_signal=0
2316
2317 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2318 rm -f -r conftest* confdefs.h
2319
2320 # Predefined preprocessor variables.
2321
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_NAME "$PACKAGE_NAME"
2324 _ACEOF
2325
2326
2327 cat >>confdefs.h <<_ACEOF
2328 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2329 _ACEOF
2330
2331
2332 cat >>confdefs.h <<_ACEOF
2333 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2334 _ACEOF
2335
2336
2337 cat >>confdefs.h <<_ACEOF
2338 #define PACKAGE_STRING "$PACKAGE_STRING"
2339 _ACEOF
2340
2341
2342 cat >>confdefs.h <<_ACEOF
2343 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2344 _ACEOF
2345
2346
2347 # Let the site file select an alternate cache file if it wants to.
2348 # Prefer explicitly selected file to automatically selected ones.
2349 if test -n "$CONFIG_SITE"; then
2350 set x "$CONFIG_SITE"
2351 elif test "x$prefix" != xNONE; then
2352 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2353 else
2354 set x "$ac_default_prefix/share/config.site" \
2355 "$ac_default_prefix/etc/config.site"
2356 fi
2357 shift
2358 for ac_site_file
2359 do
2360 if test -r "$ac_site_file"; then
2361 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2362 echo "$as_me: loading site script $ac_site_file" >&6;}
2363 sed 's/^/| /' "$ac_site_file" >&5
2364 . "$ac_site_file"
2365 fi
2366 done
2367
2368 if test -r "$cache_file"; then
2369 # Some versions of bash will fail to source /dev/null (special
2370 # files actually), so we avoid doing that.
2371 if test -f "$cache_file"; then
2372 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2373 echo "$as_me: loading cache $cache_file" >&6;}
2374 case $cache_file in
2375 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2376 *) . "./$cache_file";;
2377 esac
2378 fi
2379 else
2380 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2381 echo "$as_me: creating cache $cache_file" >&6;}
2382 >$cache_file
2383 fi
2384
2385 # Check that the precious variables saved in the cache have kept the same
2386 # value.
2387 ac_cache_corrupted=false
2388 for ac_var in $ac_precious_vars; do
2389 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2390 eval ac_new_set=\$ac_env_${ac_var}_set
2391 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2392 eval ac_new_val=\$ac_env_${ac_var}_value
2393 case $ac_old_set,$ac_new_set in
2394 set,)
2395 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2396 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2397 ac_cache_corrupted=: ;;
2398 ,set)
2399 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2400 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2401 ac_cache_corrupted=: ;;
2402 ,);;
2403 *)
2404 if test "x$ac_old_val" != "x$ac_new_val"; then
2405 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2406 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2407 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2408 echo "$as_me: former value: $ac_old_val" >&2;}
2409 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2410 echo "$as_me: current value: $ac_new_val" >&2;}
2411 ac_cache_corrupted=:
2412 fi;;
2413 esac
2414 # Pass precious variables to config.status.
2415 if test "$ac_new_set" = set; then
2416 case $ac_new_val in
2417 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2418 *) ac_arg=$ac_var=$ac_new_val ;;
2419 esac
2420 case " $ac_configure_args " in
2421 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2422 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2423 esac
2424 fi
2425 done
2426 if $ac_cache_corrupted; then
2427 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2428 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2429 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2430 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2431 { (exit 1); exit 1; }; }
2432 fi
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
2458 ac_ext=c
2459 ac_cpp='$CPP $CPPFLAGS'
2460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2463
2464
2465
2466
2467
2468 ac_aux_dir=
2469 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2470 if test -f "$ac_dir/install-sh"; then
2471 ac_aux_dir=$ac_dir
2472 ac_install_sh="$ac_aux_dir/install-sh -c"
2473 break
2474 elif test -f "$ac_dir/install.sh"; then
2475 ac_aux_dir=$ac_dir
2476 ac_install_sh="$ac_aux_dir/install.sh -c"
2477 break
2478 elif test -f "$ac_dir/shtool"; then
2479 ac_aux_dir=$ac_dir
2480 ac_install_sh="$ac_aux_dir/shtool install -c"
2481 break
2482 fi
2483 done
2484 if test -z "$ac_aux_dir"; then
2485 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2486 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2487 { (exit 1); exit 1; }; }
2488 fi
2489
2490 # These three variables are undocumented and unsupported,
2491 # and are intended to be withdrawn in a future Autoconf release.
2492 # They can cause serious problems if a builder's source tree is in a directory
2493 # whose full name contains unusual characters.
2494 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2495 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2496 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2497
2498
2499 # Make sure we can run config.sub.
2500 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2501 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2502 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2503 { (exit 1); exit 1; }; }
2504
2505 { echo "$as_me:$LINENO: checking build system type" >&5
2506 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2507 if test "${ac_cv_build+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 else
2510 ac_build_alias=$build_alias
2511 test "x$ac_build_alias" = x &&
2512 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2513 test "x$ac_build_alias" = x &&
2514 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2515 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2516 { (exit 1); exit 1; }; }
2517 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2518 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2519 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2520 { (exit 1); exit 1; }; }
2521
2522 fi
2523 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2524 echo "${ECHO_T}$ac_cv_build" >&6; }
2525 case $ac_cv_build in
2526 *-*-*) ;;
2527 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2528 echo "$as_me: error: invalid value of canonical build" >&2;}
2529 { (exit 1); exit 1; }; };;
2530 esac
2531 build=$ac_cv_build
2532 ac_save_IFS=$IFS; IFS='-'
2533 set x $ac_cv_build
2534 shift
2535 build_cpu=$1
2536 build_vendor=$2
2537 shift; shift
2538 # Remember, the first character of IFS is used to create $*,
2539 # except with old shells:
2540 build_os=$*
2541 IFS=$ac_save_IFS
2542 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2543
2544
2545 { echo "$as_me:$LINENO: checking host system type" >&5
2546 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2547 if test "${ac_cv_host+set}" = set; then
2548 echo $ECHO_N "(cached) $ECHO_C" >&6
2549 else
2550 if test "x$host_alias" = x; then
2551 ac_cv_host=$ac_cv_build
2552 else
2553 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2554 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2555 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2556 { (exit 1); exit 1; }; }
2557 fi
2558
2559 fi
2560 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2561 echo "${ECHO_T}$ac_cv_host" >&6; }
2562 case $ac_cv_host in
2563 *-*-*) ;;
2564 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2565 echo "$as_me: error: invalid value of canonical host" >&2;}
2566 { (exit 1); exit 1; }; };;
2567 esac
2568 host=$ac_cv_host
2569 ac_save_IFS=$IFS; IFS='-'
2570 set x $ac_cv_host
2571 shift
2572 host_cpu=$1
2573 host_vendor=$2
2574 shift; shift
2575 # Remember, the first character of IFS is used to create $*,
2576 # except with old shells:
2577 host_os=$*
2578 IFS=$ac_save_IFS
2579 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2580
2581
2582
2583 if test "$cross_compiling" != "no"; then
2584 HOST_PREFIX="${host_alias}-"
2585 HOST_SUFFIX="-$host_alias"
2586 else
2587 HOST_PREFIX=
2588 HOST_SUFFIX=
2589 fi
2590
2591
2592 wx_major_version_number=2
2593 wx_minor_version_number=9
2594 wx_release_number=2
2595 wx_subrelease_number=0
2596
2597 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2598 WX_VERSION=$WX_RELEASE.$wx_release_number
2599 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2600
2601 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2602
2603
2604 wx_top_builddir="`pwd`"
2605
2606
2607
2608
2609 USE_UNIX=1
2610 USE_OS2=0
2611 USE_WIN32=0
2612 USE_DOS=0
2613 USE_BEOS=0
2614 USE_MAC=0
2615
2616 USE_AIX=
2617 USE_BSD= USE_DARWIN= USE_FREEBSD=
2618 USE_GNU= USE_HPUX=
2619 USE_LINUX=
2620 USE_NETBSD=
2621 USE_OPENBSD=
2622 USE_OSF= USE_SGI=
2623 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2624 USE_ULTRIX=
2625 USE_UNIXWARE=
2626
2627 USE_ALPHA=
2628
2629 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2630
2631 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2632
2633 DEFAULT_wxUSE_OLD_COCOA=0
2634 DEFAULT_wxUSE_GTK=0
2635 DEFAULT_wxUSE_OSX_CARBON=0
2636 DEFAULT_wxUSE_OSX_COCOA=0
2637 DEFAULT_wxUSE_OSX_IPHONE=0
2638 DEFAULT_wxUSE_MGL=0
2639 DEFAULT_wxUSE_MICROWIN=0
2640 DEFAULT_wxUSE_MOTIF=0
2641 DEFAULT_wxUSE_MSW=0
2642 DEFAULT_wxUSE_PM=0
2643 DEFAULT_wxUSE_X11=0
2644 DEFAULT_wxUSE_DFB=0
2645
2646 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2647 DEFAULT_DEFAULT_wxUSE_GTK=0
2648 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2649 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2650 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2651 DEFAULT_DEFAULT_wxUSE_MGL=0
2652 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2653 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2654 DEFAULT_DEFAULT_wxUSE_MSW=0
2655 DEFAULT_DEFAULT_wxUSE_PM=0
2656 DEFAULT_DEFAULT_wxUSE_X11=0
2657 DEFAULT_DEFAULT_wxUSE_DFB=0
2658
2659 PROGRAM_EXT=
2660 SAMPLES_RPATH_FLAG=
2661 DYLIB_RPATH_INSTALL=
2662 DYLIB_RPATH_POSTLINK=
2663
2664 DEFAULT_STD_FLAG=yes
2665
2666 case "${host}" in
2667 *-hp-hpux* )
2668 USE_HPUX=1
2669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2670 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __HPUX__ 1
2673 _ACEOF
2674
2675
2676 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2677 ;;
2678 *-*-linux* )
2679 USE_LINUX=1
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __LINUX__ 1
2682 _ACEOF
2683
2684 TMP=`uname -m`
2685 if test "x$TMP" = "xalpha"; then
2686 USE_ALPHA=1
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __ALPHA__ 1
2689 _ACEOF
2690
2691 fi
2692 DEFAULT_DEFAULT_wxUSE_GTK=1
2693 ;;
2694 *-*-gnu* | *-*-k*bsd*-gnu )
2695 USE_GNU=1
2696 TMP=`uname -m`
2697 if test "x$TMP" = "xalpha"; then
2698 USE_ALPHA=1
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __ALPHA__ 1
2701 _ACEOF
2702
2703 fi
2704 DEFAULT_DEFAULT_wxUSE_GTK=1
2705 ;;
2706 *-*-irix5* | *-*-irix6* )
2707 USE_SGI=1
2708 USE_SVR4=1
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __SGI__ 1
2711 _ACEOF
2712
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __SVR4__ 1
2715 _ACEOF
2716
2717 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2718 ;;
2719 *-*-qnx*)
2720 USE_QNX=1
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __QNX__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_X11=1
2726 ;;
2727 *-*-solaris2* )
2728 USE_SUN=1
2729 USE_SOLARIS=1
2730 USE_SVR4=1
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __SUN__ 1
2733 _ACEOF
2734
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __SOLARIS__ 1
2737 _ACEOF
2738
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __SVR4__ 1
2741 _ACEOF
2742
2743 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2744 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2745 ;;
2746 *-*-sunos4* )
2747 USE_SUN=1
2748 USE_SUNOS=1
2749 USE_BSD=1
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __SUN__ 1
2752 _ACEOF
2753
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __SUNOS__ 1
2756 _ACEOF
2757
2758 cat >>confdefs.h <<\_ACEOF
2759 #define __BSD__ 1
2760 _ACEOF
2761
2762 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2763 ;;
2764 *-*-freebsd*)
2765 USE_BSD=1
2766 USE_FREEBSD=1
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __FREEBSD__ 1
2769 _ACEOF
2770
2771 cat >>confdefs.h <<\_ACEOF
2772 #define __BSD__ 1
2773 _ACEOF
2774
2775 DEFAULT_DEFAULT_wxUSE_GTK=1
2776 ;;
2777 *-*-openbsd*|*-*-mirbsd*)
2778 USE_BSD=1
2779 USE_OPENBSD=1
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __OPENBSD__ 1
2782 _ACEOF
2783
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __BSD__ 1
2786 _ACEOF
2787
2788 DEFAULT_DEFAULT_wxUSE_GTK=1
2789 ;;
2790 *-*-netbsd*)
2791 USE_BSD=1
2792 USE_NETBSD=1
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __NETBSD__ 1
2795 _ACEOF
2796
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __BSD__ 1
2799 _ACEOF
2800
2801 DEFAULT_DEFAULT_wxUSE_GTK=1
2802 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2803
2804 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2805 ;;
2806 *-*-osf* )
2807 USE_ALPHA=1
2808 USE_OSF=1
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __ALPHA__ 1
2811 _ACEOF
2812
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __OSF__ 1
2815 _ACEOF
2816
2817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2818 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2819 ;;
2820 *-*-dgux5* )
2821 USE_ALPHA=1
2822 USE_SVR4=1
2823 cat >>confdefs.h <<\_ACEOF
2824 #define __ALPHA__ 1
2825 _ACEOF
2826
2827 cat >>confdefs.h <<\_ACEOF
2828 #define __SVR4__ 1
2829 _ACEOF
2830
2831 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2832 ;;
2833 *-*-sysv5* )
2834 USE_SYSV=1
2835 USE_SVR4=1
2836 cat >>confdefs.h <<\_ACEOF
2837 #define __SYSV__ 1
2838 _ACEOF
2839
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __SVR4__ 1
2842 _ACEOF
2843
2844 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2845 ;;
2846 *-*-aix* )
2847 USE_AIX=1
2848 USE_SYSV=1
2849 USE_SVR4=1
2850 cat >>confdefs.h <<\_ACEOF
2851 #define __AIX__ 1
2852 _ACEOF
2853
2854 cat >>confdefs.h <<\_ACEOF
2855 #define __SYSV__ 1
2856 _ACEOF
2857
2858 cat >>confdefs.h <<\_ACEOF
2859 #define __SVR4__ 1
2860 _ACEOF
2861
2862 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2863 ;;
2864
2865 *-*-*UnixWare*)
2866 USE_SYSV=1
2867 USE_SVR4=1
2868 USE_UNIXWARE=1
2869 cat >>confdefs.h <<\_ACEOF
2870 #define __UNIXWARE__ 1
2871 _ACEOF
2872
2873 ;;
2874
2875 *-*-cygwin* | *-*-mingw32* )
2876 PROGRAM_EXT=".exe"
2877 DEFAULT_DEFAULT_wxUSE_MSW=1
2878 ;;
2879
2880 *-pc-msdosdjgpp )
2881 USE_UNIX=0
2882 USE_DOS=1
2883 cat >>confdefs.h <<\_ACEOF
2884 #define __DOS__ 1
2885 _ACEOF
2886
2887 PROGRAM_EXT=".exe"
2888 DEFAULT_DEFAULT_wxUSE_MGL=1
2889 ;;
2890
2891 *-pc-os2_emx | *-pc-os2-emx )
2892 cat >>confdefs.h <<\_ACEOF
2893 #define __EMX__ 1
2894 _ACEOF
2895
2896 USE_OS2=1
2897 cat >>confdefs.h <<\_ACEOF
2898 #define __OS2__ 1
2899 _ACEOF
2900
2901 PROGRAM_EXT=".exe"
2902 DEFAULT_DEFAULT_wxUSE_PM=1
2903 CXX=gcc
2904 LDFLAGS="$LDFLAGS -Zcrtdll"
2905 ac_executable_extensions=".exe"
2906 export ac_executable_extensions
2907 ac_save_IFS="$IFS"
2908 IFS='\\'
2909 ac_TEMP_PATH=
2910 for ac_dir in $PATH; do
2911 IFS=$ac_save_IFS
2912 if test -z "$ac_TEMP_PATH"; then
2913 ac_TEMP_PATH="$ac_dir"
2914 else
2915 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2916 fi
2917 done
2918 export PATH="$ac_TEMP_PATH"
2919 unset ac_TEMP_PATH
2920 DEFAULT_STD_FLAG=no
2921 ;;
2922
2923 arm-apple-darwin*)
2924 USE_BSD=1
2925 USE_DARWIN=1
2926 cat >>confdefs.h <<\_ACEOF
2927 #define __BSD__ 1
2928 _ACEOF
2929
2930 cat >>confdefs.h <<\_ACEOF
2931 #define __DARWIN__ 1
2932 _ACEOF
2933
2934 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2935 ;;
2936
2937 *-*-darwin* )
2938 USE_BSD=1
2939 USE_DARWIN=1
2940 cat >>confdefs.h <<\_ACEOF
2941 #define __BSD__ 1
2942 _ACEOF
2943
2944 cat >>confdefs.h <<\_ACEOF
2945 #define __DARWIN__ 1
2946 _ACEOF
2947
2948 cat >>confdefs.h <<\_ACEOF
2949 #define TARGET_CARBON 1
2950 _ACEOF
2951
2952 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2953 ;;
2954
2955 *-*-beos* )
2956 USE_BEOS=1
2957 cat >>confdefs.h <<\_ACEOF
2958 #define __BEOS__ 1
2959 _ACEOF
2960
2961 ;;
2962
2963 *)
2964 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2965 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2966 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2967 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2968
2969 DEFAULT_DEFAULT_wxUSE_X11=1
2970 DEFAULT_wxUSE_SHARED=no
2971 esac
2972
2973
2974
2975 DEFAULT_wxUSE_ALL_FEATURES=yes
2976
2977 DEFAULT_wxUSE_STD_CONTAINERS=$DEFAULT_STD_FLAG
2978 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2979 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2980
2981 DEFAULT_wxUSE_DMALLOC=no
2982 DEFAULT_wxUSE_LIBGNOMEVFS=no
2983 DEFAULT_wxUSE_LIBHILDON=no
2984 DEFAULT_wxUSE_LIBHILDON2=no
2985 DEFAULT_wxUSE_LIBMSPACK=no
2986 DEFAULT_wxUSE_LIBSDL=no
2987
2988 DEFAULT_wxUSE_ACCESSIBILITY=no
2989 DEFAULT_wxUSE_IPV6=no
2990 DEFAULT_wxUSE_GSTREAMER8=no
2991
2992 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2993 DEFAULT_wxUSE_UNICODE_UTF8=auto
2994 DEFAULT_wxUSE_OPENGL=auto
2995 DEFAULT_wxUSE_MEDIACTRL=auto
2996 DEFAULT_wxUSE_COMPILER_TLS=auto
2997
2998 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2999
3000 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3001 DEFAULT_wxUSE_MAC_ARCH=no
3002
3003 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3004
3005 DEFAULT_wxUSE_GTK2=yes
3006
3007 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3008
3009
3010
3011
3012
3013 enablestring=disable
3014 defaultval=
3015 if test -z "$defaultval"; then
3016 if test x"$enablestring" = xdisable; then
3017 defaultval=yes
3018 else
3019 defaultval=no
3020 fi
3021 fi
3022
3023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3024 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3025 # Check whether --enable-gui was given.
3026 if test "${enable_gui+set}" = set; then
3027 enableval=$enable_gui;
3028 if test "$enableval" = yes; then
3029 wx_cv_use_gui='wxUSE_GUI=yes'
3030 else
3031 wx_cv_use_gui='wxUSE_GUI=no'
3032 fi
3033
3034 else
3035
3036 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3037
3038 fi
3039
3040
3041 eval "$wx_cv_use_gui"
3042
3043 if test x"$enablestring" = xdisable; then
3044 if test $wxUSE_GUI = no; then
3045 result=yes
3046 else
3047 result=no
3048 fi
3049 else
3050 result=$wxUSE_GUI
3051 fi
3052
3053 { echo "$as_me:$LINENO: result: $result" >&5
3054 echo "${ECHO_T}$result" >&6; }
3055
3056
3057 enablestring=
3058 defaultval=
3059 if test -z "$defaultval"; then
3060 if test x"$enablestring" = xdisable; then
3061 defaultval=yes
3062 else
3063 defaultval=no
3064 fi
3065 fi
3066
3067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3068 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3069 # Check whether --enable-monolithic was given.
3070 if test "${enable_monolithic+set}" = set; then
3071 enableval=$enable_monolithic;
3072 if test "$enableval" = yes; then
3073 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3074 else
3075 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3076 fi
3077
3078 else
3079
3080 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3081
3082 fi
3083
3084
3085 eval "$wx_cv_use_monolithic"
3086
3087 if test x"$enablestring" = xdisable; then
3088 if test $wxUSE_MONOLITHIC = no; then
3089 result=yes
3090 else
3091 result=no
3092 fi
3093 else
3094 result=$wxUSE_MONOLITHIC
3095 fi
3096
3097 { echo "$as_me:$LINENO: result: $result" >&5
3098 echo "${ECHO_T}$result" >&6; }
3099
3100
3101 enablestring=
3102 defaultval=
3103 if test -z "$defaultval"; then
3104 if test x"$enablestring" = xdisable; then
3105 defaultval=yes
3106 else
3107 defaultval=no
3108 fi
3109 fi
3110
3111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3112 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3113 # Check whether --enable-plugins was given.
3114 if test "${enable_plugins+set}" = set; then
3115 enableval=$enable_plugins;
3116 if test "$enableval" = yes; then
3117 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3118 else
3119 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3120 fi
3121
3122 else
3123
3124 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3125
3126 fi
3127
3128
3129 eval "$wx_cv_use_plugins"
3130
3131 if test x"$enablestring" = xdisable; then
3132 if test $wxUSE_PLUGINS = no; then
3133 result=yes
3134 else
3135 result=no
3136 fi
3137 else
3138 result=$wxUSE_PLUGINS
3139 fi
3140
3141 { echo "$as_me:$LINENO: result: $result" >&5
3142 echo "${ECHO_T}$result" >&6; }
3143
3144
3145 withstring=without
3146 defaultval=$wxUSE_ALL_FEATURES
3147 if test -z "$defaultval"; then
3148 if test x"$withstring" = xwithout; then
3149 defaultval=yes
3150 else
3151 defaultval=no
3152 fi
3153 fi
3154 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3155 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3156
3157 # Check whether --with-subdirs was given.
3158 if test "${with_subdirs+set}" = set; then
3159 withval=$with_subdirs;
3160 if test "$withval" = yes; then
3161 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3162 else
3163 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3164 fi
3165
3166 else
3167
3168 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3169
3170 fi
3171
3172
3173 eval "$wx_cv_use_subdirs"
3174
3175 if test x"$withstring" = xwithout; then
3176 if test $wxWITH_SUBDIRS = yes; then
3177 result=no
3178 else
3179 result=yes
3180 fi
3181 else
3182 result=$wxWITH_SUBDIRS
3183 fi
3184
3185 { echo "$as_me:$LINENO: result: $result" >&5
3186 echo "${ECHO_T}$result" >&6; }
3187
3188
3189 # Check whether --with-flavour was given.
3190 if test "${with_flavour+set}" = set; then
3191 withval=$with_flavour; WX_FLAVOUR="$withval"
3192 fi
3193
3194
3195 enablestring=
3196 defaultval=
3197 if test -z "$defaultval"; then
3198 if test x"$enablestring" = xdisable; then
3199 defaultval=yes
3200 else
3201 defaultval=no
3202 fi
3203 fi
3204
3205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3206 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3207 # Check whether --enable-official_build was given.
3208 if test "${enable_official_build+set}" = set; then
3209 enableval=$enable_official_build;
3210 if test "$enableval" = yes; then
3211 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3212 else
3213 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3214 fi
3215
3216 else
3217
3218 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3219
3220 fi
3221
3222
3223 eval "$wx_cv_use_official_build"
3224
3225 if test x"$enablestring" = xdisable; then
3226 if test $wxUSE_OFFICIAL_BUILD = no; then
3227 result=yes
3228 else
3229 result=no
3230 fi
3231 else
3232 result=$wxUSE_OFFICIAL_BUILD
3233 fi
3234
3235 { echo "$as_me:$LINENO: result: $result" >&5
3236 echo "${ECHO_T}$result" >&6; }
3237
3238 # Check whether --enable-vendor was given.
3239 if test "${enable_vendor+set}" = set; then
3240 enableval=$enable_vendor; VENDOR="$enableval"
3241 fi
3242
3243 if test "x$VENDOR" = "x"; then
3244 VENDOR="custom"
3245 fi
3246
3247
3248 enablestring=disable
3249 defaultval=
3250 if test -z "$defaultval"; then
3251 if test x"$enablestring" = xdisable; then
3252 defaultval=yes
3253 else
3254 defaultval=no
3255 fi
3256 fi
3257
3258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3259 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3260 # Check whether --enable-all-features was given.
3261 if test "${enable_all_features+set}" = set; then
3262 enableval=$enable_all_features;
3263 if test "$enableval" = yes; then
3264 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3265 else
3266 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3267 fi
3268
3269 else
3270
3271 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3272
3273 fi
3274
3275
3276 eval "$wx_cv_use_all_features"
3277
3278 if test x"$enablestring" = xdisable; then
3279 if test $wxUSE_ALL_FEATURES = no; then
3280 result=yes
3281 else
3282 result=no
3283 fi
3284 else
3285 result=$wxUSE_ALL_FEATURES
3286 fi
3287
3288 { echo "$as_me:$LINENO: result: $result" >&5
3289 echo "${ECHO_T}$result" >&6; }
3290
3291
3292 if test "$wxUSE_ALL_FEATURES" = "no"; then
3293 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3294 DEFAULT_wxUSE_MEDIACTRL=no
3295 fi
3296
3297
3298 if test "$wxUSE_GUI" = "yes"; then
3299
3300
3301 enablestring=
3302 defaultval=
3303 if test -z "$defaultval"; then
3304 if test x"$enablestring" = xdisable; then
3305 defaultval=yes
3306 else
3307 defaultval=no
3308 fi
3309 fi
3310
3311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3312 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3313 # Check whether --enable-universal was given.
3314 if test "${enable_universal+set}" = set; then
3315 enableval=$enable_universal;
3316 if test "$enableval" = yes; then
3317 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3318 else
3319 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3320 fi
3321
3322 else
3323
3324 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3325
3326 fi
3327
3328
3329 eval "$wx_cv_use_universal"
3330
3331 if test x"$enablestring" = xdisable; then
3332 if test $wxUSE_UNIVERSAL = no; then
3333 result=yes
3334 else
3335 result=no
3336 fi
3337 else
3338 result=$wxUSE_UNIVERSAL
3339 fi
3340
3341 { echo "$as_me:$LINENO: result: $result" >&5
3342 echo "${ECHO_T}$result" >&6; }
3343
3344 if test "$wxUSE_UNIVERSAL" = "yes"; then
3345
3346 # Check whether --with-themes was given.
3347 if test "${with_themes+set}" = set; then
3348 withval=$with_themes; wxUNIV_THEMES="$withval"
3349 fi
3350
3351 fi
3352
3353
3354 # Check whether --with-gtk was given.
3355 if test "${with_gtk+set}" = set; then
3356 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3357 fi
3358
3359
3360 # Check whether --with-motif was given.
3361 if test "${with_motif+set}" = set; then
3362 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3363 fi
3364
3365
3366 # Check whether --with-osx_carbon was given.
3367 if test "${with_osx_carbon+set}" = set; then
3368 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3369 fi
3370
3371
3372 # Check whether --with-osx_cocoa was given.
3373 if test "${with_osx_cocoa+set}" = set; then
3374 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3375 fi
3376
3377
3378 # Check whether --with-osx_iphone was given.
3379 if test "${with_osx_iphone+set}" = set; then
3380 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3381 fi
3382
3383
3384 # Check whether --with-osx was given.
3385 if test "${with_osx+set}" = set; then
3386 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3387 fi
3388
3389
3390 # Check whether --with-carbon was given.
3391 if test "${with_carbon+set}" = set; then
3392 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3393 fi
3394
3395
3396 # Check whether --with-cocoa was given.
3397 if test "${with_cocoa+set}" = set; then
3398 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3399 fi
3400
3401
3402 # Check whether --with-iphone was given.
3403 if test "${with_iphone+set}" = set; then
3404 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3405 fi
3406
3407
3408 # Check whether --with-mac was given.
3409 if test "${with_mac+set}" = set; then
3410 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3411 fi
3412
3413
3414 # Check whether --with-old_cocoa was given.
3415 if test "${with_old_cocoa+set}" = set; then
3416 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3417 fi
3418
3419
3420 # Check whether --with-wine was given.
3421 if test "${with_wine+set}" = set; then
3422 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3423 fi
3424
3425
3426 # Check whether --with-msw was given.
3427 if test "${with_msw+set}" = set; then
3428 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3429 fi
3430
3431
3432 # Check whether --with-pm was given.
3433 if test "${with_pm+set}" = set; then
3434 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3435 fi
3436
3437
3438 # Check whether --with-mgl was given.
3439 if test "${with_mgl+set}" = set; then
3440 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3441 fi
3442
3443
3444 # Check whether --with-directfb was given.
3445 if test "${with_directfb+set}" = set; then
3446 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3447 fi
3448
3449
3450 # Check whether --with-microwin was given.
3451 if test "${with_microwin+set}" = set; then
3452 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3453 fi
3454
3455
3456 # Check whether --with-x11 was given.
3457 if test "${with_x11+set}" = set; then
3458 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3459 fi
3460
3461
3462 enablestring=
3463 defaultval=
3464 if test -z "$defaultval"; then
3465 if test x"$enablestring" = xdisable; then
3466 defaultval=yes
3467 else
3468 defaultval=no
3469 fi
3470 fi
3471
3472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3473 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3474 # Check whether --enable-nanox was given.
3475 if test "${enable_nanox+set}" = set; then
3476 enableval=$enable_nanox;
3477 if test "$enableval" = yes; then
3478 wx_cv_use_nanox='wxUSE_NANOX=yes'
3479 else
3480 wx_cv_use_nanox='wxUSE_NANOX=no'
3481 fi
3482
3483 else
3484
3485 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3486
3487 fi
3488
3489
3490 eval "$wx_cv_use_nanox"
3491
3492 if test x"$enablestring" = xdisable; then
3493 if test $wxUSE_NANOX = no; then
3494 result=yes
3495 else
3496 result=no
3497 fi
3498 else
3499 result=$wxUSE_NANOX
3500 fi
3501
3502 { echo "$as_me:$LINENO: result: $result" >&5
3503 echo "${ECHO_T}$result" >&6; }
3504
3505
3506 # Check whether --enable-gtk2 was given.
3507 if test "${enable_gtk2+set}" = set; then
3508 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3509 fi
3510
3511
3512 enablestring=
3513 defaultval=
3514 if test -z "$defaultval"; then
3515 if test x"$enablestring" = xdisable; then
3516 defaultval=yes
3517 else
3518 defaultval=no
3519 fi
3520 fi
3521
3522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3523 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3524 # Check whether --enable-gpe was given.
3525 if test "${enable_gpe+set}" = set; then
3526 enableval=$enable_gpe;
3527 if test "$enableval" = yes; then
3528 wx_cv_use_gpe='wxUSE_GPE=yes'
3529 else
3530 wx_cv_use_gpe='wxUSE_GPE=no'
3531 fi
3532
3533 else
3534
3535 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3536
3537 fi
3538
3539
3540 eval "$wx_cv_use_gpe"
3541
3542 if test x"$enablestring" = xdisable; then
3543 if test $wxUSE_GPE = no; then
3544 result=yes
3545 else
3546 result=no
3547 fi
3548 else
3549 result=$wxUSE_GPE
3550 fi
3551
3552 { echo "$as_me:$LINENO: result: $result" >&5
3553 echo "${ECHO_T}$result" >&6; }
3554
3555
3556
3557 { echo "$as_me:$LINENO: checking for toolkit" >&5
3558 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3559
3560
3561
3562 # In Wine, we need to default to MSW, not GTK or MOTIF
3563 if test "$wxUSE_WINE" = "yes"; then
3564 DEFAULT_DEFAULT_wxUSE_GTK=0
3565 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3566 DEFAULT_DEFAULT_wxUSE_MSW=1
3567 wxUSE_SHARED=no
3568 CC=${CC:-winegcc}
3569 CXX=${CXX:-wineg++}
3570 fi
3571
3572
3573 if test "$wxUSE_GUI" = "yes"; then
3574
3575 if test "$USE_BEOS" = 1; then
3576 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3577 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3578 { (exit 1); exit 1; }; }
3579 fi
3580
3581 if test "$TOOLKIT_GIVEN" = 1; then
3582 for toolkit in $ALL_TOOLKITS; do
3583 var=wxUSE_$toolkit
3584 eval "value=\$${var}"
3585 if test "x$value" = "xno"; then
3586 eval "$var=0"
3587 elif test "x$value" != "x"; then
3588 eval "$var=1"
3589 fi
3590
3591 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3592 eval "wx${toolkit}_VERSION=$value"
3593 fi
3594 done
3595 else
3596 for toolkit in $ALL_TOOLKITS; do
3597 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3598 eval "wxUSE_$toolkit=\$${var}"
3599 done
3600 fi
3601
3602 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3603 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3604 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3605
3606 case "${host}" in
3607 *-pc-os2_emx | *-pc-os2-emx )
3608 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3609 esac
3610
3611 case "$NUM_TOOLKITS" in
3612 1)
3613 ;;
3614 0)
3615 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3616 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3617 { (exit 1); exit 1; }; }
3618 ;;
3619 *)
3620 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3621 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3622 { (exit 1); exit 1; }; }
3623 esac
3624
3625 # to be removed when --disable-gtk2 isn't needed
3626 if test "x$wxUSE_GTK2" = "xyes"; then
3627 wxGTK_VERSION=2
3628 wxUSE_GTK1=0
3629 elif test "x$wxUSE_GTK2" = "xno"; then
3630 wxGTK_VERSION=1
3631 wxUSE_GTK1=1
3632 fi
3633
3634 for toolkit in $ALL_TOOLKITS; do
3635 var=wxUSE_$toolkit
3636 eval "value=\$${var}"
3637 if test "$value" = 1; then
3638 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3639 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3640 echo "${ECHO_T}$toolkit_echo" >&6; }
3641 fi
3642 done
3643 else
3644 if test "x$host_alias" != "x"; then
3645 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3646 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3647 else
3648 { echo "$as_me:$LINENO: result: base only" >&5
3649 echo "${ECHO_T}base only" >&6; }
3650 fi
3651 fi
3652
3653 wxUSE_MAC=0
3654 if test "$wxUSE_OSX_CARBON" = 1 \
3655 -o "$wxUSE_OSX_COCOA" = 1 \
3656 -o "$wxUSE_OSX_IPHONE" = 1; then
3657 wxUSE_MAC=1
3658 fi
3659
3660
3661
3662 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3663 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3664
3665 # Check whether --with-libpng was given.
3666 if test "${with_libpng+set}" = set; then
3667 withval=$with_libpng;
3668 if test "$withval" = yes; then
3669 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3670 elif test "$withval" = no; then
3671 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3672 elif test "$withval" = sys; then
3673 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3674 elif test "$withval" = builtin; then
3675 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3676 else
3677 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3678 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3679 { (exit 1); exit 1; }; }
3680 fi
3681
3682 else
3683
3684 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3685
3686 fi
3687
3688
3689 eval "$wx_cv_use_libpng"
3690
3691 if test "$wxUSE_LIBPNG" = yes; then
3692 { echo "$as_me:$LINENO: result: yes" >&5
3693 echo "${ECHO_T}yes" >&6; }
3694 elif test "$wxUSE_LIBPNG" = no; then
3695 { echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6; }
3697 elif test "$wxUSE_LIBPNG" = sys; then
3698 { echo "$as_me:$LINENO: result: system version" >&5
3699 echo "${ECHO_T}system version" >&6; }
3700 elif test "$wxUSE_LIBPNG" = builtin; then
3701 { echo "$as_me:$LINENO: result: builtin version" >&5
3702 echo "${ECHO_T}builtin version" >&6; }
3703 else
3704 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3705 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3706 { (exit 1); exit 1; }; }
3707 fi
3708
3709
3710 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3711 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3712
3713 # Check whether --with-libjpeg was given.
3714 if test "${with_libjpeg+set}" = set; then
3715 withval=$with_libjpeg;
3716 if test "$withval" = yes; then
3717 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3718 elif test "$withval" = no; then
3719 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3720 elif test "$withval" = sys; then
3721 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3722 elif test "$withval" = builtin; then
3723 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3724 else
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3728 fi
3729
3730 else
3731
3732 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3733
3734 fi
3735
3736
3737 eval "$wx_cv_use_libjpeg"
3738
3739 if test "$wxUSE_LIBJPEG" = yes; then
3740 { echo "$as_me:$LINENO: result: yes" >&5
3741 echo "${ECHO_T}yes" >&6; }
3742 elif test "$wxUSE_LIBJPEG" = no; then
3743 { echo "$as_me:$LINENO: result: no" >&5
3744 echo "${ECHO_T}no" >&6; }
3745 elif test "$wxUSE_LIBJPEG" = sys; then
3746 { echo "$as_me:$LINENO: result: system version" >&5
3747 echo "${ECHO_T}system version" >&6; }
3748 elif test "$wxUSE_LIBJPEG" = builtin; then
3749 { echo "$as_me:$LINENO: result: builtin version" >&5
3750 echo "${ECHO_T}builtin version" >&6; }
3751 else
3752 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3753 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3754 { (exit 1); exit 1; }; }
3755 fi
3756
3757
3758 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3759 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3760
3761 # Check whether --with-libtiff was given.
3762 if test "${with_libtiff+set}" = set; then
3763 withval=$with_libtiff;
3764 if test "$withval" = yes; then
3765 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3766 elif test "$withval" = no; then
3767 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3768 elif test "$withval" = sys; then
3769 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3770 elif test "$withval" = builtin; then
3771 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3772 else
3773 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3774 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3775 { (exit 1); exit 1; }; }
3776 fi
3777
3778 else
3779
3780 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3781
3782 fi
3783
3784
3785 eval "$wx_cv_use_libtiff"
3786
3787 if test "$wxUSE_LIBTIFF" = yes; then
3788 { echo "$as_me:$LINENO: result: yes" >&5
3789 echo "${ECHO_T}yes" >&6; }
3790 elif test "$wxUSE_LIBTIFF" = no; then
3791 { echo "$as_me:$LINENO: result: no" >&5
3792 echo "${ECHO_T}no" >&6; }
3793 elif test "$wxUSE_LIBTIFF" = sys; then
3794 { echo "$as_me:$LINENO: result: system version" >&5
3795 echo "${ECHO_T}system version" >&6; }
3796 elif test "$wxUSE_LIBTIFF" = builtin; then
3797 { echo "$as_me:$LINENO: result: builtin version" >&5
3798 echo "${ECHO_T}builtin version" >&6; }
3799 else
3800 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3801 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3802 { (exit 1); exit 1; }; }
3803 fi
3804
3805
3806 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3807 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3808
3809 # Check whether --with-libxpm was given.
3810 if test "${with_libxpm+set}" = set; then
3811 withval=$with_libxpm;
3812 if test "$withval" = yes; then
3813 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3814 elif test "$withval" = no; then
3815 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3816 elif test "$withval" = sys; then
3817 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3818 elif test "$withval" = builtin; then
3819 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3820 else
3821 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3822 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3823 { (exit 1); exit 1; }; }
3824 fi
3825
3826 else
3827
3828 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3829
3830 fi
3831
3832
3833 eval "$wx_cv_use_libxpm"
3834
3835 if test "$wxUSE_LIBXPM" = yes; then
3836 { echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6; }
3838 elif test "$wxUSE_LIBXPM" = no; then
3839 { echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6; }
3841 elif test "$wxUSE_LIBXPM" = sys; then
3842 { echo "$as_me:$LINENO: result: system version" >&5
3843 echo "${ECHO_T}system version" >&6; }
3844 elif test "$wxUSE_LIBXPM" = builtin; then
3845 { echo "$as_me:$LINENO: result: builtin version" >&5
3846 echo "${ECHO_T}builtin version" >&6; }
3847 else
3848 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3849 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3850 { (exit 1); exit 1; }; }
3851 fi
3852
3853
3854 withstring=
3855 defaultval=$wxUSE_ALL_FEATURES
3856 if test -z "$defaultval"; then
3857 if test x"$withstring" = xwithout; then
3858 defaultval=yes
3859 else
3860 defaultval=no
3861 fi
3862 fi
3863 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3864 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3865
3866 # Check whether --with-libiconv was given.
3867 if test "${with_libiconv+set}" = set; then
3868 withval=$with_libiconv;
3869 if test "$withval" = yes; then
3870 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3871 else
3872 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3873 fi
3874
3875 else
3876
3877 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3878
3879 fi
3880
3881
3882 eval "$wx_cv_use_libiconv"
3883
3884 if test x"$withstring" = xwithout; then
3885 if test $wxUSE_LIBICONV = yes; then
3886 result=no
3887 else
3888 result=yes
3889 fi
3890 else
3891 result=$wxUSE_LIBICONV
3892 fi
3893
3894 { echo "$as_me:$LINENO: result: $result" >&5
3895 echo "${ECHO_T}$result" >&6; }
3896
3897
3898 withstring=
3899 defaultval=$wxUSE_ALL_FEATURES
3900 if test -z "$defaultval"; then
3901 if test x"$withstring" = xwithout; then
3902 defaultval=yes
3903 else
3904 defaultval=no
3905 fi
3906 fi
3907 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3908 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3909
3910 # Check whether --with-libmspack was given.
3911 if test "${with_libmspack+set}" = set; then
3912 withval=$with_libmspack;
3913 if test "$withval" = yes; then
3914 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3915 else
3916 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3917 fi
3918
3919 else
3920
3921 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3922
3923 fi
3924
3925
3926 eval "$wx_cv_use_libmspack"
3927
3928 if test x"$withstring" = xwithout; then
3929 if test $wxUSE_LIBMSPACK = yes; then
3930 result=no
3931 else
3932 result=yes
3933 fi
3934 else
3935 result=$wxUSE_LIBMSPACK
3936 fi
3937
3938 { echo "$as_me:$LINENO: result: $result" >&5
3939 echo "${ECHO_T}$result" >&6; }
3940
3941
3942 withstring=without
3943 defaultval=$wxUSE_ALL_FEATURES
3944 if test -z "$defaultval"; then
3945 if test x"$withstring" = xwithout; then
3946 defaultval=yes
3947 else
3948 defaultval=no
3949 fi
3950 fi
3951 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3952 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3953
3954 # Check whether --with-gtkprint was given.
3955 if test "${with_gtkprint+set}" = set; then
3956 withval=$with_gtkprint;
3957 if test "$withval" = yes; then
3958 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3959 else
3960 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3961 fi
3962
3963 else
3964
3965 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3966
3967 fi
3968
3969
3970 eval "$wx_cv_use_gtkprint"
3971
3972 if test x"$withstring" = xwithout; then
3973 if test $wxUSE_GTKPRINT = yes; then
3974 result=no
3975 else
3976 result=yes
3977 fi
3978 else
3979 result=$wxUSE_GTKPRINT
3980 fi
3981
3982 { echo "$as_me:$LINENO: result: $result" >&5
3983 echo "${ECHO_T}$result" >&6; }
3984
3985
3986 withstring=without
3987 defaultval=$wxUSE_ALL_FEATURES
3988 if test -z "$defaultval"; then
3989 if test x"$withstring" = xwithout; then
3990 defaultval=yes
3991 else
3992 defaultval=no
3993 fi
3994 fi
3995 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3996 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3997
3998 # Check whether --with-gnomeprint was given.
3999 if test "${with_gnomeprint+set}" = set; then
4000 withval=$with_gnomeprint;
4001 if test "$withval" = yes; then
4002 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4003 else
4004 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4005 fi
4006
4007 else
4008
4009 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4010
4011 fi
4012
4013
4014 eval "$wx_cv_use_gnomeprint"
4015
4016 if test x"$withstring" = xwithout; then
4017 if test $wxUSE_LIBGNOMEPRINT = yes; then
4018 result=no
4019 else
4020 result=yes
4021 fi
4022 else
4023 result=$wxUSE_LIBGNOMEPRINT
4024 fi
4025
4026 { echo "$as_me:$LINENO: result: $result" >&5
4027 echo "${ECHO_T}$result" >&6; }
4028
4029
4030 withstring=
4031 defaultval=$wxUSE_ALL_FEATURES
4032 if test -z "$defaultval"; then
4033 if test x"$withstring" = xwithout; then
4034 defaultval=yes
4035 else
4036 defaultval=no
4037 fi
4038 fi
4039 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4040 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4041
4042 # Check whether --with-gnomevfs was given.
4043 if test "${with_gnomevfs+set}" = set; then
4044 withval=$with_gnomevfs;
4045 if test "$withval" = yes; then
4046 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4047 else
4048 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4049 fi
4050
4051 else
4052
4053 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4054
4055 fi
4056
4057
4058 eval "$wx_cv_use_gnomevfs"
4059
4060 if test x"$withstring" = xwithout; then
4061 if test $wxUSE_LIBGNOMEVFS = yes; then
4062 result=no
4063 else
4064 result=yes
4065 fi
4066 else
4067 result=$wxUSE_LIBGNOMEVFS
4068 fi
4069
4070 { echo "$as_me:$LINENO: result: $result" >&5
4071 echo "${ECHO_T}$result" >&6; }
4072
4073
4074 withstring=
4075 defaultval=$wxUSE_ALL_FEATURES
4076 if test -z "$defaultval"; then
4077 if test x"$withstring" = xwithout; then
4078 defaultval=yes
4079 else
4080 defaultval=no
4081 fi
4082 fi
4083 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4084 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4085
4086 # Check whether --with-hildon was given.
4087 if test "${with_hildon+set}" = set; then
4088 withval=$with_hildon;
4089 if test "$withval" = yes; then
4090 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4091 else
4092 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4093 fi
4094
4095 else
4096
4097 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4098
4099 fi
4100
4101
4102 eval "$wx_cv_use_hildon"
4103
4104 if test x"$withstring" = xwithout; then
4105 if test $wxUSE_LIBHILDON = yes; then
4106 result=no
4107 else
4108 result=yes
4109 fi
4110 else
4111 result=$wxUSE_LIBHILDON
4112 fi
4113
4114 { echo "$as_me:$LINENO: result: $result" >&5
4115 echo "${ECHO_T}$result" >&6; }
4116
4117
4118 withstring=
4119 defaultval=$wxUSE_ALL_FEATURES
4120 if test -z "$defaultval"; then
4121 if test x"$withstring" = xwithout; then
4122 defaultval=yes
4123 else
4124 defaultval=no
4125 fi
4126 fi
4127 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4128 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4129
4130 # Check whether --with-opengl was given.
4131 if test "${with_opengl+set}" = set; then
4132 withval=$with_opengl;
4133 if test "$withval" = yes; then
4134 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4135 else
4136 wx_cv_use_opengl='wxUSE_OPENGL=no'
4137 fi
4138
4139 else
4140
4141 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4142
4143 fi
4144
4145
4146 eval "$wx_cv_use_opengl"
4147
4148 if test x"$withstring" = xwithout; then
4149 if test $wxUSE_OPENGL = yes; then
4150 result=no
4151 else
4152 result=yes
4153 fi
4154 else
4155 result=$wxUSE_OPENGL
4156 fi
4157
4158 { echo "$as_me:$LINENO: result: $result" >&5
4159 echo "${ECHO_T}$result" >&6; }
4160
4161
4162 fi
4163
4164
4165 withstring=
4166 defaultval=$wxUSE_ALL_FEATURES
4167 if test -z "$defaultval"; then
4168 if test x"$withstring" = xwithout; then
4169 defaultval=yes
4170 else
4171 defaultval=no
4172 fi
4173 fi
4174 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4175 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4176
4177 # Check whether --with-dmalloc was given.
4178 if test "${with_dmalloc+set}" = set; then
4179 withval=$with_dmalloc;
4180 if test "$withval" = yes; then
4181 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4182 else
4183 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4184 fi
4185
4186 else
4187
4188 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4189
4190 fi
4191
4192
4193 eval "$wx_cv_use_dmalloc"
4194
4195 if test x"$withstring" = xwithout; then
4196 if test $wxUSE_DMALLOC = yes; then
4197 result=no
4198 else
4199 result=yes
4200 fi
4201 else
4202 result=$wxUSE_DMALLOC
4203 fi
4204
4205 { echo "$as_me:$LINENO: result: $result" >&5
4206 echo "${ECHO_T}$result" >&6; }
4207
4208
4209 withstring=
4210 defaultval=$wxUSE_ALL_FEATURES
4211 if test -z "$defaultval"; then
4212 if test x"$withstring" = xwithout; then
4213 defaultval=yes
4214 else
4215 defaultval=no
4216 fi
4217 fi
4218 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4219 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4220
4221 # Check whether --with-sdl was given.
4222 if test "${with_sdl+set}" = set; then
4223 withval=$with_sdl;
4224 if test "$withval" = yes; then
4225 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4226 else
4227 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4228 fi
4229
4230 else
4231
4232 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4233
4234 fi
4235
4236
4237 eval "$wx_cv_use_sdl"
4238
4239 if test x"$withstring" = xwithout; then
4240 if test $wxUSE_LIBSDL = yes; then
4241 result=no
4242 else
4243 result=yes
4244 fi
4245 else
4246 result=$wxUSE_LIBSDL
4247 fi
4248
4249 { echo "$as_me:$LINENO: result: $result" >&5
4250 echo "${ECHO_T}$result" >&6; }
4251
4252
4253 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4254 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4255
4256 # Check whether --with-regex was given.
4257 if test "${with_regex+set}" = set; then
4258 withval=$with_regex;
4259 if test "$withval" = yes; then
4260 wx_cv_use_regex='wxUSE_REGEX=yes'
4261 elif test "$withval" = no; then
4262 wx_cv_use_regex='wxUSE_REGEX=no'
4263 elif test "$withval" = sys; then
4264 wx_cv_use_regex='wxUSE_REGEX=sys'
4265 elif test "$withval" = builtin; then
4266 wx_cv_use_regex='wxUSE_REGEX=builtin'
4267 else
4268 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4269 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4270 { (exit 1); exit 1; }; }
4271 fi
4272
4273 else
4274
4275 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4276
4277 fi
4278
4279
4280 eval "$wx_cv_use_regex"
4281
4282 if test "$wxUSE_REGEX" = yes; then
4283 { echo "$as_me:$LINENO: result: yes" >&5
4284 echo "${ECHO_T}yes" >&6; }
4285 elif test "$wxUSE_REGEX" = no; then
4286 { echo "$as_me:$LINENO: result: no" >&5
4287 echo "${ECHO_T}no" >&6; }
4288 elif test "$wxUSE_REGEX" = sys; then
4289 { echo "$as_me:$LINENO: result: system version" >&5
4290 echo "${ECHO_T}system version" >&6; }
4291 elif test "$wxUSE_REGEX" = builtin; then
4292 { echo "$as_me:$LINENO: result: builtin version" >&5
4293 echo "${ECHO_T}builtin version" >&6; }
4294 else
4295 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4296 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4297 { (exit 1); exit 1; }; }
4298 fi
4299
4300
4301 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4302 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4303
4304 # Check whether --with-zlib was given.
4305 if test "${with_zlib+set}" = set; then
4306 withval=$with_zlib;
4307 if test "$withval" = yes; then
4308 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4309 elif test "$withval" = no; then
4310 wx_cv_use_zlib='wxUSE_ZLIB=no'
4311 elif test "$withval" = sys; then
4312 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4313 elif test "$withval" = builtin; then
4314 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4315 else
4316 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4317 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4318 { (exit 1); exit 1; }; }
4319 fi
4320
4321 else
4322
4323 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4324
4325 fi
4326
4327
4328 eval "$wx_cv_use_zlib"
4329
4330 if test "$wxUSE_ZLIB" = yes; then
4331 { echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6; }
4333 elif test "$wxUSE_ZLIB" = no; then
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4336 elif test "$wxUSE_ZLIB" = sys; then
4337 { echo "$as_me:$LINENO: result: system version" >&5
4338 echo "${ECHO_T}system version" >&6; }
4339 elif test "$wxUSE_ZLIB" = builtin; then
4340 { echo "$as_me:$LINENO: result: builtin version" >&5
4341 echo "${ECHO_T}builtin version" >&6; }
4342 else
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4346 fi
4347
4348
4349 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4350 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4351
4352 # Check whether --with-expat was given.
4353 if test "${with_expat+set}" = set; then
4354 withval=$with_expat;
4355 if test "$withval" = yes; then
4356 wx_cv_use_expat='wxUSE_EXPAT=yes'
4357 elif test "$withval" = no; then
4358 wx_cv_use_expat='wxUSE_EXPAT=no'
4359 elif test "$withval" = sys; then
4360 wx_cv_use_expat='wxUSE_EXPAT=sys'
4361 elif test "$withval" = builtin; then
4362 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4363 else
4364 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4365 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4366 { (exit 1); exit 1; }; }
4367 fi
4368
4369 else
4370
4371 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4372
4373 fi
4374
4375
4376 eval "$wx_cv_use_expat"
4377
4378 if test "$wxUSE_EXPAT" = yes; then
4379 { echo "$as_me:$LINENO: result: yes" >&5
4380 echo "${ECHO_T}yes" >&6; }
4381 elif test "$wxUSE_EXPAT" = no; then
4382 { echo "$as_me:$LINENO: result: no" >&5
4383 echo "${ECHO_T}no" >&6; }
4384 elif test "$wxUSE_EXPAT" = sys; then
4385 { echo "$as_me:$LINENO: result: system version" >&5
4386 echo "${ECHO_T}system version" >&6; }
4387 elif test "$wxUSE_EXPAT" = builtin; then
4388 { echo "$as_me:$LINENO: result: builtin version" >&5
4389 echo "${ECHO_T}builtin version" >&6; }
4390 else
4391 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4392 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4393 { (exit 1); exit 1; }; }
4394 fi
4395
4396
4397 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4398 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4399
4400 # Check whether --with-macosx-sdk was given.
4401 if test "${with_macosx_sdk+set}" = set; then
4402 withval=$with_macosx_sdk;
4403 wxUSE_MACOSX_SDK=$withval
4404 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4405
4406 fi
4407
4408 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4409 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4410
4411 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4412 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4413
4414 # Check whether --with-macosx-version-min was given.
4415 if test "${with_macosx_version_min+set}" = set; then
4416 withval=$with_macosx_version_min;
4417 wxUSE_MACOSX_VERSION_MIN=$withval
4418 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4419
4420 fi
4421
4422 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4423 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4424
4425
4426 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4427 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4428 # Check whether --enable-debug was given.
4429 if test "${enable_debug+set}" = set; then
4430 enableval=$enable_debug;
4431 if test "$enableval" = yes; then
4432 wxUSE_DEBUG=yes
4433 elif test "$enableval" = no; then
4434 wxUSE_DEBUG=no
4435 elif test "$enableval" = max; then
4436 wxUSE_DEBUG=yes
4437 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4438 else
4439 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4440 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4441 { (exit 1); exit 1; }; }
4442 fi
4443
4444 else
4445 wxUSE_DEBUG=default
4446
4447 fi
4448
4449
4450 case "$wxUSE_DEBUG" in
4451 yes)
4452 DEFAULT_wxUSE_DEBUG_FLAG=yes
4453 DEFAULT_wxUSE_DEBUG_INFO=yes
4454
4455 DEFAULT_wxUSE_OPTIMISE=no
4456 ;;
4457
4458 no)
4459 DEFAULT_wxUSE_DEBUG_FLAG=no
4460 DEFAULT_wxUSE_DEBUG_INFO=no
4461 ;;
4462
4463 default)
4464 DEFAULT_wxUSE_DEBUG_FLAG=yes
4465 DEFAULT_wxUSE_DEBUG_INFO=no
4466 ;;
4467 esac
4468
4469
4470 enablestring=disable
4471 defaultval=
4472 if test -z "$defaultval"; then
4473 if test x"$enablestring" = xdisable; then
4474 defaultval=yes
4475 else
4476 defaultval=no
4477 fi
4478 fi
4479
4480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4481 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4482 # Check whether --enable-debug_flag was given.
4483 if test "${enable_debug_flag+set}" = set; then
4484 enableval=$enable_debug_flag;
4485 if test "$enableval" = yes; then
4486 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4487 else
4488 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4489 fi
4490
4491 else
4492
4493 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4494
4495 fi
4496
4497
4498 eval "$wx_cv_use_debug_flag"
4499
4500 if test x"$enablestring" = xdisable; then
4501 if test $wxUSE_DEBUG_FLAG = no; then
4502 result=yes
4503 else
4504 result=no
4505 fi
4506 else
4507 result=$wxUSE_DEBUG_FLAG
4508 fi
4509
4510 { echo "$as_me:$LINENO: result: $result" >&5
4511 echo "${ECHO_T}$result" >&6; }
4512
4513
4514 enablestring=
4515 defaultval=
4516 if test -z "$defaultval"; then
4517 if test x"$enablestring" = xdisable; then
4518 defaultval=yes
4519 else
4520 defaultval=no
4521 fi
4522 fi
4523
4524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4526 # Check whether --enable-debug_info was given.
4527 if test "${enable_debug_info+set}" = set; then
4528 enableval=$enable_debug_info;
4529 if test "$enableval" = yes; then
4530 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4531 else
4532 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4533 fi
4534
4535 else
4536
4537 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4538
4539 fi
4540
4541
4542 eval "$wx_cv_use_debug_info"
4543
4544 if test x"$enablestring" = xdisable; then
4545 if test $wxUSE_DEBUG_INFO = no; then
4546 result=yes
4547 else
4548 result=no
4549 fi
4550 else
4551 result=$wxUSE_DEBUG_INFO
4552 fi
4553
4554 { echo "$as_me:$LINENO: result: $result" >&5
4555 echo "${ECHO_T}$result" >&6; }
4556
4557
4558
4559
4560 enablestring=
4561 defaultval=
4562 if test -z "$defaultval"; then
4563 if test x"$enablestring" = xdisable; then
4564 defaultval=yes
4565 else
4566 defaultval=no
4567 fi
4568 fi
4569
4570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4572 # Check whether --enable-debug_gdb was given.
4573 if test "${enable_debug_gdb+set}" = set; then
4574 enableval=$enable_debug_gdb;
4575 if test "$enableval" = yes; then
4576 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4577 else
4578 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4579 fi
4580
4581 else
4582
4583 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4584
4585 fi
4586
4587
4588 eval "$wx_cv_use_debug_gdb"
4589
4590 if test x"$enablestring" = xdisable; then
4591 if test $wxUSE_DEBUG_GDB = no; then
4592 result=yes
4593 else
4594 result=no
4595 fi
4596 else
4597 result=$wxUSE_DEBUG_GDB
4598 fi
4599
4600 { echo "$as_me:$LINENO: result: $result" >&5
4601 echo "${ECHO_T}$result" >&6; }
4602
4603
4604 enablestring=
4605 defaultval=
4606 if test -z "$defaultval"; then
4607 if test x"$enablestring" = xdisable; then
4608 defaultval=yes
4609 else
4610 defaultval=no
4611 fi
4612 fi
4613
4614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4615 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4616 # Check whether --enable-debug_cntxt was given.
4617 if test "${enable_debug_cntxt+set}" = set; then
4618 enableval=$enable_debug_cntxt;
4619 if test "$enableval" = yes; then
4620 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4621 else
4622 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4623 fi
4624
4625 else
4626
4627 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4628
4629 fi
4630
4631
4632 eval "$wx_cv_use_debug_cntxt"
4633
4634 if test x"$enablestring" = xdisable; then
4635 if test $wxUSE_DEBUG_CONTEXT = no; then
4636 result=yes
4637 else
4638 result=no
4639 fi
4640 else
4641 result=$wxUSE_DEBUG_CONTEXT
4642 fi
4643
4644 { echo "$as_me:$LINENO: result: $result" >&5
4645 echo "${ECHO_T}$result" >&6; }
4646
4647
4648 enablestring=
4649 defaultval=
4650 if test -z "$defaultval"; then
4651 if test x"$enablestring" = xdisable; then
4652 defaultval=yes
4653 else
4654 defaultval=no
4655 fi
4656 fi
4657
4658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4659 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4660 # Check whether --enable-mem_tracing was given.
4661 if test "${enable_mem_tracing+set}" = set; then
4662 enableval=$enable_mem_tracing;
4663 if test "$enableval" = yes; then
4664 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4665 else
4666 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4667 fi
4668
4669 else
4670
4671 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4672
4673 fi
4674
4675
4676 eval "$wx_cv_use_mem_tracing"
4677
4678 if test x"$enablestring" = xdisable; then
4679 if test $wxUSE_MEM_TRACING = no; then
4680 result=yes
4681 else
4682 result=no
4683 fi
4684 else
4685 result=$wxUSE_MEM_TRACING
4686 fi
4687
4688 { echo "$as_me:$LINENO: result: $result" >&5
4689 echo "${ECHO_T}$result" >&6; }
4690
4691
4692
4693
4694 enablestring=disable
4695 defaultval=
4696 if test -z "$defaultval"; then
4697 if test x"$enablestring" = xdisable; then
4698 defaultval=yes
4699 else
4700 defaultval=no
4701 fi
4702 fi
4703
4704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4705 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4706 # Check whether --enable-shared was given.
4707 if test "${enable_shared+set}" = set; then
4708 enableval=$enable_shared;
4709 if test "$enableval" = yes; then
4710 wx_cv_use_shared='wxUSE_SHARED=yes'
4711 else
4712 wx_cv_use_shared='wxUSE_SHARED=no'
4713 fi
4714
4715 else
4716
4717 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4718
4719 fi
4720
4721
4722 eval "$wx_cv_use_shared"
4723
4724 if test x"$enablestring" = xdisable; then
4725 if test $wxUSE_SHARED = no; then
4726 result=yes
4727 else
4728 result=no
4729 fi
4730 else
4731 result=$wxUSE_SHARED
4732 fi
4733
4734 { echo "$as_me:$LINENO: result: $result" >&5
4735 echo "${ECHO_T}$result" >&6; }
4736
4737
4738 enablestring=
4739 defaultval=
4740 if test -z "$defaultval"; then
4741 if test x"$enablestring" = xdisable; then
4742 defaultval=yes
4743 else
4744 defaultval=no
4745 fi
4746 fi
4747
4748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4749 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4750 # Check whether --enable-stl was given.
4751 if test "${enable_stl+set}" = set; then
4752 enableval=$enable_stl;
4753 if test "$enableval" = yes; then
4754 wx_cv_use_stl='wxUSE_STL=yes'
4755 else
4756 wx_cv_use_stl='wxUSE_STL=no'
4757 fi
4758
4759 else
4760
4761 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4762
4763 fi
4764
4765
4766 eval "$wx_cv_use_stl"
4767
4768 if test x"$enablestring" = xdisable; then
4769 if test $wxUSE_STL = no; then
4770 result=yes
4771 else
4772 result=no
4773 fi
4774 else
4775 result=$wxUSE_STL
4776 fi
4777
4778 { echo "$as_me:$LINENO: result: $result" >&5
4779 echo "${ECHO_T}$result" >&6; }
4780
4781
4782 enablestring=
4783 defaultval=
4784 if test -z "$defaultval"; then
4785 if test x"$enablestring" = xdisable; then
4786 defaultval=yes
4787 else
4788 defaultval=no
4789 fi
4790 fi
4791
4792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4794 # Check whether --enable-std_containers was given.
4795 if test "${enable_std_containers+set}" = set; then
4796 enableval=$enable_std_containers;
4797 if test "$enableval" = yes; then
4798 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4799 else
4800 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4801 fi
4802
4803 else
4804
4805 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4806
4807 fi
4808
4809
4810 eval "$wx_cv_use_std_containers"
4811
4812 if test x"$enablestring" = xdisable; then
4813 if test $wxUSE_STD_CONTAINERS = no; then
4814 result=yes
4815 else
4816 result=no
4817 fi
4818 else
4819 result=$wxUSE_STD_CONTAINERS
4820 fi
4821
4822 { echo "$as_me:$LINENO: result: $result" >&5
4823 echo "${ECHO_T}$result" >&6; }
4824
4825
4826 enablestring=
4827 defaultval=
4828 if test -z "$defaultval"; then
4829 if test x"$enablestring" = xdisable; then
4830 defaultval=yes
4831 else
4832 defaultval=no
4833 fi
4834 fi
4835
4836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4837 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4838 # Check whether --enable-std_iostreams was given.
4839 if test "${enable_std_iostreams+set}" = set; then
4840 enableval=$enable_std_iostreams;
4841 if test "$enableval" = yes; then
4842 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4843 else
4844 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4845 fi
4846
4847 else
4848
4849 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4850
4851 fi
4852
4853
4854 eval "$wx_cv_use_std_iostreams"
4855
4856 if test x"$enablestring" = xdisable; then
4857 if test $wxUSE_STD_IOSTREAM = no; then
4858 result=yes
4859 else
4860 result=no
4861 fi
4862 else
4863 result=$wxUSE_STD_IOSTREAM
4864 fi
4865
4866 { echo "$as_me:$LINENO: result: $result" >&5
4867 echo "${ECHO_T}$result" >&6; }
4868
4869
4870 enablestring=
4871 defaultval=
4872 if test -z "$defaultval"; then
4873 if test x"$enablestring" = xdisable; then
4874 defaultval=yes
4875 else
4876 defaultval=no
4877 fi
4878 fi
4879
4880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4881 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4882 # Check whether --enable-std_string was given.
4883 if test "${enable_std_string+set}" = set; then
4884 enableval=$enable_std_string;
4885 if test "$enableval" = yes; then
4886 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4887 else
4888 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4889 fi
4890
4891 else
4892
4893 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4894
4895 fi
4896
4897
4898 eval "$wx_cv_use_std_string"
4899
4900 if test x"$enablestring" = xdisable; then
4901 if test $wxUSE_STD_STRING = no; then
4902 result=yes
4903 else
4904 result=no
4905 fi
4906 else
4907 result=$wxUSE_STD_STRING
4908 fi
4909
4910 { echo "$as_me:$LINENO: result: $result" >&5
4911 echo "${ECHO_T}$result" >&6; }
4912
4913
4914 enablestring=
4915 defaultval=
4916 if test -z "$defaultval"; then
4917 if test x"$enablestring" = xdisable; then
4918 defaultval=yes
4919 else
4920 defaultval=no
4921 fi
4922 fi
4923
4924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4926 # Check whether --enable-std_string_conv_in_wxstring was given.
4927 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4928 enableval=$enable_std_string_conv_in_wxstring;
4929 if test "$enableval" = yes; then
4930 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4931 else
4932 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4933 fi
4934
4935 else
4936
4937 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4938
4939 fi
4940
4941
4942 eval "$wx_cv_use_std_string_conv_in_wxstring"
4943
4944 if test x"$enablestring" = xdisable; then
4945 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4946 result=yes
4947 else
4948 result=no
4949 fi
4950 else
4951 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4952 fi
4953
4954 { echo "$as_me:$LINENO: result: $result" >&5
4955 echo "${ECHO_T}$result" >&6; }
4956
4957
4958 enablestring=disable
4959 defaultval=
4960 if test -z "$defaultval"; then
4961 if test x"$enablestring" = xdisable; then
4962 defaultval=yes
4963 else
4964 defaultval=no
4965 fi
4966 fi
4967
4968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4970 # Check whether --enable-unicode was given.
4971 if test "${enable_unicode+set}" = set; then
4972 enableval=$enable_unicode;
4973 if test "$enableval" = yes; then
4974 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4975 else
4976 wx_cv_use_unicode='wxUSE_UNICODE=no'
4977 fi
4978
4979 else
4980
4981 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4982
4983 fi
4984
4985
4986 eval "$wx_cv_use_unicode"
4987
4988 if test x"$enablestring" = xdisable; then
4989 if test $wxUSE_UNICODE = no; then
4990 result=yes
4991 else
4992 result=no
4993 fi
4994 else
4995 result=$wxUSE_UNICODE
4996 fi
4997
4998 { echo "$as_me:$LINENO: result: $result" >&5
4999 echo "${ECHO_T}$result" >&6; }
5000
5001
5002 enablestring=
5003 defaultval=
5004 if test -z "$defaultval"; then
5005 if test x"$enablestring" = xdisable; then
5006 defaultval=yes
5007 else
5008 defaultval=no
5009 fi
5010 fi
5011
5012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5013 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5014 # Check whether --enable-mslu was given.
5015 if test "${enable_mslu+set}" = set; then
5016 enableval=$enable_mslu;
5017 if test "$enableval" = yes; then
5018 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5019 else
5020 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5021 fi
5022
5023 else
5024
5025 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5026
5027 fi
5028
5029
5030 eval "$wx_cv_use_mslu"
5031
5032 if test x"$enablestring" = xdisable; then
5033 if test $wxUSE_UNICODE_MSLU = no; then
5034 result=yes
5035 else
5036 result=no
5037 fi
5038 else
5039 result=$wxUSE_UNICODE_MSLU
5040 fi
5041
5042 { echo "$as_me:$LINENO: result: $result" >&5
5043 echo "${ECHO_T}$result" >&6; }
5044
5045
5046 enablestring=
5047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5049 # Check whether --enable-utf8 was given.
5050 if test "${enable_utf8+set}" = set; then
5051 enableval=$enable_utf8;
5052 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5053
5054 else
5055
5056 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5057
5058 fi
5059
5060
5061 eval "$wx_cv_use_utf8"
5062
5063 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5064 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5065
5066
5067 enablestring=
5068 defaultval=
5069 if test -z "$defaultval"; then
5070 if test x"$enablestring" = xdisable; then
5071 defaultval=yes
5072 else
5073 defaultval=no
5074 fi
5075 fi
5076
5077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5079 # Check whether --enable-utf8only was given.
5080 if test "${enable_utf8only+set}" = set; then
5081 enableval=$enable_utf8only;
5082 if test "$enableval" = yes; then
5083 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5084 else
5085 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5086 fi
5087
5088 else
5089
5090 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5091
5092 fi
5093
5094
5095 eval "$wx_cv_use_utf8only"
5096
5097 if test x"$enablestring" = xdisable; then
5098 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5099 result=yes
5100 else
5101 result=no
5102 fi
5103 else
5104 result=$wxUSE_UNICODE_UTF8_LOCALE
5105 fi
5106
5107 { echo "$as_me:$LINENO: result: $result" >&5
5108 echo "${ECHO_T}$result" >&6; }
5109
5110
5111 enablestring=
5112 defaultval=
5113 if test -z "$defaultval"; then
5114 if test x"$enablestring" = xdisable; then
5115 defaultval=yes
5116 else
5117 defaultval=no
5118 fi
5119 fi
5120
5121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5122 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5123 # Check whether --enable-extended_rtti was given.
5124 if test "${enable_extended_rtti+set}" = set; then
5125 enableval=$enable_extended_rtti;
5126 if test "$enableval" = yes; then
5127 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5128 else
5129 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5130 fi
5131
5132 else
5133
5134 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5135
5136 fi
5137
5138
5139 eval "$wx_cv_use_extended_rtti"
5140
5141 if test x"$enablestring" = xdisable; then
5142 if test $wxUSE_EXTENDED_RTTI = no; then
5143 result=yes
5144 else
5145 result=no
5146 fi
5147 else
5148 result=$wxUSE_EXTENDED_RTTI
5149 fi
5150
5151 { echo "$as_me:$LINENO: result: $result" >&5
5152 echo "${ECHO_T}$result" >&6; }
5153
5154 if test "$USE_OS2" = 1; then
5155 DEFAULT_wxUSE_OMF=no
5156
5157 enablestring=
5158 defaultval=
5159 if test -z "$defaultval"; then
5160 if test x"$enablestring" = xdisable; then
5161 defaultval=yes
5162 else
5163 defaultval=no
5164 fi
5165 fi
5166
5167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5168 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5169 # Check whether --enable-omf was given.
5170 if test "${enable_omf+set}" = set; then
5171 enableval=$enable_omf;
5172 if test "$enableval" = yes; then
5173 wx_cv_use_omf='wxUSE_OMF=yes'
5174 else
5175 wx_cv_use_omf='wxUSE_OMF=no'
5176 fi
5177
5178 else
5179
5180 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5181
5182 fi
5183
5184
5185 eval "$wx_cv_use_omf"
5186
5187 if test x"$enablestring" = xdisable; then
5188 if test $wxUSE_OMF = no; then
5189 result=yes
5190 else
5191 result=no
5192 fi
5193 else
5194 result=$wxUSE_OMF
5195 fi
5196
5197 { echo "$as_me:$LINENO: result: $result" >&5
5198 echo "${ECHO_T}$result" >&6; }
5199
5200 fi
5201
5202
5203 enablestring=disable
5204 defaultval=
5205 if test -z "$defaultval"; then
5206 if test x"$enablestring" = xdisable; then
5207 defaultval=yes
5208 else
5209 defaultval=no
5210 fi
5211 fi
5212
5213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5214 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5215 # Check whether --enable-optimise was given.
5216 if test "${enable_optimise+set}" = set; then
5217 enableval=$enable_optimise;
5218 if test "$enableval" = yes; then
5219 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5220 else
5221 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5222 fi
5223
5224 else
5225
5226 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5227
5228 fi
5229
5230
5231 eval "$wx_cv_use_optimise"
5232
5233 if test x"$enablestring" = xdisable; then
5234 if test $wxUSE_OPTIMISE = no; then
5235 result=yes
5236 else
5237 result=no
5238 fi
5239 else
5240 result=$wxUSE_OPTIMISE
5241 fi
5242
5243 { echo "$as_me:$LINENO: result: $result" >&5
5244 echo "${ECHO_T}$result" >&6; }
5245
5246
5247
5248 enablestring=
5249 defaultval=
5250 if test -z "$defaultval"; then
5251 if test x"$enablestring" = xdisable; then
5252 defaultval=yes
5253 else
5254 defaultval=no
5255 fi
5256 fi
5257
5258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5259 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5260 # Check whether --enable-profile was given.
5261 if test "${enable_profile+set}" = set; then
5262 enableval=$enable_profile;
5263 if test "$enableval" = yes; then
5264 wx_cv_use_profile='wxUSE_PROFILE=yes'
5265 else
5266 wx_cv_use_profile='wxUSE_PROFILE=no'
5267 fi
5268
5269 else
5270
5271 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5272
5273 fi
5274
5275
5276 eval "$wx_cv_use_profile"
5277
5278 if test x"$enablestring" = xdisable; then
5279 if test $wxUSE_PROFILE = no; then
5280 result=yes
5281 else
5282 result=no
5283 fi
5284 else
5285 result=$wxUSE_PROFILE
5286 fi
5287
5288 { echo "$as_me:$LINENO: result: $result" >&5
5289 echo "${ECHO_T}$result" >&6; }
5290
5291
5292 enablestring=
5293 defaultval=
5294 if test -z "$defaultval"; then
5295 if test x"$enablestring" = xdisable; then
5296 defaultval=yes
5297 else
5298 defaultval=no
5299 fi
5300 fi
5301
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5304 # Check whether --enable-no_rtti was given.
5305 if test "${enable_no_rtti+set}" = set; then
5306 enableval=$enable_no_rtti;
5307 if test "$enableval" = yes; then
5308 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5309 else
5310 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5311 fi
5312
5313 else
5314
5315 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5316
5317 fi
5318
5319
5320 eval "$wx_cv_use_no_rtti"
5321
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_NO_RTTI = no; then
5324 result=yes
5325 else
5326 result=no
5327 fi
5328 else
5329 result=$wxUSE_NO_RTTI
5330 fi
5331
5332 { echo "$as_me:$LINENO: result: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5334
5335
5336 enablestring=
5337 defaultval=
5338 if test -z "$defaultval"; then
5339 if test x"$enablestring" = xdisable; then
5340 defaultval=yes
5341 else
5342 defaultval=no
5343 fi
5344 fi
5345
5346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5347 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5348 # Check whether --enable-no_exceptions was given.
5349 if test "${enable_no_exceptions+set}" = set; then
5350 enableval=$enable_no_exceptions;
5351 if test "$enableval" = yes; then
5352 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5353 else
5354 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5355 fi
5356
5357 else
5358
5359 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5360
5361 fi
5362
5363
5364 eval "$wx_cv_use_no_exceptions"
5365
5366 if test x"$enablestring" = xdisable; then
5367 if test $wxUSE_NO_EXCEPTIONS = no; then
5368 result=yes
5369 else
5370 result=no
5371 fi
5372 else
5373 result=$wxUSE_NO_EXCEPTIONS
5374 fi
5375
5376 { echo "$as_me:$LINENO: result: $result" >&5
5377 echo "${ECHO_T}$result" >&6; }
5378
5379
5380 enablestring=
5381 defaultval=
5382 if test -z "$defaultval"; then
5383 if test x"$enablestring" = xdisable; then
5384 defaultval=yes
5385 else
5386 defaultval=no
5387 fi
5388 fi
5389
5390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5391 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5392 # Check whether --enable-permissive was given.
5393 if test "${enable_permissive+set}" = set; then
5394 enableval=$enable_permissive;
5395 if test "$enableval" = yes; then
5396 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5397 else
5398 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5399 fi
5400
5401 else
5402
5403 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5404
5405 fi
5406
5407
5408 eval "$wx_cv_use_permissive"
5409
5410 if test x"$enablestring" = xdisable; then
5411 if test $wxUSE_PERMISSIVE = no; then
5412 result=yes
5413 else
5414 result=no
5415 fi
5416 else
5417 result=$wxUSE_PERMISSIVE
5418 fi
5419
5420 { echo "$as_me:$LINENO: result: $result" >&5
5421 echo "${ECHO_T}$result" >&6; }
5422
5423
5424 enablestring=
5425 defaultval=
5426 if test -z "$defaultval"; then
5427 if test x"$enablestring" = xdisable; then
5428 defaultval=yes
5429 else
5430 defaultval=no
5431 fi
5432 fi
5433
5434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5435 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5436 # Check whether --enable-no_deps was given.
5437 if test "${enable_no_deps+set}" = set; then
5438 enableval=$enable_no_deps;
5439 if test "$enableval" = yes; then
5440 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5441 else
5442 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5443 fi
5444
5445 else
5446
5447 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5448
5449 fi
5450
5451
5452 eval "$wx_cv_use_no_deps"
5453
5454 if test x"$enablestring" = xdisable; then
5455 if test $wxUSE_NO_DEPS = no; then
5456 result=yes
5457 else
5458 result=no
5459 fi
5460 else
5461 result=$wxUSE_NO_DEPS
5462 fi
5463
5464 { echo "$as_me:$LINENO: result: $result" >&5
5465 echo "${ECHO_T}$result" >&6; }
5466
5467
5468 enablestring=disable
5469 defaultval=
5470 if test -z "$defaultval"; then
5471 if test x"$enablestring" = xdisable; then
5472 defaultval=yes
5473 else
5474 defaultval=no
5475 fi
5476 fi
5477
5478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5479 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5480 # Check whether --enable-vararg_macros was given.
5481 if test "${enable_vararg_macros+set}" = set; then
5482 enableval=$enable_vararg_macros;
5483 if test "$enableval" = yes; then
5484 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5485 else
5486 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5487 fi
5488
5489 else
5490
5491 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5492
5493 fi
5494
5495
5496 eval "$wx_cv_use_vararg_macros"
5497
5498 if test x"$enablestring" = xdisable; then
5499 if test $wxUSE_VARARG_MACROS = no; then
5500 result=yes
5501 else
5502 result=no
5503 fi
5504 else
5505 result=$wxUSE_VARARG_MACROS
5506 fi
5507
5508 { echo "$as_me:$LINENO: result: $result" >&5
5509 echo "${ECHO_T}$result" >&6; }
5510
5511
5512
5513 enablestring=
5514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5515 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5516 # Check whether --enable-universal_binary was given.
5517 if test "${enable_universal_binary+set}" = set; then
5518 enableval=$enable_universal_binary;
5519 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5520
5521 else
5522
5523 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5524
5525 fi
5526
5527
5528 eval "$wx_cv_use_universal_binary"
5529
5530 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5531 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5532
5533
5534 enablestring=
5535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5536 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5537 # Check whether --enable-macosx_arch was given.
5538 if test "${enable_macosx_arch+set}" = set; then
5539 enableval=$enable_macosx_arch;
5540 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5541
5542 else
5543
5544 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5545
5546 fi
5547
5548
5549 eval "$wx_cv_use_macosx_arch"
5550
5551 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5552 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5553
5554
5555
5556 enablestring=
5557 defaultval=
5558 if test -z "$defaultval"; then
5559 if test x"$enablestring" = xdisable; then
5560 defaultval=yes
5561 else
5562 defaultval=no
5563 fi
5564 fi
5565
5566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5568 # Check whether --enable-compat26 was given.
5569 if test "${enable_compat26+set}" = set; then
5570 enableval=$enable_compat26;
5571 if test "$enableval" = yes; then
5572 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5573 else
5574 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5575 fi
5576
5577 else
5578
5579 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5580
5581 fi
5582
5583
5584 eval "$wx_cv_use_compat26"
5585
5586 if test x"$enablestring" = xdisable; then
5587 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5588 result=yes
5589 else
5590 result=no
5591 fi
5592 else
5593 result=$WXWIN_COMPATIBILITY_2_6
5594 fi
5595
5596 { echo "$as_me:$LINENO: result: $result" >&5
5597 echo "${ECHO_T}$result" >&6; }
5598
5599
5600 enablestring=disable
5601 defaultval=
5602 if test -z "$defaultval"; then
5603 if test x"$enablestring" = xdisable; then
5604 defaultval=yes
5605 else
5606 defaultval=no
5607 fi
5608 fi
5609
5610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5612 # Check whether --enable-compat28 was given.
5613 if test "${enable_compat28+set}" = set; then
5614 enableval=$enable_compat28;
5615 if test "$enableval" = yes; then
5616 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5617 else
5618 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5619 fi
5620
5621 else
5622
5623 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5624
5625 fi
5626
5627
5628 eval "$wx_cv_use_compat28"
5629
5630 if test x"$enablestring" = xdisable; then
5631 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5632 result=yes
5633 else
5634 result=no
5635 fi
5636 else
5637 result=$WXWIN_COMPATIBILITY_2_8
5638 fi
5639
5640 { echo "$as_me:$LINENO: result: $result" >&5
5641 echo "${ECHO_T}$result" >&6; }
5642
5643
5644
5645 enablestring=disable
5646 defaultval=
5647 if test -z "$defaultval"; then
5648 if test x"$enablestring" = xdisable; then
5649 defaultval=yes
5650 else
5651 defaultval=no
5652 fi
5653 fi
5654
5655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5656 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5657 # Check whether --enable-rpath was given.
5658 if test "${enable_rpath+set}" = set; then
5659 enableval=$enable_rpath;
5660 if test "$enableval" = yes; then
5661 wx_cv_use_rpath='wxUSE_RPATH=yes'
5662 else
5663 wx_cv_use_rpath='wxUSE_RPATH=no'
5664 fi
5665
5666 else
5667
5668 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5669
5670 fi
5671
5672
5673 eval "$wx_cv_use_rpath"
5674
5675 if test x"$enablestring" = xdisable; then
5676 if test $wxUSE_RPATH = no; then
5677 result=yes
5678 else
5679 result=no
5680 fi
5681 else
5682 result=$wxUSE_RPATH
5683 fi
5684
5685 { echo "$as_me:$LINENO: result: $result" >&5
5686 echo "${ECHO_T}$result" >&6; }
5687
5688
5689
5690 enablestring=
5691 defaultval=
5692 if test -z "$defaultval"; then
5693 if test x"$enablestring" = xdisable; then
5694 defaultval=yes
5695 else
5696 defaultval=no
5697 fi
5698 fi
5699
5700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5701 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5702 # Check whether --enable-objc_uniquifying was given.
5703 if test "${enable_objc_uniquifying+set}" = set; then
5704 enableval=$enable_objc_uniquifying;
5705 if test "$enableval" = yes; then
5706 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5707 else
5708 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5709 fi
5710
5711 else
5712
5713 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5714
5715 fi
5716
5717
5718 eval "$wx_cv_use_objc_uniquifying"
5719
5720 if test x"$enablestring" = xdisable; then
5721 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5722 result=yes
5723 else
5724 result=no
5725 fi
5726 else
5727 result=$wxUSE_OBJC_UNIQUIFYING
5728 fi
5729
5730 { echo "$as_me:$LINENO: result: $result" >&5
5731 echo "${ECHO_T}$result" >&6; }
5732
5733
5734
5735 enablestring=disable
5736 defaultval=
5737 if test -z "$defaultval"; then
5738 if test x"$enablestring" = xdisable; then
5739 defaultval=yes
5740 else
5741 defaultval=no
5742 fi
5743 fi
5744
5745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5747 # Check whether --enable-visibility was given.
5748 if test "${enable_visibility+set}" = set; then
5749 enableval=$enable_visibility;
5750 if test "$enableval" = yes; then
5751 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5752 else
5753 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5754 fi
5755
5756 else
5757
5758 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5759
5760 fi
5761
5762
5763 eval "$wx_cv_use_visibility"
5764
5765 if test x"$enablestring" = xdisable; then
5766 if test $wxUSE_VISIBILITY = no; then
5767 result=yes
5768 else
5769 result=no
5770 fi
5771 else
5772 result=$wxUSE_VISIBILITY
5773 fi
5774
5775 { echo "$as_me:$LINENO: result: $result" >&5
5776 echo "${ECHO_T}$result" >&6; }
5777
5778
5779 enablestring=disable
5780 defaultval=
5781 if test -z "$defaultval"; then
5782 if test x"$enablestring" = xdisable; then
5783 defaultval=yes
5784 else
5785 defaultval=no
5786 fi
5787 fi
5788
5789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5791 # Check whether --enable-tls was given.
5792 if test "${enable_tls+set}" = set; then
5793 enableval=$enable_tls;
5794 if test "$enableval" = yes; then
5795 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5796 else
5797 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5798 fi
5799
5800 else
5801
5802 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5803
5804 fi
5805
5806
5807 eval "$wx_cv_use_tls"
5808
5809 if test x"$enablestring" = xdisable; then
5810 if test $wxUSE_COMPILER_TLS = no; then
5811 result=yes
5812 else
5813 result=no
5814 fi
5815 else
5816 result=$wxUSE_COMPILER_TLS
5817 fi
5818
5819 { echo "$as_me:$LINENO: result: $result" >&5
5820 echo "${ECHO_T}$result" >&6; }
5821
5822
5823
5824
5825 enablestring=
5826 defaultval=$wxUSE_ALL_FEATURES
5827 if test -z "$defaultval"; then
5828 if test x"$enablestring" = xdisable; then
5829 defaultval=yes
5830 else
5831 defaultval=no
5832 fi
5833 fi
5834
5835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5836 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5837 # Check whether --enable-intl was given.
5838 if test "${enable_intl+set}" = set; then
5839 enableval=$enable_intl;
5840 if test "$enableval" = yes; then
5841 wx_cv_use_intl='wxUSE_INTL=yes'
5842 else
5843 wx_cv_use_intl='wxUSE_INTL=no'
5844 fi
5845
5846 else
5847
5848 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5849
5850 fi
5851
5852
5853 eval "$wx_cv_use_intl"
5854
5855 if test x"$enablestring" = xdisable; then
5856 if test $wxUSE_INTL = no; then
5857 result=yes
5858 else
5859 result=no
5860 fi
5861 else
5862 result=$wxUSE_INTL
5863 fi
5864
5865 { echo "$as_me:$LINENO: result: $result" >&5
5866 echo "${ECHO_T}$result" >&6; }
5867
5868
5869 enablestring=
5870 defaultval=$wxUSE_ALL_FEATURES
5871 if test -z "$defaultval"; then
5872 if test x"$enablestring" = xdisable; then
5873 defaultval=yes
5874 else
5875 defaultval=no
5876 fi
5877 fi
5878
5879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5880 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5881 # Check whether --enable-xlocale was given.
5882 if test "${enable_xlocale+set}" = set; then
5883 enableval=$enable_xlocale;
5884 if test "$enableval" = yes; then
5885 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5886 else
5887 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5888 fi
5889
5890 else
5891
5892 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5893
5894 fi
5895
5896
5897 eval "$wx_cv_use_xlocale"
5898
5899 if test x"$enablestring" = xdisable; then
5900 if test $wxUSE_XLOCALE = no; then
5901 result=yes
5902 else
5903 result=no
5904 fi
5905 else
5906 result=$wxUSE_XLOCALE
5907 fi
5908
5909 { echo "$as_me:$LINENO: result: $result" >&5
5910 echo "${ECHO_T}$result" >&6; }
5911
5912
5913 enablestring=
5914 defaultval=$wxUSE_ALL_FEATURES
5915 if test -z "$defaultval"; then
5916 if test x"$enablestring" = xdisable; then
5917 defaultval=yes
5918 else
5919 defaultval=no
5920 fi
5921 fi
5922
5923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5924 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5925 # Check whether --enable-config was given.
5926 if test "${enable_config+set}" = set; then
5927 enableval=$enable_config;
5928 if test "$enableval" = yes; then
5929 wx_cv_use_config='wxUSE_CONFIG=yes'
5930 else
5931 wx_cv_use_config='wxUSE_CONFIG=no'
5932 fi
5933
5934 else
5935
5936 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5937
5938 fi
5939
5940
5941 eval "$wx_cv_use_config"
5942
5943 if test x"$enablestring" = xdisable; then
5944 if test $wxUSE_CONFIG = no; then
5945 result=yes
5946 else
5947 result=no
5948 fi
5949 else
5950 result=$wxUSE_CONFIG
5951 fi
5952
5953 { echo "$as_me:$LINENO: result: $result" >&5
5954 echo "${ECHO_T}$result" >&6; }
5955
5956
5957
5958 enablestring=
5959 defaultval=$wxUSE_ALL_FEATURES
5960 if test -z "$defaultval"; then
5961 if test x"$enablestring" = xdisable; then
5962 defaultval=yes
5963 else
5964 defaultval=no
5965 fi
5966 fi
5967
5968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5970 # Check whether --enable-protocols was given.
5971 if test "${enable_protocols+set}" = set; then
5972 enableval=$enable_protocols;
5973 if test "$enableval" = yes; then
5974 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5975 else
5976 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5977 fi
5978
5979 else
5980
5981 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5982
5983 fi
5984
5985
5986 eval "$wx_cv_use_protocols"
5987
5988 if test x"$enablestring" = xdisable; then
5989 if test $wxUSE_PROTOCOL = no; then
5990 result=yes
5991 else
5992 result=no
5993 fi
5994 else
5995 result=$wxUSE_PROTOCOL
5996 fi
5997
5998 { echo "$as_me:$LINENO: result: $result" >&5
5999 echo "${ECHO_T}$result" >&6; }
6000
6001
6002 enablestring=
6003 defaultval=$wxUSE_ALL_FEATURES
6004 if test -z "$defaultval"; then
6005 if test x"$enablestring" = xdisable; then
6006 defaultval=yes
6007 else
6008 defaultval=no
6009 fi
6010 fi
6011
6012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6014 # Check whether --enable-ftp was given.
6015 if test "${enable_ftp+set}" = set; then
6016 enableval=$enable_ftp;
6017 if test "$enableval" = yes; then
6018 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6019 else
6020 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6021 fi
6022
6023 else
6024
6025 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6026
6027 fi
6028
6029
6030 eval "$wx_cv_use_ftp"
6031
6032 if test x"$enablestring" = xdisable; then
6033 if test $wxUSE_PROTOCOL_FTP = no; then
6034 result=yes
6035 else
6036 result=no
6037 fi
6038 else
6039 result=$wxUSE_PROTOCOL_FTP
6040 fi
6041
6042 { echo "$as_me:$LINENO: result: $result" >&5
6043 echo "${ECHO_T}$result" >&6; }
6044
6045
6046 enablestring=
6047 defaultval=$wxUSE_ALL_FEATURES
6048 if test -z "$defaultval"; then
6049 if test x"$enablestring" = xdisable; then
6050 defaultval=yes
6051 else
6052 defaultval=no
6053 fi
6054 fi
6055
6056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6058 # Check whether --enable-http was given.
6059 if test "${enable_http+set}" = set; then
6060 enableval=$enable_http;
6061 if test "$enableval" = yes; then
6062 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6063 else
6064 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6065 fi
6066
6067 else
6068
6069 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6070
6071 fi
6072
6073
6074 eval "$wx_cv_use_http"
6075
6076 if test x"$enablestring" = xdisable; then
6077 if test $wxUSE_PROTOCOL_HTTP = no; then
6078 result=yes
6079 else
6080 result=no
6081 fi
6082 else
6083 result=$wxUSE_PROTOCOL_HTTP
6084 fi
6085
6086 { echo "$as_me:$LINENO: result: $result" >&5
6087 echo "${ECHO_T}$result" >&6; }
6088
6089
6090 enablestring=
6091 defaultval=$wxUSE_ALL_FEATURES
6092 if test -z "$defaultval"; then
6093 if test x"$enablestring" = xdisable; then
6094 defaultval=yes
6095 else
6096 defaultval=no
6097 fi
6098 fi
6099
6100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6101 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6102 # Check whether --enable-fileproto was given.
6103 if test "${enable_fileproto+set}" = set; then
6104 enableval=$enable_fileproto;
6105 if test "$enableval" = yes; then
6106 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6107 else
6108 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6109 fi
6110
6111 else
6112
6113 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6114
6115 fi
6116
6117
6118 eval "$wx_cv_use_fileproto"
6119
6120 if test x"$enablestring" = xdisable; then
6121 if test $wxUSE_PROTOCOL_FILE = no; then
6122 result=yes
6123 else
6124 result=no
6125 fi
6126 else
6127 result=$wxUSE_PROTOCOL_FILE
6128 fi
6129
6130 { echo "$as_me:$LINENO: result: $result" >&5
6131 echo "${ECHO_T}$result" >&6; }
6132
6133
6134 enablestring=
6135 defaultval=$wxUSE_ALL_FEATURES
6136 if test -z "$defaultval"; then
6137 if test x"$enablestring" = xdisable; then
6138 defaultval=yes
6139 else
6140 defaultval=no
6141 fi
6142 fi
6143
6144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6145 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6146 # Check whether --enable-sockets was given.
6147 if test "${enable_sockets+set}" = set; then
6148 enableval=$enable_sockets;
6149 if test "$enableval" = yes; then
6150 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6151 else
6152 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6153 fi
6154
6155 else
6156
6157 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6158
6159 fi
6160
6161
6162 eval "$wx_cv_use_sockets"
6163
6164 if test x"$enablestring" = xdisable; then
6165 if test $wxUSE_SOCKETS = no; then
6166 result=yes
6167 else
6168 result=no
6169 fi
6170 else
6171 result=$wxUSE_SOCKETS
6172 fi
6173
6174 { echo "$as_me:$LINENO: result: $result" >&5
6175 echo "${ECHO_T}$result" >&6; }
6176
6177
6178 enablestring=
6179 defaultval=$wxUSE_ALL_FEATURES
6180 if test -z "$defaultval"; then
6181 if test x"$enablestring" = xdisable; then
6182 defaultval=yes
6183 else
6184 defaultval=no
6185 fi
6186 fi
6187
6188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6189 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6190 # Check whether --enable-ipv6 was given.
6191 if test "${enable_ipv6+set}" = set; then
6192 enableval=$enable_ipv6;
6193 if test "$enableval" = yes; then
6194 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6195 else
6196 wx_cv_use_ipv6='wxUSE_IPV6=no'
6197 fi
6198
6199 else
6200
6201 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6202
6203 fi
6204
6205
6206 eval "$wx_cv_use_ipv6"
6207
6208 if test x"$enablestring" = xdisable; then
6209 if test $wxUSE_IPV6 = no; then
6210 result=yes
6211 else
6212 result=no
6213 fi
6214 else
6215 result=$wxUSE_IPV6
6216 fi
6217
6218 { echo "$as_me:$LINENO: result: $result" >&5
6219 echo "${ECHO_T}$result" >&6; }
6220
6221
6222 enablestring=
6223 defaultval=$wxUSE_ALL_FEATURES
6224 if test -z "$defaultval"; then
6225 if test x"$enablestring" = xdisable; then
6226 defaultval=yes
6227 else
6228 defaultval=no
6229 fi
6230 fi
6231
6232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6233 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6234 # Check whether --enable-ole was given.
6235 if test "${enable_ole+set}" = set; then
6236 enableval=$enable_ole;
6237 if test "$enableval" = yes; then
6238 wx_cv_use_ole='wxUSE_OLE=yes'
6239 else
6240 wx_cv_use_ole='wxUSE_OLE=no'
6241 fi
6242
6243 else
6244
6245 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6246
6247 fi
6248
6249
6250 eval "$wx_cv_use_ole"
6251
6252 if test x"$enablestring" = xdisable; then
6253 if test $wxUSE_OLE = no; then
6254 result=yes
6255 else
6256 result=no
6257 fi
6258 else
6259 result=$wxUSE_OLE
6260 fi
6261
6262 { echo "$as_me:$LINENO: result: $result" >&5
6263 echo "${ECHO_T}$result" >&6; }
6264
6265
6266 enablestring=
6267 defaultval=$wxUSE_ALL_FEATURES
6268 if test -z "$defaultval"; then
6269 if test x"$enablestring" = xdisable; then
6270 defaultval=yes
6271 else
6272 defaultval=no
6273 fi
6274 fi
6275
6276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6277 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6278 # Check whether --enable-dataobj was given.
6279 if test "${enable_dataobj+set}" = set; then
6280 enableval=$enable_dataobj;
6281 if test "$enableval" = yes; then
6282 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6283 else
6284 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6285 fi
6286
6287 else
6288
6289 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6290
6291 fi
6292
6293
6294 eval "$wx_cv_use_dataobj"
6295
6296 if test x"$enablestring" = xdisable; then
6297 if test $wxUSE_DATAOBJ = no; then
6298 result=yes
6299 else
6300 result=no
6301 fi
6302 else
6303 result=$wxUSE_DATAOBJ
6304 fi
6305
6306 { echo "$as_me:$LINENO: result: $result" >&5
6307 echo "${ECHO_T}$result" >&6; }
6308
6309
6310
6311 enablestring=
6312 defaultval=$wxUSE_ALL_FEATURES
6313 if test -z "$defaultval"; then
6314 if test x"$enablestring" = xdisable; then
6315 defaultval=yes
6316 else
6317 defaultval=no
6318 fi
6319 fi
6320
6321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6323 # Check whether --enable-ipc was given.
6324 if test "${enable_ipc+set}" = set; then
6325 enableval=$enable_ipc;
6326 if test "$enableval" = yes; then
6327 wx_cv_use_ipc='wxUSE_IPC=yes'
6328 else
6329 wx_cv_use_ipc='wxUSE_IPC=no'
6330 fi
6331
6332 else
6333
6334 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6335
6336 fi
6337
6338
6339 eval "$wx_cv_use_ipc"
6340
6341 if test x"$enablestring" = xdisable; then
6342 if test $wxUSE_IPC = no; then
6343 result=yes
6344 else
6345 result=no
6346 fi
6347 else
6348 result=$wxUSE_IPC
6349 fi
6350
6351 { echo "$as_me:$LINENO: result: $result" >&5
6352 echo "${ECHO_T}$result" >&6; }
6353
6354
6355
6356 enablestring=
6357 defaultval=$wxUSE_ALL_FEATURES
6358 if test -z "$defaultval"; then
6359 if test x"$enablestring" = xdisable; then
6360 defaultval=yes
6361 else
6362 defaultval=no
6363 fi
6364 fi
6365
6366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6367 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6368 # Check whether --enable-baseevtloop was given.
6369 if test "${enable_baseevtloop+set}" = set; then
6370 enableval=$enable_baseevtloop;
6371 if test "$enableval" = yes; then
6372 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6373 else
6374 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6375 fi
6376
6377 else
6378
6379 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6380
6381 fi
6382
6383
6384 eval "$wx_cv_use_baseevtloop"
6385
6386 if test x"$enablestring" = xdisable; then
6387 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6388 result=yes
6389 else
6390 result=no
6391 fi
6392 else
6393 result=$wxUSE_CONSOLE_EVENTLOOP
6394 fi
6395
6396 { echo "$as_me:$LINENO: result: $result" >&5
6397 echo "${ECHO_T}$result" >&6; }
6398
6399
6400 enablestring=
6401 defaultval=$wxUSE_ALL_FEATURES
6402 if test -z "$defaultval"; then
6403 if test x"$enablestring" = xdisable; then
6404 defaultval=yes
6405 else
6406 defaultval=no
6407 fi
6408 fi
6409
6410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6411 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6412 # Check whether --enable-epollloop was given.
6413 if test "${enable_epollloop+set}" = set; then
6414 enableval=$enable_epollloop;
6415 if test "$enableval" = yes; then
6416 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6417 else
6418 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6419 fi
6420
6421 else
6422
6423 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6424
6425 fi
6426
6427
6428 eval "$wx_cv_use_epollloop"
6429
6430 if test x"$enablestring" = xdisable; then
6431 if test $wxUSE_EPOLL_DISPATCHER = no; then
6432 result=yes
6433 else
6434 result=no
6435 fi
6436 else
6437 result=$wxUSE_EPOLL_DISPATCHER
6438 fi
6439
6440 { echo "$as_me:$LINENO: result: $result" >&5
6441 echo "${ECHO_T}$result" >&6; }
6442
6443
6444 enablestring=
6445 defaultval=$wxUSE_ALL_FEATURES
6446 if test -z "$defaultval"; then
6447 if test x"$enablestring" = xdisable; then
6448 defaultval=yes
6449 else
6450 defaultval=no
6451 fi
6452 fi
6453
6454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6455 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6456 # Check whether --enable-selectloop was given.
6457 if test "${enable_selectloop+set}" = set; then
6458 enableval=$enable_selectloop;
6459 if test "$enableval" = yes; then
6460 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6461 else
6462 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6463 fi
6464
6465 else
6466
6467 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6468
6469 fi
6470
6471
6472 eval "$wx_cv_use_selectloop"
6473
6474 if test x"$enablestring" = xdisable; then
6475 if test $wxUSE_SELECT_DISPATCHER = no; then
6476 result=yes
6477 else
6478 result=no
6479 fi
6480 else
6481 result=$wxUSE_SELECT_DISPATCHER
6482 fi
6483
6484 { echo "$as_me:$LINENO: result: $result" >&5
6485 echo "${ECHO_T}$result" >&6; }
6486
6487
6488
6489 enablestring=
6490 defaultval=$wxUSE_ALL_FEATURES
6491 if test -z "$defaultval"; then
6492 if test x"$enablestring" = xdisable; then
6493 defaultval=yes
6494 else
6495 defaultval=no
6496 fi
6497 fi
6498
6499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6500 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6501 # Check whether --enable-any was given.
6502 if test "${enable_any+set}" = set; then
6503 enableval=$enable_any;
6504 if test "$enableval" = yes; then
6505 wx_cv_use_any='wxUSE_ANY=yes'
6506 else
6507 wx_cv_use_any='wxUSE_ANY=no'
6508 fi
6509
6510 else
6511
6512 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6513
6514 fi
6515
6516
6517 eval "$wx_cv_use_any"
6518
6519 if test x"$enablestring" = xdisable; then
6520 if test $wxUSE_ANY = no; then
6521 result=yes
6522 else
6523 result=no
6524 fi
6525 else
6526 result=$wxUSE_ANY
6527 fi
6528
6529 { echo "$as_me:$LINENO: result: $result" >&5
6530 echo "${ECHO_T}$result" >&6; }
6531
6532
6533 enablestring=
6534 defaultval=$wxUSE_ALL_FEATURES
6535 if test -z "$defaultval"; then
6536 if test x"$enablestring" = xdisable; then
6537 defaultval=yes
6538 else
6539 defaultval=no
6540 fi
6541 fi
6542
6543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6544 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6545 # Check whether --enable-apple_ieee was given.
6546 if test "${enable_apple_ieee+set}" = set; then
6547 enableval=$enable_apple_ieee;
6548 if test "$enableval" = yes; then
6549 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6550 else
6551 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6552 fi
6553
6554 else
6555
6556 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6557
6558 fi
6559
6560
6561 eval "$wx_cv_use_apple_ieee"
6562
6563 if test x"$enablestring" = xdisable; then
6564 if test $wxUSE_APPLE_IEEE = no; then
6565 result=yes
6566 else
6567 result=no
6568 fi
6569 else
6570 result=$wxUSE_APPLE_IEEE
6571 fi
6572
6573 { echo "$as_me:$LINENO: result: $result" >&5
6574 echo "${ECHO_T}$result" >&6; }
6575
6576
6577 enablestring=
6578 defaultval=$wxUSE_ALL_FEATURES
6579 if test -z "$defaultval"; then
6580 if test x"$enablestring" = xdisable; then
6581 defaultval=yes
6582 else
6583 defaultval=no
6584 fi
6585 fi
6586
6587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6588 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6589 # Check whether --enable-arcstream was given.
6590 if test "${enable_arcstream+set}" = set; then
6591 enableval=$enable_arcstream;
6592 if test "$enableval" = yes; then
6593 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6594 else
6595 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6596 fi
6597
6598 else
6599
6600 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6601
6602 fi
6603
6604
6605 eval "$wx_cv_use_arcstream"
6606
6607 if test x"$enablestring" = xdisable; then
6608 if test $wxUSE_ARCHIVE_STREAMS = no; then
6609 result=yes
6610 else
6611 result=no
6612 fi
6613 else
6614 result=$wxUSE_ARCHIVE_STREAMS
6615 fi
6616
6617 { echo "$as_me:$LINENO: result: $result" >&5
6618 echo "${ECHO_T}$result" >&6; }
6619
6620
6621 enablestring=
6622 defaultval=$wxUSE_ALL_FEATURES
6623 if test -z "$defaultval"; then
6624 if test x"$enablestring" = xdisable; then
6625 defaultval=yes
6626 else
6627 defaultval=no
6628 fi
6629 fi
6630
6631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6633 # Check whether --enable-base64 was given.
6634 if test "${enable_base64+set}" = set; then
6635 enableval=$enable_base64;
6636 if test "$enableval" = yes; then
6637 wx_cv_use_base64='wxUSE_BASE64=yes'
6638 else
6639 wx_cv_use_base64='wxUSE_BASE64=no'
6640 fi
6641
6642 else
6643
6644 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6645
6646 fi
6647
6648
6649 eval "$wx_cv_use_base64"
6650
6651 if test x"$enablestring" = xdisable; then
6652 if test $wxUSE_BASE64 = no; then
6653 result=yes
6654 else
6655 result=no
6656 fi
6657 else
6658 result=$wxUSE_BASE64
6659 fi
6660
6661 { echo "$as_me:$LINENO: result: $result" >&5
6662 echo "${ECHO_T}$result" >&6; }
6663
6664
6665 enablestring=
6666 defaultval=$wxUSE_ALL_FEATURES
6667 if test -z "$defaultval"; then
6668 if test x"$enablestring" = xdisable; then
6669 defaultval=yes
6670 else
6671 defaultval=no
6672 fi
6673 fi
6674
6675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6676 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6677 # Check whether --enable-backtrace was given.
6678 if test "${enable_backtrace+set}" = set; then
6679 enableval=$enable_backtrace;
6680 if test "$enableval" = yes; then
6681 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6682 else
6683 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6684 fi
6685
6686 else
6687
6688 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6689
6690 fi
6691
6692
6693 eval "$wx_cv_use_backtrace"
6694
6695 if test x"$enablestring" = xdisable; then
6696 if test $wxUSE_STACKWALKER = no; then
6697 result=yes
6698 else
6699 result=no
6700 fi
6701 else
6702 result=$wxUSE_STACKWALKER
6703 fi
6704
6705 { echo "$as_me:$LINENO: result: $result" >&5
6706 echo "${ECHO_T}$result" >&6; }
6707
6708
6709 enablestring=
6710 defaultval=$wxUSE_ALL_FEATURES
6711 if test -z "$defaultval"; then
6712 if test x"$enablestring" = xdisable; then
6713 defaultval=yes
6714 else
6715 defaultval=no
6716 fi
6717 fi
6718
6719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6720 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6721 # Check whether --enable-catch_segvs was given.
6722 if test "${enable_catch_segvs+set}" = set; then
6723 enableval=$enable_catch_segvs;
6724 if test "$enableval" = yes; then
6725 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6726 else
6727 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6728 fi
6729
6730 else
6731
6732 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6733
6734 fi
6735
6736
6737 eval "$wx_cv_use_catch_segvs"
6738
6739 if test x"$enablestring" = xdisable; then
6740 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6741 result=yes
6742 else
6743 result=no
6744 fi
6745 else
6746 result=$wxUSE_ON_FATAL_EXCEPTION
6747 fi
6748
6749 { echo "$as_me:$LINENO: result: $result" >&5
6750 echo "${ECHO_T}$result" >&6; }
6751
6752
6753 enablestring=
6754 defaultval=$wxUSE_ALL_FEATURES
6755 if test -z "$defaultval"; then
6756 if test x"$enablestring" = xdisable; then
6757 defaultval=yes
6758 else
6759 defaultval=no
6760 fi
6761 fi
6762
6763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6764 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6765 # Check whether --enable-cmdline was given.
6766 if test "${enable_cmdline+set}" = set; then
6767 enableval=$enable_cmdline;
6768 if test "$enableval" = yes; then
6769 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6770 else
6771 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6772 fi
6773
6774 else
6775
6776 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6777
6778 fi
6779
6780
6781 eval "$wx_cv_use_cmdline"
6782
6783 if test x"$enablestring" = xdisable; then
6784 if test $wxUSE_CMDLINE_PARSER = no; then
6785 result=yes
6786 else
6787 result=no
6788 fi
6789 else
6790 result=$wxUSE_CMDLINE_PARSER
6791 fi
6792
6793 { echo "$as_me:$LINENO: result: $result" >&5
6794 echo "${ECHO_T}$result" >&6; }
6795
6796
6797 enablestring=
6798 defaultval=$wxUSE_ALL_FEATURES
6799 if test -z "$defaultval"; then
6800 if test x"$enablestring" = xdisable; then
6801 defaultval=yes
6802 else
6803 defaultval=no
6804 fi
6805 fi
6806
6807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6808 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6809 # Check whether --enable-datetime was given.
6810 if test "${enable_datetime+set}" = set; then
6811 enableval=$enable_datetime;
6812 if test "$enableval" = yes; then
6813 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6814 else
6815 wx_cv_use_datetime='wxUSE_DATETIME=no'
6816 fi
6817
6818 else
6819
6820 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6821
6822 fi
6823
6824
6825 eval "$wx_cv_use_datetime"
6826
6827 if test x"$enablestring" = xdisable; then
6828 if test $wxUSE_DATETIME = no; then
6829 result=yes
6830 else
6831 result=no
6832 fi
6833 else
6834 result=$wxUSE_DATETIME
6835 fi
6836
6837 { echo "$as_me:$LINENO: result: $result" >&5
6838 echo "${ECHO_T}$result" >&6; }
6839
6840
6841 enablestring=
6842 defaultval=$wxUSE_ALL_FEATURES
6843 if test -z "$defaultval"; then
6844 if test x"$enablestring" = xdisable; then
6845 defaultval=yes
6846 else
6847 defaultval=no
6848 fi
6849 fi
6850
6851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6852 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6853 # Check whether --enable-debugreport was given.
6854 if test "${enable_debugreport+set}" = set; then
6855 enableval=$enable_debugreport;
6856 if test "$enableval" = yes; then
6857 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6858 else
6859 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6860 fi
6861
6862 else
6863
6864 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6865
6866 fi
6867
6868
6869 eval "$wx_cv_use_debugreport"
6870
6871 if test x"$enablestring" = xdisable; then
6872 if test $wxUSE_DEBUGREPORT = no; then
6873 result=yes
6874 else
6875 result=no
6876 fi
6877 else
6878 result=$wxUSE_DEBUGREPORT
6879 fi
6880
6881 { echo "$as_me:$LINENO: result: $result" >&5
6882 echo "${ECHO_T}$result" >&6; }
6883
6884
6885 enablestring=
6886 defaultval=$wxUSE_ALL_FEATURES
6887 if test -z "$defaultval"; then
6888 if test x"$enablestring" = xdisable; then
6889 defaultval=yes
6890 else
6891 defaultval=no
6892 fi
6893 fi
6894
6895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6897 # Check whether --enable-dialupman was given.
6898 if test "${enable_dialupman+set}" = set; then
6899 enableval=$enable_dialupman;
6900 if test "$enableval" = yes; then
6901 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6902 else
6903 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6904 fi
6905
6906 else
6907
6908 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6909
6910 fi
6911
6912
6913 eval "$wx_cv_use_dialupman"
6914
6915 if test x"$enablestring" = xdisable; then
6916 if test $wxUSE_DIALUP_MANAGER = no; then
6917 result=yes
6918 else
6919 result=no
6920 fi
6921 else
6922 result=$wxUSE_DIALUP_MANAGER
6923 fi
6924
6925 { echo "$as_me:$LINENO: result: $result" >&5
6926 echo "${ECHO_T}$result" >&6; }
6927
6928
6929 enablestring=
6930 defaultval=$wxUSE_ALL_FEATURES
6931 if test -z "$defaultval"; then
6932 if test x"$enablestring" = xdisable; then
6933 defaultval=yes
6934 else
6935 defaultval=no
6936 fi
6937 fi
6938
6939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6941 # Check whether --enable-dynlib was given.
6942 if test "${enable_dynlib+set}" = set; then
6943 enableval=$enable_dynlib;
6944 if test "$enableval" = yes; then
6945 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6946 else
6947 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6948 fi
6949
6950 else
6951
6952 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6953
6954 fi
6955
6956
6957 eval "$wx_cv_use_dynlib"
6958
6959 if test x"$enablestring" = xdisable; then
6960 if test $wxUSE_DYNLIB_CLASS = no; then
6961 result=yes
6962 else
6963 result=no
6964 fi
6965 else
6966 result=$wxUSE_DYNLIB_CLASS
6967 fi
6968
6969 { echo "$as_me:$LINENO: result: $result" >&5
6970 echo "${ECHO_T}$result" >&6; }
6971
6972
6973 enablestring=
6974 defaultval=$wxUSE_ALL_FEATURES
6975 if test -z "$defaultval"; then
6976 if test x"$enablestring" = xdisable; then
6977 defaultval=yes
6978 else
6979 defaultval=no
6980 fi
6981 fi
6982
6983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6984 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6985 # Check whether --enable-dynamicloader was given.
6986 if test "${enable_dynamicloader+set}" = set; then
6987 enableval=$enable_dynamicloader;
6988 if test "$enableval" = yes; then
6989 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6990 else
6991 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6992 fi
6993
6994 else
6995
6996 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6997
6998 fi
6999
7000
7001 eval "$wx_cv_use_dynamicloader"
7002
7003 if test x"$enablestring" = xdisable; then
7004 if test $wxUSE_DYNAMIC_LOADER = no; then
7005 result=yes
7006 else
7007 result=no
7008 fi
7009 else
7010 result=$wxUSE_DYNAMIC_LOADER
7011 fi
7012
7013 { echo "$as_me:$LINENO: result: $result" >&5
7014 echo "${ECHO_T}$result" >&6; }
7015
7016
7017 enablestring=
7018 defaultval=$wxUSE_ALL_FEATURES
7019 if test -z "$defaultval"; then
7020 if test x"$enablestring" = xdisable; then
7021 defaultval=yes
7022 else
7023 defaultval=no
7024 fi
7025 fi
7026
7027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7029 # Check whether --enable-exceptions was given.
7030 if test "${enable_exceptions+set}" = set; then
7031 enableval=$enable_exceptions;
7032 if test "$enableval" = yes; then
7033 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7034 else
7035 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7036 fi
7037
7038 else
7039
7040 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7041
7042 fi
7043
7044
7045 eval "$wx_cv_use_exceptions"
7046
7047 if test x"$enablestring" = xdisable; then
7048 if test $wxUSE_EXCEPTIONS = no; then
7049 result=yes
7050 else
7051 result=no
7052 fi
7053 else
7054 result=$wxUSE_EXCEPTIONS
7055 fi
7056
7057 { echo "$as_me:$LINENO: result: $result" >&5
7058 echo "${ECHO_T}$result" >&6; }
7059
7060
7061 enablestring=
7062 defaultval=$wxUSE_ALL_FEATURES
7063 if test -z "$defaultval"; then
7064 if test x"$enablestring" = xdisable; then
7065 defaultval=yes
7066 else
7067 defaultval=no
7068 fi
7069 fi
7070
7071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7072 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7073 # Check whether --enable-ffile was given.
7074 if test "${enable_ffile+set}" = set; then
7075 enableval=$enable_ffile;
7076 if test "$enableval" = yes; then
7077 wx_cv_use_ffile='wxUSE_FFILE=yes'
7078 else
7079 wx_cv_use_ffile='wxUSE_FFILE=no'
7080 fi
7081
7082 else
7083
7084 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7085
7086 fi
7087
7088
7089 eval "$wx_cv_use_ffile"
7090
7091 if test x"$enablestring" = xdisable; then
7092 if test $wxUSE_FFILE = no; then
7093 result=yes
7094 else
7095 result=no
7096 fi
7097 else
7098 result=$wxUSE_FFILE
7099 fi
7100
7101 { echo "$as_me:$LINENO: result: $result" >&5
7102 echo "${ECHO_T}$result" >&6; }
7103
7104
7105 enablestring=
7106 defaultval=$wxUSE_ALL_FEATURES
7107 if test -z "$defaultval"; then
7108 if test x"$enablestring" = xdisable; then
7109 defaultval=yes
7110 else
7111 defaultval=no
7112 fi
7113 fi
7114
7115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7116 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7117 # Check whether --enable-file was given.
7118 if test "${enable_file+set}" = set; then
7119 enableval=$enable_file;
7120 if test "$enableval" = yes; then
7121 wx_cv_use_file='wxUSE_FILE=yes'
7122 else
7123 wx_cv_use_file='wxUSE_FILE=no'
7124 fi
7125
7126 else
7127
7128 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7129
7130 fi
7131
7132
7133 eval "$wx_cv_use_file"
7134
7135 if test x"$enablestring" = xdisable; then
7136 if test $wxUSE_FILE = no; then
7137 result=yes
7138 else
7139 result=no
7140 fi
7141 else
7142 result=$wxUSE_FILE
7143 fi
7144
7145 { echo "$as_me:$LINENO: result: $result" >&5
7146 echo "${ECHO_T}$result" >&6; }
7147
7148
7149 enablestring=
7150 defaultval=$wxUSE_ALL_FEATURES
7151 if test -z "$defaultval"; then
7152 if test x"$enablestring" = xdisable; then
7153 defaultval=yes
7154 else
7155 defaultval=no
7156 fi
7157 fi
7158
7159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7160 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7161 # Check whether --enable-filehistory was given.
7162 if test "${enable_filehistory+set}" = set; then
7163 enableval=$enable_filehistory;
7164 if test "$enableval" = yes; then
7165 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7166 else
7167 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7168 fi
7169
7170 else
7171
7172 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7173
7174 fi
7175
7176
7177 eval "$wx_cv_use_filehistory"
7178
7179 if test x"$enablestring" = xdisable; then
7180 if test $wxUSE_FILE_HISTORY = no; then
7181 result=yes
7182 else
7183 result=no
7184 fi
7185 else
7186 result=$wxUSE_FILE_HISTORY
7187 fi
7188
7189 { echo "$as_me:$LINENO: result: $result" >&5
7190 echo "${ECHO_T}$result" >&6; }
7191
7192
7193 enablestring=
7194 defaultval=$wxUSE_ALL_FEATURES
7195 if test -z "$defaultval"; then
7196 if test x"$enablestring" = xdisable; then
7197 defaultval=yes
7198 else
7199 defaultval=no
7200 fi
7201 fi
7202
7203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7204 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7205 # Check whether --enable-filesystem was given.
7206 if test "${enable_filesystem+set}" = set; then
7207 enableval=$enable_filesystem;
7208 if test "$enableval" = yes; then
7209 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7210 else
7211 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7212 fi
7213
7214 else
7215
7216 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7217
7218 fi
7219
7220
7221 eval "$wx_cv_use_filesystem"
7222
7223 if test x"$enablestring" = xdisable; then
7224 if test $wxUSE_FILESYSTEM = no; then
7225 result=yes
7226 else
7227 result=no
7228 fi
7229 else
7230 result=$wxUSE_FILESYSTEM
7231 fi
7232
7233 { echo "$as_me:$LINENO: result: $result" >&5
7234 echo "${ECHO_T}$result" >&6; }
7235
7236
7237 enablestring=
7238 defaultval=$wxUSE_ALL_FEATURES
7239 if test -z "$defaultval"; then
7240 if test x"$enablestring" = xdisable; then
7241 defaultval=yes
7242 else
7243 defaultval=no
7244 fi
7245 fi
7246
7247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7248 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7249 # Check whether --enable-fontenum was given.
7250 if test "${enable_fontenum+set}" = set; then
7251 enableval=$enable_fontenum;
7252 if test "$enableval" = yes; then
7253 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7254 else
7255 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7256 fi
7257
7258 else
7259
7260 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7261
7262 fi
7263
7264
7265 eval "$wx_cv_use_fontenum"
7266
7267 if test x"$enablestring" = xdisable; then
7268 if test $wxUSE_FONTENUM = no; then
7269 result=yes
7270 else
7271 result=no
7272 fi
7273 else
7274 result=$wxUSE_FONTENUM
7275 fi
7276
7277 { echo "$as_me:$LINENO: result: $result" >&5
7278 echo "${ECHO_T}$result" >&6; }
7279
7280
7281 enablestring=
7282 defaultval=$wxUSE_ALL_FEATURES
7283 if test -z "$defaultval"; then
7284 if test x"$enablestring" = xdisable; then
7285 defaultval=yes
7286 else
7287 defaultval=no
7288 fi
7289 fi
7290
7291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7293 # Check whether --enable-fontmap was given.
7294 if test "${enable_fontmap+set}" = set; then
7295 enableval=$enable_fontmap;
7296 if test "$enableval" = yes; then
7297 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7298 else
7299 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7300 fi
7301
7302 else
7303
7304 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7305
7306 fi
7307
7308
7309 eval "$wx_cv_use_fontmap"
7310
7311 if test x"$enablestring" = xdisable; then
7312 if test $wxUSE_FONTMAP = no; then
7313 result=yes
7314 else
7315 result=no
7316 fi
7317 else
7318 result=$wxUSE_FONTMAP
7319 fi
7320
7321 { echo "$as_me:$LINENO: result: $result" >&5
7322 echo "${ECHO_T}$result" >&6; }
7323
7324
7325 enablestring=
7326 defaultval=$wxUSE_ALL_FEATURES
7327 if test -z "$defaultval"; then
7328 if test x"$enablestring" = xdisable; then
7329 defaultval=yes
7330 else
7331 defaultval=no
7332 fi
7333 fi
7334
7335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7337 # Check whether --enable-fs_archive was given.
7338 if test "${enable_fs_archive+set}" = set; then
7339 enableval=$enable_fs_archive;
7340 if test "$enableval" = yes; then
7341 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7342 else
7343 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7344 fi
7345
7346 else
7347
7348 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7349
7350 fi
7351
7352
7353 eval "$wx_cv_use_fs_archive"
7354
7355 if test x"$enablestring" = xdisable; then
7356 if test $wxUSE_FS_ARCHIVE = no; then
7357 result=yes
7358 else
7359 result=no
7360 fi
7361 else
7362 result=$wxUSE_FS_ARCHIVE
7363 fi
7364
7365 { echo "$as_me:$LINENO: result: $result" >&5
7366 echo "${ECHO_T}$result" >&6; }
7367
7368
7369 enablestring=
7370 defaultval=$wxUSE_ALL_FEATURES
7371 if test -z "$defaultval"; then
7372 if test x"$enablestring" = xdisable; then
7373 defaultval=yes
7374 else
7375 defaultval=no
7376 fi
7377 fi
7378
7379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7380 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7381 # Check whether --enable-fs_inet was given.
7382 if test "${enable_fs_inet+set}" = set; then
7383 enableval=$enable_fs_inet;
7384 if test "$enableval" = yes; then
7385 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7386 else
7387 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7388 fi
7389
7390 else
7391
7392 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7393
7394 fi
7395
7396
7397 eval "$wx_cv_use_fs_inet"
7398
7399 if test x"$enablestring" = xdisable; then
7400 if test $wxUSE_FS_INET = no; then
7401 result=yes
7402 else
7403 result=no
7404 fi
7405 else
7406 result=$wxUSE_FS_INET
7407 fi
7408
7409 { echo "$as_me:$LINENO: result: $result" >&5
7410 echo "${ECHO_T}$result" >&6; }
7411
7412
7413 enablestring=
7414 defaultval=$wxUSE_ALL_FEATURES
7415 if test -z "$defaultval"; then
7416 if test x"$enablestring" = xdisable; then
7417 defaultval=yes
7418 else
7419 defaultval=no
7420 fi
7421 fi
7422
7423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7424 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7425 # Check whether --enable-fs_zip was given.
7426 if test "${enable_fs_zip+set}" = set; then
7427 enableval=$enable_fs_zip;
7428 if test "$enableval" = yes; then
7429 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7430 else
7431 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7432 fi
7433
7434 else
7435
7436 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7437
7438 fi
7439
7440
7441 eval "$wx_cv_use_fs_zip"
7442
7443 if test x"$enablestring" = xdisable; then
7444 if test $wxUSE_FS_ZIP = no; then
7445 result=yes
7446 else
7447 result=no
7448 fi
7449 else
7450 result=$wxUSE_FS_ZIP
7451 fi
7452
7453 { echo "$as_me:$LINENO: result: $result" >&5
7454 echo "${ECHO_T}$result" >&6; }
7455
7456
7457 enablestring=
7458 defaultval=$wxUSE_ALL_FEATURES
7459 if test -z "$defaultval"; then
7460 if test x"$enablestring" = xdisable; then
7461 defaultval=yes
7462 else
7463 defaultval=no
7464 fi
7465 fi
7466
7467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7468 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7469 # Check whether --enable-fswatcher was given.
7470 if test "${enable_fswatcher+set}" = set; then
7471 enableval=$enable_fswatcher;
7472 if test "$enableval" = yes; then
7473 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7474 else
7475 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7476 fi
7477
7478 else
7479
7480 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7481
7482 fi
7483
7484
7485 eval "$wx_cv_use_fswatcher"
7486
7487 if test x"$enablestring" = xdisable; then
7488 if test $wxUSE_FSWATCHER = no; then
7489 result=yes
7490 else
7491 result=no
7492 fi
7493 else
7494 result=$wxUSE_FSWATCHER
7495 fi
7496
7497 { echo "$as_me:$LINENO: result: $result" >&5
7498 echo "${ECHO_T}$result" >&6; }
7499
7500
7501 enablestring=
7502 defaultval=$wxUSE_ALL_FEATURES
7503 if test -z "$defaultval"; then
7504 if test x"$enablestring" = xdisable; then
7505 defaultval=yes
7506 else
7507 defaultval=no
7508 fi
7509 fi
7510
7511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7512 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7513 # Check whether --enable-geometry was given.
7514 if test "${enable_geometry+set}" = set; then
7515 enableval=$enable_geometry;
7516 if test "$enableval" = yes; then
7517 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7518 else
7519 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7520 fi
7521
7522 else
7523
7524 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7525
7526 fi
7527
7528
7529 eval "$wx_cv_use_geometry"
7530
7531 if test x"$enablestring" = xdisable; then
7532 if test $wxUSE_GEOMETRY = no; then
7533 result=yes
7534 else
7535 result=no
7536 fi
7537 else
7538 result=$wxUSE_GEOMETRY
7539 fi
7540
7541 { echo "$as_me:$LINENO: result: $result" >&5
7542 echo "${ECHO_T}$result" >&6; }
7543
7544
7545 enablestring=
7546 defaultval=$wxUSE_ALL_FEATURES
7547 if test -z "$defaultval"; then
7548 if test x"$enablestring" = xdisable; then
7549 defaultval=yes
7550 else
7551 defaultval=no
7552 fi
7553 fi
7554
7555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7556 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7557 # Check whether --enable-log was given.
7558 if test "${enable_log+set}" = set; then
7559 enableval=$enable_log;
7560 if test "$enableval" = yes; then
7561 wx_cv_use_log='wxUSE_LOG=yes'
7562 else
7563 wx_cv_use_log='wxUSE_LOG=no'
7564 fi
7565
7566 else
7567
7568 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7569
7570 fi
7571
7572
7573 eval "$wx_cv_use_log"
7574
7575 if test x"$enablestring" = xdisable; then
7576 if test $wxUSE_LOG = no; then
7577 result=yes
7578 else
7579 result=no
7580 fi
7581 else
7582 result=$wxUSE_LOG
7583 fi
7584
7585 { echo "$as_me:$LINENO: result: $result" >&5
7586 echo "${ECHO_T}$result" >&6; }
7587
7588
7589 enablestring=
7590 defaultval=$wxUSE_ALL_FEATURES
7591 if test -z "$defaultval"; then
7592 if test x"$enablestring" = xdisable; then
7593 defaultval=yes
7594 else
7595 defaultval=no
7596 fi
7597 fi
7598
7599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7600 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7601 # Check whether --enable-longlong was given.
7602 if test "${enable_longlong+set}" = set; then
7603 enableval=$enable_longlong;
7604 if test "$enableval" = yes; then
7605 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7606 else
7607 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7608 fi
7609
7610 else
7611
7612 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7613
7614 fi
7615
7616
7617 eval "$wx_cv_use_longlong"
7618
7619 if test x"$enablestring" = xdisable; then
7620 if test $wxUSE_LONGLONG = no; then
7621 result=yes
7622 else
7623 result=no
7624 fi
7625 else
7626 result=$wxUSE_LONGLONG
7627 fi
7628
7629 { echo "$as_me:$LINENO: result: $result" >&5
7630 echo "${ECHO_T}$result" >&6; }
7631
7632
7633 enablestring=
7634 defaultval=$wxUSE_ALL_FEATURES
7635 if test -z "$defaultval"; then
7636 if test x"$enablestring" = xdisable; then
7637 defaultval=yes
7638 else
7639 defaultval=no
7640 fi
7641 fi
7642
7643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7644 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7645 # Check whether --enable-mimetype was given.
7646 if test "${enable_mimetype+set}" = set; then
7647 enableval=$enable_mimetype;
7648 if test "$enableval" = yes; then
7649 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7650 else
7651 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7652 fi
7653
7654 else
7655
7656 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7657
7658 fi
7659
7660
7661 eval "$wx_cv_use_mimetype"
7662
7663 if test x"$enablestring" = xdisable; then
7664 if test $wxUSE_MIMETYPE = no; then
7665 result=yes
7666 else
7667 result=no
7668 fi
7669 else
7670 result=$wxUSE_MIMETYPE
7671 fi
7672
7673 { echo "$as_me:$LINENO: result: $result" >&5
7674 echo "${ECHO_T}$result" >&6; }
7675
7676
7677 enablestring=
7678 defaultval=$wxUSE_ALL_FEATURES
7679 if test -z "$defaultval"; then
7680 if test x"$enablestring" = xdisable; then
7681 defaultval=yes
7682 else
7683 defaultval=no
7684 fi
7685 fi
7686
7687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7688 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7689 # Check whether --enable-printfposparam was given.
7690 if test "${enable_printfposparam+set}" = set; then
7691 enableval=$enable_printfposparam;
7692 if test "$enableval" = yes; then
7693 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7694 else
7695 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7696 fi
7697
7698 else
7699
7700 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7701
7702 fi
7703
7704
7705 eval "$wx_cv_use_printfposparam"
7706
7707 if test x"$enablestring" = xdisable; then
7708 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7709 result=yes
7710 else
7711 result=no
7712 fi
7713 else
7714 result=$wxUSE_PRINTF_POS_PARAMS
7715 fi
7716
7717 { echo "$as_me:$LINENO: result: $result" >&5
7718 echo "${ECHO_T}$result" >&6; }
7719
7720
7721 enablestring=
7722 defaultval=$wxUSE_ALL_FEATURES
7723 if test -z "$defaultval"; then
7724 if test x"$enablestring" = xdisable; then
7725 defaultval=yes
7726 else
7727 defaultval=no
7728 fi
7729 fi
7730
7731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7732 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7733 # Check whether --enable-snglinst was given.
7734 if test "${enable_snglinst+set}" = set; then
7735 enableval=$enable_snglinst;
7736 if test "$enableval" = yes; then
7737 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7738 else
7739 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7740 fi
7741
7742 else
7743
7744 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7745
7746 fi
7747
7748
7749 eval "$wx_cv_use_snglinst"
7750
7751 if test x"$enablestring" = xdisable; then
7752 if test $wxUSE_SNGLINST_CHECKER = no; then
7753 result=yes
7754 else
7755 result=no
7756 fi
7757 else
7758 result=$wxUSE_SNGLINST_CHECKER
7759 fi
7760
7761 { echo "$as_me:$LINENO: result: $result" >&5
7762 echo "${ECHO_T}$result" >&6; }
7763
7764
7765 enablestring=
7766 defaultval=$wxUSE_ALL_FEATURES
7767 if test -z "$defaultval"; then
7768 if test x"$enablestring" = xdisable; then
7769 defaultval=yes
7770 else
7771 defaultval=no
7772 fi
7773 fi
7774
7775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7776 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7777 # Check whether --enable-sound was given.
7778 if test "${enable_sound+set}" = set; then
7779 enableval=$enable_sound;
7780 if test "$enableval" = yes; then
7781 wx_cv_use_sound='wxUSE_SOUND=yes'
7782 else
7783 wx_cv_use_sound='wxUSE_SOUND=no'
7784 fi
7785
7786 else
7787
7788 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7789
7790 fi
7791
7792
7793 eval "$wx_cv_use_sound"
7794
7795 if test x"$enablestring" = xdisable; then
7796 if test $wxUSE_SOUND = no; then
7797 result=yes
7798 else
7799 result=no
7800 fi
7801 else
7802 result=$wxUSE_SOUND
7803 fi
7804
7805 { echo "$as_me:$LINENO: result: $result" >&5
7806 echo "${ECHO_T}$result" >&6; }
7807
7808
7809 enablestring=
7810 defaultval=$wxUSE_ALL_FEATURES
7811 if test -z "$defaultval"; then
7812 if test x"$enablestring" = xdisable; then
7813 defaultval=yes
7814 else
7815 defaultval=no
7816 fi
7817 fi
7818
7819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7820 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7821 # Check whether --enable-stdpaths was given.
7822 if test "${enable_stdpaths+set}" = set; then
7823 enableval=$enable_stdpaths;
7824 if test "$enableval" = yes; then
7825 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7826 else
7827 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7828 fi
7829
7830 else
7831
7832 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7833
7834 fi
7835
7836
7837 eval "$wx_cv_use_stdpaths"
7838
7839 if test x"$enablestring" = xdisable; then
7840 if test $wxUSE_STDPATHS = no; then
7841 result=yes
7842 else
7843 result=no
7844 fi
7845 else
7846 result=$wxUSE_STDPATHS
7847 fi
7848
7849 { echo "$as_me:$LINENO: result: $result" >&5
7850 echo "${ECHO_T}$result" >&6; }
7851
7852
7853 enablestring=
7854 defaultval=$wxUSE_ALL_FEATURES
7855 if test -z "$defaultval"; then
7856 if test x"$enablestring" = xdisable; then
7857 defaultval=yes
7858 else
7859 defaultval=no
7860 fi
7861 fi
7862
7863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7864 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7865 # Check whether --enable-stopwatch was given.
7866 if test "${enable_stopwatch+set}" = set; then
7867 enableval=$enable_stopwatch;
7868 if test "$enableval" = yes; then
7869 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7870 else
7871 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7872 fi
7873
7874 else
7875
7876 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7877
7878 fi
7879
7880
7881 eval "$wx_cv_use_stopwatch"
7882
7883 if test x"$enablestring" = xdisable; then
7884 if test $wxUSE_STOPWATCH = no; then
7885 result=yes
7886 else
7887 result=no
7888 fi
7889 else
7890 result=$wxUSE_STOPWATCH
7891 fi
7892
7893 { echo "$as_me:$LINENO: result: $result" >&5
7894 echo "${ECHO_T}$result" >&6; }
7895
7896
7897 enablestring=
7898 defaultval=$wxUSE_ALL_FEATURES
7899 if test -z "$defaultval"; then
7900 if test x"$enablestring" = xdisable; then
7901 defaultval=yes
7902 else
7903 defaultval=no
7904 fi
7905 fi
7906
7907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7908 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7909 # Check whether --enable-streams was given.
7910 if test "${enable_streams+set}" = set; then
7911 enableval=$enable_streams;
7912 if test "$enableval" = yes; then
7913 wx_cv_use_streams='wxUSE_STREAMS=yes'
7914 else
7915 wx_cv_use_streams='wxUSE_STREAMS=no'
7916 fi
7917
7918 else
7919
7920 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7921
7922 fi
7923
7924
7925 eval "$wx_cv_use_streams"
7926
7927 if test x"$enablestring" = xdisable; then
7928 if test $wxUSE_STREAMS = no; then
7929 result=yes
7930 else
7931 result=no
7932 fi
7933 else
7934 result=$wxUSE_STREAMS
7935 fi
7936
7937 { echo "$as_me:$LINENO: result: $result" >&5
7938 echo "${ECHO_T}$result" >&6; }
7939
7940
7941 enablestring=
7942 defaultval=$wxUSE_ALL_FEATURES
7943 if test -z "$defaultval"; then
7944 if test x"$enablestring" = xdisable; then
7945 defaultval=yes
7946 else
7947 defaultval=no
7948 fi
7949 fi
7950
7951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7952 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7953 # Check whether --enable-sysoptions was given.
7954 if test "${enable_sysoptions+set}" = set; then
7955 enableval=$enable_sysoptions;
7956 if test "$enableval" = yes; then
7957 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7958 else
7959 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7960 fi
7961
7962 else
7963
7964 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7965
7966 fi
7967
7968
7969 eval "$wx_cv_use_sysoptions"
7970
7971 if test x"$enablestring" = xdisable; then
7972 if test $wxUSE_SYSTEM_OPTIONS = no; then
7973 result=yes
7974 else
7975 result=no
7976 fi
7977 else
7978 result=$wxUSE_SYSTEM_OPTIONS
7979 fi
7980
7981 { echo "$as_me:$LINENO: result: $result" >&5
7982 echo "${ECHO_T}$result" >&6; }
7983
7984
7985 enablestring=
7986 defaultval=$wxUSE_ALL_FEATURES
7987 if test -z "$defaultval"; then
7988 if test x"$enablestring" = xdisable; then
7989 defaultval=yes
7990 else
7991 defaultval=no
7992 fi
7993 fi
7994
7995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7996 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7997 # Check whether --enable-tarstream was given.
7998 if test "${enable_tarstream+set}" = set; then
7999 enableval=$enable_tarstream;
8000 if test "$enableval" = yes; then
8001 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8002 else
8003 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8004 fi
8005
8006 else
8007
8008 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8009
8010 fi
8011
8012
8013 eval "$wx_cv_use_tarstream"
8014
8015 if test x"$enablestring" = xdisable; then
8016 if test $wxUSE_TARSTREAM = no; then
8017 result=yes
8018 else
8019 result=no
8020 fi
8021 else
8022 result=$wxUSE_TARSTREAM
8023 fi
8024
8025 { echo "$as_me:$LINENO: result: $result" >&5
8026 echo "${ECHO_T}$result" >&6; }
8027
8028
8029 enablestring=
8030 defaultval=$wxUSE_ALL_FEATURES
8031 if test -z "$defaultval"; then
8032 if test x"$enablestring" = xdisable; then
8033 defaultval=yes
8034 else
8035 defaultval=no
8036 fi
8037 fi
8038
8039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8040 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8041 # Check whether --enable-textbuf was given.
8042 if test "${enable_textbuf+set}" = set; then
8043 enableval=$enable_textbuf;
8044 if test "$enableval" = yes; then
8045 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8046 else
8047 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8048 fi
8049
8050 else
8051
8052 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8053
8054 fi
8055
8056
8057 eval "$wx_cv_use_textbuf"
8058
8059 if test x"$enablestring" = xdisable; then
8060 if test $wxUSE_TEXTBUFFER = no; then
8061 result=yes
8062 else
8063 result=no
8064 fi
8065 else
8066 result=$wxUSE_TEXTBUFFER
8067 fi
8068
8069 { echo "$as_me:$LINENO: result: $result" >&5
8070 echo "${ECHO_T}$result" >&6; }
8071
8072
8073 enablestring=
8074 defaultval=$wxUSE_ALL_FEATURES
8075 if test -z "$defaultval"; then
8076 if test x"$enablestring" = xdisable; then
8077 defaultval=yes
8078 else
8079 defaultval=no
8080 fi
8081 fi
8082
8083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8084 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8085 # Check whether --enable-textfile was given.
8086 if test "${enable_textfile+set}" = set; then
8087 enableval=$enable_textfile;
8088 if test "$enableval" = yes; then
8089 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8090 else
8091 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8092 fi
8093
8094 else
8095
8096 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8097
8098 fi
8099
8100
8101 eval "$wx_cv_use_textfile"
8102
8103 if test x"$enablestring" = xdisable; then
8104 if test $wxUSE_TEXTFILE = no; then
8105 result=yes
8106 else
8107 result=no
8108 fi
8109 else
8110 result=$wxUSE_TEXTFILE
8111 fi
8112
8113 { echo "$as_me:$LINENO: result: $result" >&5
8114 echo "${ECHO_T}$result" >&6; }
8115
8116
8117 enablestring=
8118 defaultval=$wxUSE_ALL_FEATURES
8119 if test -z "$defaultval"; then
8120 if test x"$enablestring" = xdisable; then
8121 defaultval=yes
8122 else
8123 defaultval=no
8124 fi
8125 fi
8126
8127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8128 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8129 # Check whether --enable-timer was given.
8130 if test "${enable_timer+set}" = set; then
8131 enableval=$enable_timer;
8132 if test "$enableval" = yes; then
8133 wx_cv_use_timer='wxUSE_TIMER=yes'
8134 else
8135 wx_cv_use_timer='wxUSE_TIMER=no'
8136 fi
8137
8138 else
8139
8140 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8141
8142 fi
8143
8144
8145 eval "$wx_cv_use_timer"
8146
8147 if test x"$enablestring" = xdisable; then
8148 if test $wxUSE_TIMER = no; then
8149 result=yes
8150 else
8151 result=no
8152 fi
8153 else
8154 result=$wxUSE_TIMER
8155 fi
8156
8157 { echo "$as_me:$LINENO: result: $result" >&5
8158 echo "${ECHO_T}$result" >&6; }
8159
8160
8161 enablestring=
8162 defaultval=$wxUSE_ALL_FEATURES
8163 if test -z "$defaultval"; then
8164 if test x"$enablestring" = xdisable; then
8165 defaultval=yes
8166 else
8167 defaultval=no
8168 fi
8169 fi
8170
8171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8173 # Check whether --enable-variant was given.
8174 if test "${enable_variant+set}" = set; then
8175 enableval=$enable_variant;
8176 if test "$enableval" = yes; then
8177 wx_cv_use_variant='wxUSE_VARIANT=yes'
8178 else
8179 wx_cv_use_variant='wxUSE_VARIANT=no'
8180 fi
8181
8182 else
8183
8184 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8185
8186 fi
8187
8188
8189 eval "$wx_cv_use_variant"
8190
8191 if test x"$enablestring" = xdisable; then
8192 if test $wxUSE_VARIANT = no; then
8193 result=yes
8194 else
8195 result=no
8196 fi
8197 else
8198 result=$wxUSE_VARIANT
8199 fi
8200
8201 { echo "$as_me:$LINENO: result: $result" >&5
8202 echo "${ECHO_T}$result" >&6; }
8203
8204
8205 enablestring=
8206 defaultval=$wxUSE_ALL_FEATURES
8207 if test -z "$defaultval"; then
8208 if test x"$enablestring" = xdisable; then
8209 defaultval=yes
8210 else
8211 defaultval=no
8212 fi
8213 fi
8214
8215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8216 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8217 # Check whether --enable-zipstream was given.
8218 if test "${enable_zipstream+set}" = set; then
8219 enableval=$enable_zipstream;
8220 if test "$enableval" = yes; then
8221 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8222 else
8223 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8224 fi
8225
8226 else
8227
8228 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8229
8230 fi
8231
8232
8233 eval "$wx_cv_use_zipstream"
8234
8235 if test x"$enablestring" = xdisable; then
8236 if test $wxUSE_ZIPSTREAM = no; then
8237 result=yes
8238 else
8239 result=no
8240 fi
8241 else
8242 result=$wxUSE_ZIPSTREAM
8243 fi
8244
8245 { echo "$as_me:$LINENO: result: $result" >&5
8246 echo "${ECHO_T}$result" >&6; }
8247
8248
8249
8250 enablestring=
8251 defaultval=$wxUSE_ALL_FEATURES
8252 if test -z "$defaultval"; then
8253 if test x"$enablestring" = xdisable; then
8254 defaultval=yes
8255 else
8256 defaultval=no
8257 fi
8258 fi
8259
8260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8261 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8262 # Check whether --enable-url was given.
8263 if test "${enable_url+set}" = set; then
8264 enableval=$enable_url;
8265 if test "$enableval" = yes; then
8266 wx_cv_use_url='wxUSE_URL=yes'
8267 else
8268 wx_cv_use_url='wxUSE_URL=no'
8269 fi
8270
8271 else
8272
8273 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8274
8275 fi
8276
8277
8278 eval "$wx_cv_use_url"
8279
8280 if test x"$enablestring" = xdisable; then
8281 if test $wxUSE_URL = no; then
8282 result=yes
8283 else
8284 result=no
8285 fi
8286 else
8287 result=$wxUSE_URL
8288 fi
8289
8290 { echo "$as_me:$LINENO: result: $result" >&5
8291 echo "${ECHO_T}$result" >&6; }
8292
8293
8294 enablestring=
8295 defaultval=$wxUSE_ALL_FEATURES
8296 if test -z "$defaultval"; then
8297 if test x"$enablestring" = xdisable; then
8298 defaultval=yes
8299 else
8300 defaultval=no
8301 fi
8302 fi
8303
8304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8306 # Check whether --enable-protocol was given.
8307 if test "${enable_protocol+set}" = set; then
8308 enableval=$enable_protocol;
8309 if test "$enableval" = yes; then
8310 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8311 else
8312 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8313 fi
8314
8315 else
8316
8317 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8318
8319 fi
8320
8321
8322 eval "$wx_cv_use_protocol"
8323
8324 if test x"$enablestring" = xdisable; then
8325 if test $wxUSE_PROTOCOL = no; then
8326 result=yes
8327 else
8328 result=no
8329 fi
8330 else
8331 result=$wxUSE_PROTOCOL
8332 fi
8333
8334 { echo "$as_me:$LINENO: result: $result" >&5
8335 echo "${ECHO_T}$result" >&6; }
8336
8337
8338 enablestring=
8339 defaultval=$wxUSE_ALL_FEATURES
8340 if test -z "$defaultval"; then
8341 if test x"$enablestring" = xdisable; then
8342 defaultval=yes
8343 else
8344 defaultval=no
8345 fi
8346 fi
8347
8348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8349 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8350 # Check whether --enable-protocol_http was given.
8351 if test "${enable_protocol_http+set}" = set; then
8352 enableval=$enable_protocol_http;
8353 if test "$enableval" = yes; then
8354 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8355 else
8356 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8357 fi
8358
8359 else
8360
8361 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8362
8363 fi
8364
8365
8366 eval "$wx_cv_use_protocol_http"
8367
8368 if test x"$enablestring" = xdisable; then
8369 if test $wxUSE_PROTOCOL_HTTP = no; then
8370 result=yes
8371 else
8372 result=no
8373 fi
8374 else
8375 result=$wxUSE_PROTOCOL_HTTP
8376 fi
8377
8378 { echo "$as_me:$LINENO: result: $result" >&5
8379 echo "${ECHO_T}$result" >&6; }
8380
8381
8382 enablestring=
8383 defaultval=$wxUSE_ALL_FEATURES
8384 if test -z "$defaultval"; then
8385 if test x"$enablestring" = xdisable; then
8386 defaultval=yes
8387 else
8388 defaultval=no
8389 fi
8390 fi
8391
8392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8393 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8394 # Check whether --enable-protocol_ftp was given.
8395 if test "${enable_protocol_ftp+set}" = set; then
8396 enableval=$enable_protocol_ftp;
8397 if test "$enableval" = yes; then
8398 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8399 else
8400 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8401 fi
8402
8403 else
8404
8405 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8406
8407 fi
8408
8409
8410 eval "$wx_cv_use_protocol_ftp"
8411
8412 if test x"$enablestring" = xdisable; then
8413 if test $wxUSE_PROTOCOL_FTP = no; then
8414 result=yes
8415 else
8416 result=no
8417 fi
8418 else
8419 result=$wxUSE_PROTOCOL_FTP
8420 fi
8421
8422 { echo "$as_me:$LINENO: result: $result" >&5
8423 echo "${ECHO_T}$result" >&6; }
8424
8425
8426 enablestring=
8427 defaultval=$wxUSE_ALL_FEATURES
8428 if test -z "$defaultval"; then
8429 if test x"$enablestring" = xdisable; then
8430 defaultval=yes
8431 else
8432 defaultval=no
8433 fi
8434 fi
8435
8436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8437 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8438 # Check whether --enable-protocol_file was given.
8439 if test "${enable_protocol_file+set}" = set; then
8440 enableval=$enable_protocol_file;
8441 if test "$enableval" = yes; then
8442 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8443 else
8444 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8445 fi
8446
8447 else
8448
8449 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8450
8451 fi
8452
8453
8454 eval "$wx_cv_use_protocol_file"
8455
8456 if test x"$enablestring" = xdisable; then
8457 if test $wxUSE_PROTOCOL_FILE = no; then
8458 result=yes
8459 else
8460 result=no
8461 fi
8462 else
8463 result=$wxUSE_PROTOCOL_FILE
8464 fi
8465
8466 { echo "$as_me:$LINENO: result: $result" >&5
8467 echo "${ECHO_T}$result" >&6; }
8468
8469
8470
8471 enablestring=
8472 defaultval=$wxUSE_ALL_FEATURES
8473 if test -z "$defaultval"; then
8474 if test x"$enablestring" = xdisable; then
8475 defaultval=yes
8476 else
8477 defaultval=no
8478 fi
8479 fi
8480
8481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8483 # Check whether --enable-threads was given.
8484 if test "${enable_threads+set}" = set; then
8485 enableval=$enable_threads;
8486 if test "$enableval" = yes; then
8487 wx_cv_use_threads='wxUSE_THREADS=yes'
8488 else
8489 wx_cv_use_threads='wxUSE_THREADS=no'
8490 fi
8491
8492 else
8493
8494 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8495
8496 fi
8497
8498
8499 eval "$wx_cv_use_threads"
8500
8501 if test x"$enablestring" = xdisable; then
8502 if test $wxUSE_THREADS = no; then
8503 result=yes
8504 else
8505 result=no
8506 fi
8507 else
8508 result=$wxUSE_THREADS
8509 fi
8510
8511 { echo "$as_me:$LINENO: result: $result" >&5
8512 echo "${ECHO_T}$result" >&6; }
8513
8514
8515
8516 enablestring=
8517 defaultval=
8518 if test -z "$defaultval"; then
8519 if test x"$enablestring" = xdisable; then
8520 defaultval=yes
8521 else
8522 defaultval=no
8523 fi
8524 fi
8525
8526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8528 # Check whether --enable-iniconf was given.
8529 if test "${enable_iniconf+set}" = set; then
8530 enableval=$enable_iniconf;
8531 if test "$enableval" = yes; then
8532 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8533 else
8534 wx_cv_use_iniconf='wxUSE_INICONF=no'
8535 fi
8536
8537 else
8538
8539 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8540
8541 fi
8542
8543
8544 eval "$wx_cv_use_iniconf"
8545
8546 if test x"$enablestring" = xdisable; then
8547 if test $wxUSE_INICONF = no; then
8548 result=yes
8549 else
8550 result=no
8551 fi
8552 else
8553 result=$wxUSE_INICONF
8554 fi
8555
8556 { echo "$as_me:$LINENO: result: $result" >&5
8557 echo "${ECHO_T}$result" >&6; }
8558
8559
8560 enablestring=
8561 defaultval=$wxUSE_ALL_FEATURES
8562 if test -z "$defaultval"; then
8563 if test x"$enablestring" = xdisable; then
8564 defaultval=yes
8565 else
8566 defaultval=no
8567 fi
8568 fi
8569
8570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8571 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8572 # Check whether --enable-regkey was given.
8573 if test "${enable_regkey+set}" = set; then
8574 enableval=$enable_regkey;
8575 if test "$enableval" = yes; then
8576 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8577 else
8578 wx_cv_use_regkey='wxUSE_REGKEY=no'
8579 fi
8580
8581 else
8582
8583 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8584
8585 fi
8586
8587
8588 eval "$wx_cv_use_regkey"
8589
8590 if test x"$enablestring" = xdisable; then
8591 if test $wxUSE_REGKEY = no; then
8592 result=yes
8593 else
8594 result=no
8595 fi
8596 else
8597 result=$wxUSE_REGKEY
8598 fi
8599
8600 { echo "$as_me:$LINENO: result: $result" >&5
8601 echo "${ECHO_T}$result" >&6; }
8602
8603
8604 if test "$wxUSE_GUI" = "yes"; then
8605
8606
8607
8608 enablestring=
8609 defaultval=$wxUSE_ALL_FEATURES
8610 if test -z "$defaultval"; then
8611 if test x"$enablestring" = xdisable; then
8612 defaultval=yes
8613 else
8614 defaultval=no
8615 fi
8616 fi
8617
8618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8619 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8620 # Check whether --enable-docview was given.
8621 if test "${enable_docview+set}" = set; then
8622 enableval=$enable_docview;
8623 if test "$enableval" = yes; then
8624 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8625 else
8626 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8627 fi
8628
8629 else
8630
8631 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8632
8633 fi
8634
8635
8636 eval "$wx_cv_use_docview"
8637
8638 if test x"$enablestring" = xdisable; then
8639 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8640 result=yes
8641 else
8642 result=no
8643 fi
8644 else
8645 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8646 fi
8647
8648 { echo "$as_me:$LINENO: result: $result" >&5
8649 echo "${ECHO_T}$result" >&6; }
8650
8651
8652 enablestring=
8653 defaultval=$wxUSE_ALL_FEATURES
8654 if test -z "$defaultval"; then
8655 if test x"$enablestring" = xdisable; then
8656 defaultval=yes
8657 else
8658 defaultval=no
8659 fi
8660 fi
8661
8662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8663 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8664 # Check whether --enable-help was given.
8665 if test "${enable_help+set}" = set; then
8666 enableval=$enable_help;
8667 if test "$enableval" = yes; then
8668 wx_cv_use_help='wxUSE_HELP=yes'
8669 else
8670 wx_cv_use_help='wxUSE_HELP=no'
8671 fi
8672
8673 else
8674
8675 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8676
8677 fi
8678
8679
8680 eval "$wx_cv_use_help"
8681
8682 if test x"$enablestring" = xdisable; then
8683 if test $wxUSE_HELP = no; then
8684 result=yes
8685 else
8686 result=no
8687 fi
8688 else
8689 result=$wxUSE_HELP
8690 fi
8691
8692 { echo "$as_me:$LINENO: result: $result" >&5
8693 echo "${ECHO_T}$result" >&6; }
8694
8695
8696 enablestring=
8697 defaultval=$wxUSE_ALL_FEATURES
8698 if test -z "$defaultval"; then
8699 if test x"$enablestring" = xdisable; then
8700 defaultval=yes
8701 else
8702 defaultval=no
8703 fi
8704 fi
8705
8706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8707 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8708 # Check whether --enable-mshtmlhelp was given.
8709 if test "${enable_mshtmlhelp+set}" = set; then
8710 enableval=$enable_mshtmlhelp;
8711 if test "$enableval" = yes; then
8712 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8713 else
8714 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8715 fi
8716
8717 else
8718
8719 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8720
8721 fi
8722
8723
8724 eval "$wx_cv_use_mshtmlhelp"
8725
8726 if test x"$enablestring" = xdisable; then
8727 if test $wxUSE_MS_HTML_HELP = no; then
8728 result=yes
8729 else
8730 result=no
8731 fi
8732 else
8733 result=$wxUSE_MS_HTML_HELP
8734 fi
8735
8736 { echo "$as_me:$LINENO: result: $result" >&5
8737 echo "${ECHO_T}$result" >&6; }
8738
8739
8740 enablestring=
8741 defaultval=$wxUSE_ALL_FEATURES
8742 if test -z "$defaultval"; then
8743 if test x"$enablestring" = xdisable; then
8744 defaultval=yes
8745 else
8746 defaultval=no
8747 fi
8748 fi
8749
8750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8751 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8752 # Check whether --enable-html was given.
8753 if test "${enable_html+set}" = set; then
8754 enableval=$enable_html;
8755 if test "$enableval" = yes; then
8756 wx_cv_use_html='wxUSE_HTML=yes'
8757 else
8758 wx_cv_use_html='wxUSE_HTML=no'
8759 fi
8760
8761 else
8762
8763 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8764
8765 fi
8766
8767
8768 eval "$wx_cv_use_html"
8769
8770 if test x"$enablestring" = xdisable; then
8771 if test $wxUSE_HTML = no; then
8772 result=yes
8773 else
8774 result=no
8775 fi
8776 else
8777 result=$wxUSE_HTML
8778 fi
8779
8780 { echo "$as_me:$LINENO: result: $result" >&5
8781 echo "${ECHO_T}$result" >&6; }
8782
8783
8784 enablestring=
8785 defaultval=$wxUSE_ALL_FEATURES
8786 if test -z "$defaultval"; then
8787 if test x"$enablestring" = xdisable; then
8788 defaultval=yes
8789 else
8790 defaultval=no
8791 fi
8792 fi
8793
8794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8795 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8796 # Check whether --enable-htmlhelp was given.
8797 if test "${enable_htmlhelp+set}" = set; then
8798 enableval=$enable_htmlhelp;
8799 if test "$enableval" = yes; then
8800 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8801 else
8802 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8803 fi
8804
8805 else
8806
8807 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8808
8809 fi
8810
8811
8812 eval "$wx_cv_use_htmlhelp"
8813
8814 if test x"$enablestring" = xdisable; then
8815 if test $wxUSE_WXHTML_HELP = no; then
8816 result=yes
8817 else
8818 result=no
8819 fi
8820 else
8821 result=$wxUSE_WXHTML_HELP
8822 fi
8823
8824 { echo "$as_me:$LINENO: result: $result" >&5
8825 echo "${ECHO_T}$result" >&6; }
8826
8827
8828 enablestring=
8829 defaultval=$wxUSE_ALL_FEATURES
8830 if test -z "$defaultval"; then
8831 if test x"$enablestring" = xdisable; then
8832 defaultval=yes
8833 else
8834 defaultval=no
8835 fi
8836 fi
8837
8838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8839 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8840 # Check whether --enable-xrc was given.
8841 if test "${enable_xrc+set}" = set; then
8842 enableval=$enable_xrc;
8843 if test "$enableval" = yes; then
8844 wx_cv_use_xrc='wxUSE_XRC=yes'
8845 else
8846 wx_cv_use_xrc='wxUSE_XRC=no'
8847 fi
8848
8849 else
8850
8851 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8852
8853 fi
8854
8855
8856 eval "$wx_cv_use_xrc"
8857
8858 if test x"$enablestring" = xdisable; then
8859 if test $wxUSE_XRC = no; then
8860 result=yes
8861 else
8862 result=no
8863 fi
8864 else
8865 result=$wxUSE_XRC
8866 fi
8867
8868 { echo "$as_me:$LINENO: result: $result" >&5
8869 echo "${ECHO_T}$result" >&6; }
8870
8871
8872 enablestring=
8873 defaultval=$wxUSE_ALL_FEATURES
8874 if test -z "$defaultval"; then
8875 if test x"$enablestring" = xdisable; then
8876 defaultval=yes
8877 else
8878 defaultval=no
8879 fi
8880 fi
8881
8882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8883 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8884 # Check whether --enable-aui was given.
8885 if test "${enable_aui+set}" = set; then
8886 enableval=$enable_aui;
8887 if test "$enableval" = yes; then
8888 wx_cv_use_aui='wxUSE_AUI=yes'
8889 else
8890 wx_cv_use_aui='wxUSE_AUI=no'
8891 fi
8892
8893 else
8894
8895 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8896
8897 fi
8898
8899
8900 eval "$wx_cv_use_aui"
8901
8902 if test x"$enablestring" = xdisable; then
8903 if test $wxUSE_AUI = no; then
8904 result=yes
8905 else
8906 result=no
8907 fi
8908 else
8909 result=$wxUSE_AUI
8910 fi
8911
8912 { echo "$as_me:$LINENO: result: $result" >&5
8913 echo "${ECHO_T}$result" >&6; }
8914
8915
8916 enablestring=
8917 defaultval=$wxUSE_ALL_FEATURES
8918 if test -z "$defaultval"; then
8919 if test x"$enablestring" = xdisable; then
8920 defaultval=yes
8921 else
8922 defaultval=no
8923 fi
8924 fi
8925
8926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8927 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8928 # Check whether --enable-propgrid was given.
8929 if test "${enable_propgrid+set}" = set; then
8930 enableval=$enable_propgrid;
8931 if test "$enableval" = yes; then
8932 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8933 else
8934 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8935 fi
8936
8937 else
8938
8939 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8940
8941 fi
8942
8943
8944 eval "$wx_cv_use_propgrid"
8945
8946 if test x"$enablestring" = xdisable; then
8947 if test $wxUSE_PROPGRID = no; then
8948 result=yes
8949 else
8950 result=no
8951 fi
8952 else
8953 result=$wxUSE_PROPGRID
8954 fi
8955
8956 { echo "$as_me:$LINENO: result: $result" >&5
8957 echo "${ECHO_T}$result" >&6; }
8958
8959
8960 enablestring=
8961 defaultval=$wxUSE_ALL_FEATURES
8962 if test -z "$defaultval"; then
8963 if test x"$enablestring" = xdisable; then
8964 defaultval=yes
8965 else
8966 defaultval=no
8967 fi
8968 fi
8969
8970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8971 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8972 # Check whether --enable-ribbon was given.
8973 if test "${enable_ribbon+set}" = set; then
8974 enableval=$enable_ribbon;
8975 if test "$enableval" = yes; then
8976 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8977 else
8978 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8979 fi
8980
8981 else
8982
8983 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8984
8985 fi
8986
8987
8988 eval "$wx_cv_use_ribbon"
8989
8990 if test x"$enablestring" = xdisable; then
8991 if test $wxUSE_RIBBON = no; then
8992 result=yes
8993 else
8994 result=no
8995 fi
8996 else
8997 result=$wxUSE_RIBBON
8998 fi
8999
9000 { echo "$as_me:$LINENO: result: $result" >&5
9001 echo "${ECHO_T}$result" >&6; }
9002
9003
9004 enablestring=
9005 defaultval=$wxUSE_ALL_FEATURES
9006 if test -z "$defaultval"; then
9007 if test x"$enablestring" = xdisable; then
9008 defaultval=yes
9009 else
9010 defaultval=no
9011 fi
9012 fi
9013
9014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9016 # Check whether --enable-stc was given.
9017 if test "${enable_stc+set}" = set; then
9018 enableval=$enable_stc;
9019 if test "$enableval" = yes; then
9020 wx_cv_use_stc='wxUSE_STC=yes'
9021 else
9022 wx_cv_use_stc='wxUSE_STC=no'
9023 fi
9024
9025 else
9026
9027 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9028
9029 fi
9030
9031
9032 eval "$wx_cv_use_stc"
9033
9034 if test x"$enablestring" = xdisable; then
9035 if test $wxUSE_STC = no; then
9036 result=yes
9037 else
9038 result=no
9039 fi
9040 else
9041 result=$wxUSE_STC
9042 fi
9043
9044 { echo "$as_me:$LINENO: result: $result" >&5
9045 echo "${ECHO_T}$result" >&6; }
9046
9047
9048 enablestring=
9049 defaultval=$wxUSE_ALL_FEATURES
9050 if test -z "$defaultval"; then
9051 if test x"$enablestring" = xdisable; then
9052 defaultval=yes
9053 else
9054 defaultval=no
9055 fi
9056 fi
9057
9058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9060 # Check whether --enable-constraints was given.
9061 if test "${enable_constraints+set}" = set; then
9062 enableval=$enable_constraints;
9063 if test "$enableval" = yes; then
9064 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9065 else
9066 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9067 fi
9068
9069 else
9070
9071 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9072
9073 fi
9074
9075
9076 eval "$wx_cv_use_constraints"
9077
9078 if test x"$enablestring" = xdisable; then
9079 if test $wxUSE_CONSTRAINTS = no; then
9080 result=yes
9081 else
9082 result=no
9083 fi
9084 else
9085 result=$wxUSE_CONSTRAINTS
9086 fi
9087
9088 { echo "$as_me:$LINENO: result: $result" >&5
9089 echo "${ECHO_T}$result" >&6; }
9090
9091
9092 enablestring=
9093 defaultval=$wxUSE_ALL_FEATURES
9094 if test -z "$defaultval"; then
9095 if test x"$enablestring" = xdisable; then
9096 defaultval=yes
9097 else
9098 defaultval=no
9099 fi
9100 fi
9101
9102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9103 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9104 # Check whether --enable-loggui was given.
9105 if test "${enable_loggui+set}" = set; then
9106 enableval=$enable_loggui;
9107 if test "$enableval" = yes; then
9108 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9109 else
9110 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9111 fi
9112
9113 else
9114
9115 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9116
9117 fi
9118
9119
9120 eval "$wx_cv_use_loggui"
9121
9122 if test x"$enablestring" = xdisable; then
9123 if test $wxUSE_LOGGUI = no; then
9124 result=yes
9125 else
9126 result=no
9127 fi
9128 else
9129 result=$wxUSE_LOGGUI
9130 fi
9131
9132 { echo "$as_me:$LINENO: result: $result" >&5
9133 echo "${ECHO_T}$result" >&6; }
9134
9135
9136 enablestring=
9137 defaultval=$wxUSE_ALL_FEATURES
9138 if test -z "$defaultval"; then
9139 if test x"$enablestring" = xdisable; then
9140 defaultval=yes
9141 else
9142 defaultval=no
9143 fi
9144 fi
9145
9146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9147 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9148 # Check whether --enable-logwin was given.
9149 if test "${enable_logwin+set}" = set; then
9150 enableval=$enable_logwin;
9151 if test "$enableval" = yes; then
9152 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9153 else
9154 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9155 fi
9156
9157 else
9158
9159 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9160
9161 fi
9162
9163
9164 eval "$wx_cv_use_logwin"
9165
9166 if test x"$enablestring" = xdisable; then
9167 if test $wxUSE_LOGWINDOW = no; then
9168 result=yes
9169 else
9170 result=no
9171 fi
9172 else
9173 result=$wxUSE_LOGWINDOW
9174 fi
9175
9176 { echo "$as_me:$LINENO: result: $result" >&5
9177 echo "${ECHO_T}$result" >&6; }
9178
9179
9180 enablestring=
9181 defaultval=$wxUSE_ALL_FEATURES
9182 if test -z "$defaultval"; then
9183 if test x"$enablestring" = xdisable; then
9184 defaultval=yes
9185 else
9186 defaultval=no
9187 fi
9188 fi
9189
9190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9191 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9192 # Check whether --enable-logdialog was given.
9193 if test "${enable_logdialog+set}" = set; then
9194 enableval=$enable_logdialog;
9195 if test "$enableval" = yes; then
9196 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9197 else
9198 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9199 fi
9200
9201 else
9202
9203 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9204
9205 fi
9206
9207
9208 eval "$wx_cv_use_logdialog"
9209
9210 if test x"$enablestring" = xdisable; then
9211 if test $wxUSE_LOGDIALOG = no; then
9212 result=yes
9213 else
9214 result=no
9215 fi
9216 else
9217 result=$wxUSE_LOGDIALOG
9218 fi
9219
9220 { echo "$as_me:$LINENO: result: $result" >&5
9221 echo "${ECHO_T}$result" >&6; }
9222
9223
9224 enablestring=
9225 defaultval=$wxUSE_ALL_FEATURES
9226 if test -z "$defaultval"; then
9227 if test x"$enablestring" = xdisable; then
9228 defaultval=yes
9229 else
9230 defaultval=no
9231 fi
9232 fi
9233
9234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9235 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9236 # Check whether --enable-mdi was given.
9237 if test "${enable_mdi+set}" = set; then
9238 enableval=$enable_mdi;
9239 if test "$enableval" = yes; then
9240 wx_cv_use_mdi='wxUSE_MDI=yes'
9241 else
9242 wx_cv_use_mdi='wxUSE_MDI=no'
9243 fi
9244
9245 else
9246
9247 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9248
9249 fi
9250
9251
9252 eval "$wx_cv_use_mdi"
9253
9254 if test x"$enablestring" = xdisable; then
9255 if test $wxUSE_MDI = no; then
9256 result=yes
9257 else
9258 result=no
9259 fi
9260 else
9261 result=$wxUSE_MDI
9262 fi
9263
9264 { echo "$as_me:$LINENO: result: $result" >&5
9265 echo "${ECHO_T}$result" >&6; }
9266
9267
9268 enablestring=
9269 defaultval=$wxUSE_ALL_FEATURES
9270 if test -z "$defaultval"; then
9271 if test x"$enablestring" = xdisable; then
9272 defaultval=yes
9273 else
9274 defaultval=no
9275 fi
9276 fi
9277
9278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9279 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9280 # Check whether --enable-mdidoc was given.
9281 if test "${enable_mdidoc+set}" = set; then
9282 enableval=$enable_mdidoc;
9283 if test "$enableval" = yes; then
9284 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9285 else
9286 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9287 fi
9288
9289 else
9290
9291 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9292
9293 fi
9294
9295
9296 eval "$wx_cv_use_mdidoc"
9297
9298 if test x"$enablestring" = xdisable; then
9299 if test $wxUSE_MDI_ARCHITECTURE = no; then
9300 result=yes
9301 else
9302 result=no
9303 fi
9304 else
9305 result=$wxUSE_MDI_ARCHITECTURE
9306 fi
9307
9308 { echo "$as_me:$LINENO: result: $result" >&5
9309 echo "${ECHO_T}$result" >&6; }
9310
9311
9312 enablestring=
9313 defaultval=$wxUSE_ALL_FEATURES
9314 if test -z "$defaultval"; then
9315 if test x"$enablestring" = xdisable; then
9316 defaultval=yes
9317 else
9318 defaultval=no
9319 fi
9320 fi
9321
9322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9323 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9324 # Check whether --enable-mediactrl was given.
9325 if test "${enable_mediactrl+set}" = set; then
9326 enableval=$enable_mediactrl;
9327 if test "$enableval" = yes; then
9328 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9329 else
9330 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9331 fi
9332
9333 else
9334
9335 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9336
9337 fi
9338
9339
9340 eval "$wx_cv_use_mediactrl"
9341
9342 if test x"$enablestring" = xdisable; then
9343 if test $wxUSE_MEDIACTRL = no; then
9344 result=yes
9345 else
9346 result=no
9347 fi
9348 else
9349 result=$wxUSE_MEDIACTRL
9350 fi
9351
9352 { echo "$as_me:$LINENO: result: $result" >&5
9353 echo "${ECHO_T}$result" >&6; }
9354
9355
9356 enablestring=
9357 defaultval=$wxUSE_ALL_FEATURES
9358 if test -z "$defaultval"; then
9359 if test x"$enablestring" = xdisable; then
9360 defaultval=yes
9361 else
9362 defaultval=no
9363 fi
9364 fi
9365
9366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9368 # Check whether --enable-gstreamer8 was given.
9369 if test "${enable_gstreamer8+set}" = set; then
9370 enableval=$enable_gstreamer8;
9371 if test "$enableval" = yes; then
9372 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9373 else
9374 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9375 fi
9376
9377 else
9378
9379 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9380
9381 fi
9382
9383
9384 eval "$wx_cv_use_gstreamer8"
9385
9386 if test x"$enablestring" = xdisable; then
9387 if test $wxUSE_GSTREAMER8 = no; then
9388 result=yes
9389 else
9390 result=no
9391 fi
9392 else
9393 result=$wxUSE_GSTREAMER8
9394 fi
9395
9396 { echo "$as_me:$LINENO: result: $result" >&5
9397 echo "${ECHO_T}$result" >&6; }
9398
9399
9400 enablestring=
9401 defaultval=$wxUSE_ALL_FEATURES
9402 if test -z "$defaultval"; then
9403 if test x"$enablestring" = xdisable; then
9404 defaultval=yes
9405 else
9406 defaultval=no
9407 fi
9408 fi
9409
9410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9411 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9412 # Check whether --enable-webkit was given.
9413 if test "${enable_webkit+set}" = set; then
9414 enableval=$enable_webkit;
9415 if test "$enableval" = yes; then
9416 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9417 else
9418 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9419 fi
9420
9421 else
9422
9423 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9424
9425 fi
9426
9427
9428 eval "$wx_cv_use_webkit"
9429
9430 if test x"$enablestring" = xdisable; then
9431 if test $wxUSE_WEBKIT = no; then
9432 result=yes
9433 else
9434 result=no
9435 fi
9436 else
9437 result=$wxUSE_WEBKIT
9438 fi
9439
9440 { echo "$as_me:$LINENO: result: $result" >&5
9441 echo "${ECHO_T}$result" >&6; }
9442
9443
9444 enablestring=
9445 defaultval=$wxUSE_ALL_FEATURES
9446 if test -z "$defaultval"; then
9447 if test x"$enablestring" = xdisable; then
9448 defaultval=yes
9449 else
9450 defaultval=no
9451 fi
9452 fi
9453
9454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9456 # Check whether --enable-richtext was given.
9457 if test "${enable_richtext+set}" = set; then
9458 enableval=$enable_richtext;
9459 if test "$enableval" = yes; then
9460 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9461 else
9462 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9463 fi
9464
9465 else
9466
9467 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9468
9469 fi
9470
9471
9472 eval "$wx_cv_use_richtext"
9473
9474 if test x"$enablestring" = xdisable; then
9475 if test $wxUSE_RICHTEXT = no; then
9476 result=yes
9477 else
9478 result=no
9479 fi
9480 else
9481 result=$wxUSE_RICHTEXT
9482 fi
9483
9484 { echo "$as_me:$LINENO: result: $result" >&5
9485 echo "${ECHO_T}$result" >&6; }
9486
9487
9488 enablestring=
9489 defaultval=$wxUSE_ALL_FEATURES
9490 if test -z "$defaultval"; then
9491 if test x"$enablestring" = xdisable; then
9492 defaultval=yes
9493 else
9494 defaultval=no
9495 fi
9496 fi
9497
9498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9499 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9500 # Check whether --enable-postscript was given.
9501 if test "${enable_postscript+set}" = set; then
9502 enableval=$enable_postscript;
9503 if test "$enableval" = yes; then
9504 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9505 else
9506 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9507 fi
9508
9509 else
9510
9511 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9512
9513 fi
9514
9515
9516 eval "$wx_cv_use_postscript"
9517
9518 if test x"$enablestring" = xdisable; then
9519 if test $wxUSE_POSTSCRIPT = no; then
9520 result=yes
9521 else
9522 result=no
9523 fi
9524 else
9525 result=$wxUSE_POSTSCRIPT
9526 fi
9527
9528 { echo "$as_me:$LINENO: result: $result" >&5
9529 echo "${ECHO_T}$result" >&6; }
9530
9531
9532 enablestring=
9533 defaultval=$wxUSE_ALL_FEATURES
9534 if test -z "$defaultval"; then
9535 if test x"$enablestring" = xdisable; then
9536 defaultval=yes
9537 else
9538 defaultval=no
9539 fi
9540 fi
9541
9542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9543 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9544 # Check whether --enable-printarch was given.
9545 if test "${enable_printarch+set}" = set; then
9546 enableval=$enable_printarch;
9547 if test "$enableval" = yes; then
9548 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9549 else
9550 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9551 fi
9552
9553 else
9554
9555 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9556
9557 fi
9558
9559
9560 eval "$wx_cv_use_printarch"
9561
9562 if test x"$enablestring" = xdisable; then
9563 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9564 result=yes
9565 else
9566 result=no
9567 fi
9568 else
9569 result=$wxUSE_PRINTING_ARCHITECTURE
9570 fi
9571
9572 { echo "$as_me:$LINENO: result: $result" >&5
9573 echo "${ECHO_T}$result" >&6; }
9574
9575
9576 enablestring=
9577 defaultval=$wxUSE_ALL_FEATURES
9578 if test -z "$defaultval"; then
9579 if test x"$enablestring" = xdisable; then
9580 defaultval=yes
9581 else
9582 defaultval=no
9583 fi
9584 fi
9585
9586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9587 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9588 # Check whether --enable-svg was given.
9589 if test "${enable_svg+set}" = set; then
9590 enableval=$enable_svg;
9591 if test "$enableval" = yes; then
9592 wx_cv_use_svg='wxUSE_SVG=yes'
9593 else
9594 wx_cv_use_svg='wxUSE_SVG=no'
9595 fi
9596
9597 else
9598
9599 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9600
9601 fi
9602
9603
9604 eval "$wx_cv_use_svg"
9605
9606 if test x"$enablestring" = xdisable; then
9607 if test $wxUSE_SVG = no; then
9608 result=yes
9609 else
9610 result=no
9611 fi
9612 else
9613 result=$wxUSE_SVG
9614 fi
9615
9616 { echo "$as_me:$LINENO: result: $result" >&5
9617 echo "${ECHO_T}$result" >&6; }
9618
9619
9620 if test "$wxUSE_MAC" != 1; then
9621
9622 enablestring=
9623 defaultval=$wxUSE_ALL_FEATURES
9624 if test -z "$defaultval"; then
9625 if test x"$enablestring" = xdisable; then
9626 defaultval=yes
9627 else
9628 defaultval=no
9629 fi
9630 fi
9631
9632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9634 # Check whether --enable-graphics_ctx was given.
9635 if test "${enable_graphics_ctx+set}" = set; then
9636 enableval=$enable_graphics_ctx;
9637 if test "$enableval" = yes; then
9638 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9639 else
9640 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9641 fi
9642
9643 else
9644
9645 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9646
9647 fi
9648
9649
9650 eval "$wx_cv_use_graphics_ctx"
9651
9652 if test x"$enablestring" = xdisable; then
9653 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9654 result=yes
9655 else
9656 result=no
9657 fi
9658 else
9659 result=$wxUSE_GRAPHICS_CONTEXT
9660 fi
9661
9662 { echo "$as_me:$LINENO: result: $result" >&5
9663 echo "${ECHO_T}$result" >&6; }
9664
9665 fi
9666
9667
9668
9669 enablestring=
9670 defaultval=$wxUSE_ALL_FEATURES
9671 if test -z "$defaultval"; then
9672 if test x"$enablestring" = xdisable; then
9673 defaultval=yes
9674 else
9675 defaultval=no
9676 fi
9677 fi
9678
9679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9681 # Check whether --enable-clipboard was given.
9682 if test "${enable_clipboard+set}" = set; then
9683 enableval=$enable_clipboard;
9684 if test "$enableval" = yes; then
9685 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9686 else
9687 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9688 fi
9689
9690 else
9691
9692 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9693
9694 fi
9695
9696
9697 eval "$wx_cv_use_clipboard"
9698
9699 if test x"$enablestring" = xdisable; then
9700 if test $wxUSE_CLIPBOARD = no; then
9701 result=yes
9702 else
9703 result=no
9704 fi
9705 else
9706 result=$wxUSE_CLIPBOARD
9707 fi
9708
9709 { echo "$as_me:$LINENO: result: $result" >&5
9710 echo "${ECHO_T}$result" >&6; }
9711
9712
9713 enablestring=
9714 defaultval=$wxUSE_ALL_FEATURES
9715 if test -z "$defaultval"; then
9716 if test x"$enablestring" = xdisable; then
9717 defaultval=yes
9718 else
9719 defaultval=no
9720 fi
9721 fi
9722
9723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9724 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9725 # Check whether --enable-dnd was given.
9726 if test "${enable_dnd+set}" = set; then
9727 enableval=$enable_dnd;
9728 if test "$enableval" = yes; then
9729 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9730 else
9731 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9732 fi
9733
9734 else
9735
9736 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9737
9738 fi
9739
9740
9741 eval "$wx_cv_use_dnd"
9742
9743 if test x"$enablestring" = xdisable; then
9744 if test $wxUSE_DRAG_AND_DROP = no; then
9745 result=yes
9746 else
9747 result=no
9748 fi
9749 else
9750 result=$wxUSE_DRAG_AND_DROP
9751 fi
9752
9753 { echo "$as_me:$LINENO: result: $result" >&5
9754 echo "${ECHO_T}$result" >&6; }
9755
9756
9757 enablestring=
9758 defaultval=$wxUSE_ALL_FEATURES
9759 if test -z "$defaultval"; then
9760 if test x"$enablestring" = xdisable; then
9761 defaultval=yes
9762 else
9763 defaultval=no
9764 fi
9765 fi
9766
9767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9768 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9769 # Check whether --enable-metafile was given.
9770 if test "${enable_metafile+set}" = set; then
9771 enableval=$enable_metafile;
9772 if test "$enableval" = yes; then
9773 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9774 else
9775 wx_cv_use_metafile='wxUSE_METAFILE=no'
9776 fi
9777
9778 else
9779
9780 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9781
9782 fi
9783
9784
9785 eval "$wx_cv_use_metafile"
9786
9787 if test x"$enablestring" = xdisable; then
9788 if test $wxUSE_METAFILE = no; then
9789 result=yes
9790 else
9791 result=no
9792 fi
9793 else
9794 result=$wxUSE_METAFILE
9795 fi
9796
9797 { echo "$as_me:$LINENO: result: $result" >&5
9798 echo "${ECHO_T}$result" >&6; }
9799
9800
9801
9802 DEFAULT_wxUSE_CONTROLS=none
9803
9804 enablestring=disable
9805 defaultval=
9806 if test -z "$defaultval"; then
9807 if test x"$enablestring" = xdisable; then
9808 defaultval=yes
9809 else
9810 defaultval=no
9811 fi
9812 fi
9813
9814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9815 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9816 # Check whether --enable-controls was given.
9817 if test "${enable_controls+set}" = set; then
9818 enableval=$enable_controls;
9819 if test "$enableval" = yes; then
9820 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9821 else
9822 wx_cv_use_controls='wxUSE_CONTROLS=no'
9823 fi
9824
9825 else
9826
9827 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9828
9829 fi
9830
9831
9832 eval "$wx_cv_use_controls"
9833
9834 if test x"$enablestring" = xdisable; then
9835 if test $wxUSE_CONTROLS = no; then
9836 result=yes
9837 else
9838 result=no
9839 fi
9840 else
9841 result=$wxUSE_CONTROLS
9842 fi
9843
9844 { echo "$as_me:$LINENO: result: $result" >&5
9845 echo "${ECHO_T}$result" >&6; }
9846
9847
9848 if test "$wxUSE_CONTROLS" = "no"; then
9849 DEFAULT_wxUSE_ACCEL=no
9850 DEFAULT_wxUSE_ANIMATIONCTRL=no
9851 DEFAULT_wxUSE_BMPBUTTON=no
9852 DEFAULT_wxUSE_BUTTON=no
9853 DEFAULT_wxUSE_CALCTRL=no
9854 DEFAULT_wxUSE_CARET=no
9855 DEFAULT_wxUSE_CHECKBOX=no
9856 DEFAULT_wxUSE_CHECKLISTBOX=no
9857 DEFAULT_wxUSE_CHOICE=no
9858 DEFAULT_wxUSE_CHOICEBOOK=no
9859 DEFAULT_wxUSE_COLLPANE=no
9860 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9861 DEFAULT_wxUSE_COMBOBOX=no
9862 DEFAULT_wxUSE_COMBOBOX=no
9863 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9864 DEFAULT_wxUSE_DATAVIEWCTRL=no
9865 DEFAULT_wxUSE_DATEPICKCTRL=no
9866 DEFAULT_wxUSE_DETECT_SM=no
9867 DEFAULT_wxUSE_DIRPICKERCTRL=no
9868 DEFAULT_wxUSE_DISPLAY=no
9869 DEFAULT_wxUSE_FILECTRL=no
9870 DEFAULT_wxUSE_FILEPICKERCTRL=no
9871 DEFAULT_wxUSE_FONTPICKERCTRL=no
9872 DEFAULT_wxUSE_GAUGE=no
9873 DEFAULT_wxUSE_GRID=no
9874 DEFAULT_wxUSE_HEADERCTRL=no
9875 DEFAULT_wxUSE_HYPERLINKCTRL=no
9876 DEFAULT_wxUSE_IMAGLIST=no
9877 DEFAULT_wxUSE_LISTBOOK=no
9878 DEFAULT_wxUSE_LISTBOX=no
9879 DEFAULT_wxUSE_LISTCTRL=no
9880 DEFAULT_wxUSE_MARKUP=no
9881 DEFAULT_wxUSE_NOTEBOOK=no
9882 DEFAULT_wxUSE_POPUPWIN=no
9883 DEFAULT_wxUSE_RADIOBOX=no
9884 DEFAULT_wxUSE_RADIOBTN=no
9885 DEFAULT_wxUSE_RICHMSGDLG=no
9886 DEFAULT_wxUSE_REARRANGECTRL=no
9887 DEFAULT_wxUSE_SASH=no
9888 DEFAULT_wxUSE_SCROLLBAR=no
9889 DEFAULT_wxUSE_SEARCHCTRL=no
9890 DEFAULT_wxUSE_SLIDER=no
9891 DEFAULT_wxUSE_SPINBTN=no
9892 DEFAULT_wxUSE_SPINCTRL=no
9893 DEFAULT_wxUSE_SPLITTER=no
9894 DEFAULT_wxUSE_STATBMP=no
9895 DEFAULT_wxUSE_STATBOX=no
9896 DEFAULT_wxUSE_STATLINE=no
9897 DEFAULT_wxUSE_STATUSBAR=no
9898 DEFAULT_wxUSE_TIPWINDOW=no
9899 DEFAULT_wxUSE_TOGGLEBTN=no
9900 DEFAULT_wxUSE_TOOLBAR=no
9901 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9902 DEFAULT_wxUSE_TOOLBOOK=no
9903 DEFAULT_wxUSE_TOOLTIPS=no
9904 DEFAULT_wxUSE_TREEBOOK=no
9905 DEFAULT_wxUSE_TREECTRL=no
9906 fi
9907
9908
9909 enablestring=
9910 defaultval=$wxUSE_ALL_FEATURES
9911 if test -z "$defaultval"; then
9912 if test x"$enablestring" = xdisable; then
9913 defaultval=yes
9914 else
9915 defaultval=no
9916 fi
9917 fi
9918
9919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9921 # Check whether --enable-markup was given.
9922 if test "${enable_markup+set}" = set; then
9923 enableval=$enable_markup;
9924 if test "$enableval" = yes; then
9925 wx_cv_use_markup='wxUSE_MARKUP=yes'
9926 else
9927 wx_cv_use_markup='wxUSE_MARKUP=no'
9928 fi
9929
9930 else
9931
9932 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9933
9934 fi
9935
9936
9937 eval "$wx_cv_use_markup"
9938
9939 if test x"$enablestring" = xdisable; then
9940 if test $wxUSE_MARKUP = no; then
9941 result=yes
9942 else
9943 result=no
9944 fi
9945 else
9946 result=$wxUSE_MARKUP
9947 fi
9948
9949 { echo "$as_me:$LINENO: result: $result" >&5
9950 echo "${ECHO_T}$result" >&6; }
9951
9952
9953
9954 enablestring=
9955 defaultval=$wxUSE_ALL_FEATURES
9956 if test -z "$defaultval"; then
9957 if test x"$enablestring" = xdisable; then
9958 defaultval=yes
9959 else
9960 defaultval=no
9961 fi
9962 fi
9963
9964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9965 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9966 # Check whether --enable-accel was given.
9967 if test "${enable_accel+set}" = set; then
9968 enableval=$enable_accel;
9969 if test "$enableval" = yes; then
9970 wx_cv_use_accel='wxUSE_ACCEL=yes'
9971 else
9972 wx_cv_use_accel='wxUSE_ACCEL=no'
9973 fi
9974
9975 else
9976
9977 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9978
9979 fi
9980
9981
9982 eval "$wx_cv_use_accel"
9983
9984 if test x"$enablestring" = xdisable; then
9985 if test $wxUSE_ACCEL = no; then
9986 result=yes
9987 else
9988 result=no
9989 fi
9990 else
9991 result=$wxUSE_ACCEL
9992 fi
9993
9994 { echo "$as_me:$LINENO: result: $result" >&5
9995 echo "${ECHO_T}$result" >&6; }
9996
9997
9998 enablestring=
9999 defaultval=$wxUSE_ALL_FEATURES
10000 if test -z "$defaultval"; then
10001 if test x"$enablestring" = xdisable; then
10002 defaultval=yes
10003 else
10004 defaultval=no
10005 fi
10006 fi
10007
10008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10010 # Check whether --enable-animatectrl was given.
10011 if test "${enable_animatectrl+set}" = set; then
10012 enableval=$enable_animatectrl;
10013 if test "$enableval" = yes; then
10014 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10015 else
10016 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10017 fi
10018
10019 else
10020
10021 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10022
10023 fi
10024
10025
10026 eval "$wx_cv_use_animatectrl"
10027
10028 if test x"$enablestring" = xdisable; then
10029 if test $wxUSE_ANIMATIONCTRL = no; then
10030 result=yes
10031 else
10032 result=no
10033 fi
10034 else
10035 result=$wxUSE_ANIMATIONCTRL
10036 fi
10037
10038 { echo "$as_me:$LINENO: result: $result" >&5
10039 echo "${ECHO_T}$result" >&6; }
10040
10041
10042 enablestring=
10043 defaultval=$wxUSE_ALL_FEATURES
10044 if test -z "$defaultval"; then
10045 if test x"$enablestring" = xdisable; then
10046 defaultval=yes
10047 else
10048 defaultval=no
10049 fi
10050 fi
10051
10052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10053 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10054 # Check whether --enable-artstd was given.
10055 if test "${enable_artstd+set}" = set; then
10056 enableval=$enable_artstd;
10057 if test "$enableval" = yes; then
10058 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10059 else
10060 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10061 fi
10062
10063 else
10064
10065 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10066
10067 fi
10068
10069
10070 eval "$wx_cv_use_artstd"
10071
10072 if test x"$enablestring" = xdisable; then
10073 if test $wxUSE_ARTPROVIDER_STD = no; then
10074 result=yes
10075 else
10076 result=no
10077 fi
10078 else
10079 result=$wxUSE_ARTPROVIDER_STD
10080 fi
10081
10082 { echo "$as_me:$LINENO: result: $result" >&5
10083 echo "${ECHO_T}$result" >&6; }
10084
10085
10086 enablestring=
10087 defaultval=$wxUSE_ALL_FEATURES
10088 if test -z "$defaultval"; then
10089 if test x"$enablestring" = xdisable; then
10090 defaultval=yes
10091 else
10092 defaultval=no
10093 fi
10094 fi
10095
10096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10097 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10098 # Check whether --enable-arttango was given.
10099 if test "${enable_arttango+set}" = set; then
10100 enableval=$enable_arttango;
10101 if test "$enableval" = yes; then
10102 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10103 else
10104 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10105 fi
10106
10107 else
10108
10109 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10110
10111 fi
10112
10113
10114 eval "$wx_cv_use_arttango"
10115
10116 if test x"$enablestring" = xdisable; then
10117 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10118 result=yes
10119 else
10120 result=no
10121 fi
10122 else
10123 result=$wxUSE_ARTPROVIDER_TANGO
10124 fi
10125
10126 { echo "$as_me:$LINENO: result: $result" >&5
10127 echo "${ECHO_T}$result" >&6; }
10128
10129
10130 enablestring=
10131 defaultval=$wxUSE_ALL_FEATURES
10132 if test -z "$defaultval"; then
10133 if test x"$enablestring" = xdisable; then
10134 defaultval=yes
10135 else
10136 defaultval=no
10137 fi
10138 fi
10139
10140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10141 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10142 # Check whether --enable-bmpbutton was given.
10143 if test "${enable_bmpbutton+set}" = set; then
10144 enableval=$enable_bmpbutton;
10145 if test "$enableval" = yes; then
10146 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10147 else
10148 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10149 fi
10150
10151 else
10152
10153 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10154
10155 fi
10156
10157
10158 eval "$wx_cv_use_bmpbutton"
10159
10160 if test x"$enablestring" = xdisable; then
10161 if test $wxUSE_BMPBUTTON = no; then
10162 result=yes
10163 else
10164 result=no
10165 fi
10166 else
10167 result=$wxUSE_BMPBUTTON
10168 fi
10169
10170 { echo "$as_me:$LINENO: result: $result" >&5
10171 echo "${ECHO_T}$result" >&6; }
10172
10173
10174 enablestring=
10175 defaultval=$wxUSE_ALL_FEATURES
10176 if test -z "$defaultval"; then
10177 if test x"$enablestring" = xdisable; then
10178 defaultval=yes
10179 else
10180 defaultval=no
10181 fi
10182 fi
10183
10184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10185 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10186 # Check whether --enable-bmpcombobox was given.
10187 if test "${enable_bmpcombobox+set}" = set; then
10188 enableval=$enable_bmpcombobox;
10189 if test "$enableval" = yes; then
10190 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10191 else
10192 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10193 fi
10194
10195 else
10196
10197 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10198
10199 fi
10200
10201
10202 eval "$wx_cv_use_bmpcombobox"
10203
10204 if test x"$enablestring" = xdisable; then
10205 if test $wxUSE_BITMAPCOMBOBOX = no; then
10206 result=yes
10207 else
10208 result=no
10209 fi
10210 else
10211 result=$wxUSE_BITMAPCOMBOBOX
10212 fi
10213
10214 { echo "$as_me:$LINENO: result: $result" >&5
10215 echo "${ECHO_T}$result" >&6; }
10216
10217
10218 enablestring=
10219 defaultval=$wxUSE_ALL_FEATURES
10220 if test -z "$defaultval"; then
10221 if test x"$enablestring" = xdisable; then
10222 defaultval=yes
10223 else
10224 defaultval=no
10225 fi
10226 fi
10227
10228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10229 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10230 # Check whether --enable-button was given.
10231 if test "${enable_button+set}" = set; then
10232 enableval=$enable_button;
10233 if test "$enableval" = yes; then
10234 wx_cv_use_button='wxUSE_BUTTON=yes'
10235 else
10236 wx_cv_use_button='wxUSE_BUTTON=no'
10237 fi
10238
10239 else
10240
10241 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10242
10243 fi
10244
10245
10246 eval "$wx_cv_use_button"
10247
10248 if test x"$enablestring" = xdisable; then
10249 if test $wxUSE_BUTTON = no; then
10250 result=yes
10251 else
10252 result=no
10253 fi
10254 else
10255 result=$wxUSE_BUTTON
10256 fi
10257
10258 { echo "$as_me:$LINENO: result: $result" >&5
10259 echo "${ECHO_T}$result" >&6; }
10260
10261
10262 enablestring=
10263 defaultval=$wxUSE_ALL_FEATURES
10264 if test -z "$defaultval"; then
10265 if test x"$enablestring" = xdisable; then
10266 defaultval=yes
10267 else
10268 defaultval=no
10269 fi
10270 fi
10271
10272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10273 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10274 # Check whether --enable-calendar was given.
10275 if test "${enable_calendar+set}" = set; then
10276 enableval=$enable_calendar;
10277 if test "$enableval" = yes; then
10278 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10279 else
10280 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10281 fi
10282
10283 else
10284
10285 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10286
10287 fi
10288
10289
10290 eval "$wx_cv_use_calendar"
10291
10292 if test x"$enablestring" = xdisable; then
10293 if test $wxUSE_CALCTRL = no; then
10294 result=yes
10295 else
10296 result=no
10297 fi
10298 else
10299 result=$wxUSE_CALCTRL
10300 fi
10301
10302 { echo "$as_me:$LINENO: result: $result" >&5
10303 echo "${ECHO_T}$result" >&6; }
10304
10305
10306 enablestring=
10307 defaultval=$wxUSE_ALL_FEATURES
10308 if test -z "$defaultval"; then
10309 if test x"$enablestring" = xdisable; then
10310 defaultval=yes
10311 else
10312 defaultval=no
10313 fi
10314 fi
10315
10316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10317 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10318 # Check whether --enable-caret was given.
10319 if test "${enable_caret+set}" = set; then
10320 enableval=$enable_caret;
10321 if test "$enableval" = yes; then
10322 wx_cv_use_caret='wxUSE_CARET=yes'
10323 else
10324 wx_cv_use_caret='wxUSE_CARET=no'
10325 fi
10326
10327 else
10328
10329 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10330
10331 fi
10332
10333
10334 eval "$wx_cv_use_caret"
10335
10336 if test x"$enablestring" = xdisable; then
10337 if test $wxUSE_CARET = no; then
10338 result=yes
10339 else
10340 result=no
10341 fi
10342 else
10343 result=$wxUSE_CARET
10344 fi
10345
10346 { echo "$as_me:$LINENO: result: $result" >&5
10347 echo "${ECHO_T}$result" >&6; }
10348
10349
10350 enablestring=
10351 defaultval=$wxUSE_ALL_FEATURES
10352 if test -z "$defaultval"; then
10353 if test x"$enablestring" = xdisable; then
10354 defaultval=yes
10355 else
10356 defaultval=no
10357 fi
10358 fi
10359
10360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10361 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10362 # Check whether --enable-checkbox was given.
10363 if test "${enable_checkbox+set}" = set; then
10364 enableval=$enable_checkbox;
10365 if test "$enableval" = yes; then
10366 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10367 else
10368 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10369 fi
10370
10371 else
10372
10373 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10374
10375 fi
10376
10377
10378 eval "$wx_cv_use_checkbox"
10379
10380 if test x"$enablestring" = xdisable; then
10381 if test $wxUSE_CHECKBOX = no; then
10382 result=yes
10383 else
10384 result=no
10385 fi
10386 else
10387 result=$wxUSE_CHECKBOX
10388 fi
10389
10390 { echo "$as_me:$LINENO: result: $result" >&5
10391 echo "${ECHO_T}$result" >&6; }
10392
10393
10394 enablestring=
10395 defaultval=$wxUSE_ALL_FEATURES
10396 if test -z "$defaultval"; then
10397 if test x"$enablestring" = xdisable; then
10398 defaultval=yes
10399 else
10400 defaultval=no
10401 fi
10402 fi
10403
10404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10405 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10406 # Check whether --enable-checklst was given.
10407 if test "${enable_checklst+set}" = set; then
10408 enableval=$enable_checklst;
10409 if test "$enableval" = yes; then
10410 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10411 else
10412 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10413 fi
10414
10415 else
10416
10417 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10418
10419 fi
10420
10421
10422 eval "$wx_cv_use_checklst"
10423
10424 if test x"$enablestring" = xdisable; then
10425 if test $wxUSE_CHECKLST = no; then
10426 result=yes
10427 else
10428 result=no
10429 fi
10430 else
10431 result=$wxUSE_CHECKLST
10432 fi
10433
10434 { echo "$as_me:$LINENO: result: $result" >&5
10435 echo "${ECHO_T}$result" >&6; }
10436
10437
10438 enablestring=
10439 defaultval=$wxUSE_ALL_FEATURES
10440 if test -z "$defaultval"; then
10441 if test x"$enablestring" = xdisable; then
10442 defaultval=yes
10443 else
10444 defaultval=no
10445 fi
10446 fi
10447
10448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10449 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10450 # Check whether --enable-choice was given.
10451 if test "${enable_choice+set}" = set; then
10452 enableval=$enable_choice;
10453 if test "$enableval" = yes; then
10454 wx_cv_use_choice='wxUSE_CHOICE=yes'
10455 else
10456 wx_cv_use_choice='wxUSE_CHOICE=no'
10457 fi
10458
10459 else
10460
10461 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10462
10463 fi
10464
10465
10466 eval "$wx_cv_use_choice"
10467
10468 if test x"$enablestring" = xdisable; then
10469 if test $wxUSE_CHOICE = no; then
10470 result=yes
10471 else
10472 result=no
10473 fi
10474 else
10475 result=$wxUSE_CHOICE
10476 fi
10477
10478 { echo "$as_me:$LINENO: result: $result" >&5
10479 echo "${ECHO_T}$result" >&6; }
10480
10481
10482 enablestring=
10483 defaultval=$wxUSE_ALL_FEATURES
10484 if test -z "$defaultval"; then
10485 if test x"$enablestring" = xdisable; then
10486 defaultval=yes
10487 else
10488 defaultval=no
10489 fi
10490 fi
10491
10492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10494 # Check whether --enable-choicebook was given.
10495 if test "${enable_choicebook+set}" = set; then
10496 enableval=$enable_choicebook;
10497 if test "$enableval" = yes; then
10498 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10499 else
10500 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10501 fi
10502
10503 else
10504
10505 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10506
10507 fi
10508
10509
10510 eval "$wx_cv_use_choicebook"
10511
10512 if test x"$enablestring" = xdisable; then
10513 if test $wxUSE_CHOICEBOOK = no; then
10514 result=yes
10515 else
10516 result=no
10517 fi
10518 else
10519 result=$wxUSE_CHOICEBOOK
10520 fi
10521
10522 { echo "$as_me:$LINENO: result: $result" >&5
10523 echo "${ECHO_T}$result" >&6; }
10524
10525
10526 enablestring=
10527 defaultval=$wxUSE_ALL_FEATURES
10528 if test -z "$defaultval"; then
10529 if test x"$enablestring" = xdisable; then
10530 defaultval=yes
10531 else
10532 defaultval=no
10533 fi
10534 fi
10535
10536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10537 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10538 # Check whether --enable-collpane was given.
10539 if test "${enable_collpane+set}" = set; then
10540 enableval=$enable_collpane;
10541 if test "$enableval" = yes; then
10542 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10543 else
10544 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10545 fi
10546
10547 else
10548
10549 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10550
10551 fi
10552
10553
10554 eval "$wx_cv_use_collpane"
10555
10556 if test x"$enablestring" = xdisable; then
10557 if test $wxUSE_COLLPANE = no; then
10558 result=yes
10559 else
10560 result=no
10561 fi
10562 else
10563 result=$wxUSE_COLLPANE
10564 fi
10565
10566 { echo "$as_me:$LINENO: result: $result" >&5
10567 echo "${ECHO_T}$result" >&6; }
10568
10569
10570 enablestring=
10571 defaultval=$wxUSE_ALL_FEATURES
10572 if test -z "$defaultval"; then
10573 if test x"$enablestring" = xdisable; then
10574 defaultval=yes
10575 else
10576 defaultval=no
10577 fi
10578 fi
10579
10580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10581 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10582 # Check whether --enable-colourpicker was given.
10583 if test "${enable_colourpicker+set}" = set; then
10584 enableval=$enable_colourpicker;
10585 if test "$enableval" = yes; then
10586 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10587 else
10588 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10589 fi
10590
10591 else
10592
10593 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10594
10595 fi
10596
10597
10598 eval "$wx_cv_use_colourpicker"
10599
10600 if test x"$enablestring" = xdisable; then
10601 if test $wxUSE_COLOURPICKERCTRL = no; then
10602 result=yes
10603 else
10604 result=no
10605 fi
10606 else
10607 result=$wxUSE_COLOURPICKERCTRL
10608 fi
10609
10610 { echo "$as_me:$LINENO: result: $result" >&5
10611 echo "${ECHO_T}$result" >&6; }
10612
10613
10614 enablestring=
10615 defaultval=$wxUSE_ALL_FEATURES
10616 if test -z "$defaultval"; then
10617 if test x"$enablestring" = xdisable; then
10618 defaultval=yes
10619 else
10620 defaultval=no
10621 fi
10622 fi
10623
10624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10625 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10626 # Check whether --enable-combobox was given.
10627 if test "${enable_combobox+set}" = set; then
10628 enableval=$enable_combobox;
10629 if test "$enableval" = yes; then
10630 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10631 else
10632 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10633 fi
10634
10635 else
10636
10637 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10638
10639 fi
10640
10641
10642 eval "$wx_cv_use_combobox"
10643
10644 if test x"$enablestring" = xdisable; then
10645 if test $wxUSE_COMBOBOX = no; then
10646 result=yes
10647 else
10648 result=no
10649 fi
10650 else
10651 result=$wxUSE_COMBOBOX
10652 fi
10653
10654 { echo "$as_me:$LINENO: result: $result" >&5
10655 echo "${ECHO_T}$result" >&6; }
10656
10657
10658 enablestring=
10659 defaultval=$wxUSE_ALL_FEATURES
10660 if test -z "$defaultval"; then
10661 if test x"$enablestring" = xdisable; then
10662 defaultval=yes
10663 else
10664 defaultval=no
10665 fi
10666 fi
10667
10668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10669 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10670 # Check whether --enable-comboctrl was given.
10671 if test "${enable_comboctrl+set}" = set; then
10672 enableval=$enable_comboctrl;
10673 if test "$enableval" = yes; then
10674 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10675 else
10676 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10677 fi
10678
10679 else
10680
10681 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10682
10683 fi
10684
10685
10686 eval "$wx_cv_use_comboctrl"
10687
10688 if test x"$enablestring" = xdisable; then
10689 if test $wxUSE_COMBOCTRL = no; then
10690 result=yes
10691 else
10692 result=no
10693 fi
10694 else
10695 result=$wxUSE_COMBOCTRL
10696 fi
10697
10698 { echo "$as_me:$LINENO: result: $result" >&5
10699 echo "${ECHO_T}$result" >&6; }
10700
10701
10702 enablestring=
10703 defaultval=$wxUSE_ALL_FEATURES
10704 if test -z "$defaultval"; then
10705 if test x"$enablestring" = xdisable; then
10706 defaultval=yes
10707 else
10708 defaultval=no
10709 fi
10710 fi
10711
10712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10713 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10714 # Check whether --enable-commandlinkbutton was given.
10715 if test "${enable_commandlinkbutton+set}" = set; then
10716 enableval=$enable_commandlinkbutton;
10717 if test "$enableval" = yes; then
10718 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10719 else
10720 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10721 fi
10722
10723 else
10724
10725 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10726
10727 fi
10728
10729
10730 eval "$wx_cv_use_commandlinkbutton"
10731
10732 if test x"$enablestring" = xdisable; then
10733 if test $wxUSE_COMMANDLINKBUTTON = no; then
10734 result=yes
10735 else
10736 result=no
10737 fi
10738 else
10739 result=$wxUSE_COMMANDLINKBUTTON
10740 fi
10741
10742 { echo "$as_me:$LINENO: result: $result" >&5
10743 echo "${ECHO_T}$result" >&6; }
10744
10745
10746 enablestring=
10747 defaultval=$wxUSE_ALL_FEATURES
10748 if test -z "$defaultval"; then
10749 if test x"$enablestring" = xdisable; then
10750 defaultval=yes
10751 else
10752 defaultval=no
10753 fi
10754 fi
10755
10756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10757 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10758 # Check whether --enable-dataviewctrl was given.
10759 if test "${enable_dataviewctrl+set}" = set; then
10760 enableval=$enable_dataviewctrl;
10761 if test "$enableval" = yes; then
10762 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10763 else
10764 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10765 fi
10766
10767 else
10768
10769 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10770
10771 fi
10772
10773
10774 eval "$wx_cv_use_dataviewctrl"
10775
10776 if test x"$enablestring" = xdisable; then
10777 if test $wxUSE_DATAVIEWCTRL = no; then
10778 result=yes
10779 else
10780 result=no
10781 fi
10782 else
10783 result=$wxUSE_DATAVIEWCTRL
10784 fi
10785
10786 { echo "$as_me:$LINENO: result: $result" >&5
10787 echo "${ECHO_T}$result" >&6; }
10788
10789
10790 enablestring=
10791 defaultval=$wxUSE_ALL_FEATURES
10792 if test -z "$defaultval"; then
10793 if test x"$enablestring" = xdisable; then
10794 defaultval=yes
10795 else
10796 defaultval=no
10797 fi
10798 fi
10799
10800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10801 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10802 # Check whether --enable-datepick was given.
10803 if test "${enable_datepick+set}" = set; then
10804 enableval=$enable_datepick;
10805 if test "$enableval" = yes; then
10806 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10807 else
10808 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10809 fi
10810
10811 else
10812
10813 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10814
10815 fi
10816
10817
10818 eval "$wx_cv_use_datepick"
10819
10820 if test x"$enablestring" = xdisable; then
10821 if test $wxUSE_DATEPICKCTRL = no; then
10822 result=yes
10823 else
10824 result=no
10825 fi
10826 else
10827 result=$wxUSE_DATEPICKCTRL
10828 fi
10829
10830 { echo "$as_me:$LINENO: result: $result" >&5
10831 echo "${ECHO_T}$result" >&6; }
10832
10833
10834 enablestring=
10835 defaultval=$wxUSE_ALL_FEATURES
10836 if test -z "$defaultval"; then
10837 if test x"$enablestring" = xdisable; then
10838 defaultval=yes
10839 else
10840 defaultval=no
10841 fi
10842 fi
10843
10844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10845 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10846 # Check whether --enable-detect_sm was given.
10847 if test "${enable_detect_sm+set}" = set; then
10848 enableval=$enable_detect_sm;
10849 if test "$enableval" = yes; then
10850 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10851 else
10852 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10853 fi
10854
10855 else
10856
10857 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10858
10859 fi
10860
10861
10862 eval "$wx_cv_use_detect_sm"
10863
10864 if test x"$enablestring" = xdisable; then
10865 if test $wxUSE_DETECT_SM = no; then
10866 result=yes
10867 else
10868 result=no
10869 fi
10870 else
10871 result=$wxUSE_DETECT_SM
10872 fi
10873
10874 { echo "$as_me:$LINENO: result: $result" >&5
10875 echo "${ECHO_T}$result" >&6; }
10876
10877
10878 enablestring=
10879 defaultval=$wxUSE_ALL_FEATURES
10880 if test -z "$defaultval"; then
10881 if test x"$enablestring" = xdisable; then
10882 defaultval=yes
10883 else
10884 defaultval=no
10885 fi
10886 fi
10887
10888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10889 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10890 # Check whether --enable-dirpicker was given.
10891 if test "${enable_dirpicker+set}" = set; then
10892 enableval=$enable_dirpicker;
10893 if test "$enableval" = yes; then
10894 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10895 else
10896 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10897 fi
10898
10899 else
10900
10901 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10902
10903 fi
10904
10905
10906 eval "$wx_cv_use_dirpicker"
10907
10908 if test x"$enablestring" = xdisable; then
10909 if test $wxUSE_DIRPICKERCTRL = no; then
10910 result=yes
10911 else
10912 result=no
10913 fi
10914 else
10915 result=$wxUSE_DIRPICKERCTRL
10916 fi
10917
10918 { echo "$as_me:$LINENO: result: $result" >&5
10919 echo "${ECHO_T}$result" >&6; }
10920
10921
10922 enablestring=
10923 defaultval=$wxUSE_ALL_FEATURES
10924 if test -z "$defaultval"; then
10925 if test x"$enablestring" = xdisable; then
10926 defaultval=yes
10927 else
10928 defaultval=no
10929 fi
10930 fi
10931
10932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10933 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10934 # Check whether --enable-display was given.
10935 if test "${enable_display+set}" = set; then
10936 enableval=$enable_display;
10937 if test "$enableval" = yes; then
10938 wx_cv_use_display='wxUSE_DISPLAY=yes'
10939 else
10940 wx_cv_use_display='wxUSE_DISPLAY=no'
10941 fi
10942
10943 else
10944
10945 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10946
10947 fi
10948
10949
10950 eval "$wx_cv_use_display"
10951
10952 if test x"$enablestring" = xdisable; then
10953 if test $wxUSE_DISPLAY = no; then
10954 result=yes
10955 else
10956 result=no
10957 fi
10958 else
10959 result=$wxUSE_DISPLAY
10960 fi
10961
10962 { echo "$as_me:$LINENO: result: $result" >&5
10963 echo "${ECHO_T}$result" >&6; }
10964
10965
10966 enablestring=
10967 defaultval=$wxUSE_ALL_FEATURES
10968 if test -z "$defaultval"; then
10969 if test x"$enablestring" = xdisable; then
10970 defaultval=yes
10971 else
10972 defaultval=no
10973 fi
10974 fi
10975
10976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10977 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10978 # Check whether --enable-editablebox was given.
10979 if test "${enable_editablebox+set}" = set; then
10980 enableval=$enable_editablebox;
10981 if test "$enableval" = yes; then
10982 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10983 else
10984 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10985 fi
10986
10987 else
10988
10989 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10990
10991 fi
10992
10993
10994 eval "$wx_cv_use_editablebox"
10995
10996 if test x"$enablestring" = xdisable; then
10997 if test $wxUSE_EDITABLELISTBOX = no; then
10998 result=yes
10999 else
11000 result=no
11001 fi
11002 else
11003 result=$wxUSE_EDITABLELISTBOX
11004 fi
11005
11006 { echo "$as_me:$LINENO: result: $result" >&5
11007 echo "${ECHO_T}$result" >&6; }
11008
11009
11010 enablestring=
11011 defaultval=$wxUSE_ALL_FEATURES
11012 if test -z "$defaultval"; then
11013 if test x"$enablestring" = xdisable; then
11014 defaultval=yes
11015 else
11016 defaultval=no
11017 fi
11018 fi
11019
11020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11021 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11022 # Check whether --enable-filectrl was given.
11023 if test "${enable_filectrl+set}" = set; then
11024 enableval=$enable_filectrl;
11025 if test "$enableval" = yes; then
11026 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11027 else
11028 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11029 fi
11030
11031 else
11032
11033 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11034
11035 fi
11036
11037
11038 eval "$wx_cv_use_filectrl"
11039
11040 if test x"$enablestring" = xdisable; then
11041 if test $wxUSE_FILECTRL = no; then
11042 result=yes
11043 else
11044 result=no
11045 fi
11046 else
11047 result=$wxUSE_FILECTRL
11048 fi
11049
11050 { echo "$as_me:$LINENO: result: $result" >&5
11051 echo "${ECHO_T}$result" >&6; }
11052
11053
11054 enablestring=
11055 defaultval=$wxUSE_ALL_FEATURES
11056 if test -z "$defaultval"; then
11057 if test x"$enablestring" = xdisable; then
11058 defaultval=yes
11059 else
11060 defaultval=no
11061 fi
11062 fi
11063
11064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11065 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11066 # Check whether --enable-filepicker was given.
11067 if test "${enable_filepicker+set}" = set; then
11068 enableval=$enable_filepicker;
11069 if test "$enableval" = yes; then
11070 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11071 else
11072 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11073 fi
11074
11075 else
11076
11077 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11078
11079 fi
11080
11081
11082 eval "$wx_cv_use_filepicker"
11083
11084 if test x"$enablestring" = xdisable; then
11085 if test $wxUSE_FILEPICKERCTRL = no; then
11086 result=yes
11087 else
11088 result=no
11089 fi
11090 else
11091 result=$wxUSE_FILEPICKERCTRL
11092 fi
11093
11094 { echo "$as_me:$LINENO: result: $result" >&5
11095 echo "${ECHO_T}$result" >&6; }
11096
11097
11098 enablestring=
11099 defaultval=$wxUSE_ALL_FEATURES
11100 if test -z "$defaultval"; then
11101 if test x"$enablestring" = xdisable; then
11102 defaultval=yes
11103 else
11104 defaultval=no
11105 fi
11106 fi
11107
11108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11109 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11110 # Check whether --enable-fontpicker was given.
11111 if test "${enable_fontpicker+set}" = set; then
11112 enableval=$enable_fontpicker;
11113 if test "$enableval" = yes; then
11114 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11115 else
11116 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11117 fi
11118
11119 else
11120
11121 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11122
11123 fi
11124
11125
11126 eval "$wx_cv_use_fontpicker"
11127
11128 if test x"$enablestring" = xdisable; then
11129 if test $wxUSE_FONTPICKERCTRL = no; then
11130 result=yes
11131 else
11132 result=no
11133 fi
11134 else
11135 result=$wxUSE_FONTPICKERCTRL
11136 fi
11137
11138 { echo "$as_me:$LINENO: result: $result" >&5
11139 echo "${ECHO_T}$result" >&6; }
11140
11141
11142 enablestring=
11143 defaultval=$wxUSE_ALL_FEATURES
11144 if test -z "$defaultval"; then
11145 if test x"$enablestring" = xdisable; then
11146 defaultval=yes
11147 else
11148 defaultval=no
11149 fi
11150 fi
11151
11152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11153 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11154 # Check whether --enable-gauge was given.
11155 if test "${enable_gauge+set}" = set; then
11156 enableval=$enable_gauge;
11157 if test "$enableval" = yes; then
11158 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11159 else
11160 wx_cv_use_gauge='wxUSE_GAUGE=no'
11161 fi
11162
11163 else
11164
11165 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11166
11167 fi
11168
11169
11170 eval "$wx_cv_use_gauge"
11171
11172 if test x"$enablestring" = xdisable; then
11173 if test $wxUSE_GAUGE = no; then
11174 result=yes
11175 else
11176 result=no
11177 fi
11178 else
11179 result=$wxUSE_GAUGE
11180 fi
11181
11182 { echo "$as_me:$LINENO: result: $result" >&5
11183 echo "${ECHO_T}$result" >&6; }
11184
11185
11186 enablestring=
11187 defaultval=$wxUSE_ALL_FEATURES
11188 if test -z "$defaultval"; then
11189 if test x"$enablestring" = xdisable; then
11190 defaultval=yes
11191 else
11192 defaultval=no
11193 fi
11194 fi
11195
11196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11197 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11198 # Check whether --enable-grid was given.
11199 if test "${enable_grid+set}" = set; then
11200 enableval=$enable_grid;
11201 if test "$enableval" = yes; then
11202 wx_cv_use_grid='wxUSE_GRID=yes'
11203 else
11204 wx_cv_use_grid='wxUSE_GRID=no'
11205 fi
11206
11207 else
11208
11209 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11210
11211 fi
11212
11213
11214 eval "$wx_cv_use_grid"
11215
11216 if test x"$enablestring" = xdisable; then
11217 if test $wxUSE_GRID = no; then
11218 result=yes
11219 else
11220 result=no
11221 fi
11222 else
11223 result=$wxUSE_GRID
11224 fi
11225
11226 { echo "$as_me:$LINENO: result: $result" >&5
11227 echo "${ECHO_T}$result" >&6; }
11228
11229
11230 enablestring=
11231 defaultval=$wxUSE_ALL_FEATURES
11232 if test -z "$defaultval"; then
11233 if test x"$enablestring" = xdisable; then
11234 defaultval=yes
11235 else
11236 defaultval=no
11237 fi
11238 fi
11239
11240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11241 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11242 # Check whether --enable-headerctrl was given.
11243 if test "${enable_headerctrl+set}" = set; then
11244 enableval=$enable_headerctrl;
11245 if test "$enableval" = yes; then
11246 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11247 else
11248 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11249 fi
11250
11251 else
11252
11253 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11254
11255 fi
11256
11257
11258 eval "$wx_cv_use_headerctrl"
11259
11260 if test x"$enablestring" = xdisable; then
11261 if test $wxUSE_HEADERCTRL = no; then
11262 result=yes
11263 else
11264 result=no
11265 fi
11266 else
11267 result=$wxUSE_HEADERCTRL
11268 fi
11269
11270 { echo "$as_me:$LINENO: result: $result" >&5
11271 echo "${ECHO_T}$result" >&6; }
11272
11273
11274 enablestring=
11275 defaultval=$wxUSE_ALL_FEATURES
11276 if test -z "$defaultval"; then
11277 if test x"$enablestring" = xdisable; then
11278 defaultval=yes
11279 else
11280 defaultval=no
11281 fi
11282 fi
11283
11284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11285 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11286 # Check whether --enable-hyperlink was given.
11287 if test "${enable_hyperlink+set}" = set; then
11288 enableval=$enable_hyperlink;
11289 if test "$enableval" = yes; then
11290 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11291 else
11292 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11293 fi
11294
11295 else
11296
11297 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11298
11299 fi
11300
11301
11302 eval "$wx_cv_use_hyperlink"
11303
11304 if test x"$enablestring" = xdisable; then
11305 if test $wxUSE_HYPERLINKCTRL = no; then
11306 result=yes
11307 else
11308 result=no
11309 fi
11310 else
11311 result=$wxUSE_HYPERLINKCTRL
11312 fi
11313
11314 { echo "$as_me:$LINENO: result: $result" >&5
11315 echo "${ECHO_T}$result" >&6; }
11316
11317
11318 enablestring=
11319 defaultval=$wxUSE_ALL_FEATURES
11320 if test -z "$defaultval"; then
11321 if test x"$enablestring" = xdisable; then
11322 defaultval=yes
11323 else
11324 defaultval=no
11325 fi
11326 fi
11327
11328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11329 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11330 # Check whether --enable-imaglist was given.
11331 if test "${enable_imaglist+set}" = set; then
11332 enableval=$enable_imaglist;
11333 if test "$enableval" = yes; then
11334 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11335 else
11336 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11337 fi
11338
11339 else
11340
11341 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11342
11343 fi
11344
11345
11346 eval "$wx_cv_use_imaglist"
11347
11348 if test x"$enablestring" = xdisable; then
11349 if test $wxUSE_IMAGLIST = no; then
11350 result=yes
11351 else
11352 result=no
11353 fi
11354 else
11355 result=$wxUSE_IMAGLIST
11356 fi
11357
11358 { echo "$as_me:$LINENO: result: $result" >&5
11359 echo "${ECHO_T}$result" >&6; }
11360
11361
11362 enablestring=
11363 defaultval=$wxUSE_ALL_FEATURES
11364 if test -z "$defaultval"; then
11365 if test x"$enablestring" = xdisable; then
11366 defaultval=yes
11367 else
11368 defaultval=no
11369 fi
11370 fi
11371
11372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11373 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11374 # Check whether --enable-infobar was given.
11375 if test "${enable_infobar+set}" = set; then
11376 enableval=$enable_infobar;
11377 if test "$enableval" = yes; then
11378 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11379 else
11380 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11381 fi
11382
11383 else
11384
11385 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11386
11387 fi
11388
11389
11390 eval "$wx_cv_use_infobar"
11391
11392 if test x"$enablestring" = xdisable; then
11393 if test $wxUSE_INFOBAR = no; then
11394 result=yes
11395 else
11396 result=no
11397 fi
11398 else
11399 result=$wxUSE_INFOBAR
11400 fi
11401
11402 { echo "$as_me:$LINENO: result: $result" >&5
11403 echo "${ECHO_T}$result" >&6; }
11404
11405
11406 enablestring=
11407 defaultval=$wxUSE_ALL_FEATURES
11408 if test -z "$defaultval"; then
11409 if test x"$enablestring" = xdisable; then
11410 defaultval=yes
11411 else
11412 defaultval=no
11413 fi
11414 fi
11415
11416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11417 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11418 # Check whether --enable-listbook was given.
11419 if test "${enable_listbook+set}" = set; then
11420 enableval=$enable_listbook;
11421 if test "$enableval" = yes; then
11422 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11423 else
11424 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11425 fi
11426
11427 else
11428
11429 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11430
11431 fi
11432
11433
11434 eval "$wx_cv_use_listbook"
11435
11436 if test x"$enablestring" = xdisable; then
11437 if test $wxUSE_LISTBOOK = no; then
11438 result=yes
11439 else
11440 result=no
11441 fi
11442 else
11443 result=$wxUSE_LISTBOOK
11444 fi
11445
11446 { echo "$as_me:$LINENO: result: $result" >&5
11447 echo "${ECHO_T}$result" >&6; }
11448
11449
11450 enablestring=
11451 defaultval=$wxUSE_ALL_FEATURES
11452 if test -z "$defaultval"; then
11453 if test x"$enablestring" = xdisable; then
11454 defaultval=yes
11455 else
11456 defaultval=no
11457 fi
11458 fi
11459
11460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11461 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11462 # Check whether --enable-listbox was given.
11463 if test "${enable_listbox+set}" = set; then
11464 enableval=$enable_listbox;
11465 if test "$enableval" = yes; then
11466 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11467 else
11468 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11469 fi
11470
11471 else
11472
11473 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11474
11475 fi
11476
11477
11478 eval "$wx_cv_use_listbox"
11479
11480 if test x"$enablestring" = xdisable; then
11481 if test $wxUSE_LISTBOX = no; then
11482 result=yes
11483 else
11484 result=no
11485 fi
11486 else
11487 result=$wxUSE_LISTBOX
11488 fi
11489
11490 { echo "$as_me:$LINENO: result: $result" >&5
11491 echo "${ECHO_T}$result" >&6; }
11492
11493
11494 enablestring=
11495 defaultval=$wxUSE_ALL_FEATURES
11496 if test -z "$defaultval"; then
11497 if test x"$enablestring" = xdisable; then
11498 defaultval=yes
11499 else
11500 defaultval=no
11501 fi
11502 fi
11503
11504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11505 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11506 # Check whether --enable-listctrl was given.
11507 if test "${enable_listctrl+set}" = set; then
11508 enableval=$enable_listctrl;
11509 if test "$enableval" = yes; then
11510 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11511 else
11512 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11513 fi
11514
11515 else
11516
11517 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11518
11519 fi
11520
11521
11522 eval "$wx_cv_use_listctrl"
11523
11524 if test x"$enablestring" = xdisable; then
11525 if test $wxUSE_LISTCTRL = no; then
11526 result=yes
11527 else
11528 result=no
11529 fi
11530 else
11531 result=$wxUSE_LISTCTRL
11532 fi
11533
11534 { echo "$as_me:$LINENO: result: $result" >&5
11535 echo "${ECHO_T}$result" >&6; }
11536
11537
11538 enablestring=
11539 defaultval=$wxUSE_ALL_FEATURES
11540 if test -z "$defaultval"; then
11541 if test x"$enablestring" = xdisable; then
11542 defaultval=yes
11543 else
11544 defaultval=no
11545 fi
11546 fi
11547
11548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11549 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11550 # Check whether --enable-notebook was given.
11551 if test "${enable_notebook+set}" = set; then
11552 enableval=$enable_notebook;
11553 if test "$enableval" = yes; then
11554 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11555 else
11556 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11557 fi
11558
11559 else
11560
11561 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11562
11563 fi
11564
11565
11566 eval "$wx_cv_use_notebook"
11567
11568 if test x"$enablestring" = xdisable; then
11569 if test $wxUSE_NOTEBOOK = no; then
11570 result=yes
11571 else
11572 result=no
11573 fi
11574 else
11575 result=$wxUSE_NOTEBOOK
11576 fi
11577
11578 { echo "$as_me:$LINENO: result: $result" >&5
11579 echo "${ECHO_T}$result" >&6; }
11580
11581
11582 enablestring=
11583 defaultval=$wxUSE_ALL_FEATURES
11584 if test -z "$defaultval"; then
11585 if test x"$enablestring" = xdisable; then
11586 defaultval=yes
11587 else
11588 defaultval=no
11589 fi
11590 fi
11591
11592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11593 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11594 # Check whether --enable-notifmsg was given.
11595 if test "${enable_notifmsg+set}" = set; then
11596 enableval=$enable_notifmsg;
11597 if test "$enableval" = yes; then
11598 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11599 else
11600 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11601 fi
11602
11603 else
11604
11605 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11606
11607 fi
11608
11609
11610 eval "$wx_cv_use_notifmsg"
11611
11612 if test x"$enablestring" = xdisable; then
11613 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11614 result=yes
11615 else
11616 result=no
11617 fi
11618 else
11619 result=$wxUSE_NOTIFICATION_MESSAGE
11620 fi
11621
11622 { echo "$as_me:$LINENO: result: $result" >&5
11623 echo "${ECHO_T}$result" >&6; }
11624
11625
11626 enablestring=
11627 defaultval=$wxUSE_ALL_FEATURES
11628 if test -z "$defaultval"; then
11629 if test x"$enablestring" = xdisable; then
11630 defaultval=yes
11631 else
11632 defaultval=no
11633 fi
11634 fi
11635
11636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11637 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11638 # Check whether --enable-odcombobox was given.
11639 if test "${enable_odcombobox+set}" = set; then
11640 enableval=$enable_odcombobox;
11641 if test "$enableval" = yes; then
11642 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11643 else
11644 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11645 fi
11646
11647 else
11648
11649 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11650
11651 fi
11652
11653
11654 eval "$wx_cv_use_odcombobox"
11655
11656 if test x"$enablestring" = xdisable; then
11657 if test $wxUSE_ODCOMBOBOX = no; then
11658 result=yes
11659 else
11660 result=no
11661 fi
11662 else
11663 result=$wxUSE_ODCOMBOBOX
11664 fi
11665
11666 { echo "$as_me:$LINENO: result: $result" >&5
11667 echo "${ECHO_T}$result" >&6; }
11668
11669
11670 enablestring=
11671 defaultval=$wxUSE_ALL_FEATURES
11672 if test -z "$defaultval"; then
11673 if test x"$enablestring" = xdisable; then
11674 defaultval=yes
11675 else
11676 defaultval=no
11677 fi
11678 fi
11679
11680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11681 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11682 # Check whether --enable-popupwin was given.
11683 if test "${enable_popupwin+set}" = set; then
11684 enableval=$enable_popupwin;
11685 if test "$enableval" = yes; then
11686 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11687 else
11688 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11689 fi
11690
11691 else
11692
11693 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11694
11695 fi
11696
11697
11698 eval "$wx_cv_use_popupwin"
11699
11700 if test x"$enablestring" = xdisable; then
11701 if test $wxUSE_POPUPWIN = no; then
11702 result=yes
11703 else
11704 result=no
11705 fi
11706 else
11707 result=$wxUSE_POPUPWIN
11708 fi
11709
11710 { echo "$as_me:$LINENO: result: $result" >&5
11711 echo "${ECHO_T}$result" >&6; }
11712
11713
11714 enablestring=
11715 defaultval=$wxUSE_ALL_FEATURES
11716 if test -z "$defaultval"; then
11717 if test x"$enablestring" = xdisable; then
11718 defaultval=yes
11719 else
11720 defaultval=no
11721 fi
11722 fi
11723
11724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11725 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11726 # Check whether --enable-radiobox was given.
11727 if test "${enable_radiobox+set}" = set; then
11728 enableval=$enable_radiobox;
11729 if test "$enableval" = yes; then
11730 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11731 else
11732 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11733 fi
11734
11735 else
11736
11737 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11738
11739 fi
11740
11741
11742 eval "$wx_cv_use_radiobox"
11743
11744 if test x"$enablestring" = xdisable; then
11745 if test $wxUSE_RADIOBOX = no; then
11746 result=yes
11747 else
11748 result=no
11749 fi
11750 else
11751 result=$wxUSE_RADIOBOX
11752 fi
11753
11754 { echo "$as_me:$LINENO: result: $result" >&5
11755 echo "${ECHO_T}$result" >&6; }
11756
11757
11758 enablestring=
11759 defaultval=$wxUSE_ALL_FEATURES
11760 if test -z "$defaultval"; then
11761 if test x"$enablestring" = xdisable; then
11762 defaultval=yes
11763 else
11764 defaultval=no
11765 fi
11766 fi
11767
11768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11769 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11770 # Check whether --enable-radiobtn was given.
11771 if test "${enable_radiobtn+set}" = set; then
11772 enableval=$enable_radiobtn;
11773 if test "$enableval" = yes; then
11774 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11775 else
11776 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11777 fi
11778
11779 else
11780
11781 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11782
11783 fi
11784
11785
11786 eval "$wx_cv_use_radiobtn"
11787
11788 if test x"$enablestring" = xdisable; then
11789 if test $wxUSE_RADIOBTN = no; then
11790 result=yes
11791 else
11792 result=no
11793 fi
11794 else
11795 result=$wxUSE_RADIOBTN
11796 fi
11797
11798 { echo "$as_me:$LINENO: result: $result" >&5
11799 echo "${ECHO_T}$result" >&6; }
11800
11801
11802 enablestring=
11803 defaultval=$wxUSE_ALL_FEATURES
11804 if test -z "$defaultval"; then
11805 if test x"$enablestring" = xdisable; then
11806 defaultval=yes
11807 else
11808 defaultval=no
11809 fi
11810 fi
11811
11812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11813 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11814 # Check whether --enable-richmsgdlg was given.
11815 if test "${enable_richmsgdlg+set}" = set; then
11816 enableval=$enable_richmsgdlg;
11817 if test "$enableval" = yes; then
11818 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11819 else
11820 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11821 fi
11822
11823 else
11824
11825 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11826
11827 fi
11828
11829
11830 eval "$wx_cv_use_richmsgdlg"
11831
11832 if test x"$enablestring" = xdisable; then
11833 if test $wxUSE_RICHMSGDLG = no; then
11834 result=yes
11835 else
11836 result=no
11837 fi
11838 else
11839 result=$wxUSE_RICHMSGDLG
11840 fi
11841
11842 { echo "$as_me:$LINENO: result: $result" >&5
11843 echo "${ECHO_T}$result" >&6; }
11844
11845
11846 enablestring=
11847 defaultval=$wxUSE_ALL_FEATURES
11848 if test -z "$defaultval"; then
11849 if test x"$enablestring" = xdisable; then
11850 defaultval=yes
11851 else
11852 defaultval=no
11853 fi
11854 fi
11855
11856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11857 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11858 # Check whether --enable-rearrangectrl was given.
11859 if test "${enable_rearrangectrl+set}" = set; then
11860 enableval=$enable_rearrangectrl;
11861 if test "$enableval" = yes; then
11862 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11863 else
11864 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11865 fi
11866
11867 else
11868
11869 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11870
11871 fi
11872
11873
11874 eval "$wx_cv_use_rearrangectrl"
11875
11876 if test x"$enablestring" = xdisable; then
11877 if test $wxUSE_REARRANGECTRL = no; then
11878 result=yes
11879 else
11880 result=no
11881 fi
11882 else
11883 result=$wxUSE_REARRANGECTRL
11884 fi
11885
11886 { echo "$as_me:$LINENO: result: $result" >&5
11887 echo "${ECHO_T}$result" >&6; }
11888
11889
11890 enablestring=
11891 defaultval=$wxUSE_ALL_FEATURES
11892 if test -z "$defaultval"; then
11893 if test x"$enablestring" = xdisable; then
11894 defaultval=yes
11895 else
11896 defaultval=no
11897 fi
11898 fi
11899
11900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11901 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11902 # Check whether --enable-sash was given.
11903 if test "${enable_sash+set}" = set; then
11904 enableval=$enable_sash;
11905 if test "$enableval" = yes; then
11906 wx_cv_use_sash='wxUSE_SASH=yes'
11907 else
11908 wx_cv_use_sash='wxUSE_SASH=no'
11909 fi
11910
11911 else
11912
11913 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11914
11915 fi
11916
11917
11918 eval "$wx_cv_use_sash"
11919
11920 if test x"$enablestring" = xdisable; then
11921 if test $wxUSE_SASH = no; then
11922 result=yes
11923 else
11924 result=no
11925 fi
11926 else
11927 result=$wxUSE_SASH
11928 fi
11929
11930 { echo "$as_me:$LINENO: result: $result" >&5
11931 echo "${ECHO_T}$result" >&6; }
11932
11933
11934 enablestring=
11935 defaultval=$wxUSE_ALL_FEATURES
11936 if test -z "$defaultval"; then
11937 if test x"$enablestring" = xdisable; then
11938 defaultval=yes
11939 else
11940 defaultval=no
11941 fi
11942 fi
11943
11944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11945 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11946 # Check whether --enable-scrollbar was given.
11947 if test "${enable_scrollbar+set}" = set; then
11948 enableval=$enable_scrollbar;
11949 if test "$enableval" = yes; then
11950 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11951 else
11952 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11953 fi
11954
11955 else
11956
11957 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11958
11959 fi
11960
11961
11962 eval "$wx_cv_use_scrollbar"
11963
11964 if test x"$enablestring" = xdisable; then
11965 if test $wxUSE_SCROLLBAR = no; then
11966 result=yes
11967 else
11968 result=no
11969 fi
11970 else
11971 result=$wxUSE_SCROLLBAR
11972 fi
11973
11974 { echo "$as_me:$LINENO: result: $result" >&5
11975 echo "${ECHO_T}$result" >&6; }
11976
11977
11978 enablestring=
11979 defaultval=$wxUSE_ALL_FEATURES
11980 if test -z "$defaultval"; then
11981 if test x"$enablestring" = xdisable; then
11982 defaultval=yes
11983 else
11984 defaultval=no
11985 fi
11986 fi
11987
11988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11989 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11990 # Check whether --enable-searchctrl was given.
11991 if test "${enable_searchctrl+set}" = set; then
11992 enableval=$enable_searchctrl;
11993 if test "$enableval" = yes; then
11994 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11995 else
11996 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11997 fi
11998
11999 else
12000
12001 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12002
12003 fi
12004
12005
12006 eval "$wx_cv_use_searchctrl"
12007
12008 if test x"$enablestring" = xdisable; then
12009 if test $wxUSE_SEARCHCTRL = no; then
12010 result=yes
12011 else
12012 result=no
12013 fi
12014 else
12015 result=$wxUSE_SEARCHCTRL
12016 fi
12017
12018 { echo "$as_me:$LINENO: result: $result" >&5
12019 echo "${ECHO_T}$result" >&6; }
12020
12021
12022 enablestring=
12023 defaultval=$wxUSE_ALL_FEATURES
12024 if test -z "$defaultval"; then
12025 if test x"$enablestring" = xdisable; then
12026 defaultval=yes
12027 else
12028 defaultval=no
12029 fi
12030 fi
12031
12032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12033 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12034 # Check whether --enable-slider was given.
12035 if test "${enable_slider+set}" = set; then
12036 enableval=$enable_slider;
12037 if test "$enableval" = yes; then
12038 wx_cv_use_slider='wxUSE_SLIDER=yes'
12039 else
12040 wx_cv_use_slider='wxUSE_SLIDER=no'
12041 fi
12042
12043 else
12044
12045 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12046
12047 fi
12048
12049
12050 eval "$wx_cv_use_slider"
12051
12052 if test x"$enablestring" = xdisable; then
12053 if test $wxUSE_SLIDER = no; then
12054 result=yes
12055 else
12056 result=no
12057 fi
12058 else
12059 result=$wxUSE_SLIDER
12060 fi
12061
12062 { echo "$as_me:$LINENO: result: $result" >&5
12063 echo "${ECHO_T}$result" >&6; }
12064
12065
12066 enablestring=
12067 defaultval=$wxUSE_ALL_FEATURES
12068 if test -z "$defaultval"; then
12069 if test x"$enablestring" = xdisable; then
12070 defaultval=yes
12071 else
12072 defaultval=no
12073 fi
12074 fi
12075
12076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12077 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12078 # Check whether --enable-spinbtn was given.
12079 if test "${enable_spinbtn+set}" = set; then
12080 enableval=$enable_spinbtn;
12081 if test "$enableval" = yes; then
12082 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12083 else
12084 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12085 fi
12086
12087 else
12088
12089 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12090
12091 fi
12092
12093
12094 eval "$wx_cv_use_spinbtn"
12095
12096 if test x"$enablestring" = xdisable; then
12097 if test $wxUSE_SPINBTN = no; then
12098 result=yes
12099 else
12100 result=no
12101 fi
12102 else
12103 result=$wxUSE_SPINBTN
12104 fi
12105
12106 { echo "$as_me:$LINENO: result: $result" >&5
12107 echo "${ECHO_T}$result" >&6; }
12108
12109
12110 enablestring=
12111 defaultval=$wxUSE_ALL_FEATURES
12112 if test -z "$defaultval"; then
12113 if test x"$enablestring" = xdisable; then
12114 defaultval=yes
12115 else
12116 defaultval=no
12117 fi
12118 fi
12119
12120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12121 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12122 # Check whether --enable-spinctrl was given.
12123 if test "${enable_spinctrl+set}" = set; then
12124 enableval=$enable_spinctrl;
12125 if test "$enableval" = yes; then
12126 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12127 else
12128 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12129 fi
12130
12131 else
12132
12133 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12134
12135 fi
12136
12137
12138 eval "$wx_cv_use_spinctrl"
12139
12140 if test x"$enablestring" = xdisable; then
12141 if test $wxUSE_SPINCTRL = no; then
12142 result=yes
12143 else
12144 result=no
12145 fi
12146 else
12147 result=$wxUSE_SPINCTRL
12148 fi
12149
12150 { echo "$as_me:$LINENO: result: $result" >&5
12151 echo "${ECHO_T}$result" >&6; }
12152
12153
12154 enablestring=
12155 defaultval=$wxUSE_ALL_FEATURES
12156 if test -z "$defaultval"; then
12157 if test x"$enablestring" = xdisable; then
12158 defaultval=yes
12159 else
12160 defaultval=no
12161 fi
12162 fi
12163
12164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12165 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12166 # Check whether --enable-splitter was given.
12167 if test "${enable_splitter+set}" = set; then
12168 enableval=$enable_splitter;
12169 if test "$enableval" = yes; then
12170 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12171 else
12172 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12173 fi
12174
12175 else
12176
12177 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12178
12179 fi
12180
12181
12182 eval "$wx_cv_use_splitter"
12183
12184 if test x"$enablestring" = xdisable; then
12185 if test $wxUSE_SPLITTER = no; then
12186 result=yes
12187 else
12188 result=no
12189 fi
12190 else
12191 result=$wxUSE_SPLITTER
12192 fi
12193
12194 { echo "$as_me:$LINENO: result: $result" >&5
12195 echo "${ECHO_T}$result" >&6; }
12196
12197
12198 enablestring=
12199 defaultval=$wxUSE_ALL_FEATURES
12200 if test -z "$defaultval"; then
12201 if test x"$enablestring" = xdisable; then
12202 defaultval=yes
12203 else
12204 defaultval=no
12205 fi
12206 fi
12207
12208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12209 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12210 # Check whether --enable-statbmp was given.
12211 if test "${enable_statbmp+set}" = set; then
12212 enableval=$enable_statbmp;
12213 if test "$enableval" = yes; then
12214 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12215 else
12216 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12217 fi
12218
12219 else
12220
12221 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12222
12223 fi
12224
12225
12226 eval "$wx_cv_use_statbmp"
12227
12228 if test x"$enablestring" = xdisable; then
12229 if test $wxUSE_STATBMP = no; then
12230 result=yes
12231 else
12232 result=no
12233 fi
12234 else
12235 result=$wxUSE_STATBMP
12236 fi
12237
12238 { echo "$as_me:$LINENO: result: $result" >&5
12239 echo "${ECHO_T}$result" >&6; }
12240
12241
12242 enablestring=
12243 defaultval=$wxUSE_ALL_FEATURES
12244 if test -z "$defaultval"; then
12245 if test x"$enablestring" = xdisable; then
12246 defaultval=yes
12247 else
12248 defaultval=no
12249 fi
12250 fi
12251
12252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12253 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12254 # Check whether --enable-statbox was given.
12255 if test "${enable_statbox+set}" = set; then
12256 enableval=$enable_statbox;
12257 if test "$enableval" = yes; then
12258 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12259 else
12260 wx_cv_use_statbox='wxUSE_STATBOX=no'
12261 fi
12262
12263 else
12264
12265 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12266
12267 fi
12268
12269
12270 eval "$wx_cv_use_statbox"
12271
12272 if test x"$enablestring" = xdisable; then
12273 if test $wxUSE_STATBOX = no; then
12274 result=yes
12275 else
12276 result=no
12277 fi
12278 else
12279 result=$wxUSE_STATBOX
12280 fi
12281
12282 { echo "$as_me:$LINENO: result: $result" >&5
12283 echo "${ECHO_T}$result" >&6; }
12284
12285
12286 enablestring=
12287 defaultval=$wxUSE_ALL_FEATURES
12288 if test -z "$defaultval"; then
12289 if test x"$enablestring" = xdisable; then
12290 defaultval=yes
12291 else
12292 defaultval=no
12293 fi
12294 fi
12295
12296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12297 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12298 # Check whether --enable-statline was given.
12299 if test "${enable_statline+set}" = set; then
12300 enableval=$enable_statline;
12301 if test "$enableval" = yes; then
12302 wx_cv_use_statline='wxUSE_STATLINE=yes'
12303 else
12304 wx_cv_use_statline='wxUSE_STATLINE=no'
12305 fi
12306
12307 else
12308
12309 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12310
12311 fi
12312
12313
12314 eval "$wx_cv_use_statline"
12315
12316 if test x"$enablestring" = xdisable; then
12317 if test $wxUSE_STATLINE = no; then
12318 result=yes
12319 else
12320 result=no
12321 fi
12322 else
12323 result=$wxUSE_STATLINE
12324 fi
12325
12326 { echo "$as_me:$LINENO: result: $result" >&5
12327 echo "${ECHO_T}$result" >&6; }
12328
12329
12330 enablestring=
12331 defaultval=$wxUSE_ALL_FEATURES
12332 if test -z "$defaultval"; then
12333 if test x"$enablestring" = xdisable; then
12334 defaultval=yes
12335 else
12336 defaultval=no
12337 fi
12338 fi
12339
12340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12341 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12342 # Check whether --enable-stattext was given.
12343 if test "${enable_stattext+set}" = set; then
12344 enableval=$enable_stattext;
12345 if test "$enableval" = yes; then
12346 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12347 else
12348 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12349 fi
12350
12351 else
12352
12353 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12354
12355 fi
12356
12357
12358 eval "$wx_cv_use_stattext"
12359
12360 if test x"$enablestring" = xdisable; then
12361 if test $wxUSE_STATTEXT = no; then
12362 result=yes
12363 else
12364 result=no
12365 fi
12366 else
12367 result=$wxUSE_STATTEXT
12368 fi
12369
12370 { echo "$as_me:$LINENO: result: $result" >&5
12371 echo "${ECHO_T}$result" >&6; }
12372
12373
12374 enablestring=
12375 defaultval=$wxUSE_ALL_FEATURES
12376 if test -z "$defaultval"; then
12377 if test x"$enablestring" = xdisable; then
12378 defaultval=yes
12379 else
12380 defaultval=no
12381 fi
12382 fi
12383
12384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12385 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12386 # Check whether --enable-statusbar was given.
12387 if test "${enable_statusbar+set}" = set; then
12388 enableval=$enable_statusbar;
12389 if test "$enableval" = yes; then
12390 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12391 else
12392 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12393 fi
12394
12395 else
12396
12397 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12398
12399 fi
12400
12401
12402 eval "$wx_cv_use_statusbar"
12403
12404 if test x"$enablestring" = xdisable; then
12405 if test $wxUSE_STATUSBAR = no; then
12406 result=yes
12407 else
12408 result=no
12409 fi
12410 else
12411 result=$wxUSE_STATUSBAR
12412 fi
12413
12414 { echo "$as_me:$LINENO: result: $result" >&5
12415 echo "${ECHO_T}$result" >&6; }
12416
12417
12418 enablestring=
12419 defaultval=$wxUSE_ALL_FEATURES
12420 if test -z "$defaultval"; then
12421 if test x"$enablestring" = xdisable; then
12422 defaultval=yes
12423 else
12424 defaultval=no
12425 fi
12426 fi
12427
12428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12429 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12430 # Check whether --enable-taskbaricon was given.
12431 if test "${enable_taskbaricon+set}" = set; then
12432 enableval=$enable_taskbaricon;
12433 if test "$enableval" = yes; then
12434 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12435 else
12436 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12437 fi
12438
12439 else
12440
12441 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12442
12443 fi
12444
12445
12446 eval "$wx_cv_use_taskbaricon"
12447
12448 if test x"$enablestring" = xdisable; then
12449 if test $wxUSE_TASKBARICON = no; then
12450 result=yes
12451 else
12452 result=no
12453 fi
12454 else
12455 result=$wxUSE_TASKBARICON
12456 fi
12457
12458 { echo "$as_me:$LINENO: result: $result" >&5
12459 echo "${ECHO_T}$result" >&6; }
12460
12461
12462 enablestring=
12463 defaultval=$wxUSE_ALL_FEATURES
12464 if test -z "$defaultval"; then
12465 if test x"$enablestring" = xdisable; then
12466 defaultval=yes
12467 else
12468 defaultval=no
12469 fi
12470 fi
12471
12472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12473 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12474 # Check whether --enable-tbarnative was given.
12475 if test "${enable_tbarnative+set}" = set; then
12476 enableval=$enable_tbarnative;
12477 if test "$enableval" = yes; then
12478 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12479 else
12480 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12481 fi
12482
12483 else
12484
12485 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12486
12487 fi
12488
12489
12490 eval "$wx_cv_use_tbarnative"
12491
12492 if test x"$enablestring" = xdisable; then
12493 if test $wxUSE_TOOLBAR_NATIVE = no; then
12494 result=yes
12495 else
12496 result=no
12497 fi
12498 else
12499 result=$wxUSE_TOOLBAR_NATIVE
12500 fi
12501
12502 { echo "$as_me:$LINENO: result: $result" >&5
12503 echo "${ECHO_T}$result" >&6; }
12504
12505
12506 enablestring=
12507 defaultval=$wxUSE_ALL_FEATURES
12508 if test -z "$defaultval"; then
12509 if test x"$enablestring" = xdisable; then
12510 defaultval=yes
12511 else
12512 defaultval=no
12513 fi
12514 fi
12515
12516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12517 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12518 # Check whether --enable-textctrl was given.
12519 if test "${enable_textctrl+set}" = set; then
12520 enableval=$enable_textctrl;
12521 if test "$enableval" = yes; then
12522 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12523 else
12524 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12525 fi
12526
12527 else
12528
12529 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12530
12531 fi
12532
12533
12534 eval "$wx_cv_use_textctrl"
12535
12536 if test x"$enablestring" = xdisable; then
12537 if test $wxUSE_TEXTCTRL = no; then
12538 result=yes
12539 else
12540 result=no
12541 fi
12542 else
12543 result=$wxUSE_TEXTCTRL
12544 fi
12545
12546 { echo "$as_me:$LINENO: result: $result" >&5
12547 echo "${ECHO_T}$result" >&6; }
12548
12549
12550 enablestring=
12551 defaultval=$wxUSE_ALL_FEATURES
12552 if test -z "$defaultval"; then
12553 if test x"$enablestring" = xdisable; then
12554 defaultval=yes
12555 else
12556 defaultval=no
12557 fi
12558 fi
12559
12560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12561 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12562 # Check whether --enable-tipwindow was given.
12563 if test "${enable_tipwindow+set}" = set; then
12564 enableval=$enable_tipwindow;
12565 if test "$enableval" = yes; then
12566 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12567 else
12568 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12569 fi
12570
12571 else
12572
12573 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12574
12575 fi
12576
12577
12578 eval "$wx_cv_use_tipwindow"
12579
12580 if test x"$enablestring" = xdisable; then
12581 if test $wxUSE_TIPWINDOW = no; then
12582 result=yes
12583 else
12584 result=no
12585 fi
12586 else
12587 result=$wxUSE_TIPWINDOW
12588 fi
12589
12590 { echo "$as_me:$LINENO: result: $result" >&5
12591 echo "${ECHO_T}$result" >&6; }
12592
12593
12594 enablestring=
12595 defaultval=$wxUSE_ALL_FEATURES
12596 if test -z "$defaultval"; then
12597 if test x"$enablestring" = xdisable; then
12598 defaultval=yes
12599 else
12600 defaultval=no
12601 fi
12602 fi
12603
12604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12605 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12606 # Check whether --enable-togglebtn was given.
12607 if test "${enable_togglebtn+set}" = set; then
12608 enableval=$enable_togglebtn;
12609 if test "$enableval" = yes; then
12610 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12611 else
12612 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12613 fi
12614
12615 else
12616
12617 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12618
12619 fi
12620
12621
12622 eval "$wx_cv_use_togglebtn"
12623
12624 if test x"$enablestring" = xdisable; then
12625 if test $wxUSE_TOGGLEBTN = no; then
12626 result=yes
12627 else
12628 result=no
12629 fi
12630 else
12631 result=$wxUSE_TOGGLEBTN
12632 fi
12633
12634 { echo "$as_me:$LINENO: result: $result" >&5
12635 echo "${ECHO_T}$result" >&6; }
12636
12637
12638 enablestring=
12639 defaultval=$wxUSE_ALL_FEATURES
12640 if test -z "$defaultval"; then
12641 if test x"$enablestring" = xdisable; then
12642 defaultval=yes
12643 else
12644 defaultval=no
12645 fi
12646 fi
12647
12648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12649 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12650 # Check whether --enable-toolbar was given.
12651 if test "${enable_toolbar+set}" = set; then
12652 enableval=$enable_toolbar;
12653 if test "$enableval" = yes; then
12654 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12655 else
12656 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12657 fi
12658
12659 else
12660
12661 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12662
12663 fi
12664
12665
12666 eval "$wx_cv_use_toolbar"
12667
12668 if test x"$enablestring" = xdisable; then
12669 if test $wxUSE_TOOLBAR = no; then
12670 result=yes
12671 else
12672 result=no
12673 fi
12674 else
12675 result=$wxUSE_TOOLBAR
12676 fi
12677
12678 { echo "$as_me:$LINENO: result: $result" >&5
12679 echo "${ECHO_T}$result" >&6; }
12680
12681
12682 enablestring=
12683 defaultval=$wxUSE_ALL_FEATURES
12684 if test -z "$defaultval"; then
12685 if test x"$enablestring" = xdisable; then
12686 defaultval=yes
12687 else
12688 defaultval=no
12689 fi
12690 fi
12691
12692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12693 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12694 # Check whether --enable-toolbook was given.
12695 if test "${enable_toolbook+set}" = set; then
12696 enableval=$enable_toolbook;
12697 if test "$enableval" = yes; then
12698 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12699 else
12700 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12701 fi
12702
12703 else
12704
12705 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12706
12707 fi
12708
12709
12710 eval "$wx_cv_use_toolbook"
12711
12712 if test x"$enablestring" = xdisable; then
12713 if test $wxUSE_TOOLBOOK = no; then
12714 result=yes
12715 else
12716 result=no
12717 fi
12718 else
12719 result=$wxUSE_TOOLBOOK
12720 fi
12721
12722 { echo "$as_me:$LINENO: result: $result" >&5
12723 echo "${ECHO_T}$result" >&6; }
12724
12725
12726 enablestring=
12727 defaultval=$wxUSE_ALL_FEATURES
12728 if test -z "$defaultval"; then
12729 if test x"$enablestring" = xdisable; then
12730 defaultval=yes
12731 else
12732 defaultval=no
12733 fi
12734 fi
12735
12736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12737 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12738 # Check whether --enable-treebook was given.
12739 if test "${enable_treebook+set}" = set; then
12740 enableval=$enable_treebook;
12741 if test "$enableval" = yes; then
12742 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12743 else
12744 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12745 fi
12746
12747 else
12748
12749 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12750
12751 fi
12752
12753
12754 eval "$wx_cv_use_treebook"
12755
12756 if test x"$enablestring" = xdisable; then
12757 if test $wxUSE_TREEBOOK = no; then
12758 result=yes
12759 else
12760 result=no
12761 fi
12762 else
12763 result=$wxUSE_TREEBOOK
12764 fi
12765
12766 { echo "$as_me:$LINENO: result: $result" >&5
12767 echo "${ECHO_T}$result" >&6; }
12768
12769
12770 enablestring=
12771 defaultval=$wxUSE_ALL_FEATURES
12772 if test -z "$defaultval"; then
12773 if test x"$enablestring" = xdisable; then
12774 defaultval=yes
12775 else
12776 defaultval=no
12777 fi
12778 fi
12779
12780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12781 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12782 # Check whether --enable-treectrl was given.
12783 if test "${enable_treectrl+set}" = set; then
12784 enableval=$enable_treectrl;
12785 if test "$enableval" = yes; then
12786 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12787 else
12788 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12789 fi
12790
12791 else
12792
12793 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12794
12795 fi
12796
12797
12798 eval "$wx_cv_use_treectrl"
12799
12800 if test x"$enablestring" = xdisable; then
12801 if test $wxUSE_TREECTRL = no; then
12802 result=yes
12803 else
12804 result=no
12805 fi
12806 else
12807 result=$wxUSE_TREECTRL
12808 fi
12809
12810 { echo "$as_me:$LINENO: result: $result" >&5
12811 echo "${ECHO_T}$result" >&6; }
12812
12813
12814
12815
12816 enablestring=
12817 defaultval=$wxUSE_ALL_FEATURES
12818 if test -z "$defaultval"; then
12819 if test x"$enablestring" = xdisable; then
12820 defaultval=yes
12821 else
12822 defaultval=no
12823 fi
12824 fi
12825
12826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12827 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12828 # Check whether --enable-commondlg was given.
12829 if test "${enable_commondlg+set}" = set; then
12830 enableval=$enable_commondlg;
12831 if test "$enableval" = yes; then
12832 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12833 else
12834 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12835 fi
12836
12837 else
12838
12839 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12840
12841 fi
12842
12843
12844 eval "$wx_cv_use_commondlg"
12845
12846 if test x"$enablestring" = xdisable; then
12847 if test $wxUSE_COMMONDLGS = no; then
12848 result=yes
12849 else
12850 result=no
12851 fi
12852 else
12853 result=$wxUSE_COMMONDLGS
12854 fi
12855
12856 { echo "$as_me:$LINENO: result: $result" >&5
12857 echo "${ECHO_T}$result" >&6; }
12858
12859
12860 enablestring=
12861 defaultval=$wxUSE_ALL_FEATURES
12862 if test -z "$defaultval"; then
12863 if test x"$enablestring" = xdisable; then
12864 defaultval=yes
12865 else
12866 defaultval=no
12867 fi
12868 fi
12869
12870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12871 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12872 # Check whether --enable-aboutdlg was given.
12873 if test "${enable_aboutdlg+set}" = set; then
12874 enableval=$enable_aboutdlg;
12875 if test "$enableval" = yes; then
12876 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12877 else
12878 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12879 fi
12880
12881 else
12882
12883 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12884
12885 fi
12886
12887
12888 eval "$wx_cv_use_aboutdlg"
12889
12890 if test x"$enablestring" = xdisable; then
12891 if test $wxUSE_ABOUTDLG = no; then
12892 result=yes
12893 else
12894 result=no
12895 fi
12896 else
12897 result=$wxUSE_ABOUTDLG
12898 fi
12899
12900 { echo "$as_me:$LINENO: result: $result" >&5
12901 echo "${ECHO_T}$result" >&6; }
12902
12903
12904 enablestring=
12905 defaultval=$wxUSE_ALL_FEATURES
12906 if test -z "$defaultval"; then
12907 if test x"$enablestring" = xdisable; then
12908 defaultval=yes
12909 else
12910 defaultval=no
12911 fi
12912 fi
12913
12914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12915 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12916 # Check whether --enable-choicedlg was given.
12917 if test "${enable_choicedlg+set}" = set; then
12918 enableval=$enable_choicedlg;
12919 if test "$enableval" = yes; then
12920 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12921 else
12922 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12923 fi
12924
12925 else
12926
12927 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12928
12929 fi
12930
12931
12932 eval "$wx_cv_use_choicedlg"
12933
12934 if test x"$enablestring" = xdisable; then
12935 if test $wxUSE_CHOICEDLG = no; then
12936 result=yes
12937 else
12938 result=no
12939 fi
12940 else
12941 result=$wxUSE_CHOICEDLG
12942 fi
12943
12944 { echo "$as_me:$LINENO: result: $result" >&5
12945 echo "${ECHO_T}$result" >&6; }
12946
12947
12948 enablestring=
12949 defaultval=$wxUSE_ALL_FEATURES
12950 if test -z "$defaultval"; then
12951 if test x"$enablestring" = xdisable; then
12952 defaultval=yes
12953 else
12954 defaultval=no
12955 fi
12956 fi
12957
12958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12959 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12960 # Check whether --enable-coldlg was given.
12961 if test "${enable_coldlg+set}" = set; then
12962 enableval=$enable_coldlg;
12963 if test "$enableval" = yes; then
12964 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12965 else
12966 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12967 fi
12968
12969 else
12970
12971 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12972
12973 fi
12974
12975
12976 eval "$wx_cv_use_coldlg"
12977
12978 if test x"$enablestring" = xdisable; then
12979 if test $wxUSE_COLOURDLG = no; then
12980 result=yes
12981 else
12982 result=no
12983 fi
12984 else
12985 result=$wxUSE_COLOURDLG
12986 fi
12987
12988 { echo "$as_me:$LINENO: result: $result" >&5
12989 echo "${ECHO_T}$result" >&6; }
12990
12991
12992 enablestring=
12993 defaultval=$wxUSE_ALL_FEATURES
12994 if test -z "$defaultval"; then
12995 if test x"$enablestring" = xdisable; then
12996 defaultval=yes
12997 else
12998 defaultval=no
12999 fi
13000 fi
13001
13002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13003 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13004 # Check whether --enable-filedlg was given.
13005 if test "${enable_filedlg+set}" = set; then
13006 enableval=$enable_filedlg;
13007 if test "$enableval" = yes; then
13008 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13009 else
13010 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13011 fi
13012
13013 else
13014
13015 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13016
13017 fi
13018
13019
13020 eval "$wx_cv_use_filedlg"
13021
13022 if test x"$enablestring" = xdisable; then
13023 if test $wxUSE_FILEDLG = no; then
13024 result=yes
13025 else
13026 result=no
13027 fi
13028 else
13029 result=$wxUSE_FILEDLG
13030 fi
13031
13032 { echo "$as_me:$LINENO: result: $result" >&5
13033 echo "${ECHO_T}$result" >&6; }
13034
13035
13036 enablestring=
13037 defaultval=$wxUSE_ALL_FEATURES
13038 if test -z "$defaultval"; then
13039 if test x"$enablestring" = xdisable; then
13040 defaultval=yes
13041 else
13042 defaultval=no
13043 fi
13044 fi
13045
13046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13047 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13048 # Check whether --enable-finddlg was given.
13049 if test "${enable_finddlg+set}" = set; then
13050 enableval=$enable_finddlg;
13051 if test "$enableval" = yes; then
13052 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13053 else
13054 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13055 fi
13056
13057 else
13058
13059 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13060
13061 fi
13062
13063
13064 eval "$wx_cv_use_finddlg"
13065
13066 if test x"$enablestring" = xdisable; then
13067 if test $wxUSE_FINDREPLDLG = no; then
13068 result=yes
13069 else
13070 result=no
13071 fi
13072 else
13073 result=$wxUSE_FINDREPLDLG
13074 fi
13075
13076 { echo "$as_me:$LINENO: result: $result" >&5
13077 echo "${ECHO_T}$result" >&6; }
13078
13079
13080 enablestring=
13081 defaultval=$wxUSE_ALL_FEATURES
13082 if test -z "$defaultval"; then
13083 if test x"$enablestring" = xdisable; then
13084 defaultval=yes
13085 else
13086 defaultval=no
13087 fi
13088 fi
13089
13090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13091 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13092 # Check whether --enable-fontdlg was given.
13093 if test "${enable_fontdlg+set}" = set; then
13094 enableval=$enable_fontdlg;
13095 if test "$enableval" = yes; then
13096 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13097 else
13098 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13099 fi
13100
13101 else
13102
13103 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13104
13105 fi
13106
13107
13108 eval "$wx_cv_use_fontdlg"
13109
13110 if test x"$enablestring" = xdisable; then
13111 if test $wxUSE_FONTDLG = no; then
13112 result=yes
13113 else
13114 result=no
13115 fi
13116 else
13117 result=$wxUSE_FONTDLG
13118 fi
13119
13120 { echo "$as_me:$LINENO: result: $result" >&5
13121 echo "${ECHO_T}$result" >&6; }
13122
13123
13124 enablestring=
13125 defaultval=$wxUSE_ALL_FEATURES
13126 if test -z "$defaultval"; then
13127 if test x"$enablestring" = xdisable; then
13128 defaultval=yes
13129 else
13130 defaultval=no
13131 fi
13132 fi
13133
13134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13135 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13136 # Check whether --enable-dirdlg was given.
13137 if test "${enable_dirdlg+set}" = set; then
13138 enableval=$enable_dirdlg;
13139 if test "$enableval" = yes; then
13140 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13141 else
13142 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13143 fi
13144
13145 else
13146
13147 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13148
13149 fi
13150
13151
13152 eval "$wx_cv_use_dirdlg"
13153
13154 if test x"$enablestring" = xdisable; then
13155 if test $wxUSE_DIRDLG = no; then
13156 result=yes
13157 else
13158 result=no
13159 fi
13160 else
13161 result=$wxUSE_DIRDLG
13162 fi
13163
13164 { echo "$as_me:$LINENO: result: $result" >&5
13165 echo "${ECHO_T}$result" >&6; }
13166
13167
13168 enablestring=
13169 defaultval=$wxUSE_ALL_FEATURES
13170 if test -z "$defaultval"; then
13171 if test x"$enablestring" = xdisable; then
13172 defaultval=yes
13173 else
13174 defaultval=no
13175 fi
13176 fi
13177
13178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13179 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13180 # Check whether --enable-msgdlg was given.
13181 if test "${enable_msgdlg+set}" = set; then
13182 enableval=$enable_msgdlg;
13183 if test "$enableval" = yes; then
13184 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13185 else
13186 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13187 fi
13188
13189 else
13190
13191 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13192
13193 fi
13194
13195
13196 eval "$wx_cv_use_msgdlg"
13197
13198 if test x"$enablestring" = xdisable; then
13199 if test $wxUSE_MSGDLG = no; then
13200 result=yes
13201 else
13202 result=no
13203 fi
13204 else
13205 result=$wxUSE_MSGDLG
13206 fi
13207
13208 { echo "$as_me:$LINENO: result: $result" >&5
13209 echo "${ECHO_T}$result" >&6; }
13210
13211
13212 enablestring=
13213 defaultval=$wxUSE_ALL_FEATURES
13214 if test -z "$defaultval"; then
13215 if test x"$enablestring" = xdisable; then
13216 defaultval=yes
13217 else
13218 defaultval=no
13219 fi
13220 fi
13221
13222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13223 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13224 # Check whether --enable-numberdlg was given.
13225 if test "${enable_numberdlg+set}" = set; then
13226 enableval=$enable_numberdlg;
13227 if test "$enableval" = yes; then
13228 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13229 else
13230 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13231 fi
13232
13233 else
13234
13235 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13236
13237 fi
13238
13239
13240 eval "$wx_cv_use_numberdlg"
13241
13242 if test x"$enablestring" = xdisable; then
13243 if test $wxUSE_NUMBERDLG = no; then
13244 result=yes
13245 else
13246 result=no
13247 fi
13248 else
13249 result=$wxUSE_NUMBERDLG
13250 fi
13251
13252 { echo "$as_me:$LINENO: result: $result" >&5
13253 echo "${ECHO_T}$result" >&6; }
13254
13255
13256 enablestring=
13257 defaultval=$wxUSE_ALL_FEATURES
13258 if test -z "$defaultval"; then
13259 if test x"$enablestring" = xdisable; then
13260 defaultval=yes
13261 else
13262 defaultval=no
13263 fi
13264 fi
13265
13266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13267 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13268 # Check whether --enable-splash was given.
13269 if test "${enable_splash+set}" = set; then
13270 enableval=$enable_splash;
13271 if test "$enableval" = yes; then
13272 wx_cv_use_splash='wxUSE_SPLASH=yes'
13273 else
13274 wx_cv_use_splash='wxUSE_SPLASH=no'
13275 fi
13276
13277 else
13278
13279 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13280
13281 fi
13282
13283
13284 eval "$wx_cv_use_splash"
13285
13286 if test x"$enablestring" = xdisable; then
13287 if test $wxUSE_SPLASH = no; then
13288 result=yes
13289 else
13290 result=no
13291 fi
13292 else
13293 result=$wxUSE_SPLASH
13294 fi
13295
13296 { echo "$as_me:$LINENO: result: $result" >&5
13297 echo "${ECHO_T}$result" >&6; }
13298
13299
13300 enablestring=
13301 defaultval=$wxUSE_ALL_FEATURES
13302 if test -z "$defaultval"; then
13303 if test x"$enablestring" = xdisable; then
13304 defaultval=yes
13305 else
13306 defaultval=no
13307 fi
13308 fi
13309
13310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13311 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13312 # Check whether --enable-textdlg was given.
13313 if test "${enable_textdlg+set}" = set; then
13314 enableval=$enable_textdlg;
13315 if test "$enableval" = yes; then
13316 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13317 else
13318 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13319 fi
13320
13321 else
13322
13323 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13324
13325 fi
13326
13327
13328 eval "$wx_cv_use_textdlg"
13329
13330 if test x"$enablestring" = xdisable; then
13331 if test $wxUSE_TEXTDLG = no; then
13332 result=yes
13333 else
13334 result=no
13335 fi
13336 else
13337 result=$wxUSE_TEXTDLG
13338 fi
13339
13340 { echo "$as_me:$LINENO: result: $result" >&5
13341 echo "${ECHO_T}$result" >&6; }
13342
13343
13344 enablestring=
13345 defaultval=$wxUSE_ALL_FEATURES
13346 if test -z "$defaultval"; then
13347 if test x"$enablestring" = xdisable; then
13348 defaultval=yes
13349 else
13350 defaultval=no
13351 fi
13352 fi
13353
13354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13355 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13356 # Check whether --enable-tipdlg was given.
13357 if test "${enable_tipdlg+set}" = set; then
13358 enableval=$enable_tipdlg;
13359 if test "$enableval" = yes; then
13360 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13361 else
13362 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13363 fi
13364
13365 else
13366
13367 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13368
13369 fi
13370
13371
13372 eval "$wx_cv_use_tipdlg"
13373
13374 if test x"$enablestring" = xdisable; then
13375 if test $wxUSE_STARTUP_TIPS = no; then
13376 result=yes
13377 else
13378 result=no
13379 fi
13380 else
13381 result=$wxUSE_STARTUP_TIPS
13382 fi
13383
13384 { echo "$as_me:$LINENO: result: $result" >&5
13385 echo "${ECHO_T}$result" >&6; }
13386
13387
13388 enablestring=
13389 defaultval=$wxUSE_ALL_FEATURES
13390 if test -z "$defaultval"; then
13391 if test x"$enablestring" = xdisable; then
13392 defaultval=yes
13393 else
13394 defaultval=no
13395 fi
13396 fi
13397
13398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13399 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13400 # Check whether --enable-progressdlg was given.
13401 if test "${enable_progressdlg+set}" = set; then
13402 enableval=$enable_progressdlg;
13403 if test "$enableval" = yes; then
13404 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13405 else
13406 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13407 fi
13408
13409 else
13410
13411 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13412
13413 fi
13414
13415
13416 eval "$wx_cv_use_progressdlg"
13417
13418 if test x"$enablestring" = xdisable; then
13419 if test $wxUSE_PROGRESSDLG = no; then
13420 result=yes
13421 else
13422 result=no
13423 fi
13424 else
13425 result=$wxUSE_PROGRESSDLG
13426 fi
13427
13428 { echo "$as_me:$LINENO: result: $result" >&5
13429 echo "${ECHO_T}$result" >&6; }
13430
13431
13432 enablestring=
13433 defaultval=$wxUSE_ALL_FEATURES
13434 if test -z "$defaultval"; then
13435 if test x"$enablestring" = xdisable; then
13436 defaultval=yes
13437 else
13438 defaultval=no
13439 fi
13440 fi
13441
13442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13443 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13444 # Check whether --enable-wizarddlg was given.
13445 if test "${enable_wizarddlg+set}" = set; then
13446 enableval=$enable_wizarddlg;
13447 if test "$enableval" = yes; then
13448 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13449 else
13450 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13451 fi
13452
13453 else
13454
13455 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13456
13457 fi
13458
13459
13460 eval "$wx_cv_use_wizarddlg"
13461
13462 if test x"$enablestring" = xdisable; then
13463 if test $wxUSE_WIZARDDLG = no; then
13464 result=yes
13465 else
13466 result=no
13467 fi
13468 else
13469 result=$wxUSE_WIZARDDLG
13470 fi
13471
13472 { echo "$as_me:$LINENO: result: $result" >&5
13473 echo "${ECHO_T}$result" >&6; }
13474
13475
13476
13477
13478 enablestring=
13479 defaultval=$wxUSE_ALL_FEATURES
13480 if test -z "$defaultval"; then
13481 if test x"$enablestring" = xdisable; then
13482 defaultval=yes
13483 else
13484 defaultval=no
13485 fi
13486 fi
13487
13488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13489 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13490 # Check whether --enable-menus was given.
13491 if test "${enable_menus+set}" = set; then
13492 enableval=$enable_menus;
13493 if test "$enableval" = yes; then
13494 wx_cv_use_menus='wxUSE_MENUS=yes'
13495 else
13496 wx_cv_use_menus='wxUSE_MENUS=no'
13497 fi
13498
13499 else
13500
13501 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13502
13503 fi
13504
13505
13506 eval "$wx_cv_use_menus"
13507
13508 if test x"$enablestring" = xdisable; then
13509 if test $wxUSE_MENUS = no; then
13510 result=yes
13511 else
13512 result=no
13513 fi
13514 else
13515 result=$wxUSE_MENUS
13516 fi
13517
13518 { echo "$as_me:$LINENO: result: $result" >&5
13519 echo "${ECHO_T}$result" >&6; }
13520
13521
13522 enablestring=
13523 defaultval=$wxUSE_ALL_FEATURES
13524 if test -z "$defaultval"; then
13525 if test x"$enablestring" = xdisable; then
13526 defaultval=yes
13527 else
13528 defaultval=no
13529 fi
13530 fi
13531
13532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13533 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13534 # Check whether --enable-miniframe was given.
13535 if test "${enable_miniframe+set}" = set; then
13536 enableval=$enable_miniframe;
13537 if test "$enableval" = yes; then
13538 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13539 else
13540 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13541 fi
13542
13543 else
13544
13545 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13546
13547 fi
13548
13549
13550 eval "$wx_cv_use_miniframe"
13551
13552 if test x"$enablestring" = xdisable; then
13553 if test $wxUSE_MINIFRAME = no; then
13554 result=yes
13555 else
13556 result=no
13557 fi
13558 else
13559 result=$wxUSE_MINIFRAME
13560 fi
13561
13562 { echo "$as_me:$LINENO: result: $result" >&5
13563 echo "${ECHO_T}$result" >&6; }
13564
13565
13566 enablestring=
13567 defaultval=$wxUSE_ALL_FEATURES
13568 if test -z "$defaultval"; then
13569 if test x"$enablestring" = xdisable; then
13570 defaultval=yes
13571 else
13572 defaultval=no
13573 fi
13574 fi
13575
13576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13577 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13578 # Check whether --enable-tooltips was given.
13579 if test "${enable_tooltips+set}" = set; then
13580 enableval=$enable_tooltips;
13581 if test "$enableval" = yes; then
13582 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13583 else
13584 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13585 fi
13586
13587 else
13588
13589 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13590
13591 fi
13592
13593
13594 eval "$wx_cv_use_tooltips"
13595
13596 if test x"$enablestring" = xdisable; then
13597 if test $wxUSE_TOOLTIPS = no; then
13598 result=yes
13599 else
13600 result=no
13601 fi
13602 else
13603 result=$wxUSE_TOOLTIPS
13604 fi
13605
13606 { echo "$as_me:$LINENO: result: $result" >&5
13607 echo "${ECHO_T}$result" >&6; }
13608
13609
13610 enablestring=
13611 defaultval=$wxUSE_ALL_FEATURES
13612 if test -z "$defaultval"; then
13613 if test x"$enablestring" = xdisable; then
13614 defaultval=yes
13615 else
13616 defaultval=no
13617 fi
13618 fi
13619
13620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13621 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13622 # Check whether --enable-splines was given.
13623 if test "${enable_splines+set}" = set; then
13624 enableval=$enable_splines;
13625 if test "$enableval" = yes; then
13626 wx_cv_use_splines='wxUSE_SPLINES=yes'
13627 else
13628 wx_cv_use_splines='wxUSE_SPLINES=no'
13629 fi
13630
13631 else
13632
13633 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13634
13635 fi
13636
13637
13638 eval "$wx_cv_use_splines"
13639
13640 if test x"$enablestring" = xdisable; then
13641 if test $wxUSE_SPLINES = no; then
13642 result=yes
13643 else
13644 result=no
13645 fi
13646 else
13647 result=$wxUSE_SPLINES
13648 fi
13649
13650 { echo "$as_me:$LINENO: result: $result" >&5
13651 echo "${ECHO_T}$result" >&6; }
13652
13653
13654 enablestring=
13655 defaultval=$wxUSE_ALL_FEATURES
13656 if test -z "$defaultval"; then
13657 if test x"$enablestring" = xdisable; then
13658 defaultval=yes
13659 else
13660 defaultval=no
13661 fi
13662 fi
13663
13664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13665 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13666 # Check whether --enable-mousewheel was given.
13667 if test "${enable_mousewheel+set}" = set; then
13668 enableval=$enable_mousewheel;
13669 if test "$enableval" = yes; then
13670 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13671 else
13672 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13673 fi
13674
13675 else
13676
13677 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13678
13679 fi
13680
13681
13682 eval "$wx_cv_use_mousewheel"
13683
13684 if test x"$enablestring" = xdisable; then
13685 if test $wxUSE_MOUSEWHEEL = no; then
13686 result=yes
13687 else
13688 result=no
13689 fi
13690 else
13691 result=$wxUSE_MOUSEWHEEL
13692 fi
13693
13694 { echo "$as_me:$LINENO: result: $result" >&5
13695 echo "${ECHO_T}$result" >&6; }
13696
13697
13698 enablestring=
13699 defaultval=$wxUSE_ALL_FEATURES
13700 if test -z "$defaultval"; then
13701 if test x"$enablestring" = xdisable; then
13702 defaultval=yes
13703 else
13704 defaultval=no
13705 fi
13706 fi
13707
13708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13709 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13710 # Check whether --enable-validators was given.
13711 if test "${enable_validators+set}" = set; then
13712 enableval=$enable_validators;
13713 if test "$enableval" = yes; then
13714 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13715 else
13716 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13717 fi
13718
13719 else
13720
13721 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13722
13723 fi
13724
13725
13726 eval "$wx_cv_use_validators"
13727
13728 if test x"$enablestring" = xdisable; then
13729 if test $wxUSE_VALIDATORS = no; then
13730 result=yes
13731 else
13732 result=no
13733 fi
13734 else
13735 result=$wxUSE_VALIDATORS
13736 fi
13737
13738 { echo "$as_me:$LINENO: result: $result" >&5
13739 echo "${ECHO_T}$result" >&6; }
13740
13741
13742 enablestring=
13743 defaultval=$wxUSE_ALL_FEATURES
13744 if test -z "$defaultval"; then
13745 if test x"$enablestring" = xdisable; then
13746 defaultval=yes
13747 else
13748 defaultval=no
13749 fi
13750 fi
13751
13752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13753 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13754 # Check whether --enable-busyinfo was given.
13755 if test "${enable_busyinfo+set}" = set; then
13756 enableval=$enable_busyinfo;
13757 if test "$enableval" = yes; then
13758 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13759 else
13760 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13761 fi
13762
13763 else
13764
13765 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13766
13767 fi
13768
13769
13770 eval "$wx_cv_use_busyinfo"
13771
13772 if test x"$enablestring" = xdisable; then
13773 if test $wxUSE_BUSYINFO = no; then
13774 result=yes
13775 else
13776 result=no
13777 fi
13778 else
13779 result=$wxUSE_BUSYINFO
13780 fi
13781
13782 { echo "$as_me:$LINENO: result: $result" >&5
13783 echo "${ECHO_T}$result" >&6; }
13784
13785
13786 enablestring=
13787 defaultval=$wxUSE_ALL_FEATURES
13788 if test -z "$defaultval"; then
13789 if test x"$enablestring" = xdisable; then
13790 defaultval=yes
13791 else
13792 defaultval=no
13793 fi
13794 fi
13795
13796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13797 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13798 # Check whether --enable-joystick was given.
13799 if test "${enable_joystick+set}" = set; then
13800 enableval=$enable_joystick;
13801 if test "$enableval" = yes; then
13802 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13803 else
13804 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13805 fi
13806
13807 else
13808
13809 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13810
13811 fi
13812
13813
13814 eval "$wx_cv_use_joystick"
13815
13816 if test x"$enablestring" = xdisable; then
13817 if test $wxUSE_JOYSTICK = no; then
13818 result=yes
13819 else
13820 result=no
13821 fi
13822 else
13823 result=$wxUSE_JOYSTICK
13824 fi
13825
13826 { echo "$as_me:$LINENO: result: $result" >&5
13827 echo "${ECHO_T}$result" >&6; }
13828
13829
13830 enablestring=
13831 defaultval=$wxUSE_ALL_FEATURES
13832 if test -z "$defaultval"; then
13833 if test x"$enablestring" = xdisable; then
13834 defaultval=yes
13835 else
13836 defaultval=no
13837 fi
13838 fi
13839
13840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13841 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13842 # Check whether --enable-metafile was given.
13843 if test "${enable_metafile+set}" = set; then
13844 enableval=$enable_metafile;
13845 if test "$enableval" = yes; then
13846 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13847 else
13848 wx_cv_use_metafile='wxUSE_METAFILE=no'
13849 fi
13850
13851 else
13852
13853 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13854
13855 fi
13856
13857
13858 eval "$wx_cv_use_metafile"
13859
13860 if test x"$enablestring" = xdisable; then
13861 if test $wxUSE_METAFILE = no; then
13862 result=yes
13863 else
13864 result=no
13865 fi
13866 else
13867 result=$wxUSE_METAFILE
13868 fi
13869
13870 { echo "$as_me:$LINENO: result: $result" >&5
13871 echo "${ECHO_T}$result" >&6; }
13872
13873
13874 enablestring=
13875 defaultval=$wxUSE_ALL_FEATURES
13876 if test -z "$defaultval"; then
13877 if test x"$enablestring" = xdisable; then
13878 defaultval=yes
13879 else
13880 defaultval=no
13881 fi
13882 fi
13883
13884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13885 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13886 # Check whether --enable-dragimage was given.
13887 if test "${enable_dragimage+set}" = set; then
13888 enableval=$enable_dragimage;
13889 if test "$enableval" = yes; then
13890 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13891 else
13892 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13893 fi
13894
13895 else
13896
13897 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13898
13899 fi
13900
13901
13902 eval "$wx_cv_use_dragimage"
13903
13904 if test x"$enablestring" = xdisable; then
13905 if test $wxUSE_DRAGIMAGE = no; then
13906 result=yes
13907 else
13908 result=no
13909 fi
13910 else
13911 result=$wxUSE_DRAGIMAGE
13912 fi
13913
13914 { echo "$as_me:$LINENO: result: $result" >&5
13915 echo "${ECHO_T}$result" >&6; }
13916
13917
13918 enablestring=
13919 defaultval=$wxUSE_ALL_FEATURES
13920 if test -z "$defaultval"; then
13921 if test x"$enablestring" = xdisable; then
13922 defaultval=yes
13923 else
13924 defaultval=no
13925 fi
13926 fi
13927
13928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13929 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13930 # Check whether --enable-accessibility was given.
13931 if test "${enable_accessibility+set}" = set; then
13932 enableval=$enable_accessibility;
13933 if test "$enableval" = yes; then
13934 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13935 else
13936 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13937 fi
13938
13939 else
13940
13941 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13942
13943 fi
13944
13945
13946 eval "$wx_cv_use_accessibility"
13947
13948 if test x"$enablestring" = xdisable; then
13949 if test $wxUSE_ACCESSIBILITY = no; then
13950 result=yes
13951 else
13952 result=no
13953 fi
13954 else
13955 result=$wxUSE_ACCESSIBILITY
13956 fi
13957
13958 { echo "$as_me:$LINENO: result: $result" >&5
13959 echo "${ECHO_T}$result" >&6; }
13960
13961
13962 enablestring=
13963 defaultval=$wxUSE_ALL_FEATURES
13964 if test -z "$defaultval"; then
13965 if test x"$enablestring" = xdisable; then
13966 defaultval=yes
13967 else
13968 defaultval=no
13969 fi
13970 fi
13971
13972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
13973 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
13974 # Check whether --enable-uiactionsim was given.
13975 if test "${enable_uiactionsim+set}" = set; then
13976 enableval=$enable_uiactionsim;
13977 if test "$enableval" = yes; then
13978 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
13979 else
13980 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
13981 fi
13982
13983 else
13984
13985 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
13986
13987 fi
13988
13989
13990 eval "$wx_cv_use_uiactionsim"
13991
13992 if test x"$enablestring" = xdisable; then
13993 if test $wxUSE_UIACTIONSIMULATOR = no; then
13994 result=yes
13995 else
13996 result=no
13997 fi
13998 else
13999 result=$wxUSE_UIACTIONSIMULATOR
14000 fi
14001
14002 { echo "$as_me:$LINENO: result: $result" >&5
14003 echo "${ECHO_T}$result" >&6; }
14004
14005
14006 enablestring=
14007 defaultval=$wxUSE_ALL_FEATURES
14008 if test -z "$defaultval"; then
14009 if test x"$enablestring" = xdisable; then
14010 defaultval=yes
14011 else
14012 defaultval=no
14013 fi
14014 fi
14015
14016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14017 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14018 # Check whether --enable-dctransform was given.
14019 if test "${enable_dctransform+set}" = set; then
14020 enableval=$enable_dctransform;
14021 if test "$enableval" = yes; then
14022 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14023 else
14024 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14025 fi
14026
14027 else
14028
14029 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14030
14031 fi
14032
14033
14034 eval "$wx_cv_use_dctransform"
14035
14036 if test x"$enablestring" = xdisable; then
14037 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14038 result=yes
14039 else
14040 result=no
14041 fi
14042 else
14043 result=$wxUSE_DC_TRANSFORM_MATRIX
14044 fi
14045
14046 { echo "$as_me:$LINENO: result: $result" >&5
14047 echo "${ECHO_T}$result" >&6; }
14048
14049
14050
14051
14052 enablestring=
14053 defaultval=$wxUSE_ALL_FEATURES
14054 if test -z "$defaultval"; then
14055 if test x"$enablestring" = xdisable; then
14056 defaultval=yes
14057 else
14058 defaultval=no
14059 fi
14060 fi
14061
14062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14063 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14064 # Check whether --enable-palette was given.
14065 if test "${enable_palette+set}" = set; then
14066 enableval=$enable_palette;
14067 if test "$enableval" = yes; then
14068 wx_cv_use_palette='wxUSE_PALETTE=yes'
14069 else
14070 wx_cv_use_palette='wxUSE_PALETTE=no'
14071 fi
14072
14073 else
14074
14075 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14076
14077 fi
14078
14079
14080 eval "$wx_cv_use_palette"
14081
14082 if test x"$enablestring" = xdisable; then
14083 if test $wxUSE_PALETTE = no; then
14084 result=yes
14085 else
14086 result=no
14087 fi
14088 else
14089 result=$wxUSE_PALETTE
14090 fi
14091
14092 { echo "$as_me:$LINENO: result: $result" >&5
14093 echo "${ECHO_T}$result" >&6; }
14094
14095
14096 enablestring=
14097 defaultval=$wxUSE_ALL_FEATURES
14098 if test -z "$defaultval"; then
14099 if test x"$enablestring" = xdisable; then
14100 defaultval=yes
14101 else
14102 defaultval=no
14103 fi
14104 fi
14105
14106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14107 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14108 # Check whether --enable-image was given.
14109 if test "${enable_image+set}" = set; then
14110 enableval=$enable_image;
14111 if test "$enableval" = yes; then
14112 wx_cv_use_image='wxUSE_IMAGE=yes'
14113 else
14114 wx_cv_use_image='wxUSE_IMAGE=no'
14115 fi
14116
14117 else
14118
14119 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14120
14121 fi
14122
14123
14124 eval "$wx_cv_use_image"
14125
14126 if test x"$enablestring" = xdisable; then
14127 if test $wxUSE_IMAGE = no; then
14128 result=yes
14129 else
14130 result=no
14131 fi
14132 else
14133 result=$wxUSE_IMAGE
14134 fi
14135
14136 { echo "$as_me:$LINENO: result: $result" >&5
14137 echo "${ECHO_T}$result" >&6; }
14138
14139
14140 enablestring=
14141 defaultval=$wxUSE_ALL_FEATURES
14142 if test -z "$defaultval"; then
14143 if test x"$enablestring" = xdisable; then
14144 defaultval=yes
14145 else
14146 defaultval=no
14147 fi
14148 fi
14149
14150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14151 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14152 # Check whether --enable-gif was given.
14153 if test "${enable_gif+set}" = set; then
14154 enableval=$enable_gif;
14155 if test "$enableval" = yes; then
14156 wx_cv_use_gif='wxUSE_GIF=yes'
14157 else
14158 wx_cv_use_gif='wxUSE_GIF=no'
14159 fi
14160
14161 else
14162
14163 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14164
14165 fi
14166
14167
14168 eval "$wx_cv_use_gif"
14169
14170 if test x"$enablestring" = xdisable; then
14171 if test $wxUSE_GIF = no; then
14172 result=yes
14173 else
14174 result=no
14175 fi
14176 else
14177 result=$wxUSE_GIF
14178 fi
14179
14180 { echo "$as_me:$LINENO: result: $result" >&5
14181 echo "${ECHO_T}$result" >&6; }
14182
14183
14184 enablestring=
14185 defaultval=$wxUSE_ALL_FEATURES
14186 if test -z "$defaultval"; then
14187 if test x"$enablestring" = xdisable; then
14188 defaultval=yes
14189 else
14190 defaultval=no
14191 fi
14192 fi
14193
14194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14195 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14196 # Check whether --enable-pcx was given.
14197 if test "${enable_pcx+set}" = set; then
14198 enableval=$enable_pcx;
14199 if test "$enableval" = yes; then
14200 wx_cv_use_pcx='wxUSE_PCX=yes'
14201 else
14202 wx_cv_use_pcx='wxUSE_PCX=no'
14203 fi
14204
14205 else
14206
14207 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14208
14209 fi
14210
14211
14212 eval "$wx_cv_use_pcx"
14213
14214 if test x"$enablestring" = xdisable; then
14215 if test $wxUSE_PCX = no; then
14216 result=yes
14217 else
14218 result=no
14219 fi
14220 else
14221 result=$wxUSE_PCX
14222 fi
14223
14224 { echo "$as_me:$LINENO: result: $result" >&5
14225 echo "${ECHO_T}$result" >&6; }
14226
14227
14228 enablestring=
14229 defaultval=$wxUSE_ALL_FEATURES
14230 if test -z "$defaultval"; then
14231 if test x"$enablestring" = xdisable; then
14232 defaultval=yes
14233 else
14234 defaultval=no
14235 fi
14236 fi
14237
14238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14239 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14240 # Check whether --enable-tga was given.
14241 if test "${enable_tga+set}" = set; then
14242 enableval=$enable_tga;
14243 if test "$enableval" = yes; then
14244 wx_cv_use_tga='wxUSE_TGA=yes'
14245 else
14246 wx_cv_use_tga='wxUSE_TGA=no'
14247 fi
14248
14249 else
14250
14251 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14252
14253 fi
14254
14255
14256 eval "$wx_cv_use_tga"
14257
14258 if test x"$enablestring" = xdisable; then
14259 if test $wxUSE_TGA = no; then
14260 result=yes
14261 else
14262 result=no
14263 fi
14264 else
14265 result=$wxUSE_TGA
14266 fi
14267
14268 { echo "$as_me:$LINENO: result: $result" >&5
14269 echo "${ECHO_T}$result" >&6; }
14270
14271
14272 enablestring=
14273 defaultval=$wxUSE_ALL_FEATURES
14274 if test -z "$defaultval"; then
14275 if test x"$enablestring" = xdisable; then
14276 defaultval=yes
14277 else
14278 defaultval=no
14279 fi
14280 fi
14281
14282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14283 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14284 # Check whether --enable-iff was given.
14285 if test "${enable_iff+set}" = set; then
14286 enableval=$enable_iff;
14287 if test "$enableval" = yes; then
14288 wx_cv_use_iff='wxUSE_IFF=yes'
14289 else
14290 wx_cv_use_iff='wxUSE_IFF=no'
14291 fi
14292
14293 else
14294
14295 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14296
14297 fi
14298
14299
14300 eval "$wx_cv_use_iff"
14301
14302 if test x"$enablestring" = xdisable; then
14303 if test $wxUSE_IFF = no; then
14304 result=yes
14305 else
14306 result=no
14307 fi
14308 else
14309 result=$wxUSE_IFF
14310 fi
14311
14312 { echo "$as_me:$LINENO: result: $result" >&5
14313 echo "${ECHO_T}$result" >&6; }
14314
14315
14316 enablestring=
14317 defaultval=$wxUSE_ALL_FEATURES
14318 if test -z "$defaultval"; then
14319 if test x"$enablestring" = xdisable; then
14320 defaultval=yes
14321 else
14322 defaultval=no
14323 fi
14324 fi
14325
14326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14327 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14328 # Check whether --enable-pnm was given.
14329 if test "${enable_pnm+set}" = set; then
14330 enableval=$enable_pnm;
14331 if test "$enableval" = yes; then
14332 wx_cv_use_pnm='wxUSE_PNM=yes'
14333 else
14334 wx_cv_use_pnm='wxUSE_PNM=no'
14335 fi
14336
14337 else
14338
14339 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14340
14341 fi
14342
14343
14344 eval "$wx_cv_use_pnm"
14345
14346 if test x"$enablestring" = xdisable; then
14347 if test $wxUSE_PNM = no; then
14348 result=yes
14349 else
14350 result=no
14351 fi
14352 else
14353 result=$wxUSE_PNM
14354 fi
14355
14356 { echo "$as_me:$LINENO: result: $result" >&5
14357 echo "${ECHO_T}$result" >&6; }
14358
14359
14360 enablestring=
14361 defaultval=$wxUSE_ALL_FEATURES
14362 if test -z "$defaultval"; then
14363 if test x"$enablestring" = xdisable; then
14364 defaultval=yes
14365 else
14366 defaultval=no
14367 fi
14368 fi
14369
14370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14371 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14372 # Check whether --enable-xpm was given.
14373 if test "${enable_xpm+set}" = set; then
14374 enableval=$enable_xpm;
14375 if test "$enableval" = yes; then
14376 wx_cv_use_xpm='wxUSE_XPM=yes'
14377 else
14378 wx_cv_use_xpm='wxUSE_XPM=no'
14379 fi
14380
14381 else
14382
14383 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14384
14385 fi
14386
14387
14388 eval "$wx_cv_use_xpm"
14389
14390 if test x"$enablestring" = xdisable; then
14391 if test $wxUSE_XPM = no; then
14392 result=yes
14393 else
14394 result=no
14395 fi
14396 else
14397 result=$wxUSE_XPM
14398 fi
14399
14400 { echo "$as_me:$LINENO: result: $result" >&5
14401 echo "${ECHO_T}$result" >&6; }
14402
14403
14404 enablestring=
14405 defaultval=$wxUSE_ALL_FEATURES
14406 if test -z "$defaultval"; then
14407 if test x"$enablestring" = xdisable; then
14408 defaultval=yes
14409 else
14410 defaultval=no
14411 fi
14412 fi
14413
14414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14415 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14416 # Check whether --enable-ico_cur was given.
14417 if test "${enable_ico_cur+set}" = set; then
14418 enableval=$enable_ico_cur;
14419 if test "$enableval" = yes; then
14420 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14421 else
14422 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14423 fi
14424
14425 else
14426
14427 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14428
14429 fi
14430
14431
14432 eval "$wx_cv_use_ico_cur"
14433
14434 if test x"$enablestring" = xdisable; then
14435 if test $wxUSE_ICO_CUR = no; then
14436 result=yes
14437 else
14438 result=no
14439 fi
14440 else
14441 result=$wxUSE_ICO_CUR
14442 fi
14443
14444 { echo "$as_me:$LINENO: result: $result" >&5
14445 echo "${ECHO_T}$result" >&6; }
14446
14447
14448
14449
14450 enablestring=
14451 defaultval=$wxUSE_ALL_FEATURES
14452 if test -z "$defaultval"; then
14453 if test x"$enablestring" = xdisable; then
14454 defaultval=yes
14455 else
14456 defaultval=no
14457 fi
14458 fi
14459
14460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14461 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14462 # Check whether --enable-dccache was given.
14463 if test "${enable_dccache+set}" = set; then
14464 enableval=$enable_dccache;
14465 if test "$enableval" = yes; then
14466 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14467 else
14468 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14469 fi
14470
14471 else
14472
14473 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14474
14475 fi
14476
14477
14478 eval "$wx_cv_use_dccache"
14479
14480 if test x"$enablestring" = xdisable; then
14481 if test $wxUSE_DC_CACHEING = no; then
14482 result=yes
14483 else
14484 result=no
14485 fi
14486 else
14487 result=$wxUSE_DC_CACHEING
14488 fi
14489
14490 { echo "$as_me:$LINENO: result: $result" >&5
14491 echo "${ECHO_T}$result" >&6; }
14492
14493
14494 enablestring=
14495 defaultval=$wxUSE_ALL_FEATURES
14496 if test -z "$defaultval"; then
14497 if test x"$enablestring" = xdisable; then
14498 defaultval=yes
14499 else
14500 defaultval=no
14501 fi
14502 fi
14503
14504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14505 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14506 # Check whether --enable-ps-in-msw was given.
14507 if test "${enable_ps_in_msw+set}" = set; then
14508 enableval=$enable_ps_in_msw;
14509 if test "$enableval" = yes; then
14510 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14511 else
14512 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14513 fi
14514
14515 else
14516
14517 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14518
14519 fi
14520
14521
14522 eval "$wx_cv_use_ps_in_msw"
14523
14524 if test x"$enablestring" = xdisable; then
14525 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14526 result=yes
14527 else
14528 result=no
14529 fi
14530 else
14531 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14532 fi
14533
14534 { echo "$as_me:$LINENO: result: $result" >&5
14535 echo "${ECHO_T}$result" >&6; }
14536
14537
14538 enablestring=
14539 defaultval=$wxUSE_ALL_FEATURES
14540 if test -z "$defaultval"; then
14541 if test x"$enablestring" = xdisable; then
14542 defaultval=yes
14543 else
14544 defaultval=no
14545 fi
14546 fi
14547
14548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14549 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14550 # Check whether --enable-ownerdrawn was given.
14551 if test "${enable_ownerdrawn+set}" = set; then
14552 enableval=$enable_ownerdrawn;
14553 if test "$enableval" = yes; then
14554 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14555 else
14556 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14557 fi
14558
14559 else
14560
14561 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14562
14563 fi
14564
14565
14566 eval "$wx_cv_use_ownerdrawn"
14567
14568 if test x"$enablestring" = xdisable; then
14569 if test $wxUSE_OWNER_DRAWN = no; then
14570 result=yes
14571 else
14572 result=no
14573 fi
14574 else
14575 result=$wxUSE_OWNER_DRAWN
14576 fi
14577
14578 { echo "$as_me:$LINENO: result: $result" >&5
14579 echo "${ECHO_T}$result" >&6; }
14580
14581
14582 enablestring=
14583 defaultval=$wxUSE_ALL_FEATURES
14584 if test -z "$defaultval"; then
14585 if test x"$enablestring" = xdisable; then
14586 defaultval=yes
14587 else
14588 defaultval=no
14589 fi
14590 fi
14591
14592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14593 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14594 # Check whether --enable-uxtheme was given.
14595 if test "${enable_uxtheme+set}" = set; then
14596 enableval=$enable_uxtheme;
14597 if test "$enableval" = yes; then
14598 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14599 else
14600 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14601 fi
14602
14603 else
14604
14605 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14606
14607 fi
14608
14609
14610 eval "$wx_cv_use_uxtheme"
14611
14612 if test x"$enablestring" = xdisable; then
14613 if test $wxUSE_UXTHEME = no; then
14614 result=yes
14615 else
14616 result=no
14617 fi
14618 else
14619 result=$wxUSE_UXTHEME
14620 fi
14621
14622 { echo "$as_me:$LINENO: result: $result" >&5
14623 echo "${ECHO_T}$result" >&6; }
14624
14625
14626 enablestring=
14627 defaultval=$wxUSE_ALL_FEATURES
14628 if test -z "$defaultval"; then
14629 if test x"$enablestring" = xdisable; then
14630 defaultval=yes
14631 else
14632 defaultval=no
14633 fi
14634 fi
14635
14636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14637 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14638 # Check whether --enable-wxdib was given.
14639 if test "${enable_wxdib+set}" = set; then
14640 enableval=$enable_wxdib;
14641 if test "$enableval" = yes; then
14642 wx_cv_use_wxdib='wxUSE_DIB=yes'
14643 else
14644 wx_cv_use_wxdib='wxUSE_DIB=no'
14645 fi
14646
14647 else
14648
14649 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14650
14651 fi
14652
14653
14654 eval "$wx_cv_use_wxdib"
14655
14656 if test x"$enablestring" = xdisable; then
14657 if test $wxUSE_DIB = no; then
14658 result=yes
14659 else
14660 result=no
14661 fi
14662 else
14663 result=$wxUSE_DIB
14664 fi
14665
14666 { echo "$as_me:$LINENO: result: $result" >&5
14667 echo "${ECHO_T}$result" >&6; }
14668
14669
14670 if test "$wxUSE_MSW" != 1; then
14671 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14672 fi
14673
14674
14675 enablestring=
14676 defaultval=$wxUSE_ALL_FEATURES
14677 if test -z "$defaultval"; then
14678 if test x"$enablestring" = xdisable; then
14679 defaultval=yes
14680 else
14681 defaultval=no
14682 fi
14683 fi
14684
14685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14686 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14687 # Check whether --enable-autoidman was given.
14688 if test "${enable_autoidman+set}" = set; then
14689 enableval=$enable_autoidman;
14690 if test "$enableval" = yes; then
14691 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14692 else
14693 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14694 fi
14695
14696 else
14697
14698 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14699
14700 fi
14701
14702
14703 eval "$wx_cv_use_autoidman"
14704
14705 if test x"$enablestring" = xdisable; then
14706 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14707 result=yes
14708 else
14709 result=no
14710 fi
14711 else
14712 result=$wxUSE_AUTOID_MANAGEMENT
14713 fi
14714
14715 { echo "$as_me:$LINENO: result: $result" >&5
14716 echo "${ECHO_T}$result" >&6; }
14717
14718
14719 fi
14720
14721
14722 cat >confcache <<\_ACEOF
14723 # This file is a shell script that caches the results of configure
14724 # tests run on this system so they can be shared between configure
14725 # scripts and configure runs, see configure's option --config-cache.
14726 # It is not useful on other systems. If it contains results you don't
14727 # want to keep, you may remove or edit it.
14728 #
14729 # config.status only pays attention to the cache file if you give it
14730 # the --recheck option to rerun configure.
14731 #
14732 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14733 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14734 # following values.
14735
14736 _ACEOF
14737
14738 # The following way of writing the cache mishandles newlines in values,
14739 # but we know of no workaround that is simple, portable, and efficient.
14740 # So, we kill variables containing newlines.
14741 # Ultrix sh set writes to stderr and can't be redirected directly,
14742 # and sets the high bit in the cache file unless we assign to the vars.
14743 (
14744 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14745 eval ac_val=\$$ac_var
14746 case $ac_val in #(
14747 *${as_nl}*)
14748 case $ac_var in #(
14749 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14750 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14751 esac
14752 case $ac_var in #(
14753 _ | IFS | as_nl) ;; #(
14754 *) $as_unset $ac_var ;;
14755 esac ;;
14756 esac
14757 done
14758
14759 (set) 2>&1 |
14760 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14761 *${as_nl}ac_space=\ *)
14762 # `set' does not quote correctly, so add quotes (double-quote
14763 # substitution turns \\\\ into \\, and sed turns \\ into \).
14764 sed -n \
14765 "s/'/'\\\\''/g;
14766 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14767 ;; #(
14768 *)
14769 # `set' quotes correctly as required by POSIX, so do not add quotes.
14770 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14771 ;;
14772 esac |
14773 sort
14774 ) |
14775 sed '
14776 /^ac_cv_env_/b end
14777 t clear
14778 :clear
14779 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14780 t end
14781 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14782 :end' >>confcache
14783 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14784 if test -w "$cache_file"; then
14785 test "x$cache_file" != "x/dev/null" &&
14786 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14787 echo "$as_me: updating cache $cache_file" >&6;}
14788 cat confcache >$cache_file
14789 else
14790 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14791 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14792 fi
14793 fi
14794 rm -f confcache
14795
14796 CFLAGS=${CFLAGS:=}
14797 ac_ext=c
14798 ac_cpp='$CPP $CPPFLAGS'
14799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14802 if test -n "$ac_tool_prefix"; then
14803 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14804 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14807 if test "${ac_cv_prog_CC+set}" = set; then
14808 echo $ECHO_N "(cached) $ECHO_C" >&6
14809 else
14810 if test -n "$CC"; then
14811 ac_cv_prog_CC="$CC" # Let the user override the test.
14812 else
14813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14814 for as_dir in $PATH
14815 do
14816 IFS=$as_save_IFS
14817 test -z "$as_dir" && as_dir=.
14818 for ac_exec_ext in '' $ac_executable_extensions; do
14819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14820 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14822 break 2
14823 fi
14824 done
14825 done
14826 IFS=$as_save_IFS
14827
14828 fi
14829 fi
14830 CC=$ac_cv_prog_CC
14831 if test -n "$CC"; then
14832 { echo "$as_me:$LINENO: result: $CC" >&5
14833 echo "${ECHO_T}$CC" >&6; }
14834 else
14835 { echo "$as_me:$LINENO: result: no" >&5
14836 echo "${ECHO_T}no" >&6; }
14837 fi
14838
14839
14840 fi
14841 if test -z "$ac_cv_prog_CC"; then
14842 ac_ct_CC=$CC
14843 # Extract the first word of "gcc", so it can be a program name with args.
14844 set dummy gcc; ac_word=$2
14845 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14847 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14848 echo $ECHO_N "(cached) $ECHO_C" >&6
14849 else
14850 if test -n "$ac_ct_CC"; then
14851 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14852 else
14853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14854 for as_dir in $PATH
14855 do
14856 IFS=$as_save_IFS
14857 test -z "$as_dir" && as_dir=.
14858 for ac_exec_ext in '' $ac_executable_extensions; do
14859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14860 ac_cv_prog_ac_ct_CC="gcc"
14861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14862 break 2
14863 fi
14864 done
14865 done
14866 IFS=$as_save_IFS
14867
14868 fi
14869 fi
14870 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14871 if test -n "$ac_ct_CC"; then
14872 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14873 echo "${ECHO_T}$ac_ct_CC" >&6; }
14874 else
14875 { echo "$as_me:$LINENO: result: no" >&5
14876 echo "${ECHO_T}no" >&6; }
14877 fi
14878
14879 if test "x$ac_ct_CC" = x; then
14880 CC=""
14881 else
14882 case $cross_compiling:$ac_tool_warned in
14883 yes:)
14884 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14885 whose name does not start with the host triplet. If you think this
14886 configuration is useful to you, please write to autoconf@gnu.org." >&5
14887 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14888 whose name does not start with the host triplet. If you think this
14889 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14890 ac_tool_warned=yes ;;
14891 esac
14892 CC=$ac_ct_CC
14893 fi
14894 else
14895 CC="$ac_cv_prog_CC"
14896 fi
14897
14898 if test -z "$CC"; then
14899 if test -n "$ac_tool_prefix"; then
14900 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14901 set dummy ${ac_tool_prefix}cc; ac_word=$2
14902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14904 if test "${ac_cv_prog_CC+set}" = set; then
14905 echo $ECHO_N "(cached) $ECHO_C" >&6
14906 else
14907 if test -n "$CC"; then
14908 ac_cv_prog_CC="$CC" # Let the user override the test.
14909 else
14910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14911 for as_dir in $PATH
14912 do
14913 IFS=$as_save_IFS
14914 test -z "$as_dir" && as_dir=.
14915 for ac_exec_ext in '' $ac_executable_extensions; do
14916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14917 ac_cv_prog_CC="${ac_tool_prefix}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 fi
14926 fi
14927 CC=$ac_cv_prog_CC
14928 if test -n "$CC"; then
14929 { echo "$as_me:$LINENO: result: $CC" >&5
14930 echo "${ECHO_T}$CC" >&6; }
14931 else
14932 { echo "$as_me:$LINENO: result: no" >&5
14933 echo "${ECHO_T}no" >&6; }
14934 fi
14935
14936
14937 fi
14938 fi
14939 if test -z "$CC"; then
14940 # Extract the first word of "cc", so it can be a program name with args.
14941 set dummy cc; ac_word=$2
14942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14944 if test "${ac_cv_prog_CC+set}" = set; then
14945 echo $ECHO_N "(cached) $ECHO_C" >&6
14946 else
14947 if test -n "$CC"; then
14948 ac_cv_prog_CC="$CC" # Let the user override the test.
14949 else
14950 ac_prog_rejected=no
14951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14952 for as_dir in $PATH
14953 do
14954 IFS=$as_save_IFS
14955 test -z "$as_dir" && as_dir=.
14956 for ac_exec_ext in '' $ac_executable_extensions; do
14957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14958 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14959 ac_prog_rejected=yes
14960 continue
14961 fi
14962 ac_cv_prog_CC="cc"
14963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14964 break 2
14965 fi
14966 done
14967 done
14968 IFS=$as_save_IFS
14969
14970 if test $ac_prog_rejected = yes; then
14971 # We found a bogon in the path, so make sure we never use it.
14972 set dummy $ac_cv_prog_CC
14973 shift
14974 if test $# != 0; then
14975 # We chose a different compiler from the bogus one.
14976 # However, it has the same basename, so the bogon will be chosen
14977 # first if we set CC to just the basename; use the full file name.
14978 shift
14979 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14980 fi
14981 fi
14982 fi
14983 fi
14984 CC=$ac_cv_prog_CC
14985 if test -n "$CC"; then
14986 { echo "$as_me:$LINENO: result: $CC" >&5
14987 echo "${ECHO_T}$CC" >&6; }
14988 else
14989 { echo "$as_me:$LINENO: result: no" >&5
14990 echo "${ECHO_T}no" >&6; }
14991 fi
14992
14993
14994 fi
14995 if test -z "$CC"; then
14996 if test -n "$ac_tool_prefix"; then
14997 for ac_prog in cl.exe
14998 do
14999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15003 if test "${ac_cv_prog_CC+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 else
15006 if test -n "$CC"; then
15007 ac_cv_prog_CC="$CC" # Let the user override the test.
15008 else
15009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15010 for as_dir in $PATH
15011 do
15012 IFS=$as_save_IFS
15013 test -z "$as_dir" && as_dir=.
15014 for ac_exec_ext in '' $ac_executable_extensions; do
15015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15016 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15018 break 2
15019 fi
15020 done
15021 done
15022 IFS=$as_save_IFS
15023
15024 fi
15025 fi
15026 CC=$ac_cv_prog_CC
15027 if test -n "$CC"; then
15028 { echo "$as_me:$LINENO: result: $CC" >&5
15029 echo "${ECHO_T}$CC" >&6; }
15030 else
15031 { echo "$as_me:$LINENO: result: no" >&5
15032 echo "${ECHO_T}no" >&6; }
15033 fi
15034
15035
15036 test -n "$CC" && break
15037 done
15038 fi
15039 if test -z "$CC"; then
15040 ac_ct_CC=$CC
15041 for ac_prog in cl.exe
15042 do
15043 # Extract the first word of "$ac_prog", so it can be a program name with args.
15044 set dummy $ac_prog; ac_word=$2
15045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15047 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15048 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 else
15050 if test -n "$ac_ct_CC"; then
15051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15052 else
15053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15054 for as_dir in $PATH
15055 do
15056 IFS=$as_save_IFS
15057 test -z "$as_dir" && as_dir=.
15058 for ac_exec_ext in '' $ac_executable_extensions; do
15059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15060 ac_cv_prog_ac_ct_CC="$ac_prog"
15061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15062 break 2
15063 fi
15064 done
15065 done
15066 IFS=$as_save_IFS
15067
15068 fi
15069 fi
15070 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15071 if test -n "$ac_ct_CC"; then
15072 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15073 echo "${ECHO_T}$ac_ct_CC" >&6; }
15074 else
15075 { echo "$as_me:$LINENO: result: no" >&5
15076 echo "${ECHO_T}no" >&6; }
15077 fi
15078
15079
15080 test -n "$ac_ct_CC" && break
15081 done
15082
15083 if test "x$ac_ct_CC" = x; then
15084 CC=""
15085 else
15086 case $cross_compiling:$ac_tool_warned in
15087 yes:)
15088 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15089 whose name does not start with the host triplet. If you think this
15090 configuration is useful to you, please write to autoconf@gnu.org." >&5
15091 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15092 whose name does not start with the host triplet. If you think this
15093 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15094 ac_tool_warned=yes ;;
15095 esac
15096 CC=$ac_ct_CC
15097 fi
15098 fi
15099
15100 fi
15101
15102
15103 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15104 See \`config.log' for more details." >&5
15105 echo "$as_me: error: no acceptable C compiler found in \$PATH
15106 See \`config.log' for more details." >&2;}
15107 { (exit 1); exit 1; }; }
15108
15109 # Provide some information about the compiler.
15110 echo "$as_me:$LINENO: checking for C compiler version" >&5
15111 ac_compiler=`set X $ac_compile; echo $2`
15112 { (ac_try="$ac_compiler --version >&5"
15113 case "(($ac_try" in
15114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15115 *) ac_try_echo=$ac_try;;
15116 esac
15117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15118 (eval "$ac_compiler --version >&5") 2>&5
15119 ac_status=$?
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }
15122 { (ac_try="$ac_compiler -v >&5"
15123 case "(($ac_try" in
15124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15125 *) ac_try_echo=$ac_try;;
15126 esac
15127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15128 (eval "$ac_compiler -v >&5") 2>&5
15129 ac_status=$?
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }
15132 { (ac_try="$ac_compiler -V >&5"
15133 case "(($ac_try" in
15134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15135 *) ac_try_echo=$ac_try;;
15136 esac
15137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15138 (eval "$ac_compiler -V >&5") 2>&5
15139 ac_status=$?
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); }
15142
15143 cat >conftest.$ac_ext <<_ACEOF
15144 /* confdefs.h. */
15145 _ACEOF
15146 cat confdefs.h >>conftest.$ac_ext
15147 cat >>conftest.$ac_ext <<_ACEOF
15148 /* end confdefs.h. */
15149
15150 int
15151 main ()
15152 {
15153
15154 ;
15155 return 0;
15156 }
15157 _ACEOF
15158 ac_clean_files_save=$ac_clean_files
15159 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15160 # Try to create an executable without -o first, disregard a.out.
15161 # It will help us diagnose broken compilers, and finding out an intuition
15162 # of exeext.
15163 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15164 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15165 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15166 #
15167 # List of possible output files, starting from the most likely.
15168 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15169 # only as a last resort. b.out is created by i960 compilers.
15170 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15171 #
15172 # The IRIX 6 linker writes into existing files which may not be
15173 # executable, retaining their permissions. Remove them first so a
15174 # subsequent execution test works.
15175 ac_rmfiles=
15176 for ac_file in $ac_files
15177 do
15178 case $ac_file in
15179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15180 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15181 esac
15182 done
15183 rm -f $ac_rmfiles
15184
15185 if { (ac_try="$ac_link_default"
15186 case "(($ac_try" in
15187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15188 *) ac_try_echo=$ac_try;;
15189 esac
15190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15191 (eval "$ac_link_default") 2>&5
15192 ac_status=$?
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; then
15195 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15196 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15197 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15198 # so that the user can short-circuit this test for compilers unknown to
15199 # Autoconf.
15200 for ac_file in $ac_files ''
15201 do
15202 test -f "$ac_file" || continue
15203 case $ac_file in
15204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15205 ;;
15206 [ab].out )
15207 # We found the default executable, but exeext='' is most
15208 # certainly right.
15209 break;;
15210 *.* )
15211 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15212 then :; else
15213 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15214 fi
15215 # We set ac_cv_exeext here because the later test for it is not
15216 # safe: cross compilers may not add the suffix if given an `-o'
15217 # argument, so we may need to know it at that point already.
15218 # Even if this section looks crufty: it has the advantage of
15219 # actually working.
15220 break;;
15221 * )
15222 break;;
15223 esac
15224 done
15225 test "$ac_cv_exeext" = no && ac_cv_exeext=
15226
15227 else
15228 ac_file=''
15229 fi
15230
15231 { echo "$as_me:$LINENO: result: $ac_file" >&5
15232 echo "${ECHO_T}$ac_file" >&6; }
15233 if test -z "$ac_file"; then
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15236
15237 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15238 See \`config.log' for more details." >&5
15239 echo "$as_me: error: C compiler cannot create executables
15240 See \`config.log' for more details." >&2;}
15241 { (exit 77); exit 77; }; }
15242 fi
15243
15244 ac_exeext=$ac_cv_exeext
15245
15246 # Check that the compiler produces executables we can run. If not, either
15247 # the compiler is broken, or we cross compile.
15248 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15249 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15250 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15251 # If not cross compiling, check that we can run a simple program.
15252 if test "$cross_compiling" != yes; then
15253 if { ac_try='./$ac_file'
15254 { (case "(($ac_try" in
15255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15256 *) ac_try_echo=$ac_try;;
15257 esac
15258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15259 (eval "$ac_try") 2>&5
15260 ac_status=$?
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15263 cross_compiling=no
15264 else
15265 if test "$cross_compiling" = maybe; then
15266 cross_compiling=yes
15267 else
15268 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15269 If you meant to cross compile, use \`--host'.
15270 See \`config.log' for more details." >&5
15271 echo "$as_me: error: cannot run C compiled programs.
15272 If you meant to cross compile, use \`--host'.
15273 See \`config.log' for more details." >&2;}
15274 { (exit 1); exit 1; }; }
15275 fi
15276 fi
15277 fi
15278 { echo "$as_me:$LINENO: result: yes" >&5
15279 echo "${ECHO_T}yes" >&6; }
15280
15281 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15282 ac_clean_files=$ac_clean_files_save
15283 # Check that the compiler produces executables we can run. If not, either
15284 # the compiler is broken, or we cross compile.
15285 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15286 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15287 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15288 echo "${ECHO_T}$cross_compiling" >&6; }
15289
15290 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15291 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15292 if { (ac_try="$ac_link"
15293 case "(($ac_try" in
15294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15295 *) ac_try_echo=$ac_try;;
15296 esac
15297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15298 (eval "$ac_link") 2>&5
15299 ac_status=$?
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); }; then
15302 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15303 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15304 # work properly (i.e., refer to `conftest.exe'), while it won't with
15305 # `rm'.
15306 for ac_file in conftest.exe conftest conftest.*; do
15307 test -f "$ac_file" || continue
15308 case $ac_file in
15309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15310 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15311 break;;
15312 * ) break;;
15313 esac
15314 done
15315 else
15316 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15317 See \`config.log' for more details." >&5
15318 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15319 See \`config.log' for more details." >&2;}
15320 { (exit 1); exit 1; }; }
15321 fi
15322
15323 rm -f conftest$ac_cv_exeext
15324 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15325 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15326
15327 rm -f conftest.$ac_ext
15328 EXEEXT=$ac_cv_exeext
15329 ac_exeext=$EXEEXT
15330 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15331 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15332 if test "${ac_cv_objext+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15334 else
15335 cat >conftest.$ac_ext <<_ACEOF
15336 /* confdefs.h. */
15337 _ACEOF
15338 cat confdefs.h >>conftest.$ac_ext
15339 cat >>conftest.$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15341
15342 int
15343 main ()
15344 {
15345
15346 ;
15347 return 0;
15348 }
15349 _ACEOF
15350 rm -f conftest.o conftest.obj
15351 if { (ac_try="$ac_compile"
15352 case "(($ac_try" in
15353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15354 *) ac_try_echo=$ac_try;;
15355 esac
15356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15357 (eval "$ac_compile") 2>&5
15358 ac_status=$?
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); }; then
15361 for ac_file in conftest.o conftest.obj conftest.*; do
15362 test -f "$ac_file" || continue;
15363 case $ac_file in
15364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15365 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15366 break;;
15367 esac
15368 done
15369 else
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15372
15373 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15374 See \`config.log' for more details." >&5
15375 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15376 See \`config.log' for more details." >&2;}
15377 { (exit 1); exit 1; }; }
15378 fi
15379
15380 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15381 fi
15382 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15383 echo "${ECHO_T}$ac_cv_objext" >&6; }
15384 OBJEXT=$ac_cv_objext
15385 ac_objext=$OBJEXT
15386 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15387 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15388 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15389 echo $ECHO_N "(cached) $ECHO_C" >&6
15390 else
15391 cat >conftest.$ac_ext <<_ACEOF
15392 /* confdefs.h. */
15393 _ACEOF
15394 cat confdefs.h >>conftest.$ac_ext
15395 cat >>conftest.$ac_ext <<_ACEOF
15396 /* end confdefs.h. */
15397
15398 int
15399 main ()
15400 {
15401 #ifndef __GNUC__
15402 choke me
15403 #endif
15404
15405 ;
15406 return 0;
15407 }
15408 _ACEOF
15409 rm -f conftest.$ac_objext
15410 if { (ac_try="$ac_compile"
15411 case "(($ac_try" in
15412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15413 *) ac_try_echo=$ac_try;;
15414 esac
15415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15416 (eval "$ac_compile") 2>conftest.er1
15417 ac_status=$?
15418 grep -v '^ *+' conftest.er1 >conftest.err
15419 rm -f conftest.er1
15420 cat conftest.err >&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); } && {
15423 test -z "$ac_c_werror_flag" ||
15424 test ! -s conftest.err
15425 } && test -s conftest.$ac_objext; then
15426 ac_compiler_gnu=yes
15427 else
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.$ac_ext >&5
15430
15431 ac_compiler_gnu=no
15432 fi
15433
15434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15435 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15436
15437 fi
15438 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15439 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15440 GCC=`test $ac_compiler_gnu = yes && echo yes`
15441 ac_test_CFLAGS=${CFLAGS+set}
15442 ac_save_CFLAGS=$CFLAGS
15443 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15444 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15445 if test "${ac_cv_prog_cc_g+set}" = set; then
15446 echo $ECHO_N "(cached) $ECHO_C" >&6
15447 else
15448 ac_save_c_werror_flag=$ac_c_werror_flag
15449 ac_c_werror_flag=yes
15450 ac_cv_prog_cc_g=no
15451 CFLAGS="-g"
15452 cat >conftest.$ac_ext <<_ACEOF
15453 /* confdefs.h. */
15454 _ACEOF
15455 cat confdefs.h >>conftest.$ac_ext
15456 cat >>conftest.$ac_ext <<_ACEOF
15457 /* end confdefs.h. */
15458
15459 int
15460 main ()
15461 {
15462
15463 ;
15464 return 0;
15465 }
15466 _ACEOF
15467 rm -f conftest.$ac_objext
15468 if { (ac_try="$ac_compile"
15469 case "(($ac_try" in
15470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15471 *) ac_try_echo=$ac_try;;
15472 esac
15473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15474 (eval "$ac_compile") 2>conftest.er1
15475 ac_status=$?
15476 grep -v '^ *+' conftest.er1 >conftest.err
15477 rm -f conftest.er1
15478 cat conftest.err >&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); } && {
15481 test -z "$ac_c_werror_flag" ||
15482 test ! -s conftest.err
15483 } && test -s conftest.$ac_objext; then
15484 ac_cv_prog_cc_g=yes
15485 else
15486 echo "$as_me: failed program was:" >&5
15487 sed 's/^/| /' conftest.$ac_ext >&5
15488
15489 CFLAGS=""
15490 cat >conftest.$ac_ext <<_ACEOF
15491 /* confdefs.h. */
15492 _ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15496
15497 int
15498 main ()
15499 {
15500
15501 ;
15502 return 0;
15503 }
15504 _ACEOF
15505 rm -f conftest.$ac_objext
15506 if { (ac_try="$ac_compile"
15507 case "(($ac_try" in
15508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15509 *) ac_try_echo=$ac_try;;
15510 esac
15511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15512 (eval "$ac_compile") 2>conftest.er1
15513 ac_status=$?
15514 grep -v '^ *+' conftest.er1 >conftest.err
15515 rm -f conftest.er1
15516 cat conftest.err >&5
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); } && {
15519 test -z "$ac_c_werror_flag" ||
15520 test ! -s conftest.err
15521 } && test -s conftest.$ac_objext; then
15522 :
15523 else
15524 echo "$as_me: failed program was:" >&5
15525 sed 's/^/| /' conftest.$ac_ext >&5
15526
15527 ac_c_werror_flag=$ac_save_c_werror_flag
15528 CFLAGS="-g"
15529 cat >conftest.$ac_ext <<_ACEOF
15530 /* confdefs.h. */
15531 _ACEOF
15532 cat confdefs.h >>conftest.$ac_ext
15533 cat >>conftest.$ac_ext <<_ACEOF
15534 /* end confdefs.h. */
15535
15536 int
15537 main ()
15538 {
15539
15540 ;
15541 return 0;
15542 }
15543 _ACEOF
15544 rm -f conftest.$ac_objext
15545 if { (ac_try="$ac_compile"
15546 case "(($ac_try" in
15547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15548 *) ac_try_echo=$ac_try;;
15549 esac
15550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15551 (eval "$ac_compile") 2>conftest.er1
15552 ac_status=$?
15553 grep -v '^ *+' conftest.er1 >conftest.err
15554 rm -f conftest.er1
15555 cat conftest.err >&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); } && {
15558 test -z "$ac_c_werror_flag" ||
15559 test ! -s conftest.err
15560 } && test -s conftest.$ac_objext; then
15561 ac_cv_prog_cc_g=yes
15562 else
15563 echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.$ac_ext >&5
15565
15566
15567 fi
15568
15569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15570 fi
15571
15572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15573 fi
15574
15575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15576 ac_c_werror_flag=$ac_save_c_werror_flag
15577 fi
15578 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15579 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15580 if test "$ac_test_CFLAGS" = set; then
15581 CFLAGS=$ac_save_CFLAGS
15582 elif test $ac_cv_prog_cc_g = yes; then
15583 if test "$GCC" = yes; then
15584 CFLAGS="-g -O2"
15585 else
15586 CFLAGS="-g"
15587 fi
15588 else
15589 if test "$GCC" = yes; then
15590 CFLAGS="-O2"
15591 else
15592 CFLAGS=
15593 fi
15594 fi
15595 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15596 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15597 if test "${ac_cv_prog_cc_c89+set}" = set; then
15598 echo $ECHO_N "(cached) $ECHO_C" >&6
15599 else
15600 ac_cv_prog_cc_c89=no
15601 ac_save_CC=$CC
15602 cat >conftest.$ac_ext <<_ACEOF
15603 /* confdefs.h. */
15604 _ACEOF
15605 cat confdefs.h >>conftest.$ac_ext
15606 cat >>conftest.$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 #include <stdarg.h>
15609 #include <stdio.h>
15610 #include <sys/types.h>
15611 #include <sys/stat.h>
15612 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15613 struct buf { int x; };
15614 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15615 static char *e (p, i)
15616 char **p;
15617 int i;
15618 {
15619 return p[i];
15620 }
15621 static char *f (char * (*g) (char **, int), char **p, ...)
15622 {
15623 char *s;
15624 va_list v;
15625 va_start (v,p);
15626 s = g (p, va_arg (v,int));
15627 va_end (v);
15628 return s;
15629 }
15630
15631 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15632 function prototypes and stuff, but not '\xHH' hex character constants.
15633 These don't provoke an error unfortunately, instead are silently treated
15634 as 'x'. The following induces an error, until -std is added to get
15635 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15636 array size at least. It's necessary to write '\x00'==0 to get something
15637 that's true only with -std. */
15638 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15639
15640 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15641 inside strings and character constants. */
15642 #define FOO(x) 'x'
15643 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15644
15645 int test (int i, double x);
15646 struct s1 {int (*f) (int a);};
15647 struct s2 {int (*f) (double a);};
15648 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15649 int argc;
15650 char **argv;
15651 int
15652 main ()
15653 {
15654 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15655 ;
15656 return 0;
15657 }
15658 _ACEOF
15659 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15660 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15661 do
15662 CC="$ac_save_CC $ac_arg"
15663 rm -f conftest.$ac_objext
15664 if { (ac_try="$ac_compile"
15665 case "(($ac_try" in
15666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15667 *) ac_try_echo=$ac_try;;
15668 esac
15669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15670 (eval "$ac_compile") 2>conftest.er1
15671 ac_status=$?
15672 grep -v '^ *+' conftest.er1 >conftest.err
15673 rm -f conftest.er1
15674 cat conftest.err >&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); } && {
15677 test -z "$ac_c_werror_flag" ||
15678 test ! -s conftest.err
15679 } && test -s conftest.$ac_objext; then
15680 ac_cv_prog_cc_c89=$ac_arg
15681 else
15682 echo "$as_me: failed program was:" >&5
15683 sed 's/^/| /' conftest.$ac_ext >&5
15684
15685
15686 fi
15687
15688 rm -f core conftest.err conftest.$ac_objext
15689 test "x$ac_cv_prog_cc_c89" != "xno" && break
15690 done
15691 rm -f conftest.$ac_ext
15692 CC=$ac_save_CC
15693
15694 fi
15695 # AC_CACHE_VAL
15696 case "x$ac_cv_prog_cc_c89" in
15697 x)
15698 { echo "$as_me:$LINENO: result: none needed" >&5
15699 echo "${ECHO_T}none needed" >&6; } ;;
15700 xno)
15701 { echo "$as_me:$LINENO: result: unsupported" >&5
15702 echo "${ECHO_T}unsupported" >&6; } ;;
15703 *)
15704 CC="$CC $ac_cv_prog_cc_c89"
15705 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15706 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15707 esac
15708
15709
15710 ac_ext=c
15711 ac_cpp='$CPP $CPPFLAGS'
15712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15715
15716
15717
15718
15719
15720
15721
15722
15723 ac_ext=c
15724 ac_cpp='$CPP $CPPFLAGS'
15725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15728
15729 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15730 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15731 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15732 echo $ECHO_N "(cached) $ECHO_C" >&6
15733 else
15734 cat >conftest.$ac_ext <<_ACEOF
15735 /* confdefs.h. */
15736 _ACEOF
15737 cat confdefs.h >>conftest.$ac_ext
15738 cat >>conftest.$ac_ext <<_ACEOF
15739 /* end confdefs.h. */
15740
15741 int
15742 main ()
15743 {
15744
15745 #ifndef __INTEL_COMPILER
15746 choke me
15747 #endif
15748
15749 ;
15750 return 0;
15751 }
15752 _ACEOF
15753 rm -f conftest.$ac_objext
15754 if { (ac_try="$ac_compile"
15755 case "(($ac_try" in
15756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15757 *) ac_try_echo=$ac_try;;
15758 esac
15759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15760 (eval "$ac_compile") 2>conftest.er1
15761 ac_status=$?
15762 grep -v '^ *+' conftest.er1 >conftest.err
15763 rm -f conftest.er1
15764 cat conftest.err >&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); } && {
15767 test -z "$ac_c_werror_flag" ||
15768 test ! -s conftest.err
15769 } && test -s conftest.$ac_objext; then
15770 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15771 else
15772 echo "$as_me: failed program was:" >&5
15773 sed 's/^/| /' conftest.$ac_ext >&5
15774
15775 bakefile_cv_c_compiler___INTEL_COMPILER=no
15776
15777 fi
15778
15779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15780
15781
15782 fi
15783 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15784 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15785 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15786 :; INTELCC=yes
15787 else
15788 :;
15789 fi
15790 ac_ext=c
15791 ac_cpp='$CPP $CPPFLAGS'
15792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15795
15796
15797
15798
15799 if test "$INTELCC" = "yes"; then
15800
15801
15802 ac_ext=c
15803 ac_cpp='$CPP $CPPFLAGS'
15804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15807
15808 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15809 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15810 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 else
15813 cat >conftest.$ac_ext <<_ACEOF
15814 /* confdefs.h. */
15815 _ACEOF
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15819
15820 int
15821 main ()
15822 {
15823
15824 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15825 choke me
15826 #endif
15827
15828 ;
15829 return 0;
15830 }
15831 _ACEOF
15832 rm -f conftest.$ac_objext
15833 if { (ac_try="$ac_compile"
15834 case "(($ac_try" in
15835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15836 *) ac_try_echo=$ac_try;;
15837 esac
15838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15839 (eval "$ac_compile") 2>conftest.er1
15840 ac_status=$?
15841 grep -v '^ *+' conftest.er1 >conftest.err
15842 rm -f conftest.er1
15843 cat conftest.err >&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); } && {
15846 test -z "$ac_c_werror_flag" ||
15847 test ! -s conftest.err
15848 } && test -s conftest.$ac_objext; then
15849 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15850 else
15851 echo "$as_me: failed program was:" >&5
15852 sed 's/^/| /' conftest.$ac_ext >&5
15853
15854 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15855
15856 fi
15857
15858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15859
15860
15861 fi
15862 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15863 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15864 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15865 :; INTELCC8=yes
15866 else
15867 :;
15868 fi
15869 ac_ext=c
15870 ac_cpp='$CPP $CPPFLAGS'
15871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15874
15875
15876
15877
15878
15879 ac_ext=c
15880 ac_cpp='$CPP $CPPFLAGS'
15881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15884
15885 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15886 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15887 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15888 echo $ECHO_N "(cached) $ECHO_C" >&6
15889 else
15890 cat >conftest.$ac_ext <<_ACEOF
15891 /* confdefs.h. */
15892 _ACEOF
15893 cat confdefs.h >>conftest.$ac_ext
15894 cat >>conftest.$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15896
15897 int
15898 main ()
15899 {
15900
15901 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15902 choke me
15903 #endif
15904
15905 ;
15906 return 0;
15907 }
15908 _ACEOF
15909 rm -f conftest.$ac_objext
15910 if { (ac_try="$ac_compile"
15911 case "(($ac_try" in
15912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15913 *) ac_try_echo=$ac_try;;
15914 esac
15915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15916 (eval "$ac_compile") 2>conftest.er1
15917 ac_status=$?
15918 grep -v '^ *+' conftest.er1 >conftest.err
15919 rm -f conftest.er1
15920 cat conftest.err >&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } && {
15923 test -z "$ac_c_werror_flag" ||
15924 test ! -s conftest.err
15925 } && test -s conftest.$ac_objext; then
15926 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15927 else
15928 echo "$as_me: failed program was:" >&5
15929 sed 's/^/| /' conftest.$ac_ext >&5
15930
15931 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15932
15933 fi
15934
15935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15936
15937
15938 fi
15939 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15940 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15941 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15942 :; INTELCC10=yes
15943 else
15944 :;
15945 fi
15946 ac_ext=c
15947 ac_cpp='$CPP $CPPFLAGS'
15948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15951
15952
15953
15954 fi
15955
15956 if test "x$GCC" != "xyes"; then
15957 if test "xCC" = "xC"; then
15958 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15959 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15960 if test "${bakefile_cv_c_exto+set}" = set; then
15961 echo $ECHO_N "(cached) $ECHO_C" >&6
15962 else
15963 cat >conftest.$ac_ext <<_ACEOF
15964 /* confdefs.h. */
15965 _ACEOF
15966 cat confdefs.h >>conftest.$ac_ext
15967 cat >>conftest.$ac_ext <<_ACEOF
15968 /* end confdefs.h. */
15969
15970 int
15971 main ()
15972 {
15973
15974 ;
15975 return 0;
15976 }
15977 _ACEOF
15978 rm -f conftest.$ac_objext conftest.$ac_ext.o
15979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15980 (eval $ac_compile) 2>&5
15981 ac_status=$?
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); }; then
15984 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15985 case $ac_file in
15986 conftest.$ac_ext.o)
15987 bakefile_cv_c_exto="-ext o"
15988 ;;
15989 *)
15990 ;;
15991 esac
15992 done
15993 else
15994 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15995 See \`config.log' for more details." >&5
15996 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15997 See \`config.log' for more details." >&2;}
15998 { (exit 1); exit 1; }; }
15999
16000 fi
16001
16002 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16003
16004 fi
16005 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16006 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16007 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16008 if test "c" = "c"; then
16009 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16010 fi
16011 if test "c" = "cxx"; then
16012 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16013 fi
16014 fi
16015
16016 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16017 unset ac_cv_prog_cc_g
16018 ac_test_CFLAGS=${CFLAGS+set}
16019 ac_save_CFLAGS=$CFLAGS
16020 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16021 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16022 if test "${ac_cv_prog_cc_g+set}" = set; then
16023 echo $ECHO_N "(cached) $ECHO_C" >&6
16024 else
16025 ac_save_c_werror_flag=$ac_c_werror_flag
16026 ac_c_werror_flag=yes
16027 ac_cv_prog_cc_g=no
16028 CFLAGS="-g"
16029 cat >conftest.$ac_ext <<_ACEOF
16030 /* confdefs.h. */
16031 _ACEOF
16032 cat confdefs.h >>conftest.$ac_ext
16033 cat >>conftest.$ac_ext <<_ACEOF
16034 /* end confdefs.h. */
16035
16036 int
16037 main ()
16038 {
16039
16040 ;
16041 return 0;
16042 }
16043 _ACEOF
16044 rm -f conftest.$ac_objext
16045 if { (ac_try="$ac_compile"
16046 case "(($ac_try" in
16047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16048 *) ac_try_echo=$ac_try;;
16049 esac
16050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16051 (eval "$ac_compile") 2>conftest.er1
16052 ac_status=$?
16053 grep -v '^ *+' conftest.er1 >conftest.err
16054 rm -f conftest.er1
16055 cat conftest.err >&5
16056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16057 (exit $ac_status); } && {
16058 test -z "$ac_c_werror_flag" ||
16059 test ! -s conftest.err
16060 } && test -s conftest.$ac_objext; then
16061 ac_cv_prog_cc_g=yes
16062 else
16063 echo "$as_me: failed program was:" >&5
16064 sed 's/^/| /' conftest.$ac_ext >&5
16065
16066 CFLAGS=""
16067 cat >conftest.$ac_ext <<_ACEOF
16068 /* confdefs.h. */
16069 _ACEOF
16070 cat confdefs.h >>conftest.$ac_ext
16071 cat >>conftest.$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16073
16074 int
16075 main ()
16076 {
16077
16078 ;
16079 return 0;
16080 }
16081 _ACEOF
16082 rm -f conftest.$ac_objext
16083 if { (ac_try="$ac_compile"
16084 case "(($ac_try" in
16085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16086 *) ac_try_echo=$ac_try;;
16087 esac
16088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16089 (eval "$ac_compile") 2>conftest.er1
16090 ac_status=$?
16091 grep -v '^ *+' conftest.er1 >conftest.err
16092 rm -f conftest.er1
16093 cat conftest.err >&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); } && {
16096 test -z "$ac_c_werror_flag" ||
16097 test ! -s conftest.err
16098 } && test -s conftest.$ac_objext; then
16099 :
16100 else
16101 echo "$as_me: failed program was:" >&5
16102 sed 's/^/| /' conftest.$ac_ext >&5
16103
16104 ac_c_werror_flag=$ac_save_c_werror_flag
16105 CFLAGS="-g"
16106 cat >conftest.$ac_ext <<_ACEOF
16107 /* confdefs.h. */
16108 _ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112
16113 int
16114 main ()
16115 {
16116
16117 ;
16118 return 0;
16119 }
16120 _ACEOF
16121 rm -f conftest.$ac_objext
16122 if { (ac_try="$ac_compile"
16123 case "(($ac_try" in
16124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16125 *) ac_try_echo=$ac_try;;
16126 esac
16127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16128 (eval "$ac_compile") 2>conftest.er1
16129 ac_status=$?
16130 grep -v '^ *+' conftest.er1 >conftest.err
16131 rm -f conftest.er1
16132 cat conftest.err >&5
16133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134 (exit $ac_status); } && {
16135 test -z "$ac_c_werror_flag" ||
16136 test ! -s conftest.err
16137 } && test -s conftest.$ac_objext; then
16138 ac_cv_prog_cc_g=yes
16139 else
16140 echo "$as_me: failed program was:" >&5
16141 sed 's/^/| /' conftest.$ac_ext >&5
16142
16143
16144 fi
16145
16146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16147 fi
16148
16149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16150 fi
16151
16152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16153 ac_c_werror_flag=$ac_save_c_werror_flag
16154 fi
16155 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16156 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16157 if test "$ac_test_CFLAGS" = set; then
16158 CFLAGS=$ac_save_CFLAGS
16159 elif test $ac_cv_prog_cc_g = yes; then
16160 if test "$GCC" = yes; then
16161 CFLAGS="-g -O2"
16162 else
16163 CFLAGS="-g"
16164 fi
16165 else
16166 if test "$GCC" = yes; then
16167 CFLAGS="-O2"
16168 else
16169 CFLAGS=
16170 fi
16171 fi
16172 fi
16173 fi
16174
16175 case `uname -s` in
16176 AIX*)
16177
16178
16179 ac_ext=c
16180 ac_cpp='$CPP $CPPFLAGS'
16181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16184
16185 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16186 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16187 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16189 else
16190 cat >conftest.$ac_ext <<_ACEOF
16191 /* confdefs.h. */
16192 _ACEOF
16193 cat confdefs.h >>conftest.$ac_ext
16194 cat >>conftest.$ac_ext <<_ACEOF
16195 /* end confdefs.h. */
16196
16197 int
16198 main ()
16199 {
16200
16201 #ifndef __xlC__
16202 choke me
16203 #endif
16204
16205 ;
16206 return 0;
16207 }
16208 _ACEOF
16209 rm -f conftest.$ac_objext
16210 if { (ac_try="$ac_compile"
16211 case "(($ac_try" in
16212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16213 *) ac_try_echo=$ac_try;;
16214 esac
16215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16216 (eval "$ac_compile") 2>conftest.er1
16217 ac_status=$?
16218 grep -v '^ *+' conftest.er1 >conftest.err
16219 rm -f conftest.er1
16220 cat conftest.err >&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); } && {
16223 test -z "$ac_c_werror_flag" ||
16224 test ! -s conftest.err
16225 } && test -s conftest.$ac_objext; then
16226 bakefile_cv_c_compiler___xlC__=yes
16227 else
16228 echo "$as_me: failed program was:" >&5
16229 sed 's/^/| /' conftest.$ac_ext >&5
16230
16231 bakefile_cv_c_compiler___xlC__=no
16232
16233 fi
16234
16235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16236
16237
16238 fi
16239 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16240 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16241 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16242 :; XLCC=yes
16243 else
16244 :;
16245 fi
16246 ac_ext=c
16247 ac_cpp='$CPP $CPPFLAGS'
16248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16251
16252
16253
16254 ;;
16255
16256 Darwin)
16257
16258
16259 ac_ext=c
16260 ac_cpp='$CPP $CPPFLAGS'
16261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16264
16265 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16266 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16267 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16268 echo $ECHO_N "(cached) $ECHO_C" >&6
16269 else
16270 cat >conftest.$ac_ext <<_ACEOF
16271 /* confdefs.h. */
16272 _ACEOF
16273 cat confdefs.h >>conftest.$ac_ext
16274 cat >>conftest.$ac_ext <<_ACEOF
16275 /* end confdefs.h. */
16276
16277 int
16278 main ()
16279 {
16280
16281 #ifndef __MWERKS__
16282 choke me
16283 #endif
16284
16285 ;
16286 return 0;
16287 }
16288 _ACEOF
16289 rm -f conftest.$ac_objext
16290 if { (ac_try="$ac_compile"
16291 case "(($ac_try" in
16292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16293 *) ac_try_echo=$ac_try;;
16294 esac
16295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16296 (eval "$ac_compile") 2>conftest.er1
16297 ac_status=$?
16298 grep -v '^ *+' conftest.er1 >conftest.err
16299 rm -f conftest.er1
16300 cat conftest.err >&5
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); } && {
16303 test -z "$ac_c_werror_flag" ||
16304 test ! -s conftest.err
16305 } && test -s conftest.$ac_objext; then
16306 bakefile_cv_c_compiler___MWERKS__=yes
16307 else
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.$ac_ext >&5
16310
16311 bakefile_cv_c_compiler___MWERKS__=no
16312
16313 fi
16314
16315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16316
16317
16318 fi
16319 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16320 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16321 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16322 :; MWCC=yes
16323 else
16324 :;
16325 fi
16326 ac_ext=c
16327 ac_cpp='$CPP $CPPFLAGS'
16328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16331
16332
16333
16334 if test "$MWCC" != "yes"; then
16335
16336
16337 ac_ext=c
16338 ac_cpp='$CPP $CPPFLAGS'
16339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16342
16343 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16344 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16345 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16346 echo $ECHO_N "(cached) $ECHO_C" >&6
16347 else
16348 cat >conftest.$ac_ext <<_ACEOF
16349 /* confdefs.h. */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16354
16355 int
16356 main ()
16357 {
16358
16359 #ifndef __xlC__
16360 choke me
16361 #endif
16362
16363 ;
16364 return 0;
16365 }
16366 _ACEOF
16367 rm -f conftest.$ac_objext
16368 if { (ac_try="$ac_compile"
16369 case "(($ac_try" in
16370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16371 *) ac_try_echo=$ac_try;;
16372 esac
16373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16374 (eval "$ac_compile") 2>conftest.er1
16375 ac_status=$?
16376 grep -v '^ *+' conftest.er1 >conftest.err
16377 rm -f conftest.er1
16378 cat conftest.err >&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); } && {
16381 test -z "$ac_c_werror_flag" ||
16382 test ! -s conftest.err
16383 } && test -s conftest.$ac_objext; then
16384 bakefile_cv_c_compiler___xlC__=yes
16385 else
16386 echo "$as_me: failed program was:" >&5
16387 sed 's/^/| /' conftest.$ac_ext >&5
16388
16389 bakefile_cv_c_compiler___xlC__=no
16390
16391 fi
16392
16393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16394
16395
16396 fi
16397 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16398 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16399 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16400 :; XLCC=yes
16401 else
16402 :;
16403 fi
16404 ac_ext=c
16405 ac_cpp='$CPP $CPPFLAGS'
16406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16409
16410
16411
16412 fi
16413 ;;
16414
16415 IRIX*)
16416
16417
16418 ac_ext=c
16419 ac_cpp='$CPP $CPPFLAGS'
16420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16423
16424 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16425 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16426 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16427 echo $ECHO_N "(cached) $ECHO_C" >&6
16428 else
16429 cat >conftest.$ac_ext <<_ACEOF
16430 /* confdefs.h. */
16431 _ACEOF
16432 cat confdefs.h >>conftest.$ac_ext
16433 cat >>conftest.$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16435
16436 int
16437 main ()
16438 {
16439
16440 #ifndef _SGI_COMPILER_VERSION
16441 choke me
16442 #endif
16443
16444 ;
16445 return 0;
16446 }
16447 _ACEOF
16448 rm -f conftest.$ac_objext
16449 if { (ac_try="$ac_compile"
16450 case "(($ac_try" in
16451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16452 *) ac_try_echo=$ac_try;;
16453 esac
16454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16455 (eval "$ac_compile") 2>conftest.er1
16456 ac_status=$?
16457 grep -v '^ *+' conftest.er1 >conftest.err
16458 rm -f conftest.er1
16459 cat conftest.err >&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); } && {
16462 test -z "$ac_c_werror_flag" ||
16463 test ! -s conftest.err
16464 } && test -s conftest.$ac_objext; then
16465 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16466 else
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16469
16470 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16471
16472 fi
16473
16474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16475
16476
16477 fi
16478 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16479 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16480 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16481 :; SGICC=yes
16482 else
16483 :;
16484 fi
16485 ac_ext=c
16486 ac_cpp='$CPP $CPPFLAGS'
16487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16490
16491
16492
16493 ;;
16494
16495 Linux*)
16496 if test "$INTELCC" != "yes"; then
16497
16498
16499 ac_ext=c
16500 ac_cpp='$CPP $CPPFLAGS'
16501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16504
16505 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16506 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16507 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16508 echo $ECHO_N "(cached) $ECHO_C" >&6
16509 else
16510 cat >conftest.$ac_ext <<_ACEOF
16511 /* confdefs.h. */
16512 _ACEOF
16513 cat confdefs.h >>conftest.$ac_ext
16514 cat >>conftest.$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16516
16517 int
16518 main ()
16519 {
16520
16521 #ifndef __SUNPRO_C
16522 choke me
16523 #endif
16524
16525 ;
16526 return 0;
16527 }
16528 _ACEOF
16529 rm -f conftest.$ac_objext
16530 if { (ac_try="$ac_compile"
16531 case "(($ac_try" in
16532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16533 *) ac_try_echo=$ac_try;;
16534 esac
16535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16536 (eval "$ac_compile") 2>conftest.er1
16537 ac_status=$?
16538 grep -v '^ *+' conftest.er1 >conftest.err
16539 rm -f conftest.er1
16540 cat conftest.err >&5
16541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); } && {
16543 test -z "$ac_c_werror_flag" ||
16544 test ! -s conftest.err
16545 } && test -s conftest.$ac_objext; then
16546 bakefile_cv_c_compiler___SUNPRO_C=yes
16547 else
16548 echo "$as_me: failed program was:" >&5
16549 sed 's/^/| /' conftest.$ac_ext >&5
16550
16551 bakefile_cv_c_compiler___SUNPRO_C=no
16552
16553 fi
16554
16555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16556
16557
16558 fi
16559 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16560 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16561 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16562 :; SUNCC=yes
16563 else
16564 :;
16565 fi
16566 ac_ext=c
16567 ac_cpp='$CPP $CPPFLAGS'
16568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16571
16572
16573
16574 fi
16575 ;;
16576
16577 HP-UX*)
16578
16579
16580 ac_ext=c
16581 ac_cpp='$CPP $CPPFLAGS'
16582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16585
16586 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16587 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16588 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16589 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 else
16591 cat >conftest.$ac_ext <<_ACEOF
16592 /* confdefs.h. */
16593 _ACEOF
16594 cat confdefs.h >>conftest.$ac_ext
16595 cat >>conftest.$ac_ext <<_ACEOF
16596 /* end confdefs.h. */
16597
16598 int
16599 main ()
16600 {
16601
16602 #ifndef __HP_cc
16603 choke me
16604 #endif
16605
16606 ;
16607 return 0;
16608 }
16609 _ACEOF
16610 rm -f conftest.$ac_objext
16611 if { (ac_try="$ac_compile"
16612 case "(($ac_try" in
16613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16614 *) ac_try_echo=$ac_try;;
16615 esac
16616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16617 (eval "$ac_compile") 2>conftest.er1
16618 ac_status=$?
16619 grep -v '^ *+' conftest.er1 >conftest.err
16620 rm -f conftest.er1
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && {
16624 test -z "$ac_c_werror_flag" ||
16625 test ! -s conftest.err
16626 } && test -s conftest.$ac_objext; then
16627 bakefile_cv_c_compiler___HP_cc=yes
16628 else
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16631
16632 bakefile_cv_c_compiler___HP_cc=no
16633
16634 fi
16635
16636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16637
16638
16639 fi
16640 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16641 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16642 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16643 :; HPCC=yes
16644 else
16645 :;
16646 fi
16647 ac_ext=c
16648 ac_cpp='$CPP $CPPFLAGS'
16649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16652
16653
16654
16655 ;;
16656
16657 OSF1)
16658
16659
16660 ac_ext=c
16661 ac_cpp='$CPP $CPPFLAGS'
16662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16665
16666 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16667 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16668 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16669 echo $ECHO_N "(cached) $ECHO_C" >&6
16670 else
16671 cat >conftest.$ac_ext <<_ACEOF
16672 /* confdefs.h. */
16673 _ACEOF
16674 cat confdefs.h >>conftest.$ac_ext
16675 cat >>conftest.$ac_ext <<_ACEOF
16676 /* end confdefs.h. */
16677
16678 int
16679 main ()
16680 {
16681
16682 #ifndef __DECC
16683 choke me
16684 #endif
16685
16686 ;
16687 return 0;
16688 }
16689 _ACEOF
16690 rm -f conftest.$ac_objext
16691 if { (ac_try="$ac_compile"
16692 case "(($ac_try" in
16693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16694 *) ac_try_echo=$ac_try;;
16695 esac
16696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16697 (eval "$ac_compile") 2>conftest.er1
16698 ac_status=$?
16699 grep -v '^ *+' conftest.er1 >conftest.err
16700 rm -f conftest.er1
16701 cat conftest.err >&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); } && {
16704 test -z "$ac_c_werror_flag" ||
16705 test ! -s conftest.err
16706 } && test -s conftest.$ac_objext; then
16707 bakefile_cv_c_compiler___DECC=yes
16708 else
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.$ac_ext >&5
16711
16712 bakefile_cv_c_compiler___DECC=no
16713
16714 fi
16715
16716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16717
16718
16719 fi
16720 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16721 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16722 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16723 :; COMPAQCC=yes
16724 else
16725 :;
16726 fi
16727 ac_ext=c
16728 ac_cpp='$CPP $CPPFLAGS'
16729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16732
16733
16734
16735 ;;
16736
16737 SunOS)
16738
16739
16740 ac_ext=c
16741 ac_cpp='$CPP $CPPFLAGS'
16742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16745
16746 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16747 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16748 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16749 echo $ECHO_N "(cached) $ECHO_C" >&6
16750 else
16751 cat >conftest.$ac_ext <<_ACEOF
16752 /* confdefs.h. */
16753 _ACEOF
16754 cat confdefs.h >>conftest.$ac_ext
16755 cat >>conftest.$ac_ext <<_ACEOF
16756 /* end confdefs.h. */
16757
16758 int
16759 main ()
16760 {
16761
16762 #ifndef __SUNPRO_C
16763 choke me
16764 #endif
16765
16766 ;
16767 return 0;
16768 }
16769 _ACEOF
16770 rm -f conftest.$ac_objext
16771 if { (ac_try="$ac_compile"
16772 case "(($ac_try" in
16773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16774 *) ac_try_echo=$ac_try;;
16775 esac
16776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16777 (eval "$ac_compile") 2>conftest.er1
16778 ac_status=$?
16779 grep -v '^ *+' conftest.er1 >conftest.err
16780 rm -f conftest.er1
16781 cat conftest.err >&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); } && {
16784 test -z "$ac_c_werror_flag" ||
16785 test ! -s conftest.err
16786 } && test -s conftest.$ac_objext; then
16787 bakefile_cv_c_compiler___SUNPRO_C=yes
16788 else
16789 echo "$as_me: failed program was:" >&5
16790 sed 's/^/| /' conftest.$ac_ext >&5
16791
16792 bakefile_cv_c_compiler___SUNPRO_C=no
16793
16794 fi
16795
16796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16797
16798
16799 fi
16800 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16801 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16802 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16803 :; SUNCC=yes
16804 else
16805 :;
16806 fi
16807 ac_ext=c
16808 ac_cpp='$CPP $CPPFLAGS'
16809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16812
16813
16814
16815 ;;
16816 esac
16817 fi
16818
16819
16820
16821 ac_ext=c
16822 ac_cpp='$CPP $CPPFLAGS'
16823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16826 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16827 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16828 # On Suns, sometimes $CPP names a directory.
16829 if test -n "$CPP" && test -d "$CPP"; then
16830 CPP=
16831 fi
16832 if test -z "$CPP"; then
16833 if test "${ac_cv_prog_CPP+set}" = set; then
16834 echo $ECHO_N "(cached) $ECHO_C" >&6
16835 else
16836 # Double quotes because CPP needs to be expanded
16837 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16838 do
16839 ac_preproc_ok=false
16840 for ac_c_preproc_warn_flag in '' yes
16841 do
16842 # Use a header file that comes with gcc, so configuring glibc
16843 # with a fresh cross-compiler works.
16844 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16845 # <limits.h> exists even on freestanding compilers.
16846 # On the NeXT, cc -E runs the code through the compiler's parser,
16847 # not just through cpp. "Syntax error" is here to catch this case.
16848 cat >conftest.$ac_ext <<_ACEOF
16849 /* confdefs.h. */
16850 _ACEOF
16851 cat confdefs.h >>conftest.$ac_ext
16852 cat >>conftest.$ac_ext <<_ACEOF
16853 /* end confdefs.h. */
16854 #ifdef __STDC__
16855 # include <limits.h>
16856 #else
16857 # include <assert.h>
16858 #endif
16859 Syntax error
16860 _ACEOF
16861 if { (ac_try="$ac_cpp conftest.$ac_ext"
16862 case "(($ac_try" in
16863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16864 *) ac_try_echo=$ac_try;;
16865 esac
16866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16867 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16868 ac_status=$?
16869 grep -v '^ *+' conftest.er1 >conftest.err
16870 rm -f conftest.er1
16871 cat conftest.err >&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); } >/dev/null && {
16874 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16875 test ! -s conftest.err
16876 }; then
16877 :
16878 else
16879 echo "$as_me: failed program was:" >&5
16880 sed 's/^/| /' conftest.$ac_ext >&5
16881
16882 # Broken: fails on valid input.
16883 continue
16884 fi
16885
16886 rm -f conftest.err conftest.$ac_ext
16887
16888 # OK, works on sane cases. Now check whether nonexistent headers
16889 # can be detected and how.
16890 cat >conftest.$ac_ext <<_ACEOF
16891 /* confdefs.h. */
16892 _ACEOF
16893 cat confdefs.h >>conftest.$ac_ext
16894 cat >>conftest.$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896 #include <ac_nonexistent.h>
16897 _ACEOF
16898 if { (ac_try="$ac_cpp conftest.$ac_ext"
16899 case "(($ac_try" in
16900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16901 *) ac_try_echo=$ac_try;;
16902 esac
16903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16905 ac_status=$?
16906 grep -v '^ *+' conftest.er1 >conftest.err
16907 rm -f conftest.er1
16908 cat conftest.err >&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } >/dev/null && {
16911 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16912 test ! -s conftest.err
16913 }; then
16914 # Broken: success on invalid input.
16915 continue
16916 else
16917 echo "$as_me: failed program was:" >&5
16918 sed 's/^/| /' conftest.$ac_ext >&5
16919
16920 # Passes both tests.
16921 ac_preproc_ok=:
16922 break
16923 fi
16924
16925 rm -f conftest.err conftest.$ac_ext
16926
16927 done
16928 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16929 rm -f conftest.err conftest.$ac_ext
16930 if $ac_preproc_ok; then
16931 break
16932 fi
16933
16934 done
16935 ac_cv_prog_CPP=$CPP
16936
16937 fi
16938 CPP=$ac_cv_prog_CPP
16939 else
16940 ac_cv_prog_CPP=$CPP
16941 fi
16942 { echo "$as_me:$LINENO: result: $CPP" >&5
16943 echo "${ECHO_T}$CPP" >&6; }
16944 ac_preproc_ok=false
16945 for ac_c_preproc_warn_flag in '' yes
16946 do
16947 # Use a header file that comes with gcc, so configuring glibc
16948 # with a fresh cross-compiler works.
16949 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16950 # <limits.h> exists even on freestanding compilers.
16951 # On the NeXT, cc -E runs the code through the compiler's parser,
16952 # not just through cpp. "Syntax error" is here to catch this case.
16953 cat >conftest.$ac_ext <<_ACEOF
16954 /* confdefs.h. */
16955 _ACEOF
16956 cat confdefs.h >>conftest.$ac_ext
16957 cat >>conftest.$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16959 #ifdef __STDC__
16960 # include <limits.h>
16961 #else
16962 # include <assert.h>
16963 #endif
16964 Syntax error
16965 _ACEOF
16966 if { (ac_try="$ac_cpp conftest.$ac_ext"
16967 case "(($ac_try" in
16968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16969 *) ac_try_echo=$ac_try;;
16970 esac
16971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16973 ac_status=$?
16974 grep -v '^ *+' conftest.er1 >conftest.err
16975 rm -f conftest.er1
16976 cat conftest.err >&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } >/dev/null && {
16979 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16980 test ! -s conftest.err
16981 }; then
16982 :
16983 else
16984 echo "$as_me: failed program was:" >&5
16985 sed 's/^/| /' conftest.$ac_ext >&5
16986
16987 # Broken: fails on valid input.
16988 continue
16989 fi
16990
16991 rm -f conftest.err conftest.$ac_ext
16992
16993 # OK, works on sane cases. Now check whether nonexistent headers
16994 # can be detected and how.
16995 cat >conftest.$ac_ext <<_ACEOF
16996 /* confdefs.h. */
16997 _ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 #include <ac_nonexistent.h>
17002 _ACEOF
17003 if { (ac_try="$ac_cpp conftest.$ac_ext"
17004 case "(($ac_try" in
17005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17006 *) ac_try_echo=$ac_try;;
17007 esac
17008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17009 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17010 ac_status=$?
17011 grep -v '^ *+' conftest.er1 >conftest.err
17012 rm -f conftest.er1
17013 cat conftest.err >&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } >/dev/null && {
17016 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17017 test ! -s conftest.err
17018 }; then
17019 # Broken: success on invalid input.
17020 continue
17021 else
17022 echo "$as_me: failed program was:" >&5
17023 sed 's/^/| /' conftest.$ac_ext >&5
17024
17025 # Passes both tests.
17026 ac_preproc_ok=:
17027 break
17028 fi
17029
17030 rm -f conftest.err conftest.$ac_ext
17031
17032 done
17033 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17034 rm -f conftest.err conftest.$ac_ext
17035 if $ac_preproc_ok; then
17036 :
17037 else
17038 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17039 See \`config.log' for more details." >&5
17040 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17041 See \`config.log' for more details." >&2;}
17042 { (exit 1); exit 1; }; }
17043 fi
17044
17045 ac_ext=c
17046 ac_cpp='$CPP $CPPFLAGS'
17047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17050
17051
17052 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17053 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17054 if test "${ac_cv_path_GREP+set}" = set; then
17055 echo $ECHO_N "(cached) $ECHO_C" >&6
17056 else
17057 # Extract the first word of "grep ggrep" to use in msg output
17058 if test -z "$GREP"; then
17059 set dummy grep ggrep; ac_prog_name=$2
17060 if test "${ac_cv_path_GREP+set}" = set; then
17061 echo $ECHO_N "(cached) $ECHO_C" >&6
17062 else
17063 ac_path_GREP_found=false
17064 # Loop through the user's path and test for each of PROGNAME-LIST
17065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17066 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17067 do
17068 IFS=$as_save_IFS
17069 test -z "$as_dir" && as_dir=.
17070 for ac_prog in grep ggrep; do
17071 for ac_exec_ext in '' $ac_executable_extensions; do
17072 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17073 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17074 # Check for GNU ac_path_GREP and select it if it is found.
17075 # Check for GNU $ac_path_GREP
17076 case `"$ac_path_GREP" --version 2>&1` in
17077 *GNU*)
17078 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17079 *)
17080 ac_count=0
17081 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17082 while :
17083 do
17084 cat "conftest.in" "conftest.in" >"conftest.tmp"
17085 mv "conftest.tmp" "conftest.in"
17086 cp "conftest.in" "conftest.nl"
17087 echo 'GREP' >> "conftest.nl"
17088 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17089 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17090 ac_count=`expr $ac_count + 1`
17091 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17092 # Best one so far, save it but keep looking for a better one
17093 ac_cv_path_GREP="$ac_path_GREP"
17094 ac_path_GREP_max=$ac_count
17095 fi
17096 # 10*(2^10) chars as input seems more than enough
17097 test $ac_count -gt 10 && break
17098 done
17099 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17100 esac
17101
17102
17103 $ac_path_GREP_found && break 3
17104 done
17105 done
17106
17107 done
17108 IFS=$as_save_IFS
17109
17110
17111 fi
17112
17113 GREP="$ac_cv_path_GREP"
17114 if test -z "$GREP"; then
17115 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17116 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17117 { (exit 1); exit 1; }; }
17118 fi
17119
17120 else
17121 ac_cv_path_GREP=$GREP
17122 fi
17123
17124
17125 fi
17126 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17127 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17128 GREP="$ac_cv_path_GREP"
17129
17130
17131 { echo "$as_me:$LINENO: checking for egrep" >&5
17132 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17133 if test "${ac_cv_path_EGREP+set}" = set; then
17134 echo $ECHO_N "(cached) $ECHO_C" >&6
17135 else
17136 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17137 then ac_cv_path_EGREP="$GREP -E"
17138 else
17139 # Extract the first word of "egrep" to use in msg output
17140 if test -z "$EGREP"; then
17141 set dummy egrep; ac_prog_name=$2
17142 if test "${ac_cv_path_EGREP+set}" = set; then
17143 echo $ECHO_N "(cached) $ECHO_C" >&6
17144 else
17145 ac_path_EGREP_found=false
17146 # Loop through the user's path and test for each of PROGNAME-LIST
17147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17148 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17149 do
17150 IFS=$as_save_IFS
17151 test -z "$as_dir" && as_dir=.
17152 for ac_prog in egrep; do
17153 for ac_exec_ext in '' $ac_executable_extensions; do
17154 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17155 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17156 # Check for GNU ac_path_EGREP and select it if it is found.
17157 # Check for GNU $ac_path_EGREP
17158 case `"$ac_path_EGREP" --version 2>&1` in
17159 *GNU*)
17160 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17161 *)
17162 ac_count=0
17163 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17164 while :
17165 do
17166 cat "conftest.in" "conftest.in" >"conftest.tmp"
17167 mv "conftest.tmp" "conftest.in"
17168 cp "conftest.in" "conftest.nl"
17169 echo 'EGREP' >> "conftest.nl"
17170 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17171 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17172 ac_count=`expr $ac_count + 1`
17173 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17174 # Best one so far, save it but keep looking for a better one
17175 ac_cv_path_EGREP="$ac_path_EGREP"
17176 ac_path_EGREP_max=$ac_count
17177 fi
17178 # 10*(2^10) chars as input seems more than enough
17179 test $ac_count -gt 10 && break
17180 done
17181 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17182 esac
17183
17184
17185 $ac_path_EGREP_found && break 3
17186 done
17187 done
17188
17189 done
17190 IFS=$as_save_IFS
17191
17192
17193 fi
17194
17195 EGREP="$ac_cv_path_EGREP"
17196 if test -z "$EGREP"; then
17197 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17198 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17199 { (exit 1); exit 1; }; }
17200 fi
17201
17202 else
17203 ac_cv_path_EGREP=$EGREP
17204 fi
17205
17206
17207 fi
17208 fi
17209 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17210 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17211 EGREP="$ac_cv_path_EGREP"
17212
17213
17214 if test $ac_cv_c_compiler_gnu = yes; then
17215 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17216 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17217 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17218 echo $ECHO_N "(cached) $ECHO_C" >&6
17219 else
17220 ac_pattern="Autoconf.*'x'"
17221 cat >conftest.$ac_ext <<_ACEOF
17222 /* confdefs.h. */
17223 _ACEOF
17224 cat confdefs.h >>conftest.$ac_ext
17225 cat >>conftest.$ac_ext <<_ACEOF
17226 /* end confdefs.h. */
17227 #include <sgtty.h>
17228 Autoconf TIOCGETP
17229 _ACEOF
17230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17231 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17232 ac_cv_prog_gcc_traditional=yes
17233 else
17234 ac_cv_prog_gcc_traditional=no
17235 fi
17236 rm -f -r conftest*
17237
17238
17239 if test $ac_cv_prog_gcc_traditional = no; then
17240 cat >conftest.$ac_ext <<_ACEOF
17241 /* confdefs.h. */
17242 _ACEOF
17243 cat confdefs.h >>conftest.$ac_ext
17244 cat >>conftest.$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246 #include <termio.h>
17247 Autoconf TCGETA
17248 _ACEOF
17249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17250 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17251 ac_cv_prog_gcc_traditional=yes
17252 fi
17253 rm -f -r conftest*
17254
17255 fi
17256 fi
17257 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17258 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17259 if test $ac_cv_prog_gcc_traditional = yes; then
17260 CC="$CC -traditional"
17261 fi
17262 fi
17263
17264
17265 CXXFLAGS=${CXXFLAGS:=}
17266 ac_ext=cpp
17267 ac_cpp='$CXXCPP $CPPFLAGS'
17268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17271 if test -z "$CXX"; then
17272 if test -n "$CCC"; then
17273 CXX=$CCC
17274 else
17275 if test -n "$ac_tool_prefix"; then
17276 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17277 do
17278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17282 if test "${ac_cv_prog_CXX+set}" = set; then
17283 echo $ECHO_N "(cached) $ECHO_C" >&6
17284 else
17285 if test -n "$CXX"; then
17286 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17287 else
17288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17289 for as_dir in $PATH
17290 do
17291 IFS=$as_save_IFS
17292 test -z "$as_dir" && as_dir=.
17293 for ac_exec_ext in '' $ac_executable_extensions; do
17294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17295 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17297 break 2
17298 fi
17299 done
17300 done
17301 IFS=$as_save_IFS
17302
17303 fi
17304 fi
17305 CXX=$ac_cv_prog_CXX
17306 if test -n "$CXX"; then
17307 { echo "$as_me:$LINENO: result: $CXX" >&5
17308 echo "${ECHO_T}$CXX" >&6; }
17309 else
17310 { echo "$as_me:$LINENO: result: no" >&5
17311 echo "${ECHO_T}no" >&6; }
17312 fi
17313
17314
17315 test -n "$CXX" && break
17316 done
17317 fi
17318 if test -z "$CXX"; then
17319 ac_ct_CXX=$CXX
17320 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17321 do
17322 # Extract the first word of "$ac_prog", so it can be a program name with args.
17323 set dummy $ac_prog; ac_word=$2
17324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17326 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17327 echo $ECHO_N "(cached) $ECHO_C" >&6
17328 else
17329 if test -n "$ac_ct_CXX"; then
17330 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17331 else
17332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17333 for as_dir in $PATH
17334 do
17335 IFS=$as_save_IFS
17336 test -z "$as_dir" && as_dir=.
17337 for ac_exec_ext in '' $ac_executable_extensions; do
17338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17339 ac_cv_prog_ac_ct_CXX="$ac_prog"
17340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17341 break 2
17342 fi
17343 done
17344 done
17345 IFS=$as_save_IFS
17346
17347 fi
17348 fi
17349 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17350 if test -n "$ac_ct_CXX"; then
17351 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17352 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17353 else
17354 { echo "$as_me:$LINENO: result: no" >&5
17355 echo "${ECHO_T}no" >&6; }
17356 fi
17357
17358
17359 test -n "$ac_ct_CXX" && break
17360 done
17361
17362 if test "x$ac_ct_CXX" = x; then
17363 CXX="g++"
17364 else
17365 case $cross_compiling:$ac_tool_warned in
17366 yes:)
17367 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17368 whose name does not start with the host triplet. If you think this
17369 configuration is useful to you, please write to autoconf@gnu.org." >&5
17370 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17371 whose name does not start with the host triplet. If you think this
17372 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17373 ac_tool_warned=yes ;;
17374 esac
17375 CXX=$ac_ct_CXX
17376 fi
17377 fi
17378
17379 fi
17380 fi
17381 # Provide some information about the compiler.
17382 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17383 ac_compiler=`set X $ac_compile; echo $2`
17384 { (ac_try="$ac_compiler --version >&5"
17385 case "(($ac_try" in
17386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17387 *) ac_try_echo=$ac_try;;
17388 esac
17389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17390 (eval "$ac_compiler --version >&5") 2>&5
17391 ac_status=$?
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); }
17394 { (ac_try="$ac_compiler -v >&5"
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_compiler -v >&5") 2>&5
17401 ac_status=$?
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }
17404 { (ac_try="$ac_compiler -V >&5"
17405 case "(($ac_try" in
17406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17407 *) ac_try_echo=$ac_try;;
17408 esac
17409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17410 (eval "$ac_compiler -V >&5") 2>&5
17411 ac_status=$?
17412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413 (exit $ac_status); }
17414
17415 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17416 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17417 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17418 echo $ECHO_N "(cached) $ECHO_C" >&6
17419 else
17420 cat >conftest.$ac_ext <<_ACEOF
17421 /* confdefs.h. */
17422 _ACEOF
17423 cat confdefs.h >>conftest.$ac_ext
17424 cat >>conftest.$ac_ext <<_ACEOF
17425 /* end confdefs.h. */
17426
17427 int
17428 main ()
17429 {
17430 #ifndef __GNUC__
17431 choke me
17432 #endif
17433
17434 ;
17435 return 0;
17436 }
17437 _ACEOF
17438 rm -f conftest.$ac_objext
17439 if { (ac_try="$ac_compile"
17440 case "(($ac_try" in
17441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17442 *) ac_try_echo=$ac_try;;
17443 esac
17444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17445 (eval "$ac_compile") 2>conftest.er1
17446 ac_status=$?
17447 grep -v '^ *+' conftest.er1 >conftest.err
17448 rm -f conftest.er1
17449 cat conftest.err >&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); } && {
17452 test -z "$ac_cxx_werror_flag" ||
17453 test ! -s conftest.err
17454 } && test -s conftest.$ac_objext; then
17455 ac_compiler_gnu=yes
17456 else
17457 echo "$as_me: failed program was:" >&5
17458 sed 's/^/| /' conftest.$ac_ext >&5
17459
17460 ac_compiler_gnu=no
17461 fi
17462
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17464 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17465
17466 fi
17467 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17468 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17469 GXX=`test $ac_compiler_gnu = yes && echo yes`
17470 ac_test_CXXFLAGS=${CXXFLAGS+set}
17471 ac_save_CXXFLAGS=$CXXFLAGS
17472 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17473 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17474 if test "${ac_cv_prog_cxx_g+set}" = set; then
17475 echo $ECHO_N "(cached) $ECHO_C" >&6
17476 else
17477 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17478 ac_cxx_werror_flag=yes
17479 ac_cv_prog_cxx_g=no
17480 CXXFLAGS="-g"
17481 cat >conftest.$ac_ext <<_ACEOF
17482 /* confdefs.h. */
17483 _ACEOF
17484 cat confdefs.h >>conftest.$ac_ext
17485 cat >>conftest.$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17487
17488 int
17489 main ()
17490 {
17491
17492 ;
17493 return 0;
17494 }
17495 _ACEOF
17496 rm -f conftest.$ac_objext
17497 if { (ac_try="$ac_compile"
17498 case "(($ac_try" in
17499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17500 *) ac_try_echo=$ac_try;;
17501 esac
17502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17503 (eval "$ac_compile") 2>conftest.er1
17504 ac_status=$?
17505 grep -v '^ *+' conftest.er1 >conftest.err
17506 rm -f conftest.er1
17507 cat conftest.err >&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); } && {
17510 test -z "$ac_cxx_werror_flag" ||
17511 test ! -s conftest.err
17512 } && test -s conftest.$ac_objext; then
17513 ac_cv_prog_cxx_g=yes
17514 else
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.$ac_ext >&5
17517
17518 CXXFLAGS=""
17519 cat >conftest.$ac_ext <<_ACEOF
17520 /* confdefs.h. */
17521 _ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17525
17526 int
17527 main ()
17528 {
17529
17530 ;
17531 return 0;
17532 }
17533 _ACEOF
17534 rm -f conftest.$ac_objext
17535 if { (ac_try="$ac_compile"
17536 case "(($ac_try" in
17537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17538 *) ac_try_echo=$ac_try;;
17539 esac
17540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17541 (eval "$ac_compile") 2>conftest.er1
17542 ac_status=$?
17543 grep -v '^ *+' conftest.er1 >conftest.err
17544 rm -f conftest.er1
17545 cat conftest.err >&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } && {
17548 test -z "$ac_cxx_werror_flag" ||
17549 test ! -s conftest.err
17550 } && test -s conftest.$ac_objext; then
17551 :
17552 else
17553 echo "$as_me: failed program was:" >&5
17554 sed 's/^/| /' conftest.$ac_ext >&5
17555
17556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17557 CXXFLAGS="-g"
17558 cat >conftest.$ac_ext <<_ACEOF
17559 /* confdefs.h. */
17560 _ACEOF
17561 cat confdefs.h >>conftest.$ac_ext
17562 cat >>conftest.$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17564
17565 int
17566 main ()
17567 {
17568
17569 ;
17570 return 0;
17571 }
17572 _ACEOF
17573 rm -f conftest.$ac_objext
17574 if { (ac_try="$ac_compile"
17575 case "(($ac_try" in
17576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17577 *) ac_try_echo=$ac_try;;
17578 esac
17579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580 (eval "$ac_compile") 2>conftest.er1
17581 ac_status=$?
17582 grep -v '^ *+' conftest.er1 >conftest.err
17583 rm -f conftest.er1
17584 cat conftest.err >&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } && {
17587 test -z "$ac_cxx_werror_flag" ||
17588 test ! -s conftest.err
17589 } && test -s conftest.$ac_objext; then
17590 ac_cv_prog_cxx_g=yes
17591 else
17592 echo "$as_me: failed program was:" >&5
17593 sed 's/^/| /' conftest.$ac_ext >&5
17594
17595
17596 fi
17597
17598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17599 fi
17600
17601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17602 fi
17603
17604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17605 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17606 fi
17607 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17608 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17609 if test "$ac_test_CXXFLAGS" = set; then
17610 CXXFLAGS=$ac_save_CXXFLAGS
17611 elif test $ac_cv_prog_cxx_g = yes; then
17612 if test "$GXX" = yes; then
17613 CXXFLAGS="-g -O2"
17614 else
17615 CXXFLAGS="-g"
17616 fi
17617 else
17618 if test "$GXX" = yes; then
17619 CXXFLAGS="-O2"
17620 else
17621 CXXFLAGS=
17622 fi
17623 fi
17624 ac_ext=c
17625 ac_cpp='$CPP $CPPFLAGS'
17626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17629
17630
17631
17632
17633
17634
17635
17636
17637 ac_ext=cpp
17638 ac_cpp='$CXXCPP $CPPFLAGS'
17639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17642
17643 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17644 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17645 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17647 else
17648 cat >conftest.$ac_ext <<_ACEOF
17649 /* confdefs.h. */
17650 _ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17654
17655 int
17656 main ()
17657 {
17658
17659 #ifndef __INTEL_COMPILER
17660 choke me
17661 #endif
17662
17663 ;
17664 return 0;
17665 }
17666 _ACEOF
17667 rm -f conftest.$ac_objext
17668 if { (ac_try="$ac_compile"
17669 case "(($ac_try" in
17670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17671 *) ac_try_echo=$ac_try;;
17672 esac
17673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17674 (eval "$ac_compile") 2>conftest.er1
17675 ac_status=$?
17676 grep -v '^ *+' conftest.er1 >conftest.err
17677 rm -f conftest.er1
17678 cat conftest.err >&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } && {
17681 test -z "$ac_cxx_werror_flag" ||
17682 test ! -s conftest.err
17683 } && test -s conftest.$ac_objext; then
17684 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17685 else
17686 echo "$as_me: failed program was:" >&5
17687 sed 's/^/| /' conftest.$ac_ext >&5
17688
17689 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17690
17691 fi
17692
17693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17694
17695
17696 fi
17697 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17698 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17699 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17700 :; INTELCXX=yes
17701 else
17702 :;
17703 fi
17704 ac_ext=c
17705 ac_cpp='$CPP $CPPFLAGS'
17706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17709
17710
17711
17712
17713 if test "$INTELCXX" = "yes"; then
17714
17715
17716 ac_ext=cpp
17717 ac_cpp='$CXXCPP $CPPFLAGS'
17718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17721
17722 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17723 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17724 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17725 echo $ECHO_N "(cached) $ECHO_C" >&6
17726 else
17727 cat >conftest.$ac_ext <<_ACEOF
17728 /* confdefs.h. */
17729 _ACEOF
17730 cat confdefs.h >>conftest.$ac_ext
17731 cat >>conftest.$ac_ext <<_ACEOF
17732 /* end confdefs.h. */
17733
17734 int
17735 main ()
17736 {
17737
17738 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17739 choke me
17740 #endif
17741
17742 ;
17743 return 0;
17744 }
17745 _ACEOF
17746 rm -f conftest.$ac_objext
17747 if { (ac_try="$ac_compile"
17748 case "(($ac_try" in
17749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17750 *) ac_try_echo=$ac_try;;
17751 esac
17752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17753 (eval "$ac_compile") 2>conftest.er1
17754 ac_status=$?
17755 grep -v '^ *+' conftest.er1 >conftest.err
17756 rm -f conftest.er1
17757 cat conftest.err >&5
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); } && {
17760 test -z "$ac_cxx_werror_flag" ||
17761 test ! -s conftest.err
17762 } && test -s conftest.$ac_objext; then
17763 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17764 else
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.$ac_ext >&5
17767
17768 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17769
17770 fi
17771
17772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17773
17774
17775 fi
17776 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17777 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17778 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17779 :; INTELCXX8=yes
17780 else
17781 :;
17782 fi
17783 ac_ext=c
17784 ac_cpp='$CPP $CPPFLAGS'
17785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17788
17789
17790
17791
17792
17793 ac_ext=cpp
17794 ac_cpp='$CXXCPP $CPPFLAGS'
17795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17798
17799 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17800 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17801 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17802 echo $ECHO_N "(cached) $ECHO_C" >&6
17803 else
17804 cat >conftest.$ac_ext <<_ACEOF
17805 /* confdefs.h. */
17806 _ACEOF
17807 cat confdefs.h >>conftest.$ac_ext
17808 cat >>conftest.$ac_ext <<_ACEOF
17809 /* end confdefs.h. */
17810
17811 int
17812 main ()
17813 {
17814
17815 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17816 choke me
17817 #endif
17818
17819 ;
17820 return 0;
17821 }
17822 _ACEOF
17823 rm -f conftest.$ac_objext
17824 if { (ac_try="$ac_compile"
17825 case "(($ac_try" in
17826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17827 *) ac_try_echo=$ac_try;;
17828 esac
17829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17830 (eval "$ac_compile") 2>conftest.er1
17831 ac_status=$?
17832 grep -v '^ *+' conftest.er1 >conftest.err
17833 rm -f conftest.er1
17834 cat conftest.err >&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); } && {
17837 test -z "$ac_cxx_werror_flag" ||
17838 test ! -s conftest.err
17839 } && test -s conftest.$ac_objext; then
17840 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17841 else
17842 echo "$as_me: failed program was:" >&5
17843 sed 's/^/| /' conftest.$ac_ext >&5
17844
17845 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17846
17847 fi
17848
17849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17850
17851
17852 fi
17853 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17854 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17855 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17856 :; INTELCXX10=yes
17857 else
17858 :;
17859 fi
17860 ac_ext=c
17861 ac_cpp='$CPP $CPPFLAGS'
17862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17865
17866
17867
17868 fi
17869
17870 if test "x$GCXX" != "xyes"; then
17871 if test "xCXX" = "xC"; then
17872 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17873 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17874 if test "${bakefile_cv_c_exto+set}" = set; then
17875 echo $ECHO_N "(cached) $ECHO_C" >&6
17876 else
17877 cat >conftest.$ac_ext <<_ACEOF
17878 /* confdefs.h. */
17879 _ACEOF
17880 cat confdefs.h >>conftest.$ac_ext
17881 cat >>conftest.$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17883
17884 int
17885 main ()
17886 {
17887
17888 ;
17889 return 0;
17890 }
17891 _ACEOF
17892 rm -f conftest.$ac_objext conftest.$ac_ext.o
17893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17894 (eval $ac_compile) 2>&5
17895 ac_status=$?
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); }; then
17898 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17899 case $ac_file in
17900 conftest.$ac_ext.o)
17901 bakefile_cv_c_exto="-ext o"
17902 ;;
17903 *)
17904 ;;
17905 esac
17906 done
17907 else
17908 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17909 See \`config.log' for more details." >&5
17910 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17911 See \`config.log' for more details." >&2;}
17912 { (exit 1); exit 1; }; }
17913
17914 fi
17915
17916 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17917
17918 fi
17919 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17920 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17921 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17922 if test "c" = "c"; then
17923 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17924 fi
17925 if test "c" = "cxx"; then
17926 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17927 fi
17928 fi
17929
17930 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17931 unset ac_cv_prog_cc_g
17932 ac_test_CFLAGS=${CFLAGS+set}
17933 ac_save_CFLAGS=$CFLAGS
17934 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17935 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17936 if test "${ac_cv_prog_cc_g+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17938 else
17939 ac_save_c_werror_flag=$ac_c_werror_flag
17940 ac_c_werror_flag=yes
17941 ac_cv_prog_cc_g=no
17942 CFLAGS="-g"
17943 cat >conftest.$ac_ext <<_ACEOF
17944 /* confdefs.h. */
17945 _ACEOF
17946 cat confdefs.h >>conftest.$ac_ext
17947 cat >>conftest.$ac_ext <<_ACEOF
17948 /* end confdefs.h. */
17949
17950 int
17951 main ()
17952 {
17953
17954 ;
17955 return 0;
17956 }
17957 _ACEOF
17958 rm -f conftest.$ac_objext
17959 if { (ac_try="$ac_compile"
17960 case "(($ac_try" in
17961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17962 *) ac_try_echo=$ac_try;;
17963 esac
17964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17965 (eval "$ac_compile") 2>conftest.er1
17966 ac_status=$?
17967 grep -v '^ *+' conftest.er1 >conftest.err
17968 rm -f conftest.er1
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } && {
17972 test -z "$ac_c_werror_flag" ||
17973 test ! -s conftest.err
17974 } && test -s conftest.$ac_objext; then
17975 ac_cv_prog_cc_g=yes
17976 else
17977 echo "$as_me: failed program was:" >&5
17978 sed 's/^/| /' conftest.$ac_ext >&5
17979
17980 CFLAGS=""
17981 cat >conftest.$ac_ext <<_ACEOF
17982 /* confdefs.h. */
17983 _ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17987
17988 int
17989 main ()
17990 {
17991
17992 ;
17993 return 0;
17994 }
17995 _ACEOF
17996 rm -f conftest.$ac_objext
17997 if { (ac_try="$ac_compile"
17998 case "(($ac_try" in
17999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18000 *) ac_try_echo=$ac_try;;
18001 esac
18002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18003 (eval "$ac_compile") 2>conftest.er1
18004 ac_status=$?
18005 grep -v '^ *+' conftest.er1 >conftest.err
18006 rm -f conftest.er1
18007 cat conftest.err >&5
18008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18009 (exit $ac_status); } && {
18010 test -z "$ac_c_werror_flag" ||
18011 test ! -s conftest.err
18012 } && test -s conftest.$ac_objext; then
18013 :
18014 else
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.$ac_ext >&5
18017
18018 ac_c_werror_flag=$ac_save_c_werror_flag
18019 CFLAGS="-g"
18020 cat >conftest.$ac_ext <<_ACEOF
18021 /* confdefs.h. */
18022 _ACEOF
18023 cat confdefs.h >>conftest.$ac_ext
18024 cat >>conftest.$ac_ext <<_ACEOF
18025 /* end confdefs.h. */
18026
18027 int
18028 main ()
18029 {
18030
18031 ;
18032 return 0;
18033 }
18034 _ACEOF
18035 rm -f conftest.$ac_objext
18036 if { (ac_try="$ac_compile"
18037 case "(($ac_try" in
18038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18039 *) ac_try_echo=$ac_try;;
18040 esac
18041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18042 (eval "$ac_compile") 2>conftest.er1
18043 ac_status=$?
18044 grep -v '^ *+' conftest.er1 >conftest.err
18045 rm -f conftest.er1
18046 cat conftest.err >&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } && {
18049 test -z "$ac_c_werror_flag" ||
18050 test ! -s conftest.err
18051 } && test -s conftest.$ac_objext; then
18052 ac_cv_prog_cc_g=yes
18053 else
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18056
18057
18058 fi
18059
18060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18061 fi
18062
18063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18064 fi
18065
18066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18067 ac_c_werror_flag=$ac_save_c_werror_flag
18068 fi
18069 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18070 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18071 if test "$ac_test_CFLAGS" = set; then
18072 CFLAGS=$ac_save_CFLAGS
18073 elif test $ac_cv_prog_cc_g = yes; then
18074 if test "$GCC" = yes; then
18075 CFLAGS="-g -O2"
18076 else
18077 CFLAGS="-g"
18078 fi
18079 else
18080 if test "$GCC" = yes; then
18081 CFLAGS="-O2"
18082 else
18083 CFLAGS=
18084 fi
18085 fi
18086 fi
18087 fi
18088
18089 case `uname -s` in
18090 AIX*)
18091
18092
18093 ac_ext=cpp
18094 ac_cpp='$CXXCPP $CPPFLAGS'
18095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18098
18099 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18100 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18101 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18102 echo $ECHO_N "(cached) $ECHO_C" >&6
18103 else
18104 cat >conftest.$ac_ext <<_ACEOF
18105 /* confdefs.h. */
18106 _ACEOF
18107 cat confdefs.h >>conftest.$ac_ext
18108 cat >>conftest.$ac_ext <<_ACEOF
18109 /* end confdefs.h. */
18110
18111 int
18112 main ()
18113 {
18114
18115 #ifndef __xlC__
18116 choke me
18117 #endif
18118
18119 ;
18120 return 0;
18121 }
18122 _ACEOF
18123 rm -f conftest.$ac_objext
18124 if { (ac_try="$ac_compile"
18125 case "(($ac_try" in
18126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18127 *) ac_try_echo=$ac_try;;
18128 esac
18129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18130 (eval "$ac_compile") 2>conftest.er1
18131 ac_status=$?
18132 grep -v '^ *+' conftest.er1 >conftest.err
18133 rm -f conftest.er1
18134 cat conftest.err >&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); } && {
18137 test -z "$ac_cxx_werror_flag" ||
18138 test ! -s conftest.err
18139 } && test -s conftest.$ac_objext; then
18140 bakefile_cv_cxx_compiler___xlC__=yes
18141 else
18142 echo "$as_me: failed program was:" >&5
18143 sed 's/^/| /' conftest.$ac_ext >&5
18144
18145 bakefile_cv_cxx_compiler___xlC__=no
18146
18147 fi
18148
18149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18150
18151
18152 fi
18153 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18154 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18155 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18156 :; XLCXX=yes
18157 else
18158 :;
18159 fi
18160 ac_ext=c
18161 ac_cpp='$CPP $CPPFLAGS'
18162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18165
18166
18167
18168 ;;
18169
18170 Darwin)
18171
18172
18173 ac_ext=cpp
18174 ac_cpp='$CXXCPP $CPPFLAGS'
18175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18178
18179 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18180 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18181 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18182 echo $ECHO_N "(cached) $ECHO_C" >&6
18183 else
18184 cat >conftest.$ac_ext <<_ACEOF
18185 /* confdefs.h. */
18186 _ACEOF
18187 cat confdefs.h >>conftest.$ac_ext
18188 cat >>conftest.$ac_ext <<_ACEOF
18189 /* end confdefs.h. */
18190
18191 int
18192 main ()
18193 {
18194
18195 #ifndef __MWERKS__
18196 choke me
18197 #endif
18198
18199 ;
18200 return 0;
18201 }
18202 _ACEOF
18203 rm -f conftest.$ac_objext
18204 if { (ac_try="$ac_compile"
18205 case "(($ac_try" in
18206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18207 *) ac_try_echo=$ac_try;;
18208 esac
18209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18210 (eval "$ac_compile") 2>conftest.er1
18211 ac_status=$?
18212 grep -v '^ *+' conftest.er1 >conftest.err
18213 rm -f conftest.er1
18214 cat conftest.err >&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } && {
18217 test -z "$ac_cxx_werror_flag" ||
18218 test ! -s conftest.err
18219 } && test -s conftest.$ac_objext; then
18220 bakefile_cv_cxx_compiler___MWERKS__=yes
18221 else
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18224
18225 bakefile_cv_cxx_compiler___MWERKS__=no
18226
18227 fi
18228
18229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18230
18231
18232 fi
18233 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18234 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18235 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18236 :; MWCXX=yes
18237 else
18238 :;
18239 fi
18240 ac_ext=c
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18245
18246
18247
18248 if test "$MWCXX" != "yes"; then
18249
18250
18251 ac_ext=cpp
18252 ac_cpp='$CXXCPP $CPPFLAGS'
18253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18256
18257 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18258 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18259 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18260 echo $ECHO_N "(cached) $ECHO_C" >&6
18261 else
18262 cat >conftest.$ac_ext <<_ACEOF
18263 /* confdefs.h. */
18264 _ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18268
18269 int
18270 main ()
18271 {
18272
18273 #ifndef __xlC__
18274 choke me
18275 #endif
18276
18277 ;
18278 return 0;
18279 }
18280 _ACEOF
18281 rm -f conftest.$ac_objext
18282 if { (ac_try="$ac_compile"
18283 case "(($ac_try" in
18284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18285 *) ac_try_echo=$ac_try;;
18286 esac
18287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18288 (eval "$ac_compile") 2>conftest.er1
18289 ac_status=$?
18290 grep -v '^ *+' conftest.er1 >conftest.err
18291 rm -f conftest.er1
18292 cat conftest.err >&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); } && {
18295 test -z "$ac_cxx_werror_flag" ||
18296 test ! -s conftest.err
18297 } && test -s conftest.$ac_objext; then
18298 bakefile_cv_cxx_compiler___xlC__=yes
18299 else
18300 echo "$as_me: failed program was:" >&5
18301 sed 's/^/| /' conftest.$ac_ext >&5
18302
18303 bakefile_cv_cxx_compiler___xlC__=no
18304
18305 fi
18306
18307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18308
18309
18310 fi
18311 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18312 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18313 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18314 :; XLCXX=yes
18315 else
18316 :;
18317 fi
18318 ac_ext=c
18319 ac_cpp='$CPP $CPPFLAGS'
18320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18323
18324
18325
18326 fi
18327 ;;
18328
18329 IRIX*)
18330
18331
18332 ac_ext=cpp
18333 ac_cpp='$CXXCPP $CPPFLAGS'
18334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18337
18338 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18339 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18340 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18341 echo $ECHO_N "(cached) $ECHO_C" >&6
18342 else
18343 cat >conftest.$ac_ext <<_ACEOF
18344 /* confdefs.h. */
18345 _ACEOF
18346 cat confdefs.h >>conftest.$ac_ext
18347 cat >>conftest.$ac_ext <<_ACEOF
18348 /* end confdefs.h. */
18349
18350 int
18351 main ()
18352 {
18353
18354 #ifndef _SGI_COMPILER_VERSION
18355 choke me
18356 #endif
18357
18358 ;
18359 return 0;
18360 }
18361 _ACEOF
18362 rm -f conftest.$ac_objext
18363 if { (ac_try="$ac_compile"
18364 case "(($ac_try" in
18365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18366 *) ac_try_echo=$ac_try;;
18367 esac
18368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18369 (eval "$ac_compile") 2>conftest.er1
18370 ac_status=$?
18371 grep -v '^ *+' conftest.er1 >conftest.err
18372 rm -f conftest.er1
18373 cat conftest.err >&5
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); } && {
18376 test -z "$ac_cxx_werror_flag" ||
18377 test ! -s conftest.err
18378 } && test -s conftest.$ac_objext; then
18379 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18380 else
18381 echo "$as_me: failed program was:" >&5
18382 sed 's/^/| /' conftest.$ac_ext >&5
18383
18384 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18385
18386 fi
18387
18388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18389
18390
18391 fi
18392 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18393 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18394 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18395 :; SGICXX=yes
18396 else
18397 :;
18398 fi
18399 ac_ext=c
18400 ac_cpp='$CPP $CPPFLAGS'
18401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18404
18405
18406
18407 ;;
18408
18409 Linux*)
18410 if test "$INTELCXX" != "yes"; then
18411
18412
18413 ac_ext=cpp
18414 ac_cpp='$CXXCPP $CPPFLAGS'
18415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18418
18419 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18420 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18421 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18422 echo $ECHO_N "(cached) $ECHO_C" >&6
18423 else
18424 cat >conftest.$ac_ext <<_ACEOF
18425 /* confdefs.h. */
18426 _ACEOF
18427 cat confdefs.h >>conftest.$ac_ext
18428 cat >>conftest.$ac_ext <<_ACEOF
18429 /* end confdefs.h. */
18430
18431 int
18432 main ()
18433 {
18434
18435 #ifndef __SUNPRO_CC
18436 choke me
18437 #endif
18438
18439 ;
18440 return 0;
18441 }
18442 _ACEOF
18443 rm -f conftest.$ac_objext
18444 if { (ac_try="$ac_compile"
18445 case "(($ac_try" in
18446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18447 *) ac_try_echo=$ac_try;;
18448 esac
18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_compile") 2>conftest.er1
18451 ac_status=$?
18452 grep -v '^ *+' conftest.er1 >conftest.err
18453 rm -f conftest.er1
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && {
18457 test -z "$ac_cxx_werror_flag" ||
18458 test ! -s conftest.err
18459 } && test -s conftest.$ac_objext; then
18460 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18461 else
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.$ac_ext >&5
18464
18465 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18466
18467 fi
18468
18469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18470
18471
18472 fi
18473 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18474 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18475 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18476 :; SUNCXX=yes
18477 else
18478 :;
18479 fi
18480 ac_ext=c
18481 ac_cpp='$CPP $CPPFLAGS'
18482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18485
18486
18487
18488 fi
18489 ;;
18490
18491 HP-UX*)
18492
18493
18494 ac_ext=cpp
18495 ac_cpp='$CXXCPP $CPPFLAGS'
18496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18499
18500 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18501 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18502 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18503 echo $ECHO_N "(cached) $ECHO_C" >&6
18504 else
18505 cat >conftest.$ac_ext <<_ACEOF
18506 /* confdefs.h. */
18507 _ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511
18512 int
18513 main ()
18514 {
18515
18516 #ifndef __HP_aCC
18517 choke me
18518 #endif
18519
18520 ;
18521 return 0;
18522 }
18523 _ACEOF
18524 rm -f conftest.$ac_objext
18525 if { (ac_try="$ac_compile"
18526 case "(($ac_try" in
18527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18528 *) ac_try_echo=$ac_try;;
18529 esac
18530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18531 (eval "$ac_compile") 2>conftest.er1
18532 ac_status=$?
18533 grep -v '^ *+' conftest.er1 >conftest.err
18534 rm -f conftest.er1
18535 cat conftest.err >&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); } && {
18538 test -z "$ac_cxx_werror_flag" ||
18539 test ! -s conftest.err
18540 } && test -s conftest.$ac_objext; then
18541 bakefile_cv_cxx_compiler___HP_aCC=yes
18542 else
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.$ac_ext >&5
18545
18546 bakefile_cv_cxx_compiler___HP_aCC=no
18547
18548 fi
18549
18550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18551
18552
18553 fi
18554 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18555 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18556 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18557 :; HPCXX=yes
18558 else
18559 :;
18560 fi
18561 ac_ext=c
18562 ac_cpp='$CPP $CPPFLAGS'
18563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18566
18567
18568
18569 ;;
18570
18571 OSF1)
18572
18573
18574 ac_ext=cpp
18575 ac_cpp='$CXXCPP $CPPFLAGS'
18576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18579
18580 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18581 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18582 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18584 else
18585 cat >conftest.$ac_ext <<_ACEOF
18586 /* confdefs.h. */
18587 _ACEOF
18588 cat confdefs.h >>conftest.$ac_ext
18589 cat >>conftest.$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18591
18592 int
18593 main ()
18594 {
18595
18596 #ifndef __DECCXX
18597 choke me
18598 #endif
18599
18600 ;
18601 return 0;
18602 }
18603 _ACEOF
18604 rm -f conftest.$ac_objext
18605 if { (ac_try="$ac_compile"
18606 case "(($ac_try" in
18607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18608 *) ac_try_echo=$ac_try;;
18609 esac
18610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18611 (eval "$ac_compile") 2>conftest.er1
18612 ac_status=$?
18613 grep -v '^ *+' conftest.er1 >conftest.err
18614 rm -f conftest.er1
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && {
18618 test -z "$ac_cxx_werror_flag" ||
18619 test ! -s conftest.err
18620 } && test -s conftest.$ac_objext; then
18621 bakefile_cv_cxx_compiler___DECCXX=yes
18622 else
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.$ac_ext >&5
18625
18626 bakefile_cv_cxx_compiler___DECCXX=no
18627
18628 fi
18629
18630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18631
18632
18633 fi
18634 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18635 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18636 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18637 :; COMPAQCXX=yes
18638 else
18639 :;
18640 fi
18641 ac_ext=c
18642 ac_cpp='$CPP $CPPFLAGS'
18643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18646
18647
18648
18649 ;;
18650
18651 SunOS)
18652
18653
18654 ac_ext=cpp
18655 ac_cpp='$CXXCPP $CPPFLAGS'
18656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18659
18660 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18661 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18662 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18663 echo $ECHO_N "(cached) $ECHO_C" >&6
18664 else
18665 cat >conftest.$ac_ext <<_ACEOF
18666 /* confdefs.h. */
18667 _ACEOF
18668 cat confdefs.h >>conftest.$ac_ext
18669 cat >>conftest.$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18671
18672 int
18673 main ()
18674 {
18675
18676 #ifndef __SUNPRO_CC
18677 choke me
18678 #endif
18679
18680 ;
18681 return 0;
18682 }
18683 _ACEOF
18684 rm -f conftest.$ac_objext
18685 if { (ac_try="$ac_compile"
18686 case "(($ac_try" in
18687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18688 *) ac_try_echo=$ac_try;;
18689 esac
18690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18691 (eval "$ac_compile") 2>conftest.er1
18692 ac_status=$?
18693 grep -v '^ *+' conftest.er1 >conftest.err
18694 rm -f conftest.er1
18695 cat conftest.err >&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } && {
18698 test -z "$ac_cxx_werror_flag" ||
18699 test ! -s conftest.err
18700 } && test -s conftest.$ac_objext; then
18701 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18702 else
18703 echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.$ac_ext >&5
18705
18706 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18707
18708 fi
18709
18710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18711
18712
18713 fi
18714 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18715 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18716 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18717 :; SUNCXX=yes
18718 else
18719 :;
18720 fi
18721 ac_ext=c
18722 ac_cpp='$CPP $CPPFLAGS'
18723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18726
18727
18728
18729 ;;
18730 esac
18731 fi
18732
18733
18734
18735 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18736 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18737 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18738 { (exit 1); exit 1; }; }
18739 fi
18740
18741 if test "x$SUNCXX" != xyes; then
18742 if test -n "$ac_tool_prefix"; then
18743 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18744 set dummy ${ac_tool_prefix}ar; ac_word=$2
18745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18747 if test "${ac_cv_prog_AR+set}" = set; then
18748 echo $ECHO_N "(cached) $ECHO_C" >&6
18749 else
18750 if test -n "$AR"; then
18751 ac_cv_prog_AR="$AR" # Let the user override the test.
18752 else
18753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18754 for as_dir in $PATH
18755 do
18756 IFS=$as_save_IFS
18757 test -z "$as_dir" && as_dir=.
18758 for ac_exec_ext in '' $ac_executable_extensions; do
18759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18760 ac_cv_prog_AR="${ac_tool_prefix}ar"
18761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18762 break 2
18763 fi
18764 done
18765 done
18766 IFS=$as_save_IFS
18767
18768 fi
18769 fi
18770 AR=$ac_cv_prog_AR
18771 if test -n "$AR"; then
18772 { echo "$as_me:$LINENO: result: $AR" >&5
18773 echo "${ECHO_T}$AR" >&6; }
18774 else
18775 { echo "$as_me:$LINENO: result: no" >&5
18776 echo "${ECHO_T}no" >&6; }
18777 fi
18778
18779
18780 fi
18781 if test -z "$ac_cv_prog_AR"; then
18782 ac_ct_AR=$AR
18783 # Extract the first word of "ar", so it can be a program name with args.
18784 set dummy ar; ac_word=$2
18785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18787 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18788 echo $ECHO_N "(cached) $ECHO_C" >&6
18789 else
18790 if test -n "$ac_ct_AR"; then
18791 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18792 else
18793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18794 for as_dir in $PATH
18795 do
18796 IFS=$as_save_IFS
18797 test -z "$as_dir" && as_dir=.
18798 for ac_exec_ext in '' $ac_executable_extensions; do
18799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18800 ac_cv_prog_ac_ct_AR="ar"
18801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18802 break 2
18803 fi
18804 done
18805 done
18806 IFS=$as_save_IFS
18807
18808 fi
18809 fi
18810 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18811 if test -n "$ac_ct_AR"; then
18812 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18813 echo "${ECHO_T}$ac_ct_AR" >&6; }
18814 else
18815 { echo "$as_me:$LINENO: result: no" >&5
18816 echo "${ECHO_T}no" >&6; }
18817 fi
18818
18819 if test "x$ac_ct_AR" = x; then
18820 AR=""
18821 else
18822 case $cross_compiling:$ac_tool_warned in
18823 yes:)
18824 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18825 whose name does not start with the host triplet. If you think this
18826 configuration is useful to you, please write to autoconf@gnu.org." >&5
18827 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18828 whose name does not start with the host triplet. If you think this
18829 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18830 ac_tool_warned=yes ;;
18831 esac
18832 AR=$ac_ct_AR
18833 fi
18834 else
18835 AR="$ac_cv_prog_AR"
18836 fi
18837
18838 if test "x$AR" = "x" ; then
18839 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18840 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18841 { (exit 1); exit 1; }; }
18842 fi
18843 fi
18844
18845
18846 if test "$wxUSE_MAC" = 1; then
18847
18848 retest_macosx_linking=no
18849
18850 OSX_ARCH_OPTS=""
18851 if test "x$wxUSE_MAC_ARCH" != xno; then
18852 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18853 fi
18854
18855 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18856 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18857 # Implicitly turn on the new --with-macosx-sdk using the default
18858 # SDK which provides the behaviour this option has always had.
18859 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18860 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18861 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18862 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18863 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18864 wxUSE_MACOSX_SDK=yes
18865 fi
18866 else
18867 # Complain to user if he specified an argument to --enable-universal_binary
18868 # and also 1) specified --with-macosx-sdk using the default (yes) or
18869 # 2) specified --with-macosx-sdk using a path or 3) specified
18870 # --without-macosx-sdk (no).
18871 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18872 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18873 See \`config.log' for more details." >&5
18874 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18875 See \`config.log' for more details." >&2;}
18876 { (exit 1); exit 1; }; }
18877 else
18878 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18879 # special-case the empty string because the below test simply
18880 # converts "no" to the empty string anyway.
18881 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18882 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18883 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18884 fi
18885 fi
18886 OSX_ARCH_OPTS="-arch ppc -arch i386"
18887 if test "$wxUSE_OSX_COCOA" = 1; then
18888 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18889 fi
18890 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18891 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18892 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18893 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18894
18895 retest_macosx_linking=yes
18896
18897 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18898 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18899 bk_use_pch=no
18900 fi
18901
18902 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
18903 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
18904 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
18905 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
18906 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
18907
18908 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18909 wxUSE_MACOSX_SDK=
18910 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18911 # TODO: Search for most recent SDK and use it.
18912 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18913 fi
18914
18915
18916 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18917 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18918 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18919 if ! test -d "$wxUSE_MACOSX_SDK"; then
18920 { { echo "$as_me:$LINENO: error: not found
18921 See \`config.log' for more details." >&5
18922 echo "$as_me: error: not found
18923 See \`config.log' for more details." >&2;}
18924 { (exit 1); exit 1; }; }
18925 else
18926 { echo "$as_me:$LINENO: result: exists" >&5
18927 echo "${ECHO_T}exists" >&6; }
18928 fi
18929 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18930 retest_macosx_linking=yes
18931 fi
18932
18933 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18934 wxUSE_MACOSX_VERSION_MIN=
18935 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18936 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18937 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18938 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18939
18940 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/'`
18941
18942 # If that failed, try again with the new key
18943 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18944
18945 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/'`
18946
18947 fi
18948
18949 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18950 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18951 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18952 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18953 else
18954 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18955 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18956 wxUSE_MACOSX_VERSION_MIN=
18957 fi
18958 else
18959 wxUSE_MACOSX_VERSION_MIN=
18960 fi
18961 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18962 for ac_prog in sw_vers
18963 do
18964 # Extract the first word of "$ac_prog", so it can be a program name with args.
18965 set dummy $ac_prog; ac_word=$2
18966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18968 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18969 echo $ECHO_N "(cached) $ECHO_C" >&6
18970 else
18971 if test -n "$OSX_SW_VERS"; then
18972 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18973 else
18974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18975 for as_dir in $PATH
18976 do
18977 IFS=$as_save_IFS
18978 test -z "$as_dir" && as_dir=.
18979 for ac_exec_ext in '' $ac_executable_extensions; do
18980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18981 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18983 break 2
18984 fi
18985 done
18986 done
18987 IFS=$as_save_IFS
18988
18989 fi
18990 fi
18991 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18992 if test -n "$OSX_SW_VERS"; then
18993 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18994 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18995 else
18996 { echo "$as_me:$LINENO: result: no" >&5
18997 echo "${ECHO_T}no" >&6; }
18998 fi
18999
19000
19001 test -n "$OSX_SW_VERS" && break
19002 done
19003
19004 if test "$OSX_SW_VERS" != ""; then
19005 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19006 else
19007 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19008 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19009 OSX_VERSION="10.4"
19010 fi
19011
19012 case "$OSX_VERSION" in
19013 10.4* )
19014 wxUSE_MACOSX_VERSION_MIN=10.4
19015 ;;
19016
19017 * )
19018 if test "$wxUSE_OSX_CARBON" = 1; then
19019 # otherwise configure stops on leopard for universal_binary
19020 wxUSE_MACOSX_VERSION_MIN=10.4
19021 else
19022 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19023 wxUSE_MACOSX_VERSION_MIN=10.5
19024 fi
19025 ;;
19026 esac
19027 fi
19028
19029 NEEDS_GCC40="no"
19030 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19031 NEEDS_GCC40="yes"
19032 fi
19033
19034 if test "$wxUSE_OSX_CARBON" = 1; then
19035 NEEDS_GCC40="yes"
19036 fi
19037
19038 if test "x$NEEDS_GCC40" == "xyes"; then
19039 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19040 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19041 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19042 if test "x$CC" = "xgcc"; then
19043 CCVERSION=`$CC --version | grep 4.[2-9].`
19044 if test "x$CCVERSION" != "x"; then
19045 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19046 CC="gcc-4.0"
19047 fi
19048 fi
19049
19050 if test "x$CXX" = "xg++"; then
19051 CCVERSION=`$CXX --version | grep 4.[2-9].`
19052 if test "x$CCVERSION" != "x"; then
19053 CXX="g++-4.0"
19054 fi
19055 fi
19056 fi
19057
19058 if test "x$MACOSX_SDK_OPTS" != "x"; then
19059 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19060 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19061 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19062 fi
19063
19064 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19065 if test "$wxUSE_OSX_IPHONE" = 1; then
19066 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19067 else
19068 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19069 fi
19070 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19071 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19072 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19073 retest_macosx_linking=yes
19074 fi
19075
19076 if test "x$retest_macosx_linking" = "xyes"; then
19077 ac_ext=c
19078 ac_cpp='$CPP $CPPFLAGS'
19079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19082
19083 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19084 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19085 cat >conftest.$ac_ext <<_ACEOF
19086 /* confdefs.h. */
19087 _ACEOF
19088 cat confdefs.h >>conftest.$ac_ext
19089 cat >>conftest.$ac_ext <<_ACEOF
19090 /* end confdefs.h. */
19091
19092 int
19093 main ()
19094 {
19095
19096 ;
19097 return 0;
19098 }
19099 _ACEOF
19100 rm -f conftest.$ac_objext conftest$ac_exeext
19101 if { (ac_try="$ac_link"
19102 case "(($ac_try" in
19103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19104 *) ac_try_echo=$ac_try;;
19105 esac
19106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19107 (eval "$ac_link") 2>conftest.er1
19108 ac_status=$?
19109 grep -v '^ *+' conftest.er1 >conftest.err
19110 rm -f conftest.er1
19111 cat conftest.err >&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } && {
19114 test -z "$ac_c_werror_flag" ||
19115 test ! -s conftest.err
19116 } && test -s conftest$ac_exeext &&
19117 $as_test_x conftest$ac_exeext; then
19118 { echo "$as_me:$LINENO: result: yes" >&5
19119 echo "${ECHO_T}yes" >&6; }
19120 else
19121 echo "$as_me: failed program was:" >&5
19122 sed 's/^/| /' conftest.$ac_ext >&5
19123
19124 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19125 See \`config.log' for more details." >&5
19126 echo "$as_me: error: no. Try a different SDK
19127 See \`config.log' for more details." >&2;}
19128 { (exit 1); exit 1; }; }; exit 1
19129 fi
19130
19131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19132 conftest$ac_exeext conftest.$ac_ext
19133 ac_ext=c
19134 ac_cpp='$CPP $CPPFLAGS'
19135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19138
19139
19140 ac_ext=cpp
19141 ac_cpp='$CXXCPP $CPPFLAGS'
19142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19145
19146 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19147 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19148 cat >conftest.$ac_ext <<_ACEOF
19149 /* confdefs.h. */
19150 _ACEOF
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19154
19155 int
19156 main ()
19157 {
19158
19159 ;
19160 return 0;
19161 }
19162 _ACEOF
19163 rm -f conftest.$ac_objext conftest$ac_exeext
19164 if { (ac_try="$ac_link"
19165 case "(($ac_try" in
19166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19167 *) ac_try_echo=$ac_try;;
19168 esac
19169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19170 (eval "$ac_link") 2>conftest.er1
19171 ac_status=$?
19172 grep -v '^ *+' conftest.er1 >conftest.err
19173 rm -f conftest.er1
19174 cat conftest.err >&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } && {
19177 test -z "$ac_cxx_werror_flag" ||
19178 test ! -s conftest.err
19179 } && test -s conftest$ac_exeext &&
19180 $as_test_x conftest$ac_exeext; then
19181 { echo "$as_me:$LINENO: result: yes" >&5
19182 echo "${ECHO_T}yes" >&6; }
19183 else
19184 echo "$as_me: failed program was:" >&5
19185 sed 's/^/| /' conftest.$ac_ext >&5
19186
19187 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19188 See \`config.log' for more details." >&5
19189 echo "$as_me: error: no. Try a different SDK
19190 See \`config.log' for more details." >&2;}
19191 { (exit 1); exit 1; }; }; exit 1
19192 fi
19193
19194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19195 conftest$ac_exeext conftest.$ac_ext
19196 ac_ext=c
19197 ac_cpp='$CPP $CPPFLAGS'
19198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19201
19202 fi
19203
19204 fi
19205 case "${host}" in
19206
19207 *-*-darwin* )
19208 INSTALL_PROGRAM="cp -fp"
19209 INSTALL_DATA="cp -fp"
19210 ;;
19211 *)
19212 ;;
19213 esac
19214
19215
19216 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19217 CXXFLAGS="-qunique $CXXFLAGS"
19218 fi
19219
19220 case "${host}" in
19221 powerpc-*-darwin* )
19222 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19223 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19224 cat >conftest.$ac_ext <<_ACEOF
19225 /* confdefs.h. */
19226 _ACEOF
19227 cat confdefs.h >>conftest.$ac_ext
19228 cat >>conftest.$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19230
19231 int
19232 main ()
19233 {
19234 #ifndef __POWERPC__
19235 choke me for lack of PowerPC
19236 #endif
19237
19238 ;
19239 return 0;
19240 }
19241 _ACEOF
19242 rm -f conftest.$ac_objext
19243 if { (ac_try="$ac_compile"
19244 case "(($ac_try" in
19245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19246 *) ac_try_echo=$ac_try;;
19247 esac
19248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19249 (eval "$ac_compile") 2>conftest.er1
19250 ac_status=$?
19251 grep -v '^ *+' conftest.er1 >conftest.err
19252 rm -f conftest.er1
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } && {
19256 test -z "$ac_c_werror_flag" ||
19257 test ! -s conftest.err
19258 } && test -s conftest.$ac_objext; then
19259 { echo "$as_me:$LINENO: result: yes" >&5
19260 echo "${ECHO_T}yes" >&6; }
19261 else
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.$ac_ext >&5
19264
19265 { echo "$as_me:$LINENO: result: no" >&5
19266 echo "${ECHO_T}no" >&6; }
19267 cat >>confdefs.h <<\_ACEOF
19268 #define __POWERPC__ 1
19269 _ACEOF
19270
19271
19272 fi
19273
19274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19275 ;;
19276 esac
19277
19278 case "${host}" in
19279 *-*-darwin* )
19280 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19281 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19282 cat >conftest.$ac_ext <<_ACEOF
19283 /* confdefs.h. */
19284 _ACEOF
19285 cat confdefs.h >>conftest.$ac_ext
19286 cat >>conftest.$ac_ext <<_ACEOF
19287 /* end confdefs.h. */
19288 #include <CoreFoundation/CFBase.h>
19289
19290 int
19291 main ()
19292 {
19293
19294 ;
19295 return 0;
19296 }
19297 _ACEOF
19298 rm -f conftest.$ac_objext
19299 if { (ac_try="$ac_compile"
19300 case "(($ac_try" in
19301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19302 *) ac_try_echo=$ac_try;;
19303 esac
19304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19305 (eval "$ac_compile") 2>conftest.er1
19306 ac_status=$?
19307 grep -v '^ *+' conftest.er1 >conftest.err
19308 rm -f conftest.er1
19309 cat conftest.err >&5
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); } && {
19312 test -z "$ac_c_werror_flag" ||
19313 test ! -s conftest.err
19314 } && test -s conftest.$ac_objext; then
19315 { echo "$as_me:$LINENO: result: yes" >&5
19316 echo "${ECHO_T}yes" >&6; }
19317 else
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.$ac_ext >&5
19320
19321 { echo "$as_me:$LINENO: result: no" >&5
19322 echo "${ECHO_T}no" >&6; }
19323 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19324 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19325 cat >conftest.$ac_ext <<_ACEOF
19326 /* confdefs.h. */
19327 _ACEOF
19328 cat confdefs.h >>conftest.$ac_ext
19329 cat >>conftest.$ac_ext <<_ACEOF
19330 /* end confdefs.h. */
19331 #define __CF_USE_FRAMEWORK_INCLUDES__
19332 #include <CoreFoundation/CFBase.h>
19333
19334 int
19335 main ()
19336 {
19337
19338 ;
19339 return 0;
19340 }
19341 _ACEOF
19342 rm -f conftest.$ac_objext
19343 if { (ac_try="$ac_compile"
19344 case "(($ac_try" in
19345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19346 *) ac_try_echo=$ac_try;;
19347 esac
19348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19349 (eval "$ac_compile") 2>conftest.er1
19350 ac_status=$?
19351 grep -v '^ *+' conftest.er1 >conftest.err
19352 rm -f conftest.er1
19353 cat conftest.err >&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); } && {
19356 test -z "$ac_c_werror_flag" ||
19357 test ! -s conftest.err
19358 } && test -s conftest.$ac_objext; then
19359 { echo "$as_me:$LINENO: result: yes" >&5
19360 echo "${ECHO_T}yes" >&6; }
19361 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19362 else
19363 echo "$as_me: failed program was:" >&5
19364 sed 's/^/| /' conftest.$ac_ext >&5
19365
19366 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19367 See \`config.log' for more details." >&5
19368 echo "$as_me: error: no. CoreFoundation not available.
19369 See \`config.log' for more details." >&2;}
19370 { (exit 1); exit 1; }; }
19371
19372 fi
19373
19374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19375
19376
19377 fi
19378
19379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19380 ;;
19381 esac
19382
19383 wants_win32=0
19384 doesnt_want_win32=0
19385 case "${host}" in
19386 *-*-cygwin*)
19387 if test "$wxUSE_MSW" = 1 ; then
19388 wants_win32=1
19389 else
19390 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19391 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19392 if test "${wx_cv_nocygwin+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 else
19395
19396 cat >conftest.$ac_ext <<_ACEOF
19397 /* confdefs.h. */
19398 _ACEOF
19399 cat confdefs.h >>conftest.$ac_ext
19400 cat >>conftest.$ac_ext <<_ACEOF
19401 /* end confdefs.h. */
19402
19403 int
19404 main ()
19405 {
19406
19407 #ifdef __MINGW32__
19408 choke me
19409 #endif
19410
19411 ;
19412 return 0;
19413 }
19414 _ACEOF
19415 rm -f conftest.$ac_objext
19416 if { (ac_try="$ac_compile"
19417 case "(($ac_try" in
19418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19419 *) ac_try_echo=$ac_try;;
19420 esac
19421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19422 (eval "$ac_compile") 2>conftest.er1
19423 ac_status=$?
19424 grep -v '^ *+' conftest.er1 >conftest.err
19425 rm -f conftest.er1
19426 cat conftest.err >&5
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); } && {
19429 test -z "$ac_c_werror_flag" ||
19430 test ! -s conftest.err
19431 } && test -s conftest.$ac_objext; then
19432 wx_cv_nocygwin=no
19433 else
19434 echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19436
19437 wx_cv_nocygwin=yes
19438
19439 fi
19440
19441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19442
19443
19444 fi
19445 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19446 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19447
19448 if test "$wx_cv_nocygwin" = "yes"; then
19449 wants_win32=1
19450 else
19451 doesnt_want_win32=1
19452 fi
19453 fi
19454 if test "$wants_win32" = 1 ; then
19455 BAKEFILE_FORCE_PLATFORM=win32
19456 fi
19457 ;;
19458 *-*-mingw*)
19459 wants_win32=1
19460 ;;
19461 esac
19462
19463 if test "$wxUSE_WINE" = "yes"; then
19464 wants_win32=1
19465 LDFLAGS_GUI="-mwindows"
19466 fi
19467
19468 if test "$wants_win32" = 1 ; then
19469 USE_UNIX=0
19470 USE_WIN32=1
19471 cat >>confdefs.h <<\_ACEOF
19472 #define __WIN32__ 1
19473 _ACEOF
19474
19475 cat >>confdefs.h <<\_ACEOF
19476 #define __WIN95__ 1
19477 _ACEOF
19478
19479 cat >>confdefs.h <<\_ACEOF
19480 #define __WINDOWS__ 1
19481 _ACEOF
19482
19483 cat >>confdefs.h <<\_ACEOF
19484 #define __GNUWIN32__ 1
19485 _ACEOF
19486
19487 cat >>confdefs.h <<\_ACEOF
19488 #define STRICT 1
19489 _ACEOF
19490
19491 fi
19492 if test "$doesnt_want_win32" = 1 ; then
19493 USE_UNIX=1
19494 USE_WIN32=0
19495 fi
19496
19497 if test "$USE_UNIX" = 1 ; then
19498 wxUSE_UNIX=yes
19499 cat >>confdefs.h <<\_ACEOF
19500 #define __UNIX__ 1
19501 _ACEOF
19502
19503 fi
19504
19505 case "${host}" in
19506 *-pc-os2_emx | *-pc-os2-emx )
19507 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19508 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19509 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19510 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19511 echo $ECHO_N "(cached) $ECHO_C" >&6
19512 else
19513 ac_check_lib_save_LIBS=$LIBS
19514 LIBS="-lcExt $LIBS"
19515 cat >conftest.$ac_ext <<_ACEOF
19516 /* confdefs.h. */
19517 _ACEOF
19518 cat confdefs.h >>conftest.$ac_ext
19519 cat >>conftest.$ac_ext <<_ACEOF
19520 /* end confdefs.h. */
19521
19522 /* Override any GCC internal prototype to avoid an error.
19523 Use char because int might match the return type of a GCC
19524 builtin and then its argument prototype would still apply. */
19525 #ifdef __cplusplus
19526 extern "C"
19527 #endif
19528 char drand48 ();
19529 int
19530 main ()
19531 {
19532 return drand48 ();
19533 ;
19534 return 0;
19535 }
19536 _ACEOF
19537 rm -f conftest.$ac_objext conftest$ac_exeext
19538 if { (ac_try="$ac_link"
19539 case "(($ac_try" in
19540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19541 *) ac_try_echo=$ac_try;;
19542 esac
19543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19544 (eval "$ac_link") 2>conftest.er1
19545 ac_status=$?
19546 grep -v '^ *+' conftest.er1 >conftest.err
19547 rm -f conftest.er1
19548 cat conftest.err >&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); } && {
19551 test -z "$ac_c_werror_flag" ||
19552 test ! -s conftest.err
19553 } && test -s conftest$ac_exeext &&
19554 $as_test_x conftest$ac_exeext; then
19555 ac_cv_lib_cExt_drand48=yes
19556 else
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19559
19560 ac_cv_lib_cExt_drand48=no
19561 fi
19562
19563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19564 conftest$ac_exeext conftest.$ac_ext
19565 LIBS=$ac_check_lib_save_LIBS
19566 fi
19567 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19568 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19569 if test $ac_cv_lib_cExt_drand48 = yes; then
19570 LIBS="$LIBS -lcExt"
19571 fi
19572
19573 else
19574 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19575 fi
19576 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19577 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19578 if test "${wx_cv_gccversion+set}" = set; then
19579 echo $ECHO_N "(cached) $ECHO_C" >&6
19580 else
19581
19582 if test "$cross_compiling" = yes; then
19583 wx_cv_gccversion="EMX2"
19584
19585 else
19586 cat >conftest.$ac_ext <<_ACEOF
19587 /* confdefs.h. */
19588 _ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592
19593 #include <stdio.h>
19594
19595 int main()
19596 {
19597 FILE *f=fopen("conftestval", "w");
19598 if (!f) exit(1);
19599 fprintf(f,
19600 #if (__GNUC__ < 3)
19601 "EMX2"
19602 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19603 "EMX3"
19604 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19605 "Innotek5"
19606 #else
19607 "Innotek6"
19608 #endif
19609 );
19610 exit(0);
19611 }
19612
19613 _ACEOF
19614 rm -f conftest$ac_exeext
19615 if { (ac_try="$ac_link"
19616 case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19619 esac
19620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_link") 2>&5
19622 ac_status=$?
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19625 { (case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19628 esac
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_try") 2>&5
19631 ac_status=$?
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; }; then
19634 wx_cv_gccversion=`cat conftestval`
19635 else
19636 echo "$as_me: program exited with status $ac_status" >&5
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19639
19640 ( exit $ac_status )
19641 wx_cv_gccversion="EMX2"
19642 fi
19643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19644 fi
19645
19646
19647
19648 fi
19649 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19650 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19651 if test "$wx_cv_gccversion" = "EMX2"; then
19652 LIBS="$LIBS -lstdcpp"
19653 LDFLAGS="$LDFLAGS -Zsysv-signals"
19654 else
19655 if test "$wx_cv_gccversion" = "EMX3"; then
19656 LIBS="$LIBS -lstdcxx -lgcc"
19657 LDFLAGS="$LDFLAGS -Zsysv-signals"
19658 else
19659 LIBS="$LIBS -lstdc++"
19660 fi
19661 fi
19662 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19663 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19664 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19665 wxUSE_OMF=yes
19666 enable_omf=yes
19667 fi
19668 ;;
19669 *)
19670
19671 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19672 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19673 if test "${ac_cv_string_strcasecmp+set}" = set; then
19674 echo $ECHO_N "(cached) $ECHO_C" >&6
19675 else
19676
19677 cat >conftest.$ac_ext <<_ACEOF
19678 /* confdefs.h. */
19679 _ACEOF
19680 cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683
19684 #include <string.h>
19685
19686 int
19687 main ()
19688 {
19689
19690 strcasecmp("foo", "bar");
19691
19692 ;
19693 return 0;
19694 }
19695 _ACEOF
19696 rm -f conftest.$ac_objext conftest$ac_exeext
19697 if { (ac_try="$ac_link"
19698 case "(($ac_try" in
19699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19700 *) ac_try_echo=$ac_try;;
19701 esac
19702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19703 (eval "$ac_link") 2>conftest.er1
19704 ac_status=$?
19705 grep -v '^ *+' conftest.er1 >conftest.err
19706 rm -f conftest.er1
19707 cat conftest.err >&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } && {
19710 test -z "$ac_c_werror_flag" ||
19711 test ! -s conftest.err
19712 } && test -s conftest$ac_exeext &&
19713 $as_test_x conftest$ac_exeext; then
19714 ac_cv_string_strcasecmp=yes
19715 else
19716 echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19718
19719 ac_cv_string_strcasecmp=no
19720
19721 fi
19722
19723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19724 conftest$ac_exeext conftest.$ac_ext
19725
19726 fi
19727 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19728 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19729
19730 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19731 cat >>confdefs.h <<\_ACEOF
19732 #define HAVE_STRCASECMP_IN_STRING_H 1
19733 _ACEOF
19734
19735 else
19736 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19737 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19738 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19739 echo $ECHO_N "(cached) $ECHO_C" >&6
19740 else
19741
19742 cat >conftest.$ac_ext <<_ACEOF
19743 /* confdefs.h. */
19744 _ACEOF
19745 cat confdefs.h >>conftest.$ac_ext
19746 cat >>conftest.$ac_ext <<_ACEOF
19747 /* end confdefs.h. */
19748
19749 #include <strings.h>
19750
19751 int
19752 main ()
19753 {
19754
19755 strcasecmp("foo", "bar");
19756
19757 ;
19758 return 0;
19759 }
19760 _ACEOF
19761 rm -f conftest.$ac_objext conftest$ac_exeext
19762 if { (ac_try="$ac_link"
19763 case "(($ac_try" in
19764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19765 *) ac_try_echo=$ac_try;;
19766 esac
19767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19768 (eval "$ac_link") 2>conftest.er1
19769 ac_status=$?
19770 grep -v '^ *+' conftest.er1 >conftest.err
19771 rm -f conftest.er1
19772 cat conftest.err >&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } && {
19775 test -z "$ac_c_werror_flag" ||
19776 test ! -s conftest.err
19777 } && test -s conftest$ac_exeext &&
19778 $as_test_x conftest$ac_exeext; then
19779 ac_cv_strings_strcasecmp=yes
19780 else
19781 echo "$as_me: failed program was:" >&5
19782 sed 's/^/| /' conftest.$ac_ext >&5
19783
19784 ac_cv_strings_strcasecmp=no
19785
19786 fi
19787
19788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19789 conftest$ac_exeext conftest.$ac_ext
19790
19791 fi
19792 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19793 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19794
19795 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19796 cat >>confdefs.h <<\_ACEOF
19797 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19798 _ACEOF
19799
19800 else
19801 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19802 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19803 { (exit 1); exit 1; }; }
19804 fi
19805 fi
19806
19807 ;;
19808 esac
19809
19810
19811 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19812 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19813 if test "${ac_cv_header_stdc+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19815 else
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 <stdlib.h>
19823 #include <stdarg.h>
19824 #include <string.h>
19825 #include <float.h>
19826
19827 int
19828 main ()
19829 {
19830
19831 ;
19832 return 0;
19833 }
19834 _ACEOF
19835 rm -f conftest.$ac_objext
19836 if { (ac_try="$ac_compile"
19837 case "(($ac_try" in
19838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19839 *) ac_try_echo=$ac_try;;
19840 esac
19841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19842 (eval "$ac_compile") 2>conftest.er1
19843 ac_status=$?
19844 grep -v '^ *+' conftest.er1 >conftest.err
19845 rm -f conftest.er1
19846 cat conftest.err >&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } && {
19849 test -z "$ac_c_werror_flag" ||
19850 test ! -s conftest.err
19851 } && test -s conftest.$ac_objext; then
19852 ac_cv_header_stdc=yes
19853 else
19854 echo "$as_me: failed program was:" >&5
19855 sed 's/^/| /' conftest.$ac_ext >&5
19856
19857 ac_cv_header_stdc=no
19858 fi
19859
19860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19861
19862 if test $ac_cv_header_stdc = yes; then
19863 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19864 cat >conftest.$ac_ext <<_ACEOF
19865 /* confdefs.h. */
19866 _ACEOF
19867 cat confdefs.h >>conftest.$ac_ext
19868 cat >>conftest.$ac_ext <<_ACEOF
19869 /* end confdefs.h. */
19870 #include <string.h>
19871
19872 _ACEOF
19873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19874 $EGREP "memchr" >/dev/null 2>&1; then
19875 :
19876 else
19877 ac_cv_header_stdc=no
19878 fi
19879 rm -f -r conftest*
19880
19881 fi
19882
19883 if test $ac_cv_header_stdc = yes; then
19884 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19885 cat >conftest.$ac_ext <<_ACEOF
19886 /* confdefs.h. */
19887 _ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 #include <stdlib.h>
19892
19893 _ACEOF
19894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19895 $EGREP "free" >/dev/null 2>&1; then
19896 :
19897 else
19898 ac_cv_header_stdc=no
19899 fi
19900 rm -f -r conftest*
19901
19902 fi
19903
19904 if test $ac_cv_header_stdc = yes; then
19905 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19906 if test "$cross_compiling" = yes; then
19907 :
19908 else
19909 cat >conftest.$ac_ext <<_ACEOF
19910 /* confdefs.h. */
19911 _ACEOF
19912 cat confdefs.h >>conftest.$ac_ext
19913 cat >>conftest.$ac_ext <<_ACEOF
19914 /* end confdefs.h. */
19915 #include <ctype.h>
19916 #include <stdlib.h>
19917 #if ((' ' & 0x0FF) == 0x020)
19918 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19919 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19920 #else
19921 # define ISLOWER(c) \
19922 (('a' <= (c) && (c) <= 'i') \
19923 || ('j' <= (c) && (c) <= 'r') \
19924 || ('s' <= (c) && (c) <= 'z'))
19925 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19926 #endif
19927
19928 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19929 int
19930 main ()
19931 {
19932 int i;
19933 for (i = 0; i < 256; i++)
19934 if (XOR (islower (i), ISLOWER (i))
19935 || toupper (i) != TOUPPER (i))
19936 return 2;
19937 return 0;
19938 }
19939 _ACEOF
19940 rm -f conftest$ac_exeext
19941 if { (ac_try="$ac_link"
19942 case "(($ac_try" in
19943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19944 *) ac_try_echo=$ac_try;;
19945 esac
19946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947 (eval "$ac_link") 2>&5
19948 ac_status=$?
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19951 { (case "(($ac_try" in
19952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19953 *) ac_try_echo=$ac_try;;
19954 esac
19955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19956 (eval "$ac_try") 2>&5
19957 ac_status=$?
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); }; }; then
19960 :
19961 else
19962 echo "$as_me: program exited with status $ac_status" >&5
19963 echo "$as_me: failed program was:" >&5
19964 sed 's/^/| /' conftest.$ac_ext >&5
19965
19966 ( exit $ac_status )
19967 ac_cv_header_stdc=no
19968 fi
19969 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19970 fi
19971
19972
19973 fi
19974 fi
19975 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19976 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19977 if test $ac_cv_header_stdc = yes; then
19978
19979 cat >>confdefs.h <<\_ACEOF
19980 #define STDC_HEADERS 1
19981 _ACEOF
19982
19983 fi
19984
19985 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19996 inttypes.h stdint.h unistd.h
19997 do
19998 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19999 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20001 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 else
20004 cat >conftest.$ac_ext <<_ACEOF
20005 /* confdefs.h. */
20006 _ACEOF
20007 cat confdefs.h >>conftest.$ac_ext
20008 cat >>conftest.$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 $ac_includes_default
20011
20012 #include <$ac_header>
20013 _ACEOF
20014 rm -f conftest.$ac_objext
20015 if { (ac_try="$ac_compile"
20016 case "(($ac_try" in
20017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20018 *) ac_try_echo=$ac_try;;
20019 esac
20020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20021 (eval "$ac_compile") 2>conftest.er1
20022 ac_status=$?
20023 grep -v '^ *+' conftest.er1 >conftest.err
20024 rm -f conftest.er1
20025 cat conftest.err >&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); } && {
20028 test -z "$ac_c_werror_flag" ||
20029 test ! -s conftest.err
20030 } && test -s conftest.$ac_objext; then
20031 eval "$as_ac_Header=yes"
20032 else
20033 echo "$as_me: failed program was:" >&5
20034 sed 's/^/| /' conftest.$ac_ext >&5
20035
20036 eval "$as_ac_Header=no"
20037 fi
20038
20039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20040 fi
20041 ac_res=`eval echo '${'$as_ac_Header'}'`
20042 { echo "$as_me:$LINENO: result: $ac_res" >&5
20043 echo "${ECHO_T}$ac_res" >&6; }
20044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20045 cat >>confdefs.h <<_ACEOF
20046 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20047 _ACEOF
20048
20049 fi
20050
20051 done
20052
20053
20054
20055
20056 for ac_header in langinfo.h wchar.h
20057 do
20058 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20059 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20062 echo $ECHO_N "(cached) $ECHO_C" >&6
20063 else
20064 cat >conftest.$ac_ext <<_ACEOF
20065 /* confdefs.h. */
20066 _ACEOF
20067 cat confdefs.h >>conftest.$ac_ext
20068 cat >>conftest.$ac_ext <<_ACEOF
20069 /* end confdefs.h. */
20070 $ac_includes_default
20071
20072 #include <$ac_header>
20073 _ACEOF
20074 rm -f conftest.$ac_objext
20075 if { (ac_try="$ac_compile"
20076 case "(($ac_try" in
20077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20078 *) ac_try_echo=$ac_try;;
20079 esac
20080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20081 (eval "$ac_compile") 2>conftest.er1
20082 ac_status=$?
20083 grep -v '^ *+' conftest.er1 >conftest.err
20084 rm -f conftest.er1
20085 cat conftest.err >&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); } && {
20088 test -z "$ac_c_werror_flag" ||
20089 test ! -s conftest.err
20090 } && test -s conftest.$ac_objext; then
20091 eval "$as_ac_Header=yes"
20092 else
20093 echo "$as_me: failed program was:" >&5
20094 sed 's/^/| /' conftest.$ac_ext >&5
20095
20096 eval "$as_ac_Header=no"
20097 fi
20098
20099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20100 fi
20101 ac_res=`eval echo '${'$as_ac_Header'}'`
20102 { echo "$as_me:$LINENO: result: $ac_res" >&5
20103 echo "${ECHO_T}$ac_res" >&6; }
20104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20105 cat >>confdefs.h <<_ACEOF
20106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20107 _ACEOF
20108
20109 fi
20110
20111 done
20112
20113
20114 if test "$ac_cv_header_wchar_h" != "yes"; then
20115
20116 for ac_header in wcstr.h
20117 do
20118 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20119 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20121 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20122 echo $ECHO_N "(cached) $ECHO_C" >&6
20123 else
20124 cat >conftest.$ac_ext <<_ACEOF
20125 /* confdefs.h. */
20126 _ACEOF
20127 cat confdefs.h >>conftest.$ac_ext
20128 cat >>conftest.$ac_ext <<_ACEOF
20129 /* end confdefs.h. */
20130 $ac_includes_default
20131
20132 #include <$ac_header>
20133 _ACEOF
20134 rm -f conftest.$ac_objext
20135 if { (ac_try="$ac_compile"
20136 case "(($ac_try" in
20137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20138 *) ac_try_echo=$ac_try;;
20139 esac
20140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20141 (eval "$ac_compile") 2>conftest.er1
20142 ac_status=$?
20143 grep -v '^ *+' conftest.er1 >conftest.err
20144 rm -f conftest.er1
20145 cat conftest.err >&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); } && {
20148 test -z "$ac_c_werror_flag" ||
20149 test ! -s conftest.err
20150 } && test -s conftest.$ac_objext; then
20151 eval "$as_ac_Header=yes"
20152 else
20153 echo "$as_me: failed program was:" >&5
20154 sed 's/^/| /' conftest.$ac_ext >&5
20155
20156 eval "$as_ac_Header=no"
20157 fi
20158
20159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20160 fi
20161 ac_res=`eval echo '${'$as_ac_Header'}'`
20162 { echo "$as_me:$LINENO: result: $ac_res" >&5
20163 echo "${ECHO_T}$ac_res" >&6; }
20164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20165 cat >>confdefs.h <<_ACEOF
20166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20167 _ACEOF
20168
20169 fi
20170
20171 done
20172
20173 fi
20174
20175 case "${host}" in
20176 *-pc-os2_emx | *-pc-os2-emx )
20177 if test $ac_cv_header_langinfo_h = "yes" \
20178 -a \( "$wx_cv_gccversion" = "EMX2" \
20179 -o "$wx_cv_gccversion" = "EMX3" \
20180 -o "$wx_cv_gccversion" = "Innotek5" \); then
20181 LIBS="$LIBS -lintl"
20182 fi
20183 ;;
20184 esac
20185
20186 if test "$USE_UNIX" = 1 ; then
20187
20188 for ac_header in sys/select.h
20189 do
20190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20191 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 else
20196 cat >conftest.$ac_ext <<_ACEOF
20197 /* confdefs.h. */
20198 _ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 $ac_includes_default
20203
20204 #include <$ac_header>
20205 _ACEOF
20206 rm -f conftest.$ac_objext
20207 if { (ac_try="$ac_compile"
20208 case "(($ac_try" in
20209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20210 *) ac_try_echo=$ac_try;;
20211 esac
20212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20213 (eval "$ac_compile") 2>conftest.er1
20214 ac_status=$?
20215 grep -v '^ *+' conftest.er1 >conftest.err
20216 rm -f conftest.er1
20217 cat conftest.err >&5
20218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219 (exit $ac_status); } && {
20220 test -z "$ac_c_werror_flag" ||
20221 test ! -s conftest.err
20222 } && test -s conftest.$ac_objext; then
20223 eval "$as_ac_Header=yes"
20224 else
20225 echo "$as_me: failed program was:" >&5
20226 sed 's/^/| /' conftest.$ac_ext >&5
20227
20228 eval "$as_ac_Header=no"
20229 fi
20230
20231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20232 fi
20233 ac_res=`eval echo '${'$as_ac_Header'}'`
20234 { echo "$as_me:$LINENO: result: $ac_res" >&5
20235 echo "${ECHO_T}$ac_res" >&6; }
20236 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20237 cat >>confdefs.h <<_ACEOF
20238 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20239 _ACEOF
20240
20241 fi
20242
20243 done
20244
20245 fi
20246
20247
20248 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20249 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20250 if test "${ac_cv_c_const+set}" = set; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6
20252 else
20253 cat >conftest.$ac_ext <<_ACEOF
20254 /* confdefs.h. */
20255 _ACEOF
20256 cat confdefs.h >>conftest.$ac_ext
20257 cat >>conftest.$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20259
20260 int
20261 main ()
20262 {
20263 /* FIXME: Include the comments suggested by Paul. */
20264 #ifndef __cplusplus
20265 /* Ultrix mips cc rejects this. */
20266 typedef int charset[2];
20267 const charset cs;
20268 /* SunOS 4.1.1 cc rejects this. */
20269 char const *const *pcpcc;
20270 char **ppc;
20271 /* NEC SVR4.0.2 mips cc rejects this. */
20272 struct point {int x, y;};
20273 static struct point const zero = {0,0};
20274 /* AIX XL C 1.02.0.0 rejects this.
20275 It does not let you subtract one const X* pointer from another in
20276 an arm of an if-expression whose if-part is not a constant
20277 expression */
20278 const char *g = "string";
20279 pcpcc = &g + (g ? g-g : 0);
20280 /* HPUX 7.0 cc rejects these. */
20281 ++pcpcc;
20282 ppc = (char**) pcpcc;
20283 pcpcc = (char const *const *) ppc;
20284 { /* SCO 3.2v4 cc rejects this. */
20285 char *t;
20286 char const *s = 0 ? (char *) 0 : (char const *) 0;
20287
20288 *t++ = 0;
20289 if (s) return 0;
20290 }
20291 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20292 int x[] = {25, 17};
20293 const int *foo = &x[0];
20294 ++foo;
20295 }
20296 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20297 typedef const int *iptr;
20298 iptr p = 0;
20299 ++p;
20300 }
20301 { /* AIX XL C 1.02.0.0 rejects this saying
20302 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20303 struct s { int j; const int *ap[3]; };
20304 struct s *b; b->j = 5;
20305 }
20306 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20307 const int foo = 10;
20308 if (!foo) return 0;
20309 }
20310 return !cs[0] && !zero.x;
20311 #endif
20312
20313 ;
20314 return 0;
20315 }
20316 _ACEOF
20317 rm -f conftest.$ac_objext
20318 if { (ac_try="$ac_compile"
20319 case "(($ac_try" in
20320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20321 *) ac_try_echo=$ac_try;;
20322 esac
20323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20324 (eval "$ac_compile") 2>conftest.er1
20325 ac_status=$?
20326 grep -v '^ *+' conftest.er1 >conftest.err
20327 rm -f conftest.er1
20328 cat conftest.err >&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); } && {
20331 test -z "$ac_c_werror_flag" ||
20332 test ! -s conftest.err
20333 } && test -s conftest.$ac_objext; then
20334 ac_cv_c_const=yes
20335 else
20336 echo "$as_me: failed program was:" >&5
20337 sed 's/^/| /' conftest.$ac_ext >&5
20338
20339 ac_cv_c_const=no
20340 fi
20341
20342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20343 fi
20344 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20345 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20346 if test $ac_cv_c_const = no; then
20347
20348 cat >>confdefs.h <<\_ACEOF
20349 #define const
20350 _ACEOF
20351
20352 fi
20353
20354 { echo "$as_me:$LINENO: checking for inline" >&5
20355 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20356 if test "${ac_cv_c_inline+set}" = set; then
20357 echo $ECHO_N "(cached) $ECHO_C" >&6
20358 else
20359 ac_cv_c_inline=no
20360 for ac_kw in inline __inline__ __inline; do
20361 cat >conftest.$ac_ext <<_ACEOF
20362 /* confdefs.h. */
20363 _ACEOF
20364 cat confdefs.h >>conftest.$ac_ext
20365 cat >>conftest.$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20367 #ifndef __cplusplus
20368 typedef int foo_t;
20369 static $ac_kw foo_t static_foo () {return 0; }
20370 $ac_kw foo_t foo () {return 0; }
20371 #endif
20372
20373 _ACEOF
20374 rm -f conftest.$ac_objext
20375 if { (ac_try="$ac_compile"
20376 case "(($ac_try" in
20377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20378 *) ac_try_echo=$ac_try;;
20379 esac
20380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20381 (eval "$ac_compile") 2>conftest.er1
20382 ac_status=$?
20383 grep -v '^ *+' conftest.er1 >conftest.err
20384 rm -f conftest.er1
20385 cat conftest.err >&5
20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387 (exit $ac_status); } && {
20388 test -z "$ac_c_werror_flag" ||
20389 test ! -s conftest.err
20390 } && test -s conftest.$ac_objext; then
20391 ac_cv_c_inline=$ac_kw
20392 else
20393 echo "$as_me: failed program was:" >&5
20394 sed 's/^/| /' conftest.$ac_ext >&5
20395
20396
20397 fi
20398
20399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20400 test "$ac_cv_c_inline" != no && break
20401 done
20402
20403 fi
20404 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20405 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20406
20407
20408 case $ac_cv_c_inline in
20409 inline | yes) ;;
20410 *)
20411 case $ac_cv_c_inline in
20412 no) ac_val=;;
20413 *) ac_val=$ac_cv_c_inline;;
20414 esac
20415 cat >>confdefs.h <<_ACEOF
20416 #ifndef __cplusplus
20417 #define inline $ac_val
20418 #endif
20419 _ACEOF
20420 ;;
20421 esac
20422
20423
20424 { echo "$as_me:$LINENO: checking for short" >&5
20425 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20426 if test "${ac_cv_type_short+set}" = set; then
20427 echo $ECHO_N "(cached) $ECHO_C" >&6
20428 else
20429 cat >conftest.$ac_ext <<_ACEOF
20430 /* confdefs.h. */
20431 _ACEOF
20432 cat confdefs.h >>conftest.$ac_ext
20433 cat >>conftest.$ac_ext <<_ACEOF
20434 /* end confdefs.h. */
20435 $ac_includes_default
20436 typedef short ac__type_new_;
20437 int
20438 main ()
20439 {
20440 if ((ac__type_new_ *) 0)
20441 return 0;
20442 if (sizeof (ac__type_new_))
20443 return 0;
20444 ;
20445 return 0;
20446 }
20447 _ACEOF
20448 rm -f conftest.$ac_objext
20449 if { (ac_try="$ac_compile"
20450 case "(($ac_try" in
20451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20452 *) ac_try_echo=$ac_try;;
20453 esac
20454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20455 (eval "$ac_compile") 2>conftest.er1
20456 ac_status=$?
20457 grep -v '^ *+' conftest.er1 >conftest.err
20458 rm -f conftest.er1
20459 cat conftest.err >&5
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); } && {
20462 test -z "$ac_c_werror_flag" ||
20463 test ! -s conftest.err
20464 } && test -s conftest.$ac_objext; then
20465 ac_cv_type_short=yes
20466 else
20467 echo "$as_me: failed program was:" >&5
20468 sed 's/^/| /' conftest.$ac_ext >&5
20469
20470 ac_cv_type_short=no
20471 fi
20472
20473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20474 fi
20475 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20476 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20477
20478 # The cast to long int works around a bug in the HP C Compiler
20479 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20480 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20481 # This bug is HP SR number 8606223364.
20482 { echo "$as_me:$LINENO: checking size of short" >&5
20483 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20484 if test "${ac_cv_sizeof_short+set}" = set; then
20485 echo $ECHO_N "(cached) $ECHO_C" >&6
20486 else
20487 if test "$cross_compiling" = yes; then
20488 # Depending upon the size, compute the lo and hi bounds.
20489 cat >conftest.$ac_ext <<_ACEOF
20490 /* confdefs.h. */
20491 _ACEOF
20492 cat confdefs.h >>conftest.$ac_ext
20493 cat >>conftest.$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 $ac_includes_default
20496 typedef short ac__type_sizeof_;
20497 int
20498 main ()
20499 {
20500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20501 test_array [0] = 0
20502
20503 ;
20504 return 0;
20505 }
20506 _ACEOF
20507 rm -f conftest.$ac_objext
20508 if { (ac_try="$ac_compile"
20509 case "(($ac_try" in
20510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20511 *) ac_try_echo=$ac_try;;
20512 esac
20513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20514 (eval "$ac_compile") 2>conftest.er1
20515 ac_status=$?
20516 grep -v '^ *+' conftest.er1 >conftest.err
20517 rm -f conftest.er1
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } && {
20521 test -z "$ac_c_werror_flag" ||
20522 test ! -s conftest.err
20523 } && test -s conftest.$ac_objext; then
20524 ac_lo=0 ac_mid=0
20525 while :; do
20526 cat >conftest.$ac_ext <<_ACEOF
20527 /* confdefs.h. */
20528 _ACEOF
20529 cat confdefs.h >>conftest.$ac_ext
20530 cat >>conftest.$ac_ext <<_ACEOF
20531 /* end confdefs.h. */
20532 $ac_includes_default
20533 typedef short ac__type_sizeof_;
20534 int
20535 main ()
20536 {
20537 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20538 test_array [0] = 0
20539
20540 ;
20541 return 0;
20542 }
20543 _ACEOF
20544 rm -f conftest.$ac_objext
20545 if { (ac_try="$ac_compile"
20546 case "(($ac_try" in
20547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20548 *) ac_try_echo=$ac_try;;
20549 esac
20550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20551 (eval "$ac_compile") 2>conftest.er1
20552 ac_status=$?
20553 grep -v '^ *+' conftest.er1 >conftest.err
20554 rm -f conftest.er1
20555 cat conftest.err >&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); } && {
20558 test -z "$ac_c_werror_flag" ||
20559 test ! -s conftest.err
20560 } && test -s conftest.$ac_objext; then
20561 ac_hi=$ac_mid; break
20562 else
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20565
20566 ac_lo=`expr $ac_mid + 1`
20567 if test $ac_lo -le $ac_mid; then
20568 ac_lo= ac_hi=
20569 break
20570 fi
20571 ac_mid=`expr 2 '*' $ac_mid + 1`
20572 fi
20573
20574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20575 done
20576 else
20577 echo "$as_me: failed program was:" >&5
20578 sed 's/^/| /' conftest.$ac_ext >&5
20579
20580 cat >conftest.$ac_ext <<_ACEOF
20581 /* confdefs.h. */
20582 _ACEOF
20583 cat confdefs.h >>conftest.$ac_ext
20584 cat >>conftest.$ac_ext <<_ACEOF
20585 /* end confdefs.h. */
20586 $ac_includes_default
20587 typedef short ac__type_sizeof_;
20588 int
20589 main ()
20590 {
20591 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20592 test_array [0] = 0
20593
20594 ;
20595 return 0;
20596 }
20597 _ACEOF
20598 rm -f conftest.$ac_objext
20599 if { (ac_try="$ac_compile"
20600 case "(($ac_try" in
20601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20602 *) ac_try_echo=$ac_try;;
20603 esac
20604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20605 (eval "$ac_compile") 2>conftest.er1
20606 ac_status=$?
20607 grep -v '^ *+' conftest.er1 >conftest.err
20608 rm -f conftest.er1
20609 cat conftest.err >&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } && {
20612 test -z "$ac_c_werror_flag" ||
20613 test ! -s conftest.err
20614 } && test -s conftest.$ac_objext; then
20615 ac_hi=-1 ac_mid=-1
20616 while :; do
20617 cat >conftest.$ac_ext <<_ACEOF
20618 /* confdefs.h. */
20619 _ACEOF
20620 cat confdefs.h >>conftest.$ac_ext
20621 cat >>conftest.$ac_ext <<_ACEOF
20622 /* end confdefs.h. */
20623 $ac_includes_default
20624 typedef short ac__type_sizeof_;
20625 int
20626 main ()
20627 {
20628 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20629 test_array [0] = 0
20630
20631 ;
20632 return 0;
20633 }
20634 _ACEOF
20635 rm -f conftest.$ac_objext
20636 if { (ac_try="$ac_compile"
20637 case "(($ac_try" in
20638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20639 *) ac_try_echo=$ac_try;;
20640 esac
20641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20642 (eval "$ac_compile") 2>conftest.er1
20643 ac_status=$?
20644 grep -v '^ *+' conftest.er1 >conftest.err
20645 rm -f conftest.er1
20646 cat conftest.err >&5
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); } && {
20649 test -z "$ac_c_werror_flag" ||
20650 test ! -s conftest.err
20651 } && test -s conftest.$ac_objext; then
20652 ac_lo=$ac_mid; break
20653 else
20654 echo "$as_me: failed program was:" >&5
20655 sed 's/^/| /' conftest.$ac_ext >&5
20656
20657 ac_hi=`expr '(' $ac_mid ')' - 1`
20658 if test $ac_mid -le $ac_hi; then
20659 ac_lo= ac_hi=
20660 break
20661 fi
20662 ac_mid=`expr 2 '*' $ac_mid`
20663 fi
20664
20665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20666 done
20667 else
20668 echo "$as_me: failed program was:" >&5
20669 sed 's/^/| /' conftest.$ac_ext >&5
20670
20671 ac_lo= ac_hi=
20672 fi
20673
20674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20675 fi
20676
20677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20678 # Binary search between lo and hi bounds.
20679 while test "x$ac_lo" != "x$ac_hi"; do
20680 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20681 cat >conftest.$ac_ext <<_ACEOF
20682 /* confdefs.h. */
20683 _ACEOF
20684 cat confdefs.h >>conftest.$ac_ext
20685 cat >>conftest.$ac_ext <<_ACEOF
20686 /* end confdefs.h. */
20687 $ac_includes_default
20688 typedef short ac__type_sizeof_;
20689 int
20690 main ()
20691 {
20692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20693 test_array [0] = 0
20694
20695 ;
20696 return 0;
20697 }
20698 _ACEOF
20699 rm -f conftest.$ac_objext
20700 if { (ac_try="$ac_compile"
20701 case "(($ac_try" in
20702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20703 *) ac_try_echo=$ac_try;;
20704 esac
20705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20706 (eval "$ac_compile") 2>conftest.er1
20707 ac_status=$?
20708 grep -v '^ *+' conftest.er1 >conftest.err
20709 rm -f conftest.er1
20710 cat conftest.err >&5
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); } && {
20713 test -z "$ac_c_werror_flag" ||
20714 test ! -s conftest.err
20715 } && test -s conftest.$ac_objext; then
20716 ac_hi=$ac_mid
20717 else
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.$ac_ext >&5
20720
20721 ac_lo=`expr '(' $ac_mid ')' + 1`
20722 fi
20723
20724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20725 done
20726 case $ac_lo in
20727 ?*) ac_cv_sizeof_short=$ac_lo;;
20728 '') if test "$ac_cv_type_short" = yes; then
20729 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20730 See \`config.log' for more details." >&5
20731 echo "$as_me: error: cannot compute sizeof (short)
20732 See \`config.log' for more details." >&2;}
20733 { (exit 77); exit 77; }; }
20734 else
20735 ac_cv_sizeof_short=0
20736 fi ;;
20737 esac
20738 else
20739 cat >conftest.$ac_ext <<_ACEOF
20740 /* confdefs.h. */
20741 _ACEOF
20742 cat confdefs.h >>conftest.$ac_ext
20743 cat >>conftest.$ac_ext <<_ACEOF
20744 /* end confdefs.h. */
20745 $ac_includes_default
20746 typedef short ac__type_sizeof_;
20747 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20748 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20749 #include <stdio.h>
20750 #include <stdlib.h>
20751 int
20752 main ()
20753 {
20754
20755 FILE *f = fopen ("conftest.val", "w");
20756 if (! f)
20757 return 1;
20758 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20759 {
20760 long int i = longval ();
20761 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20762 return 1;
20763 fprintf (f, "%ld\n", i);
20764 }
20765 else
20766 {
20767 unsigned long int i = ulongval ();
20768 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20769 return 1;
20770 fprintf (f, "%lu\n", i);
20771 }
20772 return ferror (f) || fclose (f) != 0;
20773
20774 ;
20775 return 0;
20776 }
20777 _ACEOF
20778 rm -f conftest$ac_exeext
20779 if { (ac_try="$ac_link"
20780 case "(($ac_try" in
20781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20782 *) ac_try_echo=$ac_try;;
20783 esac
20784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20785 (eval "$ac_link") 2>&5
20786 ac_status=$?
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20789 { (case "(($ac_try" in
20790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20791 *) ac_try_echo=$ac_try;;
20792 esac
20793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20794 (eval "$ac_try") 2>&5
20795 ac_status=$?
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; }; then
20798 ac_cv_sizeof_short=`cat conftest.val`
20799 else
20800 echo "$as_me: program exited with status $ac_status" >&5
20801 echo "$as_me: failed program was:" >&5
20802 sed 's/^/| /' conftest.$ac_ext >&5
20803
20804 ( exit $ac_status )
20805 if test "$ac_cv_type_short" = yes; then
20806 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20807 See \`config.log' for more details." >&5
20808 echo "$as_me: error: cannot compute sizeof (short)
20809 See \`config.log' for more details." >&2;}
20810 { (exit 77); exit 77; }; }
20811 else
20812 ac_cv_sizeof_short=0
20813 fi
20814 fi
20815 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20816 fi
20817 rm -f conftest.val
20818 fi
20819 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20820 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20821
20822
20823
20824 cat >>confdefs.h <<_ACEOF
20825 #define SIZEOF_SHORT $ac_cv_sizeof_short
20826 _ACEOF
20827
20828
20829 { echo "$as_me:$LINENO: checking for void *" >&5
20830 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20831 if test "${ac_cv_type_void_p+set}" = set; then
20832 echo $ECHO_N "(cached) $ECHO_C" >&6
20833 else
20834 cat >conftest.$ac_ext <<_ACEOF
20835 /* confdefs.h. */
20836 _ACEOF
20837 cat confdefs.h >>conftest.$ac_ext
20838 cat >>conftest.$ac_ext <<_ACEOF
20839 /* end confdefs.h. */
20840 $ac_includes_default
20841 typedef void * ac__type_new_;
20842 int
20843 main ()
20844 {
20845 if ((ac__type_new_ *) 0)
20846 return 0;
20847 if (sizeof (ac__type_new_))
20848 return 0;
20849 ;
20850 return 0;
20851 }
20852 _ACEOF
20853 rm -f conftest.$ac_objext
20854 if { (ac_try="$ac_compile"
20855 case "(($ac_try" in
20856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20857 *) ac_try_echo=$ac_try;;
20858 esac
20859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20860 (eval "$ac_compile") 2>conftest.er1
20861 ac_status=$?
20862 grep -v '^ *+' conftest.er1 >conftest.err
20863 rm -f conftest.er1
20864 cat conftest.err >&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); } && {
20867 test -z "$ac_c_werror_flag" ||
20868 test ! -s conftest.err
20869 } && test -s conftest.$ac_objext; then
20870 ac_cv_type_void_p=yes
20871 else
20872 echo "$as_me: failed program was:" >&5
20873 sed 's/^/| /' conftest.$ac_ext >&5
20874
20875 ac_cv_type_void_p=no
20876 fi
20877
20878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20879 fi
20880 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20881 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20882
20883 # The cast to long int works around a bug in the HP C Compiler
20884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20886 # This bug is HP SR number 8606223364.
20887 { echo "$as_me:$LINENO: checking size of void *" >&5
20888 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20889 if test "${ac_cv_sizeof_void_p+set}" = set; then
20890 echo $ECHO_N "(cached) $ECHO_C" >&6
20891 else
20892 if test "$cross_compiling" = yes; then
20893 # Depending upon the size, compute the lo and hi bounds.
20894 cat >conftest.$ac_ext <<_ACEOF
20895 /* confdefs.h. */
20896 _ACEOF
20897 cat confdefs.h >>conftest.$ac_ext
20898 cat >>conftest.$ac_ext <<_ACEOF
20899 /* end confdefs.h. */
20900 $ac_includes_default
20901 typedef void * ac__type_sizeof_;
20902 int
20903 main ()
20904 {
20905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20906 test_array [0] = 0
20907
20908 ;
20909 return 0;
20910 }
20911 _ACEOF
20912 rm -f conftest.$ac_objext
20913 if { (ac_try="$ac_compile"
20914 case "(($ac_try" in
20915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20916 *) ac_try_echo=$ac_try;;
20917 esac
20918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20919 (eval "$ac_compile") 2>conftest.er1
20920 ac_status=$?
20921 grep -v '^ *+' conftest.er1 >conftest.err
20922 rm -f conftest.er1
20923 cat conftest.err >&5
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); } && {
20926 test -z "$ac_c_werror_flag" ||
20927 test ! -s conftest.err
20928 } && test -s conftest.$ac_objext; then
20929 ac_lo=0 ac_mid=0
20930 while :; do
20931 cat >conftest.$ac_ext <<_ACEOF
20932 /* confdefs.h. */
20933 _ACEOF
20934 cat confdefs.h >>conftest.$ac_ext
20935 cat >>conftest.$ac_ext <<_ACEOF
20936 /* end confdefs.h. */
20937 $ac_includes_default
20938 typedef void * ac__type_sizeof_;
20939 int
20940 main ()
20941 {
20942 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20943 test_array [0] = 0
20944
20945 ;
20946 return 0;
20947 }
20948 _ACEOF
20949 rm -f conftest.$ac_objext
20950 if { (ac_try="$ac_compile"
20951 case "(($ac_try" in
20952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20953 *) ac_try_echo=$ac_try;;
20954 esac
20955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20956 (eval "$ac_compile") 2>conftest.er1
20957 ac_status=$?
20958 grep -v '^ *+' conftest.er1 >conftest.err
20959 rm -f conftest.er1
20960 cat conftest.err >&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } && {
20963 test -z "$ac_c_werror_flag" ||
20964 test ! -s conftest.err
20965 } && test -s conftest.$ac_objext; then
20966 ac_hi=$ac_mid; break
20967 else
20968 echo "$as_me: failed program was:" >&5
20969 sed 's/^/| /' conftest.$ac_ext >&5
20970
20971 ac_lo=`expr $ac_mid + 1`
20972 if test $ac_lo -le $ac_mid; then
20973 ac_lo= ac_hi=
20974 break
20975 fi
20976 ac_mid=`expr 2 '*' $ac_mid + 1`
20977 fi
20978
20979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20980 done
20981 else
20982 echo "$as_me: failed program was:" >&5
20983 sed 's/^/| /' conftest.$ac_ext >&5
20984
20985 cat >conftest.$ac_ext <<_ACEOF
20986 /* confdefs.h. */
20987 _ACEOF
20988 cat confdefs.h >>conftest.$ac_ext
20989 cat >>conftest.$ac_ext <<_ACEOF
20990 /* end confdefs.h. */
20991 $ac_includes_default
20992 typedef void * ac__type_sizeof_;
20993 int
20994 main ()
20995 {
20996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20997 test_array [0] = 0
20998
20999 ;
21000 return 0;
21001 }
21002 _ACEOF
21003 rm -f conftest.$ac_objext
21004 if { (ac_try="$ac_compile"
21005 case "(($ac_try" in
21006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21007 *) ac_try_echo=$ac_try;;
21008 esac
21009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21010 (eval "$ac_compile") 2>conftest.er1
21011 ac_status=$?
21012 grep -v '^ *+' conftest.er1 >conftest.err
21013 rm -f conftest.er1
21014 cat conftest.err >&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } && {
21017 test -z "$ac_c_werror_flag" ||
21018 test ! -s conftest.err
21019 } && test -s conftest.$ac_objext; then
21020 ac_hi=-1 ac_mid=-1
21021 while :; do
21022 cat >conftest.$ac_ext <<_ACEOF
21023 /* confdefs.h. */
21024 _ACEOF
21025 cat confdefs.h >>conftest.$ac_ext
21026 cat >>conftest.$ac_ext <<_ACEOF
21027 /* end confdefs.h. */
21028 $ac_includes_default
21029 typedef void * ac__type_sizeof_;
21030 int
21031 main ()
21032 {
21033 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21034 test_array [0] = 0
21035
21036 ;
21037 return 0;
21038 }
21039 _ACEOF
21040 rm -f conftest.$ac_objext
21041 if { (ac_try="$ac_compile"
21042 case "(($ac_try" in
21043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21044 *) ac_try_echo=$ac_try;;
21045 esac
21046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21047 (eval "$ac_compile") 2>conftest.er1
21048 ac_status=$?
21049 grep -v '^ *+' conftest.er1 >conftest.err
21050 rm -f conftest.er1
21051 cat conftest.err >&5
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); } && {
21054 test -z "$ac_c_werror_flag" ||
21055 test ! -s conftest.err
21056 } && test -s conftest.$ac_objext; then
21057 ac_lo=$ac_mid; break
21058 else
21059 echo "$as_me: failed program was:" >&5
21060 sed 's/^/| /' conftest.$ac_ext >&5
21061
21062 ac_hi=`expr '(' $ac_mid ')' - 1`
21063 if test $ac_mid -le $ac_hi; then
21064 ac_lo= ac_hi=
21065 break
21066 fi
21067 ac_mid=`expr 2 '*' $ac_mid`
21068 fi
21069
21070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21071 done
21072 else
21073 echo "$as_me: failed program was:" >&5
21074 sed 's/^/| /' conftest.$ac_ext >&5
21075
21076 ac_lo= ac_hi=
21077 fi
21078
21079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21080 fi
21081
21082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21083 # Binary search between lo and hi bounds.
21084 while test "x$ac_lo" != "x$ac_hi"; do
21085 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21086 cat >conftest.$ac_ext <<_ACEOF
21087 /* confdefs.h. */
21088 _ACEOF
21089 cat confdefs.h >>conftest.$ac_ext
21090 cat >>conftest.$ac_ext <<_ACEOF
21091 /* end confdefs.h. */
21092 $ac_includes_default
21093 typedef void * ac__type_sizeof_;
21094 int
21095 main ()
21096 {
21097 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21098 test_array [0] = 0
21099
21100 ;
21101 return 0;
21102 }
21103 _ACEOF
21104 rm -f conftest.$ac_objext
21105 if { (ac_try="$ac_compile"
21106 case "(($ac_try" in
21107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21108 *) ac_try_echo=$ac_try;;
21109 esac
21110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21111 (eval "$ac_compile") 2>conftest.er1
21112 ac_status=$?
21113 grep -v '^ *+' conftest.er1 >conftest.err
21114 rm -f conftest.er1
21115 cat conftest.err >&5
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); } && {
21118 test -z "$ac_c_werror_flag" ||
21119 test ! -s conftest.err
21120 } && test -s conftest.$ac_objext; then
21121 ac_hi=$ac_mid
21122 else
21123 echo "$as_me: failed program was:" >&5
21124 sed 's/^/| /' conftest.$ac_ext >&5
21125
21126 ac_lo=`expr '(' $ac_mid ')' + 1`
21127 fi
21128
21129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21130 done
21131 case $ac_lo in
21132 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21133 '') if test "$ac_cv_type_void_p" = yes; then
21134 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21135 See \`config.log' for more details." >&5
21136 echo "$as_me: error: cannot compute sizeof (void *)
21137 See \`config.log' for more details." >&2;}
21138 { (exit 77); exit 77; }; }
21139 else
21140 ac_cv_sizeof_void_p=0
21141 fi ;;
21142 esac
21143 else
21144 cat >conftest.$ac_ext <<_ACEOF
21145 /* confdefs.h. */
21146 _ACEOF
21147 cat confdefs.h >>conftest.$ac_ext
21148 cat >>conftest.$ac_ext <<_ACEOF
21149 /* end confdefs.h. */
21150 $ac_includes_default
21151 typedef void * ac__type_sizeof_;
21152 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21153 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21154 #include <stdio.h>
21155 #include <stdlib.h>
21156 int
21157 main ()
21158 {
21159
21160 FILE *f = fopen ("conftest.val", "w");
21161 if (! f)
21162 return 1;
21163 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21164 {
21165 long int i = longval ();
21166 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21167 return 1;
21168 fprintf (f, "%ld\n", i);
21169 }
21170 else
21171 {
21172 unsigned long int i = ulongval ();
21173 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21174 return 1;
21175 fprintf (f, "%lu\n", i);
21176 }
21177 return ferror (f) || fclose (f) != 0;
21178
21179 ;
21180 return 0;
21181 }
21182 _ACEOF
21183 rm -f conftest$ac_exeext
21184 if { (ac_try="$ac_link"
21185 case "(($ac_try" in
21186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21187 *) ac_try_echo=$ac_try;;
21188 esac
21189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21190 (eval "$ac_link") 2>&5
21191 ac_status=$?
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21194 { (case "(($ac_try" in
21195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21196 *) ac_try_echo=$ac_try;;
21197 esac
21198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21199 (eval "$ac_try") 2>&5
21200 ac_status=$?
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 ac_cv_sizeof_void_p=`cat conftest.val`
21204 else
21205 echo "$as_me: program exited with status $ac_status" >&5
21206 echo "$as_me: failed program was:" >&5
21207 sed 's/^/| /' conftest.$ac_ext >&5
21208
21209 ( exit $ac_status )
21210 if test "$ac_cv_type_void_p" = yes; then
21211 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21212 See \`config.log' for more details." >&5
21213 echo "$as_me: error: cannot compute sizeof (void *)
21214 See \`config.log' for more details." >&2;}
21215 { (exit 77); exit 77; }; }
21216 else
21217 ac_cv_sizeof_void_p=0
21218 fi
21219 fi
21220 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21221 fi
21222 rm -f conftest.val
21223 fi
21224 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21225 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21226
21227
21228
21229 cat >>confdefs.h <<_ACEOF
21230 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21231 _ACEOF
21232
21233
21234 { echo "$as_me:$LINENO: checking for int" >&5
21235 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21236 if test "${ac_cv_type_int+set}" = set; then
21237 echo $ECHO_N "(cached) $ECHO_C" >&6
21238 else
21239 cat >conftest.$ac_ext <<_ACEOF
21240 /* confdefs.h. */
21241 _ACEOF
21242 cat confdefs.h >>conftest.$ac_ext
21243 cat >>conftest.$ac_ext <<_ACEOF
21244 /* end confdefs.h. */
21245 $ac_includes_default
21246 typedef int ac__type_new_;
21247 int
21248 main ()
21249 {
21250 if ((ac__type_new_ *) 0)
21251 return 0;
21252 if (sizeof (ac__type_new_))
21253 return 0;
21254 ;
21255 return 0;
21256 }
21257 _ACEOF
21258 rm -f conftest.$ac_objext
21259 if { (ac_try="$ac_compile"
21260 case "(($ac_try" in
21261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21262 *) ac_try_echo=$ac_try;;
21263 esac
21264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21265 (eval "$ac_compile") 2>conftest.er1
21266 ac_status=$?
21267 grep -v '^ *+' conftest.er1 >conftest.err
21268 rm -f conftest.er1
21269 cat conftest.err >&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); } && {
21272 test -z "$ac_c_werror_flag" ||
21273 test ! -s conftest.err
21274 } && test -s conftest.$ac_objext; then
21275 ac_cv_type_int=yes
21276 else
21277 echo "$as_me: failed program was:" >&5
21278 sed 's/^/| /' conftest.$ac_ext >&5
21279
21280 ac_cv_type_int=no
21281 fi
21282
21283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21284 fi
21285 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21286 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21287
21288 # The cast to long int works around a bug in the HP C Compiler
21289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21291 # This bug is HP SR number 8606223364.
21292 { echo "$as_me:$LINENO: checking size of int" >&5
21293 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21294 if test "${ac_cv_sizeof_int+set}" = set; then
21295 echo $ECHO_N "(cached) $ECHO_C" >&6
21296 else
21297 if test "$cross_compiling" = yes; then
21298 # Depending upon the size, compute the lo and hi bounds.
21299 cat >conftest.$ac_ext <<_ACEOF
21300 /* confdefs.h. */
21301 _ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 $ac_includes_default
21306 typedef int ac__type_sizeof_;
21307 int
21308 main ()
21309 {
21310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21311 test_array [0] = 0
21312
21313 ;
21314 return 0;
21315 }
21316 _ACEOF
21317 rm -f conftest.$ac_objext
21318 if { (ac_try="$ac_compile"
21319 case "(($ac_try" in
21320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21321 *) ac_try_echo=$ac_try;;
21322 esac
21323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21324 (eval "$ac_compile") 2>conftest.er1
21325 ac_status=$?
21326 grep -v '^ *+' conftest.er1 >conftest.err
21327 rm -f conftest.er1
21328 cat conftest.err >&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } && {
21331 test -z "$ac_c_werror_flag" ||
21332 test ! -s conftest.err
21333 } && test -s conftest.$ac_objext; then
21334 ac_lo=0 ac_mid=0
21335 while :; do
21336 cat >conftest.$ac_ext <<_ACEOF
21337 /* confdefs.h. */
21338 _ACEOF
21339 cat confdefs.h >>conftest.$ac_ext
21340 cat >>conftest.$ac_ext <<_ACEOF
21341 /* end confdefs.h. */
21342 $ac_includes_default
21343 typedef int ac__type_sizeof_;
21344 int
21345 main ()
21346 {
21347 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21348 test_array [0] = 0
21349
21350 ;
21351 return 0;
21352 }
21353 _ACEOF
21354 rm -f conftest.$ac_objext
21355 if { (ac_try="$ac_compile"
21356 case "(($ac_try" in
21357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21358 *) ac_try_echo=$ac_try;;
21359 esac
21360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21361 (eval "$ac_compile") 2>conftest.er1
21362 ac_status=$?
21363 grep -v '^ *+' conftest.er1 >conftest.err
21364 rm -f conftest.er1
21365 cat conftest.err >&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } && {
21368 test -z "$ac_c_werror_flag" ||
21369 test ! -s conftest.err
21370 } && test -s conftest.$ac_objext; then
21371 ac_hi=$ac_mid; break
21372 else
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.$ac_ext >&5
21375
21376 ac_lo=`expr $ac_mid + 1`
21377 if test $ac_lo -le $ac_mid; then
21378 ac_lo= ac_hi=
21379 break
21380 fi
21381 ac_mid=`expr 2 '*' $ac_mid + 1`
21382 fi
21383
21384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21385 done
21386 else
21387 echo "$as_me: failed program was:" >&5
21388 sed 's/^/| /' conftest.$ac_ext >&5
21389
21390 cat >conftest.$ac_ext <<_ACEOF
21391 /* confdefs.h. */
21392 _ACEOF
21393 cat confdefs.h >>conftest.$ac_ext
21394 cat >>conftest.$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21396 $ac_includes_default
21397 typedef int ac__type_sizeof_;
21398 int
21399 main ()
21400 {
21401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21402 test_array [0] = 0
21403
21404 ;
21405 return 0;
21406 }
21407 _ACEOF
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21416 ac_status=$?
21417 grep -v '^ *+' conftest.er1 >conftest.err
21418 rm -f conftest.er1
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } && {
21422 test -z "$ac_c_werror_flag" ||
21423 test ! -s conftest.err
21424 } && test -s conftest.$ac_objext; then
21425 ac_hi=-1 ac_mid=-1
21426 while :; do
21427 cat >conftest.$ac_ext <<_ACEOF
21428 /* confdefs.h. */
21429 _ACEOF
21430 cat confdefs.h >>conftest.$ac_ext
21431 cat >>conftest.$ac_ext <<_ACEOF
21432 /* end confdefs.h. */
21433 $ac_includes_default
21434 typedef int ac__type_sizeof_;
21435 int
21436 main ()
21437 {
21438 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21439 test_array [0] = 0
21440
21441 ;
21442 return 0;
21443 }
21444 _ACEOF
21445 rm -f conftest.$ac_objext
21446 if { (ac_try="$ac_compile"
21447 case "(($ac_try" in
21448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21449 *) ac_try_echo=$ac_try;;
21450 esac
21451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21452 (eval "$ac_compile") 2>conftest.er1
21453 ac_status=$?
21454 grep -v '^ *+' conftest.er1 >conftest.err
21455 rm -f conftest.er1
21456 cat conftest.err >&5
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); } && {
21459 test -z "$ac_c_werror_flag" ||
21460 test ! -s conftest.err
21461 } && test -s conftest.$ac_objext; then
21462 ac_lo=$ac_mid; break
21463 else
21464 echo "$as_me: failed program was:" >&5
21465 sed 's/^/| /' conftest.$ac_ext >&5
21466
21467 ac_hi=`expr '(' $ac_mid ')' - 1`
21468 if test $ac_mid -le $ac_hi; then
21469 ac_lo= ac_hi=
21470 break
21471 fi
21472 ac_mid=`expr 2 '*' $ac_mid`
21473 fi
21474
21475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21476 done
21477 else
21478 echo "$as_me: failed program was:" >&5
21479 sed 's/^/| /' conftest.$ac_ext >&5
21480
21481 ac_lo= ac_hi=
21482 fi
21483
21484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21485 fi
21486
21487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21488 # Binary search between lo and hi bounds.
21489 while test "x$ac_lo" != "x$ac_hi"; do
21490 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21491 cat >conftest.$ac_ext <<_ACEOF
21492 /* confdefs.h. */
21493 _ACEOF
21494 cat confdefs.h >>conftest.$ac_ext
21495 cat >>conftest.$ac_ext <<_ACEOF
21496 /* end confdefs.h. */
21497 $ac_includes_default
21498 typedef int ac__type_sizeof_;
21499 int
21500 main ()
21501 {
21502 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21503 test_array [0] = 0
21504
21505 ;
21506 return 0;
21507 }
21508 _ACEOF
21509 rm -f conftest.$ac_objext
21510 if { (ac_try="$ac_compile"
21511 case "(($ac_try" in
21512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21513 *) ac_try_echo=$ac_try;;
21514 esac
21515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21516 (eval "$ac_compile") 2>conftest.er1
21517 ac_status=$?
21518 grep -v '^ *+' conftest.er1 >conftest.err
21519 rm -f conftest.er1
21520 cat conftest.err >&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); } && {
21523 test -z "$ac_c_werror_flag" ||
21524 test ! -s conftest.err
21525 } && test -s conftest.$ac_objext; then
21526 ac_hi=$ac_mid
21527 else
21528 echo "$as_me: failed program was:" >&5
21529 sed 's/^/| /' conftest.$ac_ext >&5
21530
21531 ac_lo=`expr '(' $ac_mid ')' + 1`
21532 fi
21533
21534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21535 done
21536 case $ac_lo in
21537 ?*) ac_cv_sizeof_int=$ac_lo;;
21538 '') if test "$ac_cv_type_int" = yes; then
21539 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21540 See \`config.log' for more details." >&5
21541 echo "$as_me: error: cannot compute sizeof (int)
21542 See \`config.log' for more details." >&2;}
21543 { (exit 77); exit 77; }; }
21544 else
21545 ac_cv_sizeof_int=0
21546 fi ;;
21547 esac
21548 else
21549 cat >conftest.$ac_ext <<_ACEOF
21550 /* confdefs.h. */
21551 _ACEOF
21552 cat confdefs.h >>conftest.$ac_ext
21553 cat >>conftest.$ac_ext <<_ACEOF
21554 /* end confdefs.h. */
21555 $ac_includes_default
21556 typedef int ac__type_sizeof_;
21557 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21558 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21559 #include <stdio.h>
21560 #include <stdlib.h>
21561 int
21562 main ()
21563 {
21564
21565 FILE *f = fopen ("conftest.val", "w");
21566 if (! f)
21567 return 1;
21568 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21569 {
21570 long int i = longval ();
21571 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21572 return 1;
21573 fprintf (f, "%ld\n", i);
21574 }
21575 else
21576 {
21577 unsigned long int i = ulongval ();
21578 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21579 return 1;
21580 fprintf (f, "%lu\n", i);
21581 }
21582 return ferror (f) || fclose (f) != 0;
21583
21584 ;
21585 return 0;
21586 }
21587 _ACEOF
21588 rm -f conftest$ac_exeext
21589 if { (ac_try="$ac_link"
21590 case "(($ac_try" in
21591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21592 *) ac_try_echo=$ac_try;;
21593 esac
21594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21595 (eval "$ac_link") 2>&5
21596 ac_status=$?
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21599 { (case "(($ac_try" in
21600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21601 *) ac_try_echo=$ac_try;;
21602 esac
21603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21604 (eval "$ac_try") 2>&5
21605 ac_status=$?
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); }; }; then
21608 ac_cv_sizeof_int=`cat conftest.val`
21609 else
21610 echo "$as_me: program exited with status $ac_status" >&5
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21613
21614 ( exit $ac_status )
21615 if test "$ac_cv_type_int" = yes; then
21616 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21617 See \`config.log' for more details." >&5
21618 echo "$as_me: error: cannot compute sizeof (int)
21619 See \`config.log' for more details." >&2;}
21620 { (exit 77); exit 77; }; }
21621 else
21622 ac_cv_sizeof_int=0
21623 fi
21624 fi
21625 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21626 fi
21627 rm -f conftest.val
21628 fi
21629 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21630 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21631
21632
21633
21634 cat >>confdefs.h <<_ACEOF
21635 #define SIZEOF_INT $ac_cv_sizeof_int
21636 _ACEOF
21637
21638
21639 { echo "$as_me:$LINENO: checking for long" >&5
21640 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21641 if test "${ac_cv_type_long+set}" = set; then
21642 echo $ECHO_N "(cached) $ECHO_C" >&6
21643 else
21644 cat >conftest.$ac_ext <<_ACEOF
21645 /* confdefs.h. */
21646 _ACEOF
21647 cat confdefs.h >>conftest.$ac_ext
21648 cat >>conftest.$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650 $ac_includes_default
21651 typedef long ac__type_new_;
21652 int
21653 main ()
21654 {
21655 if ((ac__type_new_ *) 0)
21656 return 0;
21657 if (sizeof (ac__type_new_))
21658 return 0;
21659 ;
21660 return 0;
21661 }
21662 _ACEOF
21663 rm -f conftest.$ac_objext
21664 if { (ac_try="$ac_compile"
21665 case "(($ac_try" in
21666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21667 *) ac_try_echo=$ac_try;;
21668 esac
21669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21670 (eval "$ac_compile") 2>conftest.er1
21671 ac_status=$?
21672 grep -v '^ *+' conftest.er1 >conftest.err
21673 rm -f conftest.er1
21674 cat conftest.err >&5
21675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676 (exit $ac_status); } && {
21677 test -z "$ac_c_werror_flag" ||
21678 test ! -s conftest.err
21679 } && test -s conftest.$ac_objext; then
21680 ac_cv_type_long=yes
21681 else
21682 echo "$as_me: failed program was:" >&5
21683 sed 's/^/| /' conftest.$ac_ext >&5
21684
21685 ac_cv_type_long=no
21686 fi
21687
21688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21689 fi
21690 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21691 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21692
21693 # The cast to long int works around a bug in the HP C Compiler
21694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21696 # This bug is HP SR number 8606223364.
21697 { echo "$as_me:$LINENO: checking size of long" >&5
21698 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21699 if test "${ac_cv_sizeof_long+set}" = set; then
21700 echo $ECHO_N "(cached) $ECHO_C" >&6
21701 else
21702 if test "$cross_compiling" = yes; then
21703 # Depending upon the size, compute the lo and hi bounds.
21704 cat >conftest.$ac_ext <<_ACEOF
21705 /* confdefs.h. */
21706 _ACEOF
21707 cat confdefs.h >>conftest.$ac_ext
21708 cat >>conftest.$ac_ext <<_ACEOF
21709 /* end confdefs.h. */
21710 $ac_includes_default
21711 typedef long ac__type_sizeof_;
21712 int
21713 main ()
21714 {
21715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21716 test_array [0] = 0
21717
21718 ;
21719 return 0;
21720 }
21721 _ACEOF
21722 rm -f conftest.$ac_objext
21723 if { (ac_try="$ac_compile"
21724 case "(($ac_try" in
21725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21726 *) ac_try_echo=$ac_try;;
21727 esac
21728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21729 (eval "$ac_compile") 2>conftest.er1
21730 ac_status=$?
21731 grep -v '^ *+' conftest.er1 >conftest.err
21732 rm -f conftest.er1
21733 cat conftest.err >&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } && {
21736 test -z "$ac_c_werror_flag" ||
21737 test ! -s conftest.err
21738 } && test -s conftest.$ac_objext; then
21739 ac_lo=0 ac_mid=0
21740 while :; do
21741 cat >conftest.$ac_ext <<_ACEOF
21742 /* confdefs.h. */
21743 _ACEOF
21744 cat confdefs.h >>conftest.$ac_ext
21745 cat >>conftest.$ac_ext <<_ACEOF
21746 /* end confdefs.h. */
21747 $ac_includes_default
21748 typedef long ac__type_sizeof_;
21749 int
21750 main ()
21751 {
21752 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21753 test_array [0] = 0
21754
21755 ;
21756 return 0;
21757 }
21758 _ACEOF
21759 rm -f conftest.$ac_objext
21760 if { (ac_try="$ac_compile"
21761 case "(($ac_try" in
21762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21763 *) ac_try_echo=$ac_try;;
21764 esac
21765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21766 (eval "$ac_compile") 2>conftest.er1
21767 ac_status=$?
21768 grep -v '^ *+' conftest.er1 >conftest.err
21769 rm -f conftest.er1
21770 cat conftest.err >&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } && {
21773 test -z "$ac_c_werror_flag" ||
21774 test ! -s conftest.err
21775 } && test -s conftest.$ac_objext; then
21776 ac_hi=$ac_mid; break
21777 else
21778 echo "$as_me: failed program was:" >&5
21779 sed 's/^/| /' conftest.$ac_ext >&5
21780
21781 ac_lo=`expr $ac_mid + 1`
21782 if test $ac_lo -le $ac_mid; then
21783 ac_lo= ac_hi=
21784 break
21785 fi
21786 ac_mid=`expr 2 '*' $ac_mid + 1`
21787 fi
21788
21789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21790 done
21791 else
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.$ac_ext >&5
21794
21795 cat >conftest.$ac_ext <<_ACEOF
21796 /* confdefs.h. */
21797 _ACEOF
21798 cat confdefs.h >>conftest.$ac_ext
21799 cat >>conftest.$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21801 $ac_includes_default
21802 typedef long ac__type_sizeof_;
21803 int
21804 main ()
21805 {
21806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21807 test_array [0] = 0
21808
21809 ;
21810 return 0;
21811 }
21812 _ACEOF
21813 rm -f conftest.$ac_objext
21814 if { (ac_try="$ac_compile"
21815 case "(($ac_try" in
21816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21817 *) ac_try_echo=$ac_try;;
21818 esac
21819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21820 (eval "$ac_compile") 2>conftest.er1
21821 ac_status=$?
21822 grep -v '^ *+' conftest.er1 >conftest.err
21823 rm -f conftest.er1
21824 cat conftest.err >&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); } && {
21827 test -z "$ac_c_werror_flag" ||
21828 test ! -s conftest.err
21829 } && test -s conftest.$ac_objext; then
21830 ac_hi=-1 ac_mid=-1
21831 while :; do
21832 cat >conftest.$ac_ext <<_ACEOF
21833 /* confdefs.h. */
21834 _ACEOF
21835 cat confdefs.h >>conftest.$ac_ext
21836 cat >>conftest.$ac_ext <<_ACEOF
21837 /* end confdefs.h. */
21838 $ac_includes_default
21839 typedef long ac__type_sizeof_;
21840 int
21841 main ()
21842 {
21843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21844 test_array [0] = 0
21845
21846 ;
21847 return 0;
21848 }
21849 _ACEOF
21850 rm -f conftest.$ac_objext
21851 if { (ac_try="$ac_compile"
21852 case "(($ac_try" in
21853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21854 *) ac_try_echo=$ac_try;;
21855 esac
21856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21857 (eval "$ac_compile") 2>conftest.er1
21858 ac_status=$?
21859 grep -v '^ *+' conftest.er1 >conftest.err
21860 rm -f conftest.er1
21861 cat conftest.err >&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } && {
21864 test -z "$ac_c_werror_flag" ||
21865 test ! -s conftest.err
21866 } && test -s conftest.$ac_objext; then
21867 ac_lo=$ac_mid; break
21868 else
21869 echo "$as_me: failed program was:" >&5
21870 sed 's/^/| /' conftest.$ac_ext >&5
21871
21872 ac_hi=`expr '(' $ac_mid ')' - 1`
21873 if test $ac_mid -le $ac_hi; then
21874 ac_lo= ac_hi=
21875 break
21876 fi
21877 ac_mid=`expr 2 '*' $ac_mid`
21878 fi
21879
21880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21881 done
21882 else
21883 echo "$as_me: failed program was:" >&5
21884 sed 's/^/| /' conftest.$ac_ext >&5
21885
21886 ac_lo= ac_hi=
21887 fi
21888
21889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21890 fi
21891
21892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21893 # Binary search between lo and hi bounds.
21894 while test "x$ac_lo" != "x$ac_hi"; do
21895 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21896 cat >conftest.$ac_ext <<_ACEOF
21897 /* confdefs.h. */
21898 _ACEOF
21899 cat confdefs.h >>conftest.$ac_ext
21900 cat >>conftest.$ac_ext <<_ACEOF
21901 /* end confdefs.h. */
21902 $ac_includes_default
21903 typedef long ac__type_sizeof_;
21904 int
21905 main ()
21906 {
21907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21908 test_array [0] = 0
21909
21910 ;
21911 return 0;
21912 }
21913 _ACEOF
21914 rm -f conftest.$ac_objext
21915 if { (ac_try="$ac_compile"
21916 case "(($ac_try" in
21917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21918 *) ac_try_echo=$ac_try;;
21919 esac
21920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921 (eval "$ac_compile") 2>conftest.er1
21922 ac_status=$?
21923 grep -v '^ *+' conftest.er1 >conftest.err
21924 rm -f conftest.er1
21925 cat conftest.err >&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); } && {
21928 test -z "$ac_c_werror_flag" ||
21929 test ! -s conftest.err
21930 } && test -s conftest.$ac_objext; then
21931 ac_hi=$ac_mid
21932 else
21933 echo "$as_me: failed program was:" >&5
21934 sed 's/^/| /' conftest.$ac_ext >&5
21935
21936 ac_lo=`expr '(' $ac_mid ')' + 1`
21937 fi
21938
21939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21940 done
21941 case $ac_lo in
21942 ?*) ac_cv_sizeof_long=$ac_lo;;
21943 '') if test "$ac_cv_type_long" = yes; then
21944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21945 See \`config.log' for more details." >&5
21946 echo "$as_me: error: cannot compute sizeof (long)
21947 See \`config.log' for more details." >&2;}
21948 { (exit 77); exit 77; }; }
21949 else
21950 ac_cv_sizeof_long=0
21951 fi ;;
21952 esac
21953 else
21954 cat >conftest.$ac_ext <<_ACEOF
21955 /* confdefs.h. */
21956 _ACEOF
21957 cat confdefs.h >>conftest.$ac_ext
21958 cat >>conftest.$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960 $ac_includes_default
21961 typedef long ac__type_sizeof_;
21962 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21963 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21964 #include <stdio.h>
21965 #include <stdlib.h>
21966 int
21967 main ()
21968 {
21969
21970 FILE *f = fopen ("conftest.val", "w");
21971 if (! f)
21972 return 1;
21973 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21974 {
21975 long int i = longval ();
21976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21977 return 1;
21978 fprintf (f, "%ld\n", i);
21979 }
21980 else
21981 {
21982 unsigned long int i = ulongval ();
21983 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21984 return 1;
21985 fprintf (f, "%lu\n", i);
21986 }
21987 return ferror (f) || fclose (f) != 0;
21988
21989 ;
21990 return 0;
21991 }
21992 _ACEOF
21993 rm -f conftest$ac_exeext
21994 if { (ac_try="$ac_link"
21995 case "(($ac_try" in
21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997 *) ac_try_echo=$ac_try;;
21998 esac
21999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_link") 2>&5
22001 ac_status=$?
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22004 { (case "(($ac_try" in
22005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22006 *) ac_try_echo=$ac_try;;
22007 esac
22008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22009 (eval "$ac_try") 2>&5
22010 ac_status=$?
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); }; }; then
22013 ac_cv_sizeof_long=`cat conftest.val`
22014 else
22015 echo "$as_me: program exited with status $ac_status" >&5
22016 echo "$as_me: failed program was:" >&5
22017 sed 's/^/| /' conftest.$ac_ext >&5
22018
22019 ( exit $ac_status )
22020 if test "$ac_cv_type_long" = yes; then
22021 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22022 See \`config.log' for more details." >&5
22023 echo "$as_me: error: cannot compute sizeof (long)
22024 See \`config.log' for more details." >&2;}
22025 { (exit 77); exit 77; }; }
22026 else
22027 ac_cv_sizeof_long=0
22028 fi
22029 fi
22030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22031 fi
22032 rm -f conftest.val
22033 fi
22034 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22035 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22036
22037
22038
22039 cat >>confdefs.h <<_ACEOF
22040 #define SIZEOF_LONG $ac_cv_sizeof_long
22041 _ACEOF
22042
22043
22044 { echo "$as_me:$LINENO: checking for size_t" >&5
22045 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22046 if test "${ac_cv_type_size_t+set}" = set; then
22047 echo $ECHO_N "(cached) $ECHO_C" >&6
22048 else
22049 cat >conftest.$ac_ext <<_ACEOF
22050 /* confdefs.h. */
22051 _ACEOF
22052 cat confdefs.h >>conftest.$ac_ext
22053 cat >>conftest.$ac_ext <<_ACEOF
22054 /* end confdefs.h. */
22055 $ac_includes_default
22056 typedef size_t ac__type_new_;
22057 int
22058 main ()
22059 {
22060 if ((ac__type_new_ *) 0)
22061 return 0;
22062 if (sizeof (ac__type_new_))
22063 return 0;
22064 ;
22065 return 0;
22066 }
22067 _ACEOF
22068 rm -f conftest.$ac_objext
22069 if { (ac_try="$ac_compile"
22070 case "(($ac_try" in
22071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22072 *) ac_try_echo=$ac_try;;
22073 esac
22074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22075 (eval "$ac_compile") 2>conftest.er1
22076 ac_status=$?
22077 grep -v '^ *+' conftest.er1 >conftest.err
22078 rm -f conftest.er1
22079 cat conftest.err >&5
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); } && {
22082 test -z "$ac_c_werror_flag" ||
22083 test ! -s conftest.err
22084 } && test -s conftest.$ac_objext; then
22085 ac_cv_type_size_t=yes
22086 else
22087 echo "$as_me: failed program was:" >&5
22088 sed 's/^/| /' conftest.$ac_ext >&5
22089
22090 ac_cv_type_size_t=no
22091 fi
22092
22093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22094 fi
22095 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22096 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22097
22098 # The cast to long int works around a bug in the HP C Compiler
22099 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22100 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22101 # This bug is HP SR number 8606223364.
22102 { echo "$as_me:$LINENO: checking size of size_t" >&5
22103 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22104 if test "${ac_cv_sizeof_size_t+set}" = set; then
22105 echo $ECHO_N "(cached) $ECHO_C" >&6
22106 else
22107 if test "$cross_compiling" = yes; then
22108 # Depending upon the size, compute the lo and hi bounds.
22109 cat >conftest.$ac_ext <<_ACEOF
22110 /* confdefs.h. */
22111 _ACEOF
22112 cat confdefs.h >>conftest.$ac_ext
22113 cat >>conftest.$ac_ext <<_ACEOF
22114 /* end confdefs.h. */
22115 $ac_includes_default
22116 typedef size_t ac__type_sizeof_;
22117 int
22118 main ()
22119 {
22120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22121 test_array [0] = 0
22122
22123 ;
22124 return 0;
22125 }
22126 _ACEOF
22127 rm -f conftest.$ac_objext
22128 if { (ac_try="$ac_compile"
22129 case "(($ac_try" in
22130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22131 *) ac_try_echo=$ac_try;;
22132 esac
22133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22134 (eval "$ac_compile") 2>conftest.er1
22135 ac_status=$?
22136 grep -v '^ *+' conftest.er1 >conftest.err
22137 rm -f conftest.er1
22138 cat conftest.err >&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } && {
22141 test -z "$ac_c_werror_flag" ||
22142 test ! -s conftest.err
22143 } && test -s conftest.$ac_objext; then
22144 ac_lo=0 ac_mid=0
22145 while :; do
22146 cat >conftest.$ac_ext <<_ACEOF
22147 /* confdefs.h. */
22148 _ACEOF
22149 cat confdefs.h >>conftest.$ac_ext
22150 cat >>conftest.$ac_ext <<_ACEOF
22151 /* end confdefs.h. */
22152 $ac_includes_default
22153 typedef size_t ac__type_sizeof_;
22154 int
22155 main ()
22156 {
22157 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22158 test_array [0] = 0
22159
22160 ;
22161 return 0;
22162 }
22163 _ACEOF
22164 rm -f conftest.$ac_objext
22165 if { (ac_try="$ac_compile"
22166 case "(($ac_try" in
22167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22168 *) ac_try_echo=$ac_try;;
22169 esac
22170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22171 (eval "$ac_compile") 2>conftest.er1
22172 ac_status=$?
22173 grep -v '^ *+' conftest.er1 >conftest.err
22174 rm -f conftest.er1
22175 cat conftest.err >&5
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); } && {
22178 test -z "$ac_c_werror_flag" ||
22179 test ! -s conftest.err
22180 } && test -s conftest.$ac_objext; then
22181 ac_hi=$ac_mid; break
22182 else
22183 echo "$as_me: failed program was:" >&5
22184 sed 's/^/| /' conftest.$ac_ext >&5
22185
22186 ac_lo=`expr $ac_mid + 1`
22187 if test $ac_lo -le $ac_mid; then
22188 ac_lo= ac_hi=
22189 break
22190 fi
22191 ac_mid=`expr 2 '*' $ac_mid + 1`
22192 fi
22193
22194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22195 done
22196 else
22197 echo "$as_me: failed program was:" >&5
22198 sed 's/^/| /' conftest.$ac_ext >&5
22199
22200 cat >conftest.$ac_ext <<_ACEOF
22201 /* confdefs.h. */
22202 _ACEOF
22203 cat confdefs.h >>conftest.$ac_ext
22204 cat >>conftest.$ac_ext <<_ACEOF
22205 /* end confdefs.h. */
22206 $ac_includes_default
22207 typedef size_t ac__type_sizeof_;
22208 int
22209 main ()
22210 {
22211 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22212 test_array [0] = 0
22213
22214 ;
22215 return 0;
22216 }
22217 _ACEOF
22218 rm -f conftest.$ac_objext
22219 if { (ac_try="$ac_compile"
22220 case "(($ac_try" in
22221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22222 *) ac_try_echo=$ac_try;;
22223 esac
22224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22225 (eval "$ac_compile") 2>conftest.er1
22226 ac_status=$?
22227 grep -v '^ *+' conftest.er1 >conftest.err
22228 rm -f conftest.er1
22229 cat conftest.err >&5
22230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22231 (exit $ac_status); } && {
22232 test -z "$ac_c_werror_flag" ||
22233 test ! -s conftest.err
22234 } && test -s conftest.$ac_objext; then
22235 ac_hi=-1 ac_mid=-1
22236 while :; do
22237 cat >conftest.$ac_ext <<_ACEOF
22238 /* confdefs.h. */
22239 _ACEOF
22240 cat confdefs.h >>conftest.$ac_ext
22241 cat >>conftest.$ac_ext <<_ACEOF
22242 /* end confdefs.h. */
22243 $ac_includes_default
22244 typedef size_t ac__type_sizeof_;
22245 int
22246 main ()
22247 {
22248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22249 test_array [0] = 0
22250
22251 ;
22252 return 0;
22253 }
22254 _ACEOF
22255 rm -f conftest.$ac_objext
22256 if { (ac_try="$ac_compile"
22257 case "(($ac_try" in
22258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22259 *) ac_try_echo=$ac_try;;
22260 esac
22261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22262 (eval "$ac_compile") 2>conftest.er1
22263 ac_status=$?
22264 grep -v '^ *+' conftest.er1 >conftest.err
22265 rm -f conftest.er1
22266 cat conftest.err >&5
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 (exit $ac_status); } && {
22269 test -z "$ac_c_werror_flag" ||
22270 test ! -s conftest.err
22271 } && test -s conftest.$ac_objext; then
22272 ac_lo=$ac_mid; break
22273 else
22274 echo "$as_me: failed program was:" >&5
22275 sed 's/^/| /' conftest.$ac_ext >&5
22276
22277 ac_hi=`expr '(' $ac_mid ')' - 1`
22278 if test $ac_mid -le $ac_hi; then
22279 ac_lo= ac_hi=
22280 break
22281 fi
22282 ac_mid=`expr 2 '*' $ac_mid`
22283 fi
22284
22285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22286 done
22287 else
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.$ac_ext >&5
22290
22291 ac_lo= ac_hi=
22292 fi
22293
22294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22295 fi
22296
22297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22298 # Binary search between lo and hi bounds.
22299 while test "x$ac_lo" != "x$ac_hi"; do
22300 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22301 cat >conftest.$ac_ext <<_ACEOF
22302 /* confdefs.h. */
22303 _ACEOF
22304 cat confdefs.h >>conftest.$ac_ext
22305 cat >>conftest.$ac_ext <<_ACEOF
22306 /* end confdefs.h. */
22307 $ac_includes_default
22308 typedef size_t ac__type_sizeof_;
22309 int
22310 main ()
22311 {
22312 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22313 test_array [0] = 0
22314
22315 ;
22316 return 0;
22317 }
22318 _ACEOF
22319 rm -f conftest.$ac_objext
22320 if { (ac_try="$ac_compile"
22321 case "(($ac_try" in
22322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22323 *) ac_try_echo=$ac_try;;
22324 esac
22325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22326 (eval "$ac_compile") 2>conftest.er1
22327 ac_status=$?
22328 grep -v '^ *+' conftest.er1 >conftest.err
22329 rm -f conftest.er1
22330 cat conftest.err >&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); } && {
22333 test -z "$ac_c_werror_flag" ||
22334 test ! -s conftest.err
22335 } && test -s conftest.$ac_objext; then
22336 ac_hi=$ac_mid
22337 else
22338 echo "$as_me: failed program was:" >&5
22339 sed 's/^/| /' conftest.$ac_ext >&5
22340
22341 ac_lo=`expr '(' $ac_mid ')' + 1`
22342 fi
22343
22344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22345 done
22346 case $ac_lo in
22347 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22348 '') if test "$ac_cv_type_size_t" = yes; then
22349 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22350 See \`config.log' for more details." >&5
22351 echo "$as_me: error: cannot compute sizeof (size_t)
22352 See \`config.log' for more details." >&2;}
22353 { (exit 77); exit 77; }; }
22354 else
22355 ac_cv_sizeof_size_t=0
22356 fi ;;
22357 esac
22358 else
22359 cat >conftest.$ac_ext <<_ACEOF
22360 /* confdefs.h. */
22361 _ACEOF
22362 cat confdefs.h >>conftest.$ac_ext
22363 cat >>conftest.$ac_ext <<_ACEOF
22364 /* end confdefs.h. */
22365 $ac_includes_default
22366 typedef size_t ac__type_sizeof_;
22367 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22368 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22369 #include <stdio.h>
22370 #include <stdlib.h>
22371 int
22372 main ()
22373 {
22374
22375 FILE *f = fopen ("conftest.val", "w");
22376 if (! f)
22377 return 1;
22378 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22379 {
22380 long int i = longval ();
22381 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22382 return 1;
22383 fprintf (f, "%ld\n", i);
22384 }
22385 else
22386 {
22387 unsigned long int i = ulongval ();
22388 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22389 return 1;
22390 fprintf (f, "%lu\n", i);
22391 }
22392 return ferror (f) || fclose (f) != 0;
22393
22394 ;
22395 return 0;
22396 }
22397 _ACEOF
22398 rm -f conftest$ac_exeext
22399 if { (ac_try="$ac_link"
22400 case "(($ac_try" in
22401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22402 *) ac_try_echo=$ac_try;;
22403 esac
22404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22405 (eval "$ac_link") 2>&5
22406 ac_status=$?
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22409 { (case "(($ac_try" in
22410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22411 *) ac_try_echo=$ac_try;;
22412 esac
22413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22414 (eval "$ac_try") 2>&5
22415 ac_status=$?
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); }; }; then
22418 ac_cv_sizeof_size_t=`cat conftest.val`
22419 else
22420 echo "$as_me: program exited with status $ac_status" >&5
22421 echo "$as_me: failed program was:" >&5
22422 sed 's/^/| /' conftest.$ac_ext >&5
22423
22424 ( exit $ac_status )
22425 if test "$ac_cv_type_size_t" = yes; then
22426 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22427 See \`config.log' for more details." >&5
22428 echo "$as_me: error: cannot compute sizeof (size_t)
22429 See \`config.log' for more details." >&2;}
22430 { (exit 77); exit 77; }; }
22431 else
22432 ac_cv_sizeof_size_t=0
22433 fi
22434 fi
22435 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22436 fi
22437 rm -f conftest.val
22438 fi
22439 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22440 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22441
22442
22443
22444 cat >>confdefs.h <<_ACEOF
22445 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22446 _ACEOF
22447
22448
22449
22450 case "${host}" in
22451 arm-*-linux* )
22452 { echo "$as_me:$LINENO: checking for long long" >&5
22453 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22454 if test "${ac_cv_type_long_long+set}" = set; then
22455 echo $ECHO_N "(cached) $ECHO_C" >&6
22456 else
22457 cat >conftest.$ac_ext <<_ACEOF
22458 /* confdefs.h. */
22459 _ACEOF
22460 cat confdefs.h >>conftest.$ac_ext
22461 cat >>conftest.$ac_ext <<_ACEOF
22462 /* end confdefs.h. */
22463 $ac_includes_default
22464 typedef long long ac__type_new_;
22465 int
22466 main ()
22467 {
22468 if ((ac__type_new_ *) 0)
22469 return 0;
22470 if (sizeof (ac__type_new_))
22471 return 0;
22472 ;
22473 return 0;
22474 }
22475 _ACEOF
22476 rm -f conftest.$ac_objext
22477 if { (ac_try="$ac_compile"
22478 case "(($ac_try" in
22479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22480 *) ac_try_echo=$ac_try;;
22481 esac
22482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22483 (eval "$ac_compile") 2>conftest.er1
22484 ac_status=$?
22485 grep -v '^ *+' conftest.er1 >conftest.err
22486 rm -f conftest.er1
22487 cat conftest.err >&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); } && {
22490 test -z "$ac_c_werror_flag" ||
22491 test ! -s conftest.err
22492 } && test -s conftest.$ac_objext; then
22493 ac_cv_type_long_long=yes
22494 else
22495 echo "$as_me: failed program was:" >&5
22496 sed 's/^/| /' conftest.$ac_ext >&5
22497
22498 ac_cv_type_long_long=no
22499 fi
22500
22501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22502 fi
22503 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22504 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22505
22506 # The cast to long int works around a bug in the HP C Compiler
22507 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22508 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22509 # This bug is HP SR number 8606223364.
22510 { echo "$as_me:$LINENO: checking size of long long" >&5
22511 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22512 if test "${ac_cv_sizeof_long_long+set}" = set; then
22513 echo $ECHO_N "(cached) $ECHO_C" >&6
22514 else
22515 if test "$cross_compiling" = yes; then
22516 # Depending upon the size, compute the lo and hi bounds.
22517 cat >conftest.$ac_ext <<_ACEOF
22518 /* confdefs.h. */
22519 _ACEOF
22520 cat confdefs.h >>conftest.$ac_ext
22521 cat >>conftest.$ac_ext <<_ACEOF
22522 /* end confdefs.h. */
22523 $ac_includes_default
22524 typedef long long ac__type_sizeof_;
22525 int
22526 main ()
22527 {
22528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22529 test_array [0] = 0
22530
22531 ;
22532 return 0;
22533 }
22534 _ACEOF
22535 rm -f conftest.$ac_objext
22536 if { (ac_try="$ac_compile"
22537 case "(($ac_try" in
22538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22539 *) ac_try_echo=$ac_try;;
22540 esac
22541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22542 (eval "$ac_compile") 2>conftest.er1
22543 ac_status=$?
22544 grep -v '^ *+' conftest.er1 >conftest.err
22545 rm -f conftest.er1
22546 cat conftest.err >&5
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); } && {
22549 test -z "$ac_c_werror_flag" ||
22550 test ! -s conftest.err
22551 } && test -s conftest.$ac_objext; then
22552 ac_lo=0 ac_mid=0
22553 while :; do
22554 cat >conftest.$ac_ext <<_ACEOF
22555 /* confdefs.h. */
22556 _ACEOF
22557 cat confdefs.h >>conftest.$ac_ext
22558 cat >>conftest.$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22560 $ac_includes_default
22561 typedef long long ac__type_sizeof_;
22562 int
22563 main ()
22564 {
22565 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22566 test_array [0] = 0
22567
22568 ;
22569 return 0;
22570 }
22571 _ACEOF
22572 rm -f conftest.$ac_objext
22573 if { (ac_try="$ac_compile"
22574 case "(($ac_try" in
22575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22576 *) ac_try_echo=$ac_try;;
22577 esac
22578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22579 (eval "$ac_compile") 2>conftest.er1
22580 ac_status=$?
22581 grep -v '^ *+' conftest.er1 >conftest.err
22582 rm -f conftest.er1
22583 cat conftest.err >&5
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); } && {
22586 test -z "$ac_c_werror_flag" ||
22587 test ! -s conftest.err
22588 } && test -s conftest.$ac_objext; then
22589 ac_hi=$ac_mid; break
22590 else
22591 echo "$as_me: failed program was:" >&5
22592 sed 's/^/| /' conftest.$ac_ext >&5
22593
22594 ac_lo=`expr $ac_mid + 1`
22595 if test $ac_lo -le $ac_mid; then
22596 ac_lo= ac_hi=
22597 break
22598 fi
22599 ac_mid=`expr 2 '*' $ac_mid + 1`
22600 fi
22601
22602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22603 done
22604 else
22605 echo "$as_me: failed program was:" >&5
22606 sed 's/^/| /' conftest.$ac_ext >&5
22607
22608 cat >conftest.$ac_ext <<_ACEOF
22609 /* confdefs.h. */
22610 _ACEOF
22611 cat confdefs.h >>conftest.$ac_ext
22612 cat >>conftest.$ac_ext <<_ACEOF
22613 /* end confdefs.h. */
22614 $ac_includes_default
22615 typedef long long ac__type_sizeof_;
22616 int
22617 main ()
22618 {
22619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22620 test_array [0] = 0
22621
22622 ;
22623 return 0;
22624 }
22625 _ACEOF
22626 rm -f conftest.$ac_objext
22627 if { (ac_try="$ac_compile"
22628 case "(($ac_try" in
22629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22630 *) ac_try_echo=$ac_try;;
22631 esac
22632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22633 (eval "$ac_compile") 2>conftest.er1
22634 ac_status=$?
22635 grep -v '^ *+' conftest.er1 >conftest.err
22636 rm -f conftest.er1
22637 cat conftest.err >&5
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); } && {
22640 test -z "$ac_c_werror_flag" ||
22641 test ! -s conftest.err
22642 } && test -s conftest.$ac_objext; then
22643 ac_hi=-1 ac_mid=-1
22644 while :; do
22645 cat >conftest.$ac_ext <<_ACEOF
22646 /* confdefs.h. */
22647 _ACEOF
22648 cat confdefs.h >>conftest.$ac_ext
22649 cat >>conftest.$ac_ext <<_ACEOF
22650 /* end confdefs.h. */
22651 $ac_includes_default
22652 typedef long long ac__type_sizeof_;
22653 int
22654 main ()
22655 {
22656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22657 test_array [0] = 0
22658
22659 ;
22660 return 0;
22661 }
22662 _ACEOF
22663 rm -f conftest.$ac_objext
22664 if { (ac_try="$ac_compile"
22665 case "(($ac_try" in
22666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22667 *) ac_try_echo=$ac_try;;
22668 esac
22669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22670 (eval "$ac_compile") 2>conftest.er1
22671 ac_status=$?
22672 grep -v '^ *+' conftest.er1 >conftest.err
22673 rm -f conftest.er1
22674 cat conftest.err >&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); } && {
22677 test -z "$ac_c_werror_flag" ||
22678 test ! -s conftest.err
22679 } && test -s conftest.$ac_objext; then
22680 ac_lo=$ac_mid; break
22681 else
22682 echo "$as_me: failed program was:" >&5
22683 sed 's/^/| /' conftest.$ac_ext >&5
22684
22685 ac_hi=`expr '(' $ac_mid ')' - 1`
22686 if test $ac_mid -le $ac_hi; then
22687 ac_lo= ac_hi=
22688 break
22689 fi
22690 ac_mid=`expr 2 '*' $ac_mid`
22691 fi
22692
22693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22694 done
22695 else
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.$ac_ext >&5
22698
22699 ac_lo= ac_hi=
22700 fi
22701
22702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22703 fi
22704
22705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22706 # Binary search between lo and hi bounds.
22707 while test "x$ac_lo" != "x$ac_hi"; do
22708 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22709 cat >conftest.$ac_ext <<_ACEOF
22710 /* confdefs.h. */
22711 _ACEOF
22712 cat confdefs.h >>conftest.$ac_ext
22713 cat >>conftest.$ac_ext <<_ACEOF
22714 /* end confdefs.h. */
22715 $ac_includes_default
22716 typedef long long ac__type_sizeof_;
22717 int
22718 main ()
22719 {
22720 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22721 test_array [0] = 0
22722
22723 ;
22724 return 0;
22725 }
22726 _ACEOF
22727 rm -f conftest.$ac_objext
22728 if { (ac_try="$ac_compile"
22729 case "(($ac_try" in
22730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22731 *) ac_try_echo=$ac_try;;
22732 esac
22733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22734 (eval "$ac_compile") 2>conftest.er1
22735 ac_status=$?
22736 grep -v '^ *+' conftest.er1 >conftest.err
22737 rm -f conftest.er1
22738 cat conftest.err >&5
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); } && {
22741 test -z "$ac_c_werror_flag" ||
22742 test ! -s conftest.err
22743 } && test -s conftest.$ac_objext; then
22744 ac_hi=$ac_mid
22745 else
22746 echo "$as_me: failed program was:" >&5
22747 sed 's/^/| /' conftest.$ac_ext >&5
22748
22749 ac_lo=`expr '(' $ac_mid ')' + 1`
22750 fi
22751
22752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22753 done
22754 case $ac_lo in
22755 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22756 '') if test "$ac_cv_type_long_long" = yes; then
22757 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22758 See \`config.log' for more details." >&5
22759 echo "$as_me: error: cannot compute sizeof (long long)
22760 See \`config.log' for more details." >&2;}
22761 { (exit 77); exit 77; }; }
22762 else
22763 ac_cv_sizeof_long_long=0
22764 fi ;;
22765 esac
22766 else
22767 cat >conftest.$ac_ext <<_ACEOF
22768 /* confdefs.h. */
22769 _ACEOF
22770 cat confdefs.h >>conftest.$ac_ext
22771 cat >>conftest.$ac_ext <<_ACEOF
22772 /* end confdefs.h. */
22773 $ac_includes_default
22774 typedef long long ac__type_sizeof_;
22775 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22776 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22777 #include <stdio.h>
22778 #include <stdlib.h>
22779 int
22780 main ()
22781 {
22782
22783 FILE *f = fopen ("conftest.val", "w");
22784 if (! f)
22785 return 1;
22786 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22787 {
22788 long int i = longval ();
22789 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22790 return 1;
22791 fprintf (f, "%ld\n", i);
22792 }
22793 else
22794 {
22795 unsigned long int i = ulongval ();
22796 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22797 return 1;
22798 fprintf (f, "%lu\n", i);
22799 }
22800 return ferror (f) || fclose (f) != 0;
22801
22802 ;
22803 return 0;
22804 }
22805 _ACEOF
22806 rm -f conftest$ac_exeext
22807 if { (ac_try="$ac_link"
22808 case "(($ac_try" in
22809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22810 *) ac_try_echo=$ac_try;;
22811 esac
22812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22813 (eval "$ac_link") 2>&5
22814 ac_status=$?
22815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22817 { (case "(($ac_try" in
22818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22819 *) ac_try_echo=$ac_try;;
22820 esac
22821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22822 (eval "$ac_try") 2>&5
22823 ac_status=$?
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); }; }; then
22826 ac_cv_sizeof_long_long=`cat conftest.val`
22827 else
22828 echo "$as_me: program exited with status $ac_status" >&5
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.$ac_ext >&5
22831
22832 ( exit $ac_status )
22833 if test "$ac_cv_type_long_long" = yes; then
22834 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22835 See \`config.log' for more details." >&5
22836 echo "$as_me: error: cannot compute sizeof (long long)
22837 See \`config.log' for more details." >&2;}
22838 { (exit 77); exit 77; }; }
22839 else
22840 ac_cv_sizeof_long_long=0
22841 fi
22842 fi
22843 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22844 fi
22845 rm -f conftest.val
22846 fi
22847 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22848 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22849
22850
22851
22852 cat >>confdefs.h <<_ACEOF
22853 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22854 _ACEOF
22855
22856
22857 ;;
22858 *-hp-hpux* )
22859 { echo "$as_me:$LINENO: checking for long long" >&5
22860 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22861 if test "${ac_cv_type_long_long+set}" = set; then
22862 echo $ECHO_N "(cached) $ECHO_C" >&6
22863 else
22864 cat >conftest.$ac_ext <<_ACEOF
22865 /* confdefs.h. */
22866 _ACEOF
22867 cat confdefs.h >>conftest.$ac_ext
22868 cat >>conftest.$ac_ext <<_ACEOF
22869 /* end confdefs.h. */
22870 $ac_includes_default
22871 typedef long long ac__type_new_;
22872 int
22873 main ()
22874 {
22875 if ((ac__type_new_ *) 0)
22876 return 0;
22877 if (sizeof (ac__type_new_))
22878 return 0;
22879 ;
22880 return 0;
22881 }
22882 _ACEOF
22883 rm -f conftest.$ac_objext
22884 if { (ac_try="$ac_compile"
22885 case "(($ac_try" in
22886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22887 *) ac_try_echo=$ac_try;;
22888 esac
22889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22890 (eval "$ac_compile") 2>conftest.er1
22891 ac_status=$?
22892 grep -v '^ *+' conftest.er1 >conftest.err
22893 rm -f conftest.er1
22894 cat conftest.err >&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); } && {
22897 test -z "$ac_c_werror_flag" ||
22898 test ! -s conftest.err
22899 } && test -s conftest.$ac_objext; then
22900 ac_cv_type_long_long=yes
22901 else
22902 echo "$as_me: failed program was:" >&5
22903 sed 's/^/| /' conftest.$ac_ext >&5
22904
22905 ac_cv_type_long_long=no
22906 fi
22907
22908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22909 fi
22910 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22911 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22912
22913 # The cast to long int works around a bug in the HP C Compiler
22914 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22915 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22916 # This bug is HP SR number 8606223364.
22917 { echo "$as_me:$LINENO: checking size of long long" >&5
22918 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22919 if test "${ac_cv_sizeof_long_long+set}" = set; then
22920 echo $ECHO_N "(cached) $ECHO_C" >&6
22921 else
22922 if test "$cross_compiling" = yes; then
22923 # Depending upon the size, compute the lo and hi bounds.
22924 cat >conftest.$ac_ext <<_ACEOF
22925 /* confdefs.h. */
22926 _ACEOF
22927 cat confdefs.h >>conftest.$ac_ext
22928 cat >>conftest.$ac_ext <<_ACEOF
22929 /* end confdefs.h. */
22930 $ac_includes_default
22931 typedef long long ac__type_sizeof_;
22932 int
22933 main ()
22934 {
22935 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22936 test_array [0] = 0
22937
22938 ;
22939 return 0;
22940 }
22941 _ACEOF
22942 rm -f conftest.$ac_objext
22943 if { (ac_try="$ac_compile"
22944 case "(($ac_try" in
22945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22946 *) ac_try_echo=$ac_try;;
22947 esac
22948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22949 (eval "$ac_compile") 2>conftest.er1
22950 ac_status=$?
22951 grep -v '^ *+' conftest.er1 >conftest.err
22952 rm -f conftest.er1
22953 cat conftest.err >&5
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); } && {
22956 test -z "$ac_c_werror_flag" ||
22957 test ! -s conftest.err
22958 } && test -s conftest.$ac_objext; then
22959 ac_lo=0 ac_mid=0
22960 while :; do
22961 cat >conftest.$ac_ext <<_ACEOF
22962 /* confdefs.h. */
22963 _ACEOF
22964 cat confdefs.h >>conftest.$ac_ext
22965 cat >>conftest.$ac_ext <<_ACEOF
22966 /* end confdefs.h. */
22967 $ac_includes_default
22968 typedef long long ac__type_sizeof_;
22969 int
22970 main ()
22971 {
22972 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22973 test_array [0] = 0
22974
22975 ;
22976 return 0;
22977 }
22978 _ACEOF
22979 rm -f conftest.$ac_objext
22980 if { (ac_try="$ac_compile"
22981 case "(($ac_try" in
22982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22983 *) ac_try_echo=$ac_try;;
22984 esac
22985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22986 (eval "$ac_compile") 2>conftest.er1
22987 ac_status=$?
22988 grep -v '^ *+' conftest.er1 >conftest.err
22989 rm -f conftest.er1
22990 cat conftest.err >&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); } && {
22993 test -z "$ac_c_werror_flag" ||
22994 test ! -s conftest.err
22995 } && test -s conftest.$ac_objext; then
22996 ac_hi=$ac_mid; break
22997 else
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.$ac_ext >&5
23000
23001 ac_lo=`expr $ac_mid + 1`
23002 if test $ac_lo -le $ac_mid; then
23003 ac_lo= ac_hi=
23004 break
23005 fi
23006 ac_mid=`expr 2 '*' $ac_mid + 1`
23007 fi
23008
23009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23010 done
23011 else
23012 echo "$as_me: failed program was:" >&5
23013 sed 's/^/| /' conftest.$ac_ext >&5
23014
23015 cat >conftest.$ac_ext <<_ACEOF
23016 /* confdefs.h. */
23017 _ACEOF
23018 cat confdefs.h >>conftest.$ac_ext
23019 cat >>conftest.$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23021 $ac_includes_default
23022 typedef long long ac__type_sizeof_;
23023 int
23024 main ()
23025 {
23026 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23027 test_array [0] = 0
23028
23029 ;
23030 return 0;
23031 }
23032 _ACEOF
23033 rm -f conftest.$ac_objext
23034 if { (ac_try="$ac_compile"
23035 case "(($ac_try" in
23036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23037 *) ac_try_echo=$ac_try;;
23038 esac
23039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23040 (eval "$ac_compile") 2>conftest.er1
23041 ac_status=$?
23042 grep -v '^ *+' conftest.er1 >conftest.err
23043 rm -f conftest.er1
23044 cat conftest.err >&5
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); } && {
23047 test -z "$ac_c_werror_flag" ||
23048 test ! -s conftest.err
23049 } && test -s conftest.$ac_objext; then
23050 ac_hi=-1 ac_mid=-1
23051 while :; do
23052 cat >conftest.$ac_ext <<_ACEOF
23053 /* confdefs.h. */
23054 _ACEOF
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058 $ac_includes_default
23059 typedef long long ac__type_sizeof_;
23060 int
23061 main ()
23062 {
23063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23064 test_array [0] = 0
23065
23066 ;
23067 return 0;
23068 }
23069 _ACEOF
23070 rm -f conftest.$ac_objext
23071 if { (ac_try="$ac_compile"
23072 case "(($ac_try" in
23073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23074 *) ac_try_echo=$ac_try;;
23075 esac
23076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23077 (eval "$ac_compile") 2>conftest.er1
23078 ac_status=$?
23079 grep -v '^ *+' conftest.er1 >conftest.err
23080 rm -f conftest.er1
23081 cat conftest.err >&5
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); } && {
23084 test -z "$ac_c_werror_flag" ||
23085 test ! -s conftest.err
23086 } && test -s conftest.$ac_objext; then
23087 ac_lo=$ac_mid; break
23088 else
23089 echo "$as_me: failed program was:" >&5
23090 sed 's/^/| /' conftest.$ac_ext >&5
23091
23092 ac_hi=`expr '(' $ac_mid ')' - 1`
23093 if test $ac_mid -le $ac_hi; then
23094 ac_lo= ac_hi=
23095 break
23096 fi
23097 ac_mid=`expr 2 '*' $ac_mid`
23098 fi
23099
23100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23101 done
23102 else
23103 echo "$as_me: failed program was:" >&5
23104 sed 's/^/| /' conftest.$ac_ext >&5
23105
23106 ac_lo= ac_hi=
23107 fi
23108
23109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23110 fi
23111
23112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23113 # Binary search between lo and hi bounds.
23114 while test "x$ac_lo" != "x$ac_hi"; do
23115 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23116 cat >conftest.$ac_ext <<_ACEOF
23117 /* confdefs.h. */
23118 _ACEOF
23119 cat confdefs.h >>conftest.$ac_ext
23120 cat >>conftest.$ac_ext <<_ACEOF
23121 /* end confdefs.h. */
23122 $ac_includes_default
23123 typedef long long ac__type_sizeof_;
23124 int
23125 main ()
23126 {
23127 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23128 test_array [0] = 0
23129
23130 ;
23131 return 0;
23132 }
23133 _ACEOF
23134 rm -f conftest.$ac_objext
23135 if { (ac_try="$ac_compile"
23136 case "(($ac_try" in
23137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23138 *) ac_try_echo=$ac_try;;
23139 esac
23140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23141 (eval "$ac_compile") 2>conftest.er1
23142 ac_status=$?
23143 grep -v '^ *+' conftest.er1 >conftest.err
23144 rm -f conftest.er1
23145 cat conftest.err >&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); } && {
23148 test -z "$ac_c_werror_flag" ||
23149 test ! -s conftest.err
23150 } && test -s conftest.$ac_objext; then
23151 ac_hi=$ac_mid
23152 else
23153 echo "$as_me: failed program was:" >&5
23154 sed 's/^/| /' conftest.$ac_ext >&5
23155
23156 ac_lo=`expr '(' $ac_mid ')' + 1`
23157 fi
23158
23159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23160 done
23161 case $ac_lo in
23162 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23163 '') if test "$ac_cv_type_long_long" = yes; then
23164 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23165 See \`config.log' for more details." >&5
23166 echo "$as_me: error: cannot compute sizeof (long long)
23167 See \`config.log' for more details." >&2;}
23168 { (exit 77); exit 77; }; }
23169 else
23170 ac_cv_sizeof_long_long=0
23171 fi ;;
23172 esac
23173 else
23174 cat >conftest.$ac_ext <<_ACEOF
23175 /* confdefs.h. */
23176 _ACEOF
23177 cat confdefs.h >>conftest.$ac_ext
23178 cat >>conftest.$ac_ext <<_ACEOF
23179 /* end confdefs.h. */
23180 $ac_includes_default
23181 typedef long long ac__type_sizeof_;
23182 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23183 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23184 #include <stdio.h>
23185 #include <stdlib.h>
23186 int
23187 main ()
23188 {
23189
23190 FILE *f = fopen ("conftest.val", "w");
23191 if (! f)
23192 return 1;
23193 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23194 {
23195 long int i = longval ();
23196 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23197 return 1;
23198 fprintf (f, "%ld\n", i);
23199 }
23200 else
23201 {
23202 unsigned long int i = ulongval ();
23203 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23204 return 1;
23205 fprintf (f, "%lu\n", i);
23206 }
23207 return ferror (f) || fclose (f) != 0;
23208
23209 ;
23210 return 0;
23211 }
23212 _ACEOF
23213 rm -f conftest$ac_exeext
23214 if { (ac_try="$ac_link"
23215 case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23218 esac
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_link") 2>&5
23221 ac_status=$?
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23224 { (case "(($ac_try" in
23225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23226 *) ac_try_echo=$ac_try;;
23227 esac
23228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23229 (eval "$ac_try") 2>&5
23230 ac_status=$?
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); }; }; then
23233 ac_cv_sizeof_long_long=`cat conftest.val`
23234 else
23235 echo "$as_me: program exited with status $ac_status" >&5
23236 echo "$as_me: failed program was:" >&5
23237 sed 's/^/| /' conftest.$ac_ext >&5
23238
23239 ( exit $ac_status )
23240 if test "$ac_cv_type_long_long" = yes; then
23241 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23242 See \`config.log' for more details." >&5
23243 echo "$as_me: error: cannot compute sizeof (long long)
23244 See \`config.log' for more details." >&2;}
23245 { (exit 77); exit 77; }; }
23246 else
23247 ac_cv_sizeof_long_long=0
23248 fi
23249 fi
23250 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23251 fi
23252 rm -f conftest.val
23253 fi
23254 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23255 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23256
23257
23258
23259 cat >>confdefs.h <<_ACEOF
23260 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23261 _ACEOF
23262
23263
23264 if test "$ac_cv_sizeof_long_long" != 0; then
23265 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23266 fi
23267 ;;
23268 * )
23269 { echo "$as_me:$LINENO: checking for long long" >&5
23270 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23271 if test "${ac_cv_type_long_long+set}" = set; then
23272 echo $ECHO_N "(cached) $ECHO_C" >&6
23273 else
23274 cat >conftest.$ac_ext <<_ACEOF
23275 /* confdefs.h. */
23276 _ACEOF
23277 cat confdefs.h >>conftest.$ac_ext
23278 cat >>conftest.$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23280 $ac_includes_default
23281 typedef long long ac__type_new_;
23282 int
23283 main ()
23284 {
23285 if ((ac__type_new_ *) 0)
23286 return 0;
23287 if (sizeof (ac__type_new_))
23288 return 0;
23289 ;
23290 return 0;
23291 }
23292 _ACEOF
23293 rm -f conftest.$ac_objext
23294 if { (ac_try="$ac_compile"
23295 case "(($ac_try" in
23296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23297 *) ac_try_echo=$ac_try;;
23298 esac
23299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23300 (eval "$ac_compile") 2>conftest.er1
23301 ac_status=$?
23302 grep -v '^ *+' conftest.er1 >conftest.err
23303 rm -f conftest.er1
23304 cat conftest.err >&5
23305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23306 (exit $ac_status); } && {
23307 test -z "$ac_c_werror_flag" ||
23308 test ! -s conftest.err
23309 } && test -s conftest.$ac_objext; then
23310 ac_cv_type_long_long=yes
23311 else
23312 echo "$as_me: failed program was:" >&5
23313 sed 's/^/| /' conftest.$ac_ext >&5
23314
23315 ac_cv_type_long_long=no
23316 fi
23317
23318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23319 fi
23320 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23321 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23322
23323 # The cast to long int works around a bug in the HP C Compiler
23324 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23325 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23326 # This bug is HP SR number 8606223364.
23327 { echo "$as_me:$LINENO: checking size of long long" >&5
23328 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23329 if test "${ac_cv_sizeof_long_long+set}" = set; then
23330 echo $ECHO_N "(cached) $ECHO_C" >&6
23331 else
23332 if test "$cross_compiling" = yes; then
23333 # Depending upon the size, compute the lo and hi bounds.
23334 cat >conftest.$ac_ext <<_ACEOF
23335 /* confdefs.h. */
23336 _ACEOF
23337 cat confdefs.h >>conftest.$ac_ext
23338 cat >>conftest.$ac_ext <<_ACEOF
23339 /* end confdefs.h. */
23340 $ac_includes_default
23341 typedef long long ac__type_sizeof_;
23342 int
23343 main ()
23344 {
23345 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23346 test_array [0] = 0
23347
23348 ;
23349 return 0;
23350 }
23351 _ACEOF
23352 rm -f conftest.$ac_objext
23353 if { (ac_try="$ac_compile"
23354 case "(($ac_try" in
23355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23356 *) ac_try_echo=$ac_try;;
23357 esac
23358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23359 (eval "$ac_compile") 2>conftest.er1
23360 ac_status=$?
23361 grep -v '^ *+' conftest.er1 >conftest.err
23362 rm -f conftest.er1
23363 cat conftest.err >&5
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); } && {
23366 test -z "$ac_c_werror_flag" ||
23367 test ! -s conftest.err
23368 } && test -s conftest.$ac_objext; then
23369 ac_lo=0 ac_mid=0
23370 while :; do
23371 cat >conftest.$ac_ext <<_ACEOF
23372 /* confdefs.h. */
23373 _ACEOF
23374 cat confdefs.h >>conftest.$ac_ext
23375 cat >>conftest.$ac_ext <<_ACEOF
23376 /* end confdefs.h. */
23377 $ac_includes_default
23378 typedef long long ac__type_sizeof_;
23379 int
23380 main ()
23381 {
23382 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23383 test_array [0] = 0
23384
23385 ;
23386 return 0;
23387 }
23388 _ACEOF
23389 rm -f conftest.$ac_objext
23390 if { (ac_try="$ac_compile"
23391 case "(($ac_try" in
23392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23393 *) ac_try_echo=$ac_try;;
23394 esac
23395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23396 (eval "$ac_compile") 2>conftest.er1
23397 ac_status=$?
23398 grep -v '^ *+' conftest.er1 >conftest.err
23399 rm -f conftest.er1
23400 cat conftest.err >&5
23401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23402 (exit $ac_status); } && {
23403 test -z "$ac_c_werror_flag" ||
23404 test ! -s conftest.err
23405 } && test -s conftest.$ac_objext; then
23406 ac_hi=$ac_mid; break
23407 else
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.$ac_ext >&5
23410
23411 ac_lo=`expr $ac_mid + 1`
23412 if test $ac_lo -le $ac_mid; then
23413 ac_lo= ac_hi=
23414 break
23415 fi
23416 ac_mid=`expr 2 '*' $ac_mid + 1`
23417 fi
23418
23419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23420 done
23421 else
23422 echo "$as_me: failed program was:" >&5
23423 sed 's/^/| /' conftest.$ac_ext >&5
23424
23425 cat >conftest.$ac_ext <<_ACEOF
23426 /* confdefs.h. */
23427 _ACEOF
23428 cat confdefs.h >>conftest.$ac_ext
23429 cat >>conftest.$ac_ext <<_ACEOF
23430 /* end confdefs.h. */
23431 $ac_includes_default
23432 typedef long long ac__type_sizeof_;
23433 int
23434 main ()
23435 {
23436 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23437 test_array [0] = 0
23438
23439 ;
23440 return 0;
23441 }
23442 _ACEOF
23443 rm -f conftest.$ac_objext
23444 if { (ac_try="$ac_compile"
23445 case "(($ac_try" in
23446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23447 *) ac_try_echo=$ac_try;;
23448 esac
23449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23450 (eval "$ac_compile") 2>conftest.er1
23451 ac_status=$?
23452 grep -v '^ *+' conftest.er1 >conftest.err
23453 rm -f conftest.er1
23454 cat conftest.err >&5
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); } && {
23457 test -z "$ac_c_werror_flag" ||
23458 test ! -s conftest.err
23459 } && test -s conftest.$ac_objext; then
23460 ac_hi=-1 ac_mid=-1
23461 while :; do
23462 cat >conftest.$ac_ext <<_ACEOF
23463 /* confdefs.h. */
23464 _ACEOF
23465 cat confdefs.h >>conftest.$ac_ext
23466 cat >>conftest.$ac_ext <<_ACEOF
23467 /* end confdefs.h. */
23468 $ac_includes_default
23469 typedef long long ac__type_sizeof_;
23470 int
23471 main ()
23472 {
23473 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23474 test_array [0] = 0
23475
23476 ;
23477 return 0;
23478 }
23479 _ACEOF
23480 rm -f conftest.$ac_objext
23481 if { (ac_try="$ac_compile"
23482 case "(($ac_try" in
23483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23484 *) ac_try_echo=$ac_try;;
23485 esac
23486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23487 (eval "$ac_compile") 2>conftest.er1
23488 ac_status=$?
23489 grep -v '^ *+' conftest.er1 >conftest.err
23490 rm -f conftest.er1
23491 cat conftest.err >&5
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); } && {
23494 test -z "$ac_c_werror_flag" ||
23495 test ! -s conftest.err
23496 } && test -s conftest.$ac_objext; then
23497 ac_lo=$ac_mid; break
23498 else
23499 echo "$as_me: failed program was:" >&5
23500 sed 's/^/| /' conftest.$ac_ext >&5
23501
23502 ac_hi=`expr '(' $ac_mid ')' - 1`
23503 if test $ac_mid -le $ac_hi; then
23504 ac_lo= ac_hi=
23505 break
23506 fi
23507 ac_mid=`expr 2 '*' $ac_mid`
23508 fi
23509
23510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23511 done
23512 else
23513 echo "$as_me: failed program was:" >&5
23514 sed 's/^/| /' conftest.$ac_ext >&5
23515
23516 ac_lo= ac_hi=
23517 fi
23518
23519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23520 fi
23521
23522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23523 # Binary search between lo and hi bounds.
23524 while test "x$ac_lo" != "x$ac_hi"; do
23525 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23526 cat >conftest.$ac_ext <<_ACEOF
23527 /* confdefs.h. */
23528 _ACEOF
23529 cat confdefs.h >>conftest.$ac_ext
23530 cat >>conftest.$ac_ext <<_ACEOF
23531 /* end confdefs.h. */
23532 $ac_includes_default
23533 typedef long long ac__type_sizeof_;
23534 int
23535 main ()
23536 {
23537 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23538 test_array [0] = 0
23539
23540 ;
23541 return 0;
23542 }
23543 _ACEOF
23544 rm -f conftest.$ac_objext
23545 if { (ac_try="$ac_compile"
23546 case "(($ac_try" in
23547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23548 *) ac_try_echo=$ac_try;;
23549 esac
23550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23551 (eval "$ac_compile") 2>conftest.er1
23552 ac_status=$?
23553 grep -v '^ *+' conftest.er1 >conftest.err
23554 rm -f conftest.er1
23555 cat conftest.err >&5
23556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23557 (exit $ac_status); } && {
23558 test -z "$ac_c_werror_flag" ||
23559 test ! -s conftest.err
23560 } && test -s conftest.$ac_objext; then
23561 ac_hi=$ac_mid
23562 else
23563 echo "$as_me: failed program was:" >&5
23564 sed 's/^/| /' conftest.$ac_ext >&5
23565
23566 ac_lo=`expr '(' $ac_mid ')' + 1`
23567 fi
23568
23569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23570 done
23571 case $ac_lo in
23572 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23573 '') if test "$ac_cv_type_long_long" = yes; then
23574 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23575 See \`config.log' for more details." >&5
23576 echo "$as_me: error: cannot compute sizeof (long long)
23577 See \`config.log' for more details." >&2;}
23578 { (exit 77); exit 77; }; }
23579 else
23580 ac_cv_sizeof_long_long=0
23581 fi ;;
23582 esac
23583 else
23584 cat >conftest.$ac_ext <<_ACEOF
23585 /* confdefs.h. */
23586 _ACEOF
23587 cat confdefs.h >>conftest.$ac_ext
23588 cat >>conftest.$ac_ext <<_ACEOF
23589 /* end confdefs.h. */
23590 $ac_includes_default
23591 typedef long long ac__type_sizeof_;
23592 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23593 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23594 #include <stdio.h>
23595 #include <stdlib.h>
23596 int
23597 main ()
23598 {
23599
23600 FILE *f = fopen ("conftest.val", "w");
23601 if (! f)
23602 return 1;
23603 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23604 {
23605 long int i = longval ();
23606 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23607 return 1;
23608 fprintf (f, "%ld\n", i);
23609 }
23610 else
23611 {
23612 unsigned long int i = ulongval ();
23613 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23614 return 1;
23615 fprintf (f, "%lu\n", i);
23616 }
23617 return ferror (f) || fclose (f) != 0;
23618
23619 ;
23620 return 0;
23621 }
23622 _ACEOF
23623 rm -f conftest$ac_exeext
23624 if { (ac_try="$ac_link"
23625 case "(($ac_try" in
23626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23627 *) ac_try_echo=$ac_try;;
23628 esac
23629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23630 (eval "$ac_link") 2>&5
23631 ac_status=$?
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23634 { (case "(($ac_try" in
23635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23636 *) ac_try_echo=$ac_try;;
23637 esac
23638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23639 (eval "$ac_try") 2>&5
23640 ac_status=$?
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); }; }; then
23643 ac_cv_sizeof_long_long=`cat conftest.val`
23644 else
23645 echo "$as_me: program exited with status $ac_status" >&5
23646 echo "$as_me: failed program was:" >&5
23647 sed 's/^/| /' conftest.$ac_ext >&5
23648
23649 ( exit $ac_status )
23650 if test "$ac_cv_type_long_long" = yes; then
23651 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23652 See \`config.log' for more details." >&5
23653 echo "$as_me: error: cannot compute sizeof (long long)
23654 See \`config.log' for more details." >&2;}
23655 { (exit 77); exit 77; }; }
23656 else
23657 ac_cv_sizeof_long_long=0
23658 fi
23659 fi
23660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23661 fi
23662 rm -f conftest.val
23663 fi
23664 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23665 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23666
23667
23668
23669 cat >>confdefs.h <<_ACEOF
23670 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23671 _ACEOF
23672
23673
23674 esac
23675
23676 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23677 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23678 if test "${ac_cv_type_wchar_t+set}" = set; then
23679 echo $ECHO_N "(cached) $ECHO_C" >&6
23680 else
23681 cat >conftest.$ac_ext <<_ACEOF
23682 /* confdefs.h. */
23683 _ACEOF
23684 cat confdefs.h >>conftest.$ac_ext
23685 cat >>conftest.$ac_ext <<_ACEOF
23686 /* end confdefs.h. */
23687
23688 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23689 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23690 # error "fake wchar_t"
23691 #endif
23692 #ifdef HAVE_WCHAR_H
23693 # ifdef __CYGWIN__
23694 # include <stddef.h>
23695 # endif
23696 # include <wchar.h>
23697 #endif
23698 #ifdef HAVE_STDLIB_H
23699 # include <stdlib.h>
23700 #endif
23701 #include <stdio.h>
23702
23703
23704
23705 typedef wchar_t ac__type_new_;
23706 int
23707 main ()
23708 {
23709 if ((ac__type_new_ *) 0)
23710 return 0;
23711 if (sizeof (ac__type_new_))
23712 return 0;
23713 ;
23714 return 0;
23715 }
23716 _ACEOF
23717 rm -f conftest.$ac_objext
23718 if { (ac_try="$ac_compile"
23719 case "(($ac_try" in
23720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23721 *) ac_try_echo=$ac_try;;
23722 esac
23723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23724 (eval "$ac_compile") 2>conftest.er1
23725 ac_status=$?
23726 grep -v '^ *+' conftest.er1 >conftest.err
23727 rm -f conftest.er1
23728 cat conftest.err >&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); } && {
23731 test -z "$ac_c_werror_flag" ||
23732 test ! -s conftest.err
23733 } && test -s conftest.$ac_objext; then
23734 ac_cv_type_wchar_t=yes
23735 else
23736 echo "$as_me: failed program was:" >&5
23737 sed 's/^/| /' conftest.$ac_ext >&5
23738
23739 ac_cv_type_wchar_t=no
23740 fi
23741
23742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23743 fi
23744 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23745 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23746
23747 # The cast to long int works around a bug in the HP C Compiler
23748 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23749 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23750 # This bug is HP SR number 8606223364.
23751 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23752 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23753 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23754 echo $ECHO_N "(cached) $ECHO_C" >&6
23755 else
23756 if test "$cross_compiling" = yes; then
23757 # Depending upon the size, compute the lo and hi bounds.
23758 cat >conftest.$ac_ext <<_ACEOF
23759 /* confdefs.h. */
23760 _ACEOF
23761 cat confdefs.h >>conftest.$ac_ext
23762 cat >>conftest.$ac_ext <<_ACEOF
23763 /* end confdefs.h. */
23764
23765 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23766 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23767 # error "fake wchar_t"
23768 #endif
23769 #ifdef HAVE_WCHAR_H
23770 # ifdef __CYGWIN__
23771 # include <stddef.h>
23772 # endif
23773 # include <wchar.h>
23774 #endif
23775 #ifdef HAVE_STDLIB_H
23776 # include <stdlib.h>
23777 #endif
23778 #include <stdio.h>
23779
23780
23781
23782 typedef wchar_t ac__type_sizeof_;
23783 int
23784 main ()
23785 {
23786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23787 test_array [0] = 0
23788
23789 ;
23790 return 0;
23791 }
23792 _ACEOF
23793 rm -f conftest.$ac_objext
23794 if { (ac_try="$ac_compile"
23795 case "(($ac_try" in
23796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23797 *) ac_try_echo=$ac_try;;
23798 esac
23799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23800 (eval "$ac_compile") 2>conftest.er1
23801 ac_status=$?
23802 grep -v '^ *+' conftest.er1 >conftest.err
23803 rm -f conftest.er1
23804 cat conftest.err >&5
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); } && {
23807 test -z "$ac_c_werror_flag" ||
23808 test ! -s conftest.err
23809 } && test -s conftest.$ac_objext; then
23810 ac_lo=0 ac_mid=0
23811 while :; do
23812 cat >conftest.$ac_ext <<_ACEOF
23813 /* confdefs.h. */
23814 _ACEOF
23815 cat confdefs.h >>conftest.$ac_ext
23816 cat >>conftest.$ac_ext <<_ACEOF
23817 /* end confdefs.h. */
23818
23819 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23820 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23821 # error "fake wchar_t"
23822 #endif
23823 #ifdef HAVE_WCHAR_H
23824 # ifdef __CYGWIN__
23825 # include <stddef.h>
23826 # endif
23827 # include <wchar.h>
23828 #endif
23829 #ifdef HAVE_STDLIB_H
23830 # include <stdlib.h>
23831 #endif
23832 #include <stdio.h>
23833
23834
23835
23836 typedef wchar_t ac__type_sizeof_;
23837 int
23838 main ()
23839 {
23840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23841 test_array [0] = 0
23842
23843 ;
23844 return 0;
23845 }
23846 _ACEOF
23847 rm -f conftest.$ac_objext
23848 if { (ac_try="$ac_compile"
23849 case "(($ac_try" in
23850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23851 *) ac_try_echo=$ac_try;;
23852 esac
23853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23854 (eval "$ac_compile") 2>conftest.er1
23855 ac_status=$?
23856 grep -v '^ *+' conftest.er1 >conftest.err
23857 rm -f conftest.er1
23858 cat conftest.err >&5
23859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860 (exit $ac_status); } && {
23861 test -z "$ac_c_werror_flag" ||
23862 test ! -s conftest.err
23863 } && test -s conftest.$ac_objext; then
23864 ac_hi=$ac_mid; break
23865 else
23866 echo "$as_me: failed program was:" >&5
23867 sed 's/^/| /' conftest.$ac_ext >&5
23868
23869 ac_lo=`expr $ac_mid + 1`
23870 if test $ac_lo -le $ac_mid; then
23871 ac_lo= ac_hi=
23872 break
23873 fi
23874 ac_mid=`expr 2 '*' $ac_mid + 1`
23875 fi
23876
23877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23878 done
23879 else
23880 echo "$as_me: failed program was:" >&5
23881 sed 's/^/| /' conftest.$ac_ext >&5
23882
23883 cat >conftest.$ac_ext <<_ACEOF
23884 /* confdefs.h. */
23885 _ACEOF
23886 cat confdefs.h >>conftest.$ac_ext
23887 cat >>conftest.$ac_ext <<_ACEOF
23888 /* end confdefs.h. */
23889
23890 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23891 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23892 # error "fake wchar_t"
23893 #endif
23894 #ifdef HAVE_WCHAR_H
23895 # ifdef __CYGWIN__
23896 # include <stddef.h>
23897 # endif
23898 # include <wchar.h>
23899 #endif
23900 #ifdef HAVE_STDLIB_H
23901 # include <stdlib.h>
23902 #endif
23903 #include <stdio.h>
23904
23905
23906
23907 typedef wchar_t ac__type_sizeof_;
23908 int
23909 main ()
23910 {
23911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23912 test_array [0] = 0
23913
23914 ;
23915 return 0;
23916 }
23917 _ACEOF
23918 rm -f conftest.$ac_objext
23919 if { (ac_try="$ac_compile"
23920 case "(($ac_try" in
23921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23922 *) ac_try_echo=$ac_try;;
23923 esac
23924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23925 (eval "$ac_compile") 2>conftest.er1
23926 ac_status=$?
23927 grep -v '^ *+' conftest.er1 >conftest.err
23928 rm -f conftest.er1
23929 cat conftest.err >&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } && {
23932 test -z "$ac_c_werror_flag" ||
23933 test ! -s conftest.err
23934 } && test -s conftest.$ac_objext; then
23935 ac_hi=-1 ac_mid=-1
23936 while :; do
23937 cat >conftest.$ac_ext <<_ACEOF
23938 /* confdefs.h. */
23939 _ACEOF
23940 cat confdefs.h >>conftest.$ac_ext
23941 cat >>conftest.$ac_ext <<_ACEOF
23942 /* end confdefs.h. */
23943
23944 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23945 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23946 # error "fake wchar_t"
23947 #endif
23948 #ifdef HAVE_WCHAR_H
23949 # ifdef __CYGWIN__
23950 # include <stddef.h>
23951 # endif
23952 # include <wchar.h>
23953 #endif
23954 #ifdef HAVE_STDLIB_H
23955 # include <stdlib.h>
23956 #endif
23957 #include <stdio.h>
23958
23959
23960
23961 typedef wchar_t ac__type_sizeof_;
23962 int
23963 main ()
23964 {
23965 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23966 test_array [0] = 0
23967
23968 ;
23969 return 0;
23970 }
23971 _ACEOF
23972 rm -f conftest.$ac_objext
23973 if { (ac_try="$ac_compile"
23974 case "(($ac_try" in
23975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23976 *) ac_try_echo=$ac_try;;
23977 esac
23978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23979 (eval "$ac_compile") 2>conftest.er1
23980 ac_status=$?
23981 grep -v '^ *+' conftest.er1 >conftest.err
23982 rm -f conftest.er1
23983 cat conftest.err >&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); } && {
23986 test -z "$ac_c_werror_flag" ||
23987 test ! -s conftest.err
23988 } && test -s conftest.$ac_objext; then
23989 ac_lo=$ac_mid; break
23990 else
23991 echo "$as_me: failed program was:" >&5
23992 sed 's/^/| /' conftest.$ac_ext >&5
23993
23994 ac_hi=`expr '(' $ac_mid ')' - 1`
23995 if test $ac_mid -le $ac_hi; then
23996 ac_lo= ac_hi=
23997 break
23998 fi
23999 ac_mid=`expr 2 '*' $ac_mid`
24000 fi
24001
24002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24003 done
24004 else
24005 echo "$as_me: failed program was:" >&5
24006 sed 's/^/| /' conftest.$ac_ext >&5
24007
24008 ac_lo= ac_hi=
24009 fi
24010
24011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24012 fi
24013
24014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24015 # Binary search between lo and hi bounds.
24016 while test "x$ac_lo" != "x$ac_hi"; do
24017 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24018 cat >conftest.$ac_ext <<_ACEOF
24019 /* confdefs.h. */
24020 _ACEOF
24021 cat confdefs.h >>conftest.$ac_ext
24022 cat >>conftest.$ac_ext <<_ACEOF
24023 /* end confdefs.h. */
24024
24025 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24026 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24027 # error "fake wchar_t"
24028 #endif
24029 #ifdef HAVE_WCHAR_H
24030 # ifdef __CYGWIN__
24031 # include <stddef.h>
24032 # endif
24033 # include <wchar.h>
24034 #endif
24035 #ifdef HAVE_STDLIB_H
24036 # include <stdlib.h>
24037 #endif
24038 #include <stdio.h>
24039
24040
24041
24042 typedef wchar_t ac__type_sizeof_;
24043 int
24044 main ()
24045 {
24046 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24047 test_array [0] = 0
24048
24049 ;
24050 return 0;
24051 }
24052 _ACEOF
24053 rm -f conftest.$ac_objext
24054 if { (ac_try="$ac_compile"
24055 case "(($ac_try" in
24056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24057 *) ac_try_echo=$ac_try;;
24058 esac
24059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24060 (eval "$ac_compile") 2>conftest.er1
24061 ac_status=$?
24062 grep -v '^ *+' conftest.er1 >conftest.err
24063 rm -f conftest.er1
24064 cat conftest.err >&5
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); } && {
24067 test -z "$ac_c_werror_flag" ||
24068 test ! -s conftest.err
24069 } && test -s conftest.$ac_objext; then
24070 ac_hi=$ac_mid
24071 else
24072 echo "$as_me: failed program was:" >&5
24073 sed 's/^/| /' conftest.$ac_ext >&5
24074
24075 ac_lo=`expr '(' $ac_mid ')' + 1`
24076 fi
24077
24078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24079 done
24080 case $ac_lo in
24081 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24082 '') if test "$ac_cv_type_wchar_t" = yes; then
24083 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24084 See \`config.log' for more details." >&5
24085 echo "$as_me: error: cannot compute sizeof (wchar_t)
24086 See \`config.log' for more details." >&2;}
24087 { (exit 77); exit 77; }; }
24088 else
24089 ac_cv_sizeof_wchar_t=0
24090 fi ;;
24091 esac
24092 else
24093 cat >conftest.$ac_ext <<_ACEOF
24094 /* confdefs.h. */
24095 _ACEOF
24096 cat confdefs.h >>conftest.$ac_ext
24097 cat >>conftest.$ac_ext <<_ACEOF
24098 /* end confdefs.h. */
24099
24100 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24101 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24102 # error "fake wchar_t"
24103 #endif
24104 #ifdef HAVE_WCHAR_H
24105 # ifdef __CYGWIN__
24106 # include <stddef.h>
24107 # endif
24108 # include <wchar.h>
24109 #endif
24110 #ifdef HAVE_STDLIB_H
24111 # include <stdlib.h>
24112 #endif
24113 #include <stdio.h>
24114
24115
24116
24117 typedef wchar_t ac__type_sizeof_;
24118 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24119 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24120 #include <stdio.h>
24121 #include <stdlib.h>
24122 int
24123 main ()
24124 {
24125
24126 FILE *f = fopen ("conftest.val", "w");
24127 if (! f)
24128 return 1;
24129 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24130 {
24131 long int i = longval ();
24132 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24133 return 1;
24134 fprintf (f, "%ld\n", i);
24135 }
24136 else
24137 {
24138 unsigned long int i = ulongval ();
24139 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24140 return 1;
24141 fprintf (f, "%lu\n", i);
24142 }
24143 return ferror (f) || fclose (f) != 0;
24144
24145 ;
24146 return 0;
24147 }
24148 _ACEOF
24149 rm -f conftest$ac_exeext
24150 if { (ac_try="$ac_link"
24151 case "(($ac_try" in
24152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24153 *) ac_try_echo=$ac_try;;
24154 esac
24155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24156 (eval "$ac_link") 2>&5
24157 ac_status=$?
24158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24160 { (case "(($ac_try" in
24161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24162 *) ac_try_echo=$ac_try;;
24163 esac
24164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24165 (eval "$ac_try") 2>&5
24166 ac_status=$?
24167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 (exit $ac_status); }; }; then
24169 ac_cv_sizeof_wchar_t=`cat conftest.val`
24170 else
24171 echo "$as_me: program exited with status $ac_status" >&5
24172 echo "$as_me: failed program was:" >&5
24173 sed 's/^/| /' conftest.$ac_ext >&5
24174
24175 ( exit $ac_status )
24176 if test "$ac_cv_type_wchar_t" = yes; then
24177 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24178 See \`config.log' for more details." >&5
24179 echo "$as_me: error: cannot compute sizeof (wchar_t)
24180 See \`config.log' for more details." >&2;}
24181 { (exit 77); exit 77; }; }
24182 else
24183 ac_cv_sizeof_wchar_t=0
24184 fi
24185 fi
24186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24187 fi
24188 rm -f conftest.val
24189 fi
24190 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24191 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24192
24193
24194
24195 cat >>confdefs.h <<_ACEOF
24196 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24197 _ACEOF
24198
24199
24200 if test "$ac_cv_sizeof_wchar_t" = 0; then
24201 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24202 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24203 { (exit 1); exit 1; }; }
24204 fi
24205 cat >>confdefs.h <<\_ACEOF
24206 #define wxUSE_WCHAR_T 1
24207 _ACEOF
24208
24209
24210 { echo "$as_me:$LINENO: checking for va_copy" >&5
24211 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24212 if test "${wx_cv_func_va_copy+set}" = set; then
24213 echo $ECHO_N "(cached) $ECHO_C" >&6
24214 else
24215
24216 ac_ext=cpp
24217 ac_cpp='$CXXCPP $CPPFLAGS'
24218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24221
24222 cat >conftest.$ac_ext <<_ACEOF
24223
24224 #include <stdarg.h>
24225 void foo(char *f, ...)
24226 {
24227 va_list ap1, ap2;
24228 va_start(ap1, f);
24229 va_copy(ap2, ap1);
24230 va_end(ap2);
24231 va_end(ap1);
24232 }
24233 int main()
24234 {
24235 foo("hi", 17);
24236 return 0;
24237 }
24238 _ACEOF
24239 rm -f conftest.$ac_objext conftest$ac_exeext
24240 if { (ac_try="$ac_link"
24241 case "(($ac_try" in
24242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24243 *) ac_try_echo=$ac_try;;
24244 esac
24245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24246 (eval "$ac_link") 2>conftest.er1
24247 ac_status=$?
24248 grep -v '^ *+' conftest.er1 >conftest.err
24249 rm -f conftest.er1
24250 cat conftest.err >&5
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); } && {
24253 test -z "$ac_cxx_werror_flag" ||
24254 test ! -s conftest.err
24255 } && test -s conftest$ac_exeext &&
24256 $as_test_x conftest$ac_exeext; then
24257 wx_cv_func_va_copy=yes
24258 else
24259 echo "$as_me: failed program was:" >&5
24260 sed 's/^/| /' conftest.$ac_ext >&5
24261
24262 wx_cv_func_va_copy=no
24263
24264 fi
24265
24266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24267 conftest$ac_exeext conftest.$ac_ext
24268 ac_ext=c
24269 ac_cpp='$CPP $CPPFLAGS'
24270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24273
24274
24275
24276 fi
24277 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24278 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24279
24280 if test $wx_cv_func_va_copy = "yes"; then
24281 cat >>confdefs.h <<\_ACEOF
24282 #define HAVE_VA_COPY 1
24283 _ACEOF
24284
24285 else
24286 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24287 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24288 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24289 echo $ECHO_N "(cached) $ECHO_C" >&6
24290 else
24291
24292 if test "$cross_compiling" = yes; then
24293 wx_cv_type_va_list_lvalue=yes
24294
24295 else
24296 cat >conftest.$ac_ext <<_ACEOF
24297
24298 #include <stdarg.h>
24299 int foo(char *f, ...)
24300 {
24301 va_list ap1, ap2;
24302 va_start(ap1, f);
24303 ap2 = ap1;
24304 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24305 return 1;
24306 va_end(ap2);
24307 va_end(ap1);
24308 return 0;
24309 }
24310 int main()
24311 {
24312 return foo("hi", 17);
24313 }
24314 _ACEOF
24315 rm -f conftest$ac_exeext
24316 if { (ac_try="$ac_link"
24317 case "(($ac_try" in
24318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24319 *) ac_try_echo=$ac_try;;
24320 esac
24321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24322 (eval "$ac_link") 2>&5
24323 ac_status=$?
24324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24325 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24326 { (case "(($ac_try" in
24327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24328 *) ac_try_echo=$ac_try;;
24329 esac
24330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24331 (eval "$ac_try") 2>&5
24332 ac_status=$?
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); }; }; then
24335 wx_cv_type_va_list_lvalue=yes
24336 else
24337 echo "$as_me: program exited with status $ac_status" >&5
24338 echo "$as_me: failed program was:" >&5
24339 sed 's/^/| /' conftest.$ac_ext >&5
24340
24341 ( exit $ac_status )
24342 wx_cv_type_va_list_lvalue=no
24343 fi
24344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24345 fi
24346
24347
24348
24349
24350 fi
24351 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24352 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24353
24354 if test $wx_cv_type_va_list_lvalue != "yes"; then
24355 cat >>confdefs.h <<\_ACEOF
24356 #define VA_LIST_IS_ARRAY 1
24357 _ACEOF
24358
24359 fi
24360 fi
24361
24362 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24363
24364 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24365 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24366 if test "${wx_cv_have_variadic_macros+set}" = set; then
24367 echo $ECHO_N "(cached) $ECHO_C" >&6
24368 else
24369
24370 ac_ext=cpp
24371 ac_cpp='$CXXCPP $CPPFLAGS'
24372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24375
24376 cat >conftest.$ac_ext <<_ACEOF
24377 /* confdefs.h. */
24378 _ACEOF
24379 cat confdefs.h >>conftest.$ac_ext
24380 cat >>conftest.$ac_ext <<_ACEOF
24381 /* end confdefs.h. */
24382
24383 #include <stdio.h>
24384 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24385
24386 int
24387 main ()
24388 {
24389
24390 test("%s %d %p", "test", 1, 0);
24391
24392
24393 ;
24394 return 0;
24395 }
24396 _ACEOF
24397 rm -f conftest.$ac_objext
24398 if { (ac_try="$ac_compile"
24399 case "(($ac_try" in
24400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24401 *) ac_try_echo=$ac_try;;
24402 esac
24403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24404 (eval "$ac_compile") 2>conftest.er1
24405 ac_status=$?
24406 grep -v '^ *+' conftest.er1 >conftest.err
24407 rm -f conftest.er1
24408 cat conftest.err >&5
24409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24410 (exit $ac_status); } && {
24411 test -z "$ac_cxx_werror_flag" ||
24412 test ! -s conftest.err
24413 } && test -s conftest.$ac_objext; then
24414 wx_cv_have_variadic_macros=yes
24415 else
24416 echo "$as_me: failed program was:" >&5
24417 sed 's/^/| /' conftest.$ac_ext >&5
24418
24419 wx_cv_have_variadic_macros=no
24420
24421 fi
24422
24423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24424 ac_ext=c
24425 ac_cpp='$CPP $CPPFLAGS'
24426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24429
24430
24431
24432 fi
24433 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24434 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24435
24436 if test $wx_cv_have_variadic_macros = "yes"; then
24437 cat >>confdefs.h <<\_ACEOF
24438 #define HAVE_VARIADIC_MACROS 1
24439 _ACEOF
24440
24441 fi
24442
24443 fi
24444
24445 LARGEFILE_CPPFLAGS=
24446 # Check whether --enable-largefile was given.
24447 if test "${enable_largefile+set}" = set; then
24448 enableval=$enable_largefile;
24449 fi
24450
24451 if test "$enable_largefile" != no; then
24452 wx_largefile=no
24453
24454 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24455 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24456 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24457 echo $ECHO_N "(cached) $ECHO_C" >&6
24458 else
24459
24460 cat >conftest.$ac_ext <<_ACEOF
24461 /* confdefs.h. */
24462 _ACEOF
24463 cat confdefs.h >>conftest.$ac_ext
24464 cat >>conftest.$ac_ext <<_ACEOF
24465 /* end confdefs.h. */
24466 #define _FILE_OFFSET_BITS 64
24467 #include <sys/types.h>
24468 int
24469 main ()
24470 {
24471 typedef struct {
24472 unsigned int field: sizeof(off_t) == 8;
24473 } wxlf;
24474
24475 ;
24476 return 0;
24477 }
24478 _ACEOF
24479 rm -f conftest.$ac_objext
24480 if { (ac_try="$ac_compile"
24481 case "(($ac_try" in
24482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24483 *) ac_try_echo=$ac_try;;
24484 esac
24485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24486 (eval "$ac_compile") 2>conftest.er1
24487 ac_status=$?
24488 grep -v '^ *+' conftest.er1 >conftest.err
24489 rm -f conftest.er1
24490 cat conftest.err >&5
24491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24492 (exit $ac_status); } && {
24493 test -z "$ac_c_werror_flag" ||
24494 test ! -s conftest.err
24495 } && test -s conftest.$ac_objext; then
24496 ac_cv_sys_file_offset_bits=64
24497 else
24498 echo "$as_me: failed program was:" >&5
24499 sed 's/^/| /' conftest.$ac_ext >&5
24500
24501 ac_cv_sys_file_offset_bits=no
24502 fi
24503
24504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24505
24506
24507 fi
24508 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24509 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24510
24511 if test "$ac_cv_sys_file_offset_bits" != no; then
24512 wx_largefile=yes
24513 cat >>confdefs.h <<_ACEOF
24514 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24515 _ACEOF
24516
24517 fi
24518
24519 if test "x$wx_largefile" != "xyes"; then
24520
24521 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24522 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24523 if test "${ac_cv_sys_large_files+set}" = set; then
24524 echo $ECHO_N "(cached) $ECHO_C" >&6
24525 else
24526
24527 cat >conftest.$ac_ext <<_ACEOF
24528 /* confdefs.h. */
24529 _ACEOF
24530 cat confdefs.h >>conftest.$ac_ext
24531 cat >>conftest.$ac_ext <<_ACEOF
24532 /* end confdefs.h. */
24533 #define _LARGE_FILES 1
24534 #include <sys/types.h>
24535 int
24536 main ()
24537 {
24538 typedef struct {
24539 unsigned int field: sizeof(off_t) == 8;
24540 } wxlf;
24541
24542 ;
24543 return 0;
24544 }
24545 _ACEOF
24546 rm -f conftest.$ac_objext
24547 if { (ac_try="$ac_compile"
24548 case "(($ac_try" in
24549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24550 *) ac_try_echo=$ac_try;;
24551 esac
24552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24553 (eval "$ac_compile") 2>conftest.er1
24554 ac_status=$?
24555 grep -v '^ *+' conftest.er1 >conftest.err
24556 rm -f conftest.er1
24557 cat conftest.err >&5
24558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); } && {
24560 test -z "$ac_c_werror_flag" ||
24561 test ! -s conftest.err
24562 } && test -s conftest.$ac_objext; then
24563 ac_cv_sys_large_files=1
24564 else
24565 echo "$as_me: failed program was:" >&5
24566 sed 's/^/| /' conftest.$ac_ext >&5
24567
24568 ac_cv_sys_large_files=no
24569 fi
24570
24571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24572
24573
24574 fi
24575 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24576 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24577
24578 if test "$ac_cv_sys_large_files" != no; then
24579 wx_largefile=yes
24580 cat >>confdefs.h <<_ACEOF
24581 #define _LARGE_FILES $ac_cv_sys_large_files
24582 _ACEOF
24583
24584 fi
24585
24586 fi
24587
24588 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24589 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24590 if test "x$wx_largefile" = "xyes"; then
24591 cat >>confdefs.h <<\_ACEOF
24592 #define HAVE_LARGEFILE_SUPPORT 1
24593 _ACEOF
24594
24595 fi
24596 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24597 echo "${ECHO_T}$wx_largefile" >&6; }
24598 fi
24599
24600 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24601 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24602 elif test "$ac_cv_sys_large_files" = 1; then
24603 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24604 fi
24605
24606 if test -n "$LARGEFILE_CPPFLAGS"; then
24607 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24608
24609 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24610 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24611 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24612 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24613 echo $ECHO_N "(cached) $ECHO_C" >&6
24614 else
24615
24616 ac_ext=cpp
24617 ac_cpp='$CXXCPP $CPPFLAGS'
24618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24621
24622 cat >conftest.$ac_ext <<_ACEOF
24623 /* confdefs.h. */
24624 _ACEOF
24625 cat confdefs.h >>conftest.$ac_ext
24626 cat >>conftest.$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24628
24629 int
24630 main ()
24631 {
24632
24633 #ifndef __STDC_EXT__
24634 choke me
24635 #endif
24636
24637 ;
24638 return 0;
24639 }
24640 _ACEOF
24641 rm -f conftest.$ac_objext
24642 if { (ac_try="$ac_compile"
24643 case "(($ac_try" in
24644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24645 *) ac_try_echo=$ac_try;;
24646 esac
24647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24648 (eval "$ac_compile") 2>conftest.er1
24649 ac_status=$?
24650 grep -v '^ *+' conftest.er1 >conftest.err
24651 rm -f conftest.er1
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } && {
24655 test -z "$ac_cxx_werror_flag" ||
24656 test ! -s conftest.err
24657 } && test -s conftest.$ac_objext; then
24658 wx_cv_STDC_EXT_required=no
24659 else
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.$ac_ext >&5
24662
24663 wx_cv_STDC_EXT_required=yes
24664
24665 fi
24666
24667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24668 ac_ext=c
24669 ac_cpp='$CPP $CPPFLAGS'
24670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24673
24674
24675
24676 fi
24677 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24678 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24679 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24680 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24681 fi
24682 fi
24683 fi
24684
24685 ac_ext=cpp
24686 ac_cpp='$CXXCPP $CPPFLAGS'
24687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24690
24691 old_CPPFLAGS="$CPPFLAGS"
24692 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24693 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24694 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24695 if test "${ac_cv_sys_largefile_source+set}" = set; then
24696 echo $ECHO_N "(cached) $ECHO_C" >&6
24697 else
24698 while :; do
24699 cat >conftest.$ac_ext <<_ACEOF
24700 /* confdefs.h. */
24701 _ACEOF
24702 cat confdefs.h >>conftest.$ac_ext
24703 cat >>conftest.$ac_ext <<_ACEOF
24704 /* end confdefs.h. */
24705 #include <stdio.h>
24706 int
24707 main ()
24708 {
24709 return fseeko (stdin, 0, 0) && (fseeko) (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=no; 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 cat >conftest.$ac_ext <<_ACEOF
24743 /* confdefs.h. */
24744 _ACEOF
24745 cat confdefs.h >>conftest.$ac_ext
24746 cat >>conftest.$ac_ext <<_ACEOF
24747 /* end confdefs.h. */
24748 #define _LARGEFILE_SOURCE 1
24749 #include <stdio.h>
24750 int
24751 main ()
24752 {
24753 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
24754 ;
24755 return 0;
24756 }
24757 _ACEOF
24758 rm -f conftest.$ac_objext conftest$ac_exeext
24759 if { (ac_try="$ac_link"
24760 case "(($ac_try" in
24761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24762 *) ac_try_echo=$ac_try;;
24763 esac
24764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24765 (eval "$ac_link") 2>conftest.er1
24766 ac_status=$?
24767 grep -v '^ *+' conftest.er1 >conftest.err
24768 rm -f conftest.er1
24769 cat conftest.err >&5
24770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24771 (exit $ac_status); } && {
24772 test -z "$ac_cxx_werror_flag" ||
24773 test ! -s conftest.err
24774 } && test -s conftest$ac_exeext &&
24775 $as_test_x conftest$ac_exeext; then
24776 ac_cv_sys_largefile_source=1; break
24777 else
24778 echo "$as_me: failed program was:" >&5
24779 sed 's/^/| /' conftest.$ac_ext >&5
24780
24781
24782 fi
24783
24784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24785 conftest$ac_exeext conftest.$ac_ext
24786 ac_cv_sys_largefile_source=unknown
24787 break
24788 done
24789 fi
24790 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24791 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24792 case $ac_cv_sys_largefile_source in #(
24793 no | unknown) ;;
24794 *)
24795 cat >>confdefs.h <<_ACEOF
24796 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24797 _ACEOF
24798 ;;
24799 esac
24800 rm -f -r conftest*
24801
24802 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24803 # in glibc 2.1.3, but that breaks too many other things.
24804 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24805 if test $ac_cv_sys_largefile_source != unknown; then
24806
24807 cat >>confdefs.h <<\_ACEOF
24808 #define HAVE_FSEEKO 1
24809 _ACEOF
24810
24811 fi
24812
24813 CPPFLAGS="$old_CPPFLAGS"
24814 ac_ext=c
24815 ac_cpp='$CPP $CPPFLAGS'
24816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24819
24820 if test "$ac_cv_sys_largefile_source" != no; then
24821 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24822 fi
24823
24824 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24825 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24826 if test "${ac_cv_c_bigendian+set}" = set; then
24827 echo $ECHO_N "(cached) $ECHO_C" >&6
24828 else
24829 ac_cv_c_bigendian=unknown
24830 # See if sys/param.h defines the BYTE_ORDER macro.
24831 cat >conftest.$ac_ext <<_ACEOF
24832 /* confdefs.h. */
24833 _ACEOF
24834 cat confdefs.h >>conftest.$ac_ext
24835 cat >>conftest.$ac_ext <<_ACEOF
24836 /* end confdefs.h. */
24837 #include <sys/types.h>
24838 #include <sys/param.h>
24839 int
24840 main ()
24841 {
24842
24843 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24844 bogus endian macros
24845 #endif
24846 ;
24847 return 0;
24848 }
24849 _ACEOF
24850 rm -f conftest.$ac_objext
24851 if { (ac_try="$ac_compile"
24852 case "(($ac_try" in
24853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24854 *) ac_try_echo=$ac_try;;
24855 esac
24856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24857 (eval "$ac_compile") 2>conftest.er1
24858 ac_status=$?
24859 grep -v '^ *+' conftest.er1 >conftest.err
24860 rm -f conftest.er1
24861 cat conftest.err >&5
24862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863 (exit $ac_status); } && {
24864 test -z "$ac_c_werror_flag" ||
24865 test ! -s conftest.err
24866 } && test -s conftest.$ac_objext; then
24867 # It does; now see whether it defined to BIG_ENDIAN or not.
24868 cat >conftest.$ac_ext <<_ACEOF
24869 /* confdefs.h. */
24870 _ACEOF
24871 cat confdefs.h >>conftest.$ac_ext
24872 cat >>conftest.$ac_ext <<_ACEOF
24873 /* end confdefs.h. */
24874 #include <sys/types.h>
24875 #include <sys/param.h>
24876 int
24877 main ()
24878 {
24879
24880 #if BYTE_ORDER != BIG_ENDIAN
24881 not big endian
24882 #endif
24883 ;
24884 return 0;
24885 }
24886 _ACEOF
24887 rm -f conftest.$ac_objext
24888 if { (ac_try="$ac_compile"
24889 case "(($ac_try" in
24890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24891 *) ac_try_echo=$ac_try;;
24892 esac
24893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24894 (eval "$ac_compile") 2>conftest.er1
24895 ac_status=$?
24896 grep -v '^ *+' conftest.er1 >conftest.err
24897 rm -f conftest.er1
24898 cat conftest.err >&5
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); } && {
24901 test -z "$ac_c_werror_flag" ||
24902 test ! -s conftest.err
24903 } && test -s conftest.$ac_objext; then
24904 ac_cv_c_bigendian=yes
24905 else
24906 echo "$as_me: failed program was:" >&5
24907 sed 's/^/| /' conftest.$ac_ext >&5
24908
24909 ac_cv_c_bigendian=no
24910 fi
24911
24912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24913 else
24914 echo "$as_me: failed program was:" >&5
24915 sed 's/^/| /' conftest.$ac_ext >&5
24916
24917
24918 fi
24919
24920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24921 if test $ac_cv_c_bigendian = unknown; then
24922 if test "$cross_compiling" = yes; then
24923 ac_cv_c_bigendian=unknown
24924 else
24925 cat >conftest.$ac_ext <<_ACEOF
24926 /* confdefs.h. */
24927 _ACEOF
24928 cat confdefs.h >>conftest.$ac_ext
24929 cat >>conftest.$ac_ext <<_ACEOF
24930 /* end confdefs.h. */
24931 main () {
24932 /* Are we little or big endian? From Harbison&Steele. */
24933 union
24934 {
24935 long l;
24936 char c[sizeof (long)];
24937 } u;
24938 u.l = 1;
24939 exit (u.c[sizeof (long) - 1] == 1);
24940 }
24941 _ACEOF
24942 rm -f conftest$ac_exeext
24943 if { (ac_try="$ac_link"
24944 case "(($ac_try" in
24945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24946 *) ac_try_echo=$ac_try;;
24947 esac
24948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24949 (eval "$ac_link") 2>&5
24950 ac_status=$?
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24953 { (case "(($ac_try" in
24954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24955 *) ac_try_echo=$ac_try;;
24956 esac
24957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24958 (eval "$ac_try") 2>&5
24959 ac_status=$?
24960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24961 (exit $ac_status); }; }; then
24962 ac_cv_c_bigendian=no
24963 else
24964 echo "$as_me: program exited with status $ac_status" >&5
24965 echo "$as_me: failed program was:" >&5
24966 sed 's/^/| /' conftest.$ac_ext >&5
24967
24968 ( exit $ac_status )
24969 ac_cv_c_bigendian=yes
24970 fi
24971 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24972 fi
24973
24974
24975 fi
24976 fi
24977 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24978 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24979 if test $ac_cv_c_bigendian = unknown; then
24980 { 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
24981 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;}
24982 fi
24983 if test $ac_cv_c_bigendian = yes; then
24984 cat >>confdefs.h <<\_ACEOF
24985 #define WORDS_BIGENDIAN 1
24986 _ACEOF
24987
24988 fi
24989
24990
24991
24992
24993 ac_ext=cpp
24994 ac_cpp='$CXXCPP $CPPFLAGS'
24995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24998
24999
25000
25001 for ac_header in iostream
25002 do
25003 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25004 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25007 echo $ECHO_N "(cached) $ECHO_C" >&6
25008 else
25009 cat >conftest.$ac_ext <<_ACEOF
25010 /* confdefs.h. */
25011 _ACEOF
25012 cat confdefs.h >>conftest.$ac_ext
25013 cat >>conftest.$ac_ext <<_ACEOF
25014 /* end confdefs.h. */
25015
25016
25017 #include <$ac_header>
25018 _ACEOF
25019 rm -f conftest.$ac_objext
25020 if { (ac_try="$ac_compile"
25021 case "(($ac_try" in
25022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25023 *) ac_try_echo=$ac_try;;
25024 esac
25025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25026 (eval "$ac_compile") 2>conftest.er1
25027 ac_status=$?
25028 grep -v '^ *+' conftest.er1 >conftest.err
25029 rm -f conftest.er1
25030 cat conftest.err >&5
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); } && {
25033 test -z "$ac_cxx_werror_flag" ||
25034 test ! -s conftest.err
25035 } && test -s conftest.$ac_objext; then
25036 eval "$as_ac_Header=yes"
25037 else
25038 echo "$as_me: failed program was:" >&5
25039 sed 's/^/| /' conftest.$ac_ext >&5
25040
25041 eval "$as_ac_Header=no"
25042 fi
25043
25044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25045 fi
25046 ac_res=`eval echo '${'$as_ac_Header'}'`
25047 { echo "$as_me:$LINENO: result: $ac_res" >&5
25048 echo "${ECHO_T}$ac_res" >&6; }
25049 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25050 cat >>confdefs.h <<_ACEOF
25051 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25052 _ACEOF
25053
25054 fi
25055
25056 done
25057
25058
25059 if test "$ac_cv_header_iostream" = "yes" ; then
25060 :
25061 else
25062 cat >>confdefs.h <<\_ACEOF
25063 #define wxUSE_IOSTREAMH 1
25064 _ACEOF
25065
25066 fi
25067
25068 ac_ext=c
25069 ac_cpp='$CPP $CPPFLAGS'
25070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25073
25074
25075
25076
25077 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25078 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25079 if test "${wx_cv_explicit+set}" = set; then
25080 echo $ECHO_N "(cached) $ECHO_C" >&6
25081 else
25082
25083
25084 ac_ext=cpp
25085 ac_cpp='$CXXCPP $CPPFLAGS'
25086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25089
25090
25091 cat >conftest.$ac_ext <<_ACEOF
25092 /* confdefs.h. */
25093 _ACEOF
25094 cat confdefs.h >>conftest.$ac_ext
25095 cat >>conftest.$ac_ext <<_ACEOF
25096 /* end confdefs.h. */
25097
25098 class Foo { public: explicit Foo(int) {} };
25099
25100 int
25101 main ()
25102 {
25103
25104 return 0;
25105
25106 ;
25107 return 0;
25108 }
25109 _ACEOF
25110 rm -f conftest.$ac_objext
25111 if { (ac_try="$ac_compile"
25112 case "(($ac_try" in
25113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25114 *) ac_try_echo=$ac_try;;
25115 esac
25116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25117 (eval "$ac_compile") 2>conftest.er1
25118 ac_status=$?
25119 grep -v '^ *+' conftest.er1 >conftest.err
25120 rm -f conftest.er1
25121 cat conftest.err >&5
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); } && {
25124 test -z "$ac_cxx_werror_flag" ||
25125 test ! -s conftest.err
25126 } && test -s conftest.$ac_objext; then
25127
25128 cat >conftest.$ac_ext <<_ACEOF
25129 /* confdefs.h. */
25130 _ACEOF
25131 cat confdefs.h >>conftest.$ac_ext
25132 cat >>conftest.$ac_ext <<_ACEOF
25133 /* end confdefs.h. */
25134
25135 class Foo { public: explicit Foo(int) {} };
25136 static void TakeFoo(const Foo& foo) { }
25137
25138 int
25139 main ()
25140 {
25141
25142 TakeFoo(17);
25143 return 0;
25144
25145 ;
25146 return 0;
25147 }
25148 _ACEOF
25149 rm -f conftest.$ac_objext
25150 if { (ac_try="$ac_compile"
25151 case "(($ac_try" in
25152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25153 *) ac_try_echo=$ac_try;;
25154 esac
25155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25156 (eval "$ac_compile") 2>conftest.er1
25157 ac_status=$?
25158 grep -v '^ *+' conftest.er1 >conftest.err
25159 rm -f conftest.er1
25160 cat conftest.err >&5
25161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162 (exit $ac_status); } && {
25163 test -z "$ac_cxx_werror_flag" ||
25164 test ! -s conftest.err
25165 } && test -s conftest.$ac_objext; then
25166 wx_cv_explicit=no
25167 else
25168 echo "$as_me: failed program was:" >&5
25169 sed 's/^/| /' conftest.$ac_ext >&5
25170
25171 wx_cv_explicit=yes
25172
25173 fi
25174
25175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25176
25177 else
25178 echo "$as_me: failed program was:" >&5
25179 sed 's/^/| /' conftest.$ac_ext >&5
25180
25181 wx_cv_explicit=no
25182
25183 fi
25184
25185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25186
25187 ac_ext=c
25188 ac_cpp='$CPP $CPPFLAGS'
25189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25192
25193
25194 fi
25195 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25196 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25197
25198 if test "$wx_cv_explicit" = "yes"; then
25199 cat >>confdefs.h <<\_ACEOF
25200 #define HAVE_EXPLICIT 1
25201 _ACEOF
25202
25203 fi
25204
25205
25206 if test "x$SUNCXX" = xyes; then
25207 CXXFLAGS="-features=tmplife $CXXFLAGS"
25208 fi
25209
25210 if test "x$SUNCC" = xyes; then
25211 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25212 fi
25213
25214 if test "x$SGICC" = "xyes"; then
25215 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25216 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25217 if test "${wx_cv_prog_sgicc744+set}" = set; then
25218 echo $ECHO_N "(cached) $ECHO_C" >&6
25219 else
25220
25221 cat >conftest.$ac_ext <<_ACEOF
25222 /* confdefs.h. */
25223 _ACEOF
25224 cat confdefs.h >>conftest.$ac_ext
25225 cat >>conftest.$ac_ext <<_ACEOF
25226 /* end confdefs.h. */
25227
25228 int
25229 main ()
25230 {
25231
25232 #if _SGI_COMPILER_VERSION >= 744
25233 chock me: mipsPro is 7.4.4 or later
25234 #endif
25235
25236 ;
25237 return 0;
25238 }
25239 _ACEOF
25240 rm -f conftest.$ac_objext
25241 if { (ac_try="$ac_compile"
25242 case "(($ac_try" in
25243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25244 *) ac_try_echo=$ac_try;;
25245 esac
25246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25247 (eval "$ac_compile") 2>conftest.er1
25248 ac_status=$?
25249 grep -v '^ *+' conftest.er1 >conftest.err
25250 rm -f conftest.er1
25251 cat conftest.err >&5
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); } && {
25254 test -z "$ac_c_werror_flag" ||
25255 test ! -s conftest.err
25256 } && test -s conftest.$ac_objext; then
25257 wx_cv_prog_sgicc744=no
25258 else
25259 echo "$as_me: failed program was:" >&5
25260 sed 's/^/| /' conftest.$ac_ext >&5
25261
25262 wx_cv_prog_sgicc744=yes
25263
25264 fi
25265
25266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25267
25268
25269 fi
25270 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25271 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25272
25273 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25274 CFLAGS="-woff 3970 $CFLAGS"
25275 fi
25276 fi
25277 if test "x$SGICXX" = "xyes"; then
25278 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25279 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25280 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25281 echo $ECHO_N "(cached) $ECHO_C" >&6
25282 else
25283
25284 ac_ext=cpp
25285 ac_cpp='$CXXCPP $CPPFLAGS'
25286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25289
25290 cat >conftest.$ac_ext <<_ACEOF
25291 /* confdefs.h. */
25292 _ACEOF
25293 cat confdefs.h >>conftest.$ac_ext
25294 cat >>conftest.$ac_ext <<_ACEOF
25295 /* end confdefs.h. */
25296
25297 int
25298 main ()
25299 {
25300
25301 #if _SGI_COMPILER_VERSION >= 744
25302 chock me: mipsPro is 7.4.4 or later
25303 #endif
25304
25305 ;
25306 return 0;
25307 }
25308 _ACEOF
25309 rm -f conftest.$ac_objext
25310 if { (ac_try="$ac_compile"
25311 case "(($ac_try" in
25312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25313 *) ac_try_echo=$ac_try;;
25314 esac
25315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25316 (eval "$ac_compile") 2>conftest.er1
25317 ac_status=$?
25318 grep -v '^ *+' conftest.er1 >conftest.err
25319 rm -f conftest.er1
25320 cat conftest.err >&5
25321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322 (exit $ac_status); } && {
25323 test -z "$ac_cxx_werror_flag" ||
25324 test ! -s conftest.err
25325 } && test -s conftest.$ac_objext; then
25326 wx_cv_prog_sgicxx744=no
25327 else
25328 echo "$as_me: failed program was:" >&5
25329 sed 's/^/| /' conftest.$ac_ext >&5
25330
25331 wx_cv_prog_sgicxx744=yes
25332
25333 fi
25334
25335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25336 ac_ext=c
25337 ac_cpp='$CPP $CPPFLAGS'
25338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25341
25342
25343
25344 fi
25345 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25346 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25347
25348 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25349 CXXFLAGS="-woff 3970 $CXXFLAGS"
25350 fi
25351 fi
25352
25353 if test "x$HPCC" = "xyes"; then
25354 CFLAGS="+W 2011,2450 $CFLAGS"
25355 fi
25356 if test "x$HPCXX" = "xyes"; then
25357 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25358 fi
25359
25360 if test "x$COMPAQCXX" = "xyes"; then
25361 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25362 fi
25363
25364 ac_ext=cpp
25365 ac_cpp='$CXXCPP $CPPFLAGS'
25366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25369
25370
25371 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25372 if test "$wxUSE_UNICODE" = "yes"; then
25373 std_string="std::wstring"
25374 char_type="wchar_t"
25375 else
25376 std_string="std::string"
25377 char_type="char"
25378 fi
25379
25380 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25381 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25382 if test "${wx_cv_class_stdstring+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25385
25386 cat >conftest.$ac_ext <<_ACEOF
25387 /* confdefs.h. */
25388 _ACEOF
25389 cat confdefs.h >>conftest.$ac_ext
25390 cat >>conftest.$ac_ext <<_ACEOF
25391 /* end confdefs.h. */
25392 #include <string>
25393 int
25394 main ()
25395 {
25396 $std_string foo;
25397 ;
25398 return 0;
25399 }
25400 _ACEOF
25401 rm -f conftest.$ac_objext
25402 if { (ac_try="$ac_compile"
25403 case "(($ac_try" in
25404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25405 *) ac_try_echo=$ac_try;;
25406 esac
25407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25408 (eval "$ac_compile") 2>conftest.er1
25409 ac_status=$?
25410 grep -v '^ *+' conftest.er1 >conftest.err
25411 rm -f conftest.er1
25412 cat conftest.err >&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } && {
25415 test -z "$ac_cxx_werror_flag" ||
25416 test ! -s conftest.err
25417 } && test -s conftest.$ac_objext; then
25418 wx_cv_class_stdstring=yes
25419 else
25420 echo "$as_me: failed program was:" >&5
25421 sed 's/^/| /' conftest.$ac_ext >&5
25422
25423 wx_cv_class_stdstring=no
25424
25425 fi
25426
25427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25428
25429
25430 fi
25431 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25432 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25433
25434 if test "$wx_cv_class_stdstring" = yes; then
25435 if test "$wxUSE_UNICODE" = "yes"; then
25436 cat >>confdefs.h <<\_ACEOF
25437 #define HAVE_STD_WSTRING 1
25438 _ACEOF
25439
25440 fi
25441 else
25442 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25443 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25444 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25446 else
25447
25448 cat >conftest.$ac_ext <<_ACEOF
25449 /* confdefs.h. */
25450 _ACEOF
25451 cat confdefs.h >>conftest.$ac_ext
25452 cat >>conftest.$ac_ext <<_ACEOF
25453 /* end confdefs.h. */
25454
25455 #ifdef HAVE_WCHAR_H
25456 # ifdef __CYGWIN__
25457 # include <stddef.h>
25458 # endif
25459 # include <wchar.h>
25460 #endif
25461 #ifdef HAVE_STDLIB_H
25462 # include <stdlib.h>
25463 #endif
25464 #include <stdio.h>
25465 #include <string>
25466
25467 int
25468 main ()
25469 {
25470 std::basic_string<$char_type> foo;
25471 const $char_type* dummy = foo.c_str();
25472 ;
25473 return 0;
25474 }
25475 _ACEOF
25476 rm -f conftest.$ac_objext
25477 if { (ac_try="$ac_compile"
25478 case "(($ac_try" in
25479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25480 *) ac_try_echo=$ac_try;;
25481 esac
25482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25483 (eval "$ac_compile") 2>conftest.er1
25484 ac_status=$?
25485 grep -v '^ *+' conftest.er1 >conftest.err
25486 rm -f conftest.er1
25487 cat conftest.err >&5
25488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489 (exit $ac_status); } && {
25490 test -z "$ac_cxx_werror_flag" ||
25491 test ! -s conftest.err
25492 } && test -s conftest.$ac_objext; then
25493 wx_cv_class_stdbasicstring=yes
25494 else
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.$ac_ext >&5
25497
25498 wx_cv_class_stdbasicstring=no
25499
25500 fi
25501
25502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25503
25504
25505 fi
25506 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25507 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25508
25509 if test "$wx_cv_class_stdbasicstring" != yes; then
25510 if test "$wxUSE_STL" = "yes"; then
25511 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25512 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25513 { (exit 1); exit 1; }; }
25514 elif test "$wxUSE_STD_STRING" = "yes"; then
25515 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25516 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25517 { (exit 1); exit 1; }; }
25518 else
25519 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25520 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25521 wxUSE_STD_STRING=no
25522 fi
25523 fi
25524 fi
25525 fi
25526
25527 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25528 { echo "$as_me:$LINENO: checking for std::istream" >&5
25529 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25530 if test "${ac_cv_type_std__istream+set}" = set; then
25531 echo $ECHO_N "(cached) $ECHO_C" >&6
25532 else
25533 cat >conftest.$ac_ext <<_ACEOF
25534 /* confdefs.h. */
25535 _ACEOF
25536 cat confdefs.h >>conftest.$ac_ext
25537 cat >>conftest.$ac_ext <<_ACEOF
25538 /* end confdefs.h. */
25539 #include <iostream>
25540
25541 typedef std::istream ac__type_new_;
25542 int
25543 main ()
25544 {
25545 if ((ac__type_new_ *) 0)
25546 return 0;
25547 if (sizeof (ac__type_new_))
25548 return 0;
25549 ;
25550 return 0;
25551 }
25552 _ACEOF
25553 rm -f conftest.$ac_objext
25554 if { (ac_try="$ac_compile"
25555 case "(($ac_try" in
25556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25557 *) ac_try_echo=$ac_try;;
25558 esac
25559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25560 (eval "$ac_compile") 2>conftest.er1
25561 ac_status=$?
25562 grep -v '^ *+' conftest.er1 >conftest.err
25563 rm -f conftest.er1
25564 cat conftest.err >&5
25565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25566 (exit $ac_status); } && {
25567 test -z "$ac_cxx_werror_flag" ||
25568 test ! -s conftest.err
25569 } && test -s conftest.$ac_objext; then
25570 ac_cv_type_std__istream=yes
25571 else
25572 echo "$as_me: failed program was:" >&5
25573 sed 's/^/| /' conftest.$ac_ext >&5
25574
25575 ac_cv_type_std__istream=no
25576 fi
25577
25578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25579 fi
25580 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25581 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25582 if test $ac_cv_type_std__istream = yes; then
25583
25584 cat >>confdefs.h <<_ACEOF
25585 #define HAVE_STD__ISTREAM 1
25586 _ACEOF
25587
25588
25589 else
25590 wxUSE_STD_IOSTREAM=no
25591 fi
25592 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25593 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25594 if test "${ac_cv_type_std__ostream+set}" = set; then
25595 echo $ECHO_N "(cached) $ECHO_C" >&6
25596 else
25597 cat >conftest.$ac_ext <<_ACEOF
25598 /* confdefs.h. */
25599 _ACEOF
25600 cat confdefs.h >>conftest.$ac_ext
25601 cat >>conftest.$ac_ext <<_ACEOF
25602 /* end confdefs.h. */
25603 #include <iostream>
25604
25605 typedef std::ostream ac__type_new_;
25606 int
25607 main ()
25608 {
25609 if ((ac__type_new_ *) 0)
25610 return 0;
25611 if (sizeof (ac__type_new_))
25612 return 0;
25613 ;
25614 return 0;
25615 }
25616 _ACEOF
25617 rm -f conftest.$ac_objext
25618 if { (ac_try="$ac_compile"
25619 case "(($ac_try" in
25620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25621 *) ac_try_echo=$ac_try;;
25622 esac
25623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25624 (eval "$ac_compile") 2>conftest.er1
25625 ac_status=$?
25626 grep -v '^ *+' conftest.er1 >conftest.err
25627 rm -f conftest.er1
25628 cat conftest.err >&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } && {
25631 test -z "$ac_cxx_werror_flag" ||
25632 test ! -s conftest.err
25633 } && test -s conftest.$ac_objext; then
25634 ac_cv_type_std__ostream=yes
25635 else
25636 echo "$as_me: failed program was:" >&5
25637 sed 's/^/| /' conftest.$ac_ext >&5
25638
25639 ac_cv_type_std__ostream=no
25640 fi
25641
25642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25643 fi
25644 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25645 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25646 if test $ac_cv_type_std__ostream = yes; then
25647
25648 cat >>confdefs.h <<_ACEOF
25649 #define HAVE_STD__OSTREAM 1
25650 _ACEOF
25651
25652
25653 else
25654 wxUSE_STD_IOSTREAM=no
25655 fi
25656
25657
25658 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25659 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25660 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25661 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25662 { (exit 1); exit 1; }; }
25663 else
25664 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25665 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25666 fi
25667 fi
25668 fi
25669
25670 if test "$wxUSE_STL" = "yes"; then
25671 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25672 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25673 if test "${wx_cv_lib_stl+set}" = set; then
25674 echo $ECHO_N "(cached) $ECHO_C" >&6
25675 else
25676 cat >conftest.$ac_ext <<_ACEOF
25677 /* confdefs.h. */
25678 _ACEOF
25679 cat confdefs.h >>conftest.$ac_ext
25680 cat >>conftest.$ac_ext <<_ACEOF
25681 /* end confdefs.h. */
25682 #include <string>
25683 #include <functional>
25684 #include <algorithm>
25685 #include <vector>
25686 #include <list>
25687 int
25688 main ()
25689 {
25690 std::vector<int> moo;
25691 std::list<int> foo;
25692 std::vector<int>::iterator it =
25693 std::find_if(moo.begin(), moo.end(),
25694 std::bind2nd(std::less<int>(), 3));
25695 ;
25696 return 0;
25697 }
25698 _ACEOF
25699 rm -f conftest.$ac_objext
25700 if { (ac_try="$ac_compile"
25701 case "(($ac_try" in
25702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25703 *) ac_try_echo=$ac_try;;
25704 esac
25705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25706 (eval "$ac_compile") 2>conftest.er1
25707 ac_status=$?
25708 grep -v '^ *+' conftest.er1 >conftest.err
25709 rm -f conftest.er1
25710 cat conftest.err >&5
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); } && {
25713 test -z "$ac_cxx_werror_flag" ||
25714 test ! -s conftest.err
25715 } && test -s conftest.$ac_objext; then
25716 wx_cv_lib_stl=yes
25717 else
25718 echo "$as_me: failed program was:" >&5
25719 sed 's/^/| /' conftest.$ac_ext >&5
25720
25721 wx_cv_lib_stl=no
25722
25723 fi
25724
25725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25726
25727 fi
25728 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25729 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25730
25731 if test "$wx_cv_lib_stl" != yes; then
25732 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25733 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25734 { (exit 1); exit 1; }; }
25735 fi
25736
25737 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25738 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25739 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25740 echo $ECHO_N "(cached) $ECHO_C" >&6
25741 else
25742 cat >conftest.$ac_ext <<_ACEOF
25743 /* confdefs.h. */
25744 _ACEOF
25745 cat confdefs.h >>conftest.$ac_ext
25746 cat >>conftest.$ac_ext <<_ACEOF
25747 /* end confdefs.h. */
25748 #include <string>
25749 int
25750 main ()
25751 {
25752 std::string foo, bar;
25753 foo.compare(bar);
25754 foo.compare(1, 1, bar);
25755 foo.compare(1, 1, bar, 1, 1);
25756 foo.compare("");
25757 foo.compare(1, 1, "");
25758 foo.compare(1, 1, "", 2);
25759 ;
25760 return 0;
25761 }
25762 _ACEOF
25763 rm -f conftest.$ac_objext
25764 if { (ac_try="$ac_compile"
25765 case "(($ac_try" in
25766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25767 *) ac_try_echo=$ac_try;;
25768 esac
25769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25770 (eval "$ac_compile") 2>conftest.er1
25771 ac_status=$?
25772 grep -v '^ *+' conftest.er1 >conftest.err
25773 rm -f conftest.er1
25774 cat conftest.err >&5
25775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776 (exit $ac_status); } && {
25777 test -z "$ac_cxx_werror_flag" ||
25778 test ! -s conftest.err
25779 } && test -s conftest.$ac_objext; then
25780 wx_cv_func_stdstring_compare=yes
25781 else
25782 echo "$as_me: failed program was:" >&5
25783 sed 's/^/| /' conftest.$ac_ext >&5
25784
25785 wx_cv_func_stdstring_compare=no
25786
25787 fi
25788
25789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25790
25791 fi
25792 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25793 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25794
25795 if test "$wx_cv_func_stdstring_compare" = yes; then
25796 cat >>confdefs.h <<\_ACEOF
25797 #define HAVE_STD_STRING_COMPARE 1
25798 _ACEOF
25799
25800 fi
25801
25802 if test "$wx_cv_class_gnuhashmapset" = yes; then
25803 cat >>confdefs.h <<\_ACEOF
25804 #define HAVE_EXT_HASH_MAP 1
25805 _ACEOF
25806
25807 cat >>confdefs.h <<\_ACEOF
25808 #define HAVE_GNU_CXX_HASH_MAP 1
25809 _ACEOF
25810
25811 fi
25812
25813 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25814 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25815 if test "${ac_cv_header_unordered_map+set}" = set; then
25816 echo $ECHO_N "(cached) $ECHO_C" >&6
25817 else
25818 cat >conftest.$ac_ext <<_ACEOF
25819 /* confdefs.h. */
25820 _ACEOF
25821 cat confdefs.h >>conftest.$ac_ext
25822 cat >>conftest.$ac_ext <<_ACEOF
25823 /* end confdefs.h. */
25824
25825
25826
25827 #include <unordered_map>
25828 _ACEOF
25829 rm -f conftest.$ac_objext
25830 if { (ac_try="$ac_compile"
25831 case "(($ac_try" in
25832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25833 *) ac_try_echo=$ac_try;;
25834 esac
25835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25836 (eval "$ac_compile") 2>conftest.er1
25837 ac_status=$?
25838 grep -v '^ *+' conftest.er1 >conftest.err
25839 rm -f conftest.er1
25840 cat conftest.err >&5
25841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25842 (exit $ac_status); } && {
25843 test -z "$ac_cxx_werror_flag" ||
25844 test ! -s conftest.err
25845 } && test -s conftest.$ac_objext; then
25846 ac_cv_header_unordered_map=yes
25847 else
25848 echo "$as_me: failed program was:" >&5
25849 sed 's/^/| /' conftest.$ac_ext >&5
25850
25851 ac_cv_header_unordered_map=no
25852 fi
25853
25854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25855 fi
25856 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25857 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25858 if test $ac_cv_header_unordered_map = yes; then
25859 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25860 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25861 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25862 echo $ECHO_N "(cached) $ECHO_C" >&6
25863 else
25864 cat >conftest.$ac_ext <<_ACEOF
25865 /* confdefs.h. */
25866 _ACEOF
25867 cat confdefs.h >>conftest.$ac_ext
25868 cat >>conftest.$ac_ext <<_ACEOF
25869 /* end confdefs.h. */
25870 #include <unordered_map>
25871 #include <unordered_set>
25872 int
25873 main ()
25874 {
25875 std::unordered_map<double*, char*> test1;
25876 std::unordered_set<char*> test2;
25877 ;
25878 return 0;
25879 }
25880 _ACEOF
25881 rm -f conftest.$ac_objext
25882 if { (ac_try="$ac_compile"
25883 case "(($ac_try" in
25884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25885 *) ac_try_echo=$ac_try;;
25886 esac
25887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25888 (eval "$ac_compile") 2>conftest.er1
25889 ac_status=$?
25890 grep -v '^ *+' conftest.er1 >conftest.err
25891 rm -f conftest.er1
25892 cat conftest.err >&5
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); } && {
25895 test -z "$ac_cxx_werror_flag" ||
25896 test ! -s conftest.err
25897 } && test -s conftest.$ac_objext; then
25898 wx_cv_class_stdunorderedmapset=yes
25899 else
25900 echo "$as_me: failed program was:" >&5
25901 sed 's/^/| /' conftest.$ac_ext >&5
25902
25903 wx_cv_class_stdunorderedmapset=no
25904 fi
25905
25906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25907
25908
25909 fi
25910 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25911 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25912 fi
25913
25914
25915
25916 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25917 cat >>confdefs.h <<\_ACEOF
25918 #define HAVE_STD_UNORDERED_MAP 1
25919 _ACEOF
25920
25921 cat >>confdefs.h <<\_ACEOF
25922 #define HAVE_STD_UNORDERED_SET 1
25923 _ACEOF
25924
25925 else
25926 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25927 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25928 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25929 echo $ECHO_N "(cached) $ECHO_C" >&6
25930 else
25931 cat >conftest.$ac_ext <<_ACEOF
25932 /* confdefs.h. */
25933 _ACEOF
25934 cat confdefs.h >>conftest.$ac_ext
25935 cat >>conftest.$ac_ext <<_ACEOF
25936 /* end confdefs.h. */
25937
25938
25939
25940 #include <tr1/unordered_map>
25941 _ACEOF
25942 rm -f conftest.$ac_objext
25943 if { (ac_try="$ac_compile"
25944 case "(($ac_try" in
25945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25946 *) ac_try_echo=$ac_try;;
25947 esac
25948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25949 (eval "$ac_compile") 2>conftest.er1
25950 ac_status=$?
25951 grep -v '^ *+' conftest.er1 >conftest.err
25952 rm -f conftest.er1
25953 cat conftest.err >&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); } && {
25956 test -z "$ac_cxx_werror_flag" ||
25957 test ! -s conftest.err
25958 } && test -s conftest.$ac_objext; then
25959 ac_cv_header_tr1_unordered_map=yes
25960 else
25961 echo "$as_me: failed program was:" >&5
25962 sed 's/^/| /' conftest.$ac_ext >&5
25963
25964 ac_cv_header_tr1_unordered_map=no
25965 fi
25966
25967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25968 fi
25969 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25970 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25971 if test $ac_cv_header_tr1_unordered_map = yes; then
25972 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25973 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25974 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25975 echo $ECHO_N "(cached) $ECHO_C" >&6
25976 else
25977 cat >conftest.$ac_ext <<_ACEOF
25978 /* confdefs.h. */
25979 _ACEOF
25980 cat confdefs.h >>conftest.$ac_ext
25981 cat >>conftest.$ac_ext <<_ACEOF
25982 /* end confdefs.h. */
25983 #include <tr1/unordered_map>
25984 #include <tr1/unordered_set>
25985 int
25986 main ()
25987 {
25988 std::tr1::unordered_map<double*, char*> test1;
25989 std::tr1::unordered_set<char*> test2;
25990 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25991 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25992 #endif
25993 ;
25994 return 0;
25995 }
25996 _ACEOF
25997 rm -f conftest.$ac_objext
25998 if { (ac_try="$ac_compile"
25999 case "(($ac_try" in
26000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26001 *) ac_try_echo=$ac_try;;
26002 esac
26003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26004 (eval "$ac_compile") 2>conftest.er1
26005 ac_status=$?
26006 grep -v '^ *+' conftest.er1 >conftest.err
26007 rm -f conftest.er1
26008 cat conftest.err >&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } && {
26011 test -z "$ac_cxx_werror_flag" ||
26012 test ! -s conftest.err
26013 } && test -s conftest.$ac_objext; then
26014 wx_cv_class_tr1unorderedmapset=yes
26015 else
26016 echo "$as_me: failed program was:" >&5
26017 sed 's/^/| /' conftest.$ac_ext >&5
26018
26019 wx_cv_class_tr1unorderedmapset=no
26020 fi
26021
26022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26023
26024
26025 fi
26026 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26027 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26028 fi
26029
26030
26031
26032 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26033 cat >>confdefs.h <<\_ACEOF
26034 #define HAVE_TR1_UNORDERED_MAP 1
26035 _ACEOF
26036
26037 cat >>confdefs.h <<\_ACEOF
26038 #define HAVE_TR1_UNORDERED_SET 1
26039 _ACEOF
26040
26041 else
26042 { echo "$as_me:$LINENO: checking for hash_map" >&5
26043 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26044 if test "${ac_cv_header_hash_map+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26046 else
26047 cat >conftest.$ac_ext <<_ACEOF
26048 /* confdefs.h. */
26049 _ACEOF
26050 cat confdefs.h >>conftest.$ac_ext
26051 cat >>conftest.$ac_ext <<_ACEOF
26052 /* end confdefs.h. */
26053
26054
26055
26056 #include <hash_map>
26057 _ACEOF
26058 rm -f conftest.$ac_objext
26059 if { (ac_try="$ac_compile"
26060 case "(($ac_try" in
26061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26062 *) ac_try_echo=$ac_try;;
26063 esac
26064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26065 (eval "$ac_compile") 2>conftest.er1
26066 ac_status=$?
26067 grep -v '^ *+' conftest.er1 >conftest.err
26068 rm -f conftest.er1
26069 cat conftest.err >&5
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); } && {
26072 test -z "$ac_cxx_werror_flag" ||
26073 test ! -s conftest.err
26074 } && test -s conftest.$ac_objext; then
26075 ac_cv_header_hash_map=yes
26076 else
26077 echo "$as_me: failed program was:" >&5
26078 sed 's/^/| /' conftest.$ac_ext >&5
26079
26080 ac_cv_header_hash_map=no
26081 fi
26082
26083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26084 fi
26085 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26086 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26087 if test $ac_cv_header_hash_map = yes; then
26088 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26089 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26090 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26091 echo $ECHO_N "(cached) $ECHO_C" >&6
26092 else
26093 cat >conftest.$ac_ext <<_ACEOF
26094 /* confdefs.h. */
26095 _ACEOF
26096 cat confdefs.h >>conftest.$ac_ext
26097 cat >>conftest.$ac_ext <<_ACEOF
26098 /* end confdefs.h. */
26099 #include <hash_map>
26100 #include <hash_set>
26101 int
26102 main ()
26103 {
26104 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26105 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26106 ;
26107 return 0;
26108 }
26109 _ACEOF
26110 rm -f conftest.$ac_objext
26111 if { (ac_try="$ac_compile"
26112 case "(($ac_try" in
26113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26114 *) ac_try_echo=$ac_try;;
26115 esac
26116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26117 (eval "$ac_compile") 2>conftest.er1
26118 ac_status=$?
26119 grep -v '^ *+' conftest.er1 >conftest.err
26120 rm -f conftest.er1
26121 cat conftest.err >&5
26122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123 (exit $ac_status); } && {
26124 test -z "$ac_cxx_werror_flag" ||
26125 test ! -s conftest.err
26126 } && test -s conftest.$ac_objext; then
26127 wx_cv_class_stdhashmapset=yes
26128 else
26129 echo "$as_me: failed program was:" >&5
26130 sed 's/^/| /' conftest.$ac_ext >&5
26131
26132 wx_cv_class_stdhashmapset=no
26133 fi
26134
26135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26136
26137
26138 fi
26139 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26140 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26141 fi
26142
26143
26144
26145 if test "$wx_cv_class_stdhashmapset" = yes; then
26146 cat >>confdefs.h <<\_ACEOF
26147 #define HAVE_HASH_MAP 1
26148 _ACEOF
26149
26150 cat >>confdefs.h <<\_ACEOF
26151 #define HAVE_STD_HASH_MAP 1
26152 _ACEOF
26153
26154 fi
26155
26156 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26157 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26158 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26159 echo $ECHO_N "(cached) $ECHO_C" >&6
26160 else
26161 cat >conftest.$ac_ext <<_ACEOF
26162 /* confdefs.h. */
26163 _ACEOF
26164 cat confdefs.h >>conftest.$ac_ext
26165 cat >>conftest.$ac_ext <<_ACEOF
26166 /* end confdefs.h. */
26167
26168
26169
26170 #include <ext/hash_map>
26171 _ACEOF
26172 rm -f conftest.$ac_objext
26173 if { (ac_try="$ac_compile"
26174 case "(($ac_try" in
26175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26176 *) ac_try_echo=$ac_try;;
26177 esac
26178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26179 (eval "$ac_compile") 2>conftest.er1
26180 ac_status=$?
26181 grep -v '^ *+' conftest.er1 >conftest.err
26182 rm -f conftest.er1
26183 cat conftest.err >&5
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); } && {
26186 test -z "$ac_cxx_werror_flag" ||
26187 test ! -s conftest.err
26188 } && test -s conftest.$ac_objext; then
26189 ac_cv_header_ext_hash_map=yes
26190 else
26191 echo "$as_me: failed program was:" >&5
26192 sed 's/^/| /' conftest.$ac_ext >&5
26193
26194 ac_cv_header_ext_hash_map=no
26195 fi
26196
26197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26198 fi
26199 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26200 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26201 if test $ac_cv_header_ext_hash_map = yes; then
26202 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26203 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26204 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26205 echo $ECHO_N "(cached) $ECHO_C" >&6
26206 else
26207 cat >conftest.$ac_ext <<_ACEOF
26208 /* confdefs.h. */
26209 _ACEOF
26210 cat confdefs.h >>conftest.$ac_ext
26211 cat >>conftest.$ac_ext <<_ACEOF
26212 /* end confdefs.h. */
26213 #include <ext/hash_map>
26214 #include <ext/hash_set>
26215 int
26216 main ()
26217 {
26218 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26219 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26220 ;
26221 return 0;
26222 }
26223 _ACEOF
26224 rm -f conftest.$ac_objext
26225 if { (ac_try="$ac_compile"
26226 case "(($ac_try" in
26227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26228 *) ac_try_echo=$ac_try;;
26229 esac
26230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26231 (eval "$ac_compile") 2>conftest.er1
26232 ac_status=$?
26233 grep -v '^ *+' conftest.er1 >conftest.err
26234 rm -f conftest.er1
26235 cat conftest.err >&5
26236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 (exit $ac_status); } && {
26238 test -z "$ac_cxx_werror_flag" ||
26239 test ! -s conftest.err
26240 } && test -s conftest.$ac_objext; then
26241 wx_cv_class_gnuhashmapset=yes
26242 else
26243 echo "$as_me: failed program was:" >&5
26244 sed 's/^/| /' conftest.$ac_ext >&5
26245
26246 wx_cv_class_gnuhashmapset=no
26247 fi
26248
26249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26250
26251
26252 fi
26253 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26254 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26255 fi
26256
26257
26258
26259 fi
26260 fi
26261 fi
26262
26263 ac_ext=cpp
26264 ac_cpp='$CXXCPP $CPPFLAGS'
26265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26268 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26269 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26270 if test -z "$CXXCPP"; then
26271 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26272 echo $ECHO_N "(cached) $ECHO_C" >&6
26273 else
26274 # Double quotes because CXXCPP needs to be expanded
26275 for CXXCPP in "$CXX -E" "/lib/cpp"
26276 do
26277 ac_preproc_ok=false
26278 for ac_cxx_preproc_warn_flag in '' yes
26279 do
26280 # Use a header file that comes with gcc, so configuring glibc
26281 # with a fresh cross-compiler works.
26282 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26283 # <limits.h> exists even on freestanding compilers.
26284 # On the NeXT, cc -E runs the code through the compiler's parser,
26285 # not just through cpp. "Syntax error" is here to catch this case.
26286 cat >conftest.$ac_ext <<_ACEOF
26287 /* confdefs.h. */
26288 _ACEOF
26289 cat confdefs.h >>conftest.$ac_ext
26290 cat >>conftest.$ac_ext <<_ACEOF
26291 /* end confdefs.h. */
26292 #ifdef __STDC__
26293 # include <limits.h>
26294 #else
26295 # include <assert.h>
26296 #endif
26297 Syntax error
26298 _ACEOF
26299 if { (ac_try="$ac_cpp conftest.$ac_ext"
26300 case "(($ac_try" in
26301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26302 *) ac_try_echo=$ac_try;;
26303 esac
26304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26306 ac_status=$?
26307 grep -v '^ *+' conftest.er1 >conftest.err
26308 rm -f conftest.er1
26309 cat conftest.err >&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); } >/dev/null && {
26312 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26313 test ! -s conftest.err
26314 }; then
26315 :
26316 else
26317 echo "$as_me: failed program was:" >&5
26318 sed 's/^/| /' conftest.$ac_ext >&5
26319
26320 # Broken: fails on valid input.
26321 continue
26322 fi
26323
26324 rm -f conftest.err conftest.$ac_ext
26325
26326 # OK, works on sane cases. Now check whether nonexistent headers
26327 # can be detected and how.
26328 cat >conftest.$ac_ext <<_ACEOF
26329 /* confdefs.h. */
26330 _ACEOF
26331 cat confdefs.h >>conftest.$ac_ext
26332 cat >>conftest.$ac_ext <<_ACEOF
26333 /* end confdefs.h. */
26334 #include <ac_nonexistent.h>
26335 _ACEOF
26336 if { (ac_try="$ac_cpp conftest.$ac_ext"
26337 case "(($ac_try" in
26338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26339 *) ac_try_echo=$ac_try;;
26340 esac
26341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26343 ac_status=$?
26344 grep -v '^ *+' conftest.er1 >conftest.err
26345 rm -f conftest.er1
26346 cat conftest.err >&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); } >/dev/null && {
26349 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26350 test ! -s conftest.err
26351 }; then
26352 # Broken: success on invalid input.
26353 continue
26354 else
26355 echo "$as_me: failed program was:" >&5
26356 sed 's/^/| /' conftest.$ac_ext >&5
26357
26358 # Passes both tests.
26359 ac_preproc_ok=:
26360 break
26361 fi
26362
26363 rm -f conftest.err conftest.$ac_ext
26364
26365 done
26366 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26367 rm -f conftest.err conftest.$ac_ext
26368 if $ac_preproc_ok; then
26369 break
26370 fi
26371
26372 done
26373 ac_cv_prog_CXXCPP=$CXXCPP
26374
26375 fi
26376 CXXCPP=$ac_cv_prog_CXXCPP
26377 else
26378 ac_cv_prog_CXXCPP=$CXXCPP
26379 fi
26380 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26381 echo "${ECHO_T}$CXXCPP" >&6; }
26382 ac_preproc_ok=false
26383 for ac_cxx_preproc_warn_flag in '' yes
26384 do
26385 # Use a header file that comes with gcc, so configuring glibc
26386 # with a fresh cross-compiler works.
26387 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26388 # <limits.h> exists even on freestanding compilers.
26389 # On the NeXT, cc -E runs the code through the compiler's parser,
26390 # not just through cpp. "Syntax error" is here to catch this case.
26391 cat >conftest.$ac_ext <<_ACEOF
26392 /* confdefs.h. */
26393 _ACEOF
26394 cat confdefs.h >>conftest.$ac_ext
26395 cat >>conftest.$ac_ext <<_ACEOF
26396 /* end confdefs.h. */
26397 #ifdef __STDC__
26398 # include <limits.h>
26399 #else
26400 # include <assert.h>
26401 #endif
26402 Syntax error
26403 _ACEOF
26404 if { (ac_try="$ac_cpp conftest.$ac_ext"
26405 case "(($ac_try" in
26406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26407 *) ac_try_echo=$ac_try;;
26408 esac
26409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26410 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26411 ac_status=$?
26412 grep -v '^ *+' conftest.er1 >conftest.err
26413 rm -f conftest.er1
26414 cat conftest.err >&5
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); } >/dev/null && {
26417 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26418 test ! -s conftest.err
26419 }; then
26420 :
26421 else
26422 echo "$as_me: failed program was:" >&5
26423 sed 's/^/| /' conftest.$ac_ext >&5
26424
26425 # Broken: fails on valid input.
26426 continue
26427 fi
26428
26429 rm -f conftest.err conftest.$ac_ext
26430
26431 # OK, works on sane cases. Now check whether nonexistent headers
26432 # can be detected and how.
26433 cat >conftest.$ac_ext <<_ACEOF
26434 /* confdefs.h. */
26435 _ACEOF
26436 cat confdefs.h >>conftest.$ac_ext
26437 cat >>conftest.$ac_ext <<_ACEOF
26438 /* end confdefs.h. */
26439 #include <ac_nonexistent.h>
26440 _ACEOF
26441 if { (ac_try="$ac_cpp conftest.$ac_ext"
26442 case "(($ac_try" in
26443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26444 *) ac_try_echo=$ac_try;;
26445 esac
26446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26447 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26448 ac_status=$?
26449 grep -v '^ *+' conftest.er1 >conftest.err
26450 rm -f conftest.er1
26451 cat conftest.err >&5
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); } >/dev/null && {
26454 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26455 test ! -s conftest.err
26456 }; then
26457 # Broken: success on invalid input.
26458 continue
26459 else
26460 echo "$as_me: failed program was:" >&5
26461 sed 's/^/| /' conftest.$ac_ext >&5
26462
26463 # Passes both tests.
26464 ac_preproc_ok=:
26465 break
26466 fi
26467
26468 rm -f conftest.err conftest.$ac_ext
26469
26470 done
26471 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26472 rm -f conftest.err conftest.$ac_ext
26473 if $ac_preproc_ok; then
26474 :
26475 else
26476 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26477 See \`config.log' for more details." >&5
26478 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26479 See \`config.log' for more details." >&2;}
26480 { (exit 1); exit 1; }; }
26481 fi
26482
26483 ac_ext=cpp
26484 ac_cpp='$CXXCPP $CPPFLAGS'
26485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26488
26489
26490
26491
26492 for ac_header in type_traits tr1/type_traits
26493 do
26494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26495 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26499 echo $ECHO_N "(cached) $ECHO_C" >&6
26500 fi
26501 ac_res=`eval echo '${'$as_ac_Header'}'`
26502 { echo "$as_me:$LINENO: result: $ac_res" >&5
26503 echo "${ECHO_T}$ac_res" >&6; }
26504 else
26505 # Is the header compilable?
26506 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26508 cat >conftest.$ac_ext <<_ACEOF
26509 /* confdefs.h. */
26510 _ACEOF
26511 cat confdefs.h >>conftest.$ac_ext
26512 cat >>conftest.$ac_ext <<_ACEOF
26513 /* end confdefs.h. */
26514 $ac_includes_default
26515 #include <$ac_header>
26516 _ACEOF
26517 rm -f conftest.$ac_objext
26518 if { (ac_try="$ac_compile"
26519 case "(($ac_try" in
26520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26521 *) ac_try_echo=$ac_try;;
26522 esac
26523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26524 (eval "$ac_compile") 2>conftest.er1
26525 ac_status=$?
26526 grep -v '^ *+' conftest.er1 >conftest.err
26527 rm -f conftest.er1
26528 cat conftest.err >&5
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); } && {
26531 test -z "$ac_cxx_werror_flag" ||
26532 test ! -s conftest.err
26533 } && test -s conftest.$ac_objext; then
26534 ac_header_compiler=yes
26535 else
26536 echo "$as_me: failed program was:" >&5
26537 sed 's/^/| /' conftest.$ac_ext >&5
26538
26539 ac_header_compiler=no
26540 fi
26541
26542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26543 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26544 echo "${ECHO_T}$ac_header_compiler" >&6; }
26545
26546 # Is the header present?
26547 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26548 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26549 cat >conftest.$ac_ext <<_ACEOF
26550 /* confdefs.h. */
26551 _ACEOF
26552 cat confdefs.h >>conftest.$ac_ext
26553 cat >>conftest.$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26555 #include <$ac_header>
26556 _ACEOF
26557 if { (ac_try="$ac_cpp conftest.$ac_ext"
26558 case "(($ac_try" in
26559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26560 *) ac_try_echo=$ac_try;;
26561 esac
26562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26564 ac_status=$?
26565 grep -v '^ *+' conftest.er1 >conftest.err
26566 rm -f conftest.er1
26567 cat conftest.err >&5
26568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569 (exit $ac_status); } >/dev/null && {
26570 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26571 test ! -s conftest.err
26572 }; then
26573 ac_header_preproc=yes
26574 else
26575 echo "$as_me: failed program was:" >&5
26576 sed 's/^/| /' conftest.$ac_ext >&5
26577
26578 ac_header_preproc=no
26579 fi
26580
26581 rm -f conftest.err conftest.$ac_ext
26582 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26583 echo "${ECHO_T}$ac_header_preproc" >&6; }
26584
26585 # So? What about this header?
26586 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26587 yes:no: )
26588 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26589 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26591 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26592 ac_header_preproc=yes
26593 ;;
26594 no:yes:* )
26595 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26596 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26597 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26598 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26599 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26600 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26601 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26602 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26605 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26606 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26607 ( cat <<\_ASBOX
26608 ## ----------------------------------------- ##
26609 ## Report this to wx-dev@lists.wxwidgets.org ##
26610 ## ----------------------------------------- ##
26611 _ASBOX
26612 ) | sed "s/^/$as_me: WARNING: /" >&2
26613 ;;
26614 esac
26615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26618 echo $ECHO_N "(cached) $ECHO_C" >&6
26619 else
26620 eval "$as_ac_Header=\$ac_header_preproc"
26621 fi
26622 ac_res=`eval echo '${'$as_ac_Header'}'`
26623 { echo "$as_me:$LINENO: result: $ac_res" >&5
26624 echo "${ECHO_T}$ac_res" >&6; }
26625
26626 fi
26627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26628 cat >>confdefs.h <<_ACEOF
26629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26630 _ACEOF
26631
26632 fi
26633
26634 done
26635
26636
26637
26638
26639 if test -n "$GCC"; then
26640 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26641 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26642 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26643 echo $ECHO_N "(cached) $ECHO_C" >&6
26644 else
26645
26646 cat >conftest.$ac_ext <<_ACEOF
26647 /* confdefs.h. */
26648 _ACEOF
26649 cat confdefs.h >>conftest.$ac_ext
26650 cat >>conftest.$ac_ext <<_ACEOF
26651 /* end confdefs.h. */
26652
26653 int
26654 main ()
26655 {
26656
26657 unsigned int value=0;
26658 /* wxAtomicInc doesn't use return value here */
26659 __sync_fetch_and_add(&value, 2);
26660 __sync_sub_and_fetch(&value, 1);
26661 /* but wxAtomicDec does, so mimic that: */
26662 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26663
26664 ;
26665 return 0;
26666 }
26667 _ACEOF
26668 rm -f conftest.$ac_objext conftest$ac_exeext
26669 if { (ac_try="$ac_link"
26670 case "(($ac_try" in
26671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26672 *) ac_try_echo=$ac_try;;
26673 esac
26674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26675 (eval "$ac_link") 2>conftest.er1
26676 ac_status=$?
26677 grep -v '^ *+' conftest.er1 >conftest.err
26678 rm -f conftest.er1
26679 cat conftest.err >&5
26680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681 (exit $ac_status); } && {
26682 test -z "$ac_cxx_werror_flag" ||
26683 test ! -s conftest.err
26684 } && test -s conftest$ac_exeext &&
26685 $as_test_x conftest$ac_exeext; then
26686 wx_cv_cc_gcc_atomic_builtins=yes
26687 else
26688 echo "$as_me: failed program was:" >&5
26689 sed 's/^/| /' conftest.$ac_ext >&5
26690
26691 wx_cv_cc_gcc_atomic_builtins=no
26692 fi
26693
26694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26695 conftest$ac_exeext conftest.$ac_ext
26696
26697 fi
26698
26699 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26700 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26701 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26702 cat >>confdefs.h <<\_ACEOF
26703 #define HAVE_GCC_ATOMIC_BUILTINS 1
26704 _ACEOF
26705
26706 fi
26707 fi
26708
26709
26710 ac_ext=c
26711 ac_cpp='$CPP $CPPFLAGS'
26712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26715
26716
26717
26718 SEARCH_INCLUDE="\
26719 /usr/local/include \
26720 /usr/local/X11/include \
26721 /usr/local/include/X11 \
26722 /usr/local/X11R7/include \
26723 /usr/local/X11R6/include \
26724 /usr/local/include/X11R7 \
26725 /usr/local/include/X11R6 \
26726 \
26727 /usr/Motif-2.1/include \
26728 /usr/Motif-1.2/include \
26729 /usr/include/Motif1.2 \
26730 \
26731 /usr/dt/include \
26732 /usr/openwin/include \
26733 \
26734 /usr/include/Xm \
26735 \
26736 /usr/X11R7/include \
26737 /usr/X11R6/include \
26738 /usr/X11R6.4/include \
26739 \
26740 /usr/include/X11R7 \
26741 /usr/include/X11R6 \
26742 \
26743 /usr/X11/include \
26744 /usr/include/X11 \
26745 \
26746 /usr/XFree86/include/X11 \
26747 /usr/pkg/include \
26748 \
26749 /usr/local/X1R5/include \
26750 /usr/local/include/X11R5 \
26751 /usr/X11R5/include \
26752 /usr/include/X11R5 \
26753 \
26754 /usr/local/X11R4/include \
26755 /usr/local/include/X11R4 \
26756 /usr/X11R4/include \
26757 /usr/include/X11R4 \
26758 \
26759 /usr/openwin/share/include"
26760
26761 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26762 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26763
26764 case "${host}" in
26765 *-*-irix6* )
26766 if test "${wx_cv_std_libpath+set}" = set; then
26767 echo $ECHO_N "(cached) $ECHO_C" >&6
26768 else
26769
26770 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26771 for e in a so sl dylib dll.a; do
26772 libc="$d/libc.$e"
26773 if test -f $libc; then
26774 save_LIBS="$LIBS"
26775 LIBS="$libc"
26776 cat >conftest.$ac_ext <<_ACEOF
26777 int main() { return 0; }
26778 _ACEOF
26779 rm -f conftest.$ac_objext conftest$ac_exeext
26780 if { (ac_try="$ac_link"
26781 case "(($ac_try" in
26782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26783 *) ac_try_echo=$ac_try;;
26784 esac
26785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26786 (eval "$ac_link") 2>conftest.er1
26787 ac_status=$?
26788 grep -v '^ *+' conftest.er1 >conftest.err
26789 rm -f conftest.er1
26790 cat conftest.err >&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); } && {
26793 test -z "$ac_c_werror_flag" ||
26794 test ! -s conftest.err
26795 } && test -s conftest$ac_exeext &&
26796 $as_test_x conftest$ac_exeext; then
26797 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26798 else
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.$ac_ext >&5
26801
26802
26803 fi
26804
26805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26806 conftest$ac_exeext conftest.$ac_ext
26807 LIBS="$save_LIBS"
26808 if test "x$wx_cv_std_libpath" != "x"; then
26809 break 2
26810 fi
26811 fi
26812 done
26813 done
26814 if test "x$wx_cv_std_libpath" = "x"; then
26815 wx_cv_std_libpath="lib"
26816 fi
26817
26818
26819 fi
26820
26821 ;;
26822
26823 *-*-solaris2* )
26824 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26825 wx_cv_std_libpath="lib/64"
26826 else
26827 wx_cv_std_libpath="lib"
26828 fi
26829 ;;
26830
26831 *-*-linux* )
26832 if test "$ac_cv_sizeof_void_p" = 8 -a \
26833 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26834 wx_cv_std_libpath="lib64"
26835 else
26836 wx_cv_std_libpath="lib"
26837 fi
26838 ;;
26839
26840 *)
26841 wx_cv_std_libpath="lib";
26842 ;;
26843 esac
26844
26845 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26846 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26847
26848 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26849
26850 if test "$build" != "$host" -a "$GCC" = yes; then
26851 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26852 cross_root=`dirname $cross_root`
26853 cross_root=`dirname $cross_root`
26854
26855 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26856 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26857 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26858
26859 if test -z "$PKG_CONFIG_PATH"; then
26860 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26861 export PKG_CONFIG_PATH
26862 fi
26863
26864 if test -z "$x_includes" -o "$x_includes" = NONE; then
26865
26866 ac_find_includes=
26867 for ac_dir in $SEARCH_INCLUDE /usr/include
26868 do
26869 if test -f "$ac_dir/X11/Intrinsic.h"; then
26870 ac_find_includes=$ac_dir
26871 break
26872 fi
26873 done
26874
26875 x_includes=$ac_find_includes
26876 fi
26877 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26878
26879 ac_find_libraries=
26880 for ac_dir in $SEARCH_LIB
26881 do
26882 for ac_extension in a so sl dylib dll.a; do
26883 if test -f "$ac_dir/libXt.$ac_extension"; then
26884 ac_find_libraries=$ac_dir
26885 break 2
26886 fi
26887 done
26888 done
26889
26890 x_libraries=$ac_find_libraries
26891 fi
26892 fi
26893 fi
26894
26895
26896 cat >confcache <<\_ACEOF
26897 # This file is a shell script that caches the results of configure
26898 # tests run on this system so they can be shared between configure
26899 # scripts and configure runs, see configure's option --config-cache.
26900 # It is not useful on other systems. If it contains results you don't
26901 # want to keep, you may remove or edit it.
26902 #
26903 # config.status only pays attention to the cache file if you give it
26904 # the --recheck option to rerun configure.
26905 #
26906 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26907 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26908 # following values.
26909
26910 _ACEOF
26911
26912 # The following way of writing the cache mishandles newlines in values,
26913 # but we know of no workaround that is simple, portable, and efficient.
26914 # So, we kill variables containing newlines.
26915 # Ultrix sh set writes to stderr and can't be redirected directly,
26916 # and sets the high bit in the cache file unless we assign to the vars.
26917 (
26918 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26919 eval ac_val=\$$ac_var
26920 case $ac_val in #(
26921 *${as_nl}*)
26922 case $ac_var in #(
26923 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26924 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26925 esac
26926 case $ac_var in #(
26927 _ | IFS | as_nl) ;; #(
26928 *) $as_unset $ac_var ;;
26929 esac ;;
26930 esac
26931 done
26932
26933 (set) 2>&1 |
26934 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26935 *${as_nl}ac_space=\ *)
26936 # `set' does not quote correctly, so add quotes (double-quote
26937 # substitution turns \\\\ into \\, and sed turns \\ into \).
26938 sed -n \
26939 "s/'/'\\\\''/g;
26940 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26941 ;; #(
26942 *)
26943 # `set' quotes correctly as required by POSIX, so do not add quotes.
26944 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26945 ;;
26946 esac |
26947 sort
26948 ) |
26949 sed '
26950 /^ac_cv_env_/b end
26951 t clear
26952 :clear
26953 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26954 t end
26955 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26956 :end' >>confcache
26957 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26958 if test -w "$cache_file"; then
26959 test "x$cache_file" != "x/dev/null" &&
26960 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26961 echo "$as_me: updating cache $cache_file" >&6;}
26962 cat confcache >$cache_file
26963 else
26964 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26965 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26966 fi
26967 fi
26968 rm -f confcache
26969
26970 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26971 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26972 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26973 if test "${wx_cv_lib_glibc21+set}" = set; then
26974 echo $ECHO_N "(cached) $ECHO_C" >&6
26975 else
26976
26977 cat >conftest.$ac_ext <<_ACEOF
26978 /* confdefs.h. */
26979 _ACEOF
26980 cat confdefs.h >>conftest.$ac_ext
26981 cat >>conftest.$ac_ext <<_ACEOF
26982 /* end confdefs.h. */
26983 #include <features.h>
26984 int
26985 main ()
26986 {
26987
26988 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26989 not glibc 2.1
26990 #endif
26991
26992 ;
26993 return 0;
26994 }
26995 _ACEOF
26996 rm -f conftest.$ac_objext
26997 if { (ac_try="$ac_compile"
26998 case "(($ac_try" in
26999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27000 *) ac_try_echo=$ac_try;;
27001 esac
27002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27003 (eval "$ac_compile") 2>conftest.er1
27004 ac_status=$?
27005 grep -v '^ *+' conftest.er1 >conftest.err
27006 rm -f conftest.er1
27007 cat conftest.err >&5
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); } && {
27010 test -z "$ac_c_werror_flag" ||
27011 test ! -s conftest.err
27012 } && test -s conftest.$ac_objext; then
27013
27014 wx_cv_lib_glibc21=yes
27015
27016 else
27017 echo "$as_me: failed program was:" >&5
27018 sed 's/^/| /' conftest.$ac_ext >&5
27019
27020
27021 wx_cv_lib_glibc21=no
27022
27023
27024 fi
27025
27026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27027
27028 fi
27029 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27030 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27031 if test "$wx_cv_lib_glibc21" = "yes"; then
27032 cat >>confdefs.h <<\_ACEOF
27033 #define wxHAVE_GLIBC2 1
27034 _ACEOF
27035
27036 fi
27037 fi
27038
27039 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27040 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27041 cat >>confdefs.h <<\_ACEOF
27042 #define _GNU_SOURCE 1
27043 _ACEOF
27044
27045 fi
27046 fi
27047
27048 have_cos=0
27049 have_floor=0
27050
27051 for ac_func in cos
27052 do
27053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27054 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27056 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27057 echo $ECHO_N "(cached) $ECHO_C" >&6
27058 else
27059 cat >conftest.$ac_ext <<_ACEOF
27060 /* confdefs.h. */
27061 _ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27067 #define $ac_func innocuous_$ac_func
27068
27069 /* System header to define __stub macros and hopefully few prototypes,
27070 which can conflict with char $ac_func (); below.
27071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27072 <limits.h> exists even on freestanding compilers. */
27073
27074 #ifdef __STDC__
27075 # include <limits.h>
27076 #else
27077 # include <assert.h>
27078 #endif
27079
27080 #undef $ac_func
27081
27082 /* Override any GCC internal prototype to avoid an error.
27083 Use char because int might match the return type of a GCC
27084 builtin and then its argument prototype would still apply. */
27085 #ifdef __cplusplus
27086 extern "C"
27087 #endif
27088 char $ac_func ();
27089 /* The GNU C library defines this for functions which it implements
27090 to always fail with ENOSYS. Some functions are actually named
27091 something starting with __ and the normal name is an alias. */
27092 #if defined __stub_$ac_func || defined __stub___$ac_func
27093 choke me
27094 #endif
27095
27096 int
27097 main ()
27098 {
27099 return $ac_func ();
27100 ;
27101 return 0;
27102 }
27103 _ACEOF
27104 rm -f conftest.$ac_objext conftest$ac_exeext
27105 if { (ac_try="$ac_link"
27106 case "(($ac_try" in
27107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27108 *) ac_try_echo=$ac_try;;
27109 esac
27110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27111 (eval "$ac_link") 2>conftest.er1
27112 ac_status=$?
27113 grep -v '^ *+' conftest.er1 >conftest.err
27114 rm -f conftest.er1
27115 cat conftest.err >&5
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); } && {
27118 test -z "$ac_c_werror_flag" ||
27119 test ! -s conftest.err
27120 } && test -s conftest$ac_exeext &&
27121 $as_test_x conftest$ac_exeext; then
27122 eval "$as_ac_var=yes"
27123 else
27124 echo "$as_me: failed program was:" >&5
27125 sed 's/^/| /' conftest.$ac_ext >&5
27126
27127 eval "$as_ac_var=no"
27128 fi
27129
27130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27131 conftest$ac_exeext conftest.$ac_ext
27132 fi
27133 ac_res=`eval echo '${'$as_ac_var'}'`
27134 { echo "$as_me:$LINENO: result: $ac_res" >&5
27135 echo "${ECHO_T}$ac_res" >&6; }
27136 if test `eval echo '${'$as_ac_var'}'` = yes; then
27137 cat >>confdefs.h <<_ACEOF
27138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27139 _ACEOF
27140 have_cos=1
27141 fi
27142 done
27143
27144
27145 for ac_func in floor
27146 do
27147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27148 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27150 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27151 echo $ECHO_N "(cached) $ECHO_C" >&6
27152 else
27153 cat >conftest.$ac_ext <<_ACEOF
27154 /* confdefs.h. */
27155 _ACEOF
27156 cat confdefs.h >>conftest.$ac_ext
27157 cat >>conftest.$ac_ext <<_ACEOF
27158 /* end confdefs.h. */
27159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27161 #define $ac_func innocuous_$ac_func
27162
27163 /* System header to define __stub macros and hopefully few prototypes,
27164 which can conflict with char $ac_func (); below.
27165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27166 <limits.h> exists even on freestanding compilers. */
27167
27168 #ifdef __STDC__
27169 # include <limits.h>
27170 #else
27171 # include <assert.h>
27172 #endif
27173
27174 #undef $ac_func
27175
27176 /* Override any GCC internal prototype to avoid an error.
27177 Use char because int might match the return type of a GCC
27178 builtin and then its argument prototype would still apply. */
27179 #ifdef __cplusplus
27180 extern "C"
27181 #endif
27182 char $ac_func ();
27183 /* The GNU C library defines this for functions which it implements
27184 to always fail with ENOSYS. Some functions are actually named
27185 something starting with __ and the normal name is an alias. */
27186 #if defined __stub_$ac_func || defined __stub___$ac_func
27187 choke me
27188 #endif
27189
27190 int
27191 main ()
27192 {
27193 return $ac_func ();
27194 ;
27195 return 0;
27196 }
27197 _ACEOF
27198 rm -f conftest.$ac_objext conftest$ac_exeext
27199 if { (ac_try="$ac_link"
27200 case "(($ac_try" in
27201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27202 *) ac_try_echo=$ac_try;;
27203 esac
27204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27205 (eval "$ac_link") 2>conftest.er1
27206 ac_status=$?
27207 grep -v '^ *+' conftest.er1 >conftest.err
27208 rm -f conftest.er1
27209 cat conftest.err >&5
27210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211 (exit $ac_status); } && {
27212 test -z "$ac_c_werror_flag" ||
27213 test ! -s conftest.err
27214 } && test -s conftest$ac_exeext &&
27215 $as_test_x conftest$ac_exeext; then
27216 eval "$as_ac_var=yes"
27217 else
27218 echo "$as_me: failed program was:" >&5
27219 sed 's/^/| /' conftest.$ac_ext >&5
27220
27221 eval "$as_ac_var=no"
27222 fi
27223
27224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27225 conftest$ac_exeext conftest.$ac_ext
27226 fi
27227 ac_res=`eval echo '${'$as_ac_var'}'`
27228 { echo "$as_me:$LINENO: result: $ac_res" >&5
27229 echo "${ECHO_T}$ac_res" >&6; }
27230 if test `eval echo '${'$as_ac_var'}'` = yes; then
27231 cat >>confdefs.h <<_ACEOF
27232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27233 _ACEOF
27234 have_floor=1
27235 fi
27236 done
27237
27238 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27239 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27240 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27241 { echo "$as_me:$LINENO: result: yes" >&5
27242 echo "${ECHO_T}yes" >&6; }
27243 else
27244 { echo "$as_me:$LINENO: result: no" >&5
27245 echo "${ECHO_T}no" >&6; }
27246 LIBS="$LIBS -lm"
27247 # use different functions to avoid configure caching
27248 have_sin=0
27249 have_ceil=0
27250
27251 for ac_func in sin
27252 do
27253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27254 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27256 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27257 echo $ECHO_N "(cached) $ECHO_C" >&6
27258 else
27259 cat >conftest.$ac_ext <<_ACEOF
27260 /* confdefs.h. */
27261 _ACEOF
27262 cat confdefs.h >>conftest.$ac_ext
27263 cat >>conftest.$ac_ext <<_ACEOF
27264 /* end confdefs.h. */
27265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27267 #define $ac_func innocuous_$ac_func
27268
27269 /* System header to define __stub macros and hopefully few prototypes,
27270 which can conflict with char $ac_func (); below.
27271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27272 <limits.h> exists even on freestanding compilers. */
27273
27274 #ifdef __STDC__
27275 # include <limits.h>
27276 #else
27277 # include <assert.h>
27278 #endif
27279
27280 #undef $ac_func
27281
27282 /* Override any GCC internal prototype to avoid an error.
27283 Use char because int might match the return type of a GCC
27284 builtin and then its argument prototype would still apply. */
27285 #ifdef __cplusplus
27286 extern "C"
27287 #endif
27288 char $ac_func ();
27289 /* The GNU C library defines this for functions which it implements
27290 to always fail with ENOSYS. Some functions are actually named
27291 something starting with __ and the normal name is an alias. */
27292 #if defined __stub_$ac_func || defined __stub___$ac_func
27293 choke me
27294 #endif
27295
27296 int
27297 main ()
27298 {
27299 return $ac_func ();
27300 ;
27301 return 0;
27302 }
27303 _ACEOF
27304 rm -f conftest.$ac_objext conftest$ac_exeext
27305 if { (ac_try="$ac_link"
27306 case "(($ac_try" in
27307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27308 *) ac_try_echo=$ac_try;;
27309 esac
27310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27311 (eval "$ac_link") 2>conftest.er1
27312 ac_status=$?
27313 grep -v '^ *+' conftest.er1 >conftest.err
27314 rm -f conftest.er1
27315 cat conftest.err >&5
27316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 (exit $ac_status); } && {
27318 test -z "$ac_c_werror_flag" ||
27319 test ! -s conftest.err
27320 } && test -s conftest$ac_exeext &&
27321 $as_test_x conftest$ac_exeext; then
27322 eval "$as_ac_var=yes"
27323 else
27324 echo "$as_me: failed program was:" >&5
27325 sed 's/^/| /' conftest.$ac_ext >&5
27326
27327 eval "$as_ac_var=no"
27328 fi
27329
27330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27331 conftest$ac_exeext conftest.$ac_ext
27332 fi
27333 ac_res=`eval echo '${'$as_ac_var'}'`
27334 { echo "$as_me:$LINENO: result: $ac_res" >&5
27335 echo "${ECHO_T}$ac_res" >&6; }
27336 if test `eval echo '${'$as_ac_var'}'` = yes; then
27337 cat >>confdefs.h <<_ACEOF
27338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27339 _ACEOF
27340 have_sin=1
27341 fi
27342 done
27343
27344
27345 for ac_func in ceil
27346 do
27347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27348 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27350 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27351 echo $ECHO_N "(cached) $ECHO_C" >&6
27352 else
27353 cat >conftest.$ac_ext <<_ACEOF
27354 /* confdefs.h. */
27355 _ACEOF
27356 cat confdefs.h >>conftest.$ac_ext
27357 cat >>conftest.$ac_ext <<_ACEOF
27358 /* end confdefs.h. */
27359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27361 #define $ac_func innocuous_$ac_func
27362
27363 /* System header to define __stub macros and hopefully few prototypes,
27364 which can conflict with char $ac_func (); below.
27365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27366 <limits.h> exists even on freestanding compilers. */
27367
27368 #ifdef __STDC__
27369 # include <limits.h>
27370 #else
27371 # include <assert.h>
27372 #endif
27373
27374 #undef $ac_func
27375
27376 /* Override any GCC internal prototype to avoid an error.
27377 Use char because int might match the return type of a GCC
27378 builtin and then its argument prototype would still apply. */
27379 #ifdef __cplusplus
27380 extern "C"
27381 #endif
27382 char $ac_func ();
27383 /* The GNU C library defines this for functions which it implements
27384 to always fail with ENOSYS. Some functions are actually named
27385 something starting with __ and the normal name is an alias. */
27386 #if defined __stub_$ac_func || defined __stub___$ac_func
27387 choke me
27388 #endif
27389
27390 int
27391 main ()
27392 {
27393 return $ac_func ();
27394 ;
27395 return 0;
27396 }
27397 _ACEOF
27398 rm -f conftest.$ac_objext conftest$ac_exeext
27399 if { (ac_try="$ac_link"
27400 case "(($ac_try" in
27401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27402 *) ac_try_echo=$ac_try;;
27403 esac
27404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27405 (eval "$ac_link") 2>conftest.er1
27406 ac_status=$?
27407 grep -v '^ *+' conftest.er1 >conftest.err
27408 rm -f conftest.er1
27409 cat conftest.err >&5
27410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411 (exit $ac_status); } && {
27412 test -z "$ac_c_werror_flag" ||
27413 test ! -s conftest.err
27414 } && test -s conftest$ac_exeext &&
27415 $as_test_x conftest$ac_exeext; then
27416 eval "$as_ac_var=yes"
27417 else
27418 echo "$as_me: failed program was:" >&5
27419 sed 's/^/| /' conftest.$ac_ext >&5
27420
27421 eval "$as_ac_var=no"
27422 fi
27423
27424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27425 conftest$ac_exeext conftest.$ac_ext
27426 fi
27427 ac_res=`eval echo '${'$as_ac_var'}'`
27428 { echo "$as_me:$LINENO: result: $ac_res" >&5
27429 echo "${ECHO_T}$ac_res" >&6; }
27430 if test `eval echo '${'$as_ac_var'}'` = yes; then
27431 cat >>confdefs.h <<_ACEOF
27432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27433 _ACEOF
27434 have_ceil=1
27435 fi
27436 done
27437
27438 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27439 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27440 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27441 { echo "$as_me:$LINENO: result: yes" >&5
27442 echo "${ECHO_T}yes" >&6; }
27443 else
27444 { echo "$as_me:$LINENO: result: no" >&5
27445 echo "${ECHO_T}no" >&6; }
27446 # not sure we should warn the user, crash, etc.
27447 fi
27448 fi
27449
27450 ac_ext=cpp
27451 ac_cpp='$CXXCPP $CPPFLAGS'
27452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27455
27456 if test "wxUSE_UNICODE" = "yes"; then
27457
27458 for wx_func in wcstoull
27459 do
27460 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27461 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27462 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27463 echo $ECHO_N "(cached) $ECHO_C" >&6
27464 else
27465
27466 cat >conftest.$ac_ext <<_ACEOF
27467
27468 /* confdefs.h. */
27469 _ACEOF
27470 cat confdefs.h >>conftest.$ac_ext
27471 cat >>conftest.$ac_ext <<_ACEOF
27472 /* end confdefs.h. */
27473
27474
27475 $ac_includes_default
27476
27477 int
27478 main ()
27479 {
27480
27481 #ifndef $wx_func
27482 &$wx_func;
27483 #endif
27484
27485
27486 ;
27487 return 0;
27488 }
27489
27490 _ACEOF
27491 rm -f conftest.$ac_objext conftest$ac_exeext
27492 if { (ac_try="$ac_link"
27493 case "(($ac_try" in
27494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27495 *) ac_try_echo=$ac_try;;
27496 esac
27497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27498 (eval "$ac_link") 2>conftest.er1
27499 ac_status=$?
27500 grep -v '^ *+' conftest.er1 >conftest.err
27501 rm -f conftest.er1
27502 cat conftest.err >&5
27503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27504 (exit $ac_status); } && {
27505 test -z "$ac_cxx_werror_flag" ||
27506 test ! -s conftest.err
27507 } && test -s conftest$ac_exeext &&
27508 $as_test_x conftest$ac_exeext; then
27509 eval wx_cv_func_$wx_func=yes
27510 else
27511 echo "$as_me: failed program was:" >&5
27512 sed 's/^/| /' conftest.$ac_ext >&5
27513
27514 eval wx_cv_func_$wx_func=no
27515 fi
27516
27517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27518 conftest$ac_exeext conftest.$ac_ext
27519
27520 fi
27521 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27522 { echo "$as_me:$LINENO: result: $ac_res" >&5
27523 echo "${ECHO_T}$ac_res" >&6; }
27524
27525 if eval test \$wx_cv_func_$wx_func = yes
27526 then
27527 cat >>confdefs.h <<_ACEOF
27528 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27529 _ACEOF
27530
27531
27532 else
27533 :
27534
27535 fi
27536 done
27537
27538 else
27539
27540 for wx_func in strtoull
27541 do
27542 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27543 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27544 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27545 echo $ECHO_N "(cached) $ECHO_C" >&6
27546 else
27547
27548 cat >conftest.$ac_ext <<_ACEOF
27549
27550 /* confdefs.h. */
27551 _ACEOF
27552 cat confdefs.h >>conftest.$ac_ext
27553 cat >>conftest.$ac_ext <<_ACEOF
27554 /* end confdefs.h. */
27555
27556
27557 $ac_includes_default
27558
27559 int
27560 main ()
27561 {
27562
27563 #ifndef $wx_func
27564 &$wx_func;
27565 #endif
27566
27567
27568 ;
27569 return 0;
27570 }
27571
27572 _ACEOF
27573 rm -f conftest.$ac_objext conftest$ac_exeext
27574 if { (ac_try="$ac_link"
27575 case "(($ac_try" in
27576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27577 *) ac_try_echo=$ac_try;;
27578 esac
27579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27580 (eval "$ac_link") 2>conftest.er1
27581 ac_status=$?
27582 grep -v '^ *+' conftest.er1 >conftest.err
27583 rm -f conftest.er1
27584 cat conftest.err >&5
27585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27586 (exit $ac_status); } && {
27587 test -z "$ac_cxx_werror_flag" ||
27588 test ! -s conftest.err
27589 } && test -s conftest$ac_exeext &&
27590 $as_test_x conftest$ac_exeext; then
27591 eval wx_cv_func_$wx_func=yes
27592 else
27593 echo "$as_me: failed program was:" >&5
27594 sed 's/^/| /' conftest.$ac_ext >&5
27595
27596 eval wx_cv_func_$wx_func=no
27597 fi
27598
27599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27600 conftest$ac_exeext conftest.$ac_ext
27601
27602 fi
27603 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27604 { echo "$as_me:$LINENO: result: $ac_res" >&5
27605 echo "${ECHO_T}$ac_res" >&6; }
27606
27607 if eval test \$wx_cv_func_$wx_func = yes
27608 then
27609 cat >>confdefs.h <<_ACEOF
27610 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27611 _ACEOF
27612
27613
27614 else
27615 :
27616
27617 fi
27618 done
27619
27620 fi
27621 ac_ext=c
27622 ac_cpp='$CPP $CPPFLAGS'
27623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27626
27627
27628
27629
27630 if test "$wxUSE_REGEX" != "no"; then
27631 cat >>confdefs.h <<\_ACEOF
27632 #define wxUSE_REGEX 1
27633 _ACEOF
27634
27635
27636 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27637 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27638 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27639 wxUSE_REGEX=builtin
27640 fi
27641
27642 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27643 { echo "$as_me:$LINENO: checking for regex.h" >&5
27644 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27645 if test "${ac_cv_header_regex_h+set}" = set; then
27646 echo $ECHO_N "(cached) $ECHO_C" >&6
27647 else
27648 cat >conftest.$ac_ext <<_ACEOF
27649 /* confdefs.h. */
27650 _ACEOF
27651 cat confdefs.h >>conftest.$ac_ext
27652 cat >>conftest.$ac_ext <<_ACEOF
27653 /* end confdefs.h. */
27654
27655
27656 #include <regex.h>
27657 _ACEOF
27658 rm -f conftest.$ac_objext
27659 if { (ac_try="$ac_compile"
27660 case "(($ac_try" in
27661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27662 *) ac_try_echo=$ac_try;;
27663 esac
27664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27665 (eval "$ac_compile") 2>conftest.er1
27666 ac_status=$?
27667 grep -v '^ *+' conftest.er1 >conftest.err
27668 rm -f conftest.er1
27669 cat conftest.err >&5
27670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27671 (exit $ac_status); } && {
27672 test -z "$ac_c_werror_flag" ||
27673 test ! -s conftest.err
27674 } && test -s conftest.$ac_objext; then
27675 ac_cv_header_regex_h=yes
27676 else
27677 echo "$as_me: failed program was:" >&5
27678 sed 's/^/| /' conftest.$ac_ext >&5
27679
27680 ac_cv_header_regex_h=no
27681 fi
27682
27683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27684 fi
27685 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27686 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27687 if test $ac_cv_header_regex_h = yes; then
27688
27689
27690 for ac_func in regcomp re_search
27691 do
27692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27693 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27695 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27696 echo $ECHO_N "(cached) $ECHO_C" >&6
27697 else
27698 cat >conftest.$ac_ext <<_ACEOF
27699 /* confdefs.h. */
27700 _ACEOF
27701 cat confdefs.h >>conftest.$ac_ext
27702 cat >>conftest.$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27706 #define $ac_func innocuous_$ac_func
27707
27708 /* System header to define __stub macros and hopefully few prototypes,
27709 which can conflict with char $ac_func (); below.
27710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27711 <limits.h> exists even on freestanding compilers. */
27712
27713 #ifdef __STDC__
27714 # include <limits.h>
27715 #else
27716 # include <assert.h>
27717 #endif
27718
27719 #undef $ac_func
27720
27721 /* Override any GCC internal prototype to avoid an error.
27722 Use char because int might match the return type of a GCC
27723 builtin and then its argument prototype would still apply. */
27724 #ifdef __cplusplus
27725 extern "C"
27726 #endif
27727 char $ac_func ();
27728 /* The GNU C library defines this for functions which it implements
27729 to always fail with ENOSYS. Some functions are actually named
27730 something starting with __ and the normal name is an alias. */
27731 #if defined __stub_$ac_func || defined __stub___$ac_func
27732 choke me
27733 #endif
27734
27735 int
27736 main ()
27737 {
27738 return $ac_func ();
27739 ;
27740 return 0;
27741 }
27742 _ACEOF
27743 rm -f conftest.$ac_objext conftest$ac_exeext
27744 if { (ac_try="$ac_link"
27745 case "(($ac_try" in
27746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27747 *) ac_try_echo=$ac_try;;
27748 esac
27749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27750 (eval "$ac_link") 2>conftest.er1
27751 ac_status=$?
27752 grep -v '^ *+' conftest.er1 >conftest.err
27753 rm -f conftest.er1
27754 cat conftest.err >&5
27755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27756 (exit $ac_status); } && {
27757 test -z "$ac_c_werror_flag" ||
27758 test ! -s conftest.err
27759 } && test -s conftest$ac_exeext &&
27760 $as_test_x conftest$ac_exeext; then
27761 eval "$as_ac_var=yes"
27762 else
27763 echo "$as_me: failed program was:" >&5
27764 sed 's/^/| /' conftest.$ac_ext >&5
27765
27766 eval "$as_ac_var=no"
27767 fi
27768
27769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27770 conftest$ac_exeext conftest.$ac_ext
27771 fi
27772 ac_res=`eval echo '${'$as_ac_var'}'`
27773 { echo "$as_me:$LINENO: result: $ac_res" >&5
27774 echo "${ECHO_T}$ac_res" >&6; }
27775 if test `eval echo '${'$as_ac_var'}'` = yes; then
27776 cat >>confdefs.h <<_ACEOF
27777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27778 _ACEOF
27779
27780 fi
27781 done
27782
27783 fi
27784
27785
27786
27787 if test "x$ac_cv_func_regcomp" != "xyes"; then
27788 if test "$wxUSE_REGEX" = "sys" ; then
27789 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27790 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27791 { (exit 1); exit 1; }; }
27792 else
27793 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27794 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27795 wxUSE_REGEX=builtin
27796 fi
27797 else
27798 wxUSE_REGEX=sys
27799 cat >>confdefs.h <<\_ACEOF
27800 #define WX_NO_REGEX_ADVANCED 1
27801 _ACEOF
27802
27803 fi
27804 fi
27805 fi
27806
27807
27808 ZLIB_LINK=
27809 if test "$wxUSE_ZLIB" != "no" ; then
27810 cat >>confdefs.h <<\_ACEOF
27811 #define wxUSE_ZLIB 1
27812 _ACEOF
27813
27814
27815 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27816 if test "$USE_DARWIN" = 1; then
27817 system_zlib_h_ok="yes"
27818 else
27819 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27820 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27821 if test "${ac_cv_header_zlib_h+set}" = set; then
27822 echo $ECHO_N "(cached) $ECHO_C" >&6
27823 else
27824 if test "$cross_compiling" = yes; then
27825 unset ac_cv_header_zlib_h
27826
27827 else
27828 cat >conftest.$ac_ext <<_ACEOF
27829 /* confdefs.h. */
27830 _ACEOF
27831 cat confdefs.h >>conftest.$ac_ext
27832 cat >>conftest.$ac_ext <<_ACEOF
27833 /* end confdefs.h. */
27834
27835 #include <zlib.h>
27836 #include <stdio.h>
27837
27838 int main()
27839 {
27840 FILE *f=fopen("conftestval", "w");
27841 if (!f) exit(1);
27842 fprintf(f, "%s",
27843 ZLIB_VERSION[0] == '1' &&
27844 (ZLIB_VERSION[2] > '1' ||
27845 (ZLIB_VERSION[2] == '1' &&
27846 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27847 exit(0);
27848 }
27849
27850 _ACEOF
27851 rm -f conftest$ac_exeext
27852 if { (ac_try="$ac_link"
27853 case "(($ac_try" in
27854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27855 *) ac_try_echo=$ac_try;;
27856 esac
27857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27858 (eval "$ac_link") 2>&5
27859 ac_status=$?
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27862 { (case "(($ac_try" in
27863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27864 *) ac_try_echo=$ac_try;;
27865 esac
27866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27867 (eval "$ac_try") 2>&5
27868 ac_status=$?
27869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27870 (exit $ac_status); }; }; then
27871 ac_cv_header_zlib_h=`cat conftestval`
27872 else
27873 echo "$as_me: program exited with status $ac_status" >&5
27874 echo "$as_me: failed program was:" >&5
27875 sed 's/^/| /' conftest.$ac_ext >&5
27876
27877 ( exit $ac_status )
27878 ac_cv_header_zlib_h=no
27879 fi
27880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27881 fi
27882
27883
27884
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 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27889 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27890 if test "${ac_cv_header_zlib_h+set}" = set; then
27891 echo $ECHO_N "(cached) $ECHO_C" >&6
27892 else
27893 cat >conftest.$ac_ext <<_ACEOF
27894 /* confdefs.h. */
27895 _ACEOF
27896 cat confdefs.h >>conftest.$ac_ext
27897 cat >>conftest.$ac_ext <<_ACEOF
27898 /* end confdefs.h. */
27899
27900
27901 #include <zlib.h>
27902 _ACEOF
27903 rm -f conftest.$ac_objext
27904 if { (ac_try="$ac_compile"
27905 case "(($ac_try" in
27906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27907 *) ac_try_echo=$ac_try;;
27908 esac
27909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27910 (eval "$ac_compile") 2>conftest.er1
27911 ac_status=$?
27912 grep -v '^ *+' conftest.er1 >conftest.err
27913 rm -f conftest.er1
27914 cat conftest.err >&5
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); } && {
27917 test -z "$ac_c_werror_flag" ||
27918 test ! -s conftest.err
27919 } && test -s conftest.$ac_objext; then
27920 ac_cv_header_zlib_h=yes
27921 else
27922 echo "$as_me: failed program was:" >&5
27923 sed 's/^/| /' conftest.$ac_ext >&5
27924
27925 ac_cv_header_zlib_h=no
27926 fi
27927
27928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27929 fi
27930 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27931 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27932
27933
27934
27935 system_zlib_h_ok=$ac_cv_header_zlib_h
27936 fi
27937
27938 if test "$system_zlib_h_ok" = "yes"; then
27939 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27940 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27941 if test "${ac_cv_lib_z_deflate+set}" = set; then
27942 echo $ECHO_N "(cached) $ECHO_C" >&6
27943 else
27944 ac_check_lib_save_LIBS=$LIBS
27945 LIBS="-lz $LIBS"
27946 cat >conftest.$ac_ext <<_ACEOF
27947 /* confdefs.h. */
27948 _ACEOF
27949 cat confdefs.h >>conftest.$ac_ext
27950 cat >>conftest.$ac_ext <<_ACEOF
27951 /* end confdefs.h. */
27952
27953 /* Override any GCC internal prototype to avoid an error.
27954 Use char because int might match the return type of a GCC
27955 builtin and then its argument prototype would still apply. */
27956 #ifdef __cplusplus
27957 extern "C"
27958 #endif
27959 char deflate ();
27960 int
27961 main ()
27962 {
27963 return deflate ();
27964 ;
27965 return 0;
27966 }
27967 _ACEOF
27968 rm -f conftest.$ac_objext conftest$ac_exeext
27969 if { (ac_try="$ac_link"
27970 case "(($ac_try" in
27971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27972 *) ac_try_echo=$ac_try;;
27973 esac
27974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27975 (eval "$ac_link") 2>conftest.er1
27976 ac_status=$?
27977 grep -v '^ *+' conftest.er1 >conftest.err
27978 rm -f conftest.er1
27979 cat conftest.err >&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); } && {
27982 test -z "$ac_c_werror_flag" ||
27983 test ! -s conftest.err
27984 } && test -s conftest$ac_exeext &&
27985 $as_test_x conftest$ac_exeext; then
27986 ac_cv_lib_z_deflate=yes
27987 else
27988 echo "$as_me: failed program was:" >&5
27989 sed 's/^/| /' conftest.$ac_ext >&5
27990
27991 ac_cv_lib_z_deflate=no
27992 fi
27993
27994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27995 conftest$ac_exeext conftest.$ac_ext
27996 LIBS=$ac_check_lib_save_LIBS
27997 fi
27998 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27999 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28000 if test $ac_cv_lib_z_deflate = yes; then
28001 ZLIB_LINK=" -lz"
28002 fi
28003
28004 fi
28005
28006 if test "x$ZLIB_LINK" = "x" ; then
28007 if test "$wxUSE_ZLIB" = "sys" ; then
28008 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28009 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28010 { (exit 1); exit 1; }; }
28011 else
28012 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28013 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28014 wxUSE_ZLIB=builtin
28015 fi
28016 else
28017 wxUSE_ZLIB=sys
28018 fi
28019 fi
28020 fi
28021
28022
28023 PNG_LINK=
28024 if test "$wxUSE_LIBPNG" != "no" ; then
28025 cat >>confdefs.h <<\_ACEOF
28026 #define wxUSE_LIBPNG 1
28027 _ACEOF
28028
28029
28030 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28031 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28032 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28033 wxUSE_LIBPNG=sys
28034 fi
28035
28036 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28037 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28038 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28039 wxUSE_LIBPNG=builtin
28040 fi
28041
28042 if test "$wxUSE_MGL" != 1 ; then
28043 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28044 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28045 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28046 if test "${ac_cv_header_png_h+set}" = set; then
28047 echo $ECHO_N "(cached) $ECHO_C" >&6
28048 else
28049 if test "$cross_compiling" = yes; then
28050 unset ac_cv_header_png_h
28051
28052 else
28053 cat >conftest.$ac_ext <<_ACEOF
28054 /* confdefs.h. */
28055 _ACEOF
28056 cat confdefs.h >>conftest.$ac_ext
28057 cat >>conftest.$ac_ext <<_ACEOF
28058 /* end confdefs.h. */
28059
28060 #include <png.h>
28061 #include <stdio.h>
28062
28063 int main()
28064 {
28065 FILE *f=fopen("conftestval", "w");
28066 if (!f) exit(1);
28067 fprintf(f, "%s",
28068 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28069 exit(0);
28070 }
28071
28072 _ACEOF
28073 rm -f conftest$ac_exeext
28074 if { (ac_try="$ac_link"
28075 case "(($ac_try" in
28076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28077 *) ac_try_echo=$ac_try;;
28078 esac
28079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28080 (eval "$ac_link") 2>&5
28081 ac_status=$?
28082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28084 { (case "(($ac_try" in
28085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28086 *) ac_try_echo=$ac_try;;
28087 esac
28088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28089 (eval "$ac_try") 2>&5
28090 ac_status=$?
28091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28092 (exit $ac_status); }; }; then
28093 ac_cv_header_png_h=`cat conftestval`
28094 else
28095 echo "$as_me: program exited with status $ac_status" >&5
28096 echo "$as_me: failed program was:" >&5
28097 sed 's/^/| /' conftest.$ac_ext >&5
28098
28099 ( exit $ac_status )
28100 ac_cv_header_png_h=no
28101 fi
28102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28103 fi
28104
28105
28106
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 { echo "$as_me:$LINENO: checking for png.h" >&5
28111 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28112 if test "${ac_cv_header_png_h+set}" = set; then
28113 echo $ECHO_N "(cached) $ECHO_C" >&6
28114 else
28115 cat >conftest.$ac_ext <<_ACEOF
28116 /* confdefs.h. */
28117 _ACEOF
28118 cat confdefs.h >>conftest.$ac_ext
28119 cat >>conftest.$ac_ext <<_ACEOF
28120 /* end confdefs.h. */
28121
28122
28123 #include <png.h>
28124 _ACEOF
28125 rm -f conftest.$ac_objext
28126 if { (ac_try="$ac_compile"
28127 case "(($ac_try" in
28128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28129 *) ac_try_echo=$ac_try;;
28130 esac
28131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28132 (eval "$ac_compile") 2>conftest.er1
28133 ac_status=$?
28134 grep -v '^ *+' conftest.er1 >conftest.err
28135 rm -f conftest.er1
28136 cat conftest.err >&5
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); } && {
28139 test -z "$ac_c_werror_flag" ||
28140 test ! -s conftest.err
28141 } && test -s conftest.$ac_objext; then
28142 ac_cv_header_png_h=yes
28143 else
28144 echo "$as_me: failed program was:" >&5
28145 sed 's/^/| /' conftest.$ac_ext >&5
28146
28147 ac_cv_header_png_h=no
28148 fi
28149
28150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28151 fi
28152 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28153 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28154
28155
28156
28157 if test "$ac_cv_header_png_h" = "yes"; then
28158 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28159 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28160 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28161 echo $ECHO_N "(cached) $ECHO_C" >&6
28162 else
28163 ac_check_lib_save_LIBS=$LIBS
28164 LIBS="-lpng -lz -lm $LIBS"
28165 cat >conftest.$ac_ext <<_ACEOF
28166 /* confdefs.h. */
28167 _ACEOF
28168 cat confdefs.h >>conftest.$ac_ext
28169 cat >>conftest.$ac_ext <<_ACEOF
28170 /* end confdefs.h. */
28171
28172 /* Override any GCC internal prototype to avoid an error.
28173 Use char because int might match the return type of a GCC
28174 builtin and then its argument prototype would still apply. */
28175 #ifdef __cplusplus
28176 extern "C"
28177 #endif
28178 char png_sig_cmp ();
28179 int
28180 main ()
28181 {
28182 return png_sig_cmp ();
28183 ;
28184 return 0;
28185 }
28186 _ACEOF
28187 rm -f conftest.$ac_objext conftest$ac_exeext
28188 if { (ac_try="$ac_link"
28189 case "(($ac_try" in
28190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28191 *) ac_try_echo=$ac_try;;
28192 esac
28193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28194 (eval "$ac_link") 2>conftest.er1
28195 ac_status=$?
28196 grep -v '^ *+' conftest.er1 >conftest.err
28197 rm -f conftest.er1
28198 cat conftest.err >&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } && {
28201 test -z "$ac_c_werror_flag" ||
28202 test ! -s conftest.err
28203 } && test -s conftest$ac_exeext &&
28204 $as_test_x conftest$ac_exeext; then
28205 ac_cv_lib_png_png_sig_cmp=yes
28206 else
28207 echo "$as_me: failed program was:" >&5
28208 sed 's/^/| /' conftest.$ac_ext >&5
28209
28210 ac_cv_lib_png_png_sig_cmp=no
28211 fi
28212
28213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28214 conftest$ac_exeext conftest.$ac_ext
28215 LIBS=$ac_check_lib_save_LIBS
28216 fi
28217 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28218 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28219 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28220 PNG_LINK=" -lpng -lz"
28221 fi
28222
28223 fi
28224
28225 if test "x$PNG_LINK" = "x" ; then
28226 if test "$wxUSE_LIBPNG" = "sys" ; then
28227 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28228 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28229 { (exit 1); exit 1; }; }
28230 else
28231 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28232 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28233 wxUSE_LIBPNG=builtin
28234 fi
28235 else
28236 wxUSE_LIBPNG=sys
28237 fi
28238 fi
28239 fi
28240 fi
28241
28242
28243 JPEG_LINK=
28244 if test "$wxUSE_LIBJPEG" != "no" ; then
28245 cat >>confdefs.h <<\_ACEOF
28246 #define wxUSE_LIBJPEG 1
28247 _ACEOF
28248
28249
28250 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28251 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28252 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28253 wxUSE_LIBJPEG=sys
28254 fi
28255
28256 if test "$wxUSE_MGL" != 1 ; then
28257 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28258 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28259 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28260 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28261 echo $ECHO_N "(cached) $ECHO_C" >&6
28262 else
28263 cat >conftest.$ac_ext <<_ACEOF
28264 /* confdefs.h. */
28265 _ACEOF
28266 cat confdefs.h >>conftest.$ac_ext
28267 cat >>conftest.$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28269
28270 #undef HAVE_STDLIB_H
28271 #include <stdio.h>
28272 #include <jpeglib.h>
28273
28274 int
28275 main ()
28276 {
28277
28278
28279 ;
28280 return 0;
28281 }
28282 _ACEOF
28283 rm -f conftest.$ac_objext
28284 if { (ac_try="$ac_compile"
28285 case "(($ac_try" in
28286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28287 *) ac_try_echo=$ac_try;;
28288 esac
28289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28290 (eval "$ac_compile") 2>conftest.er1
28291 ac_status=$?
28292 grep -v '^ *+' conftest.er1 >conftest.err
28293 rm -f conftest.er1
28294 cat conftest.err >&5
28295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296 (exit $ac_status); } && {
28297 test -z "$ac_c_werror_flag" ||
28298 test ! -s conftest.err
28299 } && test -s conftest.$ac_objext; then
28300 ac_cv_header_jpeglib_h=yes
28301 else
28302 echo "$as_me: failed program was:" >&5
28303 sed 's/^/| /' conftest.$ac_ext >&5
28304
28305 ac_cv_header_jpeglib_h=no
28306
28307 fi
28308
28309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28310
28311 fi
28312
28313 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28314 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28315
28316 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28317 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28318 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28319 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28320 echo $ECHO_N "(cached) $ECHO_C" >&6
28321 else
28322 ac_check_lib_save_LIBS=$LIBS
28323 LIBS="-ljpeg $LIBS"
28324 cat >conftest.$ac_ext <<_ACEOF
28325 /* confdefs.h. */
28326 _ACEOF
28327 cat confdefs.h >>conftest.$ac_ext
28328 cat >>conftest.$ac_ext <<_ACEOF
28329 /* end confdefs.h. */
28330
28331 /* Override any GCC internal prototype to avoid an error.
28332 Use char because int might match the return type of a GCC
28333 builtin and then its argument prototype would still apply. */
28334 #ifdef __cplusplus
28335 extern "C"
28336 #endif
28337 char jpeg_read_header ();
28338 int
28339 main ()
28340 {
28341 return jpeg_read_header ();
28342 ;
28343 return 0;
28344 }
28345 _ACEOF
28346 rm -f conftest.$ac_objext conftest$ac_exeext
28347 if { (ac_try="$ac_link"
28348 case "(($ac_try" in
28349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28350 *) ac_try_echo=$ac_try;;
28351 esac
28352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28353 (eval "$ac_link") 2>conftest.er1
28354 ac_status=$?
28355 grep -v '^ *+' conftest.er1 >conftest.err
28356 rm -f conftest.er1
28357 cat conftest.err >&5
28358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28359 (exit $ac_status); } && {
28360 test -z "$ac_c_werror_flag" ||
28361 test ! -s conftest.err
28362 } && test -s conftest$ac_exeext &&
28363 $as_test_x conftest$ac_exeext; then
28364 ac_cv_lib_jpeg_jpeg_read_header=yes
28365 else
28366 echo "$as_me: failed program was:" >&5
28367 sed 's/^/| /' conftest.$ac_ext >&5
28368
28369 ac_cv_lib_jpeg_jpeg_read_header=no
28370 fi
28371
28372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28373 conftest$ac_exeext conftest.$ac_ext
28374 LIBS=$ac_check_lib_save_LIBS
28375 fi
28376 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28377 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28378 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28379 JPEG_LINK=" -ljpeg"
28380 fi
28381
28382 fi
28383
28384 if test "x$JPEG_LINK" = "x" ; then
28385 if test "$wxUSE_LIBJPEG" = "sys" ; then
28386 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28387 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28388 { (exit 1); exit 1; }; }
28389 else
28390 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28391 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28392 wxUSE_LIBJPEG=builtin
28393 fi
28394 else
28395 wxUSE_LIBJPEG=sys
28396
28397 if test "$wxUSE_MSW" = 1; then
28398 { echo "$as_me:$LINENO: checking for boolean" >&5
28399 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28400 if test "${ac_cv_type_boolean+set}" = set; then
28401 echo $ECHO_N "(cached) $ECHO_C" >&6
28402 else
28403 cat >conftest.$ac_ext <<_ACEOF
28404 /* confdefs.h. */
28405 _ACEOF
28406 cat confdefs.h >>conftest.$ac_ext
28407 cat >>conftest.$ac_ext <<_ACEOF
28408 /* end confdefs.h. */
28409 #include <windows.h>
28410
28411 typedef boolean ac__type_new_;
28412 int
28413 main ()
28414 {
28415 if ((ac__type_new_ *) 0)
28416 return 0;
28417 if (sizeof (ac__type_new_))
28418 return 0;
28419 ;
28420 return 0;
28421 }
28422 _ACEOF
28423 rm -f conftest.$ac_objext
28424 if { (ac_try="$ac_compile"
28425 case "(($ac_try" in
28426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28427 *) ac_try_echo=$ac_try;;
28428 esac
28429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28430 (eval "$ac_compile") 2>conftest.er1
28431 ac_status=$?
28432 grep -v '^ *+' conftest.er1 >conftest.err
28433 rm -f conftest.er1
28434 cat conftest.err >&5
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); } && {
28437 test -z "$ac_c_werror_flag" ||
28438 test ! -s conftest.err
28439 } && test -s conftest.$ac_objext; then
28440 ac_cv_type_boolean=yes
28441 else
28442 echo "$as_me: failed program was:" >&5
28443 sed 's/^/| /' conftest.$ac_ext >&5
28444
28445 ac_cv_type_boolean=no
28446 fi
28447
28448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28449 fi
28450 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28451 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28452 if test $ac_cv_type_boolean = yes; then
28453
28454 cat >>confdefs.h <<_ACEOF
28455 #define HAVE_BOOLEAN 1
28456 _ACEOF
28457
28458
28459 { echo "$as_me:$LINENO: checking for boolean" >&5
28460 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28461 if test "${ac_cv_type_boolean+set}" = set; then
28462 echo $ECHO_N "(cached) $ECHO_C" >&6
28463 else
28464 cat >conftest.$ac_ext <<_ACEOF
28465 /* confdefs.h. */
28466 _ACEOF
28467 cat confdefs.h >>conftest.$ac_ext
28468 cat >>conftest.$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28470
28471 #undef HAVE_BOOLEAN
28472 #include <stdio.h>
28473 #include <jpeglib.h>
28474
28475
28476 typedef boolean ac__type_new_;
28477 int
28478 main ()
28479 {
28480 if ((ac__type_new_ *) 0)
28481 return 0;
28482 if (sizeof (ac__type_new_))
28483 return 0;
28484 ;
28485 return 0;
28486 }
28487 _ACEOF
28488 rm -f conftest.$ac_objext
28489 if { (ac_try="$ac_compile"
28490 case "(($ac_try" in
28491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28492 *) ac_try_echo=$ac_try;;
28493 esac
28494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28495 (eval "$ac_compile") 2>conftest.er1
28496 ac_status=$?
28497 grep -v '^ *+' conftest.er1 >conftest.err
28498 rm -f conftest.er1
28499 cat conftest.err >&5
28500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28501 (exit $ac_status); } && {
28502 test -z "$ac_c_werror_flag" ||
28503 test ! -s conftest.err
28504 } && test -s conftest.$ac_objext; then
28505 ac_cv_type_boolean=yes
28506 else
28507 echo "$as_me: failed program was:" >&5
28508 sed 's/^/| /' conftest.$ac_ext >&5
28509
28510 ac_cv_type_boolean=no
28511 fi
28512
28513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28514 fi
28515 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28516 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28517
28518 # The cast to long int works around a bug in the HP C Compiler
28519 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28520 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28521 # This bug is HP SR number 8606223364.
28522 { echo "$as_me:$LINENO: checking size of boolean" >&5
28523 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28524 if test "${ac_cv_sizeof_boolean+set}" = set; then
28525 echo $ECHO_N "(cached) $ECHO_C" >&6
28526 else
28527 if test "$cross_compiling" = yes; then
28528 # Depending upon the size, compute the lo and hi bounds.
28529 cat >conftest.$ac_ext <<_ACEOF
28530 /* confdefs.h. */
28531 _ACEOF
28532 cat confdefs.h >>conftest.$ac_ext
28533 cat >>conftest.$ac_ext <<_ACEOF
28534 /* end confdefs.h. */
28535
28536 #undef HAVE_BOOLEAN
28537 #include <stdio.h>
28538 #include <jpeglib.h>
28539
28540
28541 typedef boolean ac__type_sizeof_;
28542 int
28543 main ()
28544 {
28545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28546 test_array [0] = 0
28547
28548 ;
28549 return 0;
28550 }
28551 _ACEOF
28552 rm -f conftest.$ac_objext
28553 if { (ac_try="$ac_compile"
28554 case "(($ac_try" in
28555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28556 *) ac_try_echo=$ac_try;;
28557 esac
28558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28559 (eval "$ac_compile") 2>conftest.er1
28560 ac_status=$?
28561 grep -v '^ *+' conftest.er1 >conftest.err
28562 rm -f conftest.er1
28563 cat conftest.err >&5
28564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28565 (exit $ac_status); } && {
28566 test -z "$ac_c_werror_flag" ||
28567 test ! -s conftest.err
28568 } && test -s conftest.$ac_objext; then
28569 ac_lo=0 ac_mid=0
28570 while :; do
28571 cat >conftest.$ac_ext <<_ACEOF
28572 /* confdefs.h. */
28573 _ACEOF
28574 cat confdefs.h >>conftest.$ac_ext
28575 cat >>conftest.$ac_ext <<_ACEOF
28576 /* end confdefs.h. */
28577
28578 #undef HAVE_BOOLEAN
28579 #include <stdio.h>
28580 #include <jpeglib.h>
28581
28582
28583 typedef boolean ac__type_sizeof_;
28584 int
28585 main ()
28586 {
28587 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28588 test_array [0] = 0
28589
28590 ;
28591 return 0;
28592 }
28593 _ACEOF
28594 rm -f conftest.$ac_objext
28595 if { (ac_try="$ac_compile"
28596 case "(($ac_try" in
28597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28598 *) ac_try_echo=$ac_try;;
28599 esac
28600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28601 (eval "$ac_compile") 2>conftest.er1
28602 ac_status=$?
28603 grep -v '^ *+' conftest.er1 >conftest.err
28604 rm -f conftest.er1
28605 cat conftest.err >&5
28606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607 (exit $ac_status); } && {
28608 test -z "$ac_c_werror_flag" ||
28609 test ! -s conftest.err
28610 } && test -s conftest.$ac_objext; then
28611 ac_hi=$ac_mid; break
28612 else
28613 echo "$as_me: failed program was:" >&5
28614 sed 's/^/| /' conftest.$ac_ext >&5
28615
28616 ac_lo=`expr $ac_mid + 1`
28617 if test $ac_lo -le $ac_mid; then
28618 ac_lo= ac_hi=
28619 break
28620 fi
28621 ac_mid=`expr 2 '*' $ac_mid + 1`
28622 fi
28623
28624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28625 done
28626 else
28627 echo "$as_me: failed program was:" >&5
28628 sed 's/^/| /' conftest.$ac_ext >&5
28629
28630 cat >conftest.$ac_ext <<_ACEOF
28631 /* confdefs.h. */
28632 _ACEOF
28633 cat confdefs.h >>conftest.$ac_ext
28634 cat >>conftest.$ac_ext <<_ACEOF
28635 /* end confdefs.h. */
28636
28637 #undef HAVE_BOOLEAN
28638 #include <stdio.h>
28639 #include <jpeglib.h>
28640
28641
28642 typedef boolean ac__type_sizeof_;
28643 int
28644 main ()
28645 {
28646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28647 test_array [0] = 0
28648
28649 ;
28650 return 0;
28651 }
28652 _ACEOF
28653 rm -f conftest.$ac_objext
28654 if { (ac_try="$ac_compile"
28655 case "(($ac_try" in
28656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28657 *) ac_try_echo=$ac_try;;
28658 esac
28659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28660 (eval "$ac_compile") 2>conftest.er1
28661 ac_status=$?
28662 grep -v '^ *+' conftest.er1 >conftest.err
28663 rm -f conftest.er1
28664 cat conftest.err >&5
28665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28666 (exit $ac_status); } && {
28667 test -z "$ac_c_werror_flag" ||
28668 test ! -s conftest.err
28669 } && test -s conftest.$ac_objext; then
28670 ac_hi=-1 ac_mid=-1
28671 while :; do
28672 cat >conftest.$ac_ext <<_ACEOF
28673 /* confdefs.h. */
28674 _ACEOF
28675 cat confdefs.h >>conftest.$ac_ext
28676 cat >>conftest.$ac_ext <<_ACEOF
28677 /* end confdefs.h. */
28678
28679 #undef HAVE_BOOLEAN
28680 #include <stdio.h>
28681 #include <jpeglib.h>
28682
28683
28684 typedef boolean ac__type_sizeof_;
28685 int
28686 main ()
28687 {
28688 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28689 test_array [0] = 0
28690
28691 ;
28692 return 0;
28693 }
28694 _ACEOF
28695 rm -f conftest.$ac_objext
28696 if { (ac_try="$ac_compile"
28697 case "(($ac_try" in
28698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28699 *) ac_try_echo=$ac_try;;
28700 esac
28701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28702 (eval "$ac_compile") 2>conftest.er1
28703 ac_status=$?
28704 grep -v '^ *+' conftest.er1 >conftest.err
28705 rm -f conftest.er1
28706 cat conftest.err >&5
28707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28708 (exit $ac_status); } && {
28709 test -z "$ac_c_werror_flag" ||
28710 test ! -s conftest.err
28711 } && test -s conftest.$ac_objext; then
28712 ac_lo=$ac_mid; break
28713 else
28714 echo "$as_me: failed program was:" >&5
28715 sed 's/^/| /' conftest.$ac_ext >&5
28716
28717 ac_hi=`expr '(' $ac_mid ')' - 1`
28718 if test $ac_mid -le $ac_hi; then
28719 ac_lo= ac_hi=
28720 break
28721 fi
28722 ac_mid=`expr 2 '*' $ac_mid`
28723 fi
28724
28725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28726 done
28727 else
28728 echo "$as_me: failed program was:" >&5
28729 sed 's/^/| /' conftest.$ac_ext >&5
28730
28731 ac_lo= ac_hi=
28732 fi
28733
28734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28735 fi
28736
28737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28738 # Binary search between lo and hi bounds.
28739 while test "x$ac_lo" != "x$ac_hi"; do
28740 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28741 cat >conftest.$ac_ext <<_ACEOF
28742 /* confdefs.h. */
28743 _ACEOF
28744 cat confdefs.h >>conftest.$ac_ext
28745 cat >>conftest.$ac_ext <<_ACEOF
28746 /* end confdefs.h. */
28747
28748 #undef HAVE_BOOLEAN
28749 #include <stdio.h>
28750 #include <jpeglib.h>
28751
28752
28753 typedef boolean ac__type_sizeof_;
28754 int
28755 main ()
28756 {
28757 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28758 test_array [0] = 0
28759
28760 ;
28761 return 0;
28762 }
28763 _ACEOF
28764 rm -f conftest.$ac_objext
28765 if { (ac_try="$ac_compile"
28766 case "(($ac_try" in
28767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28768 *) ac_try_echo=$ac_try;;
28769 esac
28770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28771 (eval "$ac_compile") 2>conftest.er1
28772 ac_status=$?
28773 grep -v '^ *+' conftest.er1 >conftest.err
28774 rm -f conftest.er1
28775 cat conftest.err >&5
28776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28777 (exit $ac_status); } && {
28778 test -z "$ac_c_werror_flag" ||
28779 test ! -s conftest.err
28780 } && test -s conftest.$ac_objext; then
28781 ac_hi=$ac_mid
28782 else
28783 echo "$as_me: failed program was:" >&5
28784 sed 's/^/| /' conftest.$ac_ext >&5
28785
28786 ac_lo=`expr '(' $ac_mid ')' + 1`
28787 fi
28788
28789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28790 done
28791 case $ac_lo in
28792 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28793 '') if test "$ac_cv_type_boolean" = yes; then
28794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28795 See \`config.log' for more details." >&5
28796 echo "$as_me: error: cannot compute sizeof (boolean)
28797 See \`config.log' for more details." >&2;}
28798 { (exit 77); exit 77; }; }
28799 else
28800 ac_cv_sizeof_boolean=0
28801 fi ;;
28802 esac
28803 else
28804 cat >conftest.$ac_ext <<_ACEOF
28805 /* confdefs.h. */
28806 _ACEOF
28807 cat confdefs.h >>conftest.$ac_ext
28808 cat >>conftest.$ac_ext <<_ACEOF
28809 /* end confdefs.h. */
28810
28811 #undef HAVE_BOOLEAN
28812 #include <stdio.h>
28813 #include <jpeglib.h>
28814
28815
28816 typedef boolean ac__type_sizeof_;
28817 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28818 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28819 #include <stdio.h>
28820 #include <stdlib.h>
28821 int
28822 main ()
28823 {
28824
28825 FILE *f = fopen ("conftest.val", "w");
28826 if (! f)
28827 return 1;
28828 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28829 {
28830 long int i = longval ();
28831 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28832 return 1;
28833 fprintf (f, "%ld\n", i);
28834 }
28835 else
28836 {
28837 unsigned long int i = ulongval ();
28838 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28839 return 1;
28840 fprintf (f, "%lu\n", i);
28841 }
28842 return ferror (f) || fclose (f) != 0;
28843
28844 ;
28845 return 0;
28846 }
28847 _ACEOF
28848 rm -f conftest$ac_exeext
28849 if { (ac_try="$ac_link"
28850 case "(($ac_try" in
28851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28852 *) ac_try_echo=$ac_try;;
28853 esac
28854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28855 (eval "$ac_link") 2>&5
28856 ac_status=$?
28857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28858 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28859 { (case "(($ac_try" in
28860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28861 *) ac_try_echo=$ac_try;;
28862 esac
28863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28864 (eval "$ac_try") 2>&5
28865 ac_status=$?
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); }; }; then
28868 ac_cv_sizeof_boolean=`cat conftest.val`
28869 else
28870 echo "$as_me: program exited with status $ac_status" >&5
28871 echo "$as_me: failed program was:" >&5
28872 sed 's/^/| /' conftest.$ac_ext >&5
28873
28874 ( exit $ac_status )
28875 if test "$ac_cv_type_boolean" = yes; then
28876 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28877 See \`config.log' for more details." >&5
28878 echo "$as_me: error: cannot compute sizeof (boolean)
28879 See \`config.log' for more details." >&2;}
28880 { (exit 77); exit 77; }; }
28881 else
28882 ac_cv_sizeof_boolean=0
28883 fi
28884 fi
28885 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28886 fi
28887 rm -f conftest.val
28888 fi
28889 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28890 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28891
28892
28893
28894 cat >>confdefs.h <<_ACEOF
28895 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28896 _ACEOF
28897
28898
28899 cat >>confdefs.h <<_ACEOF
28900 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28901 _ACEOF
28902
28903
28904 fi
28905
28906 fi
28907 fi
28908 fi
28909 fi
28910 fi
28911
28912
28913 TIFF_LINK=
28914 TIFF_PREREQ_LINKS=-lm
28915 if test "$wxUSE_LIBTIFF" != "no" ; then
28916 cat >>confdefs.h <<\_ACEOF
28917 #define wxUSE_LIBTIFF 1
28918 _ACEOF
28919
28920
28921 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28922 if test "$wxUSE_LIBJPEG" = "sys"; then
28923 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28924 fi
28925 if test "$wxUSE_ZLIB" = "sys"; then
28926 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28927 fi
28928 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28929 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28930 if test "${ac_cv_header_tiffio_h+set}" = set; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28932 else
28933 cat >conftest.$ac_ext <<_ACEOF
28934 /* confdefs.h. */
28935 _ACEOF
28936 cat confdefs.h >>conftest.$ac_ext
28937 cat >>conftest.$ac_ext <<_ACEOF
28938 /* end confdefs.h. */
28939
28940
28941
28942 #include <tiffio.h>
28943 _ACEOF
28944 rm -f conftest.$ac_objext
28945 if { (ac_try="$ac_compile"
28946 case "(($ac_try" in
28947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28948 *) ac_try_echo=$ac_try;;
28949 esac
28950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28951 (eval "$ac_compile") 2>conftest.er1
28952 ac_status=$?
28953 grep -v '^ *+' conftest.er1 >conftest.err
28954 rm -f conftest.er1
28955 cat conftest.err >&5
28956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28957 (exit $ac_status); } && {
28958 test -z "$ac_c_werror_flag" ||
28959 test ! -s conftest.err
28960 } && test -s conftest.$ac_objext; then
28961 ac_cv_header_tiffio_h=yes
28962 else
28963 echo "$as_me: failed program was:" >&5
28964 sed 's/^/| /' conftest.$ac_ext >&5
28965
28966 ac_cv_header_tiffio_h=no
28967 fi
28968
28969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28970 fi
28971 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28972 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28973 if test $ac_cv_header_tiffio_h = yes; then
28974
28975 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28976 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28977 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28978 echo $ECHO_N "(cached) $ECHO_C" >&6
28979 else
28980 ac_check_lib_save_LIBS=$LIBS
28981 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28982 cat >conftest.$ac_ext <<_ACEOF
28983 /* confdefs.h. */
28984 _ACEOF
28985 cat confdefs.h >>conftest.$ac_ext
28986 cat >>conftest.$ac_ext <<_ACEOF
28987 /* end confdefs.h. */
28988
28989 /* Override any GCC internal prototype to avoid an error.
28990 Use char because int might match the return type of a GCC
28991 builtin and then its argument prototype would still apply. */
28992 #ifdef __cplusplus
28993 extern "C"
28994 #endif
28995 char TIFFError ();
28996 int
28997 main ()
28998 {
28999 return TIFFError ();
29000 ;
29001 return 0;
29002 }
29003 _ACEOF
29004 rm -f conftest.$ac_objext conftest$ac_exeext
29005 if { (ac_try="$ac_link"
29006 case "(($ac_try" in
29007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29008 *) ac_try_echo=$ac_try;;
29009 esac
29010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29011 (eval "$ac_link") 2>conftest.er1
29012 ac_status=$?
29013 grep -v '^ *+' conftest.er1 >conftest.err
29014 rm -f conftest.er1
29015 cat conftest.err >&5
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); } && {
29018 test -z "$ac_c_werror_flag" ||
29019 test ! -s conftest.err
29020 } && test -s conftest$ac_exeext &&
29021 $as_test_x conftest$ac_exeext; then
29022 ac_cv_lib_tiff_TIFFError=yes
29023 else
29024 echo "$as_me: failed program was:" >&5
29025 sed 's/^/| /' conftest.$ac_ext >&5
29026
29027 ac_cv_lib_tiff_TIFFError=no
29028 fi
29029
29030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29031 conftest$ac_exeext conftest.$ac_ext
29032 LIBS=$ac_check_lib_save_LIBS
29033 fi
29034 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29035 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29036 if test $ac_cv_lib_tiff_TIFFError = yes; then
29037 TIFF_LINK=" -ltiff"
29038 fi
29039
29040
29041 fi
29042
29043
29044
29045 if test "x$TIFF_LINK" = "x" ; then
29046 if test "$wxUSE_LIBTIFF" = "sys" ; then
29047 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29048 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29049 { (exit 1); exit 1; }; }
29050 else
29051 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29052 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29053 wxUSE_LIBTIFF=builtin
29054 fi
29055 else
29056 wxUSE_LIBTIFF=sys
29057 fi
29058 fi
29059 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29060 if test "$wxUSE_LIBJPEG" = "no"; then
29061 ac_configure_args="$ac_configure_args --disable-jpeg"
29062 fi
29063 subdirs="$subdirs src/tiff"
29064
29065 fi
29066 fi
29067
29068
29069 if test "$wxUSE_EXPAT" != "no"; then
29070 wxUSE_XML=yes
29071 cat >>confdefs.h <<\_ACEOF
29072 #define wxUSE_EXPAT 1
29073 _ACEOF
29074
29075 cat >>confdefs.h <<\_ACEOF
29076 #define wxUSE_XML 1
29077 _ACEOF
29078
29079
29080 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29081 { echo "$as_me:$LINENO: checking for expat.h" >&5
29082 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29083 if test "${ac_cv_header_expat_h+set}" = set; then
29084 echo $ECHO_N "(cached) $ECHO_C" >&6
29085 else
29086 cat >conftest.$ac_ext <<_ACEOF
29087 /* confdefs.h. */
29088 _ACEOF
29089 cat confdefs.h >>conftest.$ac_ext
29090 cat >>conftest.$ac_ext <<_ACEOF
29091 /* end confdefs.h. */
29092
29093
29094 #include <expat.h>
29095 _ACEOF
29096 rm -f conftest.$ac_objext
29097 if { (ac_try="$ac_compile"
29098 case "(($ac_try" in
29099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29100 *) ac_try_echo=$ac_try;;
29101 esac
29102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29103 (eval "$ac_compile") 2>conftest.er1
29104 ac_status=$?
29105 grep -v '^ *+' conftest.er1 >conftest.err
29106 rm -f conftest.er1
29107 cat conftest.err >&5
29108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109 (exit $ac_status); } && {
29110 test -z "$ac_c_werror_flag" ||
29111 test ! -s conftest.err
29112 } && test -s conftest.$ac_objext; then
29113 ac_cv_header_expat_h=yes
29114 else
29115 echo "$as_me: failed program was:" >&5
29116 sed 's/^/| /' conftest.$ac_ext >&5
29117
29118 ac_cv_header_expat_h=no
29119 fi
29120
29121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29122 fi
29123 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29124 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29125 if test $ac_cv_header_expat_h = yes; then
29126 found_expat_h=1
29127 fi
29128
29129
29130 if test "x$found_expat_h" = "x1"; then
29131 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29132 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29133 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29134 echo $ECHO_N "(cached) $ECHO_C" >&6
29135 else
29136
29137 ac_ext=cpp
29138 ac_cpp='$CXXCPP $CPPFLAGS'
29139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29142
29143 cat >conftest.$ac_ext <<_ACEOF
29144 /* confdefs.h. */
29145 _ACEOF
29146 cat confdefs.h >>conftest.$ac_ext
29147 cat >>conftest.$ac_ext <<_ACEOF
29148 /* end confdefs.h. */
29149 #include <expat.h>
29150 int
29151 main ()
29152 {
29153
29154 ;
29155 return 0;
29156 }
29157 _ACEOF
29158 rm -f conftest.$ac_objext
29159 if { (ac_try="$ac_compile"
29160 case "(($ac_try" in
29161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29162 *) ac_try_echo=$ac_try;;
29163 esac
29164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29165 (eval "$ac_compile") 2>conftest.er1
29166 ac_status=$?
29167 grep -v '^ *+' conftest.er1 >conftest.err
29168 rm -f conftest.er1
29169 cat conftest.err >&5
29170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29171 (exit $ac_status); } && {
29172 test -z "$ac_cxx_werror_flag" ||
29173 test ! -s conftest.err
29174 } && test -s conftest.$ac_objext; then
29175 wx_cv_expat_is_not_broken=yes
29176 else
29177 echo "$as_me: failed program was:" >&5
29178 sed 's/^/| /' conftest.$ac_ext >&5
29179
29180 wx_cv_expat_is_not_broken=no
29181
29182 fi
29183
29184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29185 ac_ext=c
29186 ac_cpp='$CPP $CPPFLAGS'
29187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29190
29191
29192
29193 fi
29194 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29195 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29196 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29197 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29198 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29199 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29200 echo $ECHO_N "(cached) $ECHO_C" >&6
29201 else
29202 ac_check_lib_save_LIBS=$LIBS
29203 LIBS="-lexpat $LIBS"
29204 cat >conftest.$ac_ext <<_ACEOF
29205 /* confdefs.h. */
29206 _ACEOF
29207 cat confdefs.h >>conftest.$ac_ext
29208 cat >>conftest.$ac_ext <<_ACEOF
29209 /* end confdefs.h. */
29210
29211 /* Override any GCC internal prototype to avoid an error.
29212 Use char because int might match the return type of a GCC
29213 builtin and then its argument prototype would still apply. */
29214 #ifdef __cplusplus
29215 extern "C"
29216 #endif
29217 char XML_ParserCreate ();
29218 int
29219 main ()
29220 {
29221 return XML_ParserCreate ();
29222 ;
29223 return 0;
29224 }
29225 _ACEOF
29226 rm -f conftest.$ac_objext conftest$ac_exeext
29227 if { (ac_try="$ac_link"
29228 case "(($ac_try" in
29229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29230 *) ac_try_echo=$ac_try;;
29231 esac
29232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29233 (eval "$ac_link") 2>conftest.er1
29234 ac_status=$?
29235 grep -v '^ *+' conftest.er1 >conftest.err
29236 rm -f conftest.er1
29237 cat conftest.err >&5
29238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29239 (exit $ac_status); } && {
29240 test -z "$ac_c_werror_flag" ||
29241 test ! -s conftest.err
29242 } && test -s conftest$ac_exeext &&
29243 $as_test_x conftest$ac_exeext; then
29244 ac_cv_lib_expat_XML_ParserCreate=yes
29245 else
29246 echo "$as_me: failed program was:" >&5
29247 sed 's/^/| /' conftest.$ac_ext >&5
29248
29249 ac_cv_lib_expat_XML_ParserCreate=no
29250 fi
29251
29252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29253 conftest$ac_exeext conftest.$ac_ext
29254 LIBS=$ac_check_lib_save_LIBS
29255 fi
29256 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29257 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29258 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29259 EXPAT_LINK=" -lexpat"
29260 fi
29261
29262 fi
29263 fi
29264 if test "x$EXPAT_LINK" = "x" ; then
29265 if test "$wxUSE_EXPAT" = "sys" ; then
29266 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29267 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29268 { (exit 1); exit 1; }; }
29269 else
29270 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29271 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29272 wxUSE_EXPAT=builtin
29273 fi
29274 else
29275 wxUSE_EXPAT=sys
29276 fi
29277 fi
29278 if test "$wxUSE_EXPAT" = "builtin" ; then
29279 subdirs="$subdirs src/expat"
29280
29281 fi
29282 fi
29283
29284
29285
29286 if test "$wxUSE_LIBMSPACK" != "no"; then
29287 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29288 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29289 if test "${ac_cv_header_mspack_h+set}" = set; then
29290 echo $ECHO_N "(cached) $ECHO_C" >&6
29291 else
29292 cat >conftest.$ac_ext <<_ACEOF
29293 /* confdefs.h. */
29294 _ACEOF
29295 cat confdefs.h >>conftest.$ac_ext
29296 cat >>conftest.$ac_ext <<_ACEOF
29297 /* end confdefs.h. */
29298
29299
29300 #include <mspack.h>
29301 _ACEOF
29302 rm -f conftest.$ac_objext
29303 if { (ac_try="$ac_compile"
29304 case "(($ac_try" in
29305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29306 *) ac_try_echo=$ac_try;;
29307 esac
29308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29309 (eval "$ac_compile") 2>conftest.er1
29310 ac_status=$?
29311 grep -v '^ *+' conftest.er1 >conftest.err
29312 rm -f conftest.er1
29313 cat conftest.err >&5
29314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29315 (exit $ac_status); } && {
29316 test -z "$ac_c_werror_flag" ||
29317 test ! -s conftest.err
29318 } && test -s conftest.$ac_objext; then
29319 ac_cv_header_mspack_h=yes
29320 else
29321 echo "$as_me: failed program was:" >&5
29322 sed 's/^/| /' conftest.$ac_ext >&5
29323
29324 ac_cv_header_mspack_h=no
29325 fi
29326
29327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29328 fi
29329 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29330 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29331 if test $ac_cv_header_mspack_h = yes; then
29332 found_mspack_h=1
29333 fi
29334
29335
29336 if test "x$found_mspack_h" = "x1"; then
29337 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29338 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29339 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29340 echo $ECHO_N "(cached) $ECHO_C" >&6
29341 else
29342 ac_check_lib_save_LIBS=$LIBS
29343 LIBS="-lmspack $LIBS"
29344 cat >conftest.$ac_ext <<_ACEOF
29345 /* confdefs.h. */
29346 _ACEOF
29347 cat confdefs.h >>conftest.$ac_ext
29348 cat >>conftest.$ac_ext <<_ACEOF
29349 /* end confdefs.h. */
29350
29351 /* Override any GCC internal prototype to avoid an error.
29352 Use char because int might match the return type of a GCC
29353 builtin and then its argument prototype would still apply. */
29354 #ifdef __cplusplus
29355 extern "C"
29356 #endif
29357 char mspack_create_chm_decompressor ();
29358 int
29359 main ()
29360 {
29361 return mspack_create_chm_decompressor ();
29362 ;
29363 return 0;
29364 }
29365 _ACEOF
29366 rm -f conftest.$ac_objext conftest$ac_exeext
29367 if { (ac_try="$ac_link"
29368 case "(($ac_try" in
29369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29370 *) ac_try_echo=$ac_try;;
29371 esac
29372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29373 (eval "$ac_link") 2>conftest.er1
29374 ac_status=$?
29375 grep -v '^ *+' conftest.er1 >conftest.err
29376 rm -f conftest.er1
29377 cat conftest.err >&5
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); } && {
29380 test -z "$ac_c_werror_flag" ||
29381 test ! -s conftest.err
29382 } && test -s conftest$ac_exeext &&
29383 $as_test_x conftest$ac_exeext; then
29384 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29385 else
29386 echo "$as_me: failed program was:" >&5
29387 sed 's/^/| /' conftest.$ac_ext >&5
29388
29389 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29390 fi
29391
29392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29393 conftest$ac_exeext conftest.$ac_ext
29394 LIBS=$ac_check_lib_save_LIBS
29395 fi
29396 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29397 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29398 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29399 MSPACK_LINK=" -lmspack"
29400 fi
29401
29402 fi
29403 if test "x$MSPACK_LINK" = "x" ; then
29404 wxUSE_LIBMSPACK=no
29405 fi
29406 fi
29407
29408 if test "$wxUSE_LIBMSPACK" != "no"; then
29409 cat >>confdefs.h <<\_ACEOF
29410 #define wxUSE_LIBMSPACK 1
29411 _ACEOF
29412
29413 fi
29414
29415
29416
29417 AFMINSTALL=
29418 WIN32INSTALL=
29419
29420 TOOLKIT=
29421 TOOLKIT_INCLUDE=
29422 WIDGET_SET=
29423
29424 if test "$USE_WIN32" = 1 ; then
29425
29426 for ac_header in w32api.h
29427 do
29428 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29429 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29431 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29432 echo $ECHO_N "(cached) $ECHO_C" >&6
29433 else
29434 cat >conftest.$ac_ext <<_ACEOF
29435 /* confdefs.h. */
29436 _ACEOF
29437 cat confdefs.h >>conftest.$ac_ext
29438 cat >>conftest.$ac_ext <<_ACEOF
29439 /* end confdefs.h. */
29440
29441
29442 #include <$ac_header>
29443 _ACEOF
29444 rm -f conftest.$ac_objext
29445 if { (ac_try="$ac_compile"
29446 case "(($ac_try" in
29447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29448 *) ac_try_echo=$ac_try;;
29449 esac
29450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29451 (eval "$ac_compile") 2>conftest.er1
29452 ac_status=$?
29453 grep -v '^ *+' conftest.er1 >conftest.err
29454 rm -f conftest.er1
29455 cat conftest.err >&5
29456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29457 (exit $ac_status); } && {
29458 test -z "$ac_c_werror_flag" ||
29459 test ! -s conftest.err
29460 } && test -s conftest.$ac_objext; then
29461 eval "$as_ac_Header=yes"
29462 else
29463 echo "$as_me: failed program was:" >&5
29464 sed 's/^/| /' conftest.$ac_ext >&5
29465
29466 eval "$as_ac_Header=no"
29467 fi
29468
29469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29470 fi
29471 ac_res=`eval echo '${'$as_ac_Header'}'`
29472 { echo "$as_me:$LINENO: result: $ac_res" >&5
29473 echo "${ECHO_T}$ac_res" >&6; }
29474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29475 cat >>confdefs.h <<_ACEOF
29476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29477 _ACEOF
29478
29479 fi
29480
29481 done
29482
29483 { echo "$as_me:$LINENO: checking for windows.h" >&5
29484 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29485 if test "${ac_cv_header_windows_h+set}" = set; then
29486 echo $ECHO_N "(cached) $ECHO_C" >&6
29487 else
29488 cat >conftest.$ac_ext <<_ACEOF
29489 /* confdefs.h. */
29490 _ACEOF
29491 cat confdefs.h >>conftest.$ac_ext
29492 cat >>conftest.$ac_ext <<_ACEOF
29493 /* end confdefs.h. */
29494
29495
29496 #include <windows.h>
29497 _ACEOF
29498 rm -f conftest.$ac_objext
29499 if { (ac_try="$ac_compile"
29500 case "(($ac_try" in
29501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29502 *) ac_try_echo=$ac_try;;
29503 esac
29504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29505 (eval "$ac_compile") 2>conftest.er1
29506 ac_status=$?
29507 grep -v '^ *+' conftest.er1 >conftest.err
29508 rm -f conftest.er1
29509 cat conftest.err >&5
29510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29511 (exit $ac_status); } && {
29512 test -z "$ac_c_werror_flag" ||
29513 test ! -s conftest.err
29514 } && test -s conftest.$ac_objext; then
29515 ac_cv_header_windows_h=yes
29516 else
29517 echo "$as_me: failed program was:" >&5
29518 sed 's/^/| /' conftest.$ac_ext >&5
29519
29520 ac_cv_header_windows_h=no
29521 fi
29522
29523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29524 fi
29525 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29526 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29527 if test $ac_cv_header_windows_h = yes; then
29528 :
29529 else
29530
29531 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29532 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29533 { (exit 1); exit 1; }; }
29534
29535 fi
29536
29537
29538
29539 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29540 case "${host}" in
29541 x86_64-*-mingw32* )
29542 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29543 ;;
29544 esac
29545 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29546 LIBS="$LIBS -loleacc"
29547 fi
29548
29549 case "${host}" in
29550 *-*-cygwin* )
29551 LIBS="$LIBS -lkernel32 -luser32"
29552 esac
29553
29554 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29555 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29556
29557 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29558
29559 WIN32INSTALL=win32install
29560
29561 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29562 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29563 if test "${ac_cv_header_pbt_h+set}" = set; then
29564 echo $ECHO_N "(cached) $ECHO_C" >&6
29565 else
29566 cat >conftest.$ac_ext <<_ACEOF
29567 /* confdefs.h. */
29568 _ACEOF
29569 cat confdefs.h >>conftest.$ac_ext
29570 cat >>conftest.$ac_ext <<_ACEOF
29571 /* end confdefs.h. */
29572
29573
29574 #include <pbt.h>
29575 _ACEOF
29576 rm -f conftest.$ac_objext
29577 if { (ac_try="$ac_compile"
29578 case "(($ac_try" in
29579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29580 *) ac_try_echo=$ac_try;;
29581 esac
29582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29583 (eval "$ac_compile") 2>conftest.er1
29584 ac_status=$?
29585 grep -v '^ *+' conftest.er1 >conftest.err
29586 rm -f conftest.er1
29587 cat conftest.err >&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); } && {
29590 test -z "$ac_c_werror_flag" ||
29591 test ! -s conftest.err
29592 } && test -s conftest.$ac_objext; then
29593 ac_cv_header_pbt_h=yes
29594 else
29595 echo "$as_me: failed program was:" >&5
29596 sed 's/^/| /' conftest.$ac_ext >&5
29597
29598 ac_cv_header_pbt_h=no
29599 fi
29600
29601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29602 fi
29603 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29604 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29605 if test $ac_cv_header_pbt_h = yes; then
29606 :
29607 else
29608 cat >>confdefs.h <<\_ACEOF
29609 #define NEED_PBT_H 1
29610 _ACEOF
29611
29612 fi
29613
29614
29615 fi
29616
29617 if test "$wxUSE_GUI" = "yes"; then
29618 USE_GUI=1
29619
29620 GUI_TK_LIBRARY=
29621
29622 WXGTK12=
29623 WXGTK127=
29624 WXGTK2=
29625 WXGPE=
29626
29627 if test "$wxUSE_OLD_COCOA" = 1 ; then
29628 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29629 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29630 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29631 wxUSE_PRINTING_ARCHITECTURE=no
29632 fi
29633 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29634 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29635 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29636 wxUSE_DRAG_AND_DROP=no
29637 fi
29638 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29639 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29640 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29641 wxUSE_DRAGIMAGE=no
29642 fi
29643 fi
29644
29645 if test "$wxUSE_MSW" = 1 ; then
29646 TOOLKIT=MSW
29647 GUIDIST=MSW_DIST
29648
29649 case "${host}" in
29650 *-*-mingw32* )
29651 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29652 esac
29653 fi
29654
29655 if test "$wxUSE_GTK" = 1; then
29656 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29657 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29658
29659 gtk_version_cached=1
29660 if test "${wx_cv_lib_gtk+set}" = set; then
29661 echo $ECHO_N "(cached) $ECHO_C" >&6
29662 else
29663
29664 gtk_version_cached=0
29665 { echo "$as_me:$LINENO: result: " >&5
29666 echo "${ECHO_T}" >&6; }
29667
29668 GTK_MODULES=
29669 if test "$wxUSE_THREADS" = "yes"; then
29670 GTK_MODULES=gthread
29671 fi
29672
29673 wx_cv_lib_gtk=
29674 if test "x$wxGTK_VERSION" != "x1"
29675 then
29676 case "${host}" in
29677 *-*-solaris2* )
29678 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29679 enable_gtktest=no
29680 fi
29681 esac
29682
29683 # Check whether --enable-gtktest was given.
29684 if test "${enable_gtktest+set}" = set; then
29685 enableval=$enable_gtktest;
29686 else
29687 enable_gtktest=yes
29688 fi
29689
29690
29691 pkg_config_args=gtk+-2.0
29692 for module in . $GTK_MODULES
29693 do
29694 case "$module" in
29695 gthread)
29696 pkg_config_args="$pkg_config_args gthread-2.0"
29697 ;;
29698 esac
29699 done
29700
29701 no_gtk=""
29702
29703 # Extract the first word of "pkg-config", so it can be a program name with args.
29704 set dummy pkg-config; ac_word=$2
29705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29707 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29708 echo $ECHO_N "(cached) $ECHO_C" >&6
29709 else
29710 case $PKG_CONFIG in
29711 [\\/]* | ?:[\\/]*)
29712 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29713 ;;
29714 *)
29715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29716 for as_dir in $PATH
29717 do
29718 IFS=$as_save_IFS
29719 test -z "$as_dir" && as_dir=.
29720 for ac_exec_ext in '' $ac_executable_extensions; do
29721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29722 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29724 break 2
29725 fi
29726 done
29727 done
29728 IFS=$as_save_IFS
29729
29730 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29731 ;;
29732 esac
29733 fi
29734 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29735 if test -n "$PKG_CONFIG"; then
29736 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29737 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29738 else
29739 { echo "$as_me:$LINENO: result: no" >&5
29740 echo "${ECHO_T}no" >&6; }
29741 fi
29742
29743
29744
29745 if test x$PKG_CONFIG != xno ; then
29746 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29747 :
29748 else
29749 echo "*** pkg-config too old; version 0.7 or better required."
29750 no_gtk=yes
29751 PKG_CONFIG=no
29752 fi
29753 else
29754 no_gtk=yes
29755 fi
29756
29757 min_gtk_version=2.4.0
29758 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29759 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29760
29761 if test x$PKG_CONFIG != xno ; then
29762 ## don't try to run the test against uninstalled libtool libs
29763 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29764 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29765 enable_gtktest=no
29766 fi
29767
29768 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29769 :
29770 else
29771 no_gtk=yes
29772 fi
29773 fi
29774
29775 if test x"$no_gtk" = x ; then
29776 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29777 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29778 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29779 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29780 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29781 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29782 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29783 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29784 if test "x$enable_gtktest" = "xyes" ; then
29785 ac_save_CFLAGS="$CFLAGS"
29786 ac_save_LIBS="$LIBS"
29787 CFLAGS="$CFLAGS $GTK_CFLAGS"
29788 LIBS="$GTK_LIBS $LIBS"
29789 rm -f conf.gtktest
29790 if test "$cross_compiling" = yes; then
29791 echo $ac_n "cross compiling; assumed OK... $ac_c"
29792 else
29793 cat >conftest.$ac_ext <<_ACEOF
29794 /* confdefs.h. */
29795 _ACEOF
29796 cat confdefs.h >>conftest.$ac_ext
29797 cat >>conftest.$ac_ext <<_ACEOF
29798 /* end confdefs.h. */
29799
29800 #include <gtk/gtk.h>
29801 #include <stdio.h>
29802 #include <stdlib.h>
29803
29804 int
29805 main ()
29806 {
29807 int major, minor, micro;
29808 char *tmp_version;
29809
29810 system ("touch conf.gtktest");
29811
29812 /* HP/UX 9 (%@#!) writes to sscanf strings */
29813 tmp_version = g_strdup("$min_gtk_version");
29814 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29815 printf("%s, bad version string\n", "$min_gtk_version");
29816 exit(1);
29817 }
29818
29819 if ((gtk_major_version != $gtk_config_major_version) ||
29820 (gtk_minor_version != $gtk_config_minor_version) ||
29821 (gtk_micro_version != $gtk_config_micro_version))
29822 {
29823 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29824 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29825 gtk_major_version, gtk_minor_version, gtk_micro_version);
29826 printf ("*** was found! If pkg-config was correct, then it is best\n");
29827 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29828 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29829 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29830 printf("*** required on your system.\n");
29831 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29832 printf("*** to point to the correct configuration files\n");
29833 }
29834 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29835 (gtk_minor_version != GTK_MINOR_VERSION) ||
29836 (gtk_micro_version != GTK_MICRO_VERSION))
29837 {
29838 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29839 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29840 printf("*** library (version %d.%d.%d)\n",
29841 gtk_major_version, gtk_minor_version, gtk_micro_version);
29842 }
29843 else
29844 {
29845 if ((gtk_major_version > major) ||
29846 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29847 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29848 {
29849 return 0;
29850 }
29851 else
29852 {
29853 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29854 gtk_major_version, gtk_minor_version, gtk_micro_version);
29855 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29856 major, minor, micro);
29857 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29858 printf("***\n");
29859 printf("*** If you have already installed a sufficiently new version, this error\n");
29860 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29861 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29862 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29863 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29864 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29865 printf("*** so that the correct libraries are found at run-time))\n");
29866 }
29867 }
29868 return 1;
29869 }
29870
29871 _ACEOF
29872 rm -f conftest$ac_exeext
29873 if { (ac_try="$ac_link"
29874 case "(($ac_try" in
29875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29876 *) ac_try_echo=$ac_try;;
29877 esac
29878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29879 (eval "$ac_link") 2>&5
29880 ac_status=$?
29881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29882 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29883 { (case "(($ac_try" in
29884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29885 *) ac_try_echo=$ac_try;;
29886 esac
29887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29888 (eval "$ac_try") 2>&5
29889 ac_status=$?
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); }; }; then
29892 :
29893 else
29894 echo "$as_me: program exited with status $ac_status" >&5
29895 echo "$as_me: failed program was:" >&5
29896 sed 's/^/| /' conftest.$ac_ext >&5
29897
29898 ( exit $ac_status )
29899 no_gtk=yes
29900 fi
29901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29902 fi
29903
29904
29905 CFLAGS="$ac_save_CFLAGS"
29906 LIBS="$ac_save_LIBS"
29907 fi
29908 fi
29909 if test "x$no_gtk" = x ; then
29910 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29911 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29912 wx_cv_lib_gtk=2.0
29913 else
29914 { echo "$as_me:$LINENO: result: no" >&5
29915 echo "${ECHO_T}no" >&6; }
29916 if test "$PKG_CONFIG" = "no" ; then
29917 echo "*** A new enough version of pkg-config was not found."
29918 echo "*** See http://pkgconfig.sourceforge.net"
29919 else
29920 if test -f conf.gtktest ; then
29921 :
29922 else
29923 echo "*** Could not run GTK+ test program, checking why..."
29924 ac_save_CFLAGS="$CFLAGS"
29925 ac_save_LIBS="$LIBS"
29926 CFLAGS="$CFLAGS $GTK_CFLAGS"
29927 LIBS="$LIBS $GTK_LIBS"
29928 cat >conftest.$ac_ext <<_ACEOF
29929 /* confdefs.h. */
29930 _ACEOF
29931 cat confdefs.h >>conftest.$ac_ext
29932 cat >>conftest.$ac_ext <<_ACEOF
29933 /* end confdefs.h. */
29934
29935 #include <gtk/gtk.h>
29936 #include <stdio.h>
29937
29938 int
29939 main ()
29940 {
29941 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29942 ;
29943 return 0;
29944 }
29945 _ACEOF
29946 rm -f conftest.$ac_objext conftest$ac_exeext
29947 if { (ac_try="$ac_link"
29948 case "(($ac_try" in
29949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29950 *) ac_try_echo=$ac_try;;
29951 esac
29952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29953 (eval "$ac_link") 2>conftest.er1
29954 ac_status=$?
29955 grep -v '^ *+' conftest.er1 >conftest.err
29956 rm -f conftest.er1
29957 cat conftest.err >&5
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); } && {
29960 test -z "$ac_c_werror_flag" ||
29961 test ! -s conftest.err
29962 } && test -s conftest$ac_exeext &&
29963 $as_test_x conftest$ac_exeext; then
29964 echo "*** The test program compiled, but did not run. This usually means"
29965 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29966 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29967 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29968 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29969 echo "*** is required on your system"
29970 echo "***"
29971 echo "*** If you have an old version installed, it is best to remove it, although"
29972 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29973 else
29974 echo "$as_me: failed program was:" >&5
29975 sed 's/^/| /' conftest.$ac_ext >&5
29976
29977 echo "*** The test program failed to compile or link. See the file config.log for the"
29978 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29979 fi
29980
29981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29982 conftest$ac_exeext conftest.$ac_ext
29983 CFLAGS="$ac_save_CFLAGS"
29984 LIBS="$ac_save_LIBS"
29985 fi
29986 fi
29987 GTK_CFLAGS=""
29988 GTK_LIBS=""
29989 :
29990 fi
29991
29992
29993 rm -f conf.gtktest
29994
29995
29996 GTK_LIBS="$GTK_LIBS -lX11"
29997 fi
29998
29999 if test -z "$wx_cv_lib_gtk"; then
30000 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30001
30002 # Check whether --with-gtk-prefix was given.
30003 if test "${with_gtk_prefix+set}" = set; then
30004 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30005 else
30006 gtk_config_prefix=""
30007 fi
30008
30009
30010 # Check whether --with-gtk-exec-prefix was given.
30011 if test "${with_gtk_exec_prefix+set}" = set; then
30012 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30013 else
30014 gtk_config_exec_prefix=""
30015 fi
30016
30017 # Check whether --enable-gtktest was given.
30018 if test "${enable_gtktest+set}" = set; then
30019 enableval=$enable_gtktest;
30020 else
30021 enable_gtktest=yes
30022 fi
30023
30024
30025 for module in . $GTK_MODULES
30026 do
30027 case "$module" in
30028 gthread)
30029 gtk_config_args="$gtk_config_args gthread"
30030 ;;
30031 esac
30032 done
30033
30034 if test x$gtk_config_exec_prefix != x ; then
30035 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30036 if test x${GTK_CONFIG+set} != xset ; then
30037 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30038 fi
30039 fi
30040 if test x$gtk_config_prefix != x ; then
30041 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30042 if test x${GTK_CONFIG+set} != xset ; then
30043 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30044 fi
30045 fi
30046
30047 # Extract the first word of "gtk-config", so it can be a program name with args.
30048 set dummy gtk-config; ac_word=$2
30049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30051 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30052 echo $ECHO_N "(cached) $ECHO_C" >&6
30053 else
30054 case $GTK_CONFIG in
30055 [\\/]* | ?:[\\/]*)
30056 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30057 ;;
30058 *)
30059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30060 for as_dir in $PATH
30061 do
30062 IFS=$as_save_IFS
30063 test -z "$as_dir" && as_dir=.
30064 for ac_exec_ext in '' $ac_executable_extensions; do
30065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30066 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30068 break 2
30069 fi
30070 done
30071 done
30072 IFS=$as_save_IFS
30073
30074 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30075 ;;
30076 esac
30077 fi
30078 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30079 if test -n "$GTK_CONFIG"; then
30080 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30081 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30082 else
30083 { echo "$as_me:$LINENO: result: no" >&5
30084 echo "${ECHO_T}no" >&6; }
30085 fi
30086
30087
30088 min_gtk_version=1.2.7
30089 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30090 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30091 no_gtk=""
30092 if test "$GTK_CONFIG" = "no" ; then
30093 no_gtk=yes
30094 else
30095 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30096 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30097 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30098 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30099 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30100 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30101 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30102 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30103 if test "x$enable_gtktest" = "xyes" ; then
30104 ac_save_CFLAGS="$CFLAGS"
30105 ac_save_LIBS="$LIBS"
30106 CFLAGS="$CFLAGS $GTK_CFLAGS"
30107 LIBS="$GTK_LIBS $LIBS"
30108 rm -f conf.gtktest
30109 if test "$cross_compiling" = yes; then
30110 echo $ac_n "cross compiling; assumed OK... $ac_c"
30111 else
30112 cat >conftest.$ac_ext <<_ACEOF
30113 /* confdefs.h. */
30114 _ACEOF
30115 cat confdefs.h >>conftest.$ac_ext
30116 cat >>conftest.$ac_ext <<_ACEOF
30117 /* end confdefs.h. */
30118
30119 #include <gtk/gtk.h>
30120 #include <stdio.h>
30121 #include <stdlib.h>
30122
30123 int
30124 main ()
30125 {
30126 int major, minor, micro;
30127 char *tmp_version;
30128
30129 system ("touch conf.gtktest");
30130
30131 /* HP/UX 9 (%@#!) writes to sscanf strings */
30132 tmp_version = g_strdup("$min_gtk_version");
30133 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30134 printf("%s, bad version string\n", "$min_gtk_version");
30135 exit(1);
30136 }
30137
30138 if ((gtk_major_version != $gtk_config_major_version) ||
30139 (gtk_minor_version != $gtk_config_minor_version) ||
30140 (gtk_micro_version != $gtk_config_micro_version))
30141 {
30142 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30143 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30144 gtk_major_version, gtk_minor_version, gtk_micro_version);
30145 printf ("*** was found! If gtk-config was correct, then it is best\n");
30146 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30147 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30148 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30149 printf("*** required on your system.\n");
30150 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30151 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30152 printf("*** before re-running configure\n");
30153 }
30154 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30155 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30156 (gtk_minor_version != GTK_MINOR_VERSION) ||
30157 (gtk_micro_version != GTK_MICRO_VERSION))
30158 {
30159 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30160 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30161 printf("*** library (version %d.%d.%d)\n",
30162 gtk_major_version, gtk_minor_version, gtk_micro_version);
30163 }
30164 #endif /* defined (GTK_MAJOR_VERSION) ... */
30165 else
30166 {
30167 if ((gtk_major_version > major) ||
30168 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30169 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30170 {
30171 return 0;
30172 }
30173 else
30174 {
30175 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30176 gtk_major_version, gtk_minor_version, gtk_micro_version);
30177 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30178 major, minor, micro);
30179 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30180 printf("***\n");
30181 printf("*** If you have already installed a sufficiently new version, this error\n");
30182 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30183 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30184 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30185 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30186 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30187 printf("*** so that the correct libraries are found at run-time))\n");
30188 }
30189 }
30190 return 1;
30191 }
30192
30193 _ACEOF
30194 rm -f conftest$ac_exeext
30195 if { (ac_try="$ac_link"
30196 case "(($ac_try" in
30197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30198 *) ac_try_echo=$ac_try;;
30199 esac
30200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30201 (eval "$ac_link") 2>&5
30202 ac_status=$?
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30205 { (case "(($ac_try" in
30206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30207 *) ac_try_echo=$ac_try;;
30208 esac
30209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30210 (eval "$ac_try") 2>&5
30211 ac_status=$?
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); }; }; then
30214 :
30215 else
30216 echo "$as_me: program exited with status $ac_status" >&5
30217 echo "$as_me: failed program was:" >&5
30218 sed 's/^/| /' conftest.$ac_ext >&5
30219
30220 ( exit $ac_status )
30221 no_gtk=yes
30222 fi
30223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30224 fi
30225
30226
30227 CFLAGS="$ac_save_CFLAGS"
30228 LIBS="$ac_save_LIBS"
30229 fi
30230 fi
30231 if test "x$no_gtk" = x ; then
30232 { echo "$as_me:$LINENO: result: yes" >&5
30233 echo "${ECHO_T}yes" >&6; }
30234 wx_cv_lib_gtk=1.2.7
30235 else
30236 { echo "$as_me:$LINENO: result: no" >&5
30237 echo "${ECHO_T}no" >&6; }
30238 if test "$GTK_CONFIG" = "no" ; then
30239 echo "*** The gtk-config script installed by GTK could not be found"
30240 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30241 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30242 echo "*** full path to gtk-config."
30243 else
30244 if test -f conf.gtktest ; then
30245 :
30246 else
30247 echo "*** Could not run GTK test program, checking why..."
30248 CFLAGS="$CFLAGS $GTK_CFLAGS"
30249 LIBS="$LIBS $GTK_LIBS"
30250 cat >conftest.$ac_ext <<_ACEOF
30251 /* confdefs.h. */
30252 _ACEOF
30253 cat confdefs.h >>conftest.$ac_ext
30254 cat >>conftest.$ac_ext <<_ACEOF
30255 /* end confdefs.h. */
30256
30257 #include <gtk/gtk.h>
30258 #include <stdio.h>
30259
30260 int
30261 main ()
30262 {
30263 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30264 ;
30265 return 0;
30266 }
30267 _ACEOF
30268 rm -f conftest.$ac_objext conftest$ac_exeext
30269 if { (ac_try="$ac_link"
30270 case "(($ac_try" in
30271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30272 *) ac_try_echo=$ac_try;;
30273 esac
30274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30275 (eval "$ac_link") 2>conftest.er1
30276 ac_status=$?
30277 grep -v '^ *+' conftest.er1 >conftest.err
30278 rm -f conftest.er1
30279 cat conftest.err >&5
30280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281 (exit $ac_status); } && {
30282 test -z "$ac_c_werror_flag" ||
30283 test ! -s conftest.err
30284 } && test -s conftest$ac_exeext &&
30285 $as_test_x conftest$ac_exeext; then
30286 echo "*** The test program compiled, but did not run. This usually means"
30287 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30288 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30289 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30290 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30291 echo "*** is required on your system"
30292 echo "***"
30293 echo "*** If you have an old version installed, it is best to remove it, although"
30294 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30295 echo "***"
30296 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30297 echo "*** came with the system with the command"
30298 echo "***"
30299 echo "*** rpm --erase --nodeps gtk gtk-devel"
30300 else
30301 echo "$as_me: failed program was:" >&5
30302 sed 's/^/| /' conftest.$ac_ext >&5
30303
30304 echo "*** The test program failed to compile or link. See the file config.log for the"
30305 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30306 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30307 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30308 fi
30309
30310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30311 conftest$ac_exeext conftest.$ac_ext
30312 CFLAGS="$ac_save_CFLAGS"
30313 LIBS="$ac_save_LIBS"
30314 fi
30315 fi
30316 GTK_CFLAGS=""
30317 GTK_LIBS=""
30318 :
30319 fi
30320
30321
30322 rm -f conf.gtktest
30323
30324
30325 if test -z "$wx_cv_lib_gtk"; then
30326
30327 # Check whether --with-gtk-prefix was given.
30328 if test "${with_gtk_prefix+set}" = set; then
30329 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30330 else
30331 gtk_config_prefix=""
30332 fi
30333
30334
30335 # Check whether --with-gtk-exec-prefix was given.
30336 if test "${with_gtk_exec_prefix+set}" = set; then
30337 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30338 else
30339 gtk_config_exec_prefix=""
30340 fi
30341
30342 # Check whether --enable-gtktest was given.
30343 if test "${enable_gtktest+set}" = set; then
30344 enableval=$enable_gtktest;
30345 else
30346 enable_gtktest=yes
30347 fi
30348
30349
30350 for module in . $GTK_MODULES
30351 do
30352 case "$module" in
30353 gthread)
30354 gtk_config_args="$gtk_config_args gthread"
30355 ;;
30356 esac
30357 done
30358
30359 if test x$gtk_config_exec_prefix != x ; then
30360 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30361 if test x${GTK_CONFIG+set} != xset ; then
30362 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30363 fi
30364 fi
30365 if test x$gtk_config_prefix != x ; then
30366 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30367 if test x${GTK_CONFIG+set} != xset ; then
30368 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30369 fi
30370 fi
30371
30372 # Extract the first word of "gtk-config", so it can be a program name with args.
30373 set dummy gtk-config; ac_word=$2
30374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30376 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30377 echo $ECHO_N "(cached) $ECHO_C" >&6
30378 else
30379 case $GTK_CONFIG in
30380 [\\/]* | ?:[\\/]*)
30381 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30382 ;;
30383 *)
30384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30385 for as_dir in $PATH
30386 do
30387 IFS=$as_save_IFS
30388 test -z "$as_dir" && as_dir=.
30389 for ac_exec_ext in '' $ac_executable_extensions; do
30390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30391 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30393 break 2
30394 fi
30395 done
30396 done
30397 IFS=$as_save_IFS
30398
30399 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30400 ;;
30401 esac
30402 fi
30403 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30404 if test -n "$GTK_CONFIG"; then
30405 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30406 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30407 else
30408 { echo "$as_me:$LINENO: result: no" >&5
30409 echo "${ECHO_T}no" >&6; }
30410 fi
30411
30412
30413 min_gtk_version=1.2.3
30414 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30415 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30416 no_gtk=""
30417 if test "$GTK_CONFIG" = "no" ; then
30418 no_gtk=yes
30419 else
30420 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30421 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30422 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30423 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30424 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30425 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30426 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30427 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30428 if test "x$enable_gtktest" = "xyes" ; then
30429 ac_save_CFLAGS="$CFLAGS"
30430 ac_save_LIBS="$LIBS"
30431 CFLAGS="$CFLAGS $GTK_CFLAGS"
30432 LIBS="$GTK_LIBS $LIBS"
30433 rm -f conf.gtktest
30434 if test "$cross_compiling" = yes; then
30435 echo $ac_n "cross compiling; assumed OK... $ac_c"
30436 else
30437 cat >conftest.$ac_ext <<_ACEOF
30438 /* confdefs.h. */
30439 _ACEOF
30440 cat confdefs.h >>conftest.$ac_ext
30441 cat >>conftest.$ac_ext <<_ACEOF
30442 /* end confdefs.h. */
30443
30444 #include <gtk/gtk.h>
30445 #include <stdio.h>
30446 #include <stdlib.h>
30447
30448 int
30449 main ()
30450 {
30451 int major, minor, micro;
30452 char *tmp_version;
30453
30454 system ("touch conf.gtktest");
30455
30456 /* HP/UX 9 (%@#!) writes to sscanf strings */
30457 tmp_version = g_strdup("$min_gtk_version");
30458 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30459 printf("%s, bad version string\n", "$min_gtk_version");
30460 exit(1);
30461 }
30462
30463 if ((gtk_major_version != $gtk_config_major_version) ||
30464 (gtk_minor_version != $gtk_config_minor_version) ||
30465 (gtk_micro_version != $gtk_config_micro_version))
30466 {
30467 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30468 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30469 gtk_major_version, gtk_minor_version, gtk_micro_version);
30470 printf ("*** was found! If gtk-config was correct, then it is best\n");
30471 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30472 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30473 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30474 printf("*** required on your system.\n");
30475 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30476 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30477 printf("*** before re-running configure\n");
30478 }
30479 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30480 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30481 (gtk_minor_version != GTK_MINOR_VERSION) ||
30482 (gtk_micro_version != GTK_MICRO_VERSION))
30483 {
30484 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30485 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30486 printf("*** library (version %d.%d.%d)\n",
30487 gtk_major_version, gtk_minor_version, gtk_micro_version);
30488 }
30489 #endif /* defined (GTK_MAJOR_VERSION) ... */
30490 else
30491 {
30492 if ((gtk_major_version > major) ||
30493 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30494 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30495 {
30496 return 0;
30497 }
30498 else
30499 {
30500 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30501 gtk_major_version, gtk_minor_version, gtk_micro_version);
30502 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30503 major, minor, micro);
30504 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30505 printf("***\n");
30506 printf("*** If you have already installed a sufficiently new version, this error\n");
30507 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30508 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30509 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30510 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30511 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30512 printf("*** so that the correct libraries are found at run-time))\n");
30513 }
30514 }
30515 return 1;
30516 }
30517
30518 _ACEOF
30519 rm -f conftest$ac_exeext
30520 if { (ac_try="$ac_link"
30521 case "(($ac_try" in
30522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30523 *) ac_try_echo=$ac_try;;
30524 esac
30525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30526 (eval "$ac_link") 2>&5
30527 ac_status=$?
30528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30529 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30530 { (case "(($ac_try" in
30531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30532 *) ac_try_echo=$ac_try;;
30533 esac
30534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30535 (eval "$ac_try") 2>&5
30536 ac_status=$?
30537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538 (exit $ac_status); }; }; then
30539 :
30540 else
30541 echo "$as_me: program exited with status $ac_status" >&5
30542 echo "$as_me: failed program was:" >&5
30543 sed 's/^/| /' conftest.$ac_ext >&5
30544
30545 ( exit $ac_status )
30546 no_gtk=yes
30547 fi
30548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30549 fi
30550
30551
30552 CFLAGS="$ac_save_CFLAGS"
30553 LIBS="$ac_save_LIBS"
30554 fi
30555 fi
30556 if test "x$no_gtk" = x ; then
30557 { echo "$as_me:$LINENO: result: yes" >&5
30558 echo "${ECHO_T}yes" >&6; }
30559 wx_cv_lib_gtk=1.2.3
30560 else
30561 { echo "$as_me:$LINENO: result: no" >&5
30562 echo "${ECHO_T}no" >&6; }
30563 if test "$GTK_CONFIG" = "no" ; then
30564 echo "*** The gtk-config script installed by GTK could not be found"
30565 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30566 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30567 echo "*** full path to gtk-config."
30568 else
30569 if test -f conf.gtktest ; then
30570 :
30571 else
30572 echo "*** Could not run GTK test program, checking why..."
30573 CFLAGS="$CFLAGS $GTK_CFLAGS"
30574 LIBS="$LIBS $GTK_LIBS"
30575 cat >conftest.$ac_ext <<_ACEOF
30576 /* confdefs.h. */
30577 _ACEOF
30578 cat confdefs.h >>conftest.$ac_ext
30579 cat >>conftest.$ac_ext <<_ACEOF
30580 /* end confdefs.h. */
30581
30582 #include <gtk/gtk.h>
30583 #include <stdio.h>
30584
30585 int
30586 main ()
30587 {
30588 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30589 ;
30590 return 0;
30591 }
30592 _ACEOF
30593 rm -f conftest.$ac_objext conftest$ac_exeext
30594 if { (ac_try="$ac_link"
30595 case "(($ac_try" in
30596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30597 *) ac_try_echo=$ac_try;;
30598 esac
30599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30600 (eval "$ac_link") 2>conftest.er1
30601 ac_status=$?
30602 grep -v '^ *+' conftest.er1 >conftest.err
30603 rm -f conftest.er1
30604 cat conftest.err >&5
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); } && {
30607 test -z "$ac_c_werror_flag" ||
30608 test ! -s conftest.err
30609 } && test -s conftest$ac_exeext &&
30610 $as_test_x conftest$ac_exeext; then
30611 echo "*** The test program compiled, but did not run. This usually means"
30612 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30613 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30614 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30615 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30616 echo "*** is required on your system"
30617 echo "***"
30618 echo "*** If you have an old version installed, it is best to remove it, although"
30619 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30620 echo "***"
30621 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30622 echo "*** came with the system with the command"
30623 echo "***"
30624 echo "*** rpm --erase --nodeps gtk gtk-devel"
30625 else
30626 echo "$as_me: failed program was:" >&5
30627 sed 's/^/| /' conftest.$ac_ext >&5
30628
30629 echo "*** The test program failed to compile or link. See the file config.log for the"
30630 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30631 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30632 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30633 fi
30634
30635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30636 conftest$ac_exeext conftest.$ac_ext
30637 CFLAGS="$ac_save_CFLAGS"
30638 LIBS="$ac_save_LIBS"
30639 fi
30640 fi
30641 GTK_CFLAGS=""
30642 GTK_LIBS=""
30643 :
30644 fi
30645
30646
30647 rm -f conf.gtktest
30648
30649 fi
30650 fi
30651 fi
30652
30653 if test -z "$wx_cv_lib_gtk"; then
30654 wx_cv_lib_gtk=none
30655 else
30656 wx_cv_cflags_gtk=$GTK_CFLAGS
30657 wx_cv_libs_gtk=$GTK_LIBS
30658 fi
30659
30660
30661 fi
30662
30663
30664 if test "$gtk_version_cached" = 1; then
30665 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30666 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30667 fi
30668
30669 case "$wx_cv_lib_gtk" in
30670 2.0) WXGTK2=1
30671 TOOLKIT_VERSION=2
30672 ;;
30673 1.2.7) WXGTK127=1
30674 WXGTK12=1
30675 ;;
30676 1.2.3) WXGTK12=1
30677 ;;
30678 *) { { echo "$as_me:$LINENO: error:
30679 The development files for GTK+ were not found. For GTK+ 2, please
30680 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30681 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30682 and that the version is 1.2.3 or above. Also check that the
30683 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30684 --libs' are in the LD_LIBRARY_PATH or equivalent.
30685 " >&5
30686 echo "$as_me: error:
30687 The development files for GTK+ were not found. For GTK+ 2, please
30688 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30689 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30690 and that the version is 1.2.3 or above. Also check that the
30691 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30692 --libs' are in the LD_LIBRARY_PATH or equivalent.
30693 " >&2;}
30694 { (exit 1); exit 1; }; }
30695 ;;
30696 esac
30697
30698 if test "$WXGTK2" = 1; then
30699 save_CFLAGS="$CFLAGS"
30700 save_LIBS="$LIBS"
30701 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30702 LIBS="$LIBS $wx_cv_libs_gtk"
30703
30704 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30705 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30706 cat >conftest.$ac_ext <<_ACEOF
30707 /* confdefs.h. */
30708 _ACEOF
30709 cat confdefs.h >>conftest.$ac_ext
30710 cat >>conftest.$ac_ext <<_ACEOF
30711 /* end confdefs.h. */
30712
30713 #include <gtk/gtk.h>
30714
30715 int
30716 main ()
30717 {
30718
30719 #if !GTK_CHECK_VERSION(2,18,0)
30720 Not GTK+ 2.18
30721 #endif
30722
30723 ;
30724 return 0;
30725 }
30726 _ACEOF
30727 rm -f conftest.$ac_objext
30728 if { (ac_try="$ac_compile"
30729 case "(($ac_try" in
30730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30731 *) ac_try_echo=$ac_try;;
30732 esac
30733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30734 (eval "$ac_compile") 2>conftest.er1
30735 ac_status=$?
30736 grep -v '^ *+' conftest.er1 >conftest.err
30737 rm -f conftest.er1
30738 cat conftest.err >&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); } && {
30741 test -z "$ac_c_werror_flag" ||
30742 test ! -s conftest.err
30743 } && test -s conftest.$ac_objext; then
30744
30745 cat >>confdefs.h <<\_ACEOF
30746 #define __WXGTK218__ 1
30747 _ACEOF
30748
30749 cat >>confdefs.h <<\_ACEOF
30750 #define __WXGTK210__ 1
30751 _ACEOF
30752
30753 cat >>confdefs.h <<\_ACEOF
30754 #define __WXGTK26__ 1
30755 _ACEOF
30756
30757 { echo "$as_me:$LINENO: result: yes" >&5
30758 echo "${ECHO_T}yes" >&6; }
30759 ac_wxgtk218=1
30760
30761 else
30762 echo "$as_me: failed program was:" >&5
30763 sed 's/^/| /' conftest.$ac_ext >&5
30764
30765
30766 { echo "$as_me:$LINENO: result: no" >&5
30767 echo "${ECHO_T}no" >&6; }
30768 ac_wxgtk218=0
30769
30770 fi
30771
30772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30773
30774 if test "$ac_wxgtk218" = 0; then
30775 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30776 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30777 cat >conftest.$ac_ext <<_ACEOF
30778 /* confdefs.h. */
30779 _ACEOF
30780 cat confdefs.h >>conftest.$ac_ext
30781 cat >>conftest.$ac_ext <<_ACEOF
30782 /* end confdefs.h. */
30783
30784 #include <gtk/gtk.h>
30785
30786 int
30787 main ()
30788 {
30789
30790 #if !GTK_CHECK_VERSION(2,10,0)
30791 Not GTK+ 2.10
30792 #endif
30793
30794 ;
30795 return 0;
30796 }
30797 _ACEOF
30798 rm -f conftest.$ac_objext
30799 if { (ac_try="$ac_compile"
30800 case "(($ac_try" in
30801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30802 *) ac_try_echo=$ac_try;;
30803 esac
30804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30805 (eval "$ac_compile") 2>conftest.er1
30806 ac_status=$?
30807 grep -v '^ *+' conftest.er1 >conftest.err
30808 rm -f conftest.er1
30809 cat conftest.err >&5
30810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30811 (exit $ac_status); } && {
30812 test -z "$ac_c_werror_flag" ||
30813 test ! -s conftest.err
30814 } && test -s conftest.$ac_objext; then
30815
30816 cat >>confdefs.h <<\_ACEOF
30817 #define __WXGTK210__ 1
30818 _ACEOF
30819
30820 cat >>confdefs.h <<\_ACEOF
30821 #define __WXGTK26__ 1
30822 _ACEOF
30823
30824 { echo "$as_me:$LINENO: result: yes" >&5
30825 echo "${ECHO_T}yes" >&6; }
30826 ac_wxgtk210=1
30827
30828 else
30829 echo "$as_me: failed program was:" >&5
30830 sed 's/^/| /' conftest.$ac_ext >&5
30831
30832
30833 { echo "$as_me:$LINENO: result: no" >&5
30834 echo "${ECHO_T}no" >&6; }
30835 ac_wxgtk210=0
30836
30837 fi
30838
30839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30840
30841 if test "$ac_wxgtk210" = 0; then
30842 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30843 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30844 cat >conftest.$ac_ext <<_ACEOF
30845 /* confdefs.h. */
30846 _ACEOF
30847 cat confdefs.h >>conftest.$ac_ext
30848 cat >>conftest.$ac_ext <<_ACEOF
30849 /* end confdefs.h. */
30850
30851 #include <gtk/gtk.h>
30852
30853 int
30854 main ()
30855 {
30856
30857 #if !GTK_CHECK_VERSION(2,6,0)
30858 Not GTK+ 2.6
30859 #endif
30860
30861 ;
30862 return 0;
30863 }
30864 _ACEOF
30865 rm -f conftest.$ac_objext
30866 if { (ac_try="$ac_compile"
30867 case "(($ac_try" in
30868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30869 *) ac_try_echo=$ac_try;;
30870 esac
30871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30872 (eval "$ac_compile") 2>conftest.er1
30873 ac_status=$?
30874 grep -v '^ *+' conftest.er1 >conftest.err
30875 rm -f conftest.er1
30876 cat conftest.err >&5
30877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30878 (exit $ac_status); } && {
30879 test -z "$ac_c_werror_flag" ||
30880 test ! -s conftest.err
30881 } && test -s conftest.$ac_objext; then
30882
30883 cat >>confdefs.h <<\_ACEOF
30884 #define __WXGTK26__ 1
30885 _ACEOF
30886
30887 { echo "$as_me:$LINENO: result: yes" >&5
30888 echo "${ECHO_T}yes" >&6; }
30889 ac_wxgtk26=1
30890
30891 else
30892 echo "$as_me: failed program was:" >&5
30893 sed 's/^/| /' conftest.$ac_ext >&5
30894
30895
30896 { echo "$as_me:$LINENO: result: no" >&5
30897 echo "${ECHO_T}no" >&6; }
30898 ac_wxgtk26=0
30899
30900 fi
30901
30902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30903 fi
30904 fi
30905
30906 CFLAGS="$save_CFLAGS"
30907 LIBS="$save_LIBS"
30908 else
30909 if test "$wxUSE_UNICODE" = "yes"; then
30910 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30911 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30912 wxUSE_UNICODE=no
30913 fi
30914
30915 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30916 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30917 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30918 echo $ECHO_N "(cached) $ECHO_C" >&6
30919 else
30920 ac_check_lib_save_LIBS=$LIBS
30921 LIBS="-lgdk $LIBS"
30922 cat >conftest.$ac_ext <<_ACEOF
30923 /* confdefs.h. */
30924 _ACEOF
30925 cat confdefs.h >>conftest.$ac_ext
30926 cat >>conftest.$ac_ext <<_ACEOF
30927 /* end confdefs.h. */
30928
30929 /* Override any GCC internal prototype to avoid an error.
30930 Use char because int might match the return type of a GCC
30931 builtin and then its argument prototype would still apply. */
30932 #ifdef __cplusplus
30933 extern "C"
30934 #endif
30935 char gdk_im_open ();
30936 int
30937 main ()
30938 {
30939 return gdk_im_open ();
30940 ;
30941 return 0;
30942 }
30943 _ACEOF
30944 rm -f conftest.$ac_objext conftest$ac_exeext
30945 if { (ac_try="$ac_link"
30946 case "(($ac_try" in
30947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30948 *) ac_try_echo=$ac_try;;
30949 esac
30950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30951 (eval "$ac_link") 2>conftest.er1
30952 ac_status=$?
30953 grep -v '^ *+' conftest.er1 >conftest.err
30954 rm -f conftest.er1
30955 cat conftest.err >&5
30956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30957 (exit $ac_status); } && {
30958 test -z "$ac_c_werror_flag" ||
30959 test ! -s conftest.err
30960 } && test -s conftest$ac_exeext &&
30961 $as_test_x conftest$ac_exeext; then
30962 ac_cv_lib_gdk_gdk_im_open=yes
30963 else
30964 echo "$as_me: failed program was:" >&5
30965 sed 's/^/| /' conftest.$ac_ext >&5
30966
30967 ac_cv_lib_gdk_gdk_im_open=no
30968 fi
30969
30970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30971 conftest$ac_exeext conftest.$ac_ext
30972 LIBS=$ac_check_lib_save_LIBS
30973 fi
30974 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30975 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30976 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30977 cat >>confdefs.h <<\_ACEOF
30978 #define HAVE_XIM 1
30979 _ACEOF
30980
30981 fi
30982
30983
30984 if test "$USE_DARWIN" != 1; then
30985
30986 for ac_func in poll
30987 do
30988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30989 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30991 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30992 echo $ECHO_N "(cached) $ECHO_C" >&6
30993 else
30994 cat >conftest.$ac_ext <<_ACEOF
30995 /* confdefs.h. */
30996 _ACEOF
30997 cat confdefs.h >>conftest.$ac_ext
30998 cat >>conftest.$ac_ext <<_ACEOF
30999 /* end confdefs.h. */
31000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31002 #define $ac_func innocuous_$ac_func
31003
31004 /* System header to define __stub macros and hopefully few prototypes,
31005 which can conflict with char $ac_func (); below.
31006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31007 <limits.h> exists even on freestanding compilers. */
31008
31009 #ifdef __STDC__
31010 # include <limits.h>
31011 #else
31012 # include <assert.h>
31013 #endif
31014
31015 #undef $ac_func
31016
31017 /* Override any GCC internal prototype to avoid an error.
31018 Use char because int might match the return type of a GCC
31019 builtin and then its argument prototype would still apply. */
31020 #ifdef __cplusplus
31021 extern "C"
31022 #endif
31023 char $ac_func ();
31024 /* The GNU C library defines this for functions which it implements
31025 to always fail with ENOSYS. Some functions are actually named
31026 something starting with __ and the normal name is an alias. */
31027 #if defined __stub_$ac_func || defined __stub___$ac_func
31028 choke me
31029 #endif
31030
31031 int
31032 main ()
31033 {
31034 return $ac_func ();
31035 ;
31036 return 0;
31037 }
31038 _ACEOF
31039 rm -f conftest.$ac_objext conftest$ac_exeext
31040 if { (ac_try="$ac_link"
31041 case "(($ac_try" in
31042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31043 *) ac_try_echo=$ac_try;;
31044 esac
31045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31046 (eval "$ac_link") 2>conftest.er1
31047 ac_status=$?
31048 grep -v '^ *+' conftest.er1 >conftest.err
31049 rm -f conftest.er1
31050 cat conftest.err >&5
31051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052 (exit $ac_status); } && {
31053 test -z "$ac_c_werror_flag" ||
31054 test ! -s conftest.err
31055 } && test -s conftest$ac_exeext &&
31056 $as_test_x conftest$ac_exeext; then
31057 eval "$as_ac_var=yes"
31058 else
31059 echo "$as_me: failed program was:" >&5
31060 sed 's/^/| /' conftest.$ac_ext >&5
31061
31062 eval "$as_ac_var=no"
31063 fi
31064
31065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31066 conftest$ac_exeext conftest.$ac_ext
31067 fi
31068 ac_res=`eval echo '${'$as_ac_var'}'`
31069 { echo "$as_me:$LINENO: result: $ac_res" >&5
31070 echo "${ECHO_T}$ac_res" >&6; }
31071 if test `eval echo '${'$as_ac_var'}'` = yes; then
31072 cat >>confdefs.h <<_ACEOF
31073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31074 _ACEOF
31075
31076 fi
31077 done
31078
31079 fi
31080 fi
31081
31082 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31083 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31084
31085 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31086
31087 AFMINSTALL=afminstall
31088 TOOLKIT=GTK
31089 GUIDIST=GTK_DIST
31090
31091 if test "$wxUSE_GPE" = "yes"; then
31092 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31093 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31094
31095 ac_find_libraries=
31096 for ac_dir in $SEARCH_LIB
31097 do
31098 for ac_extension in a so sl dylib dll.a; do
31099 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31100 ac_find_libraries=$ac_dir
31101 break 2
31102 fi
31103 done
31104 done
31105
31106 if test "$ac_find_libraries" != "" ; then
31107
31108 if test "$ac_find_libraries" = "default location"; then
31109 ac_path_to_link=""
31110 else
31111 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31112 result=$?
31113 if test $result = 0; then
31114 ac_path_to_link=""
31115 else
31116 ac_path_to_link=" -L$ac_find_libraries"
31117 fi
31118 fi
31119
31120 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31121 WXGPE=1
31122 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31123 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31124 else
31125 { echo "$as_me:$LINENO: result: not found" >&5
31126 echo "${ECHO_T}not found" >&6; }
31127 fi
31128
31129 fi
31130 fi
31131
31132 if test "$wxUSE_MGL" = 1; then
31133 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31134 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31135 if test "x$MGL_ROOT" = x ; then
31136 { echo "$as_me:$LINENO: result: not found" >&5
31137 echo "${ECHO_T}not found" >&6; }
31138 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31139 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31140 { (exit 1); exit 1; }; }
31141 else
31142 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31143 echo "${ECHO_T}$MGL_ROOT" >&6; }
31144 fi
31145
31146 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31147 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31148 case "${host}" in
31149 *-*-linux* )
31150 if test "x$wxUSE_SHARED" = xyes ; then
31151 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31152 else
31153 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31154 fi
31155 ;;
31156 *-pc-msdosdjgpp )
31157 mgl_os_candidates="dos32/dj2"
31158 ;;
31159 *)
31160 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31161 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31162 { (exit 1); exit 1; }; }
31163 esac
31164
31165 mgl_lib_type=""
31166 mgl_os=""
31167
31168 for mgl_os_i in $mgl_os_candidates ; do
31169 if test "x$mgl_os" = x ; then
31170 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31171 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31172 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31173 mgl_lib_type=debug
31174 mgl_os=$mgl_os_i
31175 fi
31176 fi
31177 if test "x$mgl_lib_type" = x ; then
31178 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31179 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31180 mgl_lib_type=release
31181 mgl_os=$mgl_os_i
31182 fi
31183 fi
31184 fi
31185 done
31186
31187 if test "x$mgl_os" = x ; then
31188 { echo "$as_me:$LINENO: result: not found" >&5
31189 echo "${ECHO_T}not found" >&6; }
31190 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31191 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31192 { (exit 1); exit 1; }; }
31193 fi
31194 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31195 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31196
31197 wxUSE_UNIVERSAL="yes"
31198
31199 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31200 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31201
31202 AFMINSTALL=afminstall
31203 TOOLKIT=MGL
31204 GUIDIST=MGL_DIST
31205 fi
31206
31207 if test "$wxUSE_DFB" = 1; then
31208
31209
31210 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31211 if test -n "$ac_tool_prefix"; then
31212 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31213 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31216 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31217 echo $ECHO_N "(cached) $ECHO_C" >&6
31218 else
31219 case $PKG_CONFIG in
31220 [\\/]* | ?:[\\/]*)
31221 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31222 ;;
31223 *)
31224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31225 for as_dir in $PATH
31226 do
31227 IFS=$as_save_IFS
31228 test -z "$as_dir" && as_dir=.
31229 for ac_exec_ext in '' $ac_executable_extensions; do
31230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31231 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31233 break 2
31234 fi
31235 done
31236 done
31237 IFS=$as_save_IFS
31238
31239 ;;
31240 esac
31241 fi
31242 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31243 if test -n "$PKG_CONFIG"; then
31244 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31245 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31246 else
31247 { echo "$as_me:$LINENO: result: no" >&5
31248 echo "${ECHO_T}no" >&6; }
31249 fi
31250
31251
31252 fi
31253 if test -z "$ac_cv_path_PKG_CONFIG"; then
31254 ac_pt_PKG_CONFIG=$PKG_CONFIG
31255 # Extract the first word of "pkg-config", so it can be a program name with args.
31256 set dummy pkg-config; ac_word=$2
31257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31259 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31260 echo $ECHO_N "(cached) $ECHO_C" >&6
31261 else
31262 case $ac_pt_PKG_CONFIG in
31263 [\\/]* | ?:[\\/]*)
31264 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31265 ;;
31266 *)
31267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31268 for as_dir in $PATH
31269 do
31270 IFS=$as_save_IFS
31271 test -z "$as_dir" && as_dir=.
31272 for ac_exec_ext in '' $ac_executable_extensions; do
31273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31274 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31276 break 2
31277 fi
31278 done
31279 done
31280 IFS=$as_save_IFS
31281
31282 ;;
31283 esac
31284 fi
31285 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31286 if test -n "$ac_pt_PKG_CONFIG"; then
31287 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31288 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31289 else
31290 { echo "$as_me:$LINENO: result: no" >&5
31291 echo "${ECHO_T}no" >&6; }
31292 fi
31293
31294 if test "x$ac_pt_PKG_CONFIG" = x; then
31295 PKG_CONFIG=""
31296 else
31297 case $cross_compiling:$ac_tool_warned in
31298 yes:)
31299 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31300 whose name does not start with the host triplet. If you think this
31301 configuration is useful to you, please write to autoconf@gnu.org." >&5
31302 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31303 whose name does not start with the host triplet. If you think this
31304 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31305 ac_tool_warned=yes ;;
31306 esac
31307 PKG_CONFIG=$ac_pt_PKG_CONFIG
31308 fi
31309 else
31310 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31311 fi
31312
31313 fi
31314 if test -n "$PKG_CONFIG"; then
31315 _pkg_min_version=0.9.0
31316 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31317 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31318 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31319 { echo "$as_me:$LINENO: result: yes" >&5
31320 echo "${ECHO_T}yes" >&6; }
31321 else
31322 { echo "$as_me:$LINENO: result: no" >&5
31323 echo "${ECHO_T}no" >&6; }
31324 PKG_CONFIG=""
31325 fi
31326
31327 fi
31328
31329
31330 pkg_failed=no
31331 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31332 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31333
31334 if test -n "$PKG_CONFIG"; then
31335 if test -n "$DIRECTFB_CFLAGS"; then
31336 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31337 else
31338 if test -n "$PKG_CONFIG" && \
31339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31340 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31341 ac_status=$?
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; then
31344 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31345 else
31346 pkg_failed=yes
31347 fi
31348 fi
31349 else
31350 pkg_failed=untried
31351 fi
31352 if test -n "$PKG_CONFIG"; then
31353 if test -n "$DIRECTFB_LIBS"; then
31354 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31355 else
31356 if test -n "$PKG_CONFIG" && \
31357 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31358 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31359 ac_status=$?
31360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361 (exit $ac_status); }; then
31362 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31363 else
31364 pkg_failed=yes
31365 fi
31366 fi
31367 else
31368 pkg_failed=untried
31369 fi
31370
31371
31372
31373 if test $pkg_failed = yes; then
31374
31375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31376 _pkg_short_errors_supported=yes
31377 else
31378 _pkg_short_errors_supported=no
31379 fi
31380 if test $_pkg_short_errors_supported = yes; then
31381 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31382 else
31383 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31384 fi
31385 # Put the nasty error message in config.log where it belongs
31386 echo "$DIRECTFB_PKG_ERRORS" >&5
31387
31388
31389 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31390 echo "$as_me: error: DirectFB not found." >&2;}
31391 { (exit 1); exit 1; }; }
31392
31393
31394 elif test $pkg_failed = untried; then
31395
31396 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31397 echo "$as_me: error: DirectFB not found." >&2;}
31398 { (exit 1); exit 1; }; }
31399
31400
31401 else
31402 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31403 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31404 { echo "$as_me:$LINENO: result: yes" >&5
31405 echo "${ECHO_T}yes" >&6; }
31406
31407 wxUSE_UNIVERSAL="yes"
31408 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31409 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31410 TOOLKIT=DFB
31411 GUIDIST=DFB_DIST
31412
31413 fi
31414 fi
31415
31416 if test "$wxUSE_MICROWIN" = 1; then
31417 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31418 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31419 if test "x$MICROWINDOWS" = x ; then
31420 { echo "$as_me:$LINENO: result: not found" >&5
31421 echo "${ECHO_T}not found" >&6; }
31422 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31423 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31424 { (exit 1); exit 1; }; }
31425 else
31426 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31427 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31428 fi
31429
31430 if test -f $MICROWINDOWS/lib/libmwin.a; then
31431 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31432 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31433 else
31434 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31435 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31436 { (exit 1); exit 1; }; }
31437 fi
31438
31439 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31440 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31441
31442 wxUSE_UNIVERSAL="yes"
31443
31444 AFMINSTALL=afminstall
31445 TOOLKIT=MICROWIN
31446 GUIDIST=MICROWIN_DIST
31447
31448 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31449 fi
31450
31451 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31452 { echo "$as_me:$LINENO: checking for X" >&5
31453 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31454
31455
31456 # Check whether --with-x was given.
31457 if test "${with_x+set}" = set; then
31458 withval=$with_x;
31459 fi
31460
31461 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31462 if test "x$with_x" = xno; then
31463 # The user explicitly disabled X.
31464 have_x=disabled
31465 else
31466 case $x_includes,$x_libraries in #(
31467 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31468 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31469 { (exit 1); exit 1; }; };; #(
31470 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31471 echo $ECHO_N "(cached) $ECHO_C" >&6
31472 else
31473 # One or both of the vars are not set, and there is no cached value.
31474 ac_x_includes=no ac_x_libraries=no
31475 rm -f -r conftest.dir
31476 if mkdir conftest.dir; then
31477 cd conftest.dir
31478 cat >Imakefile <<'_ACEOF'
31479 incroot:
31480 @echo incroot='${INCROOT}'
31481 usrlibdir:
31482 @echo usrlibdir='${USRLIBDIR}'
31483 libdir:
31484 @echo libdir='${LIBDIR}'
31485 _ACEOF
31486 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31487 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31488 for ac_var in incroot usrlibdir libdir; do
31489 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31490 done
31491 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31492 for ac_extension in a so sl dylib la dll; do
31493 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31494 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31495 ac_im_usrlibdir=$ac_im_libdir; break
31496 fi
31497 done
31498 # Screen out bogus values from the imake configuration. They are
31499 # bogus both because they are the default anyway, and because
31500 # using them would break gcc on systems where it needs fixed includes.
31501 case $ac_im_incroot in
31502 /usr/include) ac_x_includes= ;;
31503 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31504 esac
31505 case $ac_im_usrlibdir in
31506 /usr/lib | /lib) ;;
31507 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31508 esac
31509 fi
31510 cd ..
31511 rm -f -r conftest.dir
31512 fi
31513
31514 # Standard set of common directories for X headers.
31515 # Check X11 before X11Rn because it is often a symlink to the current release.
31516 ac_x_header_dirs='
31517 /usr/X11/include
31518 /usr/X11R6/include
31519 /usr/X11R5/include
31520 /usr/X11R4/include
31521
31522 /usr/include/X11
31523 /usr/include/X11R6
31524 /usr/include/X11R5
31525 /usr/include/X11R4
31526
31527 /usr/local/X11/include
31528 /usr/local/X11R6/include
31529 /usr/local/X11R5/include
31530 /usr/local/X11R4/include
31531
31532 /usr/local/include/X11
31533 /usr/local/include/X11R6
31534 /usr/local/include/X11R5
31535 /usr/local/include/X11R4
31536
31537 /usr/X386/include
31538 /usr/x386/include
31539 /usr/XFree86/include/X11
31540
31541 /usr/include
31542 /usr/local/include
31543 /usr/unsupported/include
31544 /usr/athena/include
31545 /usr/local/x11r5/include
31546 /usr/lpp/Xamples/include
31547
31548 /usr/openwin/include
31549 /usr/openwin/share/include'
31550
31551 if test "$ac_x_includes" = no; then
31552 # Guess where to find include files, by looking for Xlib.h.
31553 # First, try using that file with no special directory specified.
31554 cat >conftest.$ac_ext <<_ACEOF
31555 /* confdefs.h. */
31556 _ACEOF
31557 cat confdefs.h >>conftest.$ac_ext
31558 cat >>conftest.$ac_ext <<_ACEOF
31559 /* end confdefs.h. */
31560 #include <X11/Xlib.h>
31561 _ACEOF
31562 if { (ac_try="$ac_cpp conftest.$ac_ext"
31563 case "(($ac_try" in
31564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31565 *) ac_try_echo=$ac_try;;
31566 esac
31567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31569 ac_status=$?
31570 grep -v '^ *+' conftest.er1 >conftest.err
31571 rm -f conftest.er1
31572 cat conftest.err >&5
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); } >/dev/null && {
31575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31576 test ! -s conftest.err
31577 }; then
31578 # We can compile using X headers with no special include directory.
31579 ac_x_includes=
31580 else
31581 echo "$as_me: failed program was:" >&5
31582 sed 's/^/| /' conftest.$ac_ext >&5
31583
31584 for ac_dir in $ac_x_header_dirs; do
31585 if test -r "$ac_dir/X11/Xlib.h"; then
31586 ac_x_includes=$ac_dir
31587 break
31588 fi
31589 done
31590 fi
31591
31592 rm -f conftest.err conftest.$ac_ext
31593 fi # $ac_x_includes = no
31594
31595 if test "$ac_x_libraries" = no; then
31596 # Check for the libraries.
31597 # See if we find them without any special options.
31598 # Don't add to $LIBS permanently.
31599 ac_save_LIBS=$LIBS
31600 LIBS="-lX11 $LIBS"
31601 cat >conftest.$ac_ext <<_ACEOF
31602 /* confdefs.h. */
31603 _ACEOF
31604 cat confdefs.h >>conftest.$ac_ext
31605 cat >>conftest.$ac_ext <<_ACEOF
31606 /* end confdefs.h. */
31607 #include <X11/Xlib.h>
31608 int
31609 main ()
31610 {
31611 XrmInitialize ()
31612 ;
31613 return 0;
31614 }
31615 _ACEOF
31616 rm -f conftest.$ac_objext conftest$ac_exeext
31617 if { (ac_try="$ac_link"
31618 case "(($ac_try" in
31619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31620 *) ac_try_echo=$ac_try;;
31621 esac
31622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31623 (eval "$ac_link") 2>conftest.er1
31624 ac_status=$?
31625 grep -v '^ *+' conftest.er1 >conftest.err
31626 rm -f conftest.er1
31627 cat conftest.err >&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); } && {
31630 test -z "$ac_c_werror_flag" ||
31631 test ! -s conftest.err
31632 } && test -s conftest$ac_exeext &&
31633 $as_test_x conftest$ac_exeext; then
31634 LIBS=$ac_save_LIBS
31635 # We can link X programs with no special library path.
31636 ac_x_libraries=
31637 else
31638 echo "$as_me: failed program was:" >&5
31639 sed 's/^/| /' conftest.$ac_ext >&5
31640
31641 LIBS=$ac_save_LIBS
31642 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31643 do
31644 # Don't even attempt the hair of trying to link an X program!
31645 for ac_extension in a so sl dylib la dll; do
31646 if test -r "$ac_dir/libX11.$ac_extension"; then
31647 ac_x_libraries=$ac_dir
31648 break 2
31649 fi
31650 done
31651 done
31652 fi
31653
31654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31655 conftest$ac_exeext conftest.$ac_ext
31656 fi # $ac_x_libraries = no
31657
31658 case $ac_x_includes,$ac_x_libraries in #(
31659 no,* | *,no | *\'*)
31660 # Didn't find X, or a directory has "'" in its name.
31661 ac_cv_have_x="have_x=no";; #(
31662 *)
31663 # Record where we found X for the cache.
31664 ac_cv_have_x="have_x=yes\
31665 ac_x_includes='$ac_x_includes'\
31666 ac_x_libraries='$ac_x_libraries'"
31667 esac
31668 fi
31669 ;; #(
31670 *) have_x=yes;;
31671 esac
31672 eval "$ac_cv_have_x"
31673 fi # $with_x != no
31674
31675 if test "$have_x" != yes; then
31676 { echo "$as_me:$LINENO: result: $have_x" >&5
31677 echo "${ECHO_T}$have_x" >&6; }
31678 no_x=yes
31679 else
31680 # If each of the values was on the command line, it overrides each guess.
31681 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31682 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31683 # Update the cache value to reflect the command line values.
31684 ac_cv_have_x="have_x=yes\
31685 ac_x_includes='$x_includes'\
31686 ac_x_libraries='$x_libraries'"
31687 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31688 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31689 fi
31690
31691 if test "$no_x" = yes; then
31692 # Not all programs may use this symbol, but it does not hurt to define it.
31693
31694 cat >>confdefs.h <<\_ACEOF
31695 #define X_DISPLAY_MISSING 1
31696 _ACEOF
31697
31698 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31699 else
31700 if test -n "$x_includes"; then
31701 X_CFLAGS="$X_CFLAGS -I$x_includes"
31702 fi
31703
31704 # It would also be nice to do this for all -L options, not just this one.
31705 if test -n "$x_libraries"; then
31706 X_LIBS="$X_LIBS -L$x_libraries"
31707 # For Solaris; some versions of Sun CC require a space after -R and
31708 # others require no space. Words are not sufficient . . . .
31709 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31710 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31711 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31712 ac_xsave_c_werror_flag=$ac_c_werror_flag
31713 ac_c_werror_flag=yes
31714 cat >conftest.$ac_ext <<_ACEOF
31715 /* confdefs.h. */
31716 _ACEOF
31717 cat confdefs.h >>conftest.$ac_ext
31718 cat >>conftest.$ac_ext <<_ACEOF
31719 /* end confdefs.h. */
31720
31721 int
31722 main ()
31723 {
31724
31725 ;
31726 return 0;
31727 }
31728 _ACEOF
31729 rm -f conftest.$ac_objext conftest$ac_exeext
31730 if { (ac_try="$ac_link"
31731 case "(($ac_try" in
31732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31733 *) ac_try_echo=$ac_try;;
31734 esac
31735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31736 (eval "$ac_link") 2>conftest.er1
31737 ac_status=$?
31738 grep -v '^ *+' conftest.er1 >conftest.err
31739 rm -f conftest.er1
31740 cat conftest.err >&5
31741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31742 (exit $ac_status); } && {
31743 test -z "$ac_c_werror_flag" ||
31744 test ! -s conftest.err
31745 } && test -s conftest$ac_exeext &&
31746 $as_test_x conftest$ac_exeext; then
31747 { echo "$as_me:$LINENO: result: no" >&5
31748 echo "${ECHO_T}no" >&6; }
31749 X_LIBS="$X_LIBS -R$x_libraries"
31750 else
31751 echo "$as_me: failed program was:" >&5
31752 sed 's/^/| /' conftest.$ac_ext >&5
31753
31754 LIBS="$ac_xsave_LIBS -R $x_libraries"
31755 cat >conftest.$ac_ext <<_ACEOF
31756 /* confdefs.h. */
31757 _ACEOF
31758 cat confdefs.h >>conftest.$ac_ext
31759 cat >>conftest.$ac_ext <<_ACEOF
31760 /* end confdefs.h. */
31761
31762 int
31763 main ()
31764 {
31765
31766 ;
31767 return 0;
31768 }
31769 _ACEOF
31770 rm -f conftest.$ac_objext conftest$ac_exeext
31771 if { (ac_try="$ac_link"
31772 case "(($ac_try" in
31773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31774 *) ac_try_echo=$ac_try;;
31775 esac
31776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31777 (eval "$ac_link") 2>conftest.er1
31778 ac_status=$?
31779 grep -v '^ *+' conftest.er1 >conftest.err
31780 rm -f conftest.er1
31781 cat conftest.err >&5
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); } && {
31784 test -z "$ac_c_werror_flag" ||
31785 test ! -s conftest.err
31786 } && test -s conftest$ac_exeext &&
31787 $as_test_x conftest$ac_exeext; then
31788 { echo "$as_me:$LINENO: result: yes" >&5
31789 echo "${ECHO_T}yes" >&6; }
31790 X_LIBS="$X_LIBS -R $x_libraries"
31791 else
31792 echo "$as_me: failed program was:" >&5
31793 sed 's/^/| /' conftest.$ac_ext >&5
31794
31795 { echo "$as_me:$LINENO: result: neither works" >&5
31796 echo "${ECHO_T}neither works" >&6; }
31797 fi
31798
31799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31800 conftest$ac_exeext conftest.$ac_ext
31801 fi
31802
31803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31804 conftest$ac_exeext conftest.$ac_ext
31805 ac_c_werror_flag=$ac_xsave_c_werror_flag
31806 LIBS=$ac_xsave_LIBS
31807 fi
31808
31809 # Check for system-dependent libraries X programs must link with.
31810 # Do this before checking for the system-independent R6 libraries
31811 # (-lICE), since we may need -lsocket or whatever for X linking.
31812
31813 if test "$ISC" = yes; then
31814 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31815 else
31816 # Martyn Johnson says this is needed for Ultrix, if the X
31817 # libraries were built with DECnet support. And Karl Berry says
31818 # the Alpha needs dnet_stub (dnet does not exist).
31819 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31820 cat >conftest.$ac_ext <<_ACEOF
31821 /* confdefs.h. */
31822 _ACEOF
31823 cat confdefs.h >>conftest.$ac_ext
31824 cat >>conftest.$ac_ext <<_ACEOF
31825 /* end confdefs.h. */
31826
31827 /* Override any GCC internal prototype to avoid an error.
31828 Use char because int might match the return type of a GCC
31829 builtin and then its argument prototype would still apply. */
31830 #ifdef __cplusplus
31831 extern "C"
31832 #endif
31833 char XOpenDisplay ();
31834 int
31835 main ()
31836 {
31837 return XOpenDisplay ();
31838 ;
31839 return 0;
31840 }
31841 _ACEOF
31842 rm -f conftest.$ac_objext conftest$ac_exeext
31843 if { (ac_try="$ac_link"
31844 case "(($ac_try" in
31845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31846 *) ac_try_echo=$ac_try;;
31847 esac
31848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31849 (eval "$ac_link") 2>conftest.er1
31850 ac_status=$?
31851 grep -v '^ *+' conftest.er1 >conftest.err
31852 rm -f conftest.er1
31853 cat conftest.err >&5
31854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31855 (exit $ac_status); } && {
31856 test -z "$ac_c_werror_flag" ||
31857 test ! -s conftest.err
31858 } && test -s conftest$ac_exeext &&
31859 $as_test_x conftest$ac_exeext; then
31860 :
31861 else
31862 echo "$as_me: failed program was:" >&5
31863 sed 's/^/| /' conftest.$ac_ext >&5
31864
31865 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31866 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31867 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31868 echo $ECHO_N "(cached) $ECHO_C" >&6
31869 else
31870 ac_check_lib_save_LIBS=$LIBS
31871 LIBS="-ldnet $LIBS"
31872 cat >conftest.$ac_ext <<_ACEOF
31873 /* confdefs.h. */
31874 _ACEOF
31875 cat confdefs.h >>conftest.$ac_ext
31876 cat >>conftest.$ac_ext <<_ACEOF
31877 /* end confdefs.h. */
31878
31879 /* Override any GCC internal prototype to avoid an error.
31880 Use char because int might match the return type of a GCC
31881 builtin and then its argument prototype would still apply. */
31882 #ifdef __cplusplus
31883 extern "C"
31884 #endif
31885 char dnet_ntoa ();
31886 int
31887 main ()
31888 {
31889 return dnet_ntoa ();
31890 ;
31891 return 0;
31892 }
31893 _ACEOF
31894 rm -f conftest.$ac_objext conftest$ac_exeext
31895 if { (ac_try="$ac_link"
31896 case "(($ac_try" in
31897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31898 *) ac_try_echo=$ac_try;;
31899 esac
31900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31901 (eval "$ac_link") 2>conftest.er1
31902 ac_status=$?
31903 grep -v '^ *+' conftest.er1 >conftest.err
31904 rm -f conftest.er1
31905 cat conftest.err >&5
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); } && {
31908 test -z "$ac_c_werror_flag" ||
31909 test ! -s conftest.err
31910 } && test -s conftest$ac_exeext &&
31911 $as_test_x conftest$ac_exeext; then
31912 ac_cv_lib_dnet_dnet_ntoa=yes
31913 else
31914 echo "$as_me: failed program was:" >&5
31915 sed 's/^/| /' conftest.$ac_ext >&5
31916
31917 ac_cv_lib_dnet_dnet_ntoa=no
31918 fi
31919
31920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31921 conftest$ac_exeext conftest.$ac_ext
31922 LIBS=$ac_check_lib_save_LIBS
31923 fi
31924 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31925 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31926 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31927 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31928 fi
31929
31930 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31931 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31932 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31933 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31934 echo $ECHO_N "(cached) $ECHO_C" >&6
31935 else
31936 ac_check_lib_save_LIBS=$LIBS
31937 LIBS="-ldnet_stub $LIBS"
31938 cat >conftest.$ac_ext <<_ACEOF
31939 /* confdefs.h. */
31940 _ACEOF
31941 cat confdefs.h >>conftest.$ac_ext
31942 cat >>conftest.$ac_ext <<_ACEOF
31943 /* end confdefs.h. */
31944
31945 /* Override any GCC internal prototype to avoid an error.
31946 Use char because int might match the return type of a GCC
31947 builtin and then its argument prototype would still apply. */
31948 #ifdef __cplusplus
31949 extern "C"
31950 #endif
31951 char dnet_ntoa ();
31952 int
31953 main ()
31954 {
31955 return dnet_ntoa ();
31956 ;
31957 return 0;
31958 }
31959 _ACEOF
31960 rm -f conftest.$ac_objext conftest$ac_exeext
31961 if { (ac_try="$ac_link"
31962 case "(($ac_try" in
31963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31964 *) ac_try_echo=$ac_try;;
31965 esac
31966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31967 (eval "$ac_link") 2>conftest.er1
31968 ac_status=$?
31969 grep -v '^ *+' conftest.er1 >conftest.err
31970 rm -f conftest.er1
31971 cat conftest.err >&5
31972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31973 (exit $ac_status); } && {
31974 test -z "$ac_c_werror_flag" ||
31975 test ! -s conftest.err
31976 } && test -s conftest$ac_exeext &&
31977 $as_test_x conftest$ac_exeext; then
31978 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31979 else
31980 echo "$as_me: failed program was:" >&5
31981 sed 's/^/| /' conftest.$ac_ext >&5
31982
31983 ac_cv_lib_dnet_stub_dnet_ntoa=no
31984 fi
31985
31986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31987 conftest$ac_exeext conftest.$ac_ext
31988 LIBS=$ac_check_lib_save_LIBS
31989 fi
31990 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31991 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31992 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31993 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31994 fi
31995
31996 fi
31997 fi
31998
31999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32000 conftest$ac_exeext conftest.$ac_ext
32001 LIBS="$ac_xsave_LIBS"
32002
32003 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32004 # to get the SysV transport functions.
32005 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32006 # needs -lnsl.
32007 # The nsl library prevents programs from opening the X display
32008 # on Irix 5.2, according to T.E. Dickey.
32009 # The functions gethostbyname, getservbyname, and inet_addr are
32010 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32011 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32012 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32013 if test "${ac_cv_func_gethostbyname+set}" = set; then
32014 echo $ECHO_N "(cached) $ECHO_C" >&6
32015 else
32016 cat >conftest.$ac_ext <<_ACEOF
32017 /* confdefs.h. */
32018 _ACEOF
32019 cat confdefs.h >>conftest.$ac_ext
32020 cat >>conftest.$ac_ext <<_ACEOF
32021 /* end confdefs.h. */
32022 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32024 #define gethostbyname innocuous_gethostbyname
32025
32026 /* System header to define __stub macros and hopefully few prototypes,
32027 which can conflict with char gethostbyname (); below.
32028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32029 <limits.h> exists even on freestanding compilers. */
32030
32031 #ifdef __STDC__
32032 # include <limits.h>
32033 #else
32034 # include <assert.h>
32035 #endif
32036
32037 #undef gethostbyname
32038
32039 /* Override any GCC internal prototype to avoid an error.
32040 Use char because int might match the return type of a GCC
32041 builtin and then its argument prototype would still apply. */
32042 #ifdef __cplusplus
32043 extern "C"
32044 #endif
32045 char gethostbyname ();
32046 /* The GNU C library defines this for functions which it implements
32047 to always fail with ENOSYS. Some functions are actually named
32048 something starting with __ and the normal name is an alias. */
32049 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32050 choke me
32051 #endif
32052
32053 int
32054 main ()
32055 {
32056 return gethostbyname ();
32057 ;
32058 return 0;
32059 }
32060 _ACEOF
32061 rm -f conftest.$ac_objext conftest$ac_exeext
32062 if { (ac_try="$ac_link"
32063 case "(($ac_try" in
32064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32065 *) ac_try_echo=$ac_try;;
32066 esac
32067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32068 (eval "$ac_link") 2>conftest.er1
32069 ac_status=$?
32070 grep -v '^ *+' conftest.er1 >conftest.err
32071 rm -f conftest.er1
32072 cat conftest.err >&5
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); } && {
32075 test -z "$ac_c_werror_flag" ||
32076 test ! -s conftest.err
32077 } && test -s conftest$ac_exeext &&
32078 $as_test_x conftest$ac_exeext; then
32079 ac_cv_func_gethostbyname=yes
32080 else
32081 echo "$as_me: failed program was:" >&5
32082 sed 's/^/| /' conftest.$ac_ext >&5
32083
32084 ac_cv_func_gethostbyname=no
32085 fi
32086
32087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32088 conftest$ac_exeext conftest.$ac_ext
32089 fi
32090 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32091 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32092
32093 if test $ac_cv_func_gethostbyname = no; then
32094 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32095 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32096 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32097 echo $ECHO_N "(cached) $ECHO_C" >&6
32098 else
32099 ac_check_lib_save_LIBS=$LIBS
32100 LIBS="-lnsl $LIBS"
32101 cat >conftest.$ac_ext <<_ACEOF
32102 /* confdefs.h. */
32103 _ACEOF
32104 cat confdefs.h >>conftest.$ac_ext
32105 cat >>conftest.$ac_ext <<_ACEOF
32106 /* end confdefs.h. */
32107
32108 /* Override any GCC internal prototype to avoid an error.
32109 Use char because int might match the return type of a GCC
32110 builtin and then its argument prototype would still apply. */
32111 #ifdef __cplusplus
32112 extern "C"
32113 #endif
32114 char gethostbyname ();
32115 int
32116 main ()
32117 {
32118 return gethostbyname ();
32119 ;
32120 return 0;
32121 }
32122 _ACEOF
32123 rm -f conftest.$ac_objext conftest$ac_exeext
32124 if { (ac_try="$ac_link"
32125 case "(($ac_try" in
32126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32127 *) ac_try_echo=$ac_try;;
32128 esac
32129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32130 (eval "$ac_link") 2>conftest.er1
32131 ac_status=$?
32132 grep -v '^ *+' conftest.er1 >conftest.err
32133 rm -f conftest.er1
32134 cat conftest.err >&5
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); } && {
32137 test -z "$ac_c_werror_flag" ||
32138 test ! -s conftest.err
32139 } && test -s conftest$ac_exeext &&
32140 $as_test_x conftest$ac_exeext; then
32141 ac_cv_lib_nsl_gethostbyname=yes
32142 else
32143 echo "$as_me: failed program was:" >&5
32144 sed 's/^/| /' conftest.$ac_ext >&5
32145
32146 ac_cv_lib_nsl_gethostbyname=no
32147 fi
32148
32149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32150 conftest$ac_exeext conftest.$ac_ext
32151 LIBS=$ac_check_lib_save_LIBS
32152 fi
32153 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32154 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32155 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32156 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32157 fi
32158
32159 if test $ac_cv_lib_nsl_gethostbyname = no; then
32160 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32161 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32162 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32163 echo $ECHO_N "(cached) $ECHO_C" >&6
32164 else
32165 ac_check_lib_save_LIBS=$LIBS
32166 LIBS="-lbsd $LIBS"
32167 cat >conftest.$ac_ext <<_ACEOF
32168 /* confdefs.h. */
32169 _ACEOF
32170 cat confdefs.h >>conftest.$ac_ext
32171 cat >>conftest.$ac_ext <<_ACEOF
32172 /* end confdefs.h. */
32173
32174 /* Override any GCC internal prototype to avoid an error.
32175 Use char because int might match the return type of a GCC
32176 builtin and then its argument prototype would still apply. */
32177 #ifdef __cplusplus
32178 extern "C"
32179 #endif
32180 char gethostbyname ();
32181 int
32182 main ()
32183 {
32184 return gethostbyname ();
32185 ;
32186 return 0;
32187 }
32188 _ACEOF
32189 rm -f conftest.$ac_objext conftest$ac_exeext
32190 if { (ac_try="$ac_link"
32191 case "(($ac_try" in
32192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32193 *) ac_try_echo=$ac_try;;
32194 esac
32195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32196 (eval "$ac_link") 2>conftest.er1
32197 ac_status=$?
32198 grep -v '^ *+' conftest.er1 >conftest.err
32199 rm -f conftest.er1
32200 cat conftest.err >&5
32201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202 (exit $ac_status); } && {
32203 test -z "$ac_c_werror_flag" ||
32204 test ! -s conftest.err
32205 } && test -s conftest$ac_exeext &&
32206 $as_test_x conftest$ac_exeext; then
32207 ac_cv_lib_bsd_gethostbyname=yes
32208 else
32209 echo "$as_me: failed program was:" >&5
32210 sed 's/^/| /' conftest.$ac_ext >&5
32211
32212 ac_cv_lib_bsd_gethostbyname=no
32213 fi
32214
32215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32216 conftest$ac_exeext conftest.$ac_ext
32217 LIBS=$ac_check_lib_save_LIBS
32218 fi
32219 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32220 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32221 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32222 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32223 fi
32224
32225 fi
32226 fi
32227
32228 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32229 # socket/setsockopt and other routines are undefined under SCO ODT
32230 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32231 # on later versions), says Simon Leinen: it contains gethostby*
32232 # variants that don't use the name server (or something). -lsocket
32233 # must be given before -lnsl if both are needed. We assume that
32234 # if connect needs -lnsl, so does gethostbyname.
32235 { echo "$as_me:$LINENO: checking for connect" >&5
32236 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32237 if test "${ac_cv_func_connect+set}" = set; then
32238 echo $ECHO_N "(cached) $ECHO_C" >&6
32239 else
32240 cat >conftest.$ac_ext <<_ACEOF
32241 /* confdefs.h. */
32242 _ACEOF
32243 cat confdefs.h >>conftest.$ac_ext
32244 cat >>conftest.$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32246 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32248 #define connect innocuous_connect
32249
32250 /* System header to define __stub macros and hopefully few prototypes,
32251 which can conflict with char connect (); below.
32252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32253 <limits.h> exists even on freestanding compilers. */
32254
32255 #ifdef __STDC__
32256 # include <limits.h>
32257 #else
32258 # include <assert.h>
32259 #endif
32260
32261 #undef connect
32262
32263 /* Override any GCC internal prototype to avoid an error.
32264 Use char because int might match the return type of a GCC
32265 builtin and then its argument prototype would still apply. */
32266 #ifdef __cplusplus
32267 extern "C"
32268 #endif
32269 char connect ();
32270 /* The GNU C library defines this for functions which it implements
32271 to always fail with ENOSYS. Some functions are actually named
32272 something starting with __ and the normal name is an alias. */
32273 #if defined __stub_connect || defined __stub___connect
32274 choke me
32275 #endif
32276
32277 int
32278 main ()
32279 {
32280 return connect ();
32281 ;
32282 return 0;
32283 }
32284 _ACEOF
32285 rm -f conftest.$ac_objext conftest$ac_exeext
32286 if { (ac_try="$ac_link"
32287 case "(($ac_try" in
32288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32289 *) ac_try_echo=$ac_try;;
32290 esac
32291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32292 (eval "$ac_link") 2>conftest.er1
32293 ac_status=$?
32294 grep -v '^ *+' conftest.er1 >conftest.err
32295 rm -f conftest.er1
32296 cat conftest.err >&5
32297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32298 (exit $ac_status); } && {
32299 test -z "$ac_c_werror_flag" ||
32300 test ! -s conftest.err
32301 } && test -s conftest$ac_exeext &&
32302 $as_test_x conftest$ac_exeext; then
32303 ac_cv_func_connect=yes
32304 else
32305 echo "$as_me: failed program was:" >&5
32306 sed 's/^/| /' conftest.$ac_ext >&5
32307
32308 ac_cv_func_connect=no
32309 fi
32310
32311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32312 conftest$ac_exeext conftest.$ac_ext
32313 fi
32314 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32315 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32316
32317 if test $ac_cv_func_connect = no; then
32318 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32319 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32320 if test "${ac_cv_lib_socket_connect+set}" = set; then
32321 echo $ECHO_N "(cached) $ECHO_C" >&6
32322 else
32323 ac_check_lib_save_LIBS=$LIBS
32324 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32325 cat >conftest.$ac_ext <<_ACEOF
32326 /* confdefs.h. */
32327 _ACEOF
32328 cat confdefs.h >>conftest.$ac_ext
32329 cat >>conftest.$ac_ext <<_ACEOF
32330 /* end confdefs.h. */
32331
32332 /* Override any GCC internal prototype to avoid an error.
32333 Use char because int might match the return type of a GCC
32334 builtin and then its argument prototype would still apply. */
32335 #ifdef __cplusplus
32336 extern "C"
32337 #endif
32338 char connect ();
32339 int
32340 main ()
32341 {
32342 return connect ();
32343 ;
32344 return 0;
32345 }
32346 _ACEOF
32347 rm -f conftest.$ac_objext conftest$ac_exeext
32348 if { (ac_try="$ac_link"
32349 case "(($ac_try" in
32350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32351 *) ac_try_echo=$ac_try;;
32352 esac
32353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32354 (eval "$ac_link") 2>conftest.er1
32355 ac_status=$?
32356 grep -v '^ *+' conftest.er1 >conftest.err
32357 rm -f conftest.er1
32358 cat conftest.err >&5
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); } && {
32361 test -z "$ac_c_werror_flag" ||
32362 test ! -s conftest.err
32363 } && test -s conftest$ac_exeext &&
32364 $as_test_x conftest$ac_exeext; then
32365 ac_cv_lib_socket_connect=yes
32366 else
32367 echo "$as_me: failed program was:" >&5
32368 sed 's/^/| /' conftest.$ac_ext >&5
32369
32370 ac_cv_lib_socket_connect=no
32371 fi
32372
32373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32374 conftest$ac_exeext conftest.$ac_ext
32375 LIBS=$ac_check_lib_save_LIBS
32376 fi
32377 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32378 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32379 if test $ac_cv_lib_socket_connect = yes; then
32380 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32381 fi
32382
32383 fi
32384
32385 # Guillermo Gomez says -lposix is necessary on A/UX.
32386 { echo "$as_me:$LINENO: checking for remove" >&5
32387 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32388 if test "${ac_cv_func_remove+set}" = set; then
32389 echo $ECHO_N "(cached) $ECHO_C" >&6
32390 else
32391 cat >conftest.$ac_ext <<_ACEOF
32392 /* confdefs.h. */
32393 _ACEOF
32394 cat confdefs.h >>conftest.$ac_ext
32395 cat >>conftest.$ac_ext <<_ACEOF
32396 /* end confdefs.h. */
32397 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32399 #define remove innocuous_remove
32400
32401 /* System header to define __stub macros and hopefully few prototypes,
32402 which can conflict with char remove (); below.
32403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32404 <limits.h> exists even on freestanding compilers. */
32405
32406 #ifdef __STDC__
32407 # include <limits.h>
32408 #else
32409 # include <assert.h>
32410 #endif
32411
32412 #undef remove
32413
32414 /* Override any GCC internal prototype to avoid an error.
32415 Use char because int might match the return type of a GCC
32416 builtin and then its argument prototype would still apply. */
32417 #ifdef __cplusplus
32418 extern "C"
32419 #endif
32420 char remove ();
32421 /* The GNU C library defines this for functions which it implements
32422 to always fail with ENOSYS. Some functions are actually named
32423 something starting with __ and the normal name is an alias. */
32424 #if defined __stub_remove || defined __stub___remove
32425 choke me
32426 #endif
32427
32428 int
32429 main ()
32430 {
32431 return remove ();
32432 ;
32433 return 0;
32434 }
32435 _ACEOF
32436 rm -f conftest.$ac_objext conftest$ac_exeext
32437 if { (ac_try="$ac_link"
32438 case "(($ac_try" in
32439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32440 *) ac_try_echo=$ac_try;;
32441 esac
32442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32443 (eval "$ac_link") 2>conftest.er1
32444 ac_status=$?
32445 grep -v '^ *+' conftest.er1 >conftest.err
32446 rm -f conftest.er1
32447 cat conftest.err >&5
32448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32449 (exit $ac_status); } && {
32450 test -z "$ac_c_werror_flag" ||
32451 test ! -s conftest.err
32452 } && test -s conftest$ac_exeext &&
32453 $as_test_x conftest$ac_exeext; then
32454 ac_cv_func_remove=yes
32455 else
32456 echo "$as_me: failed program was:" >&5
32457 sed 's/^/| /' conftest.$ac_ext >&5
32458
32459 ac_cv_func_remove=no
32460 fi
32461
32462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32463 conftest$ac_exeext conftest.$ac_ext
32464 fi
32465 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32466 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32467
32468 if test $ac_cv_func_remove = no; then
32469 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32470 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32471 if test "${ac_cv_lib_posix_remove+set}" = set; then
32472 echo $ECHO_N "(cached) $ECHO_C" >&6
32473 else
32474 ac_check_lib_save_LIBS=$LIBS
32475 LIBS="-lposix $LIBS"
32476 cat >conftest.$ac_ext <<_ACEOF
32477 /* confdefs.h. */
32478 _ACEOF
32479 cat confdefs.h >>conftest.$ac_ext
32480 cat >>conftest.$ac_ext <<_ACEOF
32481 /* end confdefs.h. */
32482
32483 /* Override any GCC internal prototype to avoid an error.
32484 Use char because int might match the return type of a GCC
32485 builtin and then its argument prototype would still apply. */
32486 #ifdef __cplusplus
32487 extern "C"
32488 #endif
32489 char remove ();
32490 int
32491 main ()
32492 {
32493 return remove ();
32494 ;
32495 return 0;
32496 }
32497 _ACEOF
32498 rm -f conftest.$ac_objext conftest$ac_exeext
32499 if { (ac_try="$ac_link"
32500 case "(($ac_try" in
32501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32502 *) ac_try_echo=$ac_try;;
32503 esac
32504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32505 (eval "$ac_link") 2>conftest.er1
32506 ac_status=$?
32507 grep -v '^ *+' conftest.er1 >conftest.err
32508 rm -f conftest.er1
32509 cat conftest.err >&5
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); } && {
32512 test -z "$ac_c_werror_flag" ||
32513 test ! -s conftest.err
32514 } && test -s conftest$ac_exeext &&
32515 $as_test_x conftest$ac_exeext; then
32516 ac_cv_lib_posix_remove=yes
32517 else
32518 echo "$as_me: failed program was:" >&5
32519 sed 's/^/| /' conftest.$ac_ext >&5
32520
32521 ac_cv_lib_posix_remove=no
32522 fi
32523
32524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32525 conftest$ac_exeext conftest.$ac_ext
32526 LIBS=$ac_check_lib_save_LIBS
32527 fi
32528 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32529 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32530 if test $ac_cv_lib_posix_remove = yes; then
32531 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32532 fi
32533
32534 fi
32535
32536 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32537 { echo "$as_me:$LINENO: checking for shmat" >&5
32538 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32539 if test "${ac_cv_func_shmat+set}" = set; then
32540 echo $ECHO_N "(cached) $ECHO_C" >&6
32541 else
32542 cat >conftest.$ac_ext <<_ACEOF
32543 /* confdefs.h. */
32544 _ACEOF
32545 cat confdefs.h >>conftest.$ac_ext
32546 cat >>conftest.$ac_ext <<_ACEOF
32547 /* end confdefs.h. */
32548 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32550 #define shmat innocuous_shmat
32551
32552 /* System header to define __stub macros and hopefully few prototypes,
32553 which can conflict with char shmat (); below.
32554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32555 <limits.h> exists even on freestanding compilers. */
32556
32557 #ifdef __STDC__
32558 # include <limits.h>
32559 #else
32560 # include <assert.h>
32561 #endif
32562
32563 #undef shmat
32564
32565 /* Override any GCC internal prototype to avoid an error.
32566 Use char because int might match the return type of a GCC
32567 builtin and then its argument prototype would still apply. */
32568 #ifdef __cplusplus
32569 extern "C"
32570 #endif
32571 char shmat ();
32572 /* The GNU C library defines this for functions which it implements
32573 to always fail with ENOSYS. Some functions are actually named
32574 something starting with __ and the normal name is an alias. */
32575 #if defined __stub_shmat || defined __stub___shmat
32576 choke me
32577 #endif
32578
32579 int
32580 main ()
32581 {
32582 return shmat ();
32583 ;
32584 return 0;
32585 }
32586 _ACEOF
32587 rm -f conftest.$ac_objext conftest$ac_exeext
32588 if { (ac_try="$ac_link"
32589 case "(($ac_try" in
32590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32591 *) ac_try_echo=$ac_try;;
32592 esac
32593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32594 (eval "$ac_link") 2>conftest.er1
32595 ac_status=$?
32596 grep -v '^ *+' conftest.er1 >conftest.err
32597 rm -f conftest.er1
32598 cat conftest.err >&5
32599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32600 (exit $ac_status); } && {
32601 test -z "$ac_c_werror_flag" ||
32602 test ! -s conftest.err
32603 } && test -s conftest$ac_exeext &&
32604 $as_test_x conftest$ac_exeext; then
32605 ac_cv_func_shmat=yes
32606 else
32607 echo "$as_me: failed program was:" >&5
32608 sed 's/^/| /' conftest.$ac_ext >&5
32609
32610 ac_cv_func_shmat=no
32611 fi
32612
32613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32614 conftest$ac_exeext conftest.$ac_ext
32615 fi
32616 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32617 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32618
32619 if test $ac_cv_func_shmat = no; then
32620 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32621 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32622 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32623 echo $ECHO_N "(cached) $ECHO_C" >&6
32624 else
32625 ac_check_lib_save_LIBS=$LIBS
32626 LIBS="-lipc $LIBS"
32627 cat >conftest.$ac_ext <<_ACEOF
32628 /* confdefs.h. */
32629 _ACEOF
32630 cat confdefs.h >>conftest.$ac_ext
32631 cat >>conftest.$ac_ext <<_ACEOF
32632 /* end confdefs.h. */
32633
32634 /* Override any GCC internal prototype to avoid an error.
32635 Use char because int might match the return type of a GCC
32636 builtin and then its argument prototype would still apply. */
32637 #ifdef __cplusplus
32638 extern "C"
32639 #endif
32640 char shmat ();
32641 int
32642 main ()
32643 {
32644 return shmat ();
32645 ;
32646 return 0;
32647 }
32648 _ACEOF
32649 rm -f conftest.$ac_objext conftest$ac_exeext
32650 if { (ac_try="$ac_link"
32651 case "(($ac_try" in
32652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32653 *) ac_try_echo=$ac_try;;
32654 esac
32655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32656 (eval "$ac_link") 2>conftest.er1
32657 ac_status=$?
32658 grep -v '^ *+' conftest.er1 >conftest.err
32659 rm -f conftest.er1
32660 cat conftest.err >&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); } && {
32663 test -z "$ac_c_werror_flag" ||
32664 test ! -s conftest.err
32665 } && test -s conftest$ac_exeext &&
32666 $as_test_x conftest$ac_exeext; then
32667 ac_cv_lib_ipc_shmat=yes
32668 else
32669 echo "$as_me: failed program was:" >&5
32670 sed 's/^/| /' conftest.$ac_ext >&5
32671
32672 ac_cv_lib_ipc_shmat=no
32673 fi
32674
32675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32676 conftest$ac_exeext conftest.$ac_ext
32677 LIBS=$ac_check_lib_save_LIBS
32678 fi
32679 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32680 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32681 if test $ac_cv_lib_ipc_shmat = yes; then
32682 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32683 fi
32684
32685 fi
32686 fi
32687
32688 # Check for libraries that X11R6 Xt/Xaw programs need.
32689 ac_save_LDFLAGS=$LDFLAGS
32690 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32691 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32692 # check for ICE first), but we must link in the order -lSM -lICE or
32693 # we get undefined symbols. So assume we have SM if we have ICE.
32694 # These have to be linked with before -lX11, unlike the other
32695 # libraries we check for below, so use a different variable.
32696 # John Interrante, Karl Berry
32697 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32698 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32699 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32700 echo $ECHO_N "(cached) $ECHO_C" >&6
32701 else
32702 ac_check_lib_save_LIBS=$LIBS
32703 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32704 cat >conftest.$ac_ext <<_ACEOF
32705 /* confdefs.h. */
32706 _ACEOF
32707 cat confdefs.h >>conftest.$ac_ext
32708 cat >>conftest.$ac_ext <<_ACEOF
32709 /* end confdefs.h. */
32710
32711 /* Override any GCC internal prototype to avoid an error.
32712 Use char because int might match the return type of a GCC
32713 builtin and then its argument prototype would still apply. */
32714 #ifdef __cplusplus
32715 extern "C"
32716 #endif
32717 char IceConnectionNumber ();
32718 int
32719 main ()
32720 {
32721 return IceConnectionNumber ();
32722 ;
32723 return 0;
32724 }
32725 _ACEOF
32726 rm -f conftest.$ac_objext conftest$ac_exeext
32727 if { (ac_try="$ac_link"
32728 case "(($ac_try" in
32729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32730 *) ac_try_echo=$ac_try;;
32731 esac
32732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32733 (eval "$ac_link") 2>conftest.er1
32734 ac_status=$?
32735 grep -v '^ *+' conftest.er1 >conftest.err
32736 rm -f conftest.er1
32737 cat conftest.err >&5
32738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32739 (exit $ac_status); } && {
32740 test -z "$ac_c_werror_flag" ||
32741 test ! -s conftest.err
32742 } && test -s conftest$ac_exeext &&
32743 $as_test_x conftest$ac_exeext; then
32744 ac_cv_lib_ICE_IceConnectionNumber=yes
32745 else
32746 echo "$as_me: failed program was:" >&5
32747 sed 's/^/| /' conftest.$ac_ext >&5
32748
32749 ac_cv_lib_ICE_IceConnectionNumber=no
32750 fi
32751
32752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32753 conftest$ac_exeext conftest.$ac_ext
32754 LIBS=$ac_check_lib_save_LIBS
32755 fi
32756 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32757 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32758 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32759 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32760 fi
32761
32762 LDFLAGS=$ac_save_LDFLAGS
32763
32764 fi
32765
32766
32767 if test "$no_x" = "yes"; then
32768 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32769 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32770 { (exit 1); exit 1; }; }
32771 fi
32772
32773 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32774 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32775 AFMINSTALL=afminstall
32776 COMPILED_X_PROGRAM=0
32777
32778 fi
32779
32780 if test "$wxUSE_X11" = 1; then
32781 if test "$wxUSE_NANOX" = "yes"; then
32782 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32783 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32784 if test "x$MICROWIN" = x ; then
32785 { echo "$as_me:$LINENO: result: not found" >&5
32786 echo "${ECHO_T}not found" >&6; }
32787 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32788 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32789 { (exit 1); exit 1; }; }
32790 else
32791 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32792 echo "${ECHO_T}$MICROWIN" >&6; }
32793 cat >>confdefs.h <<\_ACEOF
32794 #define wxUSE_NANOX 1
32795 _ACEOF
32796
32797 fi
32798 fi
32799
32800 if test "$wxUSE_UNICODE" = "yes"; then
32801
32802
32803 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32804 if test -n "$ac_tool_prefix"; then
32805 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32806 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32809 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32810 echo $ECHO_N "(cached) $ECHO_C" >&6
32811 else
32812 case $PKG_CONFIG in
32813 [\\/]* | ?:[\\/]*)
32814 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32815 ;;
32816 *)
32817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32818 for as_dir in $PATH
32819 do
32820 IFS=$as_save_IFS
32821 test -z "$as_dir" && as_dir=.
32822 for ac_exec_ext in '' $ac_executable_extensions; do
32823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32824 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32826 break 2
32827 fi
32828 done
32829 done
32830 IFS=$as_save_IFS
32831
32832 ;;
32833 esac
32834 fi
32835 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32836 if test -n "$PKG_CONFIG"; then
32837 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32838 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32839 else
32840 { echo "$as_me:$LINENO: result: no" >&5
32841 echo "${ECHO_T}no" >&6; }
32842 fi
32843
32844
32845 fi
32846 if test -z "$ac_cv_path_PKG_CONFIG"; then
32847 ac_pt_PKG_CONFIG=$PKG_CONFIG
32848 # Extract the first word of "pkg-config", so it can be a program name with args.
32849 set dummy pkg-config; ac_word=$2
32850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32852 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32853 echo $ECHO_N "(cached) $ECHO_C" >&6
32854 else
32855 case $ac_pt_PKG_CONFIG in
32856 [\\/]* | ?:[\\/]*)
32857 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32858 ;;
32859 *)
32860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32861 for as_dir in $PATH
32862 do
32863 IFS=$as_save_IFS
32864 test -z "$as_dir" && as_dir=.
32865 for ac_exec_ext in '' $ac_executable_extensions; do
32866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32867 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32869 break 2
32870 fi
32871 done
32872 done
32873 IFS=$as_save_IFS
32874
32875 ;;
32876 esac
32877 fi
32878 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32879 if test -n "$ac_pt_PKG_CONFIG"; then
32880 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32881 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32882 else
32883 { echo "$as_me:$LINENO: result: no" >&5
32884 echo "${ECHO_T}no" >&6; }
32885 fi
32886
32887 if test "x$ac_pt_PKG_CONFIG" = x; then
32888 PKG_CONFIG=""
32889 else
32890 case $cross_compiling:$ac_tool_warned in
32891 yes:)
32892 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32893 whose name does not start with the host triplet. If you think this
32894 configuration is useful to you, please write to autoconf@gnu.org." >&5
32895 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32896 whose name does not start with the host triplet. If you think this
32897 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32898 ac_tool_warned=yes ;;
32899 esac
32900 PKG_CONFIG=$ac_pt_PKG_CONFIG
32901 fi
32902 else
32903 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32904 fi
32905
32906 fi
32907 if test -n "$PKG_CONFIG"; then
32908 _pkg_min_version=0.9.0
32909 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32910 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32911 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32912 { echo "$as_me:$LINENO: result: yes" >&5
32913 echo "${ECHO_T}yes" >&6; }
32914 else
32915 { echo "$as_me:$LINENO: result: no" >&5
32916 echo "${ECHO_T}no" >&6; }
32917 PKG_CONFIG=""
32918 fi
32919
32920 fi
32921
32922
32923 pkg_failed=no
32924 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32925 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32926
32927 if test -n "$PKG_CONFIG"; then
32928 if test -n "$PANGOX_CFLAGS"; then
32929 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32930 else
32931 if test -n "$PKG_CONFIG" && \
32932 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32933 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32934 ac_status=$?
32935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32936 (exit $ac_status); }; then
32937 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32938 else
32939 pkg_failed=yes
32940 fi
32941 fi
32942 else
32943 pkg_failed=untried
32944 fi
32945 if test -n "$PKG_CONFIG"; then
32946 if test -n "$PANGOX_LIBS"; then
32947 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32948 else
32949 if test -n "$PKG_CONFIG" && \
32950 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32951 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32952 ac_status=$?
32953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32954 (exit $ac_status); }; then
32955 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32956 else
32957 pkg_failed=yes
32958 fi
32959 fi
32960 else
32961 pkg_failed=untried
32962 fi
32963
32964
32965
32966 if test $pkg_failed = yes; then
32967
32968 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32969 _pkg_short_errors_supported=yes
32970 else
32971 _pkg_short_errors_supported=no
32972 fi
32973 if test $_pkg_short_errors_supported = yes; then
32974 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32975 else
32976 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32977 fi
32978 # Put the nasty error message in config.log where it belongs
32979 echo "$PANGOX_PKG_ERRORS" >&5
32980
32981
32982 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32983 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32984 { (exit 1); exit 1; }; }
32985
32986
32987 elif test $pkg_failed = untried; then
32988
32989 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32990 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32991 { (exit 1); exit 1; }; }
32992
32993
32994 else
32995 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32996 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32997 { echo "$as_me:$LINENO: result: yes" >&5
32998 echo "${ECHO_T}yes" >&6; }
32999
33000 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33001 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33002 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33003
33004 fi
33005
33006 pkg_failed=no
33007 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33008 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33009
33010 if test -n "$PKG_CONFIG"; then
33011 if test -n "$PANGOFT2_CFLAGS"; then
33012 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33013 else
33014 if test -n "$PKG_CONFIG" && \
33015 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33016 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33017 ac_status=$?
33018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33019 (exit $ac_status); }; then
33020 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33021 else
33022 pkg_failed=yes
33023 fi
33024 fi
33025 else
33026 pkg_failed=untried
33027 fi
33028 if test -n "$PKG_CONFIG"; then
33029 if test -n "$PANGOFT2_LIBS"; then
33030 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33031 else
33032 if test -n "$PKG_CONFIG" && \
33033 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33034 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33035 ac_status=$?
33036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33037 (exit $ac_status); }; then
33038 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33039 else
33040 pkg_failed=yes
33041 fi
33042 fi
33043 else
33044 pkg_failed=untried
33045 fi
33046
33047
33048
33049 if test $pkg_failed = yes; then
33050
33051 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33052 _pkg_short_errors_supported=yes
33053 else
33054 _pkg_short_errors_supported=no
33055 fi
33056 if test $_pkg_short_errors_supported = yes; then
33057 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33058 else
33059 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33060 fi
33061 # Put the nasty error message in config.log where it belongs
33062 echo "$PANGOFT2_PKG_ERRORS" >&5
33063
33064
33065 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33066 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33067 wxUSE_PRINTING_ARCHITECTURE="no"
33068
33069
33070 elif test $pkg_failed = untried; then
33071
33072 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33073 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33074 wxUSE_PRINTING_ARCHITECTURE="no"
33075
33076
33077 else
33078 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33079 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33080 { echo "$as_me:$LINENO: result: yes" >&5
33081 echo "${ECHO_T}yes" >&6; }
33082
33083 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33084 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33085 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33086
33087 fi
33088
33089 pkg_failed=no
33090 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33091 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33092
33093 if test -n "$PKG_CONFIG"; then
33094 if test -n "$PANGOXFT_CFLAGS"; then
33095 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33096 else
33097 if test -n "$PKG_CONFIG" && \
33098 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33099 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33100 ac_status=$?
33101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33102 (exit $ac_status); }; then
33103 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33104 else
33105 pkg_failed=yes
33106 fi
33107 fi
33108 else
33109 pkg_failed=untried
33110 fi
33111 if test -n "$PKG_CONFIG"; then
33112 if test -n "$PANGOXFT_LIBS"; then
33113 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33114 else
33115 if test -n "$PKG_CONFIG" && \
33116 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33117 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33118 ac_status=$?
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); }; then
33121 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33122 else
33123 pkg_failed=yes
33124 fi
33125 fi
33126 else
33127 pkg_failed=untried
33128 fi
33129
33130
33131
33132 if test $pkg_failed = yes; then
33133
33134 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33135 _pkg_short_errors_supported=yes
33136 else
33137 _pkg_short_errors_supported=no
33138 fi
33139 if test $_pkg_short_errors_supported = yes; then
33140 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33141 else
33142 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33143 fi
33144 # Put the nasty error message in config.log where it belongs
33145 echo "$PANGOXFT_PKG_ERRORS" >&5
33146
33147
33148 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33149 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33150
33151
33152 elif test $pkg_failed = untried; then
33153
33154 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33155 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33156
33157
33158 else
33159 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33160 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33161 { echo "$as_me:$LINENO: result: yes" >&5
33162 echo "${ECHO_T}yes" >&6; }
33163
33164 cat >>confdefs.h <<\_ACEOF
33165 #define HAVE_PANGO_XFT 1
33166 _ACEOF
33167
33168 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33169 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33170 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33171
33172 fi
33173 save_LIBS="$LIBS"
33174 LIBS="$LIBS $PANGOX_LIBS"
33175
33176 for ac_func in pango_font_family_is_monospace
33177 do
33178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33179 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33181 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33182 echo $ECHO_N "(cached) $ECHO_C" >&6
33183 else
33184 cat >conftest.$ac_ext <<_ACEOF
33185 /* confdefs.h. */
33186 _ACEOF
33187 cat confdefs.h >>conftest.$ac_ext
33188 cat >>conftest.$ac_ext <<_ACEOF
33189 /* end confdefs.h. */
33190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33192 #define $ac_func innocuous_$ac_func
33193
33194 /* System header to define __stub macros and hopefully few prototypes,
33195 which can conflict with char $ac_func (); below.
33196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33197 <limits.h> exists even on freestanding compilers. */
33198
33199 #ifdef __STDC__
33200 # include <limits.h>
33201 #else
33202 # include <assert.h>
33203 #endif
33204
33205 #undef $ac_func
33206
33207 /* Override any GCC internal prototype to avoid an error.
33208 Use char because int might match the return type of a GCC
33209 builtin and then its argument prototype would still apply. */
33210 #ifdef __cplusplus
33211 extern "C"
33212 #endif
33213 char $ac_func ();
33214 /* The GNU C library defines this for functions which it implements
33215 to always fail with ENOSYS. Some functions are actually named
33216 something starting with __ and the normal name is an alias. */
33217 #if defined __stub_$ac_func || defined __stub___$ac_func
33218 choke me
33219 #endif
33220
33221 int
33222 main ()
33223 {
33224 return $ac_func ();
33225 ;
33226 return 0;
33227 }
33228 _ACEOF
33229 rm -f conftest.$ac_objext conftest$ac_exeext
33230 if { (ac_try="$ac_link"
33231 case "(($ac_try" in
33232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33233 *) ac_try_echo=$ac_try;;
33234 esac
33235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33236 (eval "$ac_link") 2>conftest.er1
33237 ac_status=$?
33238 grep -v '^ *+' conftest.er1 >conftest.err
33239 rm -f conftest.er1
33240 cat conftest.err >&5
33241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242 (exit $ac_status); } && {
33243 test -z "$ac_c_werror_flag" ||
33244 test ! -s conftest.err
33245 } && test -s conftest$ac_exeext &&
33246 $as_test_x conftest$ac_exeext; then
33247 eval "$as_ac_var=yes"
33248 else
33249 echo "$as_me: failed program was:" >&5
33250 sed 's/^/| /' conftest.$ac_ext >&5
33251
33252 eval "$as_ac_var=no"
33253 fi
33254
33255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33256 conftest$ac_exeext conftest.$ac_ext
33257 fi
33258 ac_res=`eval echo '${'$as_ac_var'}'`
33259 { echo "$as_me:$LINENO: result: $ac_res" >&5
33260 echo "${ECHO_T}$ac_res" >&6; }
33261 if test `eval echo '${'$as_ac_var'}'` = yes; then
33262 cat >>confdefs.h <<_ACEOF
33263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33264 _ACEOF
33265
33266 fi
33267 done
33268
33269 LIBS="$save_LIBS"
33270 fi
33271
33272 wxUSE_UNIVERSAL="yes"
33273
33274 if test "$wxUSE_NANOX" = "yes"; then
33275 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33276 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"
33277 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33278 else
33279 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33280 fi
33281
33282 TOOLKIT=X11
33283 GUIDIST=X11_DIST
33284 fi
33285
33286 if test "$wxUSE_MOTIF" = 1; then
33287 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33288 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33289
33290 ac_find_includes=
33291 for ac_dir in $SEARCH_INCLUDE /usr/include
33292 do
33293 if test -f "$ac_dir/Xm/Xm.h"; then
33294 ac_find_includes=$ac_dir
33295 break
33296 fi
33297 done
33298
33299 if test "$ac_find_includes" != "" ; then
33300 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33301 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33302
33303 if test "x$ac_find_includes" = "x/usr/include"; then
33304 ac_path_to_include=""
33305 else
33306 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33307 result=$?
33308 if test $result = 0; then
33309 ac_path_to_include=""
33310 else
33311 ac_path_to_include=" -I$ac_find_includes"
33312 fi
33313 fi
33314
33315 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33316 else
33317 save_CFLAGS=$CFLAGS
33318 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33319
33320 cat >conftest.$ac_ext <<_ACEOF
33321 /* confdefs.h. */
33322 _ACEOF
33323 cat confdefs.h >>conftest.$ac_ext
33324 cat >>conftest.$ac_ext <<_ACEOF
33325 /* end confdefs.h. */
33326
33327 #include <Xm/Xm.h>
33328
33329 int
33330 main ()
33331 {
33332
33333 int version;
33334 version = xmUseVersion;
33335
33336 ;
33337 return 0;
33338 }
33339 _ACEOF
33340 rm -f conftest.$ac_objext
33341 if { (ac_try="$ac_compile"
33342 case "(($ac_try" in
33343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33344 *) ac_try_echo=$ac_try;;
33345 esac
33346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33347 (eval "$ac_compile") 2>conftest.er1
33348 ac_status=$?
33349 grep -v '^ *+' conftest.er1 >conftest.err
33350 rm -f conftest.er1
33351 cat conftest.err >&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); } && {
33354 test -z "$ac_c_werror_flag" ||
33355 test ! -s conftest.err
33356 } && test -s conftest.$ac_objext; then
33357
33358 { echo "$as_me:$LINENO: result: found in default search path" >&5
33359 echo "${ECHO_T}found in default search path" >&6; }
33360 COMPILED_X_PROGRAM=1
33361
33362 else
33363 echo "$as_me: failed program was:" >&5
33364 sed 's/^/| /' conftest.$ac_ext >&5
33365
33366
33367 { echo "$as_me:$LINENO: result: no" >&5
33368 echo "${ECHO_T}no" >&6; }
33369 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33370 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33371 { (exit 1); exit 1; }; }
33372
33373
33374 fi
33375
33376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33377
33378 CFLAGS=$save_CFLAGS
33379 fi
33380
33381
33382 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33383 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33384
33385 ac_find_libraries=
33386 for ac_dir in $SEARCH_LIB
33387 do
33388 for ac_extension in a so sl dylib dll.a; do
33389 if test -f "$ac_dir/libXm.$ac_extension"; then
33390 ac_find_libraries=$ac_dir
33391 break 2
33392 fi
33393 done
33394 done
33395
33396
33397 if test "x$ac_find_libraries" != "x" ; then
33398 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33399 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33400
33401
33402 if test "$ac_find_libraries" = "default location"; then
33403 ac_path_to_link=""
33404 else
33405 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33406 result=$?
33407 if test $result = 0; then
33408 ac_path_to_link=""
33409 else
33410 ac_path_to_link=" -L$ac_find_libraries"
33411 fi
33412 fi
33413
33414 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33415 else
33416 save_CFLAGS=$CFLAGS
33417 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33418 save_LIBS="$LIBS"
33419 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33420
33421 cat >conftest.$ac_ext <<_ACEOF
33422 /* confdefs.h. */
33423 _ACEOF
33424 cat confdefs.h >>conftest.$ac_ext
33425 cat >>conftest.$ac_ext <<_ACEOF
33426 /* end confdefs.h. */
33427
33428 #include <Xm/Xm.h>
33429
33430 int
33431 main ()
33432 {
33433
33434 int version;
33435 version = xmUseVersion;
33436
33437 ;
33438 return 0;
33439 }
33440 _ACEOF
33441 rm -f conftest.$ac_objext conftest$ac_exeext
33442 if { (ac_try="$ac_link"
33443 case "(($ac_try" in
33444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33445 *) ac_try_echo=$ac_try;;
33446 esac
33447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33448 (eval "$ac_link") 2>conftest.er1
33449 ac_status=$?
33450 grep -v '^ *+' conftest.er1 >conftest.err
33451 rm -f conftest.er1
33452 cat conftest.err >&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } && {
33455 test -z "$ac_c_werror_flag" ||
33456 test ! -s conftest.err
33457 } && test -s conftest$ac_exeext &&
33458 $as_test_x conftest$ac_exeext; then
33459
33460 { echo "$as_me:$LINENO: result: found in default search path" >&5
33461 echo "${ECHO_T}found in default search path" >&6; }
33462 COMPILED_X_PROGRAM=1
33463
33464 else
33465 echo "$as_me: failed program was:" >&5
33466 sed 's/^/| /' conftest.$ac_ext >&5
33467
33468
33469 { echo "$as_me:$LINENO: result: no" >&5
33470 echo "${ECHO_T}no" >&6; }
33471 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33472 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33473 { (exit 1); exit 1; }; }
33474
33475
33476 fi
33477
33478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33479 conftest$ac_exeext conftest.$ac_ext
33480
33481 CFLAGS=$save_CFLAGS
33482 LIBS="$save_LIBS"
33483 fi
33484
33485 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33486 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33487 libp_link=""
33488 libsm_ice_link=""
33489 libs_found=0
33490 for libp in "" " -lXp"; do
33491 if test "$libs_found" = 0; then
33492 for libsm_ice in "" " -lSM -lICE"; do
33493 if test "$libs_found" = 0; then
33494 save_LIBS="$LIBS"
33495 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33496 save_CFLAGS=$CFLAGS
33497 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33498
33499 cat >conftest.$ac_ext <<_ACEOF
33500 /* confdefs.h. */
33501 _ACEOF
33502 cat confdefs.h >>conftest.$ac_ext
33503 cat >>conftest.$ac_ext <<_ACEOF
33504 /* end confdefs.h. */
33505
33506 #include <Xm/Xm.h>
33507 #include <Xm/List.h>
33508
33509 int
33510 main ()
33511 {
33512
33513 XmString string = NULL;
33514 Widget w = NULL;
33515 int position = 0;
33516 XmListAddItem(w, string, position);
33517
33518 ;
33519 return 0;
33520 }
33521 _ACEOF
33522 rm -f conftest.$ac_objext conftest$ac_exeext
33523 if { (ac_try="$ac_link"
33524 case "(($ac_try" in
33525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33526 *) ac_try_echo=$ac_try;;
33527 esac
33528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33529 (eval "$ac_link") 2>conftest.er1
33530 ac_status=$?
33531 grep -v '^ *+' conftest.er1 >conftest.err
33532 rm -f conftest.er1
33533 cat conftest.err >&5
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); } && {
33536 test -z "$ac_c_werror_flag" ||
33537 test ! -s conftest.err
33538 } && test -s conftest$ac_exeext &&
33539 $as_test_x conftest$ac_exeext; then
33540
33541 libp_link="$libp"
33542 libsm_ice_link="$libsm_ice"
33543 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33544 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33545 libs_found=1
33546
33547 else
33548 echo "$as_me: failed program was:" >&5
33549 sed 's/^/| /' conftest.$ac_ext >&5
33550
33551
33552
33553 fi
33554
33555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33556 conftest$ac_exeext conftest.$ac_ext
33557
33558 LIBS="$save_LIBS"
33559 CFLAGS=$save_CFLAGS
33560 fi
33561 done
33562 fi
33563 done
33564
33565 if test "$libs_found" = 0; then
33566 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33567 echo "${ECHO_T}can't find the right libraries" >&6; }
33568 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33569 echo "$as_me: error: can't link a simple motif program" >&2;}
33570 { (exit 1); exit 1; }; }
33571 fi
33572
33573 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33574 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33575 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33576 echo $ECHO_N "(cached) $ECHO_C" >&6
33577 else
33578 ac_check_lib_save_LIBS=$LIBS
33579 LIBS="-lSgm $LIBS"
33580 cat >conftest.$ac_ext <<_ACEOF
33581 /* confdefs.h. */
33582 _ACEOF
33583 cat confdefs.h >>conftest.$ac_ext
33584 cat >>conftest.$ac_ext <<_ACEOF
33585 /* end confdefs.h. */
33586
33587 /* Override any GCC internal prototype to avoid an error.
33588 Use char because int might match the return type of a GCC
33589 builtin and then its argument prototype would still apply. */
33590 #ifdef __cplusplus
33591 extern "C"
33592 #endif
33593 char SgCreateList ();
33594 int
33595 main ()
33596 {
33597 return SgCreateList ();
33598 ;
33599 return 0;
33600 }
33601 _ACEOF
33602 rm -f conftest.$ac_objext conftest$ac_exeext
33603 if { (ac_try="$ac_link"
33604 case "(($ac_try" in
33605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33606 *) ac_try_echo=$ac_try;;
33607 esac
33608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33609 (eval "$ac_link") 2>conftest.er1
33610 ac_status=$?
33611 grep -v '^ *+' conftest.er1 >conftest.err
33612 rm -f conftest.er1
33613 cat conftest.err >&5
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); } && {
33616 test -z "$ac_c_werror_flag" ||
33617 test ! -s conftest.err
33618 } && test -s conftest$ac_exeext &&
33619 $as_test_x conftest$ac_exeext; then
33620 ac_cv_lib_Sgm_SgCreateList=yes
33621 else
33622 echo "$as_me: failed program was:" >&5
33623 sed 's/^/| /' conftest.$ac_ext >&5
33624
33625 ac_cv_lib_Sgm_SgCreateList=no
33626 fi
33627
33628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33629 conftest$ac_exeext conftest.$ac_ext
33630 LIBS=$ac_check_lib_save_LIBS
33631 fi
33632 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33633 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33634 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33635 libsgm_link=" -lSgm"
33636 fi
33637
33638
33639 save_CFLAGS=$CFLAGS
33640 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33641
33642 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33643 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33644 if test "${wx_cv_lib_motif2+set}" = set; then
33645 echo $ECHO_N "(cached) $ECHO_C" >&6
33646 else
33647 cat >conftest.$ac_ext <<_ACEOF
33648 /* confdefs.h. */
33649 _ACEOF
33650 cat confdefs.h >>conftest.$ac_ext
33651 cat >>conftest.$ac_ext <<_ACEOF
33652 /* end confdefs.h. */
33653
33654 #include <Xm/Xm.h>
33655
33656 int
33657 main ()
33658 {
33659
33660 #if XmVersion < 2000
33661 Not Motif 2
33662 #endif
33663
33664 ;
33665 return 0;
33666 }
33667 _ACEOF
33668 rm -f conftest.$ac_objext
33669 if { (ac_try="$ac_compile"
33670 case "(($ac_try" in
33671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33672 *) ac_try_echo=$ac_try;;
33673 esac
33674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33675 (eval "$ac_compile") 2>conftest.er1
33676 ac_status=$?
33677 grep -v '^ *+' conftest.er1 >conftest.err
33678 rm -f conftest.er1
33679 cat conftest.err >&5
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); } && {
33682 test -z "$ac_c_werror_flag" ||
33683 test ! -s conftest.err
33684 } && test -s conftest.$ac_objext; then
33685 wx_cv_lib_motif2="yes"
33686 else
33687 echo "$as_me: failed program was:" >&5
33688 sed 's/^/| /' conftest.$ac_ext >&5
33689
33690 wx_cv_lib_motif2="no"
33691 fi
33692
33693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33694 fi
33695 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33696 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33697 if test "$wx_cv_lib_motif2" = "yes"; then
33698 cat >>confdefs.h <<\_ACEOF
33699 #define __WXMOTIF20__ 1
33700 _ACEOF
33701
33702 else
33703 cat >>confdefs.h <<\_ACEOF
33704 #define __WXMOTIF20__ 0
33705 _ACEOF
33706
33707 fi
33708
33709 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33710 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33711 if test "${wx_cv_lib_lesstif+set}" = set; then
33712 echo $ECHO_N "(cached) $ECHO_C" >&6
33713 else
33714 cat >conftest.$ac_ext <<_ACEOF
33715 /* confdefs.h. */
33716 _ACEOF
33717 cat confdefs.h >>conftest.$ac_ext
33718 cat >>conftest.$ac_ext <<_ACEOF
33719 /* end confdefs.h. */
33720
33721 #include <Xm/Xm.h>
33722
33723 int
33724 main ()
33725 {
33726
33727 #if !defined(LesstifVersion) || LesstifVersion <= 0
33728 Not Lesstif
33729 #endif
33730
33731 ;
33732 return 0;
33733 }
33734 _ACEOF
33735 rm -f conftest.$ac_objext
33736 if { (ac_try="$ac_compile"
33737 case "(($ac_try" in
33738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33739 *) ac_try_echo=$ac_try;;
33740 esac
33741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33742 (eval "$ac_compile") 2>conftest.er1
33743 ac_status=$?
33744 grep -v '^ *+' conftest.er1 >conftest.err
33745 rm -f conftest.er1
33746 cat conftest.err >&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); } && {
33749 test -z "$ac_c_werror_flag" ||
33750 test ! -s conftest.err
33751 } && test -s conftest.$ac_objext; then
33752 wx_cv_lib_lesstif="yes"
33753 else
33754 echo "$as_me: failed program was:" >&5
33755 sed 's/^/| /' conftest.$ac_ext >&5
33756
33757 wx_cv_lib_lesstif="no"
33758 fi
33759
33760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33761
33762 fi
33763 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33764 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33765 if test "$wx_cv_lib_lesstif" = "yes"; then
33766 cat >>confdefs.h <<\_ACEOF
33767 #define __WXLESSTIF__ 1
33768 _ACEOF
33769
33770 else
33771 cat >>confdefs.h <<\_ACEOF
33772 #define __WXLESSTIF__ 0
33773 _ACEOF
33774
33775 fi
33776
33777 CFLAGS=$save_CFLAGS
33778
33779 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33780 TOOLKIT=MOTIF
33781 GUIDIST=MOTIF_DIST
33782 fi
33783
33784 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33785 if test "$wxUSE_LIBXPM" = "sys"; then
33786 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33787 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33788
33789 ac_find_libraries=
33790 for ac_dir in $SEARCH_LIB
33791 do
33792 for ac_extension in a so sl dylib dll.a; do
33793 if test -f "$ac_dir/libXpm.$ac_extension"; then
33794 ac_find_libraries=$ac_dir
33795 break 2
33796 fi
33797 done
33798 done
33799
33800 if test "$ac_find_libraries" != "" ; then
33801
33802 if test "$ac_find_libraries" = "default location"; then
33803 ac_path_to_link=""
33804 else
33805 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33806 result=$?
33807 if test $result = 0; then
33808 ac_path_to_link=""
33809 else
33810 ac_path_to_link=" -L$ac_find_libraries"
33811 fi
33812 fi
33813
33814 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33815 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33816 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33817
33818 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33819 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33820 if test "${wx_cv_x11_xpm_h+set}" = set; then
33821 echo $ECHO_N "(cached) $ECHO_C" >&6
33822 else
33823
33824 save_CFLAGS=$CFLAGS
33825 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33826
33827 cat >conftest.$ac_ext <<_ACEOF
33828 /* confdefs.h. */
33829 _ACEOF
33830 cat confdefs.h >>conftest.$ac_ext
33831 cat >>conftest.$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33833
33834 #include <X11/xpm.h>
33835
33836 int
33837 main ()
33838 {
33839
33840 int version;
33841 version = XpmLibraryVersion();
33842
33843 ;
33844 return 0;
33845 }
33846 _ACEOF
33847 rm -f conftest.$ac_objext
33848 if { (ac_try="$ac_compile"
33849 case "(($ac_try" in
33850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33851 *) ac_try_echo=$ac_try;;
33852 esac
33853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33854 (eval "$ac_compile") 2>conftest.er1
33855 ac_status=$?
33856 grep -v '^ *+' conftest.er1 >conftest.err
33857 rm -f conftest.er1
33858 cat conftest.err >&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); } && {
33861 test -z "$ac_c_werror_flag" ||
33862 test ! -s conftest.err
33863 } && test -s conftest.$ac_objext; then
33864 wx_cv_x11_xpm_h=yes
33865 else
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.$ac_ext >&5
33868
33869 wx_cv_x11_xpm_h=no
33870
33871 fi
33872
33873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33874
33875 CFLAGS=$save_CFLAGS
33876
33877
33878 fi
33879 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33880 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33881
33882 if test $wx_cv_x11_xpm_h = "yes"; then
33883 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33884 cat >>confdefs.h <<\_ACEOF
33885 #define wxHAVE_LIB_XPM 1
33886 _ACEOF
33887
33888 else
33889 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33890 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33891 fi
33892 fi
33893
33894 fi
33895
33896 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33897 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33898 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33899 echo $ECHO_N "(cached) $ECHO_C" >&6
33900 else
33901 ac_check_lib_save_LIBS=$LIBS
33902 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33903 cat >conftest.$ac_ext <<_ACEOF
33904 /* confdefs.h. */
33905 _ACEOF
33906 cat confdefs.h >>conftest.$ac_ext
33907 cat >>conftest.$ac_ext <<_ACEOF
33908 /* end confdefs.h. */
33909
33910 /* Override any GCC internal prototype to avoid an error.
33911 Use char because int might match the return type of a GCC
33912 builtin and then its argument prototype would still apply. */
33913 #ifdef __cplusplus
33914 extern "C"
33915 #endif
33916 char XShapeQueryExtension ();
33917 int
33918 main ()
33919 {
33920 return XShapeQueryExtension ();
33921 ;
33922 return 0;
33923 }
33924 _ACEOF
33925 rm -f conftest.$ac_objext conftest$ac_exeext
33926 if { (ac_try="$ac_link"
33927 case "(($ac_try" in
33928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33929 *) ac_try_echo=$ac_try;;
33930 esac
33931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33932 (eval "$ac_link") 2>conftest.er1
33933 ac_status=$?
33934 grep -v '^ *+' conftest.er1 >conftest.err
33935 rm -f conftest.er1
33936 cat conftest.err >&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); } && {
33939 test -z "$ac_c_werror_flag" ||
33940 test ! -s conftest.err
33941 } && test -s conftest$ac_exeext &&
33942 $as_test_x conftest$ac_exeext; then
33943 ac_cv_lib_Xext_XShapeQueryExtension=yes
33944 else
33945 echo "$as_me: failed program was:" >&5
33946 sed 's/^/| /' conftest.$ac_ext >&5
33947
33948 ac_cv_lib_Xext_XShapeQueryExtension=no
33949 fi
33950
33951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33952 conftest$ac_exeext conftest.$ac_ext
33953 LIBS=$ac_check_lib_save_LIBS
33954 fi
33955 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33956 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33957 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33958
33959 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33960 wxHAVE_XEXT_LIB=1
33961
33962 fi
33963
33964
33965 if test "$wxHAVE_XEXT_LIB" = 1; then
33966 save_CFLAGS="$CFLAGS"
33967 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33968
33969 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33970 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33971 cat >conftest.$ac_ext <<_ACEOF
33972 /* confdefs.h. */
33973 _ACEOF
33974 cat confdefs.h >>conftest.$ac_ext
33975 cat >>conftest.$ac_ext <<_ACEOF
33976 /* end confdefs.h. */
33977
33978 #include <X11/Xlib.h>
33979 #include <X11/extensions/shape.h>
33980
33981 int
33982 main ()
33983 {
33984
33985 int dummy1, dummy2;
33986 XShapeQueryExtension((Display*)NULL,
33987 (int*)NULL, (int*)NULL);
33988
33989 ;
33990 return 0;
33991 }
33992 _ACEOF
33993 rm -f conftest.$ac_objext
33994 if { (ac_try="$ac_compile"
33995 case "(($ac_try" in
33996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33997 *) ac_try_echo=$ac_try;;
33998 esac
33999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34000 (eval "$ac_compile") 2>conftest.er1
34001 ac_status=$?
34002 grep -v '^ *+' conftest.er1 >conftest.err
34003 rm -f conftest.er1
34004 cat conftest.err >&5
34005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34006 (exit $ac_status); } && {
34007 test -z "$ac_c_werror_flag" ||
34008 test ! -s conftest.err
34009 } && test -s conftest.$ac_objext; then
34010
34011 cat >>confdefs.h <<\_ACEOF
34012 #define HAVE_XSHAPE 1
34013 _ACEOF
34014
34015 { echo "$as_me:$LINENO: result: found" >&5
34016 echo "${ECHO_T}found" >&6; }
34017
34018 else
34019 echo "$as_me: failed program was:" >&5
34020 sed 's/^/| /' conftest.$ac_ext >&5
34021
34022
34023 { echo "$as_me:$LINENO: result: not found" >&5
34024 echo "${ECHO_T}not found" >&6; }
34025
34026 fi
34027
34028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34029 CFLAGS="$save_CFLAGS"
34030
34031 fi
34032 fi
34033
34034 if test "$wxUSE_OSX_CARBON" = 1; then
34035 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34036 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34037 if test "$GCC" = yes; then
34038 { echo "$as_me:$LINENO: result: gcc" >&5
34039 echo "${ECHO_T}gcc" >&6; }
34040 CPPFLAGS_PASCAL="-fpascal-strings"
34041 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34042 { echo "$as_me:$LINENO: result: xlc" >&5
34043 echo "${ECHO_T}xlc" >&6; }
34044 CPPFLAGS_PASCAL="-qmacpstr"
34045 else
34046 { echo "$as_me:$LINENO: result: none" >&5
34047 echo "${ECHO_T}none" >&6; }
34048 fi
34049
34050 if test "x$wxUSE_UNIX" = "xyes"; then
34051 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34052 else
34053 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34054 fi
34055
34056 TOOLKIT=OSX_CARBON
34057 GUIDIST=OSX_CARBON_DIST
34058 WXBASEPORT="_carbon"
34059
34060 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34061 fi
34062
34063 if test "$wxUSE_OSX_COCOA" = 1; then
34064 TOOLKIT=OSX_COCOA
34065 GUIDIST=OSX_COCOA_DIST
34066
34067 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34068 fi
34069
34070 if test "$wxUSE_OSX_IPHONE" = 1; then
34071 TOOLKIT=OSX_IPHONE
34072 fi
34073
34074 if test "$wxUSE_OLD_COCOA" = 1; then
34075 TOOLKIT=COCOA
34076 GUIDIST=COCOA_DIST
34077 fi
34078
34079 if test "$wxUSE_PM" = 1; then
34080 TOOLKIT=PM
34081 GUIDIST=PM_DIST
34082 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34083 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34084 if test "${wx_cv_spbcdata+set}" = set; then
34085 echo $ECHO_N "(cached) $ECHO_C" >&6
34086 else
34087
34088 cat >conftest.$ac_ext <<_ACEOF
34089 /* confdefs.h. */
34090 _ACEOF
34091 cat confdefs.h >>conftest.$ac_ext
34092 cat >>conftest.$ac_ext <<_ACEOF
34093 /* end confdefs.h. */
34094
34095 #define INCL_PM
34096 #include <os2.h>
34097
34098 int
34099 main ()
34100 {
34101
34102 SPBCDATA test;
34103
34104 ;
34105 return 0;
34106 }
34107 _ACEOF
34108 rm -f conftest.$ac_objext
34109 if { (ac_try="$ac_compile"
34110 case "(($ac_try" in
34111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34112 *) ac_try_echo=$ac_try;;
34113 esac
34114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34115 (eval "$ac_compile") 2>conftest.er1
34116 ac_status=$?
34117 grep -v '^ *+' conftest.er1 >conftest.err
34118 rm -f conftest.er1
34119 cat conftest.err >&5
34120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34121 (exit $ac_status); } && {
34122 test -z "$ac_c_werror_flag" ||
34123 test ! -s conftest.err
34124 } && test -s conftest.$ac_objext; then
34125 wx_cv_spbcdata=yes
34126 else
34127 echo "$as_me: failed program was:" >&5
34128 sed 's/^/| /' conftest.$ac_ext >&5
34129
34130 wx_cv_spbcdata=no
34131
34132 fi
34133
34134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34135
34136
34137 fi
34138 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34139 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34140
34141 if test $wx_cv_spbcdata = "yes"; then
34142 cat >>confdefs.h <<\_ACEOF
34143 #define HAVE_SPBCDATA 1
34144 _ACEOF
34145
34146 fi
34147 fi
34148
34149 if test "$TOOLKIT" = "PM" ; then
34150 TOOLKIT_DIR="os2"
34151 else
34152 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34153 fi
34154
34155 if test "$wxUSE_UNIVERSAL" = "yes"; then
34156 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34157 WIDGET_SET=univ
34158 fi
34159
34160 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34161 DISTDIR="wx\$(TOOLKIT)"
34162 else
34163 USE_GUI=0
34164
34165 TOOLKIT_DIR="base"
34166
34167 if test "$USE_WIN32" = 1 ; then
34168 TOOLKIT="MSW"
34169 fi
34170
34171 GUIDIST="BASE_DIST"
34172 DISTDIR="wxBase"
34173 fi
34174
34175
34176
34177 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34178 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34179 wxUSE_UNICODE_UTF8=yes
34180 elif test "$USE_OS2" = 1 ; then
34181 wxUSE_UNICODE_UTF8=yes
34182 else
34183 wxUSE_UNICODE_UTF8=no
34184 fi
34185 fi
34186
34187
34188 if test "$wxUSE_GUI" = "yes"; then
34189 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34190
34191 for ac_header in X11/Xlib.h
34192 do
34193 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34194 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34196 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34197 echo $ECHO_N "(cached) $ECHO_C" >&6
34198 else
34199 cat >conftest.$ac_ext <<_ACEOF
34200 /* confdefs.h. */
34201 _ACEOF
34202 cat confdefs.h >>conftest.$ac_ext
34203 cat >>conftest.$ac_ext <<_ACEOF
34204 /* end confdefs.h. */
34205
34206
34207 #include <$ac_header>
34208 _ACEOF
34209 rm -f conftest.$ac_objext
34210 if { (ac_try="$ac_compile"
34211 case "(($ac_try" in
34212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34213 *) ac_try_echo=$ac_try;;
34214 esac
34215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34216 (eval "$ac_compile") 2>conftest.er1
34217 ac_status=$?
34218 grep -v '^ *+' conftest.er1 >conftest.err
34219 rm -f conftest.er1
34220 cat conftest.err >&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); } && {
34223 test -z "$ac_c_werror_flag" ||
34224 test ! -s conftest.err
34225 } && test -s conftest.$ac_objext; then
34226 eval "$as_ac_Header=yes"
34227 else
34228 echo "$as_me: failed program was:" >&5
34229 sed 's/^/| /' conftest.$ac_ext >&5
34230
34231 eval "$as_ac_Header=no"
34232 fi
34233
34234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34235 fi
34236 ac_res=`eval echo '${'$as_ac_Header'}'`
34237 { echo "$as_me:$LINENO: result: $ac_res" >&5
34238 echo "${ECHO_T}$ac_res" >&6; }
34239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34240 cat >>confdefs.h <<_ACEOF
34241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34242 _ACEOF
34243
34244 fi
34245
34246 done
34247
34248
34249 for ac_header in X11/XKBlib.h
34250 do
34251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34255 echo $ECHO_N "(cached) $ECHO_C" >&6
34256 else
34257 cat >conftest.$ac_ext <<_ACEOF
34258 /* confdefs.h. */
34259 _ACEOF
34260 cat confdefs.h >>conftest.$ac_ext
34261 cat >>conftest.$ac_ext <<_ACEOF
34262 /* end confdefs.h. */
34263
34264 #if HAVE_X11_XLIB_H
34265 #include <X11/Xlib.h>
34266 #endif
34267
34268
34269 #include <$ac_header>
34270 _ACEOF
34271 rm -f conftest.$ac_objext
34272 if { (ac_try="$ac_compile"
34273 case "(($ac_try" in
34274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34275 *) ac_try_echo=$ac_try;;
34276 esac
34277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34278 (eval "$ac_compile") 2>conftest.er1
34279 ac_status=$?
34280 grep -v '^ *+' conftest.er1 >conftest.err
34281 rm -f conftest.er1
34282 cat conftest.err >&5
34283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34284 (exit $ac_status); } && {
34285 test -z "$ac_c_werror_flag" ||
34286 test ! -s conftest.err
34287 } && test -s conftest.$ac_objext; then
34288 eval "$as_ac_Header=yes"
34289 else
34290 echo "$as_me: failed program was:" >&5
34291 sed 's/^/| /' conftest.$ac_ext >&5
34292
34293 eval "$as_ac_Header=no"
34294 fi
34295
34296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34297 fi
34298 ac_res=`eval echo '${'$as_ac_Header'}'`
34299 { echo "$as_me:$LINENO: result: $ac_res" >&5
34300 echo "${ECHO_T}$ac_res" >&6; }
34301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34302 cat >>confdefs.h <<_ACEOF
34303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34304 _ACEOF
34305
34306 fi
34307
34308 done
34309
34310 fi
34311 fi
34312
34313
34314
34315 USE_XINERAMA=0
34316 if test "$wxUSE_DISPLAY" = "yes"; then
34317 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34318 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34319 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34320
34321 ac_find_libraries=
34322 for ac_dir in $SEARCH_LIB
34323 do
34324 for ac_extension in a so sl dylib dll.a; do
34325 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34326 ac_find_libraries=$ac_dir
34327 break 2
34328 fi
34329 done
34330 done
34331
34332 if test "$ac_find_libraries" != "" ; then
34333
34334 if test "$ac_find_libraries" = "default location"; then
34335 ac_path_to_link=""
34336 else
34337 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34338 result=$?
34339 if test $result = 0; then
34340 ac_path_to_link=""
34341 else
34342 ac_path_to_link=" -L$ac_find_libraries"
34343 fi
34344 fi
34345
34346 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34347 LDFLAGS="$LDFLAGS $ac_path_to_link"
34348 fi
34349 USE_XINERAMA=1
34350 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34351 { echo "$as_me:$LINENO: result: yes" >&5
34352 echo "${ECHO_T}yes" >&6; }
34353 else
34354 { echo "$as_me:$LINENO: result: no" >&5
34355 echo "${ECHO_T}no" >&6; }
34356 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34357 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34358 wxUSE_DISPLAY="no"
34359 fi
34360 elif test "$wxUSE_MSW" = 1; then
34361 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34362 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34363 if test "${ac_cv_header_ddraw_h+set}" = set; then
34364 echo $ECHO_N "(cached) $ECHO_C" >&6
34365 else
34366 cat >conftest.$ac_ext <<_ACEOF
34367 /* confdefs.h. */
34368 _ACEOF
34369 cat confdefs.h >>conftest.$ac_ext
34370 cat >>conftest.$ac_ext <<_ACEOF
34371 /* end confdefs.h. */
34372 #include <windows.h>
34373
34374 #include <ddraw.h>
34375 _ACEOF
34376 rm -f conftest.$ac_objext
34377 if { (ac_try="$ac_compile"
34378 case "(($ac_try" in
34379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34380 *) ac_try_echo=$ac_try;;
34381 esac
34382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34383 (eval "$ac_compile") 2>conftest.er1
34384 ac_status=$?
34385 grep -v '^ *+' conftest.er1 >conftest.err
34386 rm -f conftest.er1
34387 cat conftest.err >&5
34388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34389 (exit $ac_status); } && {
34390 test -z "$ac_c_werror_flag" ||
34391 test ! -s conftest.err
34392 } && test -s conftest.$ac_objext; then
34393 ac_cv_header_ddraw_h=yes
34394 else
34395 echo "$as_me: failed program was:" >&5
34396 sed 's/^/| /' conftest.$ac_ext >&5
34397
34398 ac_cv_header_ddraw_h=no
34399 fi
34400
34401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34402 fi
34403 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34404 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34405
34406
34407 fi
34408 fi
34409
34410 if test "$wxUSE_DISPLAY" = "yes"; then
34411 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34412 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34413 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34414
34415 ac_find_libraries=
34416 for ac_dir in $SEARCH_LIB
34417 do
34418 for ac_extension in a so sl dylib dll.a; do
34419 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34420 ac_find_libraries=$ac_dir
34421 break 2
34422 fi
34423 done
34424 done
34425
34426 if test "$ac_find_libraries" != "" ; then
34427 { echo "$as_me:$LINENO: result: yes" >&5
34428 echo "${ECHO_T}yes" >&6; }
34429
34430 for ac_header in X11/extensions/xf86vmode.h
34431 do
34432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34433 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34435 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34436 echo $ECHO_N "(cached) $ECHO_C" >&6
34437 else
34438 cat >conftest.$ac_ext <<_ACEOF
34439 /* confdefs.h. */
34440 _ACEOF
34441 cat confdefs.h >>conftest.$ac_ext
34442 cat >>conftest.$ac_ext <<_ACEOF
34443 /* end confdefs.h. */
34444
34445 #if HAVE_X11_XLIB_H
34446 #include <X11/Xlib.h>
34447 #endif
34448
34449
34450 #include <$ac_header>
34451 _ACEOF
34452 rm -f conftest.$ac_objext
34453 if { (ac_try="$ac_compile"
34454 case "(($ac_try" in
34455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34456 *) ac_try_echo=$ac_try;;
34457 esac
34458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34459 (eval "$ac_compile") 2>conftest.er1
34460 ac_status=$?
34461 grep -v '^ *+' conftest.er1 >conftest.err
34462 rm -f conftest.er1
34463 cat conftest.err >&5
34464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465 (exit $ac_status); } && {
34466 test -z "$ac_c_werror_flag" ||
34467 test ! -s conftest.err
34468 } && test -s conftest.$ac_objext; then
34469 eval "$as_ac_Header=yes"
34470 else
34471 echo "$as_me: failed program was:" >&5
34472 sed 's/^/| /' conftest.$ac_ext >&5
34473
34474 eval "$as_ac_Header=no"
34475 fi
34476
34477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34478 fi
34479 ac_res=`eval echo '${'$as_ac_Header'}'`
34480 { echo "$as_me:$LINENO: result: $ac_res" >&5
34481 echo "${ECHO_T}$ac_res" >&6; }
34482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34483 cat >>confdefs.h <<_ACEOF
34484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34485 _ACEOF
34486
34487 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34488
34489 fi
34490
34491 done
34492
34493 else
34494 { echo "$as_me:$LINENO: result: no" >&5
34495 echo "${ECHO_T}no" >&6; }
34496 fi
34497 fi
34498 fi
34499
34500 if test "$wxUSE_DETECT_SM" = "yes"; then
34501 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34502 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34503 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34504
34505 ac_find_libraries=
34506 for ac_dir in $SEARCH_LIB
34507 do
34508 for ac_extension in a so sl dylib dll.a; do
34509 if test -f "$ac_dir/libSM.$ac_extension"; then
34510 ac_find_libraries=$ac_dir
34511 break 2
34512 fi
34513 done
34514 done
34515
34516 if test "$ac_find_libraries" != "" ; then
34517
34518 if test "$ac_find_libraries" = "default location"; then
34519 ac_path_to_link=""
34520 else
34521 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34522 result=$?
34523 if test $result = 0; then
34524 ac_path_to_link=""
34525 else
34526 ac_path_to_link=" -L$ac_find_libraries"
34527 fi
34528 fi
34529
34530 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34531 LDFLAGS="$LDFLAGS $ac_path_to_link"
34532 fi
34533 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34534 { echo "$as_me:$LINENO: result: yes" >&5
34535 echo "${ECHO_T}yes" >&6; }
34536 else
34537 { echo "$as_me:$LINENO: result: no" >&5
34538 echo "${ECHO_T}no" >&6; }
34539 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34540 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34541 wxUSE_DETECT_SM="no"
34542 fi
34543 else
34544 wxUSE_DETECT_SM="no"
34545 fi
34546 fi
34547
34548
34549
34550 USE_OPENGL=0
34551 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34552
34553
34554 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34555 OPENGL_LIBS="-framework OpenGL -framework AGL"
34556 elif test "$wxUSE_MSW" = 1; then
34557 OPENGL_LIBS="-lopengl32 -lglu32"
34558 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34559
34560 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34561 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34562
34563 ac_find_includes=
34564 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34565 do
34566 if test -f "$ac_dir/GL/gl.h"; then
34567 ac_find_includes=$ac_dir
34568 break
34569 fi
34570 done
34571
34572 if test "$ac_find_includes" != "" ; then
34573 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34574 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34575
34576 if test "x$ac_find_includes" = "x/usr/include"; then
34577 ac_path_to_include=""
34578 else
34579 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34580 result=$?
34581 if test $result = 0; then
34582 ac_path_to_include=""
34583 else
34584 ac_path_to_include=" -I$ac_find_includes"
34585 fi
34586 fi
34587
34588 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34589 else
34590 { echo "$as_me:$LINENO: result: not found" >&5
34591 echo "${ECHO_T}not found" >&6; }
34592 fi
34593
34594 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34595 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34596 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34597 echo $ECHO_N "(cached) $ECHO_C" >&6
34598 else
34599 cat >conftest.$ac_ext <<_ACEOF
34600 /* confdefs.h. */
34601 _ACEOF
34602 cat confdefs.h >>conftest.$ac_ext
34603 cat >>conftest.$ac_ext <<_ACEOF
34604 /* end confdefs.h. */
34605
34606
34607 #include <GL/gl.h>
34608 _ACEOF
34609 rm -f conftest.$ac_objext
34610 if { (ac_try="$ac_compile"
34611 case "(($ac_try" in
34612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34613 *) ac_try_echo=$ac_try;;
34614 esac
34615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34616 (eval "$ac_compile") 2>conftest.er1
34617 ac_status=$?
34618 grep -v '^ *+' conftest.er1 >conftest.err
34619 rm -f conftest.er1
34620 cat conftest.err >&5
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); } && {
34623 test -z "$ac_c_werror_flag" ||
34624 test ! -s conftest.err
34625 } && test -s conftest.$ac_objext; then
34626 ac_cv_header_GL_gl_h=yes
34627 else
34628 echo "$as_me: failed program was:" >&5
34629 sed 's/^/| /' conftest.$ac_ext >&5
34630
34631 ac_cv_header_GL_gl_h=no
34632 fi
34633
34634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34635 fi
34636 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34637 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34638 if test $ac_cv_header_GL_gl_h = yes; then
34639
34640 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34641 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34642 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34643 echo $ECHO_N "(cached) $ECHO_C" >&6
34644 else
34645 cat >conftest.$ac_ext <<_ACEOF
34646 /* confdefs.h. */
34647 _ACEOF
34648 cat confdefs.h >>conftest.$ac_ext
34649 cat >>conftest.$ac_ext <<_ACEOF
34650 /* end confdefs.h. */
34651
34652
34653 #include <GL/glu.h>
34654 _ACEOF
34655 rm -f conftest.$ac_objext
34656 if { (ac_try="$ac_compile"
34657 case "(($ac_try" in
34658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34659 *) ac_try_echo=$ac_try;;
34660 esac
34661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34662 (eval "$ac_compile") 2>conftest.er1
34663 ac_status=$?
34664 grep -v '^ *+' conftest.er1 >conftest.err
34665 rm -f conftest.er1
34666 cat conftest.err >&5
34667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34668 (exit $ac_status); } && {
34669 test -z "$ac_c_werror_flag" ||
34670 test ! -s conftest.err
34671 } && test -s conftest.$ac_objext; then
34672 ac_cv_header_GL_glu_h=yes
34673 else
34674 echo "$as_me: failed program was:" >&5
34675 sed 's/^/| /' conftest.$ac_ext >&5
34676
34677 ac_cv_header_GL_glu_h=no
34678 fi
34679
34680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34681 fi
34682 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34683 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34684 if test $ac_cv_header_GL_glu_h = yes; then
34685
34686 found_gl=0
34687
34688 { echo "$as_me:$LINENO: checking for -lGL" >&5
34689 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34690
34691 ac_find_libraries=
34692 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34693 do
34694 for ac_extension in a so sl dylib dll.a; do
34695 if test -f "$ac_dir/libGL.$ac_extension"; then
34696 ac_find_libraries=$ac_dir
34697 break 2
34698 fi
34699 done
34700 done
34701
34702 if test "$ac_find_libraries" != "" ; then
34703 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34704 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34705
34706
34707 if test "$ac_find_libraries" = "default location"; then
34708 ac_path_to_link=""
34709 else
34710 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34711 result=$?
34712 if test $result = 0; then
34713 ac_path_to_link=""
34714 else
34715 ac_path_to_link=" -L$ac_find_libraries"
34716 fi
34717 fi
34718
34719 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34720 LDFLAGS_GL="$ac_path_to_link"
34721 fi
34722
34723 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34724 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34725
34726 ac_find_libraries=
34727 for ac_dir in $SEARCH_LIB
34728 do
34729 for ac_extension in a so sl dylib dll.a; do
34730 if test -f "$ac_dir/libGLU.$ac_extension"; then
34731 ac_find_libraries=$ac_dir
34732 break 2
34733 fi
34734 done
34735 done
34736
34737 if test "$ac_find_libraries" != "" ; then
34738
34739 if test "$ac_find_libraries" = "default location"; then
34740 ac_path_to_link=""
34741 else
34742 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34743 result=$?
34744 if test $result = 0; then
34745 ac_path_to_link=""
34746 else
34747 ac_path_to_link=" -L$ac_find_libraries"
34748 fi
34749 fi
34750
34751 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34752 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34753 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34754 fi
34755
34756 found_gl=1
34757 OPENGL_LIBS="-lGL -lGLU"
34758 { echo "$as_me:$LINENO: result: yes" >&5
34759 echo "${ECHO_T}yes" >&6; }
34760 else
34761 { echo "$as_me:$LINENO: result: no" >&5
34762 echo "${ECHO_T}no" >&6; }
34763 fi
34764 else
34765 { echo "$as_me:$LINENO: result: no" >&5
34766 echo "${ECHO_T}no" >&6; }
34767 fi
34768
34769 if test "$found_gl" != 1; then
34770 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34771 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34772
34773 ac_find_libraries=
34774 for ac_dir in $SEARCH_LIB
34775 do
34776 for ac_extension in a so sl dylib dll.a; do
34777 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34778 ac_find_libraries=$ac_dir
34779 break 2
34780 fi
34781 done
34782 done
34783
34784 if test "$ac_find_libraries" != "" ; then
34785
34786 if test "$ac_find_libraries" = "default location"; then
34787 ac_path_to_link=""
34788 else
34789 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34790 result=$?
34791 if test $result = 0; then
34792 ac_path_to_link=""
34793 else
34794 ac_path_to_link=" -L$ac_find_libraries"
34795 fi
34796 fi
34797
34798 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34799 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34800 { echo "$as_me:$LINENO: result: yes" >&5
34801 echo "${ECHO_T}yes" >&6; }
34802 else
34803 { echo "$as_me:$LINENO: result: no" >&5
34804 echo "${ECHO_T}no" >&6; }
34805 fi
34806 fi
34807
34808 fi
34809
34810
34811
34812 fi
34813
34814
34815
34816 if test "x$OPENGL_LIBS" = "x"; then
34817 if test "$wxUSE_OPENGL" = "yes"; then
34818 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34819 echo "$as_me: error: OpenGL libraries not available" >&2;}
34820 { (exit 1); exit 1; }; }
34821 else
34822 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34823 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34824 wxUSE_OPENGL=no
34825 USE_OPENGL=0
34826 fi
34827 fi
34828 else
34829 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34830 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34831 wxUSE_OPENGL="no"
34832 fi
34833
34834 if test "$wxUSE_OPENGL" = "auto"; then
34835 wxUSE_OPENGL=yes
34836 fi
34837
34838 if test "$wxUSE_OPENGL" = "yes"; then
34839 USE_OPENGL=1
34840 cat >>confdefs.h <<\_ACEOF
34841 #define wxUSE_OPENGL 1
34842 _ACEOF
34843
34844 cat >>confdefs.h <<\_ACEOF
34845 #define wxUSE_GLCANVAS 1
34846 _ACEOF
34847
34848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34849 fi
34850 fi
34851
34852
34853 if test -n "$TOOLKIT" ; then
34854 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34855 fi
34856
34857
34858
34859 if test "$wxUSE_SHARED" = "yes"; then
34860 case "${host}" in
34861 *-pc-msdosdjgpp )
34862 wxUSE_SHARED=no
34863 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34864 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34865 ;;
34866 esac
34867 fi
34868
34869 if test "$wxUSE_SHARED" = "yes"; then
34870
34871
34872 case "${host}" in
34873 *-*-cygwin* | *-*-mingw* )
34874 wx_cv_version_script=no
34875 ;;
34876
34877 *)
34878 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34879 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34880 if test "${wx_cv_version_script+set}" = set; then
34881 echo $ECHO_N "(cached) $ECHO_C" >&6
34882 else
34883
34884 echo "VER_1 { *; };" >conftest.sym
34885 echo "int main() { return 0; }" >conftest.cpp
34886
34887 if { ac_try='
34888 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34889 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34891 (eval $ac_try) 2>&5
34892 ac_status=$?
34893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34894 (exit $ac_status); }; } ; then
34895 if test -s conftest.stderr ; then
34896 wx_cv_version_script=no
34897 else
34898 wx_cv_version_script=yes
34899 fi
34900 else
34901 wx_cv_version_script=no
34902 fi
34903
34904 if test $wx_cv_version_script = yes
34905 then
34906 echo "struct B { virtual ~B() { } }; \
34907 struct D : public B { }; \
34908 void F() { D d; }" > conftest.cpp
34909
34910 if { ac_try='
34911 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34912 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34914 (eval $ac_try) 2>&5
34915 ac_status=$?
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); }; } &&
34918 { ac_try='
34919 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34920 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34922 (eval $ac_try) 2>&5
34923 ac_status=$?
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); }; }
34926 then
34927 if { ac_try='
34928 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34929 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34931 (eval $ac_try) 2>&5
34932 ac_status=$?
34933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34934 (exit $ac_status); }; }
34935 then
34936 wx_cv_version_script=yes
34937 else
34938 wx_cv_version_script=no
34939 fi
34940 fi
34941 fi
34942
34943 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34944 rm -f conftest1.output conftest2.output conftest3.output
34945
34946 fi
34947 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34948 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34949
34950 if test $wx_cv_version_script = yes ; then
34951 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34952 fi
34953 ;;
34954 esac
34955
34956
34957 if test "$wxUSE_VISIBILITY" != "no"; then
34958
34959
34960 if test -n "$GCC"; then
34961 CFLAGS_VISIBILITY="-fvisibility=hidden"
34962 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34963 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34964 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34965 if test "${wx_cv_cc_visibility+set}" = set; then
34966 echo $ECHO_N "(cached) $ECHO_C" >&6
34967 else
34968
34969 wx_save_CXXFLAGS="$CXXFLAGS"
34970 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34971 ac_ext=cpp
34972 ac_cpp='$CXXCPP $CPPFLAGS'
34973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34976
34977 cat >conftest.$ac_ext <<_ACEOF
34978 /* confdefs.h. */
34979 _ACEOF
34980 cat confdefs.h >>conftest.$ac_ext
34981 cat >>conftest.$ac_ext <<_ACEOF
34982 /* end confdefs.h. */
34983
34984 /* we need gcc >= 4.0, older versions with visibility support
34985 didn't have class visibility: */
34986 #if defined(__GNUC__) && __GNUC__ < 4
34987 error this gcc is too old;
34988 #endif
34989
34990 /* visibility only makes sense for ELF shared libs: */
34991 #if !defined(__ELF__) && !defined(__APPLE__)
34992 error this platform has no visibility;
34993 #endif
34994
34995 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34996 extern __attribute__((__visibility__("default"))) int exportedvar;
34997 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34998 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34999 class __attribute__((__visibility__("default"))) Foo {
35000 Foo() {}
35001 };
35002
35003 int
35004 main ()
35005 {
35006
35007 ;
35008 return 0;
35009 }
35010 _ACEOF
35011 rm -f conftest.$ac_objext
35012 if { (ac_try="$ac_compile"
35013 case "(($ac_try" in
35014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35015 *) ac_try_echo=$ac_try;;
35016 esac
35017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35018 (eval "$ac_compile") 2>conftest.er1
35019 ac_status=$?
35020 grep -v '^ *+' conftest.er1 >conftest.err
35021 rm -f conftest.er1
35022 cat conftest.err >&5
35023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35024 (exit $ac_status); } && {
35025 test -z "$ac_cxx_werror_flag" ||
35026 test ! -s conftest.err
35027 } && test -s conftest.$ac_objext; then
35028 wx_cv_cc_visibility=yes
35029 else
35030 echo "$as_me: failed program was:" >&5
35031 sed 's/^/| /' conftest.$ac_ext >&5
35032
35033 wx_cv_cc_visibility=no
35034 fi
35035
35036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35037 ac_ext=c
35038 ac_cpp='$CPP $CPPFLAGS'
35039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35042
35043 CXXFLAGS="$wx_save_CXXFLAGS"
35044 fi
35045
35046 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35047 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35048 if test $wx_cv_cc_visibility = yes; then
35049 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35050 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35051 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35052 echo $ECHO_N "(cached) $ECHO_C" >&6
35053 else
35054
35055 wx_save_CXXFLAGS="$CXXFLAGS"
35056 wx_save_LDFLAGS="$LDFLAGS"
35057 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35058 LDFLAGS="$LDFLAGS -shared -fPIC"
35059 ac_ext=cpp
35060 ac_cpp='$CXXCPP $CPPFLAGS'
35061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35064
35065 cat >conftest.$ac_ext <<_ACEOF
35066 /* confdefs.h. */
35067 _ACEOF
35068 cat confdefs.h >>conftest.$ac_ext
35069 cat >>conftest.$ac_ext <<_ACEOF
35070 /* end confdefs.h. */
35071
35072 #include <string>
35073
35074 int
35075 main ()
35076 {
35077
35078 std::string s("hello");
35079 return s.length();
35080
35081 ;
35082 return 0;
35083 }
35084 _ACEOF
35085 rm -f conftest.$ac_objext conftest$ac_exeext
35086 if { (ac_try="$ac_link"
35087 case "(($ac_try" in
35088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35089 *) ac_try_echo=$ac_try;;
35090 esac
35091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35092 (eval "$ac_link") 2>conftest.er1
35093 ac_status=$?
35094 grep -v '^ *+' conftest.er1 >conftest.err
35095 rm -f conftest.er1
35096 cat conftest.err >&5
35097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35098 (exit $ac_status); } && {
35099 test -z "$ac_cxx_werror_flag" ||
35100 test ! -s conftest.err
35101 } && test -s conftest$ac_exeext &&
35102 $as_test_x conftest$ac_exeext; then
35103 wx_cv_cc_broken_libstdcxx_visibility=no
35104 else
35105 echo "$as_me: failed program was:" >&5
35106 sed 's/^/| /' conftest.$ac_ext >&5
35107
35108 wx_cv_cc_broken_libstdcxx_visibility=yes
35109 fi
35110
35111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35112 conftest$ac_exeext conftest.$ac_ext
35113 ac_ext=c
35114 ac_cpp='$CPP $CPPFLAGS'
35115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35118
35119 CXXFLAGS="$wx_save_CXXFLAGS"
35120 LDFLAGS="$wx_save_LDFLAGS"
35121 fi
35122
35123 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35124 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35125
35126 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35127 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35128 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35129 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35130 echo $ECHO_N "(cached) $ECHO_C" >&6
35131 else
35132
35133 ac_ext=cpp
35134 ac_cpp='$CXXCPP $CPPFLAGS'
35135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35138
35139 cat >conftest.$ac_ext <<_ACEOF
35140 /* confdefs.h. */
35141 _ACEOF
35142 cat confdefs.h >>conftest.$ac_ext
35143 cat >>conftest.$ac_ext <<_ACEOF
35144 /* end confdefs.h. */
35145
35146 #pragma GCC visibility push(default)
35147 #include <string>
35148 #pragma GCC visibility pop
35149
35150 int
35151 main ()
35152 {
35153
35154 std::string s("hello");
35155 return s.length();
35156
35157 ;
35158 return 0;
35159 }
35160 _ACEOF
35161 rm -f conftest.$ac_objext conftest$ac_exeext
35162 if { (ac_try="$ac_link"
35163 case "(($ac_try" in
35164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35165 *) ac_try_echo=$ac_try;;
35166 esac
35167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35168 (eval "$ac_link") 2>conftest.er1
35169 ac_status=$?
35170 grep -v '^ *+' conftest.er1 >conftest.err
35171 rm -f conftest.er1
35172 cat conftest.err >&5
35173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35174 (exit $ac_status); } && {
35175 test -z "$ac_cxx_werror_flag" ||
35176 test ! -s conftest.err
35177 } && test -s conftest$ac_exeext &&
35178 $as_test_x conftest$ac_exeext; then
35179 wx_cv_cc_visibility_workaround=no
35180 else
35181 echo "$as_me: failed program was:" >&5
35182 sed 's/^/| /' conftest.$ac_ext >&5
35183
35184 wx_cv_cc_visibility_workaround=yes
35185 fi
35186
35187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35188 conftest$ac_exeext conftest.$ac_ext
35189 ac_ext=c
35190 ac_cpp='$CPP $CPPFLAGS'
35191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35194
35195
35196 fi
35197
35198 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35199 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35200
35201 if test $wx_cv_cc_visibility_workaround = no; then
35202 wx_cv_cc_visibility=no
35203 fi
35204 fi
35205 fi
35206
35207 if test $wx_cv_cc_visibility = yes; then
35208 cat >>confdefs.h <<\_ACEOF
35209 #define HAVE_VISIBILITY 1
35210 _ACEOF
35211
35212 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35213 cat >>confdefs.h <<\_ACEOF
35214 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35215 _ACEOF
35216
35217 fi
35218 else
35219 CFLAGS_VISIBILITY=""
35220 CXXFLAGS_VISIBILITY=""
35221 fi
35222
35223
35224 fi
35225
35226 fi
35227
35228 if test "x$SUNCXX" = xyes; then
35229 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35230 WXCONFIG_RPATH="-R\$libdir"
35231 else
35232 case "${host}" in
35233 *-*-linux* | *-*-gnu* )
35234 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35235 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35236 ;;
35237
35238 *-*-solaris2* )
35239
35240 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35241
35242 saveLdflags="$LDFLAGS"
35243 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35244 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35245 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35246 cat >conftest.$ac_ext <<_ACEOF
35247 /* confdefs.h. */
35248 _ACEOF
35249 cat confdefs.h >>conftest.$ac_ext
35250 cat >>conftest.$ac_ext <<_ACEOF
35251 /* end confdefs.h. */
35252
35253 int
35254 main ()
35255 {
35256
35257 ;
35258 return 0;
35259 }
35260 _ACEOF
35261 rm -f conftest.$ac_objext conftest$ac_exeext
35262 if { (ac_try="$ac_link"
35263 case "(($ac_try" in
35264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35265 *) ac_try_echo=$ac_try;;
35266 esac
35267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35268 (eval "$ac_link") 2>conftest.er1
35269 ac_status=$?
35270 grep -v '^ *+' conftest.er1 >conftest.err
35271 rm -f conftest.er1
35272 cat conftest.err >&5
35273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35274 (exit $ac_status); } && {
35275 test -z "$ac_c_werror_flag" ||
35276 test ! -s conftest.err
35277 } && test -s conftest$ac_exeext &&
35278 $as_test_x conftest$ac_exeext; then
35279
35280 { echo "$as_me:$LINENO: result: yes" >&5
35281 echo "${ECHO_T}yes" >&6; }
35282 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35283 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35284
35285 else
35286 echo "$as_me: failed program was:" >&5
35287 sed 's/^/| /' conftest.$ac_ext >&5
35288
35289
35290 { echo "$as_me:$LINENO: result: no" >&5
35291 echo "${ECHO_T}no" >&6; }
35292 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35293 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35294 LDFLAGS="$saveLdflags -Wl,-R,/"
35295 cat >conftest.$ac_ext <<_ACEOF
35296 /* confdefs.h. */
35297 _ACEOF
35298 cat confdefs.h >>conftest.$ac_ext
35299 cat >>conftest.$ac_ext <<_ACEOF
35300 /* end confdefs.h. */
35301
35302 int
35303 main ()
35304 {
35305
35306 ;
35307 return 0;
35308 }
35309 _ACEOF
35310 rm -f conftest.$ac_objext conftest$ac_exeext
35311 if { (ac_try="$ac_link"
35312 case "(($ac_try" in
35313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35314 *) ac_try_echo=$ac_try;;
35315 esac
35316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35317 (eval "$ac_link") 2>conftest.er1
35318 ac_status=$?
35319 grep -v '^ *+' conftest.er1 >conftest.err
35320 rm -f conftest.er1
35321 cat conftest.err >&5
35322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35323 (exit $ac_status); } && {
35324 test -z "$ac_c_werror_flag" ||
35325 test ! -s conftest.err
35326 } && test -s conftest$ac_exeext &&
35327 $as_test_x conftest$ac_exeext; then
35328
35329 { echo "$as_me:$LINENO: result: yes" >&5
35330 echo "${ECHO_T}yes" >&6; }
35331 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35332 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35333
35334 else
35335 echo "$as_me: failed program was:" >&5
35336 sed 's/^/| /' conftest.$ac_ext >&5
35337
35338
35339 { echo "$as_me:$LINENO: result: no" >&5
35340 echo "${ECHO_T}no" >&6; }
35341
35342 fi
35343
35344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35345 conftest$ac_exeext conftest.$ac_ext
35346
35347 fi
35348
35349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35350 conftest$ac_exeext conftest.$ac_ext
35351 LDFLAGS="$saveLdflags"
35352 ;;
35353
35354 *-*-darwin* )
35355 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35356 if test "$install_name_tool" -a -x "$install_name_tool"; then
35357 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35358 cat <<EOF >change-install-names
35359 #!/bin/sh
35360 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35361 for i in \${libnames} ; do
35362 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35363 for dep in \${libnames} ; do
35364 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35365 done
35366 done
35367 EOF
35368 chmod +x change-install-names
35369 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35370 fi
35371
35372 HEADER_PAD_OPTION="-headerpad_max_install_names"
35373 ;;
35374
35375 *-*-cygwin* | *-*-mingw32* )
35376 ;;
35377
35378 *-*-hpux* )
35379 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35380 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35381 ;;
35382
35383 esac
35384 fi
35385
35386 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35387
35388 if test $wxUSE_RPATH = "no"; then
35389 SAMPLES_RPATH_FLAG=''
35390 DYLIB_PATH_POSTLINK=''
35391 WXCONFIG_RPATH=''
35392 fi
35393
35394 SHARED=1
35395
35396 else
35397
35398 config_linkage_component="-static"
35399 SHARED=0
35400
35401 fi
35402
35403
35404 UNICODE=0
35405 lib_unicode_suffix=
35406 WX_CHARTYPE="ansi"
35407 if test "$wxUSE_UNICODE" = "yes"; then
35408 lib_unicode_suffix=u
35409 WX_CHARTYPE="unicode"
35410 UNICODE=1
35411 fi
35412
35413 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35414 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35415
35416 DEBUG_INFO=0
35417 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35418 DEBUG_INFO=1
35419 fi
35420
35421 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35422
35423 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35424
35425 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35426
35427
35428 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35429 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35430 else
35431 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35432 fi
35433 if test "${TOOLKIT_DIR}" = "os2"; then
35434 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35435 else
35436 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35437 fi
35438
35439
35440
35441 if test "$wxUSE_OLD_COCOA" = 1; then
35442
35443 ac_ext=c
35444 ac_cpp='$CPP $CPPFLAGS'
35445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35448
35449 ac_ext=m
35450
35451 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35452 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35453 cat >conftest.$ac_ext <<_ACEOF
35454 /* confdefs.h. */
35455 _ACEOF
35456 cat confdefs.h >>conftest.$ac_ext
35457 cat >>conftest.$ac_ext <<_ACEOF
35458 /* end confdefs.h. */
35459 #include <AppKit/NSEvent.h>
35460 #include <CoreFoundation/CoreFoundation.h>
35461
35462 int
35463 main ()
35464 {
35465
35466 ;
35467 return 0;
35468 }
35469 _ACEOF
35470 rm -f conftest.$ac_objext
35471 if { (ac_try="$ac_compile"
35472 case "(($ac_try" in
35473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35474 *) ac_try_echo=$ac_try;;
35475 esac
35476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35477 (eval "$ac_compile") 2>conftest.er1
35478 ac_status=$?
35479 grep -v '^ *+' conftest.er1 >conftest.err
35480 rm -f conftest.er1
35481 cat conftest.err >&5
35482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35483 (exit $ac_status); } && {
35484 test -z "$ac_c_werror_flag" ||
35485 test ! -s conftest.err
35486 } && test -s conftest.$ac_objext; then
35487 { echo "$as_me:$LINENO: result: no" >&5
35488 echo "${ECHO_T}no" >&6; }
35489 else
35490 echo "$as_me: failed program was:" >&5
35491 sed 's/^/| /' conftest.$ac_ext >&5
35492
35493 { echo "$as_me:$LINENO: result: yes" >&5
35494 echo "${ECHO_T}yes" >&6; }
35495 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35496 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35497 cat >conftest.$ac_ext <<_ACEOF
35498 /* confdefs.h. */
35499 _ACEOF
35500 cat confdefs.h >>conftest.$ac_ext
35501 cat >>conftest.$ac_ext <<_ACEOF
35502 /* end confdefs.h. */
35503 #define __Point__ 1
35504 #include <AppKit/NSEvent.h>
35505 #include <CoreFoundation/CoreFoundation.h>
35506
35507 int
35508 main ()
35509 {
35510
35511 ;
35512 return 0;
35513 }
35514 _ACEOF
35515 rm -f conftest.$ac_objext
35516 if { (ac_try="$ac_compile"
35517 case "(($ac_try" in
35518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35519 *) ac_try_echo=$ac_try;;
35520 esac
35521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35522 (eval "$ac_compile") 2>conftest.er1
35523 ac_status=$?
35524 grep -v '^ *+' conftest.er1 >conftest.err
35525 rm -f conftest.er1
35526 cat conftest.err >&5
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); } && {
35529 test -z "$ac_c_werror_flag" ||
35530 test ! -s conftest.err
35531 } && test -s conftest.$ac_objext; then
35532 { echo "$as_me:$LINENO: result: yes" >&5
35533 echo "${ECHO_T}yes" >&6; }
35534 cat >>confdefs.h <<\_ACEOF
35535 #define __Point__ 1
35536 _ACEOF
35537
35538
35539 else
35540 echo "$as_me: failed program was:" >&5
35541 sed 's/^/| /' conftest.$ac_ext >&5
35542
35543 { { echo "$as_me:$LINENO: error: no
35544 See \`config.log' for more details." >&5
35545 echo "$as_me: error: no
35546 See \`config.log' for more details." >&2;}
35547 { (exit 1); exit 1; }; }
35548
35549 fi
35550
35551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35552
35553 fi
35554
35555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35556 ac_ext=c
35557 ac_cpp='$CPP $CPPFLAGS'
35558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35561
35562 fi
35563
35564
35565 { echo "$as_me:$LINENO: checking for mode_t" >&5
35566 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35567 if test "${ac_cv_type_mode_t+set}" = set; then
35568 echo $ECHO_N "(cached) $ECHO_C" >&6
35569 else
35570 cat >conftest.$ac_ext <<_ACEOF
35571 /* confdefs.h. */
35572 _ACEOF
35573 cat confdefs.h >>conftest.$ac_ext
35574 cat >>conftest.$ac_ext <<_ACEOF
35575 /* end confdefs.h. */
35576 $ac_includes_default
35577 typedef mode_t ac__type_new_;
35578 int
35579 main ()
35580 {
35581 if ((ac__type_new_ *) 0)
35582 return 0;
35583 if (sizeof (ac__type_new_))
35584 return 0;
35585 ;
35586 return 0;
35587 }
35588 _ACEOF
35589 rm -f conftest.$ac_objext
35590 if { (ac_try="$ac_compile"
35591 case "(($ac_try" in
35592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35593 *) ac_try_echo=$ac_try;;
35594 esac
35595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35596 (eval "$ac_compile") 2>conftest.er1
35597 ac_status=$?
35598 grep -v '^ *+' conftest.er1 >conftest.err
35599 rm -f conftest.er1
35600 cat conftest.err >&5
35601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35602 (exit $ac_status); } && {
35603 test -z "$ac_c_werror_flag" ||
35604 test ! -s conftest.err
35605 } && test -s conftest.$ac_objext; then
35606 ac_cv_type_mode_t=yes
35607 else
35608 echo "$as_me: failed program was:" >&5
35609 sed 's/^/| /' conftest.$ac_ext >&5
35610
35611 ac_cv_type_mode_t=no
35612 fi
35613
35614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35615 fi
35616 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35617 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35618 if test $ac_cv_type_mode_t = yes; then
35619 :
35620 else
35621
35622 cat >>confdefs.h <<_ACEOF
35623 #define mode_t int
35624 _ACEOF
35625
35626 fi
35627
35628 { echo "$as_me:$LINENO: checking for off_t" >&5
35629 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35630 if test "${ac_cv_type_off_t+set}" = set; then
35631 echo $ECHO_N "(cached) $ECHO_C" >&6
35632 else
35633 cat >conftest.$ac_ext <<_ACEOF
35634 /* confdefs.h. */
35635 _ACEOF
35636 cat confdefs.h >>conftest.$ac_ext
35637 cat >>conftest.$ac_ext <<_ACEOF
35638 /* end confdefs.h. */
35639 $ac_includes_default
35640 typedef off_t ac__type_new_;
35641 int
35642 main ()
35643 {
35644 if ((ac__type_new_ *) 0)
35645 return 0;
35646 if (sizeof (ac__type_new_))
35647 return 0;
35648 ;
35649 return 0;
35650 }
35651 _ACEOF
35652 rm -f conftest.$ac_objext
35653 if { (ac_try="$ac_compile"
35654 case "(($ac_try" in
35655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35656 *) ac_try_echo=$ac_try;;
35657 esac
35658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35659 (eval "$ac_compile") 2>conftest.er1
35660 ac_status=$?
35661 grep -v '^ *+' conftest.er1 >conftest.err
35662 rm -f conftest.er1
35663 cat conftest.err >&5
35664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665 (exit $ac_status); } && {
35666 test -z "$ac_c_werror_flag" ||
35667 test ! -s conftest.err
35668 } && test -s conftest.$ac_objext; then
35669 ac_cv_type_off_t=yes
35670 else
35671 echo "$as_me: failed program was:" >&5
35672 sed 's/^/| /' conftest.$ac_ext >&5
35673
35674 ac_cv_type_off_t=no
35675 fi
35676
35677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35678 fi
35679 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35680 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35681 if test $ac_cv_type_off_t = yes; then
35682 :
35683 else
35684
35685 cat >>confdefs.h <<_ACEOF
35686 #define off_t long int
35687 _ACEOF
35688
35689 fi
35690
35691 { echo "$as_me:$LINENO: checking for pid_t" >&5
35692 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35693 if test "${ac_cv_type_pid_t+set}" = set; then
35694 echo $ECHO_N "(cached) $ECHO_C" >&6
35695 else
35696 cat >conftest.$ac_ext <<_ACEOF
35697 /* confdefs.h. */
35698 _ACEOF
35699 cat confdefs.h >>conftest.$ac_ext
35700 cat >>conftest.$ac_ext <<_ACEOF
35701 /* end confdefs.h. */
35702 $ac_includes_default
35703 typedef pid_t ac__type_new_;
35704 int
35705 main ()
35706 {
35707 if ((ac__type_new_ *) 0)
35708 return 0;
35709 if (sizeof (ac__type_new_))
35710 return 0;
35711 ;
35712 return 0;
35713 }
35714 _ACEOF
35715 rm -f conftest.$ac_objext
35716 if { (ac_try="$ac_compile"
35717 case "(($ac_try" in
35718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35719 *) ac_try_echo=$ac_try;;
35720 esac
35721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35722 (eval "$ac_compile") 2>conftest.er1
35723 ac_status=$?
35724 grep -v '^ *+' conftest.er1 >conftest.err
35725 rm -f conftest.er1
35726 cat conftest.err >&5
35727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35728 (exit $ac_status); } && {
35729 test -z "$ac_c_werror_flag" ||
35730 test ! -s conftest.err
35731 } && test -s conftest.$ac_objext; then
35732 ac_cv_type_pid_t=yes
35733 else
35734 echo "$as_me: failed program was:" >&5
35735 sed 's/^/| /' conftest.$ac_ext >&5
35736
35737 ac_cv_type_pid_t=no
35738 fi
35739
35740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35741 fi
35742 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35743 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35744 if test $ac_cv_type_pid_t = yes; then
35745 :
35746 else
35747
35748 cat >>confdefs.h <<_ACEOF
35749 #define pid_t int
35750 _ACEOF
35751
35752 fi
35753
35754 { echo "$as_me:$LINENO: checking for size_t" >&5
35755 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35756 if test "${ac_cv_type_size_t+set}" = set; then
35757 echo $ECHO_N "(cached) $ECHO_C" >&6
35758 else
35759 cat >conftest.$ac_ext <<_ACEOF
35760 /* confdefs.h. */
35761 _ACEOF
35762 cat confdefs.h >>conftest.$ac_ext
35763 cat >>conftest.$ac_ext <<_ACEOF
35764 /* end confdefs.h. */
35765 $ac_includes_default
35766 typedef size_t ac__type_new_;
35767 int
35768 main ()
35769 {
35770 if ((ac__type_new_ *) 0)
35771 return 0;
35772 if (sizeof (ac__type_new_))
35773 return 0;
35774 ;
35775 return 0;
35776 }
35777 _ACEOF
35778 rm -f conftest.$ac_objext
35779 if { (ac_try="$ac_compile"
35780 case "(($ac_try" in
35781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35782 *) ac_try_echo=$ac_try;;
35783 esac
35784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35785 (eval "$ac_compile") 2>conftest.er1
35786 ac_status=$?
35787 grep -v '^ *+' conftest.er1 >conftest.err
35788 rm -f conftest.er1
35789 cat conftest.err >&5
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); } && {
35792 test -z "$ac_c_werror_flag" ||
35793 test ! -s conftest.err
35794 } && test -s conftest.$ac_objext; then
35795 ac_cv_type_size_t=yes
35796 else
35797 echo "$as_me: failed program was:" >&5
35798 sed 's/^/| /' conftest.$ac_ext >&5
35799
35800 ac_cv_type_size_t=no
35801 fi
35802
35803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35804 fi
35805 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35806 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35807 if test $ac_cv_type_size_t = yes; then
35808 :
35809 else
35810
35811 cat >>confdefs.h <<_ACEOF
35812 #define size_t unsigned int
35813 _ACEOF
35814
35815 fi
35816
35817
35818 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35819 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35820 if test "${ac_cv_type_ssize_t+set}" = set; then
35821 echo $ECHO_N "(cached) $ECHO_C" >&6
35822 else
35823 cat >conftest.$ac_ext <<_ACEOF
35824 /* confdefs.h. */
35825 _ACEOF
35826 cat confdefs.h >>conftest.$ac_ext
35827 cat >>conftest.$ac_ext <<_ACEOF
35828 /* end confdefs.h. */
35829 $ac_includes_default
35830 typedef ssize_t ac__type_new_;
35831 int
35832 main ()
35833 {
35834 if ((ac__type_new_ *) 0)
35835 return 0;
35836 if (sizeof (ac__type_new_))
35837 return 0;
35838 ;
35839 return 0;
35840 }
35841 _ACEOF
35842 rm -f conftest.$ac_objext
35843 if { (ac_try="$ac_compile"
35844 case "(($ac_try" in
35845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35846 *) ac_try_echo=$ac_try;;
35847 esac
35848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35849 (eval "$ac_compile") 2>conftest.er1
35850 ac_status=$?
35851 grep -v '^ *+' conftest.er1 >conftest.err
35852 rm -f conftest.er1
35853 cat conftest.err >&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } && {
35856 test -z "$ac_c_werror_flag" ||
35857 test ! -s conftest.err
35858 } && test -s conftest.$ac_objext; then
35859 ac_cv_type_ssize_t=yes
35860 else
35861 echo "$as_me: failed program was:" >&5
35862 sed 's/^/| /' conftest.$ac_ext >&5
35863
35864 ac_cv_type_ssize_t=no
35865 fi
35866
35867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35868 fi
35869 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35870 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35871 if test $ac_cv_type_ssize_t = yes; then
35872
35873 cat >>confdefs.h <<_ACEOF
35874 #define HAVE_SSIZE_T 1
35875 _ACEOF
35876
35877
35878 fi
35879
35880
35881 ac_ext=cpp
35882 ac_cpp='$CXXCPP $CPPFLAGS'
35883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35886 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35887 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35888 if test "${wx_cv_size_t_is_uint+set}" = set; then
35889 echo $ECHO_N "(cached) $ECHO_C" >&6
35890 else
35891
35892 cat >conftest.$ac_ext <<_ACEOF
35893 /* confdefs.h. */
35894 _ACEOF
35895 cat confdefs.h >>conftest.$ac_ext
35896 cat >>conftest.$ac_ext <<_ACEOF
35897 /* end confdefs.h. */
35898 #include <stddef.h>
35899 int
35900 main ()
35901 {
35902
35903 return 0; }
35904
35905 struct Foo { void foo(size_t); void foo(unsigned int); };
35906
35907 int bar() {
35908
35909 ;
35910 return 0;
35911 }
35912 _ACEOF
35913 rm -f conftest.$ac_objext
35914 if { (ac_try="$ac_compile"
35915 case "(($ac_try" in
35916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35917 *) ac_try_echo=$ac_try;;
35918 esac
35919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35920 (eval "$ac_compile") 2>conftest.er1
35921 ac_status=$?
35922 grep -v '^ *+' conftest.er1 >conftest.err
35923 rm -f conftest.er1
35924 cat conftest.err >&5
35925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35926 (exit $ac_status); } && {
35927 test -z "$ac_cxx_werror_flag" ||
35928 test ! -s conftest.err
35929 } && test -s conftest.$ac_objext; then
35930 wx_cv_size_t_is_uint=no
35931 else
35932 echo "$as_me: failed program was:" >&5
35933 sed 's/^/| /' conftest.$ac_ext >&5
35934
35935 wx_cv_size_t_is_uint=yes
35936
35937 fi
35938
35939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35940
35941
35942 fi
35943 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35944 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35945
35946 if test "$wx_cv_size_t_is_uint" = "yes"; then
35947 cat >>confdefs.h <<\_ACEOF
35948 #define wxSIZE_T_IS_UINT 1
35949 _ACEOF
35950
35951 else
35952 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35953 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35954 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35955 echo $ECHO_N "(cached) $ECHO_C" >&6
35956 else
35957 cat >conftest.$ac_ext <<_ACEOF
35958 /* confdefs.h. */
35959 _ACEOF
35960 cat confdefs.h >>conftest.$ac_ext
35961 cat >>conftest.$ac_ext <<_ACEOF
35962 /* end confdefs.h. */
35963 #include <stddef.h>
35964 int
35965 main ()
35966 {
35967
35968 return 0; }
35969
35970 struct Foo { void foo(size_t); void foo(unsigned long); };
35971
35972 int bar() {
35973
35974 ;
35975 return 0;
35976 }
35977 _ACEOF
35978 rm -f conftest.$ac_objext
35979 if { (ac_try="$ac_compile"
35980 case "(($ac_try" in
35981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35982 *) ac_try_echo=$ac_try;;
35983 esac
35984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35985 (eval "$ac_compile") 2>conftest.er1
35986 ac_status=$?
35987 grep -v '^ *+' conftest.er1 >conftest.err
35988 rm -f conftest.er1
35989 cat conftest.err >&5
35990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35991 (exit $ac_status); } && {
35992 test -z "$ac_cxx_werror_flag" ||
35993 test ! -s conftest.err
35994 } && test -s conftest.$ac_objext; then
35995 wx_cv_size_t_is_ulong=no
35996 else
35997 echo "$as_me: failed program was:" >&5
35998 sed 's/^/| /' conftest.$ac_ext >&5
35999
36000 wx_cv_size_t_is_ulong=yes
36001
36002 fi
36003
36004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36005
36006 fi
36007 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36008 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36009
36010 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36011 cat >>confdefs.h <<\_ACEOF
36012 #define wxSIZE_T_IS_ULONG 1
36013 _ACEOF
36014
36015 fi
36016 fi
36017
36018 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36019 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36020 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36021 echo $ECHO_N "(cached) $ECHO_C" >&6
36022 else
36023 cat >conftest.$ac_ext <<_ACEOF
36024 /* confdefs.h. */
36025 _ACEOF
36026 cat confdefs.h >>conftest.$ac_ext
36027 cat >>conftest.$ac_ext <<_ACEOF
36028 /* end confdefs.h. */
36029 #include <wchar.h>
36030 int
36031 main ()
36032 {
36033
36034 return 0; }
36035
36036 struct Foo { void foo(wchar_t);
36037 void foo(unsigned short);
36038 void foo(unsigned int);
36039 void foo(unsigned long); };
36040
36041 int bar() {
36042
36043 ;
36044 return 0;
36045 }
36046 _ACEOF
36047 rm -f conftest.$ac_objext
36048 if { (ac_try="$ac_compile"
36049 case "(($ac_try" in
36050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36051 *) ac_try_echo=$ac_try;;
36052 esac
36053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36054 (eval "$ac_compile") 2>conftest.er1
36055 ac_status=$?
36056 grep -v '^ *+' conftest.er1 >conftest.err
36057 rm -f conftest.er1
36058 cat conftest.err >&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } && {
36061 test -z "$ac_cxx_werror_flag" ||
36062 test ! -s conftest.err
36063 } && test -s conftest.$ac_objext; then
36064 wx_cv_wchar_t_is_separate_type=yes
36065 else
36066 echo "$as_me: failed program was:" >&5
36067 sed 's/^/| /' conftest.$ac_ext >&5
36068
36069 wx_cv_wchar_t_is_separate_type=no
36070
36071 fi
36072
36073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36074
36075 fi
36076 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36077 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36078
36079 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36080 cat >>confdefs.h <<\_ACEOF
36081 #define wxWCHAR_T_IS_REAL_TYPE 1
36082 _ACEOF
36083
36084 else
36085 cat >>confdefs.h <<\_ACEOF
36086 #define wxWCHAR_T_IS_REAL_TYPE 0
36087 _ACEOF
36088
36089 fi
36090
36091 ac_ext=c
36092 ac_cpp='$CPP $CPPFLAGS'
36093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36096
36097
36098 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36099 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36100 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36101 echo $ECHO_N "(cached) $ECHO_C" >&6
36102 else
36103
36104 cat >conftest.$ac_ext <<_ACEOF
36105 /* confdefs.h. */
36106 _ACEOF
36107 cat confdefs.h >>conftest.$ac_ext
36108 cat >>conftest.$ac_ext <<_ACEOF
36109 /* end confdefs.h. */
36110 #include <pwd.h>
36111 int
36112 main ()
36113 {
36114
36115 char *p;
36116 struct passwd *pw;
36117 p = pw->pw_gecos;
36118
36119 ;
36120 return 0;
36121 }
36122 _ACEOF
36123 rm -f conftest.$ac_objext
36124 if { (ac_try="$ac_compile"
36125 case "(($ac_try" in
36126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36127 *) ac_try_echo=$ac_try;;
36128 esac
36129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36130 (eval "$ac_compile") 2>conftest.er1
36131 ac_status=$?
36132 grep -v '^ *+' conftest.er1 >conftest.err
36133 rm -f conftest.er1
36134 cat conftest.err >&5
36135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36136 (exit $ac_status); } && {
36137 test -z "$ac_c_werror_flag" ||
36138 test ! -s conftest.err
36139 } && test -s conftest.$ac_objext; then
36140
36141 wx_cv_struct_pw_gecos=yes
36142
36143 else
36144 echo "$as_me: failed program was:" >&5
36145 sed 's/^/| /' conftest.$ac_ext >&5
36146
36147
36148 wx_cv_struct_pw_gecos=no
36149
36150
36151 fi
36152
36153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36154
36155
36156 fi
36157 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36158 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36159
36160 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36161 cat >>confdefs.h <<\_ACEOF
36162 #define HAVE_PW_GECOS 1
36163 _ACEOF
36164
36165 fi
36166
36167
36168 WCSLEN_FOUND=0
36169 WCHAR_LINK=
36170
36171 for ac_func in wcslen
36172 do
36173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36174 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36176 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36177 echo $ECHO_N "(cached) $ECHO_C" >&6
36178 else
36179 cat >conftest.$ac_ext <<_ACEOF
36180 /* confdefs.h. */
36181 _ACEOF
36182 cat confdefs.h >>conftest.$ac_ext
36183 cat >>conftest.$ac_ext <<_ACEOF
36184 /* end confdefs.h. */
36185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36187 #define $ac_func innocuous_$ac_func
36188
36189 /* System header to define __stub macros and hopefully few prototypes,
36190 which can conflict with char $ac_func (); below.
36191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36192 <limits.h> exists even on freestanding compilers. */
36193
36194 #ifdef __STDC__
36195 # include <limits.h>
36196 #else
36197 # include <assert.h>
36198 #endif
36199
36200 #undef $ac_func
36201
36202 /* Override any GCC internal prototype to avoid an error.
36203 Use char because int might match the return type of a GCC
36204 builtin and then its argument prototype would still apply. */
36205 #ifdef __cplusplus
36206 extern "C"
36207 #endif
36208 char $ac_func ();
36209 /* The GNU C library defines this for functions which it implements
36210 to always fail with ENOSYS. Some functions are actually named
36211 something starting with __ and the normal name is an alias. */
36212 #if defined __stub_$ac_func || defined __stub___$ac_func
36213 choke me
36214 #endif
36215
36216 int
36217 main ()
36218 {
36219 return $ac_func ();
36220 ;
36221 return 0;
36222 }
36223 _ACEOF
36224 rm -f conftest.$ac_objext conftest$ac_exeext
36225 if { (ac_try="$ac_link"
36226 case "(($ac_try" in
36227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36228 *) ac_try_echo=$ac_try;;
36229 esac
36230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36231 (eval "$ac_link") 2>conftest.er1
36232 ac_status=$?
36233 grep -v '^ *+' conftest.er1 >conftest.err
36234 rm -f conftest.er1
36235 cat conftest.err >&5
36236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36237 (exit $ac_status); } && {
36238 test -z "$ac_c_werror_flag" ||
36239 test ! -s conftest.err
36240 } && test -s conftest$ac_exeext &&
36241 $as_test_x conftest$ac_exeext; then
36242 eval "$as_ac_var=yes"
36243 else
36244 echo "$as_me: failed program was:" >&5
36245 sed 's/^/| /' conftest.$ac_ext >&5
36246
36247 eval "$as_ac_var=no"
36248 fi
36249
36250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36251 conftest$ac_exeext conftest.$ac_ext
36252 fi
36253 ac_res=`eval echo '${'$as_ac_var'}'`
36254 { echo "$as_me:$LINENO: result: $ac_res" >&5
36255 echo "${ECHO_T}$ac_res" >&6; }
36256 if test `eval echo '${'$as_ac_var'}'` = yes; then
36257 cat >>confdefs.h <<_ACEOF
36258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36259 _ACEOF
36260 WCSLEN_FOUND=1
36261 fi
36262 done
36263
36264
36265 if test "$WCSLEN_FOUND" = 0; then
36266 if test "$TOOLKIT" = "MSW"; then
36267 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36268 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36269 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36270 echo $ECHO_N "(cached) $ECHO_C" >&6
36271 else
36272 ac_check_lib_save_LIBS=$LIBS
36273 LIBS="-lmsvcrt $LIBS"
36274 cat >conftest.$ac_ext <<_ACEOF
36275 /* confdefs.h. */
36276 _ACEOF
36277 cat confdefs.h >>conftest.$ac_ext
36278 cat >>conftest.$ac_ext <<_ACEOF
36279 /* end confdefs.h. */
36280
36281 /* Override any GCC internal prototype to avoid an error.
36282 Use char because int might match the return type of a GCC
36283 builtin and then its argument prototype would still apply. */
36284 #ifdef __cplusplus
36285 extern "C"
36286 #endif
36287 char wcslen ();
36288 int
36289 main ()
36290 {
36291 return wcslen ();
36292 ;
36293 return 0;
36294 }
36295 _ACEOF
36296 rm -f conftest.$ac_objext conftest$ac_exeext
36297 if { (ac_try="$ac_link"
36298 case "(($ac_try" in
36299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36300 *) ac_try_echo=$ac_try;;
36301 esac
36302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36303 (eval "$ac_link") 2>conftest.er1
36304 ac_status=$?
36305 grep -v '^ *+' conftest.er1 >conftest.err
36306 rm -f conftest.er1
36307 cat conftest.err >&5
36308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36309 (exit $ac_status); } && {
36310 test -z "$ac_c_werror_flag" ||
36311 test ! -s conftest.err
36312 } && test -s conftest$ac_exeext &&
36313 $as_test_x conftest$ac_exeext; then
36314 ac_cv_lib_msvcrt_wcslen=yes
36315 else
36316 echo "$as_me: failed program was:" >&5
36317 sed 's/^/| /' conftest.$ac_ext >&5
36318
36319 ac_cv_lib_msvcrt_wcslen=no
36320 fi
36321
36322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36323 conftest$ac_exeext conftest.$ac_ext
36324 LIBS=$ac_check_lib_save_LIBS
36325 fi
36326 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36327 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36328 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36329 WCHAR_OK=1
36330 fi
36331
36332 else
36333 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36334 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36335 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36336 echo $ECHO_N "(cached) $ECHO_C" >&6
36337 else
36338 ac_check_lib_save_LIBS=$LIBS
36339 LIBS="-lw $LIBS"
36340 cat >conftest.$ac_ext <<_ACEOF
36341 /* confdefs.h. */
36342 _ACEOF
36343 cat confdefs.h >>conftest.$ac_ext
36344 cat >>conftest.$ac_ext <<_ACEOF
36345 /* end confdefs.h. */
36346
36347 /* Override any GCC internal prototype to avoid an error.
36348 Use char because int might match the return type of a GCC
36349 builtin and then its argument prototype would still apply. */
36350 #ifdef __cplusplus
36351 extern "C"
36352 #endif
36353 char wcslen ();
36354 int
36355 main ()
36356 {
36357 return wcslen ();
36358 ;
36359 return 0;
36360 }
36361 _ACEOF
36362 rm -f conftest.$ac_objext conftest$ac_exeext
36363 if { (ac_try="$ac_link"
36364 case "(($ac_try" in
36365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36366 *) ac_try_echo=$ac_try;;
36367 esac
36368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36369 (eval "$ac_link") 2>conftest.er1
36370 ac_status=$?
36371 grep -v '^ *+' conftest.er1 >conftest.err
36372 rm -f conftest.er1
36373 cat conftest.err >&5
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); } && {
36376 test -z "$ac_c_werror_flag" ||
36377 test ! -s conftest.err
36378 } && test -s conftest$ac_exeext &&
36379 $as_test_x conftest$ac_exeext; then
36380 ac_cv_lib_w_wcslen=yes
36381 else
36382 echo "$as_me: failed program was:" >&5
36383 sed 's/^/| /' conftest.$ac_ext >&5
36384
36385 ac_cv_lib_w_wcslen=no
36386 fi
36387
36388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36389 conftest$ac_exeext conftest.$ac_ext
36390 LIBS=$ac_check_lib_save_LIBS
36391 fi
36392 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36393 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36394 if test $ac_cv_lib_w_wcslen = yes; then
36395
36396 WCHAR_LINK=" -lw"
36397 WCSLEN_FOUND=1
36398
36399 fi
36400
36401 fi
36402 fi
36403
36404 if test "$WCSLEN_FOUND" = 1; then
36405 cat >>confdefs.h <<\_ACEOF
36406 #define HAVE_WCSLEN 1
36407 _ACEOF
36408
36409 fi
36410
36411
36412
36413
36414
36415
36416
36417 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36418 do
36419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36420 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36422 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36423 echo $ECHO_N "(cached) $ECHO_C" >&6
36424 else
36425 cat >conftest.$ac_ext <<_ACEOF
36426 /* confdefs.h. */
36427 _ACEOF
36428 cat confdefs.h >>conftest.$ac_ext
36429 cat >>conftest.$ac_ext <<_ACEOF
36430 /* end confdefs.h. */
36431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36433 #define $ac_func innocuous_$ac_func
36434
36435 /* System header to define __stub macros and hopefully few prototypes,
36436 which can conflict with char $ac_func (); below.
36437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36438 <limits.h> exists even on freestanding compilers. */
36439
36440 #ifdef __STDC__
36441 # include <limits.h>
36442 #else
36443 # include <assert.h>
36444 #endif
36445
36446 #undef $ac_func
36447
36448 /* Override any GCC internal prototype to avoid an error.
36449 Use char because int might match the return type of a GCC
36450 builtin and then its argument prototype would still apply. */
36451 #ifdef __cplusplus
36452 extern "C"
36453 #endif
36454 char $ac_func ();
36455 /* The GNU C library defines this for functions which it implements
36456 to always fail with ENOSYS. Some functions are actually named
36457 something starting with __ and the normal name is an alias. */
36458 #if defined __stub_$ac_func || defined __stub___$ac_func
36459 choke me
36460 #endif
36461
36462 int
36463 main ()
36464 {
36465 return $ac_func ();
36466 ;
36467 return 0;
36468 }
36469 _ACEOF
36470 rm -f conftest.$ac_objext conftest$ac_exeext
36471 if { (ac_try="$ac_link"
36472 case "(($ac_try" in
36473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36474 *) ac_try_echo=$ac_try;;
36475 esac
36476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36477 (eval "$ac_link") 2>conftest.er1
36478 ac_status=$?
36479 grep -v '^ *+' conftest.er1 >conftest.err
36480 rm -f conftest.er1
36481 cat conftest.err >&5
36482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36483 (exit $ac_status); } && {
36484 test -z "$ac_c_werror_flag" ||
36485 test ! -s conftest.err
36486 } && test -s conftest$ac_exeext &&
36487 $as_test_x conftest$ac_exeext; then
36488 eval "$as_ac_var=yes"
36489 else
36490 echo "$as_me: failed program was:" >&5
36491 sed 's/^/| /' conftest.$ac_ext >&5
36492
36493 eval "$as_ac_var=no"
36494 fi
36495
36496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36497 conftest$ac_exeext conftest.$ac_ext
36498 fi
36499 ac_res=`eval echo '${'$as_ac_var'}'`
36500 { echo "$as_me:$LINENO: result: $ac_res" >&5
36501 echo "${ECHO_T}$ac_res" >&6; }
36502 if test `eval echo '${'$as_ac_var'}'` = yes; then
36503 cat >>confdefs.h <<_ACEOF
36504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36505 _ACEOF
36506
36507 fi
36508 done
36509
36510
36511 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36512 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36513 fi
36514
36515 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36516 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36517 if test "${ac_cv_type_mbstate_t+set}" = set; then
36518 echo $ECHO_N "(cached) $ECHO_C" >&6
36519 else
36520 cat >conftest.$ac_ext <<_ACEOF
36521 /* confdefs.h. */
36522 _ACEOF
36523 cat confdefs.h >>conftest.$ac_ext
36524 cat >>conftest.$ac_ext <<_ACEOF
36525 /* end confdefs.h. */
36526 #include <wchar.h>
36527
36528 typedef mbstate_t ac__type_new_;
36529 int
36530 main ()
36531 {
36532 if ((ac__type_new_ *) 0)
36533 return 0;
36534 if (sizeof (ac__type_new_))
36535 return 0;
36536 ;
36537 return 0;
36538 }
36539 _ACEOF
36540 rm -f conftest.$ac_objext
36541 if { (ac_try="$ac_compile"
36542 case "(($ac_try" in
36543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36544 *) ac_try_echo=$ac_try;;
36545 esac
36546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36547 (eval "$ac_compile") 2>conftest.er1
36548 ac_status=$?
36549 grep -v '^ *+' conftest.er1 >conftest.err
36550 rm -f conftest.er1
36551 cat conftest.err >&5
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); } && {
36554 test -z "$ac_c_werror_flag" ||
36555 test ! -s conftest.err
36556 } && test -s conftest.$ac_objext; then
36557 ac_cv_type_mbstate_t=yes
36558 else
36559 echo "$as_me: failed program was:" >&5
36560 sed 's/^/| /' conftest.$ac_ext >&5
36561
36562 ac_cv_type_mbstate_t=no
36563 fi
36564
36565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36566 fi
36567 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36568 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36569 if test $ac_cv_type_mbstate_t = yes; then
36570
36571 cat >>confdefs.h <<_ACEOF
36572 #define HAVE_MBSTATE_T 1
36573 _ACEOF
36574
36575
36576 for ac_func in wcsrtombs
36577 do
36578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36579 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36581 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36582 echo $ECHO_N "(cached) $ECHO_C" >&6
36583 else
36584 cat >conftest.$ac_ext <<_ACEOF
36585 /* confdefs.h. */
36586 _ACEOF
36587 cat confdefs.h >>conftest.$ac_ext
36588 cat >>conftest.$ac_ext <<_ACEOF
36589 /* end confdefs.h. */
36590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36592 #define $ac_func innocuous_$ac_func
36593
36594 /* System header to define __stub macros and hopefully few prototypes,
36595 which can conflict with char $ac_func (); below.
36596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36597 <limits.h> exists even on freestanding compilers. */
36598
36599 #ifdef __STDC__
36600 # include <limits.h>
36601 #else
36602 # include <assert.h>
36603 #endif
36604
36605 #undef $ac_func
36606
36607 /* Override any GCC internal prototype to avoid an error.
36608 Use char because int might match the return type of a GCC
36609 builtin and then its argument prototype would still apply. */
36610 #ifdef __cplusplus
36611 extern "C"
36612 #endif
36613 char $ac_func ();
36614 /* The GNU C library defines this for functions which it implements
36615 to always fail with ENOSYS. Some functions are actually named
36616 something starting with __ and the normal name is an alias. */
36617 #if defined __stub_$ac_func || defined __stub___$ac_func
36618 choke me
36619 #endif
36620
36621 int
36622 main ()
36623 {
36624 return $ac_func ();
36625 ;
36626 return 0;
36627 }
36628 _ACEOF
36629 rm -f conftest.$ac_objext conftest$ac_exeext
36630 if { (ac_try="$ac_link"
36631 case "(($ac_try" in
36632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36633 *) ac_try_echo=$ac_try;;
36634 esac
36635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36636 (eval "$ac_link") 2>conftest.er1
36637 ac_status=$?
36638 grep -v '^ *+' conftest.er1 >conftest.err
36639 rm -f conftest.er1
36640 cat conftest.err >&5
36641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36642 (exit $ac_status); } && {
36643 test -z "$ac_c_werror_flag" ||
36644 test ! -s conftest.err
36645 } && test -s conftest$ac_exeext &&
36646 $as_test_x conftest$ac_exeext; then
36647 eval "$as_ac_var=yes"
36648 else
36649 echo "$as_me: failed program was:" >&5
36650 sed 's/^/| /' conftest.$ac_ext >&5
36651
36652 eval "$as_ac_var=no"
36653 fi
36654
36655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36656 conftest$ac_exeext conftest.$ac_ext
36657 fi
36658 ac_res=`eval echo '${'$as_ac_var'}'`
36659 { echo "$as_me:$LINENO: result: $ac_res" >&5
36660 echo "${ECHO_T}$ac_res" >&6; }
36661 if test `eval echo '${'$as_ac_var'}'` = yes; then
36662 cat >>confdefs.h <<_ACEOF
36663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36664 _ACEOF
36665
36666 fi
36667 done
36668
36669 fi
36670
36671
36672
36673
36674
36675 for ac_func in snprintf vsnprintf vsscanf
36676 do
36677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36678 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36681 echo $ECHO_N "(cached) $ECHO_C" >&6
36682 else
36683 cat >conftest.$ac_ext <<_ACEOF
36684 /* confdefs.h. */
36685 _ACEOF
36686 cat confdefs.h >>conftest.$ac_ext
36687 cat >>conftest.$ac_ext <<_ACEOF
36688 /* end confdefs.h. */
36689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36691 #define $ac_func innocuous_$ac_func
36692
36693 /* System header to define __stub macros and hopefully few prototypes,
36694 which can conflict with char $ac_func (); below.
36695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36696 <limits.h> exists even on freestanding compilers. */
36697
36698 #ifdef __STDC__
36699 # include <limits.h>
36700 #else
36701 # include <assert.h>
36702 #endif
36703
36704 #undef $ac_func
36705
36706 /* Override any GCC internal prototype to avoid an error.
36707 Use char because int might match the return type of a GCC
36708 builtin and then its argument prototype would still apply. */
36709 #ifdef __cplusplus
36710 extern "C"
36711 #endif
36712 char $ac_func ();
36713 /* The GNU C library defines this for functions which it implements
36714 to always fail with ENOSYS. Some functions are actually named
36715 something starting with __ and the normal name is an alias. */
36716 #if defined __stub_$ac_func || defined __stub___$ac_func
36717 choke me
36718 #endif
36719
36720 int
36721 main ()
36722 {
36723 return $ac_func ();
36724 ;
36725 return 0;
36726 }
36727 _ACEOF
36728 rm -f conftest.$ac_objext conftest$ac_exeext
36729 if { (ac_try="$ac_link"
36730 case "(($ac_try" in
36731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36732 *) ac_try_echo=$ac_try;;
36733 esac
36734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36735 (eval "$ac_link") 2>conftest.er1
36736 ac_status=$?
36737 grep -v '^ *+' conftest.er1 >conftest.err
36738 rm -f conftest.er1
36739 cat conftest.err >&5
36740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741 (exit $ac_status); } && {
36742 test -z "$ac_c_werror_flag" ||
36743 test ! -s conftest.err
36744 } && test -s conftest$ac_exeext &&
36745 $as_test_x conftest$ac_exeext; then
36746 eval "$as_ac_var=yes"
36747 else
36748 echo "$as_me: failed program was:" >&5
36749 sed 's/^/| /' conftest.$ac_ext >&5
36750
36751 eval "$as_ac_var=no"
36752 fi
36753
36754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36755 conftest$ac_exeext conftest.$ac_ext
36756 fi
36757 ac_res=`eval echo '${'$as_ac_var'}'`
36758 { echo "$as_me:$LINENO: result: $ac_res" >&5
36759 echo "${ECHO_T}$ac_res" >&6; }
36760 if test `eval echo '${'$as_ac_var'}'` = yes; then
36761 cat >>confdefs.h <<_ACEOF
36762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36763 _ACEOF
36764
36765 fi
36766 done
36767
36768
36769 ac_ext=cpp
36770 ac_cpp='$CXXCPP $CPPFLAGS'
36771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36774
36775 if test "$ac_cv_func_vsnprintf" = "yes"; then
36776 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36777 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36778 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36779 echo $ECHO_N "(cached) $ECHO_C" >&6
36780 else
36781
36782 cat >conftest.$ac_ext <<_ACEOF
36783 /* confdefs.h. */
36784 _ACEOF
36785 cat confdefs.h >>conftest.$ac_ext
36786 cat >>conftest.$ac_ext <<_ACEOF
36787 /* end confdefs.h. */
36788
36789 #include <stdio.h>
36790 #include <stdarg.h>
36791 #ifdef __MSL__
36792 #if __MSL__ >= 0x6000
36793 namespace std {}
36794 using namespace std;
36795 #endif
36796 #endif
36797
36798 int
36799 main ()
36800 {
36801
36802 char *buf;
36803 va_list ap;
36804 vsnprintf(buf, 10u, "%s", ap);
36805
36806 ;
36807 return 0;
36808 }
36809 _ACEOF
36810 rm -f conftest.$ac_objext
36811 if { (ac_try="$ac_compile"
36812 case "(($ac_try" in
36813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36814 *) ac_try_echo=$ac_try;;
36815 esac
36816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36817 (eval "$ac_compile") 2>conftest.er1
36818 ac_status=$?
36819 grep -v '^ *+' conftest.er1 >conftest.err
36820 rm -f conftest.er1
36821 cat conftest.err >&5
36822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36823 (exit $ac_status); } && {
36824 test -z "$ac_cxx_werror_flag" ||
36825 test ! -s conftest.err
36826 } && test -s conftest.$ac_objext; then
36827 wx_cv_func_vsnprintf_decl=yes
36828 else
36829 echo "$as_me: failed program was:" >&5
36830 sed 's/^/| /' conftest.$ac_ext >&5
36831
36832 wx_cv_func_vsnprintf_decl=no
36833
36834 fi
36835
36836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36837
36838
36839 fi
36840 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36841 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36842
36843 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36844 cat >>confdefs.h <<\_ACEOF
36845 #define HAVE_VSNPRINTF_DECL 1
36846 _ACEOF
36847
36848
36849 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36850 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36851 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36852 echo $ECHO_N "(cached) $ECHO_C" >&6
36853 else
36854
36855 cat >conftest.$ac_ext <<_ACEOF
36856 /* confdefs.h. */
36857 _ACEOF
36858 cat confdefs.h >>conftest.$ac_ext
36859 cat >>conftest.$ac_ext <<_ACEOF
36860 /* end confdefs.h. */
36861
36862 #include <stdio.h>
36863 #include <stdarg.h>
36864 #ifdef __MSL__
36865 #if __MSL__ >= 0x6000
36866 namespace std {}
36867 using namespace std;
36868 #endif
36869 #endif
36870
36871 int
36872 main ()
36873 {
36874
36875 char *buf;
36876 va_list ap;
36877 const char *fmt = "%s";
36878 vsnprintf(buf, 10u, fmt, ap);
36879
36880 ;
36881 return 0;
36882 }
36883 _ACEOF
36884 rm -f conftest.$ac_objext
36885 if { (ac_try="$ac_compile"
36886 case "(($ac_try" in
36887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36888 *) ac_try_echo=$ac_try;;
36889 esac
36890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36891 (eval "$ac_compile") 2>conftest.er1
36892 ac_status=$?
36893 grep -v '^ *+' conftest.er1 >conftest.err
36894 rm -f conftest.er1
36895 cat conftest.err >&5
36896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36897 (exit $ac_status); } && {
36898 test -z "$ac_cxx_werror_flag" ||
36899 test ! -s conftest.err
36900 } && test -s conftest.$ac_objext; then
36901 wx_cv_func_broken_vsnprintf_decl=no
36902 else
36903 echo "$as_me: failed program was:" >&5
36904 sed 's/^/| /' conftest.$ac_ext >&5
36905
36906 wx_cv_func_broken_vsnprintf_decl=yes
36907
36908 fi
36909
36910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36911
36912
36913 fi
36914 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36915 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36916
36917 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36918 cat >>confdefs.h <<\_ACEOF
36919 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36920 _ACEOF
36921
36922 fi
36923 fi
36924 fi
36925
36926 if test "$ac_cv_func_snprintf" = "yes"; then
36927 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36928 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36929 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36930 echo $ECHO_N "(cached) $ECHO_C" >&6
36931 else
36932
36933 cat >conftest.$ac_ext <<_ACEOF
36934 /* confdefs.h. */
36935 _ACEOF
36936 cat confdefs.h >>conftest.$ac_ext
36937 cat >>conftest.$ac_ext <<_ACEOF
36938 /* end confdefs.h. */
36939
36940 #include <stdio.h>
36941 #include <stdarg.h>
36942 #ifdef __MSL__
36943 #if __MSL__ >= 0x6000
36944 namespace std {}
36945 using namespace std;
36946 #endif
36947 #endif
36948
36949 int
36950 main ()
36951 {
36952
36953 char *buf;
36954 snprintf(buf, 10u, "%s", "wx");
36955
36956 ;
36957 return 0;
36958 }
36959 _ACEOF
36960 rm -f conftest.$ac_objext
36961 if { (ac_try="$ac_compile"
36962 case "(($ac_try" in
36963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36964 *) ac_try_echo=$ac_try;;
36965 esac
36966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36967 (eval "$ac_compile") 2>conftest.er1
36968 ac_status=$?
36969 grep -v '^ *+' conftest.er1 >conftest.err
36970 rm -f conftest.er1
36971 cat conftest.err >&5
36972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36973 (exit $ac_status); } && {
36974 test -z "$ac_cxx_werror_flag" ||
36975 test ! -s conftest.err
36976 } && test -s conftest.$ac_objext; then
36977 wx_cv_func_snprintf_decl=yes
36978 else
36979 echo "$as_me: failed program was:" >&5
36980 sed 's/^/| /' conftest.$ac_ext >&5
36981
36982 wx_cv_func_snprintf_decl=no
36983
36984 fi
36985
36986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36987
36988
36989 fi
36990 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36991 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36992
36993 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36994 cat >>confdefs.h <<\_ACEOF
36995 #define HAVE_SNPRINTF_DECL 1
36996 _ACEOF
36997
36998 fi
36999
37000 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37001
37002 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37003 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37004 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37005 echo $ECHO_N "(cached) $ECHO_C" >&6
37006 else
37007
37008 if test "$cross_compiling" = yes; then
37009
37010 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37011 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37012 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37013 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37014 wx_cv_func_snprintf_pos_params=no
37015
37016
37017 else
37018 cat >conftest.$ac_ext <<_ACEOF
37019 /* confdefs.h. */
37020 _ACEOF
37021 cat confdefs.h >>conftest.$ac_ext
37022 cat >>conftest.$ac_ext <<_ACEOF
37023 /* end confdefs.h. */
37024
37025 #include <stdio.h>
37026
37027 int main (void)
37028 {
37029 char buffer[128];
37030 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37031 if (strcmp ("2 3 1", buffer) == 0)
37032 exit (0);
37033 exit (1);
37034 }
37035
37036 _ACEOF
37037 rm -f conftest$ac_exeext
37038 if { (ac_try="$ac_link"
37039 case "(($ac_try" in
37040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37041 *) ac_try_echo=$ac_try;;
37042 esac
37043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37044 (eval "$ac_link") 2>&5
37045 ac_status=$?
37046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37047 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37048 { (case "(($ac_try" in
37049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37050 *) ac_try_echo=$ac_try;;
37051 esac
37052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37053 (eval "$ac_try") 2>&5
37054 ac_status=$?
37055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37056 (exit $ac_status); }; }; then
37057 wx_cv_func_snprintf_pos_params=no
37058 else
37059 echo "$as_me: program exited with status $ac_status" >&5
37060 echo "$as_me: failed program was:" >&5
37061 sed 's/^/| /' conftest.$ac_ext >&5
37062
37063 ( exit $ac_status )
37064 wx_cv_func_snprintf_pos_params=yes
37065 fi
37066 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37067 fi
37068
37069
37070
37071
37072 fi
37073 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37074 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37075
37076 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37077 cat >>confdefs.h <<\_ACEOF
37078 #define HAVE_UNIX98_PRINTF 1
37079 _ACEOF
37080
37081 fi
37082 fi
37083 fi
37084
37085 if test "$ac_cv_func_vsscanf" = "yes"; then
37086 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37087 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37088 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37089 echo $ECHO_N "(cached) $ECHO_C" >&6
37090 else
37091
37092 cat >conftest.$ac_ext <<_ACEOF
37093 /* confdefs.h. */
37094 _ACEOF
37095 cat confdefs.h >>conftest.$ac_ext
37096 cat >>conftest.$ac_ext <<_ACEOF
37097 /* end confdefs.h. */
37098
37099 #include <stdio.h>
37100 #include <stdarg.h>
37101 #ifdef __MSL__
37102 #if __MSL__ >= 0x6000
37103 namespace std {}
37104 using namespace std;
37105 #endif
37106 #endif
37107
37108 int
37109 main ()
37110 {
37111
37112 char *buf;
37113 va_list args;
37114 vsscanf(buf, "%s", args);
37115
37116 ;
37117 return 0;
37118 }
37119 _ACEOF
37120 rm -f conftest.$ac_objext
37121 if { (ac_try="$ac_compile"
37122 case "(($ac_try" in
37123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37124 *) ac_try_echo=$ac_try;;
37125 esac
37126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37127 (eval "$ac_compile") 2>conftest.er1
37128 ac_status=$?
37129 grep -v '^ *+' conftest.er1 >conftest.err
37130 rm -f conftest.er1
37131 cat conftest.err >&5
37132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37133 (exit $ac_status); } && {
37134 test -z "$ac_cxx_werror_flag" ||
37135 test ! -s conftest.err
37136 } && test -s conftest.$ac_objext; then
37137 wx_cv_func_vsscanf_decl=yes
37138 else
37139 echo "$as_me: failed program was:" >&5
37140 sed 's/^/| /' conftest.$ac_ext >&5
37141
37142 wx_cv_func_vsscanf_decl=no
37143
37144 fi
37145
37146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37147
37148
37149 fi
37150 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37151 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37152
37153 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37154 cat >>confdefs.h <<\_ACEOF
37155 #define HAVE_VSSCANF_DECL 1
37156 _ACEOF
37157
37158 fi
37159 fi
37160 ac_ext=c
37161 ac_cpp='$CPP $CPPFLAGS'
37162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37165
37166
37167 if test "$wxUSE_UNICODE" = yes; then
37168
37169 wchar_headers="#include <stdio.h>
37170 #include <wchar.h>"
37171 case "${host}" in
37172 *-*-solaris2* )
37173
37174 for ac_header in widec.h
37175 do
37176 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37177 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37179 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37180 echo $ECHO_N "(cached) $ECHO_C" >&6
37181 else
37182 cat >conftest.$ac_ext <<_ACEOF
37183 /* confdefs.h. */
37184 _ACEOF
37185 cat confdefs.h >>conftest.$ac_ext
37186 cat >>conftest.$ac_ext <<_ACEOF
37187 /* end confdefs.h. */
37188 $ac_includes_default
37189
37190 #include <$ac_header>
37191 _ACEOF
37192 rm -f conftest.$ac_objext
37193 if { (ac_try="$ac_compile"
37194 case "(($ac_try" in
37195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37196 *) ac_try_echo=$ac_try;;
37197 esac
37198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37199 (eval "$ac_compile") 2>conftest.er1
37200 ac_status=$?
37201 grep -v '^ *+' conftest.er1 >conftest.err
37202 rm -f conftest.er1
37203 cat conftest.err >&5
37204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37205 (exit $ac_status); } && {
37206 test -z "$ac_c_werror_flag" ||
37207 test ! -s conftest.err
37208 } && test -s conftest.$ac_objext; then
37209 eval "$as_ac_Header=yes"
37210 else
37211 echo "$as_me: failed program was:" >&5
37212 sed 's/^/| /' conftest.$ac_ext >&5
37213
37214 eval "$as_ac_Header=no"
37215 fi
37216
37217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37218 fi
37219 ac_res=`eval echo '${'$as_ac_Header'}'`
37220 { echo "$as_me:$LINENO: result: $ac_res" >&5
37221 echo "${ECHO_T}$ac_res" >&6; }
37222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37223 cat >>confdefs.h <<_ACEOF
37224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37225 _ACEOF
37226
37227 fi
37228
37229 done
37230
37231 if test "$ac_cv_header_widec_h" = "yes"; then
37232 wchar_headers="$wchar_headers
37233 #include <widec.h>"
37234 fi
37235 esac
37236
37237
37238 for wx_func in putws fputws wprintf vswprintf vswscanf
37239 do
37240 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37241 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37242 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37243 echo $ECHO_N "(cached) $ECHO_C" >&6
37244 else
37245
37246 cat >conftest.$ac_ext <<_ACEOF
37247
37248 /* confdefs.h. */
37249 _ACEOF
37250 cat confdefs.h >>conftest.$ac_ext
37251 cat >>conftest.$ac_ext <<_ACEOF
37252 /* end confdefs.h. */
37253
37254 $wchar_headers
37255 $ac_includes_default
37256
37257 int
37258 main ()
37259 {
37260
37261 #ifndef $wx_func
37262 &$wx_func;
37263 #endif
37264
37265
37266 ;
37267 return 0;
37268 }
37269
37270 _ACEOF
37271 rm -f conftest.$ac_objext conftest$ac_exeext
37272 if { (ac_try="$ac_link"
37273 case "(($ac_try" in
37274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37275 *) ac_try_echo=$ac_try;;
37276 esac
37277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37278 (eval "$ac_link") 2>conftest.er1
37279 ac_status=$?
37280 grep -v '^ *+' conftest.er1 >conftest.err
37281 rm -f conftest.er1
37282 cat conftest.err >&5
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); } && {
37285 test -z "$ac_c_werror_flag" ||
37286 test ! -s conftest.err
37287 } && test -s conftest$ac_exeext &&
37288 $as_test_x conftest$ac_exeext; then
37289 eval wx_cv_func_$wx_func=yes
37290 else
37291 echo "$as_me: failed program was:" >&5
37292 sed 's/^/| /' conftest.$ac_ext >&5
37293
37294 eval wx_cv_func_$wx_func=no
37295 fi
37296
37297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37298 conftest$ac_exeext conftest.$ac_ext
37299
37300 fi
37301 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37302 { echo "$as_me:$LINENO: result: $ac_res" >&5
37303 echo "${ECHO_T}$ac_res" >&6; }
37304
37305 if eval test \$wx_cv_func_$wx_func = yes
37306 then
37307 cat >>confdefs.h <<_ACEOF
37308 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37309 _ACEOF
37310
37311
37312 else
37313 :
37314
37315 fi
37316 done
37317
37318
37319 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37320 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37321 cat >conftest.$ac_ext <<_ACEOF
37322 /* confdefs.h. */
37323 _ACEOF
37324 cat confdefs.h >>conftest.$ac_ext
37325 cat >>conftest.$ac_ext <<_ACEOF
37326 /* end confdefs.h. */
37327 #include <wchar.h>
37328 int
37329 main ()
37330 {
37331 &_vsnwprintf;
37332 ;
37333 return 0;
37334 }
37335 _ACEOF
37336 rm -f conftest.$ac_objext
37337 if { (ac_try="$ac_compile"
37338 case "(($ac_try" in
37339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37340 *) ac_try_echo=$ac_try;;
37341 esac
37342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37343 (eval "$ac_compile") 2>conftest.er1
37344 ac_status=$?
37345 grep -v '^ *+' conftest.er1 >conftest.err
37346 rm -f conftest.er1
37347 cat conftest.err >&5
37348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37349 (exit $ac_status); } && {
37350 test -z "$ac_c_werror_flag" ||
37351 test ! -s conftest.err
37352 } && test -s conftest.$ac_objext; then
37353 { echo "$as_me:$LINENO: result: yes" >&5
37354 echo "${ECHO_T}yes" >&6; }
37355 cat >>confdefs.h <<\_ACEOF
37356 #define HAVE__VSNWPRINTF 1
37357 _ACEOF
37358
37359 else
37360 echo "$as_me: failed program was:" >&5
37361 sed 's/^/| /' conftest.$ac_ext >&5
37362
37363 { echo "$as_me:$LINENO: result: no" >&5
37364 echo "${ECHO_T}no" >&6; }
37365 fi
37366
37367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37368 fi
37369
37370 if test "$wxUSE_FILE" = "yes"; then
37371
37372 for wx_func in fsync
37373 do
37374 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37375 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37376 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37377 echo $ECHO_N "(cached) $ECHO_C" >&6
37378 else
37379
37380 cat >conftest.$ac_ext <<_ACEOF
37381
37382 /* confdefs.h. */
37383 _ACEOF
37384 cat confdefs.h >>conftest.$ac_ext
37385 cat >>conftest.$ac_ext <<_ACEOF
37386 /* end confdefs.h. */
37387
37388
37389 $ac_includes_default
37390
37391 int
37392 main ()
37393 {
37394
37395 #ifndef $wx_func
37396 &$wx_func;
37397 #endif
37398
37399
37400 ;
37401 return 0;
37402 }
37403
37404 _ACEOF
37405 rm -f conftest.$ac_objext conftest$ac_exeext
37406 if { (ac_try="$ac_link"
37407 case "(($ac_try" in
37408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37409 *) ac_try_echo=$ac_try;;
37410 esac
37411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37412 (eval "$ac_link") 2>conftest.er1
37413 ac_status=$?
37414 grep -v '^ *+' conftest.er1 >conftest.err
37415 rm -f conftest.er1
37416 cat conftest.err >&5
37417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37418 (exit $ac_status); } && {
37419 test -z "$ac_c_werror_flag" ||
37420 test ! -s conftest.err
37421 } && test -s conftest$ac_exeext &&
37422 $as_test_x conftest$ac_exeext; then
37423 eval wx_cv_func_$wx_func=yes
37424 else
37425 echo "$as_me: failed program was:" >&5
37426 sed 's/^/| /' conftest.$ac_ext >&5
37427
37428 eval wx_cv_func_$wx_func=no
37429 fi
37430
37431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37432 conftest$ac_exeext conftest.$ac_ext
37433
37434 fi
37435 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37436 { echo "$as_me:$LINENO: result: $ac_res" >&5
37437 echo "${ECHO_T}$ac_res" >&6; }
37438
37439 if eval test \$wx_cv_func_$wx_func = yes
37440 then
37441 cat >>confdefs.h <<_ACEOF
37442 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37443 _ACEOF
37444
37445
37446 else
37447 :
37448
37449 fi
37450 done
37451
37452 fi
37453
37454 ac_ext=cpp
37455 ac_cpp='$CXXCPP $CPPFLAGS'
37456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37459
37460
37461 for wx_func in round
37462 do
37463 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37464 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37465 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37466 echo $ECHO_N "(cached) $ECHO_C" >&6
37467 else
37468
37469 cat >conftest.$ac_ext <<_ACEOF
37470
37471 /* confdefs.h. */
37472 _ACEOF
37473 cat confdefs.h >>conftest.$ac_ext
37474 cat >>conftest.$ac_ext <<_ACEOF
37475 /* end confdefs.h. */
37476
37477 #include <math.h>
37478 $ac_includes_default
37479
37480 int
37481 main ()
37482 {
37483
37484 #ifndef $wx_func
37485 &$wx_func;
37486 #endif
37487
37488
37489 ;
37490 return 0;
37491 }
37492
37493 _ACEOF
37494 rm -f conftest.$ac_objext conftest$ac_exeext
37495 if { (ac_try="$ac_link"
37496 case "(($ac_try" in
37497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37498 *) ac_try_echo=$ac_try;;
37499 esac
37500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37501 (eval "$ac_link") 2>conftest.er1
37502 ac_status=$?
37503 grep -v '^ *+' conftest.er1 >conftest.err
37504 rm -f conftest.er1
37505 cat conftest.err >&5
37506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37507 (exit $ac_status); } && {
37508 test -z "$ac_cxx_werror_flag" ||
37509 test ! -s conftest.err
37510 } && test -s conftest$ac_exeext &&
37511 $as_test_x conftest$ac_exeext; then
37512 eval wx_cv_func_$wx_func=yes
37513 else
37514 echo "$as_me: failed program was:" >&5
37515 sed 's/^/| /' conftest.$ac_ext >&5
37516
37517 eval wx_cv_func_$wx_func=no
37518 fi
37519
37520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37521 conftest$ac_exeext conftest.$ac_ext
37522
37523 fi
37524 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37525 { echo "$as_me:$LINENO: result: $ac_res" >&5
37526 echo "${ECHO_T}$ac_res" >&6; }
37527
37528 if eval test \$wx_cv_func_$wx_func = yes
37529 then
37530 cat >>confdefs.h <<_ACEOF
37531 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37532 _ACEOF
37533
37534
37535 else
37536 :
37537
37538 fi
37539 done
37540
37541 ac_ext=c
37542 ac_cpp='$CPP $CPPFLAGS'
37543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37546
37547
37548 if test "$TOOLKIT" != "MSW"; then
37549
37550 if test "$wxUSE_LIBICONV" != "no" ; then
37551
37552
37553
37554 # Check whether --with-libiconv-prefix was given.
37555 if test "${with_libiconv_prefix+set}" = set; then
37556 withval=$with_libiconv_prefix;
37557 for dir in `echo "$withval" | tr : ' '`; do
37558 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37559 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37560 done
37561
37562 fi
37563
37564
37565 { echo "$as_me:$LINENO: checking for iconv" >&5
37566 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37567 if test "${am_cv_func_iconv+set}" = set; then
37568 echo $ECHO_N "(cached) $ECHO_C" >&6
37569 else
37570
37571 am_cv_func_iconv="no, consider installing GNU libiconv"
37572 am_cv_lib_iconv=no
37573 cat >conftest.$ac_ext <<_ACEOF
37574 /* confdefs.h. */
37575 _ACEOF
37576 cat confdefs.h >>conftest.$ac_ext
37577 cat >>conftest.$ac_ext <<_ACEOF
37578 /* end confdefs.h. */
37579 #include <stdlib.h>
37580 #include <iconv.h>
37581 int
37582 main ()
37583 {
37584 iconv_t cd = iconv_open("","");
37585 iconv(cd,NULL,NULL,NULL,NULL);
37586 iconv_close(cd);
37587 ;
37588 return 0;
37589 }
37590 _ACEOF
37591 rm -f conftest.$ac_objext conftest$ac_exeext
37592 if { (ac_try="$ac_link"
37593 case "(($ac_try" in
37594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37595 *) ac_try_echo=$ac_try;;
37596 esac
37597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37598 (eval "$ac_link") 2>conftest.er1
37599 ac_status=$?
37600 grep -v '^ *+' conftest.er1 >conftest.err
37601 rm -f conftest.er1
37602 cat conftest.err >&5
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); } && {
37605 test -z "$ac_c_werror_flag" ||
37606 test ! -s conftest.err
37607 } && test -s conftest$ac_exeext &&
37608 $as_test_x conftest$ac_exeext; then
37609 am_cv_func_iconv=yes
37610 else
37611 echo "$as_me: failed program was:" >&5
37612 sed 's/^/| /' conftest.$ac_ext >&5
37613
37614
37615 fi
37616
37617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37618 conftest$ac_exeext conftest.$ac_ext
37619 if test "$am_cv_func_iconv" != yes; then
37620 am_save_LIBS="$LIBS"
37621 LIBS="$LIBS -liconv"
37622 cat >conftest.$ac_ext <<_ACEOF
37623 /* confdefs.h. */
37624 _ACEOF
37625 cat confdefs.h >>conftest.$ac_ext
37626 cat >>conftest.$ac_ext <<_ACEOF
37627 /* end confdefs.h. */
37628 #include <stdlib.h>
37629 #include <iconv.h>
37630 int
37631 main ()
37632 {
37633 iconv_t cd = iconv_open("","");
37634 iconv(cd,NULL,NULL,NULL,NULL);
37635 iconv_close(cd);
37636 ;
37637 return 0;
37638 }
37639 _ACEOF
37640 rm -f conftest.$ac_objext conftest$ac_exeext
37641 if { (ac_try="$ac_link"
37642 case "(($ac_try" in
37643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37644 *) ac_try_echo=$ac_try;;
37645 esac
37646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37647 (eval "$ac_link") 2>conftest.er1
37648 ac_status=$?
37649 grep -v '^ *+' conftest.er1 >conftest.err
37650 rm -f conftest.er1
37651 cat conftest.err >&5
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); } && {
37654 test -z "$ac_c_werror_flag" ||
37655 test ! -s conftest.err
37656 } && test -s conftest$ac_exeext &&
37657 $as_test_x conftest$ac_exeext; then
37658 am_cv_lib_iconv=yes
37659 am_cv_func_iconv=yes
37660 else
37661 echo "$as_me: failed program was:" >&5
37662 sed 's/^/| /' conftest.$ac_ext >&5
37663
37664
37665 fi
37666
37667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37668 conftest$ac_exeext conftest.$ac_ext
37669 LIBS="$am_save_LIBS"
37670 fi
37671
37672 fi
37673 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37674 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37675 if test "$am_cv_func_iconv" = yes; then
37676
37677 cat >>confdefs.h <<\_ACEOF
37678 #define HAVE_ICONV 1
37679 _ACEOF
37680
37681 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37682 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37683 if test "${wx_cv_func_iconv_const+set}" = set; then
37684 echo $ECHO_N "(cached) $ECHO_C" >&6
37685 else
37686 cat >conftest.$ac_ext <<_ACEOF
37687 /* confdefs.h. */
37688 _ACEOF
37689 cat confdefs.h >>conftest.$ac_ext
37690 cat >>conftest.$ac_ext <<_ACEOF
37691 /* end confdefs.h. */
37692
37693 #include <stdlib.h>
37694 #include <iconv.h>
37695 extern
37696 #ifdef __cplusplus
37697 "C"
37698 #endif
37699 #if defined(__STDC__) || defined(__cplusplus)
37700 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37701 #else
37702 size_t iconv();
37703 #endif
37704
37705 int
37706 main ()
37707 {
37708
37709 ;
37710 return 0;
37711 }
37712 _ACEOF
37713 rm -f conftest.$ac_objext
37714 if { (ac_try="$ac_compile"
37715 case "(($ac_try" in
37716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37717 *) ac_try_echo=$ac_try;;
37718 esac
37719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37720 (eval "$ac_compile") 2>conftest.er1
37721 ac_status=$?
37722 grep -v '^ *+' conftest.er1 >conftest.err
37723 rm -f conftest.er1
37724 cat conftest.err >&5
37725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37726 (exit $ac_status); } && {
37727 test -z "$ac_c_werror_flag" ||
37728 test ! -s conftest.err
37729 } && test -s conftest.$ac_objext; then
37730 wx_cv_func_iconv_const="no"
37731 else
37732 echo "$as_me: failed program was:" >&5
37733 sed 's/^/| /' conftest.$ac_ext >&5
37734
37735 wx_cv_func_iconv_const="yes"
37736
37737 fi
37738
37739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37740
37741 fi
37742 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37743 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37744
37745 iconv_const=
37746 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37747 iconv_const="const"
37748 fi
37749
37750
37751 cat >>confdefs.h <<_ACEOF
37752 #define ICONV_CONST $iconv_const
37753 _ACEOF
37754
37755 fi
37756 LIBICONV=
37757 if test "$am_cv_lib_iconv" = yes; then
37758 LIBICONV="-liconv"
37759 fi
37760
37761
37762 LIBS="$LIBICONV $LIBS"
37763 fi
37764
37765 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37766
37767 for ac_func in sigaction
37768 do
37769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37770 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37772 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37773 echo $ECHO_N "(cached) $ECHO_C" >&6
37774 else
37775 cat >conftest.$ac_ext <<_ACEOF
37776 /* confdefs.h. */
37777 _ACEOF
37778 cat confdefs.h >>conftest.$ac_ext
37779 cat >>conftest.$ac_ext <<_ACEOF
37780 /* end confdefs.h. */
37781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37783 #define $ac_func innocuous_$ac_func
37784
37785 /* System header to define __stub macros and hopefully few prototypes,
37786 which can conflict with char $ac_func (); below.
37787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37788 <limits.h> exists even on freestanding compilers. */
37789
37790 #ifdef __STDC__
37791 # include <limits.h>
37792 #else
37793 # include <assert.h>
37794 #endif
37795
37796 #undef $ac_func
37797
37798 /* Override any GCC internal prototype to avoid an error.
37799 Use char because int might match the return type of a GCC
37800 builtin and then its argument prototype would still apply. */
37801 #ifdef __cplusplus
37802 extern "C"
37803 #endif
37804 char $ac_func ();
37805 /* The GNU C library defines this for functions which it implements
37806 to always fail with ENOSYS. Some functions are actually named
37807 something starting with __ and the normal name is an alias. */
37808 #if defined __stub_$ac_func || defined __stub___$ac_func
37809 choke me
37810 #endif
37811
37812 int
37813 main ()
37814 {
37815 return $ac_func ();
37816 ;
37817 return 0;
37818 }
37819 _ACEOF
37820 rm -f conftest.$ac_objext conftest$ac_exeext
37821 if { (ac_try="$ac_link"
37822 case "(($ac_try" in
37823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37824 *) ac_try_echo=$ac_try;;
37825 esac
37826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37827 (eval "$ac_link") 2>conftest.er1
37828 ac_status=$?
37829 grep -v '^ *+' conftest.er1 >conftest.err
37830 rm -f conftest.er1
37831 cat conftest.err >&5
37832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833 (exit $ac_status); } && {
37834 test -z "$ac_c_werror_flag" ||
37835 test ! -s conftest.err
37836 } && test -s conftest$ac_exeext &&
37837 $as_test_x conftest$ac_exeext; then
37838 eval "$as_ac_var=yes"
37839 else
37840 echo "$as_me: failed program was:" >&5
37841 sed 's/^/| /' conftest.$ac_ext >&5
37842
37843 eval "$as_ac_var=no"
37844 fi
37845
37846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37847 conftest$ac_exeext conftest.$ac_ext
37848 fi
37849 ac_res=`eval echo '${'$as_ac_var'}'`
37850 { echo "$as_me:$LINENO: result: $ac_res" >&5
37851 echo "${ECHO_T}$ac_res" >&6; }
37852 if test `eval echo '${'$as_ac_var'}'` = yes; then
37853 cat >>confdefs.h <<_ACEOF
37854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37855 _ACEOF
37856
37857 fi
37858 done
37859
37860
37861 if test "$ac_cv_func_sigaction" = "no"; then
37862 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37863 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37864 wxUSE_ON_FATAL_EXCEPTION=no
37865 fi
37866
37867 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37868 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37869 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37870 if test "${wx_cv_type_sa_handler+set}" = set; then
37871 echo $ECHO_N "(cached) $ECHO_C" >&6
37872 else
37873
37874 ac_ext=cpp
37875 ac_cpp='$CXXCPP $CPPFLAGS'
37876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37879
37880 cat >conftest.$ac_ext <<_ACEOF
37881 /* confdefs.h. */
37882 _ACEOF
37883 cat confdefs.h >>conftest.$ac_ext
37884 cat >>conftest.$ac_ext <<_ACEOF
37885 /* end confdefs.h. */
37886 #include <signal.h>
37887 int
37888 main ()
37889 {
37890
37891 extern void testSigHandler(int);
37892
37893 struct sigaction sa;
37894 sa.sa_handler = testSigHandler;
37895
37896 ;
37897 return 0;
37898 }
37899 _ACEOF
37900 rm -f conftest.$ac_objext
37901 if { (ac_try="$ac_compile"
37902 case "(($ac_try" in
37903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37904 *) ac_try_echo=$ac_try;;
37905 esac
37906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37907 (eval "$ac_compile") 2>conftest.er1
37908 ac_status=$?
37909 grep -v '^ *+' conftest.er1 >conftest.err
37910 rm -f conftest.er1
37911 cat conftest.err >&5
37912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37913 (exit $ac_status); } && {
37914 test -z "$ac_cxx_werror_flag" ||
37915 test ! -s conftest.err
37916 } && test -s conftest.$ac_objext; then
37917
37918 wx_cv_type_sa_handler=int
37919
37920 else
37921 echo "$as_me: failed program was:" >&5
37922 sed 's/^/| /' conftest.$ac_ext >&5
37923
37924
37925 wx_cv_type_sa_handler=void
37926
37927 fi
37928
37929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37930 ac_ext=c
37931 ac_cpp='$CPP $CPPFLAGS'
37932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37935
37936
37937 fi
37938 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37939 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37940
37941 cat >>confdefs.h <<_ACEOF
37942 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37943 _ACEOF
37944
37945 fi
37946 fi
37947
37948 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37949 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37950 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37951 if test "${wx_cv_func_backtrace+set}" = set; then
37952 echo $ECHO_N "(cached) $ECHO_C" >&6
37953 else
37954
37955 ac_ext=cpp
37956 ac_cpp='$CXXCPP $CPPFLAGS'
37957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37960
37961 cat >conftest.$ac_ext <<_ACEOF
37962 /* confdefs.h. */
37963 _ACEOF
37964 cat confdefs.h >>conftest.$ac_ext
37965 cat >>conftest.$ac_ext <<_ACEOF
37966 /* end confdefs.h. */
37967 #include <execinfo.h>
37968 int
37969 main ()
37970 {
37971
37972 void *trace[1];
37973 char **messages;
37974
37975 backtrace(trace, 1);
37976 messages = backtrace_symbols(trace, 1);
37977
37978 ;
37979 return 0;
37980 }
37981 _ACEOF
37982 rm -f conftest.$ac_objext
37983 if { (ac_try="$ac_compile"
37984 case "(($ac_try" in
37985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37986 *) ac_try_echo=$ac_try;;
37987 esac
37988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37989 (eval "$ac_compile") 2>conftest.er1
37990 ac_status=$?
37991 grep -v '^ *+' conftest.er1 >conftest.err
37992 rm -f conftest.er1
37993 cat conftest.err >&5
37994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37995 (exit $ac_status); } && {
37996 test -z "$ac_cxx_werror_flag" ||
37997 test ! -s conftest.err
37998 } && test -s conftest.$ac_objext; then
37999 wx_cv_func_backtrace=yes
38000 else
38001 echo "$as_me: failed program was:" >&5
38002 sed 's/^/| /' conftest.$ac_ext >&5
38003
38004 wx_cv_func_backtrace=no
38005
38006 fi
38007
38008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38009 ac_ext=c
38010 ac_cpp='$CPP $CPPFLAGS'
38011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38014
38015
38016
38017 fi
38018 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38019 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38020
38021
38022 if test "$wx_cv_func_backtrace" = "no"; then
38023 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38024 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38025 wxUSE_STACKWALKER=no
38026 else
38027 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38028 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38029 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38030 echo $ECHO_N "(cached) $ECHO_C" >&6
38031 else
38032
38033 ac_ext=cpp
38034 ac_cpp='$CXXCPP $CPPFLAGS'
38035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38038
38039 cat >conftest.$ac_ext <<_ACEOF
38040 /* confdefs.h. */
38041 _ACEOF
38042 cat confdefs.h >>conftest.$ac_ext
38043 cat >>conftest.$ac_ext <<_ACEOF
38044 /* end confdefs.h. */
38045 #include <cxxabi.h>
38046 int
38047 main ()
38048 {
38049
38050 int rc;
38051 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38052
38053 ;
38054 return 0;
38055 }
38056 _ACEOF
38057 rm -f conftest.$ac_objext conftest$ac_exeext
38058 if { (ac_try="$ac_link"
38059 case "(($ac_try" in
38060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38061 *) ac_try_echo=$ac_try;;
38062 esac
38063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38064 (eval "$ac_link") 2>conftest.er1
38065 ac_status=$?
38066 grep -v '^ *+' conftest.er1 >conftest.err
38067 rm -f conftest.er1
38068 cat conftest.err >&5
38069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38070 (exit $ac_status); } && {
38071 test -z "$ac_cxx_werror_flag" ||
38072 test ! -s conftest.err
38073 } && test -s conftest$ac_exeext &&
38074 $as_test_x conftest$ac_exeext; then
38075 wx_cv_func_cxa_demangle=yes
38076 else
38077 echo "$as_me: failed program was:" >&5
38078 sed 's/^/| /' conftest.$ac_ext >&5
38079
38080 wx_cv_func_cxa_demangle=no
38081
38082 fi
38083
38084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38085 conftest$ac_exeext conftest.$ac_ext
38086 ac_ext=c
38087 ac_cpp='$CPP $CPPFLAGS'
38088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38091
38092
38093
38094 fi
38095 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38096 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38097
38098 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38099 cat >>confdefs.h <<\_ACEOF
38100 #define HAVE_CXA_DEMANGLE 1
38101 _ACEOF
38102
38103 fi
38104 fi
38105 fi
38106
38107 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38108 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38109 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38110 wxUSE_STACKWALKER=no
38111 fi
38112
38113
38114
38115
38116 for ac_func in mkstemp mktemp
38117 do
38118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38119 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38121 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38122 echo $ECHO_N "(cached) $ECHO_C" >&6
38123 else
38124 cat >conftest.$ac_ext <<_ACEOF
38125 /* confdefs.h. */
38126 _ACEOF
38127 cat confdefs.h >>conftest.$ac_ext
38128 cat >>conftest.$ac_ext <<_ACEOF
38129 /* end confdefs.h. */
38130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38132 #define $ac_func innocuous_$ac_func
38133
38134 /* System header to define __stub macros and hopefully few prototypes,
38135 which can conflict with char $ac_func (); below.
38136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38137 <limits.h> exists even on freestanding compilers. */
38138
38139 #ifdef __STDC__
38140 # include <limits.h>
38141 #else
38142 # include <assert.h>
38143 #endif
38144
38145 #undef $ac_func
38146
38147 /* Override any GCC internal prototype to avoid an error.
38148 Use char because int might match the return type of a GCC
38149 builtin and then its argument prototype would still apply. */
38150 #ifdef __cplusplus
38151 extern "C"
38152 #endif
38153 char $ac_func ();
38154 /* The GNU C library defines this for functions which it implements
38155 to always fail with ENOSYS. Some functions are actually named
38156 something starting with __ and the normal name is an alias. */
38157 #if defined __stub_$ac_func || defined __stub___$ac_func
38158 choke me
38159 #endif
38160
38161 int
38162 main ()
38163 {
38164 return $ac_func ();
38165 ;
38166 return 0;
38167 }
38168 _ACEOF
38169 rm -f conftest.$ac_objext conftest$ac_exeext
38170 if { (ac_try="$ac_link"
38171 case "(($ac_try" in
38172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38173 *) ac_try_echo=$ac_try;;
38174 esac
38175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38176 (eval "$ac_link") 2>conftest.er1
38177 ac_status=$?
38178 grep -v '^ *+' conftest.er1 >conftest.err
38179 rm -f conftest.er1
38180 cat conftest.err >&5
38181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38182 (exit $ac_status); } && {
38183 test -z "$ac_c_werror_flag" ||
38184 test ! -s conftest.err
38185 } && test -s conftest$ac_exeext &&
38186 $as_test_x conftest$ac_exeext; then
38187 eval "$as_ac_var=yes"
38188 else
38189 echo "$as_me: failed program was:" >&5
38190 sed 's/^/| /' conftest.$ac_ext >&5
38191
38192 eval "$as_ac_var=no"
38193 fi
38194
38195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38196 conftest$ac_exeext conftest.$ac_ext
38197 fi
38198 ac_res=`eval echo '${'$as_ac_var'}'`
38199 { echo "$as_me:$LINENO: result: $ac_res" >&5
38200 echo "${ECHO_T}$ac_res" >&6; }
38201 if test `eval echo '${'$as_ac_var'}'` = yes; then
38202 cat >>confdefs.h <<_ACEOF
38203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38204 _ACEOF
38205 break
38206 fi
38207 done
38208
38209
38210 { echo "$as_me:$LINENO: checking for statfs" >&5
38211 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38212 if test "${wx_cv_func_statfs+set}" = set; then
38213 echo $ECHO_N "(cached) $ECHO_C" >&6
38214 else
38215 cat >conftest.$ac_ext <<_ACEOF
38216 /* confdefs.h. */
38217 _ACEOF
38218 cat confdefs.h >>conftest.$ac_ext
38219 cat >>conftest.$ac_ext <<_ACEOF
38220 /* end confdefs.h. */
38221
38222 #if defined(__BSD__)
38223 #include <sys/param.h>
38224 #include <sys/mount.h>
38225 #else
38226 #include <sys/vfs.h>
38227 #endif
38228
38229 int
38230 main ()
38231 {
38232
38233 long l;
38234 struct statfs fs;
38235 statfs("/", &fs);
38236 l = fs.f_bsize;
38237 l += fs.f_blocks;
38238 l += fs.f_bavail;
38239
38240 ;
38241 return 0;
38242 }
38243 _ACEOF
38244 rm -f conftest.$ac_objext
38245 if { (ac_try="$ac_compile"
38246 case "(($ac_try" in
38247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38248 *) ac_try_echo=$ac_try;;
38249 esac
38250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38251 (eval "$ac_compile") 2>conftest.er1
38252 ac_status=$?
38253 grep -v '^ *+' conftest.er1 >conftest.err
38254 rm -f conftest.er1
38255 cat conftest.err >&5
38256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257 (exit $ac_status); } && {
38258 test -z "$ac_c_werror_flag" ||
38259 test ! -s conftest.err
38260 } && test -s conftest.$ac_objext; then
38261 wx_cv_func_statfs=yes
38262 else
38263 echo "$as_me: failed program was:" >&5
38264 sed 's/^/| /' conftest.$ac_ext >&5
38265
38266 wx_cv_func_statfs=no
38267
38268 fi
38269
38270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38271
38272 fi
38273 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38274 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38275
38276 if test "$wx_cv_func_statfs" = "yes"; then
38277 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38278 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38279 if test "${wx_cv_func_statfs_decl+set}" = set; then
38280 echo $ECHO_N "(cached) $ECHO_C" >&6
38281 else
38282 ac_ext=cpp
38283 ac_cpp='$CXXCPP $CPPFLAGS'
38284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38287
38288 cat >conftest.$ac_ext <<_ACEOF
38289 /* confdefs.h. */
38290 _ACEOF
38291 cat confdefs.h >>conftest.$ac_ext
38292 cat >>conftest.$ac_ext <<_ACEOF
38293 /* end confdefs.h. */
38294
38295 #if defined(__BSD__)
38296 #include <sys/param.h>
38297 #include <sys/mount.h>
38298 #else
38299 #include <sys/vfs.h>
38300 #endif
38301
38302 int
38303 main ()
38304 {
38305
38306 struct statfs fs;
38307 statfs("", &fs);
38308
38309 ;
38310 return 0;
38311 }
38312 _ACEOF
38313 rm -f conftest.$ac_objext
38314 if { (ac_try="$ac_compile"
38315 case "(($ac_try" in
38316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38317 *) ac_try_echo=$ac_try;;
38318 esac
38319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38320 (eval "$ac_compile") 2>conftest.er1
38321 ac_status=$?
38322 grep -v '^ *+' conftest.er1 >conftest.err
38323 rm -f conftest.er1
38324 cat conftest.err >&5
38325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38326 (exit $ac_status); } && {
38327 test -z "$ac_cxx_werror_flag" ||
38328 test ! -s conftest.err
38329 } && test -s conftest.$ac_objext; then
38330 wx_cv_func_statfs_decl=yes
38331 else
38332 echo "$as_me: failed program was:" >&5
38333 sed 's/^/| /' conftest.$ac_ext >&5
38334
38335 wx_cv_func_statfs_decl=no
38336
38337 fi
38338
38339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38340 ac_ext=c
38341 ac_cpp='$CPP $CPPFLAGS'
38342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38345
38346
38347 fi
38348 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38349 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38350
38351 if test "$wx_cv_func_statfs_decl" = "yes"; then
38352 cat >>confdefs.h <<\_ACEOF
38353 #define HAVE_STATFS_DECL 1
38354 _ACEOF
38355
38356 fi
38357
38358 wx_cv_type_statvfs_t="struct statfs"
38359 cat >>confdefs.h <<\_ACEOF
38360 #define HAVE_STATFS 1
38361 _ACEOF
38362
38363 else
38364 { echo "$as_me:$LINENO: checking for statvfs" >&5
38365 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38366 if test "${wx_cv_func_statvfs+set}" = set; then
38367 echo $ECHO_N "(cached) $ECHO_C" >&6
38368 else
38369 cat >conftest.$ac_ext <<_ACEOF
38370 /* confdefs.h. */
38371 _ACEOF
38372 cat confdefs.h >>conftest.$ac_ext
38373 cat >>conftest.$ac_ext <<_ACEOF
38374 /* end confdefs.h. */
38375
38376 #include <stddef.h>
38377 #include <sys/statvfs.h>
38378
38379 int
38380 main ()
38381 {
38382
38383 statvfs("/", NULL);
38384
38385 ;
38386 return 0;
38387 }
38388 _ACEOF
38389 rm -f conftest.$ac_objext
38390 if { (ac_try="$ac_compile"
38391 case "(($ac_try" in
38392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38393 *) ac_try_echo=$ac_try;;
38394 esac
38395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38396 (eval "$ac_compile") 2>conftest.er1
38397 ac_status=$?
38398 grep -v '^ *+' conftest.er1 >conftest.err
38399 rm -f conftest.er1
38400 cat conftest.err >&5
38401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38402 (exit $ac_status); } && {
38403 test -z "$ac_c_werror_flag" ||
38404 test ! -s conftest.err
38405 } && test -s conftest.$ac_objext; then
38406 wx_cv_func_statvfs=yes
38407 else
38408 echo "$as_me: failed program was:" >&5
38409 sed 's/^/| /' conftest.$ac_ext >&5
38410
38411 wx_cv_func_statvfs=no
38412
38413 fi
38414
38415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38416
38417 fi
38418 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38419 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38420
38421 if test "$wx_cv_func_statvfs" = "yes"; then
38422 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38423 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38424 if test "${wx_cv_type_statvfs_t+set}" = set; then
38425 echo $ECHO_N "(cached) $ECHO_C" >&6
38426 else
38427 ac_ext=cpp
38428 ac_cpp='$CXXCPP $CPPFLAGS'
38429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38432
38433 cat >conftest.$ac_ext <<_ACEOF
38434 /* confdefs.h. */
38435 _ACEOF
38436 cat confdefs.h >>conftest.$ac_ext
38437 cat >>conftest.$ac_ext <<_ACEOF
38438 /* end confdefs.h. */
38439
38440 #include <sys/statvfs.h>
38441
38442 int
38443 main ()
38444 {
38445
38446 long l;
38447 statvfs_t fs;
38448 statvfs("/", &fs);
38449 l = fs.f_bsize;
38450 l += fs.f_blocks;
38451 l += fs.f_bavail;
38452
38453 ;
38454 return 0;
38455 }
38456 _ACEOF
38457 rm -f conftest.$ac_objext
38458 if { (ac_try="$ac_compile"
38459 case "(($ac_try" in
38460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38461 *) ac_try_echo=$ac_try;;
38462 esac
38463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38464 (eval "$ac_compile") 2>conftest.er1
38465 ac_status=$?
38466 grep -v '^ *+' conftest.er1 >conftest.err
38467 rm -f conftest.er1
38468 cat conftest.err >&5
38469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38470 (exit $ac_status); } && {
38471 test -z "$ac_cxx_werror_flag" ||
38472 test ! -s conftest.err
38473 } && test -s conftest.$ac_objext; then
38474 wx_cv_type_statvfs_t=statvfs_t
38475 else
38476 echo "$as_me: failed program was:" >&5
38477 sed 's/^/| /' conftest.$ac_ext >&5
38478
38479
38480 cat >conftest.$ac_ext <<_ACEOF
38481 /* confdefs.h. */
38482 _ACEOF
38483 cat confdefs.h >>conftest.$ac_ext
38484 cat >>conftest.$ac_ext <<_ACEOF
38485 /* end confdefs.h. */
38486
38487 #include <sys/statvfs.h>
38488
38489 int
38490 main ()
38491 {
38492
38493 long l;
38494 struct statvfs fs;
38495 statvfs("/", &fs);
38496 l = fs.f_bsize;
38497 l += fs.f_blocks;
38498 l += fs.f_bavail;
38499
38500 ;
38501 return 0;
38502 }
38503 _ACEOF
38504 rm -f conftest.$ac_objext
38505 if { (ac_try="$ac_compile"
38506 case "(($ac_try" in
38507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38508 *) ac_try_echo=$ac_try;;
38509 esac
38510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38511 (eval "$ac_compile") 2>conftest.er1
38512 ac_status=$?
38513 grep -v '^ *+' conftest.er1 >conftest.err
38514 rm -f conftest.er1
38515 cat conftest.err >&5
38516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38517 (exit $ac_status); } && {
38518 test -z "$ac_cxx_werror_flag" ||
38519 test ! -s conftest.err
38520 } && test -s conftest.$ac_objext; then
38521 wx_cv_type_statvfs_t="struct statvfs"
38522 else
38523 echo "$as_me: failed program was:" >&5
38524 sed 's/^/| /' conftest.$ac_ext >&5
38525
38526 wx_cv_type_statvfs_t="unknown"
38527
38528 fi
38529
38530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38531
38532
38533 fi
38534
38535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38536 ac_ext=c
38537 ac_cpp='$CPP $CPPFLAGS'
38538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38541
38542
38543 fi
38544 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38545 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38546
38547 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38548 cat >>confdefs.h <<\_ACEOF
38549 #define HAVE_STATVFS 1
38550 _ACEOF
38551
38552 fi
38553 else
38554 wx_cv_type_statvfs_t="unknown"
38555 fi
38556 fi
38557
38558 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38559 cat >>confdefs.h <<_ACEOF
38560 #define WX_STATFS_T $wx_cv_type_statvfs_t
38561 _ACEOF
38562
38563 else
38564 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38565 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38566 fi
38567
38568 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38569
38570
38571 for ac_func in fcntl flock
38572 do
38573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38574 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38576 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38577 echo $ECHO_N "(cached) $ECHO_C" >&6
38578 else
38579 cat >conftest.$ac_ext <<_ACEOF
38580 /* confdefs.h. */
38581 _ACEOF
38582 cat confdefs.h >>conftest.$ac_ext
38583 cat >>conftest.$ac_ext <<_ACEOF
38584 /* end confdefs.h. */
38585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38587 #define $ac_func innocuous_$ac_func
38588
38589 /* System header to define __stub macros and hopefully few prototypes,
38590 which can conflict with char $ac_func (); below.
38591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38592 <limits.h> exists even on freestanding compilers. */
38593
38594 #ifdef __STDC__
38595 # include <limits.h>
38596 #else
38597 # include <assert.h>
38598 #endif
38599
38600 #undef $ac_func
38601
38602 /* Override any GCC internal prototype to avoid an error.
38603 Use char because int might match the return type of a GCC
38604 builtin and then its argument prototype would still apply. */
38605 #ifdef __cplusplus
38606 extern "C"
38607 #endif
38608 char $ac_func ();
38609 /* The GNU C library defines this for functions which it implements
38610 to always fail with ENOSYS. Some functions are actually named
38611 something starting with __ and the normal name is an alias. */
38612 #if defined __stub_$ac_func || defined __stub___$ac_func
38613 choke me
38614 #endif
38615
38616 int
38617 main ()
38618 {
38619 return $ac_func ();
38620 ;
38621 return 0;
38622 }
38623 _ACEOF
38624 rm -f conftest.$ac_objext conftest$ac_exeext
38625 if { (ac_try="$ac_link"
38626 case "(($ac_try" in
38627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38628 *) ac_try_echo=$ac_try;;
38629 esac
38630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38631 (eval "$ac_link") 2>conftest.er1
38632 ac_status=$?
38633 grep -v '^ *+' conftest.er1 >conftest.err
38634 rm -f conftest.er1
38635 cat conftest.err >&5
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); } && {
38638 test -z "$ac_c_werror_flag" ||
38639 test ! -s conftest.err
38640 } && test -s conftest$ac_exeext &&
38641 $as_test_x conftest$ac_exeext; then
38642 eval "$as_ac_var=yes"
38643 else
38644 echo "$as_me: failed program was:" >&5
38645 sed 's/^/| /' conftest.$ac_ext >&5
38646
38647 eval "$as_ac_var=no"
38648 fi
38649
38650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38651 conftest$ac_exeext conftest.$ac_ext
38652 fi
38653 ac_res=`eval echo '${'$as_ac_var'}'`
38654 { echo "$as_me:$LINENO: result: $ac_res" >&5
38655 echo "${ECHO_T}$ac_res" >&6; }
38656 if test `eval echo '${'$as_ac_var'}'` = yes; then
38657 cat >>confdefs.h <<_ACEOF
38658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38659 _ACEOF
38660 break
38661 fi
38662 done
38663
38664
38665 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38666 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38667 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38668 wxUSE_SNGLINST_CHECKER=no
38669 fi
38670 fi
38671
38672
38673
38674 for ac_func in setenv putenv
38675 do
38676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38677 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38679 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38680 echo $ECHO_N "(cached) $ECHO_C" >&6
38681 else
38682 cat >conftest.$ac_ext <<_ACEOF
38683 /* confdefs.h. */
38684 _ACEOF
38685 cat confdefs.h >>conftest.$ac_ext
38686 cat >>conftest.$ac_ext <<_ACEOF
38687 /* end confdefs.h. */
38688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38690 #define $ac_func innocuous_$ac_func
38691
38692 /* System header to define __stub macros and hopefully few prototypes,
38693 which can conflict with char $ac_func (); below.
38694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38695 <limits.h> exists even on freestanding compilers. */
38696
38697 #ifdef __STDC__
38698 # include <limits.h>
38699 #else
38700 # include <assert.h>
38701 #endif
38702
38703 #undef $ac_func
38704
38705 /* Override any GCC internal prototype to avoid an error.
38706 Use char because int might match the return type of a GCC
38707 builtin and then its argument prototype would still apply. */
38708 #ifdef __cplusplus
38709 extern "C"
38710 #endif
38711 char $ac_func ();
38712 /* The GNU C library defines this for functions which it implements
38713 to always fail with ENOSYS. Some functions are actually named
38714 something starting with __ and the normal name is an alias. */
38715 #if defined __stub_$ac_func || defined __stub___$ac_func
38716 choke me
38717 #endif
38718
38719 int
38720 main ()
38721 {
38722 return $ac_func ();
38723 ;
38724 return 0;
38725 }
38726 _ACEOF
38727 rm -f conftest.$ac_objext conftest$ac_exeext
38728 if { (ac_try="$ac_link"
38729 case "(($ac_try" in
38730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38731 *) ac_try_echo=$ac_try;;
38732 esac
38733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38734 (eval "$ac_link") 2>conftest.er1
38735 ac_status=$?
38736 grep -v '^ *+' conftest.er1 >conftest.err
38737 rm -f conftest.er1
38738 cat conftest.err >&5
38739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740 (exit $ac_status); } && {
38741 test -z "$ac_c_werror_flag" ||
38742 test ! -s conftest.err
38743 } && test -s conftest$ac_exeext &&
38744 $as_test_x conftest$ac_exeext; then
38745 eval "$as_ac_var=yes"
38746 else
38747 echo "$as_me: failed program was:" >&5
38748 sed 's/^/| /' conftest.$ac_ext >&5
38749
38750 eval "$as_ac_var=no"
38751 fi
38752
38753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38754 conftest$ac_exeext conftest.$ac_ext
38755 fi
38756 ac_res=`eval echo '${'$as_ac_var'}'`
38757 { echo "$as_me:$LINENO: result: $ac_res" >&5
38758 echo "${ECHO_T}$ac_res" >&6; }
38759 if test `eval echo '${'$as_ac_var'}'` = yes; then
38760 cat >>confdefs.h <<_ACEOF
38761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38762 _ACEOF
38763 break
38764 fi
38765 done
38766
38767 if test "$ac_cv_func_setenv" = "yes"; then
38768
38769 for ac_func in unsetenv
38770 do
38771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38772 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38774 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38775 echo $ECHO_N "(cached) $ECHO_C" >&6
38776 else
38777 cat >conftest.$ac_ext <<_ACEOF
38778 /* confdefs.h. */
38779 _ACEOF
38780 cat confdefs.h >>conftest.$ac_ext
38781 cat >>conftest.$ac_ext <<_ACEOF
38782 /* end confdefs.h. */
38783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38785 #define $ac_func innocuous_$ac_func
38786
38787 /* System header to define __stub macros and hopefully few prototypes,
38788 which can conflict with char $ac_func (); below.
38789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38790 <limits.h> exists even on freestanding compilers. */
38791
38792 #ifdef __STDC__
38793 # include <limits.h>
38794 #else
38795 # include <assert.h>
38796 #endif
38797
38798 #undef $ac_func
38799
38800 /* Override any GCC internal prototype to avoid an error.
38801 Use char because int might match the return type of a GCC
38802 builtin and then its argument prototype would still apply. */
38803 #ifdef __cplusplus
38804 extern "C"
38805 #endif
38806 char $ac_func ();
38807 /* The GNU C library defines this for functions which it implements
38808 to always fail with ENOSYS. Some functions are actually named
38809 something starting with __ and the normal name is an alias. */
38810 #if defined __stub_$ac_func || defined __stub___$ac_func
38811 choke me
38812 #endif
38813
38814 int
38815 main ()
38816 {
38817 return $ac_func ();
38818 ;
38819 return 0;
38820 }
38821 _ACEOF
38822 rm -f conftest.$ac_objext conftest$ac_exeext
38823 if { (ac_try="$ac_link"
38824 case "(($ac_try" in
38825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38826 *) ac_try_echo=$ac_try;;
38827 esac
38828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38829 (eval "$ac_link") 2>conftest.er1
38830 ac_status=$?
38831 grep -v '^ *+' conftest.er1 >conftest.err
38832 rm -f conftest.er1
38833 cat conftest.err >&5
38834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38835 (exit $ac_status); } && {
38836 test -z "$ac_c_werror_flag" ||
38837 test ! -s conftest.err
38838 } && test -s conftest$ac_exeext &&
38839 $as_test_x conftest$ac_exeext; then
38840 eval "$as_ac_var=yes"
38841 else
38842 echo "$as_me: failed program was:" >&5
38843 sed 's/^/| /' conftest.$ac_ext >&5
38844
38845 eval "$as_ac_var=no"
38846 fi
38847
38848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38849 conftest$ac_exeext conftest.$ac_ext
38850 fi
38851 ac_res=`eval echo '${'$as_ac_var'}'`
38852 { echo "$as_me:$LINENO: result: $ac_res" >&5
38853 echo "${ECHO_T}$ac_res" >&6; }
38854 if test `eval echo '${'$as_ac_var'}'` = yes; then
38855 cat >>confdefs.h <<_ACEOF
38856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38857 _ACEOF
38858
38859 fi
38860 done
38861
38862 fi
38863
38864 HAVE_SOME_SLEEP_FUNC=0
38865 if test "$USE_BEOS" = 1; then
38866 cat >>confdefs.h <<\_ACEOF
38867 #define HAVE_SLEEP 1
38868 _ACEOF
38869
38870 HAVE_SOME_SLEEP_FUNC=1
38871 fi
38872
38873 if test "$USE_DARWIN" = 1; then
38874 cat >>confdefs.h <<\_ACEOF
38875 #define HAVE_USLEEP 1
38876 _ACEOF
38877
38878 HAVE_SOME_SLEEP_FUNC=1
38879 fi
38880
38881 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38882 POSIX4_LINK=
38883
38884 for ac_func in nanosleep
38885 do
38886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38887 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38889 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38890 echo $ECHO_N "(cached) $ECHO_C" >&6
38891 else
38892 cat >conftest.$ac_ext <<_ACEOF
38893 /* confdefs.h. */
38894 _ACEOF
38895 cat confdefs.h >>conftest.$ac_ext
38896 cat >>conftest.$ac_ext <<_ACEOF
38897 /* end confdefs.h. */
38898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38900 #define $ac_func innocuous_$ac_func
38901
38902 /* System header to define __stub macros and hopefully few prototypes,
38903 which can conflict with char $ac_func (); below.
38904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38905 <limits.h> exists even on freestanding compilers. */
38906
38907 #ifdef __STDC__
38908 # include <limits.h>
38909 #else
38910 # include <assert.h>
38911 #endif
38912
38913 #undef $ac_func
38914
38915 /* Override any GCC internal prototype to avoid an error.
38916 Use char because int might match the return type of a GCC
38917 builtin and then its argument prototype would still apply. */
38918 #ifdef __cplusplus
38919 extern "C"
38920 #endif
38921 char $ac_func ();
38922 /* The GNU C library defines this for functions which it implements
38923 to always fail with ENOSYS. Some functions are actually named
38924 something starting with __ and the normal name is an alias. */
38925 #if defined __stub_$ac_func || defined __stub___$ac_func
38926 choke me
38927 #endif
38928
38929 int
38930 main ()
38931 {
38932 return $ac_func ();
38933 ;
38934 return 0;
38935 }
38936 _ACEOF
38937 rm -f conftest.$ac_objext conftest$ac_exeext
38938 if { (ac_try="$ac_link"
38939 case "(($ac_try" in
38940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38941 *) ac_try_echo=$ac_try;;
38942 esac
38943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38944 (eval "$ac_link") 2>conftest.er1
38945 ac_status=$?
38946 grep -v '^ *+' conftest.er1 >conftest.err
38947 rm -f conftest.er1
38948 cat conftest.err >&5
38949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950 (exit $ac_status); } && {
38951 test -z "$ac_c_werror_flag" ||
38952 test ! -s conftest.err
38953 } && test -s conftest$ac_exeext &&
38954 $as_test_x conftest$ac_exeext; then
38955 eval "$as_ac_var=yes"
38956 else
38957 echo "$as_me: failed program was:" >&5
38958 sed 's/^/| /' conftest.$ac_ext >&5
38959
38960 eval "$as_ac_var=no"
38961 fi
38962
38963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38964 conftest$ac_exeext conftest.$ac_ext
38965 fi
38966 ac_res=`eval echo '${'$as_ac_var'}'`
38967 { echo "$as_me:$LINENO: result: $ac_res" >&5
38968 echo "${ECHO_T}$ac_res" >&6; }
38969 if test `eval echo '${'$as_ac_var'}'` = yes; then
38970 cat >>confdefs.h <<_ACEOF
38971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38972 _ACEOF
38973 cat >>confdefs.h <<\_ACEOF
38974 #define HAVE_NANOSLEEP 1
38975 _ACEOF
38976
38977 else
38978
38979 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38980 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38981 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38982 echo $ECHO_N "(cached) $ECHO_C" >&6
38983 else
38984 ac_check_lib_save_LIBS=$LIBS
38985 LIBS="-lposix4 $LIBS"
38986 cat >conftest.$ac_ext <<_ACEOF
38987 /* confdefs.h. */
38988 _ACEOF
38989 cat confdefs.h >>conftest.$ac_ext
38990 cat >>conftest.$ac_ext <<_ACEOF
38991 /* end confdefs.h. */
38992
38993 /* Override any GCC internal prototype to avoid an error.
38994 Use char because int might match the return type of a GCC
38995 builtin and then its argument prototype would still apply. */
38996 #ifdef __cplusplus
38997 extern "C"
38998 #endif
38999 char nanosleep ();
39000 int
39001 main ()
39002 {
39003 return nanosleep ();
39004 ;
39005 return 0;
39006 }
39007 _ACEOF
39008 rm -f conftest.$ac_objext conftest$ac_exeext
39009 if { (ac_try="$ac_link"
39010 case "(($ac_try" in
39011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39012 *) ac_try_echo=$ac_try;;
39013 esac
39014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39015 (eval "$ac_link") 2>conftest.er1
39016 ac_status=$?
39017 grep -v '^ *+' conftest.er1 >conftest.err
39018 rm -f conftest.er1
39019 cat conftest.err >&5
39020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39021 (exit $ac_status); } && {
39022 test -z "$ac_c_werror_flag" ||
39023 test ! -s conftest.err
39024 } && test -s conftest$ac_exeext &&
39025 $as_test_x conftest$ac_exeext; then
39026 ac_cv_lib_posix4_nanosleep=yes
39027 else
39028 echo "$as_me: failed program was:" >&5
39029 sed 's/^/| /' conftest.$ac_ext >&5
39030
39031 ac_cv_lib_posix4_nanosleep=no
39032 fi
39033
39034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39035 conftest$ac_exeext conftest.$ac_ext
39036 LIBS=$ac_check_lib_save_LIBS
39037 fi
39038 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39039 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39040 if test $ac_cv_lib_posix4_nanosleep = yes; then
39041
39042 cat >>confdefs.h <<\_ACEOF
39043 #define HAVE_NANOSLEEP 1
39044 _ACEOF
39045
39046 POSIX4_LINK=" -lposix4"
39047
39048 else
39049
39050
39051 for wx_func in usleep
39052 do
39053 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39054 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39055 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39056 echo $ECHO_N "(cached) $ECHO_C" >&6
39057 else
39058
39059 cat >conftest.$ac_ext <<_ACEOF
39060
39061 /* confdefs.h. */
39062 _ACEOF
39063 cat confdefs.h >>conftest.$ac_ext
39064 cat >>conftest.$ac_ext <<_ACEOF
39065 /* end confdefs.h. */
39066
39067
39068 $ac_includes_default
39069
39070 int
39071 main ()
39072 {
39073
39074 #ifndef $wx_func
39075 &$wx_func;
39076 #endif
39077
39078
39079 ;
39080 return 0;
39081 }
39082
39083 _ACEOF
39084 rm -f conftest.$ac_objext conftest$ac_exeext
39085 if { (ac_try="$ac_link"
39086 case "(($ac_try" in
39087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39088 *) ac_try_echo=$ac_try;;
39089 esac
39090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39091 (eval "$ac_link") 2>conftest.er1
39092 ac_status=$?
39093 grep -v '^ *+' conftest.er1 >conftest.err
39094 rm -f conftest.er1
39095 cat conftest.err >&5
39096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39097 (exit $ac_status); } && {
39098 test -z "$ac_c_werror_flag" ||
39099 test ! -s conftest.err
39100 } && test -s conftest$ac_exeext &&
39101 $as_test_x conftest$ac_exeext; then
39102 eval wx_cv_func_$wx_func=yes
39103 else
39104 echo "$as_me: failed program was:" >&5
39105 sed 's/^/| /' conftest.$ac_ext >&5
39106
39107 eval wx_cv_func_$wx_func=no
39108 fi
39109
39110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39111 conftest$ac_exeext conftest.$ac_ext
39112
39113 fi
39114 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39115 { echo "$as_me:$LINENO: result: $ac_res" >&5
39116 echo "${ECHO_T}$ac_res" >&6; }
39117
39118 if eval test \$wx_cv_func_$wx_func = yes
39119 then
39120 cat >>confdefs.h <<_ACEOF
39121 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39122 _ACEOF
39123
39124
39125 else
39126 :
39127 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39128 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39129
39130 fi
39131 done
39132
39133
39134
39135 fi
39136
39137
39138
39139 fi
39140 done
39141
39142 fi
39143
39144
39145 for wx_func in uname
39146 do
39147 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39148 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39149 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39150 echo $ECHO_N "(cached) $ECHO_C" >&6
39151 else
39152
39153 cat >conftest.$ac_ext <<_ACEOF
39154
39155 /* confdefs.h. */
39156 _ACEOF
39157 cat confdefs.h >>conftest.$ac_ext
39158 cat >>conftest.$ac_ext <<_ACEOF
39159 /* end confdefs.h. */
39160
39161 #include <sys/utsname.h>
39162 $ac_includes_default
39163
39164 int
39165 main ()
39166 {
39167
39168 #ifndef $wx_func
39169 &$wx_func;
39170 #endif
39171
39172
39173 ;
39174 return 0;
39175 }
39176
39177 _ACEOF
39178 rm -f conftest.$ac_objext conftest$ac_exeext
39179 if { (ac_try="$ac_link"
39180 case "(($ac_try" in
39181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39182 *) ac_try_echo=$ac_try;;
39183 esac
39184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39185 (eval "$ac_link") 2>conftest.er1
39186 ac_status=$?
39187 grep -v '^ *+' conftest.er1 >conftest.err
39188 rm -f conftest.er1
39189 cat conftest.err >&5
39190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39191 (exit $ac_status); } && {
39192 test -z "$ac_c_werror_flag" ||
39193 test ! -s conftest.err
39194 } && test -s conftest$ac_exeext &&
39195 $as_test_x conftest$ac_exeext; then
39196 eval wx_cv_func_$wx_func=yes
39197 else
39198 echo "$as_me: failed program was:" >&5
39199 sed 's/^/| /' conftest.$ac_ext >&5
39200
39201 eval wx_cv_func_$wx_func=no
39202 fi
39203
39204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39205 conftest$ac_exeext conftest.$ac_ext
39206
39207 fi
39208 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39209 { echo "$as_me:$LINENO: result: $ac_res" >&5
39210 echo "${ECHO_T}$ac_res" >&6; }
39211
39212 if eval test \$wx_cv_func_$wx_func = yes
39213 then
39214 cat >>confdefs.h <<_ACEOF
39215 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39216 _ACEOF
39217
39218
39219 else
39220 :
39221
39222 fi
39223 done
39224
39225 if test "$wx_cv_func_uname" != yes; then
39226
39227 for wx_func in gethostname
39228 do
39229 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39230 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39231 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39232 echo $ECHO_N "(cached) $ECHO_C" >&6
39233 else
39234
39235 cat >conftest.$ac_ext <<_ACEOF
39236
39237 /* confdefs.h. */
39238 _ACEOF
39239 cat confdefs.h >>conftest.$ac_ext
39240 cat >>conftest.$ac_ext <<_ACEOF
39241 /* end confdefs.h. */
39242
39243
39244 $ac_includes_default
39245
39246 int
39247 main ()
39248 {
39249
39250 #ifndef $wx_func
39251 &$wx_func;
39252 #endif
39253
39254
39255 ;
39256 return 0;
39257 }
39258
39259 _ACEOF
39260 rm -f conftest.$ac_objext conftest$ac_exeext
39261 if { (ac_try="$ac_link"
39262 case "(($ac_try" in
39263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39264 *) ac_try_echo=$ac_try;;
39265 esac
39266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39267 (eval "$ac_link") 2>conftest.er1
39268 ac_status=$?
39269 grep -v '^ *+' conftest.er1 >conftest.err
39270 rm -f conftest.er1
39271 cat conftest.err >&5
39272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39273 (exit $ac_status); } && {
39274 test -z "$ac_c_werror_flag" ||
39275 test ! -s conftest.err
39276 } && test -s conftest$ac_exeext &&
39277 $as_test_x conftest$ac_exeext; then
39278 eval wx_cv_func_$wx_func=yes
39279 else
39280 echo "$as_me: failed program was:" >&5
39281 sed 's/^/| /' conftest.$ac_ext >&5
39282
39283 eval wx_cv_func_$wx_func=no
39284 fi
39285
39286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39287 conftest$ac_exeext conftest.$ac_ext
39288
39289 fi
39290 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39291 { echo "$as_me:$LINENO: result: $ac_res" >&5
39292 echo "${ECHO_T}$ac_res" >&6; }
39293
39294 if eval test \$wx_cv_func_$wx_func = yes
39295 then
39296 cat >>confdefs.h <<_ACEOF
39297 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39298 _ACEOF
39299
39300
39301 else
39302 :
39303
39304 fi
39305 done
39306
39307 fi
39308
39309
39310 for wx_func in strtok_r
39311 do
39312 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39313 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39314 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39315 echo $ECHO_N "(cached) $ECHO_C" >&6
39316 else
39317
39318 cat >conftest.$ac_ext <<_ACEOF
39319
39320 /* confdefs.h. */
39321 _ACEOF
39322 cat confdefs.h >>conftest.$ac_ext
39323 cat >>conftest.$ac_ext <<_ACEOF
39324 /* end confdefs.h. */
39325
39326 #define _REENTRANT
39327 $ac_includes_default
39328
39329 int
39330 main ()
39331 {
39332
39333 #ifndef $wx_func
39334 &$wx_func;
39335 #endif
39336
39337
39338 ;
39339 return 0;
39340 }
39341
39342 _ACEOF
39343 rm -f conftest.$ac_objext conftest$ac_exeext
39344 if { (ac_try="$ac_link"
39345 case "(($ac_try" in
39346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39347 *) ac_try_echo=$ac_try;;
39348 esac
39349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39350 (eval "$ac_link") 2>conftest.er1
39351 ac_status=$?
39352 grep -v '^ *+' conftest.er1 >conftest.err
39353 rm -f conftest.er1
39354 cat conftest.err >&5
39355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356 (exit $ac_status); } && {
39357 test -z "$ac_c_werror_flag" ||
39358 test ! -s conftest.err
39359 } && test -s conftest$ac_exeext &&
39360 $as_test_x conftest$ac_exeext; then
39361 eval wx_cv_func_$wx_func=yes
39362 else
39363 echo "$as_me: failed program was:" >&5
39364 sed 's/^/| /' conftest.$ac_ext >&5
39365
39366 eval wx_cv_func_$wx_func=no
39367 fi
39368
39369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39370 conftest$ac_exeext conftest.$ac_ext
39371
39372 fi
39373 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39374 { echo "$as_me:$LINENO: result: $ac_res" >&5
39375 echo "${ECHO_T}$ac_res" >&6; }
39376
39377 if eval test \$wx_cv_func_$wx_func = yes
39378 then
39379 cat >>confdefs.h <<_ACEOF
39380 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39381 _ACEOF
39382
39383
39384 else
39385 :
39386
39387 fi
39388 done
39389
39390
39391 INET_LINK=
39392
39393 for ac_func in inet_addr
39394 do
39395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39396 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39398 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39399 echo $ECHO_N "(cached) $ECHO_C" >&6
39400 else
39401 cat >conftest.$ac_ext <<_ACEOF
39402 /* confdefs.h. */
39403 _ACEOF
39404 cat confdefs.h >>conftest.$ac_ext
39405 cat >>conftest.$ac_ext <<_ACEOF
39406 /* end confdefs.h. */
39407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39409 #define $ac_func innocuous_$ac_func
39410
39411 /* System header to define __stub macros and hopefully few prototypes,
39412 which can conflict with char $ac_func (); below.
39413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39414 <limits.h> exists even on freestanding compilers. */
39415
39416 #ifdef __STDC__
39417 # include <limits.h>
39418 #else
39419 # include <assert.h>
39420 #endif
39421
39422 #undef $ac_func
39423
39424 /* Override any GCC internal prototype to avoid an error.
39425 Use char because int might match the return type of a GCC
39426 builtin and then its argument prototype would still apply. */
39427 #ifdef __cplusplus
39428 extern "C"
39429 #endif
39430 char $ac_func ();
39431 /* The GNU C library defines this for functions which it implements
39432 to always fail with ENOSYS. Some functions are actually named
39433 something starting with __ and the normal name is an alias. */
39434 #if defined __stub_$ac_func || defined __stub___$ac_func
39435 choke me
39436 #endif
39437
39438 int
39439 main ()
39440 {
39441 return $ac_func ();
39442 ;
39443 return 0;
39444 }
39445 _ACEOF
39446 rm -f conftest.$ac_objext conftest$ac_exeext
39447 if { (ac_try="$ac_link"
39448 case "(($ac_try" in
39449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39450 *) ac_try_echo=$ac_try;;
39451 esac
39452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39453 (eval "$ac_link") 2>conftest.er1
39454 ac_status=$?
39455 grep -v '^ *+' conftest.er1 >conftest.err
39456 rm -f conftest.er1
39457 cat conftest.err >&5
39458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39459 (exit $ac_status); } && {
39460 test -z "$ac_c_werror_flag" ||
39461 test ! -s conftest.err
39462 } && test -s conftest$ac_exeext &&
39463 $as_test_x conftest$ac_exeext; then
39464 eval "$as_ac_var=yes"
39465 else
39466 echo "$as_me: failed program was:" >&5
39467 sed 's/^/| /' conftest.$ac_ext >&5
39468
39469 eval "$as_ac_var=no"
39470 fi
39471
39472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39473 conftest$ac_exeext conftest.$ac_ext
39474 fi
39475 ac_res=`eval echo '${'$as_ac_var'}'`
39476 { echo "$as_me:$LINENO: result: $ac_res" >&5
39477 echo "${ECHO_T}$ac_res" >&6; }
39478 if test `eval echo '${'$as_ac_var'}'` = yes; then
39479 cat >>confdefs.h <<_ACEOF
39480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39481 _ACEOF
39482 cat >>confdefs.h <<\_ACEOF
39483 #define HAVE_INET_ADDR 1
39484 _ACEOF
39485
39486 else
39487
39488 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39489 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39490 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39491 echo $ECHO_N "(cached) $ECHO_C" >&6
39492 else
39493 ac_check_lib_save_LIBS=$LIBS
39494 LIBS="-lnsl $LIBS"
39495 cat >conftest.$ac_ext <<_ACEOF
39496 /* confdefs.h. */
39497 _ACEOF
39498 cat confdefs.h >>conftest.$ac_ext
39499 cat >>conftest.$ac_ext <<_ACEOF
39500 /* end confdefs.h. */
39501
39502 /* Override any GCC internal prototype to avoid an error.
39503 Use char because int might match the return type of a GCC
39504 builtin and then its argument prototype would still apply. */
39505 #ifdef __cplusplus
39506 extern "C"
39507 #endif
39508 char inet_addr ();
39509 int
39510 main ()
39511 {
39512 return inet_addr ();
39513 ;
39514 return 0;
39515 }
39516 _ACEOF
39517 rm -f conftest.$ac_objext conftest$ac_exeext
39518 if { (ac_try="$ac_link"
39519 case "(($ac_try" in
39520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39521 *) ac_try_echo=$ac_try;;
39522 esac
39523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39524 (eval "$ac_link") 2>conftest.er1
39525 ac_status=$?
39526 grep -v '^ *+' conftest.er1 >conftest.err
39527 rm -f conftest.er1
39528 cat conftest.err >&5
39529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39530 (exit $ac_status); } && {
39531 test -z "$ac_c_werror_flag" ||
39532 test ! -s conftest.err
39533 } && test -s conftest$ac_exeext &&
39534 $as_test_x conftest$ac_exeext; then
39535 ac_cv_lib_nsl_inet_addr=yes
39536 else
39537 echo "$as_me: failed program was:" >&5
39538 sed 's/^/| /' conftest.$ac_ext >&5
39539
39540 ac_cv_lib_nsl_inet_addr=no
39541 fi
39542
39543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39544 conftest$ac_exeext conftest.$ac_ext
39545 LIBS=$ac_check_lib_save_LIBS
39546 fi
39547 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39548 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39549 if test $ac_cv_lib_nsl_inet_addr = yes; then
39550 INET_LINK="nsl"
39551 else
39552
39553 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39554 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39555 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39556 echo $ECHO_N "(cached) $ECHO_C" >&6
39557 else
39558 ac_check_lib_save_LIBS=$LIBS
39559 LIBS="-lresolv $LIBS"
39560 cat >conftest.$ac_ext <<_ACEOF
39561 /* confdefs.h. */
39562 _ACEOF
39563 cat confdefs.h >>conftest.$ac_ext
39564 cat >>conftest.$ac_ext <<_ACEOF
39565 /* end confdefs.h. */
39566
39567 /* Override any GCC internal prototype to avoid an error.
39568 Use char because int might match the return type of a GCC
39569 builtin and then its argument prototype would still apply. */
39570 #ifdef __cplusplus
39571 extern "C"
39572 #endif
39573 char inet_addr ();
39574 int
39575 main ()
39576 {
39577 return inet_addr ();
39578 ;
39579 return 0;
39580 }
39581 _ACEOF
39582 rm -f conftest.$ac_objext conftest$ac_exeext
39583 if { (ac_try="$ac_link"
39584 case "(($ac_try" in
39585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39586 *) ac_try_echo=$ac_try;;
39587 esac
39588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39589 (eval "$ac_link") 2>conftest.er1
39590 ac_status=$?
39591 grep -v '^ *+' conftest.er1 >conftest.err
39592 rm -f conftest.er1
39593 cat conftest.err >&5
39594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39595 (exit $ac_status); } && {
39596 test -z "$ac_c_werror_flag" ||
39597 test ! -s conftest.err
39598 } && test -s conftest$ac_exeext &&
39599 $as_test_x conftest$ac_exeext; then
39600 ac_cv_lib_resolv_inet_addr=yes
39601 else
39602 echo "$as_me: failed program was:" >&5
39603 sed 's/^/| /' conftest.$ac_ext >&5
39604
39605 ac_cv_lib_resolv_inet_addr=no
39606 fi
39607
39608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39609 conftest$ac_exeext conftest.$ac_ext
39610 LIBS=$ac_check_lib_save_LIBS
39611 fi
39612 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39613 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39614 if test $ac_cv_lib_resolv_inet_addr = yes; then
39615 INET_LINK="resolv"
39616 else
39617
39618 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39619 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39620 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39621 echo $ECHO_N "(cached) $ECHO_C" >&6
39622 else
39623 ac_check_lib_save_LIBS=$LIBS
39624 LIBS="-lsocket $LIBS"
39625 cat >conftest.$ac_ext <<_ACEOF
39626 /* confdefs.h. */
39627 _ACEOF
39628 cat confdefs.h >>conftest.$ac_ext
39629 cat >>conftest.$ac_ext <<_ACEOF
39630 /* end confdefs.h. */
39631
39632 /* Override any GCC internal prototype to avoid an error.
39633 Use char because int might match the return type of a GCC
39634 builtin and then its argument prototype would still apply. */
39635 #ifdef __cplusplus
39636 extern "C"
39637 #endif
39638 char inet_addr ();
39639 int
39640 main ()
39641 {
39642 return inet_addr ();
39643 ;
39644 return 0;
39645 }
39646 _ACEOF
39647 rm -f conftest.$ac_objext conftest$ac_exeext
39648 if { (ac_try="$ac_link"
39649 case "(($ac_try" in
39650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39651 *) ac_try_echo=$ac_try;;
39652 esac
39653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39654 (eval "$ac_link") 2>conftest.er1
39655 ac_status=$?
39656 grep -v '^ *+' conftest.er1 >conftest.err
39657 rm -f conftest.er1
39658 cat conftest.err >&5
39659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39660 (exit $ac_status); } && {
39661 test -z "$ac_c_werror_flag" ||
39662 test ! -s conftest.err
39663 } && test -s conftest$ac_exeext &&
39664 $as_test_x conftest$ac_exeext; then
39665 ac_cv_lib_socket_inet_addr=yes
39666 else
39667 echo "$as_me: failed program was:" >&5
39668 sed 's/^/| /' conftest.$ac_ext >&5
39669
39670 ac_cv_lib_socket_inet_addr=no
39671 fi
39672
39673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39674 conftest$ac_exeext conftest.$ac_ext
39675 LIBS=$ac_check_lib_save_LIBS
39676 fi
39677 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39678 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39679 if test $ac_cv_lib_socket_inet_addr = yes; then
39680 INET_LINK="socket"
39681
39682 fi
39683
39684
39685
39686 fi
39687
39688
39689
39690 fi
39691
39692
39693
39694 fi
39695 done
39696
39697
39698
39699 for ac_func in inet_aton
39700 do
39701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39702 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39704 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39705 echo $ECHO_N "(cached) $ECHO_C" >&6
39706 else
39707 cat >conftest.$ac_ext <<_ACEOF
39708 /* confdefs.h. */
39709 _ACEOF
39710 cat confdefs.h >>conftest.$ac_ext
39711 cat >>conftest.$ac_ext <<_ACEOF
39712 /* end confdefs.h. */
39713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39715 #define $ac_func innocuous_$ac_func
39716
39717 /* System header to define __stub macros and hopefully few prototypes,
39718 which can conflict with char $ac_func (); below.
39719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39720 <limits.h> exists even on freestanding compilers. */
39721
39722 #ifdef __STDC__
39723 # include <limits.h>
39724 #else
39725 # include <assert.h>
39726 #endif
39727
39728 #undef $ac_func
39729
39730 /* Override any GCC internal prototype to avoid an error.
39731 Use char because int might match the return type of a GCC
39732 builtin and then its argument prototype would still apply. */
39733 #ifdef __cplusplus
39734 extern "C"
39735 #endif
39736 char $ac_func ();
39737 /* The GNU C library defines this for functions which it implements
39738 to always fail with ENOSYS. Some functions are actually named
39739 something starting with __ and the normal name is an alias. */
39740 #if defined __stub_$ac_func || defined __stub___$ac_func
39741 choke me
39742 #endif
39743
39744 int
39745 main ()
39746 {
39747 return $ac_func ();
39748 ;
39749 return 0;
39750 }
39751 _ACEOF
39752 rm -f conftest.$ac_objext conftest$ac_exeext
39753 if { (ac_try="$ac_link"
39754 case "(($ac_try" in
39755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39756 *) ac_try_echo=$ac_try;;
39757 esac
39758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39759 (eval "$ac_link") 2>conftest.er1
39760 ac_status=$?
39761 grep -v '^ *+' conftest.er1 >conftest.err
39762 rm -f conftest.er1
39763 cat conftest.err >&5
39764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39765 (exit $ac_status); } && {
39766 test -z "$ac_c_werror_flag" ||
39767 test ! -s conftest.err
39768 } && test -s conftest$ac_exeext &&
39769 $as_test_x conftest$ac_exeext; then
39770 eval "$as_ac_var=yes"
39771 else
39772 echo "$as_me: failed program was:" >&5
39773 sed 's/^/| /' conftest.$ac_ext >&5
39774
39775 eval "$as_ac_var=no"
39776 fi
39777
39778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39779 conftest$ac_exeext conftest.$ac_ext
39780 fi
39781 ac_res=`eval echo '${'$as_ac_var'}'`
39782 { echo "$as_me:$LINENO: result: $ac_res" >&5
39783 echo "${ECHO_T}$ac_res" >&6; }
39784 if test `eval echo '${'$as_ac_var'}'` = yes; then
39785 cat >>confdefs.h <<_ACEOF
39786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39787 _ACEOF
39788 cat >>confdefs.h <<\_ACEOF
39789 #define HAVE_INET_ATON 1
39790 _ACEOF
39791
39792 else
39793
39794 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39795 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39796 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39797 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39798 echo $ECHO_N "(cached) $ECHO_C" >&6
39799 else
39800 ac_check_lib_save_LIBS=$LIBS
39801 LIBS="-l$INET_LINK $LIBS"
39802 cat >conftest.$ac_ext <<_ACEOF
39803 /* confdefs.h. */
39804 _ACEOF
39805 cat confdefs.h >>conftest.$ac_ext
39806 cat >>conftest.$ac_ext <<_ACEOF
39807 /* end confdefs.h. */
39808
39809 /* Override any GCC internal prototype to avoid an error.
39810 Use char because int might match the return type of a GCC
39811 builtin and then its argument prototype would still apply. */
39812 #ifdef __cplusplus
39813 extern "C"
39814 #endif
39815 char inet_aton ();
39816 int
39817 main ()
39818 {
39819 return inet_aton ();
39820 ;
39821 return 0;
39822 }
39823 _ACEOF
39824 rm -f conftest.$ac_objext conftest$ac_exeext
39825 if { (ac_try="$ac_link"
39826 case "(($ac_try" in
39827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39828 *) ac_try_echo=$ac_try;;
39829 esac
39830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39831 (eval "$ac_link") 2>conftest.er1
39832 ac_status=$?
39833 grep -v '^ *+' conftest.er1 >conftest.err
39834 rm -f conftest.er1
39835 cat conftest.err >&5
39836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39837 (exit $ac_status); } && {
39838 test -z "$ac_c_werror_flag" ||
39839 test ! -s conftest.err
39840 } && test -s conftest$ac_exeext &&
39841 $as_test_x conftest$ac_exeext; then
39842 eval "$as_ac_Lib=yes"
39843 else
39844 echo "$as_me: failed program was:" >&5
39845 sed 's/^/| /' conftest.$ac_ext >&5
39846
39847 eval "$as_ac_Lib=no"
39848 fi
39849
39850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39851 conftest$ac_exeext conftest.$ac_ext
39852 LIBS=$ac_check_lib_save_LIBS
39853 fi
39854 ac_res=`eval echo '${'$as_ac_Lib'}'`
39855 { echo "$as_me:$LINENO: result: $ac_res" >&5
39856 echo "${ECHO_T}$ac_res" >&6; }
39857 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39858 cat >>confdefs.h <<\_ACEOF
39859 #define HAVE_INET_ATON 1
39860 _ACEOF
39861
39862 fi
39863
39864
39865 fi
39866 done
39867
39868
39869 if test "x$INET_LINK" != "x"; then
39870 cat >>confdefs.h <<\_ACEOF
39871 #define HAVE_INET_ADDR 1
39872 _ACEOF
39873
39874 INET_LINK=" -l$INET_LINK"
39875 fi
39876
39877
39878 for wx_func in fdopen
39879 do
39880 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39881 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39882 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39883 echo $ECHO_N "(cached) $ECHO_C" >&6
39884 else
39885
39886 cat >conftest.$ac_ext <<_ACEOF
39887
39888 /* confdefs.h. */
39889 _ACEOF
39890 cat confdefs.h >>conftest.$ac_ext
39891 cat >>conftest.$ac_ext <<_ACEOF
39892 /* end confdefs.h. */
39893
39894
39895 $ac_includes_default
39896
39897 int
39898 main ()
39899 {
39900
39901 #ifndef $wx_func
39902 &$wx_func;
39903 #endif
39904
39905
39906 ;
39907 return 0;
39908 }
39909
39910 _ACEOF
39911 rm -f conftest.$ac_objext conftest$ac_exeext
39912 if { (ac_try="$ac_link"
39913 case "(($ac_try" in
39914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39915 *) ac_try_echo=$ac_try;;
39916 esac
39917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39918 (eval "$ac_link") 2>conftest.er1
39919 ac_status=$?
39920 grep -v '^ *+' conftest.er1 >conftest.err
39921 rm -f conftest.er1
39922 cat conftest.err >&5
39923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924 (exit $ac_status); } && {
39925 test -z "$ac_c_werror_flag" ||
39926 test ! -s conftest.err
39927 } && test -s conftest$ac_exeext &&
39928 $as_test_x conftest$ac_exeext; then
39929 eval wx_cv_func_$wx_func=yes
39930 else
39931 echo "$as_me: failed program was:" >&5
39932 sed 's/^/| /' conftest.$ac_ext >&5
39933
39934 eval wx_cv_func_$wx_func=no
39935 fi
39936
39937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39938 conftest$ac_exeext conftest.$ac_ext
39939
39940 fi
39941 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39942 { echo "$as_me:$LINENO: result: $ac_res" >&5
39943 echo "${ECHO_T}$ac_res" >&6; }
39944
39945 if eval test \$wx_cv_func_$wx_func = yes
39946 then
39947 cat >>confdefs.h <<_ACEOF
39948 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39949 _ACEOF
39950
39951
39952 else
39953 :
39954
39955 fi
39956 done
39957
39958
39959 if test "$wxUSE_TARSTREAM" = "yes"; then
39960
39961 for wx_func in sysconf
39962 do
39963 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39964 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39965 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39966 echo $ECHO_N "(cached) $ECHO_C" >&6
39967 else
39968
39969 cat >conftest.$ac_ext <<_ACEOF
39970
39971 /* confdefs.h. */
39972 _ACEOF
39973 cat confdefs.h >>conftest.$ac_ext
39974 cat >>conftest.$ac_ext <<_ACEOF
39975 /* end confdefs.h. */
39976
39977
39978 $ac_includes_default
39979
39980 int
39981 main ()
39982 {
39983
39984 #ifndef $wx_func
39985 &$wx_func;
39986 #endif
39987
39988
39989 ;
39990 return 0;
39991 }
39992
39993 _ACEOF
39994 rm -f conftest.$ac_objext conftest$ac_exeext
39995 if { (ac_try="$ac_link"
39996 case "(($ac_try" in
39997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39998 *) ac_try_echo=$ac_try;;
39999 esac
40000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40001 (eval "$ac_link") 2>conftest.er1
40002 ac_status=$?
40003 grep -v '^ *+' conftest.er1 >conftest.err
40004 rm -f conftest.er1
40005 cat conftest.err >&5
40006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40007 (exit $ac_status); } && {
40008 test -z "$ac_c_werror_flag" ||
40009 test ! -s conftest.err
40010 } && test -s conftest$ac_exeext &&
40011 $as_test_x conftest$ac_exeext; then
40012 eval wx_cv_func_$wx_func=yes
40013 else
40014 echo "$as_me: failed program was:" >&5
40015 sed 's/^/| /' conftest.$ac_ext >&5
40016
40017 eval wx_cv_func_$wx_func=no
40018 fi
40019
40020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40021 conftest$ac_exeext conftest.$ac_ext
40022
40023 fi
40024 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40025 { echo "$as_me:$LINENO: result: $ac_res" >&5
40026 echo "${ECHO_T}$ac_res" >&6; }
40027
40028 if eval test \$wx_cv_func_$wx_func = yes
40029 then
40030 cat >>confdefs.h <<_ACEOF
40031 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40032 _ACEOF
40033
40034
40035 else
40036 :
40037
40038 fi
40039 done
40040
40041
40042
40043 for wx_func in getpwuid_r
40044 do
40045 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40046 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40047 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40048 echo $ECHO_N "(cached) $ECHO_C" >&6
40049 else
40050
40051 cat >conftest.$ac_ext <<_ACEOF
40052
40053 /* confdefs.h. */
40054 _ACEOF
40055 cat confdefs.h >>conftest.$ac_ext
40056 cat >>conftest.$ac_ext <<_ACEOF
40057 /* end confdefs.h. */
40058
40059
40060 #define _REENTRANT
40061 #include <pwd.h>
40062
40063 $ac_includes_default
40064
40065 int
40066 main ()
40067 {
40068
40069 #ifndef $wx_func
40070 &$wx_func;
40071 #endif
40072
40073 struct passwd pw, *ppw;
40074 char buf[1024];
40075 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40076
40077
40078 ;
40079 return 0;
40080 }
40081
40082 _ACEOF
40083 rm -f conftest.$ac_objext conftest$ac_exeext
40084 if { (ac_try="$ac_link"
40085 case "(($ac_try" in
40086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40087 *) ac_try_echo=$ac_try;;
40088 esac
40089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40090 (eval "$ac_link") 2>conftest.er1
40091 ac_status=$?
40092 grep -v '^ *+' conftest.er1 >conftest.err
40093 rm -f conftest.er1
40094 cat conftest.err >&5
40095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40096 (exit $ac_status); } && {
40097 test -z "$ac_c_werror_flag" ||
40098 test ! -s conftest.err
40099 } && test -s conftest$ac_exeext &&
40100 $as_test_x conftest$ac_exeext; then
40101 eval wx_cv_func_$wx_func=yes
40102 else
40103 echo "$as_me: failed program was:" >&5
40104 sed 's/^/| /' conftest.$ac_ext >&5
40105
40106 eval wx_cv_func_$wx_func=no
40107 fi
40108
40109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40110 conftest$ac_exeext conftest.$ac_ext
40111
40112 fi
40113 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40114 { echo "$as_me:$LINENO: result: $ac_res" >&5
40115 echo "${ECHO_T}$ac_res" >&6; }
40116
40117 if eval test \$wx_cv_func_$wx_func = yes
40118 then
40119 cat >>confdefs.h <<_ACEOF
40120 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40121 _ACEOF
40122
40123
40124 else
40125 :
40126
40127 fi
40128 done
40129
40130
40131
40132 for wx_func in getgrgid_r
40133 do
40134 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40135 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40136 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40137 echo $ECHO_N "(cached) $ECHO_C" >&6
40138 else
40139
40140 cat >conftest.$ac_ext <<_ACEOF
40141
40142 /* confdefs.h. */
40143 _ACEOF
40144 cat confdefs.h >>conftest.$ac_ext
40145 cat >>conftest.$ac_ext <<_ACEOF
40146 /* end confdefs.h. */
40147
40148
40149 #define _REENTRANT
40150 #include <grp.h>
40151
40152 $ac_includes_default
40153
40154 int
40155 main ()
40156 {
40157
40158 #ifndef $wx_func
40159 &$wx_func;
40160 #endif
40161
40162 struct group grp, *pgrp;
40163 char buf[1024];
40164 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40165
40166
40167 ;
40168 return 0;
40169 }
40170
40171 _ACEOF
40172 rm -f conftest.$ac_objext conftest$ac_exeext
40173 if { (ac_try="$ac_link"
40174 case "(($ac_try" in
40175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40176 *) ac_try_echo=$ac_try;;
40177 esac
40178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40179 (eval "$ac_link") 2>conftest.er1
40180 ac_status=$?
40181 grep -v '^ *+' conftest.er1 >conftest.err
40182 rm -f conftest.er1
40183 cat conftest.err >&5
40184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185 (exit $ac_status); } && {
40186 test -z "$ac_c_werror_flag" ||
40187 test ! -s conftest.err
40188 } && test -s conftest$ac_exeext &&
40189 $as_test_x conftest$ac_exeext; then
40190 eval wx_cv_func_$wx_func=yes
40191 else
40192 echo "$as_me: failed program was:" >&5
40193 sed 's/^/| /' conftest.$ac_ext >&5
40194
40195 eval wx_cv_func_$wx_func=no
40196 fi
40197
40198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40199 conftest$ac_exeext conftest.$ac_ext
40200
40201 fi
40202 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40203 { echo "$as_me:$LINENO: result: $ac_res" >&5
40204 echo "${ECHO_T}$ac_res" >&6; }
40205
40206 if eval test \$wx_cv_func_$wx_func = yes
40207 then
40208 cat >>confdefs.h <<_ACEOF
40209 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40210 _ACEOF
40211
40212
40213 else
40214 :
40215
40216 fi
40217 done
40218
40219 fi
40220
40221 fi
40222
40223
40224
40225 cat >confcache <<\_ACEOF
40226 # This file is a shell script that caches the results of configure
40227 # tests run on this system so they can be shared between configure
40228 # scripts and configure runs, see configure's option --config-cache.
40229 # It is not useful on other systems. If it contains results you don't
40230 # want to keep, you may remove or edit it.
40231 #
40232 # config.status only pays attention to the cache file if you give it
40233 # the --recheck option to rerun configure.
40234 #
40235 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40236 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40237 # following values.
40238
40239 _ACEOF
40240
40241 # The following way of writing the cache mishandles newlines in values,
40242 # but we know of no workaround that is simple, portable, and efficient.
40243 # So, we kill variables containing newlines.
40244 # Ultrix sh set writes to stderr and can't be redirected directly,
40245 # and sets the high bit in the cache file unless we assign to the vars.
40246 (
40247 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40248 eval ac_val=\$$ac_var
40249 case $ac_val in #(
40250 *${as_nl}*)
40251 case $ac_var in #(
40252 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40253 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40254 esac
40255 case $ac_var in #(
40256 _ | IFS | as_nl) ;; #(
40257 *) $as_unset $ac_var ;;
40258 esac ;;
40259 esac
40260 done
40261
40262 (set) 2>&1 |
40263 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40264 *${as_nl}ac_space=\ *)
40265 # `set' does not quote correctly, so add quotes (double-quote
40266 # substitution turns \\\\ into \\, and sed turns \\ into \).
40267 sed -n \
40268 "s/'/'\\\\''/g;
40269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40270 ;; #(
40271 *)
40272 # `set' quotes correctly as required by POSIX, so do not add quotes.
40273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40274 ;;
40275 esac |
40276 sort
40277 ) |
40278 sed '
40279 /^ac_cv_env_/b end
40280 t clear
40281 :clear
40282 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40283 t end
40284 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40285 :end' >>confcache
40286 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40287 if test -w "$cache_file"; then
40288 test "x$cache_file" != "x/dev/null" &&
40289 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40290 echo "$as_me: updating cache $cache_file" >&6;}
40291 cat confcache >$cache_file
40292 else
40293 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40294 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40295 fi
40296 fi
40297 rm -f confcache
40298
40299
40300 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40301
40302
40303 THREADS_LINK=
40304 THREADS_CFLAGS=
40305
40306 if test "$wxUSE_THREADS" = "yes" ; then
40307 if test "$USE_BEOS" = 1; then
40308 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40309 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40310 wxUSE_THREADS="no"
40311 fi
40312 fi
40313
40314 if test "$wxUSE_THREADS" = "yes" ; then
40315
40316
40317 THREAD_OPTS="-pthread"
40318 if test "x$SUNCXX" = xyes; then
40319 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40320 fi
40321
40322 case "${host}" in
40323 *-*-solaris2* | *-*-sunos4* )
40324 if test "x$GCC" = "xyes"; then
40325 THREAD_OPTS="-pthreads $THREAD_OPTS"
40326 fi
40327 ;;
40328 *-*-freebsd*)
40329 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40330 ;;
40331 *-*-darwin* | *-*-cygwin* )
40332 THREAD_OPTS=""
40333 ;;
40334 *-*-aix*)
40335 THREAD_OPTS="pthreads"
40336 ;;
40337 *-hp-hpux* )
40338 if test "x$GCC" = "xyes"; then
40339 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40340 THREAD_OPTS=""
40341 else
40342 THREAD_OPTS="-mt"
40343 fi
40344 ;;
40345
40346 *-*-irix* )
40347 if test "x$GCC" = "xyes"; then
40348 THREAD_OPTS=""
40349 fi
40350 ;;
40351
40352 *-*-qnx*)
40353 THREAD_OPTS=""
40354 ;;
40355
40356 *-*-*UnixWare*)
40357 if test "x$GCC" != "xyes"; then
40358 THREAD_OPTS="-Ethread"
40359 fi
40360 ;;
40361 esac
40362
40363 case "${host}" in
40364 *-*-qnx*)
40365 THREAD_OPTS="none pthread"
40366 ;;
40367
40368 *)
40369 THREAD_OPTS="$THREAD_OPTS pthread none"
40370 ;;
40371 esac
40372
40373 THREADS_OK=no
40374 for flag in $THREAD_OPTS; do
40375 case $flag in
40376 none)
40377 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40378 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40379 ;;
40380
40381 -*)
40382 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40383 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40384 THREADS_CFLAGS="$flag"
40385 ;;
40386
40387 *)
40388 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40389 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40390 THREADS_LINK="-l$flag"
40391 ;;
40392 esac
40393
40394 save_LIBS="$LIBS"
40395 save_CFLAGS="$CFLAGS"
40396 LIBS="$THREADS_LINK $LIBS"
40397 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40398
40399 cat >conftest.$ac_ext <<_ACEOF
40400 /* confdefs.h. */
40401 _ACEOF
40402 cat confdefs.h >>conftest.$ac_ext
40403 cat >>conftest.$ac_ext <<_ACEOF
40404 /* end confdefs.h. */
40405 #include <pthread.h>
40406 int
40407 main ()
40408 {
40409 pthread_create(0,0,0,0);
40410 ;
40411 return 0;
40412 }
40413 _ACEOF
40414 rm -f conftest.$ac_objext conftest$ac_exeext
40415 if { (ac_try="$ac_link"
40416 case "(($ac_try" in
40417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40418 *) ac_try_echo=$ac_try;;
40419 esac
40420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40421 (eval "$ac_link") 2>conftest.er1
40422 ac_status=$?
40423 grep -v '^ *+' conftest.er1 >conftest.err
40424 rm -f conftest.er1
40425 cat conftest.err >&5
40426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40427 (exit $ac_status); } && {
40428 test -z "$ac_c_werror_flag" ||
40429 test ! -s conftest.err
40430 } && test -s conftest$ac_exeext &&
40431 $as_test_x conftest$ac_exeext; then
40432 THREADS_OK=yes
40433 else
40434 echo "$as_me: failed program was:" >&5
40435 sed 's/^/| /' conftest.$ac_ext >&5
40436
40437
40438 fi
40439
40440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40441 conftest$ac_exeext conftest.$ac_ext
40442
40443 LIBS="$save_LIBS"
40444 CFLAGS="$save_CFLAGS"
40445
40446 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40447 echo "${ECHO_T}$THREADS_OK" >&6; }
40448 if test "x$THREADS_OK" = "xyes"; then
40449 break;
40450 fi
40451
40452 THREADS_LINK=""
40453 THREADS_CFLAGS=""
40454 done
40455
40456 if test "x$THREADS_OK" != "xyes"; then
40457 wxUSE_THREADS=no
40458 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40459 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40460 else
40461 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40462 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40463 LIBS="$THREADS_LINK $LIBS"
40464
40465 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40466 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40467 flag=no
40468 case "${host}" in
40469 *-aix*)
40470 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40471 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40472 flag="-D_THREAD_SAFE"
40473 ;;
40474 *-freebsd*)
40475 flag="-D_THREAD_SAFE"
40476 ;;
40477 *-hp-hpux* )
40478 flag="-D_REENTRANT"
40479 if test "x$GCC" != "xyes"; then
40480 flag="$flag -D_RWSTD_MULTI_THREAD"
40481 fi
40482 ;;
40483 *solaris* | alpha*-osf*)
40484 flag="-D_REENTRANT"
40485 ;;
40486 esac
40487 { echo "$as_me:$LINENO: result: ${flag}" >&5
40488 echo "${ECHO_T}${flag}" >&6; }
40489 if test "x$flag" != xno; then
40490 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40491 fi
40492
40493 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40494 fi
40495 fi
40496
40497 if test "$wxUSE_THREADS" = "yes" ; then
40498
40499 for ac_func in thr_setconcurrency
40500 do
40501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40502 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40504 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40505 echo $ECHO_N "(cached) $ECHO_C" >&6
40506 else
40507 cat >conftest.$ac_ext <<_ACEOF
40508 /* confdefs.h. */
40509 _ACEOF
40510 cat confdefs.h >>conftest.$ac_ext
40511 cat >>conftest.$ac_ext <<_ACEOF
40512 /* end confdefs.h. */
40513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40515 #define $ac_func innocuous_$ac_func
40516
40517 /* System header to define __stub macros and hopefully few prototypes,
40518 which can conflict with char $ac_func (); below.
40519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40520 <limits.h> exists even on freestanding compilers. */
40521
40522 #ifdef __STDC__
40523 # include <limits.h>
40524 #else
40525 # include <assert.h>
40526 #endif
40527
40528 #undef $ac_func
40529
40530 /* Override any GCC internal prototype to avoid an error.
40531 Use char because int might match the return type of a GCC
40532 builtin and then its argument prototype would still apply. */
40533 #ifdef __cplusplus
40534 extern "C"
40535 #endif
40536 char $ac_func ();
40537 /* The GNU C library defines this for functions which it implements
40538 to always fail with ENOSYS. Some functions are actually named
40539 something starting with __ and the normal name is an alias. */
40540 #if defined __stub_$ac_func || defined __stub___$ac_func
40541 choke me
40542 #endif
40543
40544 int
40545 main ()
40546 {
40547 return $ac_func ();
40548 ;
40549 return 0;
40550 }
40551 _ACEOF
40552 rm -f conftest.$ac_objext conftest$ac_exeext
40553 if { (ac_try="$ac_link"
40554 case "(($ac_try" in
40555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40556 *) ac_try_echo=$ac_try;;
40557 esac
40558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40559 (eval "$ac_link") 2>conftest.er1
40560 ac_status=$?
40561 grep -v '^ *+' conftest.er1 >conftest.err
40562 rm -f conftest.er1
40563 cat conftest.err >&5
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); } && {
40566 test -z "$ac_c_werror_flag" ||
40567 test ! -s conftest.err
40568 } && test -s conftest$ac_exeext &&
40569 $as_test_x conftest$ac_exeext; then
40570 eval "$as_ac_var=yes"
40571 else
40572 echo "$as_me: failed program was:" >&5
40573 sed 's/^/| /' conftest.$ac_ext >&5
40574
40575 eval "$as_ac_var=no"
40576 fi
40577
40578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40579 conftest$ac_exeext conftest.$ac_ext
40580 fi
40581 ac_res=`eval echo '${'$as_ac_var'}'`
40582 { echo "$as_me:$LINENO: result: $ac_res" >&5
40583 echo "${ECHO_T}$ac_res" >&6; }
40584 if test `eval echo '${'$as_ac_var'}'` = yes; then
40585 cat >>confdefs.h <<_ACEOF
40586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40587 _ACEOF
40588
40589 fi
40590 done
40591
40592
40593 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40594 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40595 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40596 echo $ECHO_N "(cached) $ECHO_C" >&6
40597 else
40598
40599 ac_ext=cpp
40600 ac_cpp='$CXXCPP $CPPFLAGS'
40601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40604
40605 cat >conftest.$ac_ext <<_ACEOF
40606 /* confdefs.h. */
40607 _ACEOF
40608 cat confdefs.h >>conftest.$ac_ext
40609 cat >>conftest.$ac_ext <<_ACEOF
40610 /* end confdefs.h. */
40611 #include <pthread.h>
40612 void ThreadCleanupFunc(void *p);
40613
40614 int
40615 main ()
40616 {
40617
40618 void *p;
40619 pthread_cleanup_push(ThreadCleanupFunc, p);
40620 pthread_cleanup_pop(0);
40621
40622 ;
40623 return 0;
40624 }
40625 _ACEOF
40626 rm -f conftest.$ac_objext
40627 if { (ac_try="$ac_compile"
40628 case "(($ac_try" in
40629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40630 *) ac_try_echo=$ac_try;;
40631 esac
40632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40633 (eval "$ac_compile") 2>conftest.er1
40634 ac_status=$?
40635 grep -v '^ *+' conftest.er1 >conftest.err
40636 rm -f conftest.er1
40637 cat conftest.err >&5
40638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40639 (exit $ac_status); } && {
40640 test -z "$ac_cxx_werror_flag" ||
40641 test ! -s conftest.err
40642 } && test -s conftest.$ac_objext; then
40643
40644 wx_cv_func_pthread_cleanup=yes
40645
40646 else
40647 echo "$as_me: failed program was:" >&5
40648 sed 's/^/| /' conftest.$ac_ext >&5
40649
40650
40651 wx_cv_func_pthread_cleanup=no
40652
40653
40654 fi
40655
40656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40657 ac_ext=c
40658 ac_cpp='$CPP $CPPFLAGS'
40659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40662
40663
40664 fi
40665 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40666 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40667 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40668 cat >>confdefs.h <<\_ACEOF
40669 #define wxHAVE_PTHREAD_CLEANUP 1
40670 _ACEOF
40671
40672 fi
40673
40674
40675 for ac_header in sched.h
40676 do
40677 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40678 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40681 echo $ECHO_N "(cached) $ECHO_C" >&6
40682 else
40683 cat >conftest.$ac_ext <<_ACEOF
40684 /* confdefs.h. */
40685 _ACEOF
40686 cat confdefs.h >>conftest.$ac_ext
40687 cat >>conftest.$ac_ext <<_ACEOF
40688 /* end confdefs.h. */
40689 $ac_includes_default
40690
40691 #include <$ac_header>
40692 _ACEOF
40693 rm -f conftest.$ac_objext
40694 if { (ac_try="$ac_compile"
40695 case "(($ac_try" in
40696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40697 *) ac_try_echo=$ac_try;;
40698 esac
40699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40700 (eval "$ac_compile") 2>conftest.er1
40701 ac_status=$?
40702 grep -v '^ *+' conftest.er1 >conftest.err
40703 rm -f conftest.er1
40704 cat conftest.err >&5
40705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40706 (exit $ac_status); } && {
40707 test -z "$ac_c_werror_flag" ||
40708 test ! -s conftest.err
40709 } && test -s conftest.$ac_objext; then
40710 eval "$as_ac_Header=yes"
40711 else
40712 echo "$as_me: failed program was:" >&5
40713 sed 's/^/| /' conftest.$ac_ext >&5
40714
40715 eval "$as_ac_Header=no"
40716 fi
40717
40718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40719 fi
40720 ac_res=`eval echo '${'$as_ac_Header'}'`
40721 { echo "$as_me:$LINENO: result: $ac_res" >&5
40722 echo "${ECHO_T}$ac_res" >&6; }
40723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40724 cat >>confdefs.h <<_ACEOF
40725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40726 _ACEOF
40727
40728 fi
40729
40730 done
40731
40732 if test "$ac_cv_header_sched_h" = "yes"; then
40733 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40734 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40735 if test "${ac_cv_func_sched_yield+set}" = set; then
40736 echo $ECHO_N "(cached) $ECHO_C" >&6
40737 else
40738 cat >conftest.$ac_ext <<_ACEOF
40739 /* confdefs.h. */
40740 _ACEOF
40741 cat confdefs.h >>conftest.$ac_ext
40742 cat >>conftest.$ac_ext <<_ACEOF
40743 /* end confdefs.h. */
40744 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40746 #define sched_yield innocuous_sched_yield
40747
40748 /* System header to define __stub macros and hopefully few prototypes,
40749 which can conflict with char sched_yield (); below.
40750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40751 <limits.h> exists even on freestanding compilers. */
40752
40753 #ifdef __STDC__
40754 # include <limits.h>
40755 #else
40756 # include <assert.h>
40757 #endif
40758
40759 #undef sched_yield
40760
40761 /* Override any GCC internal prototype to avoid an error.
40762 Use char because int might match the return type of a GCC
40763 builtin and then its argument prototype would still apply. */
40764 #ifdef __cplusplus
40765 extern "C"
40766 #endif
40767 char sched_yield ();
40768 /* The GNU C library defines this for functions which it implements
40769 to always fail with ENOSYS. Some functions are actually named
40770 something starting with __ and the normal name is an alias. */
40771 #if defined __stub_sched_yield || defined __stub___sched_yield
40772 choke me
40773 #endif
40774
40775 int
40776 main ()
40777 {
40778 return sched_yield ();
40779 ;
40780 return 0;
40781 }
40782 _ACEOF
40783 rm -f conftest.$ac_objext conftest$ac_exeext
40784 if { (ac_try="$ac_link"
40785 case "(($ac_try" in
40786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40787 *) ac_try_echo=$ac_try;;
40788 esac
40789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40790 (eval "$ac_link") 2>conftest.er1
40791 ac_status=$?
40792 grep -v '^ *+' conftest.er1 >conftest.err
40793 rm -f conftest.er1
40794 cat conftest.err >&5
40795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40796 (exit $ac_status); } && {
40797 test -z "$ac_c_werror_flag" ||
40798 test ! -s conftest.err
40799 } && test -s conftest$ac_exeext &&
40800 $as_test_x conftest$ac_exeext; then
40801 ac_cv_func_sched_yield=yes
40802 else
40803 echo "$as_me: failed program was:" >&5
40804 sed 's/^/| /' conftest.$ac_ext >&5
40805
40806 ac_cv_func_sched_yield=no
40807 fi
40808
40809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40810 conftest$ac_exeext conftest.$ac_ext
40811 fi
40812 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40813 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40814 if test $ac_cv_func_sched_yield = yes; then
40815 cat >>confdefs.h <<\_ACEOF
40816 #define HAVE_SCHED_YIELD 1
40817 _ACEOF
40818
40819 else
40820
40821 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40822 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40823 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40824 echo $ECHO_N "(cached) $ECHO_C" >&6
40825 else
40826 ac_check_lib_save_LIBS=$LIBS
40827 LIBS="-lposix4 $LIBS"
40828 cat >conftest.$ac_ext <<_ACEOF
40829 /* confdefs.h. */
40830 _ACEOF
40831 cat confdefs.h >>conftest.$ac_ext
40832 cat >>conftest.$ac_ext <<_ACEOF
40833 /* end confdefs.h. */
40834
40835 /* Override any GCC internal prototype to avoid an error.
40836 Use char because int might match the return type of a GCC
40837 builtin and then its argument prototype would still apply. */
40838 #ifdef __cplusplus
40839 extern "C"
40840 #endif
40841 char sched_yield ();
40842 int
40843 main ()
40844 {
40845 return sched_yield ();
40846 ;
40847 return 0;
40848 }
40849 _ACEOF
40850 rm -f conftest.$ac_objext conftest$ac_exeext
40851 if { (ac_try="$ac_link"
40852 case "(($ac_try" in
40853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40854 *) ac_try_echo=$ac_try;;
40855 esac
40856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40857 (eval "$ac_link") 2>conftest.er1
40858 ac_status=$?
40859 grep -v '^ *+' conftest.er1 >conftest.err
40860 rm -f conftest.er1
40861 cat conftest.err >&5
40862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40863 (exit $ac_status); } && {
40864 test -z "$ac_c_werror_flag" ||
40865 test ! -s conftest.err
40866 } && test -s conftest$ac_exeext &&
40867 $as_test_x conftest$ac_exeext; then
40868 ac_cv_lib_posix4_sched_yield=yes
40869 else
40870 echo "$as_me: failed program was:" >&5
40871 sed 's/^/| /' conftest.$ac_ext >&5
40872
40873 ac_cv_lib_posix4_sched_yield=no
40874 fi
40875
40876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40877 conftest$ac_exeext conftest.$ac_ext
40878 LIBS=$ac_check_lib_save_LIBS
40879 fi
40880 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40881 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40882 if test $ac_cv_lib_posix4_sched_yield = yes; then
40883 cat >>confdefs.h <<\_ACEOF
40884 #define HAVE_SCHED_YIELD 1
40885 _ACEOF
40886 POSIX4_LINK=" -lposix4"
40887 else
40888 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40889 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40890
40891 fi
40892
40893
40894
40895 fi
40896
40897 fi
40898
40899 HAVE_PRIOR_FUNCS=0
40900 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40901 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40902 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40903 echo $ECHO_N "(cached) $ECHO_C" >&6
40904 else
40905 cat >conftest.$ac_ext <<_ACEOF
40906 /* confdefs.h. */
40907 _ACEOF
40908 cat confdefs.h >>conftest.$ac_ext
40909 cat >>conftest.$ac_ext <<_ACEOF
40910 /* end confdefs.h. */
40911 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40913 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40914
40915 /* System header to define __stub macros and hopefully few prototypes,
40916 which can conflict with char pthread_attr_getschedpolicy (); below.
40917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40918 <limits.h> exists even on freestanding compilers. */
40919
40920 #ifdef __STDC__
40921 # include <limits.h>
40922 #else
40923 # include <assert.h>
40924 #endif
40925
40926 #undef pthread_attr_getschedpolicy
40927
40928 /* Override any GCC internal prototype to avoid an error.
40929 Use char because int might match the return type of a GCC
40930 builtin and then its argument prototype would still apply. */
40931 #ifdef __cplusplus
40932 extern "C"
40933 #endif
40934 char pthread_attr_getschedpolicy ();
40935 /* The GNU C library defines this for functions which it implements
40936 to always fail with ENOSYS. Some functions are actually named
40937 something starting with __ and the normal name is an alias. */
40938 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40939 choke me
40940 #endif
40941
40942 int
40943 main ()
40944 {
40945 return pthread_attr_getschedpolicy ();
40946 ;
40947 return 0;
40948 }
40949 _ACEOF
40950 rm -f conftest.$ac_objext conftest$ac_exeext
40951 if { (ac_try="$ac_link"
40952 case "(($ac_try" in
40953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40954 *) ac_try_echo=$ac_try;;
40955 esac
40956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40957 (eval "$ac_link") 2>conftest.er1
40958 ac_status=$?
40959 grep -v '^ *+' conftest.er1 >conftest.err
40960 rm -f conftest.er1
40961 cat conftest.err >&5
40962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40963 (exit $ac_status); } && {
40964 test -z "$ac_c_werror_flag" ||
40965 test ! -s conftest.err
40966 } && test -s conftest$ac_exeext &&
40967 $as_test_x conftest$ac_exeext; then
40968 ac_cv_func_pthread_attr_getschedpolicy=yes
40969 else
40970 echo "$as_me: failed program was:" >&5
40971 sed 's/^/| /' conftest.$ac_ext >&5
40972
40973 ac_cv_func_pthread_attr_getschedpolicy=no
40974 fi
40975
40976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40977 conftest$ac_exeext conftest.$ac_ext
40978 fi
40979 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40980 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40981 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40982 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40983 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40984 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40985 echo $ECHO_N "(cached) $ECHO_C" >&6
40986 else
40987 cat >conftest.$ac_ext <<_ACEOF
40988 /* confdefs.h. */
40989 _ACEOF
40990 cat confdefs.h >>conftest.$ac_ext
40991 cat >>conftest.$ac_ext <<_ACEOF
40992 /* end confdefs.h. */
40993 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40995 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40996
40997 /* System header to define __stub macros and hopefully few prototypes,
40998 which can conflict with char pthread_attr_setschedparam (); below.
40999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41000 <limits.h> exists even on freestanding compilers. */
41001
41002 #ifdef __STDC__
41003 # include <limits.h>
41004 #else
41005 # include <assert.h>
41006 #endif
41007
41008 #undef pthread_attr_setschedparam
41009
41010 /* Override any GCC internal prototype to avoid an error.
41011 Use char because int might match the return type of a GCC
41012 builtin and then its argument prototype would still apply. */
41013 #ifdef __cplusplus
41014 extern "C"
41015 #endif
41016 char pthread_attr_setschedparam ();
41017 /* The GNU C library defines this for functions which it implements
41018 to always fail with ENOSYS. Some functions are actually named
41019 something starting with __ and the normal name is an alias. */
41020 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41021 choke me
41022 #endif
41023
41024 int
41025 main ()
41026 {
41027 return pthread_attr_setschedparam ();
41028 ;
41029 return 0;
41030 }
41031 _ACEOF
41032 rm -f conftest.$ac_objext conftest$ac_exeext
41033 if { (ac_try="$ac_link"
41034 case "(($ac_try" in
41035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41036 *) ac_try_echo=$ac_try;;
41037 esac
41038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41039 (eval "$ac_link") 2>conftest.er1
41040 ac_status=$?
41041 grep -v '^ *+' conftest.er1 >conftest.err
41042 rm -f conftest.er1
41043 cat conftest.err >&5
41044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41045 (exit $ac_status); } && {
41046 test -z "$ac_c_werror_flag" ||
41047 test ! -s conftest.err
41048 } && test -s conftest$ac_exeext &&
41049 $as_test_x conftest$ac_exeext; then
41050 ac_cv_func_pthread_attr_setschedparam=yes
41051 else
41052 echo "$as_me: failed program was:" >&5
41053 sed 's/^/| /' conftest.$ac_ext >&5
41054
41055 ac_cv_func_pthread_attr_setschedparam=no
41056 fi
41057
41058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41059 conftest$ac_exeext conftest.$ac_ext
41060 fi
41061 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41062 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41063 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41064 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41065 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41066 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41067 echo $ECHO_N "(cached) $ECHO_C" >&6
41068 else
41069 cat >conftest.$ac_ext <<_ACEOF
41070 /* confdefs.h. */
41071 _ACEOF
41072 cat confdefs.h >>conftest.$ac_ext
41073 cat >>conftest.$ac_ext <<_ACEOF
41074 /* end confdefs.h. */
41075 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41077 #define sched_get_priority_max innocuous_sched_get_priority_max
41078
41079 /* System header to define __stub macros and hopefully few prototypes,
41080 which can conflict with char sched_get_priority_max (); below.
41081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41082 <limits.h> exists even on freestanding compilers. */
41083
41084 #ifdef __STDC__
41085 # include <limits.h>
41086 #else
41087 # include <assert.h>
41088 #endif
41089
41090 #undef sched_get_priority_max
41091
41092 /* Override any GCC internal prototype to avoid an error.
41093 Use char because int might match the return type of a GCC
41094 builtin and then its argument prototype would still apply. */
41095 #ifdef __cplusplus
41096 extern "C"
41097 #endif
41098 char sched_get_priority_max ();
41099 /* The GNU C library defines this for functions which it implements
41100 to always fail with ENOSYS. Some functions are actually named
41101 something starting with __ and the normal name is an alias. */
41102 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41103 choke me
41104 #endif
41105
41106 int
41107 main ()
41108 {
41109 return sched_get_priority_max ();
41110 ;
41111 return 0;
41112 }
41113 _ACEOF
41114 rm -f conftest.$ac_objext conftest$ac_exeext
41115 if { (ac_try="$ac_link"
41116 case "(($ac_try" in
41117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41118 *) ac_try_echo=$ac_try;;
41119 esac
41120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41121 (eval "$ac_link") 2>conftest.er1
41122 ac_status=$?
41123 grep -v '^ *+' conftest.er1 >conftest.err
41124 rm -f conftest.er1
41125 cat conftest.err >&5
41126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41127 (exit $ac_status); } && {
41128 test -z "$ac_c_werror_flag" ||
41129 test ! -s conftest.err
41130 } && test -s conftest$ac_exeext &&
41131 $as_test_x conftest$ac_exeext; then
41132 ac_cv_func_sched_get_priority_max=yes
41133 else
41134 echo "$as_me: failed program was:" >&5
41135 sed 's/^/| /' conftest.$ac_ext >&5
41136
41137 ac_cv_func_sched_get_priority_max=no
41138 fi
41139
41140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41141 conftest$ac_exeext conftest.$ac_ext
41142 fi
41143 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41144 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41145 if test $ac_cv_func_sched_get_priority_max = yes; then
41146 HAVE_PRIOR_FUNCS=1
41147 else
41148 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41149 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41150 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41151 echo $ECHO_N "(cached) $ECHO_C" >&6
41152 else
41153 ac_check_lib_save_LIBS=$LIBS
41154 LIBS="-lposix4 $LIBS"
41155 cat >conftest.$ac_ext <<_ACEOF
41156 /* confdefs.h. */
41157 _ACEOF
41158 cat confdefs.h >>conftest.$ac_ext
41159 cat >>conftest.$ac_ext <<_ACEOF
41160 /* end confdefs.h. */
41161
41162 /* Override any GCC internal prototype to avoid an error.
41163 Use char because int might match the return type of a GCC
41164 builtin and then its argument prototype would still apply. */
41165 #ifdef __cplusplus
41166 extern "C"
41167 #endif
41168 char sched_get_priority_max ();
41169 int
41170 main ()
41171 {
41172 return sched_get_priority_max ();
41173 ;
41174 return 0;
41175 }
41176 _ACEOF
41177 rm -f conftest.$ac_objext conftest$ac_exeext
41178 if { (ac_try="$ac_link"
41179 case "(($ac_try" in
41180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41181 *) ac_try_echo=$ac_try;;
41182 esac
41183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41184 (eval "$ac_link") 2>conftest.er1
41185 ac_status=$?
41186 grep -v '^ *+' conftest.er1 >conftest.err
41187 rm -f conftest.er1
41188 cat conftest.err >&5
41189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41190 (exit $ac_status); } && {
41191 test -z "$ac_c_werror_flag" ||
41192 test ! -s conftest.err
41193 } && test -s conftest$ac_exeext &&
41194 $as_test_x conftest$ac_exeext; then
41195 ac_cv_lib_posix4_sched_get_priority_max=yes
41196 else
41197 echo "$as_me: failed program was:" >&5
41198 sed 's/^/| /' conftest.$ac_ext >&5
41199
41200 ac_cv_lib_posix4_sched_get_priority_max=no
41201 fi
41202
41203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41204 conftest$ac_exeext conftest.$ac_ext
41205 LIBS=$ac_check_lib_save_LIBS
41206 fi
41207 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41208 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41209 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41210
41211 HAVE_PRIOR_FUNCS=1
41212 POSIX4_LINK=" -lposix4"
41213
41214 fi
41215
41216
41217 fi
41218
41219
41220 fi
41221
41222
41223 fi
41224
41225
41226 if test "$HAVE_PRIOR_FUNCS" = 1; then
41227 cat >>confdefs.h <<\_ACEOF
41228 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41229 _ACEOF
41230
41231 else
41232 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41233 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41234 fi
41235
41236 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41237 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41238 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41239 echo $ECHO_N "(cached) $ECHO_C" >&6
41240 else
41241 cat >conftest.$ac_ext <<_ACEOF
41242 /* confdefs.h. */
41243 _ACEOF
41244 cat confdefs.h >>conftest.$ac_ext
41245 cat >>conftest.$ac_ext <<_ACEOF
41246 /* end confdefs.h. */
41247 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41249 #define pthread_cancel innocuous_pthread_cancel
41250
41251 /* System header to define __stub macros and hopefully few prototypes,
41252 which can conflict with char pthread_cancel (); below.
41253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41254 <limits.h> exists even on freestanding compilers. */
41255
41256 #ifdef __STDC__
41257 # include <limits.h>
41258 #else
41259 # include <assert.h>
41260 #endif
41261
41262 #undef pthread_cancel
41263
41264 /* Override any GCC internal prototype to avoid an error.
41265 Use char because int might match the return type of a GCC
41266 builtin and then its argument prototype would still apply. */
41267 #ifdef __cplusplus
41268 extern "C"
41269 #endif
41270 char pthread_cancel ();
41271 /* The GNU C library defines this for functions which it implements
41272 to always fail with ENOSYS. Some functions are actually named
41273 something starting with __ and the normal name is an alias. */
41274 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41275 choke me
41276 #endif
41277
41278 int
41279 main ()
41280 {
41281 return pthread_cancel ();
41282 ;
41283 return 0;
41284 }
41285 _ACEOF
41286 rm -f conftest.$ac_objext conftest$ac_exeext
41287 if { (ac_try="$ac_link"
41288 case "(($ac_try" in
41289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41290 *) ac_try_echo=$ac_try;;
41291 esac
41292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41293 (eval "$ac_link") 2>conftest.er1
41294 ac_status=$?
41295 grep -v '^ *+' conftest.er1 >conftest.err
41296 rm -f conftest.er1
41297 cat conftest.err >&5
41298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41299 (exit $ac_status); } && {
41300 test -z "$ac_c_werror_flag" ||
41301 test ! -s conftest.err
41302 } && test -s conftest$ac_exeext &&
41303 $as_test_x conftest$ac_exeext; then
41304 ac_cv_func_pthread_cancel=yes
41305 else
41306 echo "$as_me: failed program was:" >&5
41307 sed 's/^/| /' conftest.$ac_ext >&5
41308
41309 ac_cv_func_pthread_cancel=no
41310 fi
41311
41312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41313 conftest$ac_exeext conftest.$ac_ext
41314 fi
41315 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41316 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41317 if test $ac_cv_func_pthread_cancel = yes; then
41318 cat >>confdefs.h <<\_ACEOF
41319 #define HAVE_PTHREAD_CANCEL 1
41320 _ACEOF
41321
41322 else
41323 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41324 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41325 fi
41326
41327
41328 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41329 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41330 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41331 echo $ECHO_N "(cached) $ECHO_C" >&6
41332 else
41333 cat >conftest.$ac_ext <<_ACEOF
41334 /* confdefs.h. */
41335 _ACEOF
41336 cat confdefs.h >>conftest.$ac_ext
41337 cat >>conftest.$ac_ext <<_ACEOF
41338 /* end confdefs.h. */
41339 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41341 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41342
41343 /* System header to define __stub macros and hopefully few prototypes,
41344 which can conflict with char pthread_mutex_timedlock (); below.
41345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41346 <limits.h> exists even on freestanding compilers. */
41347
41348 #ifdef __STDC__
41349 # include <limits.h>
41350 #else
41351 # include <assert.h>
41352 #endif
41353
41354 #undef pthread_mutex_timedlock
41355
41356 /* Override any GCC internal prototype to avoid an error.
41357 Use char because int might match the return type of a GCC
41358 builtin and then its argument prototype would still apply. */
41359 #ifdef __cplusplus
41360 extern "C"
41361 #endif
41362 char pthread_mutex_timedlock ();
41363 /* The GNU C library defines this for functions which it implements
41364 to always fail with ENOSYS. Some functions are actually named
41365 something starting with __ and the normal name is an alias. */
41366 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41367 choke me
41368 #endif
41369
41370 int
41371 main ()
41372 {
41373 return pthread_mutex_timedlock ();
41374 ;
41375 return 0;
41376 }
41377 _ACEOF
41378 rm -f conftest.$ac_objext conftest$ac_exeext
41379 if { (ac_try="$ac_link"
41380 case "(($ac_try" in
41381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41382 *) ac_try_echo=$ac_try;;
41383 esac
41384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41385 (eval "$ac_link") 2>conftest.er1
41386 ac_status=$?
41387 grep -v '^ *+' conftest.er1 >conftest.err
41388 rm -f conftest.er1
41389 cat conftest.err >&5
41390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41391 (exit $ac_status); } && {
41392 test -z "$ac_c_werror_flag" ||
41393 test ! -s conftest.err
41394 } && test -s conftest$ac_exeext &&
41395 $as_test_x conftest$ac_exeext; then
41396 ac_cv_func_pthread_mutex_timedlock=yes
41397 else
41398 echo "$as_me: failed program was:" >&5
41399 sed 's/^/| /' conftest.$ac_ext >&5
41400
41401 ac_cv_func_pthread_mutex_timedlock=no
41402 fi
41403
41404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41405 conftest$ac_exeext conftest.$ac_ext
41406 fi
41407 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41408 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41409 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41410 cat >>confdefs.h <<\_ACEOF
41411 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41412 _ACEOF
41413
41414 else
41415 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41416 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41417 fi
41418
41419
41420 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41421 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41422 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41423 echo $ECHO_N "(cached) $ECHO_C" >&6
41424 else
41425 cat >conftest.$ac_ext <<_ACEOF
41426 /* confdefs.h. */
41427 _ACEOF
41428 cat confdefs.h >>conftest.$ac_ext
41429 cat >>conftest.$ac_ext <<_ACEOF
41430 /* end confdefs.h. */
41431 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41433 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41434
41435 /* System header to define __stub macros and hopefully few prototypes,
41436 which can conflict with char pthread_attr_setstacksize (); below.
41437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41438 <limits.h> exists even on freestanding compilers. */
41439
41440 #ifdef __STDC__
41441 # include <limits.h>
41442 #else
41443 # include <assert.h>
41444 #endif
41445
41446 #undef pthread_attr_setstacksize
41447
41448 /* Override any GCC internal prototype to avoid an error.
41449 Use char because int might match the return type of a GCC
41450 builtin and then its argument prototype would still apply. */
41451 #ifdef __cplusplus
41452 extern "C"
41453 #endif
41454 char pthread_attr_setstacksize ();
41455 /* The GNU C library defines this for functions which it implements
41456 to always fail with ENOSYS. Some functions are actually named
41457 something starting with __ and the normal name is an alias. */
41458 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41459 choke me
41460 #endif
41461
41462 int
41463 main ()
41464 {
41465 return pthread_attr_setstacksize ();
41466 ;
41467 return 0;
41468 }
41469 _ACEOF
41470 rm -f conftest.$ac_objext conftest$ac_exeext
41471 if { (ac_try="$ac_link"
41472 case "(($ac_try" in
41473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41474 *) ac_try_echo=$ac_try;;
41475 esac
41476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41477 (eval "$ac_link") 2>conftest.er1
41478 ac_status=$?
41479 grep -v '^ *+' conftest.er1 >conftest.err
41480 rm -f conftest.er1
41481 cat conftest.err >&5
41482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41483 (exit $ac_status); } && {
41484 test -z "$ac_c_werror_flag" ||
41485 test ! -s conftest.err
41486 } && test -s conftest$ac_exeext &&
41487 $as_test_x conftest$ac_exeext; then
41488 ac_cv_func_pthread_attr_setstacksize=yes
41489 else
41490 echo "$as_me: failed program was:" >&5
41491 sed 's/^/| /' conftest.$ac_ext >&5
41492
41493 ac_cv_func_pthread_attr_setstacksize=no
41494 fi
41495
41496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41497 conftest$ac_exeext conftest.$ac_ext
41498 fi
41499 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41500 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41501 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41502 cat >>confdefs.h <<\_ACEOF
41503 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41504 _ACEOF
41505
41506 fi
41507
41508
41509
41510 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41511 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41512 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41513 echo $ECHO_N "(cached) $ECHO_C" >&6
41514 else
41515
41516 cat >conftest.$ac_ext <<_ACEOF
41517 /* confdefs.h. */
41518 _ACEOF
41519 cat confdefs.h >>conftest.$ac_ext
41520 cat >>conftest.$ac_ext <<_ACEOF
41521 /* end confdefs.h. */
41522 #include <pthread.h>
41523 int
41524 main ()
41525 {
41526
41527 pthread_mutexattr_t attr;
41528 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41529
41530 ;
41531 return 0;
41532 }
41533 _ACEOF
41534 rm -f conftest.$ac_objext
41535 if { (ac_try="$ac_compile"
41536 case "(($ac_try" in
41537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41538 *) ac_try_echo=$ac_try;;
41539 esac
41540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41541 (eval "$ac_compile") 2>conftest.er1
41542 ac_status=$?
41543 grep -v '^ *+' conftest.er1 >conftest.err
41544 rm -f conftest.er1
41545 cat conftest.err >&5
41546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41547 (exit $ac_status); } && {
41548 test -z "$ac_c_werror_flag" ||
41549 test ! -s conftest.err
41550 } && test -s conftest.$ac_objext; then
41551 wx_cv_type_pthread_mutexattr_t=yes
41552 else
41553 echo "$as_me: failed program was:" >&5
41554 sed 's/^/| /' conftest.$ac_ext >&5
41555
41556 wx_cv_type_pthread_mutexattr_t=no
41557
41558 fi
41559
41560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41561
41562 fi
41563 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41564 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41565
41566 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41567 cat >>confdefs.h <<\_ACEOF
41568 #define HAVE_PTHREAD_MUTEXATTR_T 1
41569 _ACEOF
41570
41571
41572 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41573 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41574 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41575 echo $ECHO_N "(cached) $ECHO_C" >&6
41576 else
41577
41578 cat >conftest.$ac_ext <<_ACEOF
41579 /* confdefs.h. */
41580 _ACEOF
41581 cat confdefs.h >>conftest.$ac_ext
41582 cat >>conftest.$ac_ext <<_ACEOF
41583 /* end confdefs.h. */
41584 #include <pthread.h>
41585 int
41586 main ()
41587 {
41588
41589 pthread_mutexattr_t attr;
41590 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41591
41592 ;
41593 return 0;
41594 }
41595 _ACEOF
41596 rm -f conftest.$ac_objext
41597 if { (ac_try="$ac_compile"
41598 case "(($ac_try" in
41599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41600 *) ac_try_echo=$ac_try;;
41601 esac
41602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41603 (eval "$ac_compile") 2>conftest.er1
41604 ac_status=$?
41605 grep -v '^ *+' conftest.er1 >conftest.err
41606 rm -f conftest.er1
41607 cat conftest.err >&5
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); } && {
41610 test -z "$ac_c_werror_flag" ||
41611 test ! -s conftest.err
41612 } && test -s conftest.$ac_objext; then
41613 wx_cv_func_pthread_mutexattr_settype_decl=yes
41614 else
41615 echo "$as_me: failed program was:" >&5
41616 sed 's/^/| /' conftest.$ac_ext >&5
41617
41618 wx_cv_func_pthread_mutexattr_settype_decl=no
41619
41620 fi
41621
41622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41623
41624 fi
41625 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41626 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41627 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41628 cat >>confdefs.h <<\_ACEOF
41629 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41630 _ACEOF
41631
41632 fi
41633 else
41634 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41635 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41636 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41637 echo $ECHO_N "(cached) $ECHO_C" >&6
41638 else
41639
41640 cat >conftest.$ac_ext <<_ACEOF
41641 /* confdefs.h. */
41642 _ACEOF
41643 cat confdefs.h >>conftest.$ac_ext
41644 cat >>conftest.$ac_ext <<_ACEOF
41645 /* end confdefs.h. */
41646 #include <pthread.h>
41647 int
41648 main ()
41649 {
41650
41651 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41652
41653 ;
41654 return 0;
41655 }
41656 _ACEOF
41657 rm -f conftest.$ac_objext
41658 if { (ac_try="$ac_compile"
41659 case "(($ac_try" in
41660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41661 *) ac_try_echo=$ac_try;;
41662 esac
41663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41664 (eval "$ac_compile") 2>conftest.er1
41665 ac_status=$?
41666 grep -v '^ *+' conftest.er1 >conftest.err
41667 rm -f conftest.er1
41668 cat conftest.err >&5
41669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41670 (exit $ac_status); } && {
41671 test -z "$ac_c_werror_flag" ||
41672 test ! -s conftest.err
41673 } && test -s conftest.$ac_objext; then
41674
41675 wx_cv_type_pthread_rec_mutex_init=yes
41676
41677 else
41678 echo "$as_me: failed program was:" >&5
41679 sed 's/^/| /' conftest.$ac_ext >&5
41680
41681
41682 wx_cv_type_pthread_rec_mutex_init=no
41683
41684
41685 fi
41686
41687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41688
41689 fi
41690 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41691 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41692 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41693 cat >>confdefs.h <<\_ACEOF
41694 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41695 _ACEOF
41696
41697 else
41698 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41699 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41700 fi
41701 fi
41702
41703 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41704 if test "$USE_NETBSD" = 1; then
41705 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41706 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41707 wxUSE_COMPILER_TLS=no
41708 else
41709 wxUSE_COMPILER_TLS=yes
41710 fi
41711 fi
41712
41713 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41714 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41715 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41716 if test "${wx_cv_cc___thread+set}" = set; then
41717 echo $ECHO_N "(cached) $ECHO_C" >&6
41718 else
41719
41720 cat >conftest.$ac_ext <<_ACEOF
41721 /* confdefs.h. */
41722 _ACEOF
41723 cat confdefs.h >>conftest.$ac_ext
41724 cat >>conftest.$ac_ext <<_ACEOF
41725 /* end confdefs.h. */
41726 #include <pthread.h>
41727 int
41728 main ()
41729 {
41730
41731 static __thread int n = 0;
41732 static __thread int *p = 0;
41733
41734 ;
41735 return 0;
41736 }
41737 _ACEOF
41738 rm -f conftest.$ac_objext
41739 if { (ac_try="$ac_compile"
41740 case "(($ac_try" in
41741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41742 *) ac_try_echo=$ac_try;;
41743 esac
41744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41745 (eval "$ac_compile") 2>conftest.er1
41746 ac_status=$?
41747 grep -v '^ *+' conftest.er1 >conftest.err
41748 rm -f conftest.er1
41749 cat conftest.err >&5
41750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41751 (exit $ac_status); } && {
41752 test -z "$ac_c_werror_flag" ||
41753 test ! -s conftest.err
41754 } && test -s conftest.$ac_objext; then
41755 wx_cv_cc___thread=yes
41756 else
41757 echo "$as_me: failed program was:" >&5
41758 sed 's/^/| /' conftest.$ac_ext >&5
41759
41760 wx_cv_cc___thread=no
41761
41762 fi
41763
41764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41765
41766
41767 fi
41768 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41769 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41770
41771 if test "$wx_cv_cc___thread" = "yes"; then
41772
41773 GXX_VERSION=""
41774
41775
41776
41777 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41778 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41779
41780 if test "x$GCC" = "xyes" ; then
41781
41782 if test -z "" ; then
41783
41784 ax_gcc_option_test="int main()
41785 {
41786 return 0;
41787 }"
41788
41789 else
41790
41791 ax_gcc_option_test=""
41792
41793 fi
41794
41795
41796 # Dump the test program to file
41797 cat <<EOF > conftest.c
41798 $ax_gcc_option_test
41799 EOF
41800
41801 # Dump back the file to the log, useful for debugging purposes
41802 { ac_try='cat conftest.c 1>&5'
41803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41804 (eval $ac_try) 2>&5
41805 ac_status=$?
41806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41807 (exit $ac_status); }; }
41808
41809 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41811 (eval $ac_try) 2>&5
41812 ac_status=$?
41813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41814 (exit $ac_status); }; } ; then
41815
41816 { echo "$as_me:$LINENO: result: yes" >&5
41817 echo "${ECHO_T}yes" >&6; }
41818
41819 ax_gcc_version_option=yes
41820
41821
41822 else
41823
41824 { echo "$as_me:$LINENO: result: no" >&5
41825 echo "${ECHO_T}no" >&6; }
41826
41827 ax_gcc_version_option=no
41828
41829
41830 fi
41831
41832
41833 else
41834
41835 { echo "$as_me:$LINENO: result: no gcc available" >&5
41836 echo "${ECHO_T}no gcc available" >&6; }
41837
41838 fi
41839
41840
41841 if test "x$GXX" = "xyes"; then
41842
41843 if test "x$ax_gxx_version_option" != "no"; then
41844
41845 { echo "$as_me:$LINENO: checking gxx version" >&5
41846 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41847 if test "${ax_cv_gxx_version+set}" = set; then
41848 echo $ECHO_N "(cached) $ECHO_C" >&6
41849 else
41850
41851 ax_cv_gxx_version="`$CXX -dumpversion`"
41852 if test "x$ax_cv_gxx_version" = "x"; then
41853
41854 ax_cv_gxx_version=""
41855
41856 fi
41857
41858
41859 fi
41860 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41861 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41862 GXX_VERSION=$ax_cv_gxx_version
41863
41864 fi
41865
41866
41867 fi
41868
41869
41870
41871 if test -n "$ax_cv_gxx_version"; then
41872 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41873 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41874 case "$ax_cv_gxx_version" in
41875 1.* | 2.* | 3.* )
41876 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41877 echo "${ECHO_T}no, it's broken" >&6; }
41878 wx_cv_cc___thread=no
41879 ;;
41880 *)
41881 { echo "$as_me:$LINENO: result: yes, it works" >&5
41882 echo "${ECHO_T}yes, it works" >&6; }
41883 ;;
41884 esac
41885 fi
41886 fi
41887
41888 if test "$wx_cv_cc___thread" = "yes"; then
41889 cat >>confdefs.h <<\_ACEOF
41890 #define HAVE___THREAD_KEYWORD 1
41891 _ACEOF
41892
41893 fi
41894 fi
41895 fi
41896
41897 else
41898 if test "$wxUSE_THREADS" = "yes" ; then
41899 case "${host}" in
41900 x86_64-*-mingw32* )
41901 ;;
41902 *-*-mingw32* )
41903 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41904 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41905 if test "${wx_cv_cflags_mthread+set}" = set; then
41906 echo $ECHO_N "(cached) $ECHO_C" >&6
41907 else
41908
41909 CFLAGS_OLD="$CFLAGS"
41910 CFLAGS="-mthreads $CFLAGS"
41911 cat >conftest.$ac_ext <<_ACEOF
41912 /* confdefs.h. */
41913 _ACEOF
41914 cat confdefs.h >>conftest.$ac_ext
41915 cat >>conftest.$ac_ext <<_ACEOF
41916 /* end confdefs.h. */
41917
41918 int
41919 main ()
41920 {
41921
41922 ;
41923 return 0;
41924 }
41925 _ACEOF
41926 rm -f conftest.$ac_objext
41927 if { (ac_try="$ac_compile"
41928 case "(($ac_try" in
41929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41930 *) ac_try_echo=$ac_try;;
41931 esac
41932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41933 (eval "$ac_compile") 2>conftest.er1
41934 ac_status=$?
41935 grep -v '^ *+' conftest.er1 >conftest.err
41936 rm -f conftest.er1
41937 cat conftest.err >&5
41938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939 (exit $ac_status); } && {
41940 test -z "$ac_c_werror_flag" ||
41941 test ! -s conftest.err
41942 } && test -s conftest.$ac_objext; then
41943 wx_cv_cflags_mthread=yes
41944 else
41945 echo "$as_me: failed program was:" >&5
41946 sed 's/^/| /' conftest.$ac_ext >&5
41947
41948 wx_cv_cflags_mthread=no
41949
41950 fi
41951
41952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41953
41954
41955 fi
41956 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41957 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41958
41959 if test "$wx_cv_cflags_mthread" = "yes"; then
41960 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41961 LDFLAGS="$LDFLAGS -mthreads"
41962 else
41963 CFLAGS="$CFLAGS_OLD"
41964 fi
41965 ;;
41966 *-pc-os2*emx )
41967 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41968 LDFLAGS="$LDFLAGS -Zmt"
41969 ;;
41970 esac
41971 fi
41972 fi
41973
41974 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41975 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41976 if test "${ac_cv_func_localtime_r+set}" = set; then
41977 echo $ECHO_N "(cached) $ECHO_C" >&6
41978 else
41979 cat >conftest.$ac_ext <<_ACEOF
41980 /* confdefs.h. */
41981 _ACEOF
41982 cat confdefs.h >>conftest.$ac_ext
41983 cat >>conftest.$ac_ext <<_ACEOF
41984 /* end confdefs.h. */
41985 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41987 #define localtime_r innocuous_localtime_r
41988
41989 /* System header to define __stub macros and hopefully few prototypes,
41990 which can conflict with char localtime_r (); below.
41991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41992 <limits.h> exists even on freestanding compilers. */
41993
41994 #ifdef __STDC__
41995 # include <limits.h>
41996 #else
41997 # include <assert.h>
41998 #endif
41999
42000 #undef localtime_r
42001
42002 /* Override any GCC internal prototype to avoid an error.
42003 Use char because int might match the return type of a GCC
42004 builtin and then its argument prototype would still apply. */
42005 #ifdef __cplusplus
42006 extern "C"
42007 #endif
42008 char localtime_r ();
42009 /* The GNU C library defines this for functions which it implements
42010 to always fail with ENOSYS. Some functions are actually named
42011 something starting with __ and the normal name is an alias. */
42012 #if defined __stub_localtime_r || defined __stub___localtime_r
42013 choke me
42014 #endif
42015
42016 int
42017 main ()
42018 {
42019 return localtime_r ();
42020 ;
42021 return 0;
42022 }
42023 _ACEOF
42024 rm -f conftest.$ac_objext conftest$ac_exeext
42025 if { (ac_try="$ac_link"
42026 case "(($ac_try" in
42027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42028 *) ac_try_echo=$ac_try;;
42029 esac
42030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42031 (eval "$ac_link") 2>conftest.er1
42032 ac_status=$?
42033 grep -v '^ *+' conftest.er1 >conftest.err
42034 rm -f conftest.er1
42035 cat conftest.err >&5
42036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42037 (exit $ac_status); } && {
42038 test -z "$ac_c_werror_flag" ||
42039 test ! -s conftest.err
42040 } && test -s conftest$ac_exeext &&
42041 $as_test_x conftest$ac_exeext; then
42042 ac_cv_func_localtime_r=yes
42043 else
42044 echo "$as_me: failed program was:" >&5
42045 sed 's/^/| /' conftest.$ac_ext >&5
42046
42047 ac_cv_func_localtime_r=no
42048 fi
42049
42050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42051 conftest$ac_exeext conftest.$ac_ext
42052 fi
42053 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42054 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42055 if test $ac_cv_func_localtime_r = yes; then
42056 cat >>confdefs.h <<\_ACEOF
42057 #define HAVE_LOCALTIME_R 1
42058 _ACEOF
42059
42060 fi
42061
42062 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42063 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42064 if test "${ac_cv_func_gmtime_r+set}" = set; then
42065 echo $ECHO_N "(cached) $ECHO_C" >&6
42066 else
42067 cat >conftest.$ac_ext <<_ACEOF
42068 /* confdefs.h. */
42069 _ACEOF
42070 cat confdefs.h >>conftest.$ac_ext
42071 cat >>conftest.$ac_ext <<_ACEOF
42072 /* end confdefs.h. */
42073 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42075 #define gmtime_r innocuous_gmtime_r
42076
42077 /* System header to define __stub macros and hopefully few prototypes,
42078 which can conflict with char gmtime_r (); below.
42079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42080 <limits.h> exists even on freestanding compilers. */
42081
42082 #ifdef __STDC__
42083 # include <limits.h>
42084 #else
42085 # include <assert.h>
42086 #endif
42087
42088 #undef gmtime_r
42089
42090 /* Override any GCC internal prototype to avoid an error.
42091 Use char because int might match the return type of a GCC
42092 builtin and then its argument prototype would still apply. */
42093 #ifdef __cplusplus
42094 extern "C"
42095 #endif
42096 char gmtime_r ();
42097 /* The GNU C library defines this for functions which it implements
42098 to always fail with ENOSYS. Some functions are actually named
42099 something starting with __ and the normal name is an alias. */
42100 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42101 choke me
42102 #endif
42103
42104 int
42105 main ()
42106 {
42107 return gmtime_r ();
42108 ;
42109 return 0;
42110 }
42111 _ACEOF
42112 rm -f conftest.$ac_objext conftest$ac_exeext
42113 if { (ac_try="$ac_link"
42114 case "(($ac_try" in
42115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42116 *) ac_try_echo=$ac_try;;
42117 esac
42118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42119 (eval "$ac_link") 2>conftest.er1
42120 ac_status=$?
42121 grep -v '^ *+' conftest.er1 >conftest.err
42122 rm -f conftest.er1
42123 cat conftest.err >&5
42124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42125 (exit $ac_status); } && {
42126 test -z "$ac_c_werror_flag" ||
42127 test ! -s conftest.err
42128 } && test -s conftest$ac_exeext &&
42129 $as_test_x conftest$ac_exeext; then
42130 ac_cv_func_gmtime_r=yes
42131 else
42132 echo "$as_me: failed program was:" >&5
42133 sed 's/^/| /' conftest.$ac_ext >&5
42134
42135 ac_cv_func_gmtime_r=no
42136 fi
42137
42138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42139 conftest$ac_exeext conftest.$ac_ext
42140 fi
42141 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42142 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42143 if test $ac_cv_func_gmtime_r = yes; then
42144 cat >>confdefs.h <<\_ACEOF
42145 #define HAVE_GMTIME_R 1
42146 _ACEOF
42147
42148 fi
42149
42150
42151
42152
42153 ac_ext=c
42154 ac_cpp='$CPP $CPPFLAGS'
42155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42158
42159 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42160 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42161
42162 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42163 echo $ECHO_N "(cached) $ECHO_C" >&6
42164 else
42165
42166
42167 ################################################################
42168
42169 ac_cv_func_which_gethostbyname_r=unknown
42170
42171 #
42172 # ONE ARGUMENT (sanity check)
42173 #
42174
42175 # This should fail, as there is no variant of gethostbyname_r() that takes
42176 # a single argument. If it actually compiles, then we can assume that
42177 # netdb.h is not declaring the function, and the compiler is thereby
42178 # assuming an implicit prototype. In which case, we're out of luck.
42179 #
42180 cat >conftest.$ac_ext <<_ACEOF
42181 /* confdefs.h. */
42182 _ACEOF
42183 cat confdefs.h >>conftest.$ac_ext
42184 cat >>conftest.$ac_ext <<_ACEOF
42185 /* end confdefs.h. */
42186 #include <netdb.h>
42187 int
42188 main ()
42189 {
42190
42191 char *name = "www.gnu.org";
42192 (void)gethostbyname_r(name) /* ; */
42193
42194 ;
42195 return 0;
42196 }
42197 _ACEOF
42198 rm -f conftest.$ac_objext
42199 if { (ac_try="$ac_compile"
42200 case "(($ac_try" in
42201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42202 *) ac_try_echo=$ac_try;;
42203 esac
42204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42205 (eval "$ac_compile") 2>conftest.er1
42206 ac_status=$?
42207 grep -v '^ *+' conftest.er1 >conftest.err
42208 rm -f conftest.er1
42209 cat conftest.err >&5
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); } && {
42212 test -z "$ac_c_werror_flag" ||
42213 test ! -s conftest.err
42214 } && test -s conftest.$ac_objext; then
42215 ac_cv_func_which_gethostbyname_r=no
42216 else
42217 echo "$as_me: failed program was:" >&5
42218 sed 's/^/| /' conftest.$ac_ext >&5
42219
42220
42221 fi
42222
42223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42224
42225 #
42226 # SIX ARGUMENTS
42227 # (e.g. Linux)
42228 #
42229
42230 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42231
42232 cat >conftest.$ac_ext <<_ACEOF
42233 /* confdefs.h. */
42234 _ACEOF
42235 cat confdefs.h >>conftest.$ac_ext
42236 cat >>conftest.$ac_ext <<_ACEOF
42237 /* end confdefs.h. */
42238 #include <netdb.h>
42239 int
42240 main ()
42241 {
42242
42243 char *name = "www.gnu.org";
42244 struct hostent ret, *retp;
42245 char buf[1024];
42246 int buflen = 1024;
42247 int my_h_errno;
42248 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42249
42250 ;
42251 return 0;
42252 }
42253 _ACEOF
42254 rm -f conftest.$ac_objext
42255 if { (ac_try="$ac_compile"
42256 case "(($ac_try" in
42257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42258 *) ac_try_echo=$ac_try;;
42259 esac
42260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42261 (eval "$ac_compile") 2>conftest.er1
42262 ac_status=$?
42263 grep -v '^ *+' conftest.er1 >conftest.err
42264 rm -f conftest.er1
42265 cat conftest.err >&5
42266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42267 (exit $ac_status); } && {
42268 test -z "$ac_c_werror_flag" ||
42269 test ! -s conftest.err
42270 } && test -s conftest.$ac_objext; then
42271 ac_cv_func_which_gethostbyname_r=six
42272 else
42273 echo "$as_me: failed program was:" >&5
42274 sed 's/^/| /' conftest.$ac_ext >&5
42275
42276
42277 fi
42278
42279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42280
42281 fi
42282
42283 #
42284 # FIVE ARGUMENTS
42285 # (e.g. Solaris)
42286 #
42287
42288 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42289
42290 cat >conftest.$ac_ext <<_ACEOF
42291 /* confdefs.h. */
42292 _ACEOF
42293 cat confdefs.h >>conftest.$ac_ext
42294 cat >>conftest.$ac_ext <<_ACEOF
42295 /* end confdefs.h. */
42296 #include <netdb.h>
42297 int
42298 main ()
42299 {
42300
42301 char *name = "www.gnu.org";
42302 struct hostent ret;
42303 char buf[1024];
42304 int buflen = 1024;
42305 int my_h_errno;
42306 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42307
42308 ;
42309 return 0;
42310 }
42311 _ACEOF
42312 rm -f conftest.$ac_objext
42313 if { (ac_try="$ac_compile"
42314 case "(($ac_try" in
42315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42316 *) ac_try_echo=$ac_try;;
42317 esac
42318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42319 (eval "$ac_compile") 2>conftest.er1
42320 ac_status=$?
42321 grep -v '^ *+' conftest.er1 >conftest.err
42322 rm -f conftest.er1
42323 cat conftest.err >&5
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); } && {
42326 test -z "$ac_c_werror_flag" ||
42327 test ! -s conftest.err
42328 } && test -s conftest.$ac_objext; then
42329 ac_cv_func_which_gethostbyname_r=five
42330 else
42331 echo "$as_me: failed program was:" >&5
42332 sed 's/^/| /' conftest.$ac_ext >&5
42333
42334
42335 fi
42336
42337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42338
42339 fi
42340
42341 #
42342 # THREE ARGUMENTS
42343 # (e.g. AIX, HP-UX, Tru64)
42344 #
42345
42346 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42347
42348 cat >conftest.$ac_ext <<_ACEOF
42349 /* confdefs.h. */
42350 _ACEOF
42351 cat confdefs.h >>conftest.$ac_ext
42352 cat >>conftest.$ac_ext <<_ACEOF
42353 /* end confdefs.h. */
42354 #include <netdb.h>
42355 int
42356 main ()
42357 {
42358
42359 char *name = "www.gnu.org";
42360 struct hostent ret;
42361 struct hostent_data data;
42362 (void)gethostbyname_r(name, &ret, &data) /* ; */
42363
42364 ;
42365 return 0;
42366 }
42367 _ACEOF
42368 rm -f conftest.$ac_objext
42369 if { (ac_try="$ac_compile"
42370 case "(($ac_try" in
42371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42372 *) ac_try_echo=$ac_try;;
42373 esac
42374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42375 (eval "$ac_compile") 2>conftest.er1
42376 ac_status=$?
42377 grep -v '^ *+' conftest.er1 >conftest.err
42378 rm -f conftest.er1
42379 cat conftest.err >&5
42380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42381 (exit $ac_status); } && {
42382 test -z "$ac_c_werror_flag" ||
42383 test ! -s conftest.err
42384 } && test -s conftest.$ac_objext; then
42385 ac_cv_func_which_gethostbyname_r=three
42386 else
42387 echo "$as_me: failed program was:" >&5
42388 sed 's/^/| /' conftest.$ac_ext >&5
42389
42390
42391 fi
42392
42393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42394
42395 fi
42396
42397 ################################################################
42398
42399
42400 fi
42401
42402 case "$ac_cv_func_which_gethostbyname_r" in
42403 three)
42404 { echo "$as_me:$LINENO: result: three" >&5
42405 echo "${ECHO_T}three" >&6; }
42406 cat >>confdefs.h <<\_ACEOF
42407 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42408 _ACEOF
42409
42410 ;;
42411
42412 five)
42413 { echo "$as_me:$LINENO: result: five" >&5
42414 echo "${ECHO_T}five" >&6; }
42415 cat >>confdefs.h <<\_ACEOF
42416 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42417 _ACEOF
42418
42419 ;;
42420
42421 six)
42422 { echo "$as_me:$LINENO: result: six" >&5
42423 echo "${ECHO_T}six" >&6; }
42424 cat >>confdefs.h <<\_ACEOF
42425 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42426 _ACEOF
42427
42428 ;;
42429
42430 no)
42431 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42432 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42433 ;;
42434
42435 unknown)
42436 { echo "$as_me:$LINENO: result: can't tell" >&5
42437 echo "${ECHO_T}can't tell" >&6; }
42438 ;;
42439
42440 *)
42441 { { echo "$as_me:$LINENO: error: internal error" >&5
42442 echo "$as_me: error: internal error" >&2;}
42443 { (exit 1); exit 1; }; }
42444 ;;
42445 esac
42446
42447 ac_ext=c
42448 ac_cpp='$CPP $CPPFLAGS'
42449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42452
42453
42454
42455 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42456 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42457 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42458 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42459 if test "${ac_cv_func_gethostbyname+set}" = set; then
42460 echo $ECHO_N "(cached) $ECHO_C" >&6
42461 else
42462 cat >conftest.$ac_ext <<_ACEOF
42463 /* confdefs.h. */
42464 _ACEOF
42465 cat confdefs.h >>conftest.$ac_ext
42466 cat >>conftest.$ac_ext <<_ACEOF
42467 /* end confdefs.h. */
42468 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42470 #define gethostbyname innocuous_gethostbyname
42471
42472 /* System header to define __stub macros and hopefully few prototypes,
42473 which can conflict with char gethostbyname (); below.
42474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42475 <limits.h> exists even on freestanding compilers. */
42476
42477 #ifdef __STDC__
42478 # include <limits.h>
42479 #else
42480 # include <assert.h>
42481 #endif
42482
42483 #undef gethostbyname
42484
42485 /* Override any GCC internal prototype to avoid an error.
42486 Use char because int might match the return type of a GCC
42487 builtin and then its argument prototype would still apply. */
42488 #ifdef __cplusplus
42489 extern "C"
42490 #endif
42491 char gethostbyname ();
42492 /* The GNU C library defines this for functions which it implements
42493 to always fail with ENOSYS. Some functions are actually named
42494 something starting with __ and the normal name is an alias. */
42495 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42496 choke me
42497 #endif
42498
42499 int
42500 main ()
42501 {
42502 return gethostbyname ();
42503 ;
42504 return 0;
42505 }
42506 _ACEOF
42507 rm -f conftest.$ac_objext conftest$ac_exeext
42508 if { (ac_try="$ac_link"
42509 case "(($ac_try" in
42510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42511 *) ac_try_echo=$ac_try;;
42512 esac
42513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42514 (eval "$ac_link") 2>conftest.er1
42515 ac_status=$?
42516 grep -v '^ *+' conftest.er1 >conftest.err
42517 rm -f conftest.er1
42518 cat conftest.err >&5
42519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42520 (exit $ac_status); } && {
42521 test -z "$ac_c_werror_flag" ||
42522 test ! -s conftest.err
42523 } && test -s conftest$ac_exeext &&
42524 $as_test_x conftest$ac_exeext; then
42525 ac_cv_func_gethostbyname=yes
42526 else
42527 echo "$as_me: failed program was:" >&5
42528 sed 's/^/| /' conftest.$ac_ext >&5
42529
42530 ac_cv_func_gethostbyname=no
42531 fi
42532
42533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42534 conftest$ac_exeext conftest.$ac_ext
42535 fi
42536 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42537 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42538 if test $ac_cv_func_gethostbyname = yes; then
42539 cat >>confdefs.h <<\_ACEOF
42540 #define HAVE_GETHOSTBYNAME 1
42541 _ACEOF
42542
42543 fi
42544
42545 fi
42546
42547 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42548 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42549 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42550 echo $ECHO_N "(cached) $ECHO_C" >&6
42551 else
42552
42553 ac_ext=cpp
42554 ac_cpp='$CXXCPP $CPPFLAGS'
42555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42558
42559
42560 cat >conftest.$ac_ext <<_ACEOF
42561 /* confdefs.h. */
42562 _ACEOF
42563 cat confdefs.h >>conftest.$ac_ext
42564 cat >>conftest.$ac_ext <<_ACEOF
42565 /* end confdefs.h. */
42566 #include <netdb.h>
42567 int
42568 main ()
42569 {
42570
42571 char *name;
42572 char *proto;
42573 struct servent *se, *res;
42574 char buffer[2048];
42575 int buflen = 2048;
42576 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42577
42578 ;
42579 return 0;
42580 }
42581 _ACEOF
42582 rm -f conftest.$ac_objext
42583 if { (ac_try="$ac_compile"
42584 case "(($ac_try" in
42585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42586 *) ac_try_echo=$ac_try;;
42587 esac
42588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42589 (eval "$ac_compile") 2>conftest.er1
42590 ac_status=$?
42591 grep -v '^ *+' conftest.er1 >conftest.err
42592 rm -f conftest.er1
42593 cat conftest.err >&5
42594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42595 (exit $ac_status); } && {
42596 test -z "$ac_cxx_werror_flag" ||
42597 test ! -s conftest.err
42598 } && test -s conftest.$ac_objext; then
42599 ac_cv_func_which_getservbyname_r=six
42600 else
42601 echo "$as_me: failed program was:" >&5
42602 sed 's/^/| /' conftest.$ac_ext >&5
42603
42604
42605 cat >conftest.$ac_ext <<_ACEOF
42606 /* confdefs.h. */
42607 _ACEOF
42608 cat confdefs.h >>conftest.$ac_ext
42609 cat >>conftest.$ac_ext <<_ACEOF
42610 /* end confdefs.h. */
42611 #include <netdb.h>
42612 int
42613 main ()
42614 {
42615
42616 char *name;
42617 char *proto;
42618 struct servent *se;
42619 char buffer[2048];
42620 int buflen = 2048;
42621 (void) getservbyname_r(name, proto, se, buffer, buflen)
42622
42623 ;
42624 return 0;
42625 }
42626 _ACEOF
42627 rm -f conftest.$ac_objext
42628 if { (ac_try="$ac_compile"
42629 case "(($ac_try" in
42630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42631 *) ac_try_echo=$ac_try;;
42632 esac
42633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42634 (eval "$ac_compile") 2>conftest.er1
42635 ac_status=$?
42636 grep -v '^ *+' conftest.er1 >conftest.err
42637 rm -f conftest.er1
42638 cat conftest.err >&5
42639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42640 (exit $ac_status); } && {
42641 test -z "$ac_cxx_werror_flag" ||
42642 test ! -s conftest.err
42643 } && test -s conftest.$ac_objext; then
42644 ac_cv_func_which_getservbyname_r=five
42645 else
42646 echo "$as_me: failed program was:" >&5
42647 sed 's/^/| /' conftest.$ac_ext >&5
42648
42649
42650 cat >conftest.$ac_ext <<_ACEOF
42651 /* confdefs.h. */
42652 _ACEOF
42653 cat confdefs.h >>conftest.$ac_ext
42654 cat >>conftest.$ac_ext <<_ACEOF
42655 /* end confdefs.h. */
42656 #include <netdb.h>
42657 int
42658 main ()
42659 {
42660
42661 char *name;
42662 char *proto;
42663 struct servent *se;
42664 struct servent_data data;
42665 (void) getservbyname_r(name, proto, se, &data);
42666
42667 ;
42668 return 0;
42669 }
42670 _ACEOF
42671 rm -f conftest.$ac_objext
42672 if { (ac_try="$ac_compile"
42673 case "(($ac_try" in
42674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42675 *) ac_try_echo=$ac_try;;
42676 esac
42677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42678 (eval "$ac_compile") 2>conftest.er1
42679 ac_status=$?
42680 grep -v '^ *+' conftest.er1 >conftest.err
42681 rm -f conftest.er1
42682 cat conftest.err >&5
42683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42684 (exit $ac_status); } && {
42685 test -z "$ac_cxx_werror_flag" ||
42686 test ! -s conftest.err
42687 } && test -s conftest.$ac_objext; then
42688 ac_cv_func_which_getservbyname_r=four
42689 else
42690 echo "$as_me: failed program was:" >&5
42691 sed 's/^/| /' conftest.$ac_ext >&5
42692
42693 ac_cv_func_which_getservbyname_r=no
42694
42695 fi
42696
42697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42698
42699
42700 fi
42701
42702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42703
42704
42705 fi
42706
42707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42708 ac_ext=c
42709 ac_cpp='$CPP $CPPFLAGS'
42710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42713
42714
42715
42716 fi
42717 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42718 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42719
42720 if test $ac_cv_func_which_getservbyname_r = six; then
42721 cat >>confdefs.h <<\_ACEOF
42722 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42723 _ACEOF
42724
42725 elif test $ac_cv_func_which_getservbyname_r = five; then
42726 cat >>confdefs.h <<\_ACEOF
42727 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42728 _ACEOF
42729
42730 elif test $ac_cv_func_which_getservbyname_r = four; then
42731 cat >>confdefs.h <<\_ACEOF
42732 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42733 _ACEOF
42734
42735 fi
42736
42737
42738 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42739 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42740
42741 for ac_func in getservbyname
42742 do
42743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42746 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42747 echo $ECHO_N "(cached) $ECHO_C" >&6
42748 else
42749 cat >conftest.$ac_ext <<_ACEOF
42750 /* confdefs.h. */
42751 _ACEOF
42752 cat confdefs.h >>conftest.$ac_ext
42753 cat >>conftest.$ac_ext <<_ACEOF
42754 /* end confdefs.h. */
42755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42757 #define $ac_func innocuous_$ac_func
42758
42759 /* System header to define __stub macros and hopefully few prototypes,
42760 which can conflict with char $ac_func (); below.
42761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42762 <limits.h> exists even on freestanding compilers. */
42763
42764 #ifdef __STDC__
42765 # include <limits.h>
42766 #else
42767 # include <assert.h>
42768 #endif
42769
42770 #undef $ac_func
42771
42772 /* Override any GCC internal prototype to avoid an error.
42773 Use char because int might match the return type of a GCC
42774 builtin and then its argument prototype would still apply. */
42775 #ifdef __cplusplus
42776 extern "C"
42777 #endif
42778 char $ac_func ();
42779 /* The GNU C library defines this for functions which it implements
42780 to always fail with ENOSYS. Some functions are actually named
42781 something starting with __ and the normal name is an alias. */
42782 #if defined __stub_$ac_func || defined __stub___$ac_func
42783 choke me
42784 #endif
42785
42786 int
42787 main ()
42788 {
42789 return $ac_func ();
42790 ;
42791 return 0;
42792 }
42793 _ACEOF
42794 rm -f conftest.$ac_objext conftest$ac_exeext
42795 if { (ac_try="$ac_link"
42796 case "(($ac_try" in
42797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42798 *) ac_try_echo=$ac_try;;
42799 esac
42800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42801 (eval "$ac_link") 2>conftest.er1
42802 ac_status=$?
42803 grep -v '^ *+' conftest.er1 >conftest.err
42804 rm -f conftest.er1
42805 cat conftest.err >&5
42806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42807 (exit $ac_status); } && {
42808 test -z "$ac_c_werror_flag" ||
42809 test ! -s conftest.err
42810 } && test -s conftest$ac_exeext &&
42811 $as_test_x conftest$ac_exeext; then
42812 eval "$as_ac_var=yes"
42813 else
42814 echo "$as_me: failed program was:" >&5
42815 sed 's/^/| /' conftest.$ac_ext >&5
42816
42817 eval "$as_ac_var=no"
42818 fi
42819
42820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42821 conftest$ac_exeext conftest.$ac_ext
42822 fi
42823 ac_res=`eval echo '${'$as_ac_var'}'`
42824 { echo "$as_me:$LINENO: result: $ac_res" >&5
42825 echo "${ECHO_T}$ac_res" >&6; }
42826 if test `eval echo '${'$as_ac_var'}'` = yes; then
42827 cat >>confdefs.h <<_ACEOF
42828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42829 _ACEOF
42830 cat >>confdefs.h <<\_ACEOF
42831 #define HAVE_GETSERVBYNAME 1
42832 _ACEOF
42833
42834 fi
42835 done
42836
42837 fi
42838
42839 if test "$wxUSE_THREADS" = "yes"; then
42840 cat >>confdefs.h <<\_ACEOF
42841 #define wxUSE_THREADS 1
42842 _ACEOF
42843
42844
42845 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42846 else
42847 if test "$wx_cv_func_strtok_r" = "yes"; then
42848 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42849 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42850 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42851 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42852 { echo "$as_me:$LINENO: result: yes" >&5
42853 echo "${ECHO_T}yes" >&6; }
42854 else
42855 { echo "$as_me:$LINENO: result: no" >&5
42856 echo "${ECHO_T}no" >&6; }
42857 fi
42858 fi
42859 fi
42860
42861 if test "$WXGTK2" = 1 ; then
42862 cat >>confdefs.h <<_ACEOF
42863 #define __WXGTK20__ $WXGTK2
42864 _ACEOF
42865
42866 WXGTK12=1
42867 fi
42868
42869 if test "$WXGTK12" = 1 ; then
42870 cat >>confdefs.h <<_ACEOF
42871 #define __WXGTK12__ $WXGTK12
42872 _ACEOF
42873
42874 fi
42875
42876 if test "$WXGTK127" = 1 ; then
42877 cat >>confdefs.h <<_ACEOF
42878 #define __WXGTK127__ $WXGTK127
42879 _ACEOF
42880
42881 fi
42882
42883 if test "$WXGPE" = 1 ; then
42884 cat >>confdefs.h <<_ACEOF
42885 #define __WXGPE__ $WXGPE
42886 _ACEOF
42887
42888 fi
42889
42890 DEBUG_CFLAGS=
42891 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42892 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42893 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42894 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42895 DEBUG_CFLAGS="-g"
42896 fi
42897
42898 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42899 wxUSE_DEBUG_INFO=yes
42900 if test "$GCC" = yes; then
42901 DEBUG_CFLAGS="-ggdb"
42902 fi
42903 fi
42904
42905 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42906 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42907
42908 if test "$wxUSE_GTK" = 1 ; then
42909 if test "x$wxGTK_VERSION" = "x1" ; then
42910 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42911 fi
42912 fi
42913 fi
42914
42915 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42916 cat >>confdefs.h <<\_ACEOF
42917 #define wxUSE_MEMORY_TRACING 1
42918 _ACEOF
42919
42920 cat >>confdefs.h <<\_ACEOF
42921 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42922 _ACEOF
42923
42924 cat >>confdefs.h <<\_ACEOF
42925 #define wxUSE_DEBUG_NEW_ALWAYS 1
42926 _ACEOF
42927
42928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42929 fi
42930
42931 if test "$wxUSE_DMALLOC" = "yes" ; then
42932 DMALLOC_LIBS="-ldmallocthcxx"
42933 fi
42934
42935 PROFILE_FLAGS=
42936 if test "$wxUSE_PROFILE" = "yes" ; then
42937 PROFILE_FLAGS=" -pg"
42938 fi
42939
42940 if test "$GCC" = "yes" ; then
42941 if test "$wxUSE_NO_RTTI" = "yes" ; then
42942 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
42943 fi
42944 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42945 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42946 fi
42947 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42948 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42949 fi
42950
42951 case "${host}" in
42952 powerpc*-*-aix* )
42953 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42954 ;;
42955 *-hppa* )
42956 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42957 ;;
42958 esac
42959 fi
42960
42961 OPTIMISE_CFLAGS=
42962 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42963 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42964 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42965 else
42966 if test "$wxUSE_OPTIMISE" = "no" ; then
42967 if test "$GCC" = yes ; then
42968 OPTIMISE_CFLAGS="-O0"
42969 fi
42970 else
42971 if test "$GCC" = yes ; then
42972 case "${host}" in
42973 *-pc-os2_emx | *-pc-os2-emx )
42974 OPTIMISE_CFLAGS="-O2"
42975 ;;
42976 *)
42977 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42978 ;;
42979 esac
42980 else
42981 OPTIMISE_CFLAGS="-O"
42982 fi
42983 fi
42984 fi
42985
42986
42987 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42988 cat >>confdefs.h <<\_ACEOF
42989 #define WXWIN_COMPATIBILITY_2_6 1
42990 _ACEOF
42991
42992
42993 WXWIN_COMPATIBILITY_2_8="yes"
42994 fi
42995
42996 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42997 cat >>confdefs.h <<\_ACEOF
42998 #define WXWIN_COMPATIBILITY_2_8 1
42999 _ACEOF
43000
43001 fi
43002
43003
43004 if test "$wxUSE_GUI" = "yes"; then
43005 cat >>confdefs.h <<\_ACEOF
43006 #define wxUSE_GUI 1
43007 _ACEOF
43008
43009
43010 fi
43011
43012
43013 if test "$wxUSE_UNIX" = "yes"; then
43014 cat >>confdefs.h <<\_ACEOF
43015 #define wxUSE_UNIX 1
43016 _ACEOF
43017
43018 fi
43019
43020
43021 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43022
43023 HAVE_DL_FUNCS=0
43024 HAVE_SHL_FUNCS=0
43025 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43026 if test "$USE_DOS" = 1; then
43027 HAVE_DL_FUNCS=0
43028 else
43029
43030 for ac_func in dlopen
43031 do
43032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43033 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43035 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43036 echo $ECHO_N "(cached) $ECHO_C" >&6
43037 else
43038 cat >conftest.$ac_ext <<_ACEOF
43039 /* confdefs.h. */
43040 _ACEOF
43041 cat confdefs.h >>conftest.$ac_ext
43042 cat >>conftest.$ac_ext <<_ACEOF
43043 /* end confdefs.h. */
43044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43046 #define $ac_func innocuous_$ac_func
43047
43048 /* System header to define __stub macros and hopefully few prototypes,
43049 which can conflict with char $ac_func (); below.
43050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43051 <limits.h> exists even on freestanding compilers. */
43052
43053 #ifdef __STDC__
43054 # include <limits.h>
43055 #else
43056 # include <assert.h>
43057 #endif
43058
43059 #undef $ac_func
43060
43061 /* Override any GCC internal prototype to avoid an error.
43062 Use char because int might match the return type of a GCC
43063 builtin and then its argument prototype would still apply. */
43064 #ifdef __cplusplus
43065 extern "C"
43066 #endif
43067 char $ac_func ();
43068 /* The GNU C library defines this for functions which it implements
43069 to always fail with ENOSYS. Some functions are actually named
43070 something starting with __ and the normal name is an alias. */
43071 #if defined __stub_$ac_func || defined __stub___$ac_func
43072 choke me
43073 #endif
43074
43075 int
43076 main ()
43077 {
43078 return $ac_func ();
43079 ;
43080 return 0;
43081 }
43082 _ACEOF
43083 rm -f conftest.$ac_objext conftest$ac_exeext
43084 if { (ac_try="$ac_link"
43085 case "(($ac_try" in
43086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43087 *) ac_try_echo=$ac_try;;
43088 esac
43089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43090 (eval "$ac_link") 2>conftest.er1
43091 ac_status=$?
43092 grep -v '^ *+' conftest.er1 >conftest.err
43093 rm -f conftest.er1
43094 cat conftest.err >&5
43095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43096 (exit $ac_status); } && {
43097 test -z "$ac_c_werror_flag" ||
43098 test ! -s conftest.err
43099 } && test -s conftest$ac_exeext &&
43100 $as_test_x conftest$ac_exeext; then
43101 eval "$as_ac_var=yes"
43102 else
43103 echo "$as_me: failed program was:" >&5
43104 sed 's/^/| /' conftest.$ac_ext >&5
43105
43106 eval "$as_ac_var=no"
43107 fi
43108
43109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43110 conftest$ac_exeext conftest.$ac_ext
43111 fi
43112 ac_res=`eval echo '${'$as_ac_var'}'`
43113 { echo "$as_me:$LINENO: result: $ac_res" >&5
43114 echo "${ECHO_T}$ac_res" >&6; }
43115 if test `eval echo '${'$as_ac_var'}'` = yes; then
43116 cat >>confdefs.h <<_ACEOF
43117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43118 _ACEOF
43119
43120 cat >>confdefs.h <<\_ACEOF
43121 #define HAVE_DLOPEN 1
43122 _ACEOF
43123
43124 HAVE_DL_FUNCS=1
43125
43126 else
43127
43128 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43129 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43130 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43131 echo $ECHO_N "(cached) $ECHO_C" >&6
43132 else
43133 ac_check_lib_save_LIBS=$LIBS
43134 LIBS="-ldl $LIBS"
43135 cat >conftest.$ac_ext <<_ACEOF
43136 /* confdefs.h. */
43137 _ACEOF
43138 cat confdefs.h >>conftest.$ac_ext
43139 cat >>conftest.$ac_ext <<_ACEOF
43140 /* end confdefs.h. */
43141
43142 /* Override any GCC internal prototype to avoid an error.
43143 Use char because int might match the return type of a GCC
43144 builtin and then its argument prototype would still apply. */
43145 #ifdef __cplusplus
43146 extern "C"
43147 #endif
43148 char dlopen ();
43149 int
43150 main ()
43151 {
43152 return dlopen ();
43153 ;
43154 return 0;
43155 }
43156 _ACEOF
43157 rm -f conftest.$ac_objext conftest$ac_exeext
43158 if { (ac_try="$ac_link"
43159 case "(($ac_try" in
43160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43161 *) ac_try_echo=$ac_try;;
43162 esac
43163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43164 (eval "$ac_link") 2>conftest.er1
43165 ac_status=$?
43166 grep -v '^ *+' conftest.er1 >conftest.err
43167 rm -f conftest.er1
43168 cat conftest.err >&5
43169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43170 (exit $ac_status); } && {
43171 test -z "$ac_c_werror_flag" ||
43172 test ! -s conftest.err
43173 } && test -s conftest$ac_exeext &&
43174 $as_test_x conftest$ac_exeext; then
43175 ac_cv_lib_dl_dlopen=yes
43176 else
43177 echo "$as_me: failed program was:" >&5
43178 sed 's/^/| /' conftest.$ac_ext >&5
43179
43180 ac_cv_lib_dl_dlopen=no
43181 fi
43182
43183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43184 conftest$ac_exeext conftest.$ac_ext
43185 LIBS=$ac_check_lib_save_LIBS
43186 fi
43187 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43188 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43189 if test $ac_cv_lib_dl_dlopen = yes; then
43190
43191 cat >>confdefs.h <<\_ACEOF
43192 #define HAVE_DLOPEN 1
43193 _ACEOF
43194
43195 HAVE_DL_FUNCS=1
43196 DL_LINK=" -ldl$DL_LINK"
43197
43198 else
43199
43200
43201 for ac_func in shl_load
43202 do
43203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43204 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43206 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43207 echo $ECHO_N "(cached) $ECHO_C" >&6
43208 else
43209 cat >conftest.$ac_ext <<_ACEOF
43210 /* confdefs.h. */
43211 _ACEOF
43212 cat confdefs.h >>conftest.$ac_ext
43213 cat >>conftest.$ac_ext <<_ACEOF
43214 /* end confdefs.h. */
43215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43217 #define $ac_func innocuous_$ac_func
43218
43219 /* System header to define __stub macros and hopefully few prototypes,
43220 which can conflict with char $ac_func (); below.
43221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43222 <limits.h> exists even on freestanding compilers. */
43223
43224 #ifdef __STDC__
43225 # include <limits.h>
43226 #else
43227 # include <assert.h>
43228 #endif
43229
43230 #undef $ac_func
43231
43232 /* Override any GCC internal prototype to avoid an error.
43233 Use char because int might match the return type of a GCC
43234 builtin and then its argument prototype would still apply. */
43235 #ifdef __cplusplus
43236 extern "C"
43237 #endif
43238 char $ac_func ();
43239 /* The GNU C library defines this for functions which it implements
43240 to always fail with ENOSYS. Some functions are actually named
43241 something starting with __ and the normal name is an alias. */
43242 #if defined __stub_$ac_func || defined __stub___$ac_func
43243 choke me
43244 #endif
43245
43246 int
43247 main ()
43248 {
43249 return $ac_func ();
43250 ;
43251 return 0;
43252 }
43253 _ACEOF
43254 rm -f conftest.$ac_objext conftest$ac_exeext
43255 if { (ac_try="$ac_link"
43256 case "(($ac_try" in
43257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43258 *) ac_try_echo=$ac_try;;
43259 esac
43260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43261 (eval "$ac_link") 2>conftest.er1
43262 ac_status=$?
43263 grep -v '^ *+' conftest.er1 >conftest.err
43264 rm -f conftest.er1
43265 cat conftest.err >&5
43266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43267 (exit $ac_status); } && {
43268 test -z "$ac_c_werror_flag" ||
43269 test ! -s conftest.err
43270 } && test -s conftest$ac_exeext &&
43271 $as_test_x conftest$ac_exeext; then
43272 eval "$as_ac_var=yes"
43273 else
43274 echo "$as_me: failed program was:" >&5
43275 sed 's/^/| /' conftest.$ac_ext >&5
43276
43277 eval "$as_ac_var=no"
43278 fi
43279
43280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43281 conftest$ac_exeext conftest.$ac_ext
43282 fi
43283 ac_res=`eval echo '${'$as_ac_var'}'`
43284 { echo "$as_me:$LINENO: result: $ac_res" >&5
43285 echo "${ECHO_T}$ac_res" >&6; }
43286 if test `eval echo '${'$as_ac_var'}'` = yes; then
43287 cat >>confdefs.h <<_ACEOF
43288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43289 _ACEOF
43290
43291 cat >>confdefs.h <<\_ACEOF
43292 #define HAVE_SHL_LOAD 1
43293 _ACEOF
43294
43295 HAVE_SHL_FUNCS=1
43296
43297 else
43298
43299 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43300 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43301 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43302 echo $ECHO_N "(cached) $ECHO_C" >&6
43303 else
43304 ac_check_lib_save_LIBS=$LIBS
43305 LIBS="-lshl_load $LIBS"
43306 cat >conftest.$ac_ext <<_ACEOF
43307 /* confdefs.h. */
43308 _ACEOF
43309 cat confdefs.h >>conftest.$ac_ext
43310 cat >>conftest.$ac_ext <<_ACEOF
43311 /* end confdefs.h. */
43312
43313 /* Override any GCC internal prototype to avoid an error.
43314 Use char because int might match the return type of a GCC
43315 builtin and then its argument prototype would still apply. */
43316 #ifdef __cplusplus
43317 extern "C"
43318 #endif
43319 char dld ();
43320 int
43321 main ()
43322 {
43323 return dld ();
43324 ;
43325 return 0;
43326 }
43327 _ACEOF
43328 rm -f conftest.$ac_objext conftest$ac_exeext
43329 if { (ac_try="$ac_link"
43330 case "(($ac_try" in
43331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43332 *) ac_try_echo=$ac_try;;
43333 esac
43334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43335 (eval "$ac_link") 2>conftest.er1
43336 ac_status=$?
43337 grep -v '^ *+' conftest.er1 >conftest.err
43338 rm -f conftest.er1
43339 cat conftest.err >&5
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); } && {
43342 test -z "$ac_c_werror_flag" ||
43343 test ! -s conftest.err
43344 } && test -s conftest$ac_exeext &&
43345 $as_test_x conftest$ac_exeext; then
43346 ac_cv_lib_shl_load_dld=yes
43347 else
43348 echo "$as_me: failed program was:" >&5
43349 sed 's/^/| /' conftest.$ac_ext >&5
43350
43351 ac_cv_lib_shl_load_dld=no
43352 fi
43353
43354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43355 conftest$ac_exeext conftest.$ac_ext
43356 LIBS=$ac_check_lib_save_LIBS
43357 fi
43358 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43359 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43360 if test $ac_cv_lib_shl_load_dld = yes; then
43361
43362 HAVE_SHL_FUNCS=1
43363 DL_LINK=" -ldld$DL_LINK"
43364
43365 fi
43366
43367
43368 fi
43369 done
43370
43371
43372 fi
43373
43374
43375 fi
43376 done
43377
43378
43379 if test "$HAVE_DL_FUNCS" = 1; then
43380
43381 for ac_func in dlerror
43382 do
43383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43384 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43386 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43387 echo $ECHO_N "(cached) $ECHO_C" >&6
43388 else
43389 cat >conftest.$ac_ext <<_ACEOF
43390 /* confdefs.h. */
43391 _ACEOF
43392 cat confdefs.h >>conftest.$ac_ext
43393 cat >>conftest.$ac_ext <<_ACEOF
43394 /* end confdefs.h. */
43395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43397 #define $ac_func innocuous_$ac_func
43398
43399 /* System header to define __stub macros and hopefully few prototypes,
43400 which can conflict with char $ac_func (); below.
43401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43402 <limits.h> exists even on freestanding compilers. */
43403
43404 #ifdef __STDC__
43405 # include <limits.h>
43406 #else
43407 # include <assert.h>
43408 #endif
43409
43410 #undef $ac_func
43411
43412 /* Override any GCC internal prototype to avoid an error.
43413 Use char because int might match the return type of a GCC
43414 builtin and then its argument prototype would still apply. */
43415 #ifdef __cplusplus
43416 extern "C"
43417 #endif
43418 char $ac_func ();
43419 /* The GNU C library defines this for functions which it implements
43420 to always fail with ENOSYS. Some functions are actually named
43421 something starting with __ and the normal name is an alias. */
43422 #if defined __stub_$ac_func || defined __stub___$ac_func
43423 choke me
43424 #endif
43425
43426 int
43427 main ()
43428 {
43429 return $ac_func ();
43430 ;
43431 return 0;
43432 }
43433 _ACEOF
43434 rm -f conftest.$ac_objext conftest$ac_exeext
43435 if { (ac_try="$ac_link"
43436 case "(($ac_try" in
43437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43438 *) ac_try_echo=$ac_try;;
43439 esac
43440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43441 (eval "$ac_link") 2>conftest.er1
43442 ac_status=$?
43443 grep -v '^ *+' conftest.er1 >conftest.err
43444 rm -f conftest.er1
43445 cat conftest.err >&5
43446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43447 (exit $ac_status); } && {
43448 test -z "$ac_c_werror_flag" ||
43449 test ! -s conftest.err
43450 } && test -s conftest$ac_exeext &&
43451 $as_test_x conftest$ac_exeext; then
43452 eval "$as_ac_var=yes"
43453 else
43454 echo "$as_me: failed program was:" >&5
43455 sed 's/^/| /' conftest.$ac_ext >&5
43456
43457 eval "$as_ac_var=no"
43458 fi
43459
43460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43461 conftest$ac_exeext conftest.$ac_ext
43462 fi
43463 ac_res=`eval echo '${'$as_ac_var'}'`
43464 { echo "$as_me:$LINENO: result: $ac_res" >&5
43465 echo "${ECHO_T}$ac_res" >&6; }
43466 if test `eval echo '${'$as_ac_var'}'` = yes; then
43467 cat >>confdefs.h <<_ACEOF
43468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43469 _ACEOF
43470 cat >>confdefs.h <<\_ACEOF
43471 #define HAVE_DLERROR 1
43472 _ACEOF
43473
43474 else
43475
43476 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43477 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43478 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43479 echo $ECHO_N "(cached) $ECHO_C" >&6
43480 else
43481 ac_check_lib_save_LIBS=$LIBS
43482 LIBS="-ldl $LIBS"
43483 cat >conftest.$ac_ext <<_ACEOF
43484 /* confdefs.h. */
43485 _ACEOF
43486 cat confdefs.h >>conftest.$ac_ext
43487 cat >>conftest.$ac_ext <<_ACEOF
43488 /* end confdefs.h. */
43489
43490 /* Override any GCC internal prototype to avoid an error.
43491 Use char because int might match the return type of a GCC
43492 builtin and then its argument prototype would still apply. */
43493 #ifdef __cplusplus
43494 extern "C"
43495 #endif
43496 char dlerror ();
43497 int
43498 main ()
43499 {
43500 return dlerror ();
43501 ;
43502 return 0;
43503 }
43504 _ACEOF
43505 rm -f conftest.$ac_objext conftest$ac_exeext
43506 if { (ac_try="$ac_link"
43507 case "(($ac_try" in
43508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43509 *) ac_try_echo=$ac_try;;
43510 esac
43511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43512 (eval "$ac_link") 2>conftest.er1
43513 ac_status=$?
43514 grep -v '^ *+' conftest.er1 >conftest.err
43515 rm -f conftest.er1
43516 cat conftest.err >&5
43517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43518 (exit $ac_status); } && {
43519 test -z "$ac_c_werror_flag" ||
43520 test ! -s conftest.err
43521 } && test -s conftest$ac_exeext &&
43522 $as_test_x conftest$ac_exeext; then
43523 ac_cv_lib_dl_dlerror=yes
43524 else
43525 echo "$as_me: failed program was:" >&5
43526 sed 's/^/| /' conftest.$ac_ext >&5
43527
43528 ac_cv_lib_dl_dlerror=no
43529 fi
43530
43531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43532 conftest$ac_exeext conftest.$ac_ext
43533 LIBS=$ac_check_lib_save_LIBS
43534 fi
43535 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43536 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43537 if test $ac_cv_lib_dl_dlerror = yes; then
43538 cat >>confdefs.h <<\_ACEOF
43539 #define HAVE_DLERROR 1
43540 _ACEOF
43541
43542 fi
43543
43544
43545
43546 fi
43547 done
43548
43549 fi
43550 fi
43551
43552 if test "$USE_DARWIN" = 1; then
43553 HAVE_DL_FUNCS=1
43554 fi
43555
43556 if test "$HAVE_DL_FUNCS" = 0; then
43557 if test "$HAVE_SHL_FUNCS" = 0; then
43558 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43559 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43560 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43561 wxUSE_DYNAMIC_LOADER=no
43562 wxUSE_DYNLIB_CLASS=no
43563 else
43564 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43565 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43566 fi
43567 fi
43568 fi
43569 fi
43570 fi
43571
43572 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43573 cat >>confdefs.h <<\_ACEOF
43574 #define wxUSE_DYNAMIC_LOADER 1
43575 _ACEOF
43576
43577 fi
43578 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43579 cat >>confdefs.h <<\_ACEOF
43580 #define wxUSE_DYNLIB_CLASS 1
43581 _ACEOF
43582
43583 fi
43584
43585
43586
43587 if test "$wxUSE_PLUGINS" = "yes" ; then
43588 if test "$wxUSE_SHARED" = "no" ; then
43589 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43590 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43591 wxUSE_PLUGINS=no
43592 fi
43593 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43594 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43595 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43596 wxUSE_PLUGINS=no
43597 fi
43598 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43599 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43600 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43601 wxUSE_PLUGINS=no
43602 fi
43603 if test "$wxUSE_PLUGINS" = "yes" ; then
43604 cat >>confdefs.h <<\_ACEOF
43605 #define wxUSE_PLUGINS 1
43606 _ACEOF
43607
43608 fi
43609 fi
43610
43611
43612 if test "$wxUSE_FSWATCHER" = "yes"; then
43613 if test "$wxUSE_MSW" != "1"; then
43614 if test "$wxUSE_UNIX" = "yes"; then
43615
43616 for ac_header in sys/inotify.h
43617 do
43618 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43619 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43621 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43622 echo $ECHO_N "(cached) $ECHO_C" >&6
43623 else
43624 cat >conftest.$ac_ext <<_ACEOF
43625 /* confdefs.h. */
43626 _ACEOF
43627 cat confdefs.h >>conftest.$ac_ext
43628 cat >>conftest.$ac_ext <<_ACEOF
43629 /* end confdefs.h. */
43630 $ac_includes_default
43631
43632 #include <$ac_header>
43633 _ACEOF
43634 rm -f conftest.$ac_objext
43635 if { (ac_try="$ac_compile"
43636 case "(($ac_try" in
43637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43638 *) ac_try_echo=$ac_try;;
43639 esac
43640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43641 (eval "$ac_compile") 2>conftest.er1
43642 ac_status=$?
43643 grep -v '^ *+' conftest.er1 >conftest.err
43644 rm -f conftest.er1
43645 cat conftest.err >&5
43646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43647 (exit $ac_status); } && {
43648 test -z "$ac_c_werror_flag" ||
43649 test ! -s conftest.err
43650 } && test -s conftest.$ac_objext; then
43651 eval "$as_ac_Header=yes"
43652 else
43653 echo "$as_me: failed program was:" >&5
43654 sed 's/^/| /' conftest.$ac_ext >&5
43655
43656 eval "$as_ac_Header=no"
43657 fi
43658
43659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43660 fi
43661 ac_res=`eval echo '${'$as_ac_Header'}'`
43662 { echo "$as_me:$LINENO: result: $ac_res" >&5
43663 echo "${ECHO_T}$ac_res" >&6; }
43664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43665 cat >>confdefs.h <<_ACEOF
43666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43667 _ACEOF
43668
43669 fi
43670
43671 done
43672
43673 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43674 cat >>confdefs.h <<\_ACEOF
43675 #define wxHAS_INOTIFY 1
43676 _ACEOF
43677
43678 else
43679
43680 for ac_header in sys/event.h
43681 do
43682 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43683 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43686 echo $ECHO_N "(cached) $ECHO_C" >&6
43687 else
43688 cat >conftest.$ac_ext <<_ACEOF
43689 /* confdefs.h. */
43690 _ACEOF
43691 cat confdefs.h >>conftest.$ac_ext
43692 cat >>conftest.$ac_ext <<_ACEOF
43693 /* end confdefs.h. */
43694 $ac_includes_default
43695
43696 #include <$ac_header>
43697 _ACEOF
43698 rm -f conftest.$ac_objext
43699 if { (ac_try="$ac_compile"
43700 case "(($ac_try" in
43701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43702 *) ac_try_echo=$ac_try;;
43703 esac
43704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43705 (eval "$ac_compile") 2>conftest.er1
43706 ac_status=$?
43707 grep -v '^ *+' conftest.er1 >conftest.err
43708 rm -f conftest.er1
43709 cat conftest.err >&5
43710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43711 (exit $ac_status); } && {
43712 test -z "$ac_c_werror_flag" ||
43713 test ! -s conftest.err
43714 } && test -s conftest.$ac_objext; then
43715 eval "$as_ac_Header=yes"
43716 else
43717 echo "$as_me: failed program was:" >&5
43718 sed 's/^/| /' conftest.$ac_ext >&5
43719
43720 eval "$as_ac_Header=no"
43721 fi
43722
43723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43724 fi
43725 ac_res=`eval echo '${'$as_ac_Header'}'`
43726 { echo "$as_me:$LINENO: result: $ac_res" >&5
43727 echo "${ECHO_T}$ac_res" >&6; }
43728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43729 cat >>confdefs.h <<_ACEOF
43730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43731 _ACEOF
43732
43733 fi
43734
43735 done
43736
43737 if test "$ac_cv_header_sys_event_h" = "yes"; then
43738 cat >>confdefs.h <<\_ACEOF
43739 #define wxHAS_KQUEUE 1
43740 _ACEOF
43741
43742 else
43743 wxUSE_FSWATCHER=no
43744 fi
43745 fi
43746 else
43747 wxUSE_FSWATCHER=no
43748 fi
43749 fi
43750
43751 if test "$wxUSE_FSWATCHER" = "yes"; then
43752 cat >>confdefs.h <<\_ACEOF
43753 #define wxUSE_FSWATCHER 1
43754 _ACEOF
43755
43756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43757 else
43758 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43759 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43760 fi
43761 fi
43762
43763
43764 if test "$wxUSE_STL" = "yes"; then
43765 cat >>confdefs.h <<\_ACEOF
43766 #define wxUSE_STL 1
43767 _ACEOF
43768
43769 fi
43770
43771 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43772 cat >>confdefs.h <<\_ACEOF
43773 #define wxUSE_EXTENDED_RTTI 1
43774 _ACEOF
43775
43776 fi
43777
43778 if test "$wxUSE_ANY" = "yes"; then
43779 cat >>confdefs.h <<\_ACEOF
43780 #define wxUSE_ANY 1
43781 _ACEOF
43782
43783 fi
43784
43785 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43786 cat >>confdefs.h <<\_ACEOF
43787 #define wxUSE_APPLE_IEEE 1
43788 _ACEOF
43789
43790 fi
43791
43792 if test "$wxUSE_TIMER" = "yes"; then
43793 cat >>confdefs.h <<\_ACEOF
43794 #define wxUSE_TIMER 1
43795 _ACEOF
43796
43797 fi
43798
43799 if test "$USE_UNIX" = 1 ; then
43800 if test "$wxUSE_MGL" != 1; then
43801 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43802 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43803 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43804 echo $ECHO_N "(cached) $ECHO_C" >&6
43805 else
43806
43807 cat >conftest.$ac_ext <<_ACEOF
43808 /* confdefs.h. */
43809 _ACEOF
43810 cat confdefs.h >>conftest.$ac_ext
43811 cat >>conftest.$ac_ext <<_ACEOF
43812 /* end confdefs.h. */
43813
43814 #include <sys/ioctl.h>
43815 #include <sys/soundcard.h>
43816
43817 int
43818 main ()
43819 {
43820
43821 ioctl(0, SNDCTL_DSP_SPEED, 0);
43822
43823 ;
43824 return 0;
43825 }
43826 _ACEOF
43827 rm -f conftest.$ac_objext conftest$ac_exeext
43828 if { (ac_try="$ac_link"
43829 case "(($ac_try" in
43830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43831 *) ac_try_echo=$ac_try;;
43832 esac
43833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43834 (eval "$ac_link") 2>conftest.er1
43835 ac_status=$?
43836 grep -v '^ *+' conftest.er1 >conftest.err
43837 rm -f conftest.er1
43838 cat conftest.err >&5
43839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43840 (exit $ac_status); } && {
43841 test -z "$ac_c_werror_flag" ||
43842 test ! -s conftest.err
43843 } && test -s conftest$ac_exeext &&
43844 $as_test_x conftest$ac_exeext; then
43845 ac_cv_header_sys_soundcard=yes
43846 else
43847 echo "$as_me: failed program was:" >&5
43848 sed 's/^/| /' conftest.$ac_ext >&5
43849
43850
43851 saveLibs="$LIBS"
43852 LIBS="$saveLibs -lossaudio"
43853 cat >conftest.$ac_ext <<_ACEOF
43854 /* confdefs.h. */
43855 _ACEOF
43856 cat confdefs.h >>conftest.$ac_ext
43857 cat >>conftest.$ac_ext <<_ACEOF
43858 /* end confdefs.h. */
43859
43860 #include <sys/ioctl.h>
43861 #include <sys/soundcard.h>
43862
43863 int
43864 main ()
43865 {
43866
43867 ioctl(0, SNDCTL_DSP_SPEED, 0);
43868
43869 ;
43870 return 0;
43871 }
43872 _ACEOF
43873 rm -f conftest.$ac_objext conftest$ac_exeext
43874 if { (ac_try="$ac_link"
43875 case "(($ac_try" in
43876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43877 *) ac_try_echo=$ac_try;;
43878 esac
43879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43880 (eval "$ac_link") 2>conftest.er1
43881 ac_status=$?
43882 grep -v '^ *+' conftest.er1 >conftest.err
43883 rm -f conftest.er1
43884 cat conftest.err >&5
43885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43886 (exit $ac_status); } && {
43887 test -z "$ac_c_werror_flag" ||
43888 test ! -s conftest.err
43889 } && test -s conftest$ac_exeext &&
43890 $as_test_x conftest$ac_exeext; then
43891 ac_cv_header_sys_soundcard=yes
43892 else
43893 echo "$as_me: failed program was:" >&5
43894 sed 's/^/| /' conftest.$ac_ext >&5
43895
43896
43897 LIBS="$saveLibs"
43898 ac_cv_header_sys_soundcard=no
43899
43900
43901 fi
43902
43903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43904 conftest$ac_exeext conftest.$ac_ext
43905
43906
43907 fi
43908
43909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43910 conftest$ac_exeext conftest.$ac_ext
43911
43912 fi
43913 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43914 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43915 fi
43916
43917 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43918 cat >>confdefs.h <<\_ACEOF
43919 #define HAVE_SYS_SOUNDCARD_H 1
43920 _ACEOF
43921
43922 fi
43923 fi
43924
43925 WITH_PLUGIN_SDL=0
43926 if test "$wxUSE_SOUND" = "yes"; then
43927 if test "$USE_UNIX" = 1 ; then
43928 if test "$wxUSE_LIBSDL" != "no"; then
43929
43930 # Check whether --with-sdl-prefix was given.
43931 if test "${with_sdl_prefix+set}" = set; then
43932 withval=$with_sdl_prefix; sdl_prefix="$withval"
43933 else
43934 sdl_prefix=""
43935 fi
43936
43937
43938 # Check whether --with-sdl-exec-prefix was given.
43939 if test "${with_sdl_exec_prefix+set}" = set; then
43940 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43941 else
43942 sdl_exec_prefix=""
43943 fi
43944
43945 # Check whether --enable-sdltest was given.
43946 if test "${enable_sdltest+set}" = set; then
43947 enableval=$enable_sdltest;
43948 else
43949 enable_sdltest=yes
43950 fi
43951
43952
43953 if test x$sdl_exec_prefix != x ; then
43954 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43955 if test x${SDL_CONFIG+set} != xset ; then
43956 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43957 fi
43958 fi
43959 if test x$sdl_prefix != x ; then
43960 sdl_args="$sdl_args --prefix=$sdl_prefix"
43961 if test x${SDL_CONFIG+set} != xset ; then
43962 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43963 fi
43964 fi
43965
43966 if test "x$prefix" != xNONE; then
43967 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43968 fi
43969 # Extract the first word of "sdl-config", so it can be a program name with args.
43970 set dummy sdl-config; ac_word=$2
43971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43973 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43974 echo $ECHO_N "(cached) $ECHO_C" >&6
43975 else
43976 case $SDL_CONFIG in
43977 [\\/]* | ?:[\\/]*)
43978 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43979 ;;
43980 *)
43981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43982 for as_dir in $PATH
43983 do
43984 IFS=$as_save_IFS
43985 test -z "$as_dir" && as_dir=.
43986 for ac_exec_ext in '' $ac_executable_extensions; do
43987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43988 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43990 break 2
43991 fi
43992 done
43993 done
43994 IFS=$as_save_IFS
43995
43996 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43997 ;;
43998 esac
43999 fi
44000 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44001 if test -n "$SDL_CONFIG"; then
44002 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44003 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44004 else
44005 { echo "$as_me:$LINENO: result: no" >&5
44006 echo "${ECHO_T}no" >&6; }
44007 fi
44008
44009
44010 min_sdl_version=1.2.0
44011 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44012 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44013 no_sdl=""
44014 if test "$SDL_CONFIG" = "no" ; then
44015 no_sdl=yes
44016 else
44017 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44018 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44019
44020 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44022 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44023 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44024 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44025 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44026 if test "x$enable_sdltest" = "xyes" ; then
44027 ac_save_CFLAGS="$CFLAGS"
44028 ac_save_CXXFLAGS="$CXXFLAGS"
44029 ac_save_LIBS="$LIBS"
44030 CFLAGS="$CFLAGS $SDL_CFLAGS"
44031 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44032 LIBS="$LIBS $SDL_LIBS"
44033 rm -f conf.sdltest
44034 if test "$cross_compiling" = yes; then
44035 echo $ac_n "cross compiling; assumed OK... $ac_c"
44036 else
44037 cat >conftest.$ac_ext <<_ACEOF
44038 /* confdefs.h. */
44039 _ACEOF
44040 cat confdefs.h >>conftest.$ac_ext
44041 cat >>conftest.$ac_ext <<_ACEOF
44042 /* end confdefs.h. */
44043
44044 #include <stdio.h>
44045 #include <stdlib.h>
44046 #include <string.h>
44047 #include "SDL.h"
44048
44049 char*
44050 my_strdup (char *str)
44051 {
44052 char *new_str;
44053
44054 if (str)
44055 {
44056 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44057 strcpy (new_str, str);
44058 }
44059 else
44060 new_str = NULL;
44061
44062 return new_str;
44063 }
44064
44065 int main (int argc, char *argv[])
44066 {
44067 int major, minor, micro;
44068 char *tmp_version;
44069
44070 /* This hangs on some systems (?)
44071 system ("touch conf.sdltest");
44072 */
44073 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44074
44075 /* HP/UX 9 (%@#!) writes to sscanf strings */
44076 tmp_version = my_strdup("$min_sdl_version");
44077 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44078 printf("%s, bad version string\n", "$min_sdl_version");
44079 exit(1);
44080 }
44081
44082 if (($sdl_major_version > major) ||
44083 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44084 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44085 {
44086 return 0;
44087 }
44088 else
44089 {
44090 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44091 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44092 printf("*** best to upgrade to the required version.\n");
44093 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44094 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44095 printf("*** config.cache before re-running configure\n");
44096 return 1;
44097 }
44098 }
44099
44100
44101 _ACEOF
44102 rm -f conftest$ac_exeext
44103 if { (ac_try="$ac_link"
44104 case "(($ac_try" in
44105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44106 *) ac_try_echo=$ac_try;;
44107 esac
44108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44109 (eval "$ac_link") 2>&5
44110 ac_status=$?
44111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44113 { (case "(($ac_try" in
44114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44115 *) ac_try_echo=$ac_try;;
44116 esac
44117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44118 (eval "$ac_try") 2>&5
44119 ac_status=$?
44120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44121 (exit $ac_status); }; }; then
44122 :
44123 else
44124 echo "$as_me: program exited with status $ac_status" >&5
44125 echo "$as_me: failed program was:" >&5
44126 sed 's/^/| /' conftest.$ac_ext >&5
44127
44128 ( exit $ac_status )
44129 no_sdl=yes
44130 fi
44131 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44132 fi
44133
44134
44135 CFLAGS="$ac_save_CFLAGS"
44136 CXXFLAGS="$ac_save_CXXFLAGS"
44137 LIBS="$ac_save_LIBS"
44138 fi
44139 fi
44140 if test "x$no_sdl" = x ; then
44141 { echo "$as_me:$LINENO: result: yes" >&5
44142 echo "${ECHO_T}yes" >&6; }
44143
44144 EXTRALIBS_SDL="$SDL_LIBS"
44145 CFLAGS="$SDL_CFLAGS $CFLAGS"
44146 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44147 cat >>confdefs.h <<\_ACEOF
44148 #define wxUSE_LIBSDL 1
44149 _ACEOF
44150
44151
44152 else
44153 { echo "$as_me:$LINENO: result: no" >&5
44154 echo "${ECHO_T}no" >&6; }
44155 if test "$SDL_CONFIG" = "no" ; then
44156 echo "*** The sdl-config script installed by SDL could not be found"
44157 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44158 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44159 echo "*** full path to sdl-config."
44160 else
44161 if test -f conf.sdltest ; then
44162 :
44163 else
44164 echo "*** Could not run SDL test program, checking why..."
44165 CFLAGS="$CFLAGS $SDL_CFLAGS"
44166 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44167 LIBS="$LIBS $SDL_LIBS"
44168 cat >conftest.$ac_ext <<_ACEOF
44169 /* confdefs.h. */
44170 _ACEOF
44171 cat confdefs.h >>conftest.$ac_ext
44172 cat >>conftest.$ac_ext <<_ACEOF
44173 /* end confdefs.h. */
44174
44175 #include <stdio.h>
44176 #include "SDL.h"
44177
44178 int main(int argc, char *argv[])
44179 { return 0; }
44180 #undef main
44181 #define main K_and_R_C_main
44182
44183 int
44184 main ()
44185 {
44186 return 0;
44187 ;
44188 return 0;
44189 }
44190 _ACEOF
44191 rm -f conftest.$ac_objext conftest$ac_exeext
44192 if { (ac_try="$ac_link"
44193 case "(($ac_try" in
44194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44195 *) ac_try_echo=$ac_try;;
44196 esac
44197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44198 (eval "$ac_link") 2>conftest.er1
44199 ac_status=$?
44200 grep -v '^ *+' conftest.er1 >conftest.err
44201 rm -f conftest.er1
44202 cat conftest.err >&5
44203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44204 (exit $ac_status); } && {
44205 test -z "$ac_c_werror_flag" ||
44206 test ! -s conftest.err
44207 } && test -s conftest$ac_exeext &&
44208 $as_test_x conftest$ac_exeext; then
44209 echo "*** The test program compiled, but did not run. This usually means"
44210 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44211 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44212 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44213 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44214 echo "*** is required on your system"
44215 echo "***"
44216 echo "*** If you have an old version installed, it is best to remove it, although"
44217 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44218 else
44219 echo "$as_me: failed program was:" >&5
44220 sed 's/^/| /' conftest.$ac_ext >&5
44221
44222 echo "*** The test program failed to compile or link. See the file config.log for the"
44223 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44224 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44225 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44226 fi
44227
44228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44229 conftest$ac_exeext conftest.$ac_ext
44230 CFLAGS="$ac_save_CFLAGS"
44231 CXXFLAGS="$ac_save_CXXFLAGS"
44232 LIBS="$ac_save_LIBS"
44233 fi
44234 fi
44235 SDL_CFLAGS=""
44236 SDL_LIBS=""
44237 wxUSE_LIBSDL="no"
44238 fi
44239
44240
44241 rm -f conf.sdltest
44242
44243 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44244 WITH_PLUGIN_SDL=1
44245 fi
44246 fi
44247 else
44248 if test "$wxUSE_MGL" = 1; then
44249 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44250 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44251 wxUSE_SOUND="no"
44252 fi
44253 fi
44254 fi
44255
44256 if test "$wxUSE_SOUND" = "yes"; then
44257 cat >>confdefs.h <<\_ACEOF
44258 #define wxUSE_SOUND 1
44259 _ACEOF
44260
44261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44262 fi
44263
44264 if test "$WXGTK2" = 1; then
44265
44266
44267 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44268 if test -n "$ac_tool_prefix"; then
44269 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44270 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44273 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44274 echo $ECHO_N "(cached) $ECHO_C" >&6
44275 else
44276 case $PKG_CONFIG in
44277 [\\/]* | ?:[\\/]*)
44278 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44279 ;;
44280 *)
44281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44282 for as_dir in $PATH
44283 do
44284 IFS=$as_save_IFS
44285 test -z "$as_dir" && as_dir=.
44286 for ac_exec_ext in '' $ac_executable_extensions; do
44287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44288 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44290 break 2
44291 fi
44292 done
44293 done
44294 IFS=$as_save_IFS
44295
44296 ;;
44297 esac
44298 fi
44299 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44300 if test -n "$PKG_CONFIG"; then
44301 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44302 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44303 else
44304 { echo "$as_me:$LINENO: result: no" >&5
44305 echo "${ECHO_T}no" >&6; }
44306 fi
44307
44308
44309 fi
44310 if test -z "$ac_cv_path_PKG_CONFIG"; then
44311 ac_pt_PKG_CONFIG=$PKG_CONFIG
44312 # Extract the first word of "pkg-config", so it can be a program name with args.
44313 set dummy pkg-config; ac_word=$2
44314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44316 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44317 echo $ECHO_N "(cached) $ECHO_C" >&6
44318 else
44319 case $ac_pt_PKG_CONFIG in
44320 [\\/]* | ?:[\\/]*)
44321 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44322 ;;
44323 *)
44324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44325 for as_dir in $PATH
44326 do
44327 IFS=$as_save_IFS
44328 test -z "$as_dir" && as_dir=.
44329 for ac_exec_ext in '' $ac_executable_extensions; do
44330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44331 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44333 break 2
44334 fi
44335 done
44336 done
44337 IFS=$as_save_IFS
44338
44339 ;;
44340 esac
44341 fi
44342 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44343 if test -n "$ac_pt_PKG_CONFIG"; then
44344 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44345 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44346 else
44347 { echo "$as_me:$LINENO: result: no" >&5
44348 echo "${ECHO_T}no" >&6; }
44349 fi
44350
44351 if test "x$ac_pt_PKG_CONFIG" = x; then
44352 PKG_CONFIG=""
44353 else
44354 case $cross_compiling:$ac_tool_warned in
44355 yes:)
44356 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44357 whose name does not start with the host triplet. If you think this
44358 configuration is useful to you, please write to autoconf@gnu.org." >&5
44359 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44360 whose name does not start with the host triplet. If you think this
44361 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44362 ac_tool_warned=yes ;;
44363 esac
44364 PKG_CONFIG=$ac_pt_PKG_CONFIG
44365 fi
44366 else
44367 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44368 fi
44369
44370 fi
44371 if test -n "$PKG_CONFIG"; then
44372 _pkg_min_version=0.9.0
44373 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44374 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44375 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44376 { echo "$as_me:$LINENO: result: yes" >&5
44377 echo "${ECHO_T}yes" >&6; }
44378 else
44379 { echo "$as_me:$LINENO: result: no" >&5
44380 echo "${ECHO_T}no" >&6; }
44381 PKG_CONFIG=""
44382 fi
44383
44384 fi
44385
44386 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44387
44388 if test "$wxUSE_GTKPRINT" = "yes" ; then
44389
44390
44391 pkg_failed=no
44392 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44393 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44394
44395 if test -n "$PKG_CONFIG"; then
44396 if test -n "$GTKPRINT_CFLAGS"; then
44397 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44398 else
44399 if test -n "$PKG_CONFIG" && \
44400 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44401 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44402 ac_status=$?
44403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44404 (exit $ac_status); }; then
44405 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44406 else
44407 pkg_failed=yes
44408 fi
44409 fi
44410 else
44411 pkg_failed=untried
44412 fi
44413 if test -n "$PKG_CONFIG"; then
44414 if test -n "$GTKPRINT_LIBS"; then
44415 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44416 else
44417 if test -n "$PKG_CONFIG" && \
44418 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44419 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44420 ac_status=$?
44421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44422 (exit $ac_status); }; then
44423 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44424 else
44425 pkg_failed=yes
44426 fi
44427 fi
44428 else
44429 pkg_failed=untried
44430 fi
44431
44432
44433
44434 if test $pkg_failed = yes; then
44435
44436 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44437 _pkg_short_errors_supported=yes
44438 else
44439 _pkg_short_errors_supported=no
44440 fi
44441 if test $_pkg_short_errors_supported = yes; then
44442 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44443 else
44444 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44445 fi
44446 # Put the nasty error message in config.log where it belongs
44447 echo "$GTKPRINT_PKG_ERRORS" >&5
44448
44449
44450 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44451 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44452 wxUSE_GTKPRINT="no"
44453
44454
44455 elif test $pkg_failed = untried; then
44456
44457 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44458 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44459 wxUSE_GTKPRINT="no"
44460
44461
44462 else
44463 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44464 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44465 { echo "$as_me:$LINENO: result: yes" >&5
44466 echo "${ECHO_T}yes" >&6; }
44467
44468 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44469 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44470 cat >>confdefs.h <<\_ACEOF
44471 #define wxUSE_GTKPRINT 1
44472 _ACEOF
44473
44474
44475 fi
44476 fi
44477
44478 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44479
44480
44481 pkg_failed=no
44482 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44483 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44484
44485 if test -n "$PKG_CONFIG"; then
44486 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44487 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44488 else
44489 if test -n "$PKG_CONFIG" && \
44490 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44491 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44492 ac_status=$?
44493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44494 (exit $ac_status); }; then
44495 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44496 else
44497 pkg_failed=yes
44498 fi
44499 fi
44500 else
44501 pkg_failed=untried
44502 fi
44503 if test -n "$PKG_CONFIG"; then
44504 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44505 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44506 else
44507 if test -n "$PKG_CONFIG" && \
44508 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44509 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44510 ac_status=$?
44511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44512 (exit $ac_status); }; then
44513 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44514 else
44515 pkg_failed=yes
44516 fi
44517 fi
44518 else
44519 pkg_failed=untried
44520 fi
44521
44522
44523
44524 if test $pkg_failed = yes; then
44525
44526 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44527 _pkg_short_errors_supported=yes
44528 else
44529 _pkg_short_errors_supported=no
44530 fi
44531 if test $_pkg_short_errors_supported = yes; then
44532 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44533 else
44534 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44535 fi
44536 # Put the nasty error message in config.log where it belongs
44537 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44538
44539
44540 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44541 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44542 wxUSE_LIBGNOMEPRINT="no"
44543
44544
44545 elif test $pkg_failed = untried; then
44546
44547 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44548 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44549 wxUSE_LIBGNOMEPRINT="no"
44550
44551
44552 else
44553 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44554 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44555 { echo "$as_me:$LINENO: result: yes" >&5
44556 echo "${ECHO_T}yes" >&6; }
44557
44558 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44559 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44560 cat >>confdefs.h <<\_ACEOF
44561 #define wxUSE_LIBGNOMEPRINT 1
44562 _ACEOF
44563
44564
44565 fi
44566 fi
44567 fi
44568
44569 if test "$wxUSE_MIMETYPE" = "yes" ; then
44570 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44571
44572
44573 pkg_failed=no
44574 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44575 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44576
44577 if test -n "$PKG_CONFIG"; then
44578 if test -n "$GNOMEVFS_CFLAGS"; then
44579 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44580 else
44581 if test -n "$PKG_CONFIG" && \
44582 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44583 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44584 ac_status=$?
44585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44586 (exit $ac_status); }; then
44587 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44588 else
44589 pkg_failed=yes
44590 fi
44591 fi
44592 else
44593 pkg_failed=untried
44594 fi
44595 if test -n "$PKG_CONFIG"; then
44596 if test -n "$GNOMEVFS_LIBS"; then
44597 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44598 else
44599 if test -n "$PKG_CONFIG" && \
44600 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44601 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44602 ac_status=$?
44603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44604 (exit $ac_status); }; then
44605 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44606 else
44607 pkg_failed=yes
44608 fi
44609 fi
44610 else
44611 pkg_failed=untried
44612 fi
44613
44614
44615
44616 if test $pkg_failed = yes; then
44617
44618 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44619 _pkg_short_errors_supported=yes
44620 else
44621 _pkg_short_errors_supported=no
44622 fi
44623 if test $_pkg_short_errors_supported = yes; then
44624 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44625 else
44626 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44627 fi
44628 # Put the nasty error message in config.log where it belongs
44629 echo "$GNOMEVFS_PKG_ERRORS" >&5
44630
44631
44632 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44633 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44634 wxUSE_LIBGNOMEVFS="no"
44635
44636
44637 elif test $pkg_failed = untried; then
44638
44639 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44640 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44641 wxUSE_LIBGNOMEVFS="no"
44642
44643
44644 else
44645 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44646 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44647 { echo "$as_me:$LINENO: result: yes" >&5
44648 echo "${ECHO_T}yes" >&6; }
44649
44650 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44651 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44652 cat >>confdefs.h <<\_ACEOF
44653 #define wxUSE_LIBGNOMEVFS 1
44654 _ACEOF
44655
44656
44657 fi
44658 fi
44659 fi
44660
44661 if test "$wxUSE_LIBHILDON" = "yes" ; then
44662
44663 pkg_failed=no
44664 { echo "$as_me:$LINENO: checking for HILDON" >&5
44665 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44666
44667 if test -n "$PKG_CONFIG"; then
44668 if test -n "$HILDON_CFLAGS"; then
44669 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44670 else
44671 if test -n "$PKG_CONFIG" && \
44672 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44673 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44674 ac_status=$?
44675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44676 (exit $ac_status); }; then
44677 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44678 else
44679 pkg_failed=yes
44680 fi
44681 fi
44682 else
44683 pkg_failed=untried
44684 fi
44685 if test -n "$PKG_CONFIG"; then
44686 if test -n "$HILDON_LIBS"; then
44687 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44688 else
44689 if test -n "$PKG_CONFIG" && \
44690 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44691 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44692 ac_status=$?
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); }; then
44695 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44696 else
44697 pkg_failed=yes
44698 fi
44699 fi
44700 else
44701 pkg_failed=untried
44702 fi
44703
44704
44705
44706 if test $pkg_failed = yes; then
44707
44708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44709 _pkg_short_errors_supported=yes
44710 else
44711 _pkg_short_errors_supported=no
44712 fi
44713 if test $_pkg_short_errors_supported = yes; then
44714 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44715 else
44716 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44717 fi
44718 # Put the nasty error message in config.log where it belongs
44719 echo "$HILDON_PKG_ERRORS" >&5
44720
44721
44722 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44723 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44724 wxUSE_LIBHILDON="no"
44725 ac_hildon_lgpl=0
44726
44727
44728 elif test $pkg_failed = untried; then
44729
44730 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44731 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44732 wxUSE_LIBHILDON="no"
44733 ac_hildon_lgpl=0
44734
44735
44736 else
44737 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44738 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44739 { echo "$as_me:$LINENO: result: yes" >&5
44740 echo "${ECHO_T}yes" >&6; }
44741
44742 EXTRALIBS_HILDON="$HILDON_LIBS"
44743 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44744 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44745 cat >>confdefs.h <<\_ACEOF
44746 #define wxUSE_LIBHILDON 1
44747 _ACEOF
44748
44749 ac_hildon_lgpl=1
44750
44751 fi
44752
44753 if test "$ac_hildon_lgpl" = 0 ; then
44754
44755 pkg_failed=no
44756 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44757 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44758
44759 if test -n "$PKG_CONFIG"; then
44760 if test -n "$HILDON2_CFLAGS"; then
44761 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44762 else
44763 if test -n "$PKG_CONFIG" && \
44764 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44765 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44766 ac_status=$?
44767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44768 (exit $ac_status); }; then
44769 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44770 else
44771 pkg_failed=yes
44772 fi
44773 fi
44774 else
44775 pkg_failed=untried
44776 fi
44777 if test -n "$PKG_CONFIG"; then
44778 if test -n "$HILDON2_LIBS"; then
44779 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44780 else
44781 if test -n "$PKG_CONFIG" && \
44782 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44783 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44784 ac_status=$?
44785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44786 (exit $ac_status); }; then
44787 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44788 else
44789 pkg_failed=yes
44790 fi
44791 fi
44792 else
44793 pkg_failed=untried
44794 fi
44795
44796
44797
44798 if test $pkg_failed = yes; then
44799
44800 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44801 _pkg_short_errors_supported=yes
44802 else
44803 _pkg_short_errors_supported=no
44804 fi
44805 if test $_pkg_short_errors_supported = yes; then
44806 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44807 else
44808 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44809 fi
44810 # Put the nasty error message in config.log where it belongs
44811 echo "$HILDON2_PKG_ERRORS" >&5
44812
44813
44814 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44815 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44816 wxUSE_LIBHILDON2="no"
44817
44818
44819 elif test $pkg_failed = untried; then
44820
44821 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44822 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44823 wxUSE_LIBHILDON2="no"
44824
44825
44826 else
44827 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44828 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44829 { echo "$as_me:$LINENO: result: yes" >&5
44830 echo "${ECHO_T}yes" >&6; }
44831
44832 EXTRALIBS_HILDON="$HILDON2_LIBS"
44833 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44834 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44835 cat >>confdefs.h <<\_ACEOF
44836 #define wxUSE_LIBHILDON2 1
44837 _ACEOF
44838
44839
44840 fi
44841 fi
44842 fi
44843 fi
44844
44845 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_CMDLINE_PARSER 1
44848 _ACEOF
44849
44850 fi
44851
44852 if test "$wxUSE_STOPWATCH" = "yes"; then
44853 cat >>confdefs.h <<\_ACEOF
44854 #define wxUSE_STOPWATCH 1
44855 _ACEOF
44856
44857 fi
44858
44859 if test "$wxUSE_DATETIME" = "yes"; then
44860 cat >>confdefs.h <<\_ACEOF
44861 #define wxUSE_DATETIME 1
44862 _ACEOF
44863
44864 fi
44865
44866 if test "$wxUSE_FILE" = "yes"; then
44867 cat >>confdefs.h <<\_ACEOF
44868 #define wxUSE_FILE 1
44869 _ACEOF
44870
44871 fi
44872
44873 if test "$wxUSE_FFILE" = "yes"; then
44874 cat >>confdefs.h <<\_ACEOF
44875 #define wxUSE_FFILE 1
44876 _ACEOF
44877
44878 fi
44879
44880 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44881 if test "$wxUSE_STREAMS" != yes; then
44882 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44883 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44884 wxUSE_ARCHIVE_STREAMS=no
44885 else
44886 cat >>confdefs.h <<\_ACEOF
44887 #define wxUSE_ARCHIVE_STREAMS 1
44888 _ACEOF
44889
44890 fi
44891 fi
44892
44893 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44894 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44895 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44896 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44897 elif test "$wxUSE_ZLIB" = "no"; then
44898 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44899 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44900 else
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_ZIPSTREAM 1
44903 _ACEOF
44904
44905 fi
44906 fi
44907
44908 if test "$wxUSE_TARSTREAM" = "yes"; then
44909 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44910 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44911 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44912 else
44913 cat >>confdefs.h <<\_ACEOF
44914 #define wxUSE_TARSTREAM 1
44915 _ACEOF
44916
44917 fi
44918 fi
44919
44920 if test "$wxUSE_FILE_HISTORY" = "yes"; then
44921 cat >>confdefs.h <<\_ACEOF
44922 #define wxUSE_FILE_HISTORY 1
44923 _ACEOF
44924
44925 fi
44926
44927 if test "$wxUSE_FILESYSTEM" = "yes"; then
44928 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44929 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44930 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44931 wxUSE_FILESYSTEM=no
44932 else
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_FILESYSTEM 1
44935 _ACEOF
44936
44937 fi
44938 fi
44939
44940 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44941 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44942 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44943 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44944 else
44945 cat >>confdefs.h <<\_ACEOF
44946 #define wxUSE_FS_ARCHIVE 1
44947 _ACEOF
44948
44949 fi
44950 fi
44951
44952 if test "$wxUSE_FS_ZIP" = "yes"; then
44953 if test "$wxUSE_FS_ARCHIVE" != yes; then
44954 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44955 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44956 else
44957 cat >>confdefs.h <<\_ACEOF
44958 #define wxUSE_FS_ZIP 1
44959 _ACEOF
44960
44961 fi
44962 fi
44963
44964 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44965 if test "$USE_UNIX" != 1; then
44966 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44967 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44968 wxUSE_ON_FATAL_EXCEPTION=no
44969 else
44970 cat >>confdefs.h <<\_ACEOF
44971 #define wxUSE_ON_FATAL_EXCEPTION 1
44972 _ACEOF
44973
44974 fi
44975 fi
44976
44977 if test "$wxUSE_STACKWALKER" = "yes"; then
44978 cat >>confdefs.h <<\_ACEOF
44979 #define wxUSE_STACKWALKER 1
44980 _ACEOF
44981
44982 fi
44983
44984 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44985 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44986 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44987 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44988 wxUSE_DEBUGREPORT=no
44989 else
44990 cat >>confdefs.h <<\_ACEOF
44991 #define wxUSE_DEBUGREPORT 1
44992 _ACEOF
44993
44994 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44996 fi
44997 fi
44998 fi
44999
45000 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45001 cat >>confdefs.h <<\_ACEOF
45002 #define wxUSE_SNGLINST_CHECKER 1
45003 _ACEOF
45004
45005 fi
45006
45007 if test "$wxUSE_BUSYINFO" = "yes"; then
45008 cat >>confdefs.h <<\_ACEOF
45009 #define wxUSE_BUSYINFO 1
45010 _ACEOF
45011
45012 fi
45013
45014 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45015 cat >>confdefs.h <<\_ACEOF
45016 #define wxUSE_STD_CONTAINERS 1
45017 _ACEOF
45018
45019 fi
45020
45021 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45022 cat >>confdefs.h <<\_ACEOF
45023 #define wxUSE_STD_IOSTREAM 1
45024 _ACEOF
45025
45026 fi
45027
45028 if test "$wxUSE_STD_STRING" = "yes"; then
45029 cat >>confdefs.h <<\_ACEOF
45030 #define wxUSE_STD_STRING 1
45031 _ACEOF
45032
45033 fi
45034
45035 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45036 cat >>confdefs.h <<\_ACEOF
45037 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45038 _ACEOF
45039
45040 fi
45041
45042 if test "$wxUSE_STDPATHS" = "yes"; then
45043 cat >>confdefs.h <<\_ACEOF
45044 #define wxUSE_STDPATHS 1
45045 _ACEOF
45046
45047 fi
45048
45049 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45050 cat >>confdefs.h <<\_ACEOF
45051 #define wxUSE_TEXTBUFFER 1
45052 _ACEOF
45053
45054 fi
45055
45056 if test "$wxUSE_TEXTFILE" = "yes"; then
45057 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45058 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45059 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45060 else
45061 cat >>confdefs.h <<\_ACEOF
45062 #define wxUSE_TEXTFILE 1
45063 _ACEOF
45064
45065 fi
45066 fi
45067
45068 if test "$wxUSE_CONFIG" = "yes" ; then
45069 if test "$wxUSE_TEXTFILE" != "yes"; then
45070 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45071 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45072 else
45073 cat >>confdefs.h <<\_ACEOF
45074 #define wxUSE_CONFIG 1
45075 _ACEOF
45076
45077 cat >>confdefs.h <<\_ACEOF
45078 #define wxUSE_CONFIG_NATIVE 1
45079 _ACEOF
45080
45081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45082 fi
45083 fi
45084
45085 if test "$wxUSE_INTL" = "yes" ; then
45086 if test "$wxUSE_FILE" != "yes"; then
45087 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45088 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45089 else
45090 cat >>confdefs.h <<\_ACEOF
45091 #define wxUSE_INTL 1
45092 _ACEOF
45093
45094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45095 GUIDIST="$GUIDIST INTL_DIST"
45096 fi
45097 fi
45098
45099 if test "$wxUSE_XLOCALE" = "yes" ; then
45100 cat >>confdefs.h <<\_ACEOF
45101 #define wxUSE_XLOCALE 1
45102 _ACEOF
45103
45104 { echo "$as_me:$LINENO: checking for locale_t" >&5
45105 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45106 if test "${ac_cv_type_locale_t+set}" = set; then
45107 echo $ECHO_N "(cached) $ECHO_C" >&6
45108 else
45109 cat >conftest.$ac_ext <<_ACEOF
45110 /* confdefs.h. */
45111 _ACEOF
45112 cat confdefs.h >>conftest.$ac_ext
45113 cat >>conftest.$ac_ext <<_ACEOF
45114 /* end confdefs.h. */
45115 #include <xlocale.h>
45116 #include <locale.h>
45117
45118 typedef locale_t ac__type_new_;
45119 int
45120 main ()
45121 {
45122 if ((ac__type_new_ *) 0)
45123 return 0;
45124 if (sizeof (ac__type_new_))
45125 return 0;
45126 ;
45127 return 0;
45128 }
45129 _ACEOF
45130 rm -f conftest.$ac_objext
45131 if { (ac_try="$ac_compile"
45132 case "(($ac_try" in
45133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45134 *) ac_try_echo=$ac_try;;
45135 esac
45136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45137 (eval "$ac_compile") 2>conftest.er1
45138 ac_status=$?
45139 grep -v '^ *+' conftest.er1 >conftest.err
45140 rm -f conftest.er1
45141 cat conftest.err >&5
45142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45143 (exit $ac_status); } && {
45144 test -z "$ac_c_werror_flag" ||
45145 test ! -s conftest.err
45146 } && test -s conftest.$ac_objext; then
45147 ac_cv_type_locale_t=yes
45148 else
45149 echo "$as_me: failed program was:" >&5
45150 sed 's/^/| /' conftest.$ac_ext >&5
45151
45152 ac_cv_type_locale_t=no
45153 fi
45154
45155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45156 fi
45157 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45158 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45159 if test $ac_cv_type_locale_t = yes; then
45160
45161 cat >>confdefs.h <<_ACEOF
45162 #define HAVE_LOCALE_T 1
45163 _ACEOF
45164
45165
45166 fi
45167
45168 fi
45169
45170 if test "$wxUSE_LOG" = "yes"; then
45171 cat >>confdefs.h <<\_ACEOF
45172 #define wxUSE_LOG 1
45173 _ACEOF
45174
45175
45176 if test "$wxUSE_LOGGUI" = "yes"; then
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_LOGGUI 1
45179 _ACEOF
45180
45181 fi
45182
45183 if test "$wxUSE_LOGWINDOW" = "yes"; then
45184 cat >>confdefs.h <<\_ACEOF
45185 #define wxUSE_LOGWINDOW 1
45186 _ACEOF
45187
45188 fi
45189
45190 if test "$wxUSE_LOGDIALOG" = "yes"; then
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_LOG_DIALOG 1
45193 _ACEOF
45194
45195 fi
45196
45197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45198 fi
45199
45200 if test "$wxUSE_LONGLONG" = "yes"; then
45201 cat >>confdefs.h <<\_ACEOF
45202 #define wxUSE_LONGLONG 1
45203 _ACEOF
45204
45205 fi
45206
45207 if test "$wxUSE_GEOMETRY" = "yes"; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_GEOMETRY 1
45210 _ACEOF
45211
45212 fi
45213
45214 if test "$wxUSE_BASE64" = "yes"; then
45215 cat >>confdefs.h <<\_ACEOF
45216 #define wxUSE_BASE64 1
45217 _ACEOF
45218
45219 fi
45220
45221 if test "$wxUSE_STREAMS" = "yes" ; then
45222 cat >>confdefs.h <<\_ACEOF
45223 #define wxUSE_STREAMS 1
45224 _ACEOF
45225
45226 fi
45227
45228 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45229 cat >>confdefs.h <<\_ACEOF
45230 #define wxUSE_PRINTF_POS_PARAMS 1
45231 _ACEOF
45232
45233 fi
45234
45235 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45236 cat >>confdefs.h <<\_ACEOF
45237 #define wxUSE_OBJC_UNIQUIFYING 1
45238 _ACEOF
45239
45240 fi
45241
45242
45243 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45244 cat >>confdefs.h <<\_ACEOF
45245 #define wxUSE_CONSOLE_EVENTLOOP 1
45246 _ACEOF
45247
45248
45249 if test "$wxUSE_UNIX" = "yes"; then
45250 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45251 cat >>confdefs.h <<\_ACEOF
45252 #define wxUSE_SELECT_DISPATCHER 1
45253 _ACEOF
45254
45255 fi
45256
45257 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45258
45259 for ac_header in sys/epoll.h
45260 do
45261 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45262 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45265 echo $ECHO_N "(cached) $ECHO_C" >&6
45266 else
45267 cat >conftest.$ac_ext <<_ACEOF
45268 /* confdefs.h. */
45269 _ACEOF
45270 cat confdefs.h >>conftest.$ac_ext
45271 cat >>conftest.$ac_ext <<_ACEOF
45272 /* end confdefs.h. */
45273 $ac_includes_default
45274
45275 #include <$ac_header>
45276 _ACEOF
45277 rm -f conftest.$ac_objext
45278 if { (ac_try="$ac_compile"
45279 case "(($ac_try" in
45280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45281 *) ac_try_echo=$ac_try;;
45282 esac
45283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45284 (eval "$ac_compile") 2>conftest.er1
45285 ac_status=$?
45286 grep -v '^ *+' conftest.er1 >conftest.err
45287 rm -f conftest.er1
45288 cat conftest.err >&5
45289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45290 (exit $ac_status); } && {
45291 test -z "$ac_c_werror_flag" ||
45292 test ! -s conftest.err
45293 } && test -s conftest.$ac_objext; then
45294 eval "$as_ac_Header=yes"
45295 else
45296 echo "$as_me: failed program was:" >&5
45297 sed 's/^/| /' conftest.$ac_ext >&5
45298
45299 eval "$as_ac_Header=no"
45300 fi
45301
45302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45303 fi
45304 ac_res=`eval echo '${'$as_ac_Header'}'`
45305 { echo "$as_me:$LINENO: result: $ac_res" >&5
45306 echo "${ECHO_T}$ac_res" >&6; }
45307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45308 cat >>confdefs.h <<_ACEOF
45309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45310 _ACEOF
45311
45312 fi
45313
45314 done
45315
45316 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_EPOLL_DISPATCHER 1
45319 _ACEOF
45320
45321 else
45322 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45323 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45324 fi
45325 fi
45326 fi
45327 fi
45328
45329
45330
45331
45332 for ac_func in gettimeofday ftime
45333 do
45334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45335 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45337 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45338 echo $ECHO_N "(cached) $ECHO_C" >&6
45339 else
45340 cat >conftest.$ac_ext <<_ACEOF
45341 /* confdefs.h. */
45342 _ACEOF
45343 cat confdefs.h >>conftest.$ac_ext
45344 cat >>conftest.$ac_ext <<_ACEOF
45345 /* end confdefs.h. */
45346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45348 #define $ac_func innocuous_$ac_func
45349
45350 /* System header to define __stub macros and hopefully few prototypes,
45351 which can conflict with char $ac_func (); below.
45352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45353 <limits.h> exists even on freestanding compilers. */
45354
45355 #ifdef __STDC__
45356 # include <limits.h>
45357 #else
45358 # include <assert.h>
45359 #endif
45360
45361 #undef $ac_func
45362
45363 /* Override any GCC internal prototype to avoid an error.
45364 Use char because int might match the return type of a GCC
45365 builtin and then its argument prototype would still apply. */
45366 #ifdef __cplusplus
45367 extern "C"
45368 #endif
45369 char $ac_func ();
45370 /* The GNU C library defines this for functions which it implements
45371 to always fail with ENOSYS. Some functions are actually named
45372 something starting with __ and the normal name is an alias. */
45373 #if defined __stub_$ac_func || defined __stub___$ac_func
45374 choke me
45375 #endif
45376
45377 int
45378 main ()
45379 {
45380 return $ac_func ();
45381 ;
45382 return 0;
45383 }
45384 _ACEOF
45385 rm -f conftest.$ac_objext conftest$ac_exeext
45386 if { (ac_try="$ac_link"
45387 case "(($ac_try" in
45388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45389 *) ac_try_echo=$ac_try;;
45390 esac
45391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45392 (eval "$ac_link") 2>conftest.er1
45393 ac_status=$?
45394 grep -v '^ *+' conftest.er1 >conftest.err
45395 rm -f conftest.er1
45396 cat conftest.err >&5
45397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45398 (exit $ac_status); } && {
45399 test -z "$ac_c_werror_flag" ||
45400 test ! -s conftest.err
45401 } && test -s conftest$ac_exeext &&
45402 $as_test_x conftest$ac_exeext; then
45403 eval "$as_ac_var=yes"
45404 else
45405 echo "$as_me: failed program was:" >&5
45406 sed 's/^/| /' conftest.$ac_ext >&5
45407
45408 eval "$as_ac_var=no"
45409 fi
45410
45411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45412 conftest$ac_exeext conftest.$ac_ext
45413 fi
45414 ac_res=`eval echo '${'$as_ac_var'}'`
45415 { echo "$as_me:$LINENO: result: $ac_res" >&5
45416 echo "${ECHO_T}$ac_res" >&6; }
45417 if test `eval echo '${'$as_ac_var'}'` = yes; then
45418 cat >>confdefs.h <<_ACEOF
45419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45420 _ACEOF
45421 break
45422 fi
45423 done
45424
45425
45426 if test "$ac_cv_func_gettimeofday" = "yes"; then
45427 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45428 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45429 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45430 echo $ECHO_N "(cached) $ECHO_C" >&6
45431 else
45432
45433 cat >conftest.$ac_ext <<_ACEOF
45434 /* confdefs.h. */
45435 _ACEOF
45436 cat confdefs.h >>conftest.$ac_ext
45437 cat >>conftest.$ac_ext <<_ACEOF
45438 /* end confdefs.h. */
45439
45440 #include <sys/time.h>
45441 #include <unistd.h>
45442
45443 int
45444 main ()
45445 {
45446
45447 struct timeval tv;
45448 gettimeofday(&tv, NULL);
45449
45450 ;
45451 return 0;
45452 }
45453 _ACEOF
45454 rm -f conftest.$ac_objext
45455 if { (ac_try="$ac_compile"
45456 case "(($ac_try" in
45457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45458 *) ac_try_echo=$ac_try;;
45459 esac
45460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45461 (eval "$ac_compile") 2>conftest.er1
45462 ac_status=$?
45463 grep -v '^ *+' conftest.er1 >conftest.err
45464 rm -f conftest.er1
45465 cat conftest.err >&5
45466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45467 (exit $ac_status); } && {
45468 test -z "$ac_c_werror_flag" ||
45469 test ! -s conftest.err
45470 } && test -s conftest.$ac_objext; then
45471 wx_cv_func_gettimeofday_has_2_args=yes
45472 else
45473 echo "$as_me: failed program was:" >&5
45474 sed 's/^/| /' conftest.$ac_ext >&5
45475
45476 cat >conftest.$ac_ext <<_ACEOF
45477 /* confdefs.h. */
45478 _ACEOF
45479 cat confdefs.h >>conftest.$ac_ext
45480 cat >>conftest.$ac_ext <<_ACEOF
45481 /* end confdefs.h. */
45482
45483 #include <sys/time.h>
45484 #include <unistd.h>
45485
45486 int
45487 main ()
45488 {
45489
45490 struct timeval tv;
45491 gettimeofday(&tv);
45492
45493 ;
45494 return 0;
45495 }
45496 _ACEOF
45497 rm -f conftest.$ac_objext
45498 if { (ac_try="$ac_compile"
45499 case "(($ac_try" in
45500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45501 *) ac_try_echo=$ac_try;;
45502 esac
45503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45504 (eval "$ac_compile") 2>conftest.er1
45505 ac_status=$?
45506 grep -v '^ *+' conftest.er1 >conftest.err
45507 rm -f conftest.er1
45508 cat conftest.err >&5
45509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45510 (exit $ac_status); } && {
45511 test -z "$ac_c_werror_flag" ||
45512 test ! -s conftest.err
45513 } && test -s conftest.$ac_objext; then
45514 wx_cv_func_gettimeofday_has_2_args=no
45515 else
45516 echo "$as_me: failed program was:" >&5
45517 sed 's/^/| /' conftest.$ac_ext >&5
45518
45519
45520 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45521 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45522 wx_cv_func_gettimeofday_has_2_args=unknown
45523
45524
45525 fi
45526
45527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45528
45529 fi
45530
45531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45532
45533 fi
45534 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45535 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45536
45537 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45538 cat >>confdefs.h <<\_ACEOF
45539 #define WX_GETTIMEOFDAY_NO_TZ 1
45540 _ACEOF
45541
45542 fi
45543 fi
45544
45545 if test "$wxUSE_DATETIME" = "yes"; then
45546 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45547 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45548 if test "${wx_cv_var_timezone+set}" = set; then
45549 echo $ECHO_N "(cached) $ECHO_C" >&6
45550 else
45551
45552 ac_ext=cpp
45553 ac_cpp='$CXXCPP $CPPFLAGS'
45554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45557
45558 cat >conftest.$ac_ext <<_ACEOF
45559 /* confdefs.h. */
45560 _ACEOF
45561 cat confdefs.h >>conftest.$ac_ext
45562 cat >>conftest.$ac_ext <<_ACEOF
45563 /* end confdefs.h. */
45564
45565 #include <time.h>
45566
45567 int
45568 main ()
45569 {
45570
45571 int tz;
45572 tz = timezone;
45573
45574 ;
45575 return 0;
45576 }
45577 _ACEOF
45578 rm -f conftest.$ac_objext
45579 if { (ac_try="$ac_compile"
45580 case "(($ac_try" in
45581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45582 *) ac_try_echo=$ac_try;;
45583 esac
45584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45585 (eval "$ac_compile") 2>conftest.er1
45586 ac_status=$?
45587 grep -v '^ *+' conftest.er1 >conftest.err
45588 rm -f conftest.er1
45589 cat conftest.err >&5
45590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45591 (exit $ac_status); } && {
45592 test -z "$ac_cxx_werror_flag" ||
45593 test ! -s conftest.err
45594 } && test -s conftest.$ac_objext; then
45595
45596 wx_cv_var_timezone=timezone
45597
45598 else
45599 echo "$as_me: failed program was:" >&5
45600 sed 's/^/| /' conftest.$ac_ext >&5
45601
45602
45603 cat >conftest.$ac_ext <<_ACEOF
45604 /* confdefs.h. */
45605 _ACEOF
45606 cat confdefs.h >>conftest.$ac_ext
45607 cat >>conftest.$ac_ext <<_ACEOF
45608 /* end confdefs.h. */
45609
45610 #include <time.h>
45611
45612 int
45613 main ()
45614 {
45615
45616 int tz;
45617 tz = _timezone;
45618
45619 ;
45620 return 0;
45621 }
45622 _ACEOF
45623 rm -f conftest.$ac_objext
45624 if { (ac_try="$ac_compile"
45625 case "(($ac_try" in
45626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45627 *) ac_try_echo=$ac_try;;
45628 esac
45629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45630 (eval "$ac_compile") 2>conftest.er1
45631 ac_status=$?
45632 grep -v '^ *+' conftest.er1 >conftest.err
45633 rm -f conftest.er1
45634 cat conftest.err >&5
45635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45636 (exit $ac_status); } && {
45637 test -z "$ac_cxx_werror_flag" ||
45638 test ! -s conftest.err
45639 } && test -s conftest.$ac_objext; then
45640
45641 wx_cv_var_timezone=_timezone
45642
45643 else
45644 echo "$as_me: failed program was:" >&5
45645 sed 's/^/| /' conftest.$ac_ext >&5
45646
45647
45648 cat >conftest.$ac_ext <<_ACEOF
45649 /* confdefs.h. */
45650 _ACEOF
45651 cat confdefs.h >>conftest.$ac_ext
45652 cat >>conftest.$ac_ext <<_ACEOF
45653 /* end confdefs.h. */
45654
45655 #include <time.h>
45656
45657 int
45658 main ()
45659 {
45660
45661 int tz;
45662 tz = __timezone;
45663
45664 ;
45665 return 0;
45666 }
45667 _ACEOF
45668 rm -f conftest.$ac_objext
45669 if { (ac_try="$ac_compile"
45670 case "(($ac_try" in
45671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45672 *) ac_try_echo=$ac_try;;
45673 esac
45674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45675 (eval "$ac_compile") 2>conftest.er1
45676 ac_status=$?
45677 grep -v '^ *+' conftest.er1 >conftest.err
45678 rm -f conftest.er1
45679 cat conftest.err >&5
45680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45681 (exit $ac_status); } && {
45682 test -z "$ac_cxx_werror_flag" ||
45683 test ! -s conftest.err
45684 } && test -s conftest.$ac_objext; then
45685
45686 wx_cv_var_timezone=__timezone
45687
45688 else
45689 echo "$as_me: failed program was:" >&5
45690 sed 's/^/| /' conftest.$ac_ext >&5
45691
45692
45693 if test "$USE_DOS" = 0 ; then
45694 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45695 echo "$as_me: WARNING: no timezone variable" >&2;}
45696 fi
45697
45698
45699 fi
45700
45701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45702
45703
45704 fi
45705
45706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45707
45708
45709 fi
45710
45711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45712 ac_ext=c
45713 ac_cpp='$CPP $CPPFLAGS'
45714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45717
45718
45719
45720 fi
45721 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45722 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45723
45724 if test "x$wx_cv_var_timezone" != x ; then
45725 cat >>confdefs.h <<_ACEOF
45726 #define WX_TIMEZONE $wx_cv_var_timezone
45727 _ACEOF
45728
45729 fi
45730
45731
45732 for ac_func in localtime
45733 do
45734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45735 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45737 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45738 echo $ECHO_N "(cached) $ECHO_C" >&6
45739 else
45740 cat >conftest.$ac_ext <<_ACEOF
45741 /* confdefs.h. */
45742 _ACEOF
45743 cat confdefs.h >>conftest.$ac_ext
45744 cat >>conftest.$ac_ext <<_ACEOF
45745 /* end confdefs.h. */
45746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45748 #define $ac_func innocuous_$ac_func
45749
45750 /* System header to define __stub macros and hopefully few prototypes,
45751 which can conflict with char $ac_func (); below.
45752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45753 <limits.h> exists even on freestanding compilers. */
45754
45755 #ifdef __STDC__
45756 # include <limits.h>
45757 #else
45758 # include <assert.h>
45759 #endif
45760
45761 #undef $ac_func
45762
45763 /* Override any GCC internal prototype to avoid an error.
45764 Use char because int might match the return type of a GCC
45765 builtin and then its argument prototype would still apply. */
45766 #ifdef __cplusplus
45767 extern "C"
45768 #endif
45769 char $ac_func ();
45770 /* The GNU C library defines this for functions which it implements
45771 to always fail with ENOSYS. Some functions are actually named
45772 something starting with __ and the normal name is an alias. */
45773 #if defined __stub_$ac_func || defined __stub___$ac_func
45774 choke me
45775 #endif
45776
45777 int
45778 main ()
45779 {
45780 return $ac_func ();
45781 ;
45782 return 0;
45783 }
45784 _ACEOF
45785 rm -f conftest.$ac_objext conftest$ac_exeext
45786 if { (ac_try="$ac_link"
45787 case "(($ac_try" in
45788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45789 *) ac_try_echo=$ac_try;;
45790 esac
45791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45792 (eval "$ac_link") 2>conftest.er1
45793 ac_status=$?
45794 grep -v '^ *+' conftest.er1 >conftest.err
45795 rm -f conftest.er1
45796 cat conftest.err >&5
45797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45798 (exit $ac_status); } && {
45799 test -z "$ac_c_werror_flag" ||
45800 test ! -s conftest.err
45801 } && test -s conftest$ac_exeext &&
45802 $as_test_x conftest$ac_exeext; then
45803 eval "$as_ac_var=yes"
45804 else
45805 echo "$as_me: failed program was:" >&5
45806 sed 's/^/| /' conftest.$ac_ext >&5
45807
45808 eval "$as_ac_var=no"
45809 fi
45810
45811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45812 conftest$ac_exeext conftest.$ac_ext
45813 fi
45814 ac_res=`eval echo '${'$as_ac_var'}'`
45815 { echo "$as_me:$LINENO: result: $ac_res" >&5
45816 echo "${ECHO_T}$ac_res" >&6; }
45817 if test `eval echo '${'$as_ac_var'}'` = yes; then
45818 cat >>confdefs.h <<_ACEOF
45819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45820 _ACEOF
45821
45822 fi
45823 done
45824
45825
45826 if test "$ac_cv_func_localtime" = "yes"; then
45827 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45828 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45829 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45830 echo $ECHO_N "(cached) $ECHO_C" >&6
45831 else
45832
45833 cat >conftest.$ac_ext <<_ACEOF
45834 /* confdefs.h. */
45835 _ACEOF
45836 cat confdefs.h >>conftest.$ac_ext
45837 cat >>conftest.$ac_ext <<_ACEOF
45838 /* end confdefs.h. */
45839
45840 #include <time.h>
45841
45842 int
45843 main ()
45844 {
45845
45846 struct tm tm;
45847 tm.tm_gmtoff++;
45848
45849 ;
45850 return 0;
45851 }
45852 _ACEOF
45853 rm -f conftest.$ac_objext
45854 if { (ac_try="$ac_compile"
45855 case "(($ac_try" in
45856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45857 *) ac_try_echo=$ac_try;;
45858 esac
45859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45860 (eval "$ac_compile") 2>conftest.er1
45861 ac_status=$?
45862 grep -v '^ *+' conftest.er1 >conftest.err
45863 rm -f conftest.er1
45864 cat conftest.err >&5
45865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45866 (exit $ac_status); } && {
45867 test -z "$ac_c_werror_flag" ||
45868 test ! -s conftest.err
45869 } && test -s conftest.$ac_objext; then
45870
45871 wx_cv_struct_tm_has_gmtoff=yes
45872
45873 else
45874 echo "$as_me: failed program was:" >&5
45875 sed 's/^/| /' conftest.$ac_ext >&5
45876
45877 wx_cv_struct_tm_has_gmtoff=no
45878
45879 fi
45880
45881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45882
45883 fi
45884 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45885 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45886 fi
45887
45888 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45889 cat >>confdefs.h <<\_ACEOF
45890 #define WX_GMTOFF_IN_TM 1
45891 _ACEOF
45892
45893 fi
45894
45895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45896 fi
45897
45898
45899 if test "$wxUSE_SOCKETS" = "yes"; then
45900 if test "$wxUSE_MGL" = 1; then
45901 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45902 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45903 wxUSE_SOCKETS="no"
45904 fi
45905 fi
45906
45907 if test "$wxUSE_SOCKETS" = "yes"; then
45908 if test "$TOOLKIT" != "MSW"; then
45909 { echo "$as_me:$LINENO: checking for socket" >&5
45910 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45911 if test "${ac_cv_func_socket+set}" = set; then
45912 echo $ECHO_N "(cached) $ECHO_C" >&6
45913 else
45914 cat >conftest.$ac_ext <<_ACEOF
45915 /* confdefs.h. */
45916 _ACEOF
45917 cat confdefs.h >>conftest.$ac_ext
45918 cat >>conftest.$ac_ext <<_ACEOF
45919 /* end confdefs.h. */
45920 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45922 #define socket innocuous_socket
45923
45924 /* System header to define __stub macros and hopefully few prototypes,
45925 which can conflict with char socket (); below.
45926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45927 <limits.h> exists even on freestanding compilers. */
45928
45929 #ifdef __STDC__
45930 # include <limits.h>
45931 #else
45932 # include <assert.h>
45933 #endif
45934
45935 #undef socket
45936
45937 /* Override any GCC internal prototype to avoid an error.
45938 Use char because int might match the return type of a GCC
45939 builtin and then its argument prototype would still apply. */
45940 #ifdef __cplusplus
45941 extern "C"
45942 #endif
45943 char socket ();
45944 /* The GNU C library defines this for functions which it implements
45945 to always fail with ENOSYS. Some functions are actually named
45946 something starting with __ and the normal name is an alias. */
45947 #if defined __stub_socket || defined __stub___socket
45948 choke me
45949 #endif
45950
45951 int
45952 main ()
45953 {
45954 return socket ();
45955 ;
45956 return 0;
45957 }
45958 _ACEOF
45959 rm -f conftest.$ac_objext conftest$ac_exeext
45960 if { (ac_try="$ac_link"
45961 case "(($ac_try" in
45962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45963 *) ac_try_echo=$ac_try;;
45964 esac
45965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45966 (eval "$ac_link") 2>conftest.er1
45967 ac_status=$?
45968 grep -v '^ *+' conftest.er1 >conftest.err
45969 rm -f conftest.er1
45970 cat conftest.err >&5
45971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45972 (exit $ac_status); } && {
45973 test -z "$ac_c_werror_flag" ||
45974 test ! -s conftest.err
45975 } && test -s conftest$ac_exeext &&
45976 $as_test_x conftest$ac_exeext; then
45977 ac_cv_func_socket=yes
45978 else
45979 echo "$as_me: failed program was:" >&5
45980 sed 's/^/| /' conftest.$ac_ext >&5
45981
45982 ac_cv_func_socket=no
45983 fi
45984
45985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45986 conftest$ac_exeext conftest.$ac_ext
45987 fi
45988 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45989 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45990 if test $ac_cv_func_socket = yes; then
45991 :
45992 else
45993
45994 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45995 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45996 if test "${ac_cv_lib_socket_socket+set}" = set; then
45997 echo $ECHO_N "(cached) $ECHO_C" >&6
45998 else
45999 ac_check_lib_save_LIBS=$LIBS
46000 LIBS="-lsocket $LIBS"
46001 cat >conftest.$ac_ext <<_ACEOF
46002 /* confdefs.h. */
46003 _ACEOF
46004 cat confdefs.h >>conftest.$ac_ext
46005 cat >>conftest.$ac_ext <<_ACEOF
46006 /* end confdefs.h. */
46007
46008 /* Override any GCC internal prototype to avoid an error.
46009 Use char because int might match the return type of a GCC
46010 builtin and then its argument prototype would still apply. */
46011 #ifdef __cplusplus
46012 extern "C"
46013 #endif
46014 char socket ();
46015 int
46016 main ()
46017 {
46018 return socket ();
46019 ;
46020 return 0;
46021 }
46022 _ACEOF
46023 rm -f conftest.$ac_objext conftest$ac_exeext
46024 if { (ac_try="$ac_link"
46025 case "(($ac_try" in
46026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46027 *) ac_try_echo=$ac_try;;
46028 esac
46029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46030 (eval "$ac_link") 2>conftest.er1
46031 ac_status=$?
46032 grep -v '^ *+' conftest.er1 >conftest.err
46033 rm -f conftest.er1
46034 cat conftest.err >&5
46035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46036 (exit $ac_status); } && {
46037 test -z "$ac_c_werror_flag" ||
46038 test ! -s conftest.err
46039 } && test -s conftest$ac_exeext &&
46040 $as_test_x conftest$ac_exeext; then
46041 ac_cv_lib_socket_socket=yes
46042 else
46043 echo "$as_me: failed program was:" >&5
46044 sed 's/^/| /' conftest.$ac_ext >&5
46045
46046 ac_cv_lib_socket_socket=no
46047 fi
46048
46049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46050 conftest$ac_exeext conftest.$ac_ext
46051 LIBS=$ac_check_lib_save_LIBS
46052 fi
46053 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46054 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46055 if test $ac_cv_lib_socket_socket = yes; then
46056 if test "$INET_LINK" != " -lsocket"; then
46057 INET_LINK="$INET_LINK -lsocket"
46058 fi
46059 else
46060
46061 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46062 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46063 wxUSE_SOCKETS=no
46064
46065
46066 fi
46067
46068
46069
46070 fi
46071
46072 fi
46073 fi
46074
46075 if test "$wxUSE_SOCKETS" = "yes" ; then
46076 if test "$TOOLKIT" != "MSW"; then
46077 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46078 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46079 if test "${wx_cv_type_getsockname3+set}" = set; then
46080 echo $ECHO_N "(cached) $ECHO_C" >&6
46081 else
46082
46083 ac_ext=cpp
46084 ac_cpp='$CXXCPP $CPPFLAGS'
46085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46088
46089 cat >conftest.$ac_ext <<_ACEOF
46090 /* confdefs.h. */
46091 _ACEOF
46092 cat confdefs.h >>conftest.$ac_ext
46093 cat >>conftest.$ac_ext <<_ACEOF
46094 /* end confdefs.h. */
46095
46096 #include <sys/types.h>
46097 #include <sys/socket.h>
46098
46099 int
46100 main ()
46101 {
46102
46103 socklen_t len;
46104 getsockname(0, 0, &len);
46105
46106 ;
46107 return 0;
46108 }
46109 _ACEOF
46110 rm -f conftest.$ac_objext
46111 if { (ac_try="$ac_compile"
46112 case "(($ac_try" in
46113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46114 *) ac_try_echo=$ac_try;;
46115 esac
46116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46117 (eval "$ac_compile") 2>conftest.er1
46118 ac_status=$?
46119 grep -v '^ *+' conftest.er1 >conftest.err
46120 rm -f conftest.er1
46121 cat conftest.err >&5
46122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46123 (exit $ac_status); } && {
46124 test -z "$ac_cxx_werror_flag" ||
46125 test ! -s conftest.err
46126 } && test -s conftest.$ac_objext; then
46127 wx_cv_type_getsockname3=socklen_t
46128 else
46129 echo "$as_me: failed program was:" >&5
46130 sed 's/^/| /' conftest.$ac_ext >&5
46131
46132
46133 CFLAGS_OLD="$CFLAGS"
46134 if test "$GCC" = yes ; then
46135 CFLAGS="-Werror $CFLAGS"
46136 fi
46137
46138 cat >conftest.$ac_ext <<_ACEOF
46139 /* confdefs.h. */
46140 _ACEOF
46141 cat confdefs.h >>conftest.$ac_ext
46142 cat >>conftest.$ac_ext <<_ACEOF
46143 /* end confdefs.h. */
46144
46145 #include <sys/types.h>
46146 #include <sys/socket.h>
46147
46148 int
46149 main ()
46150 {
46151
46152 size_t len;
46153 getsockname(0, 0, &len);
46154
46155 ;
46156 return 0;
46157 }
46158 _ACEOF
46159 rm -f conftest.$ac_objext
46160 if { (ac_try="$ac_compile"
46161 case "(($ac_try" in
46162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46163 *) ac_try_echo=$ac_try;;
46164 esac
46165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46166 (eval "$ac_compile") 2>conftest.er1
46167 ac_status=$?
46168 grep -v '^ *+' conftest.er1 >conftest.err
46169 rm -f conftest.er1
46170 cat conftest.err >&5
46171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46172 (exit $ac_status); } && {
46173 test -z "$ac_cxx_werror_flag" ||
46174 test ! -s conftest.err
46175 } && test -s conftest.$ac_objext; then
46176 wx_cv_type_getsockname3=size_t
46177 else
46178 echo "$as_me: failed program was:" >&5
46179 sed 's/^/| /' conftest.$ac_ext >&5
46180
46181 cat >conftest.$ac_ext <<_ACEOF
46182 /* confdefs.h. */
46183 _ACEOF
46184 cat confdefs.h >>conftest.$ac_ext
46185 cat >>conftest.$ac_ext <<_ACEOF
46186 /* end confdefs.h. */
46187
46188 #include <sys/types.h>
46189 #include <sys/socket.h>
46190
46191 int
46192 main ()
46193 {
46194
46195 int len;
46196 getsockname(0, 0, &len);
46197
46198 ;
46199 return 0;
46200 }
46201 _ACEOF
46202 rm -f conftest.$ac_objext
46203 if { (ac_try="$ac_compile"
46204 case "(($ac_try" in
46205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46206 *) ac_try_echo=$ac_try;;
46207 esac
46208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46209 (eval "$ac_compile") 2>conftest.er1
46210 ac_status=$?
46211 grep -v '^ *+' conftest.er1 >conftest.err
46212 rm -f conftest.er1
46213 cat conftest.err >&5
46214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46215 (exit $ac_status); } && {
46216 test -z "$ac_cxx_werror_flag" ||
46217 test ! -s conftest.err
46218 } && test -s conftest.$ac_objext; then
46219 wx_cv_type_getsockname3=int
46220 else
46221 echo "$as_me: failed program was:" >&5
46222 sed 's/^/| /' conftest.$ac_ext >&5
46223
46224 wx_cv_type_getsockname3=unknown
46225
46226 fi
46227
46228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46229
46230 fi
46231
46232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46233
46234 CFLAGS="$CFLAGS_OLD"
46235
46236
46237 fi
46238
46239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46240 ac_ext=c
46241 ac_cpp='$CPP $CPPFLAGS'
46242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46245
46246
46247 fi
46248 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46249 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46250
46251 if test "$wx_cv_type_getsockname3" = "unknown"; then
46252 wxUSE_SOCKETS=no
46253 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46254 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46255 else
46256 cat >>confdefs.h <<_ACEOF
46257 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46258 _ACEOF
46259
46260 fi
46261 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46262 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46263 if test "${wx_cv_type_getsockopt5+set}" = set; then
46264 echo $ECHO_N "(cached) $ECHO_C" >&6
46265 else
46266
46267 ac_ext=cpp
46268 ac_cpp='$CXXCPP $CPPFLAGS'
46269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46272
46273 cat >conftest.$ac_ext <<_ACEOF
46274 /* confdefs.h. */
46275 _ACEOF
46276 cat confdefs.h >>conftest.$ac_ext
46277 cat >>conftest.$ac_ext <<_ACEOF
46278 /* end confdefs.h. */
46279
46280 #include <sys/types.h>
46281 #include <sys/socket.h>
46282
46283 int
46284 main ()
46285 {
46286
46287 socklen_t len;
46288 getsockopt(0, 0, 0, 0, &len);
46289
46290 ;
46291 return 0;
46292 }
46293 _ACEOF
46294 rm -f conftest.$ac_objext
46295 if { (ac_try="$ac_compile"
46296 case "(($ac_try" in
46297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46298 *) ac_try_echo=$ac_try;;
46299 esac
46300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46301 (eval "$ac_compile") 2>conftest.er1
46302 ac_status=$?
46303 grep -v '^ *+' conftest.er1 >conftest.err
46304 rm -f conftest.er1
46305 cat conftest.err >&5
46306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46307 (exit $ac_status); } && {
46308 test -z "$ac_cxx_werror_flag" ||
46309 test ! -s conftest.err
46310 } && test -s conftest.$ac_objext; then
46311 wx_cv_type_getsockopt5=socklen_t
46312 else
46313 echo "$as_me: failed program was:" >&5
46314 sed 's/^/| /' conftest.$ac_ext >&5
46315
46316
46317 cat >conftest.$ac_ext <<_ACEOF
46318 /* confdefs.h. */
46319 _ACEOF
46320 cat confdefs.h >>conftest.$ac_ext
46321 cat >>conftest.$ac_ext <<_ACEOF
46322 /* end confdefs.h. */
46323
46324 #include <sys/types.h>
46325 #include <sys/socket.h>
46326
46327 int
46328 main ()
46329 {
46330
46331 size_t len;
46332 getsockopt(0, 0, 0, 0, &len);
46333
46334 ;
46335 return 0;
46336 }
46337 _ACEOF
46338 rm -f conftest.$ac_objext
46339 if { (ac_try="$ac_compile"
46340 case "(($ac_try" in
46341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46342 *) ac_try_echo=$ac_try;;
46343 esac
46344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46345 (eval "$ac_compile") 2>conftest.er1
46346 ac_status=$?
46347 grep -v '^ *+' conftest.er1 >conftest.err
46348 rm -f conftest.er1
46349 cat conftest.err >&5
46350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46351 (exit $ac_status); } && {
46352 test -z "$ac_cxx_werror_flag" ||
46353 test ! -s conftest.err
46354 } && test -s conftest.$ac_objext; then
46355 wx_cv_type_getsockopt5=size_t
46356 else
46357 echo "$as_me: failed program was:" >&5
46358 sed 's/^/| /' conftest.$ac_ext >&5
46359
46360 cat >conftest.$ac_ext <<_ACEOF
46361 /* confdefs.h. */
46362 _ACEOF
46363 cat confdefs.h >>conftest.$ac_ext
46364 cat >>conftest.$ac_ext <<_ACEOF
46365 /* end confdefs.h. */
46366
46367 #include <sys/types.h>
46368 #include <sys/socket.h>
46369
46370 int
46371 main ()
46372 {
46373
46374 int len;
46375 getsockopt(0, 0, 0, 0, &len);
46376
46377 ;
46378 return 0;
46379 }
46380 _ACEOF
46381 rm -f conftest.$ac_objext
46382 if { (ac_try="$ac_compile"
46383 case "(($ac_try" in
46384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46385 *) ac_try_echo=$ac_try;;
46386 esac
46387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46388 (eval "$ac_compile") 2>conftest.er1
46389 ac_status=$?
46390 grep -v '^ *+' conftest.er1 >conftest.err
46391 rm -f conftest.er1
46392 cat conftest.err >&5
46393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46394 (exit $ac_status); } && {
46395 test -z "$ac_cxx_werror_flag" ||
46396 test ! -s conftest.err
46397 } && test -s conftest.$ac_objext; then
46398 wx_cv_type_getsockopt5=int
46399 else
46400 echo "$as_me: failed program was:" >&5
46401 sed 's/^/| /' conftest.$ac_ext >&5
46402
46403 wx_cv_type_getsockopt5=unknown
46404
46405 fi
46406
46407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408
46409 fi
46410
46411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46412
46413
46414 fi
46415
46416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46417 ac_ext=c
46418 ac_cpp='$CPP $CPPFLAGS'
46419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46422
46423
46424 fi
46425 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46426 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46427
46428 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46429 wxUSE_SOCKETS=no
46430 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46431 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46432 else
46433 cat >>confdefs.h <<_ACEOF
46434 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46435 _ACEOF
46436
46437 fi
46438 fi
46439 fi
46440
46441 if test "$wxUSE_SOCKETS" = "yes" ; then
46442 if test "$wxUSE_IPV6" = "yes"; then
46443 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46444 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46445 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46446 echo $ECHO_N "(cached) $ECHO_C" >&6
46447 else
46448
46449 cat >conftest.$ac_ext <<_ACEOF
46450 /* confdefs.h. */
46451 _ACEOF
46452 cat confdefs.h >>conftest.$ac_ext
46453 cat >>conftest.$ac_ext <<_ACEOF
46454 /* end confdefs.h. */
46455
46456 #include <sys/types.h>
46457 #include <sys/socket.h>
46458 #include <netinet/in.h>
46459
46460 int
46461 main ()
46462 {
46463
46464 struct sockaddr_in6 sa6;
46465
46466 ;
46467 return 0;
46468 }
46469 _ACEOF
46470 rm -f conftest.$ac_objext
46471 if { (ac_try="$ac_compile"
46472 case "(($ac_try" in
46473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46474 *) ac_try_echo=$ac_try;;
46475 esac
46476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46477 (eval "$ac_compile") 2>conftest.er1
46478 ac_status=$?
46479 grep -v '^ *+' conftest.er1 >conftest.err
46480 rm -f conftest.er1
46481 cat conftest.err >&5
46482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46483 (exit $ac_status); } && {
46484 test -z "$ac_c_werror_flag" ||
46485 test ! -s conftest.err
46486 } && test -s conftest.$ac_objext; then
46487 wx_cv_type_sockaddr_in6=yes
46488 else
46489 echo "$as_me: failed program was:" >&5
46490 sed 's/^/| /' conftest.$ac_ext >&5
46491
46492 wx_cv_type_sockaddr_in6=no
46493
46494 fi
46495
46496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46497
46498
46499 fi
46500 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46501 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46502
46503 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_IPV6 1
46506 _ACEOF
46507
46508 else
46509 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46510 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46511 fi
46512 fi
46513
46514 cat >>confdefs.h <<\_ACEOF
46515 #define wxUSE_SOCKETS 1
46516 _ACEOF
46517
46518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46519 fi
46520
46521 if test "$wxUSE_PROTOCOL" = "yes"; then
46522 if test "$wxUSE_SOCKETS" != "yes"; then
46523 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46524 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46525 wxUSE_PROTOCOL=no
46526 fi
46527 fi
46528
46529 if test "$wxUSE_PROTOCOL" = "yes"; then
46530 cat >>confdefs.h <<\_ACEOF
46531 #define wxUSE_PROTOCOL 1
46532 _ACEOF
46533
46534
46535 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46536 cat >>confdefs.h <<\_ACEOF
46537 #define wxUSE_PROTOCOL_HTTP 1
46538 _ACEOF
46539
46540 fi
46541 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_PROTOCOL_FTP 1
46544 _ACEOF
46545
46546 fi
46547 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46548 cat >>confdefs.h <<\_ACEOF
46549 #define wxUSE_PROTOCOL_FILE 1
46550 _ACEOF
46551
46552 fi
46553 else
46554 if test "$wxUSE_FS_INET" = "yes"; then
46555 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46556 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46557 wxUSE_FS_INET="no"
46558 fi
46559 fi
46560
46561 if test "$wxUSE_URL" = "yes"; then
46562 if test "$wxUSE_PROTOCOL" != "yes"; then
46563 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46564 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46565 wxUSE_URL=no
46566 fi
46567 if test "$wxUSE_URL" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_URL 1
46570 _ACEOF
46571
46572 fi
46573 fi
46574
46575 if test "$wxUSE_VARIANT" = "yes"; then
46576 cat >>confdefs.h <<\_ACEOF
46577 #define wxUSE_VARIANT 1
46578 _ACEOF
46579
46580 fi
46581
46582 if test "$wxUSE_FS_INET" = "yes"; then
46583 cat >>confdefs.h <<\_ACEOF
46584 #define wxUSE_FS_INET 1
46585 _ACEOF
46586
46587 fi
46588
46589
46590 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46591 wxUSE_JOYSTICK=no
46592
46593 if test "$TOOLKIT" = "MSW"; then
46594 wxUSE_JOYSTICK=yes
46595
46596 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46597 if test "$USE_DARWIN" = 1; then
46598 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46599 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46600 ac_ext=cpp
46601 ac_cpp='$CXXCPP $CPPFLAGS'
46602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46605
46606 cat >conftest.$ac_ext <<_ACEOF
46607 /* confdefs.h. */
46608 _ACEOF
46609 cat confdefs.h >>conftest.$ac_ext
46610 cat >>conftest.$ac_ext <<_ACEOF
46611 /* end confdefs.h. */
46612 #include <IOKit/hid/IOHIDLib.h>
46613 int
46614 main ()
46615 {
46616 IOHIDQueueInterface *qi = NULL;
46617 IOHIDCallbackFunction cb = NULL;
46618 qi->setEventCallout(NULL, cb, NULL, NULL);
46619 ;
46620 return 0;
46621 }
46622 _ACEOF
46623 rm -f conftest.$ac_objext
46624 if { (ac_try="$ac_compile"
46625 case "(($ac_try" in
46626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46627 *) ac_try_echo=$ac_try;;
46628 esac
46629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46630 (eval "$ac_compile") 2>conftest.er1
46631 ac_status=$?
46632 grep -v '^ *+' conftest.er1 >conftest.err
46633 rm -f conftest.er1
46634 cat conftest.err >&5
46635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46636 (exit $ac_status); } && {
46637 test -z "$ac_cxx_werror_flag" ||
46638 test ! -s conftest.err
46639 } && test -s conftest.$ac_objext; then
46640 wxUSE_JOYSTICK=yes
46641
46642 else
46643 echo "$as_me: failed program was:" >&5
46644 sed 's/^/| /' conftest.$ac_ext >&5
46645
46646
46647 fi
46648
46649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46650 ac_ext=c
46651 ac_cpp='$CPP $CPPFLAGS'
46652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46655
46656 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46657 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46658 fi
46659
46660 else
46661 if test "$wxUSE_MGL" != 1; then
46662
46663 for ac_header in linux/joystick.h
46664 do
46665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46666 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46668 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46669 echo $ECHO_N "(cached) $ECHO_C" >&6
46670 else
46671 cat >conftest.$ac_ext <<_ACEOF
46672 /* confdefs.h. */
46673 _ACEOF
46674 cat confdefs.h >>conftest.$ac_ext
46675 cat >>conftest.$ac_ext <<_ACEOF
46676 /* end confdefs.h. */
46677 $ac_includes_default
46678
46679 #include <$ac_header>
46680 _ACEOF
46681 rm -f conftest.$ac_objext
46682 if { (ac_try="$ac_compile"
46683 case "(($ac_try" in
46684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46685 *) ac_try_echo=$ac_try;;
46686 esac
46687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46688 (eval "$ac_compile") 2>conftest.er1
46689 ac_status=$?
46690 grep -v '^ *+' conftest.er1 >conftest.err
46691 rm -f conftest.er1
46692 cat conftest.err >&5
46693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46694 (exit $ac_status); } && {
46695 test -z "$ac_c_werror_flag" ||
46696 test ! -s conftest.err
46697 } && test -s conftest.$ac_objext; then
46698 eval "$as_ac_Header=yes"
46699 else
46700 echo "$as_me: failed program was:" >&5
46701 sed 's/^/| /' conftest.$ac_ext >&5
46702
46703 eval "$as_ac_Header=no"
46704 fi
46705
46706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46707 fi
46708 ac_res=`eval echo '${'$as_ac_Header'}'`
46709 { echo "$as_me:$LINENO: result: $ac_res" >&5
46710 echo "${ECHO_T}$ac_res" >&6; }
46711 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46712 cat >>confdefs.h <<_ACEOF
46713 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46714 _ACEOF
46715 wxUSE_JOYSTICK=yes
46716 fi
46717
46718 done
46719
46720 fi
46721 fi
46722
46723 if test "$wxUSE_JOYSTICK" = "yes"; then
46724 cat >>confdefs.h <<\_ACEOF
46725 #define wxUSE_JOYSTICK 1
46726 _ACEOF
46727
46728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46729 else
46730 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46731 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46732 fi
46733 fi
46734
46735
46736
46737 if test "$wxUSE_FONTENUM" = "yes" ; then
46738 cat >>confdefs.h <<\_ACEOF
46739 #define wxUSE_FONTENUM 1
46740 _ACEOF
46741
46742 fi
46743
46744 if test "$wxUSE_FONTMAP" = "yes" ; then
46745 cat >>confdefs.h <<\_ACEOF
46746 #define wxUSE_FONTMAP 1
46747 _ACEOF
46748
46749 fi
46750
46751 if test "$wxUSE_UNICODE" = "yes" ; then
46752 cat >>confdefs.h <<\_ACEOF
46753 #define wxUSE_UNICODE 1
46754 _ACEOF
46755
46756
46757 if test "$USE_WIN32" != 1; then
46758 wxUSE_UNICODE_MSLU=no
46759 fi
46760
46761 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46762 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46763 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46764 if test "${ac_cv_lib_unicows_main+set}" = set; then
46765 echo $ECHO_N "(cached) $ECHO_C" >&6
46766 else
46767 ac_check_lib_save_LIBS=$LIBS
46768 LIBS="-lunicows $LIBS"
46769 cat >conftest.$ac_ext <<_ACEOF
46770 /* confdefs.h. */
46771 _ACEOF
46772 cat confdefs.h >>conftest.$ac_ext
46773 cat >>conftest.$ac_ext <<_ACEOF
46774 /* end confdefs.h. */
46775
46776
46777 int
46778 main ()
46779 {
46780 return main ();
46781 ;
46782 return 0;
46783 }
46784 _ACEOF
46785 rm -f conftest.$ac_objext conftest$ac_exeext
46786 if { (ac_try="$ac_link"
46787 case "(($ac_try" in
46788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46789 *) ac_try_echo=$ac_try;;
46790 esac
46791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46792 (eval "$ac_link") 2>conftest.er1
46793 ac_status=$?
46794 grep -v '^ *+' conftest.er1 >conftest.err
46795 rm -f conftest.er1
46796 cat conftest.err >&5
46797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46798 (exit $ac_status); } && {
46799 test -z "$ac_c_werror_flag" ||
46800 test ! -s conftest.err
46801 } && test -s conftest$ac_exeext &&
46802 $as_test_x conftest$ac_exeext; then
46803 ac_cv_lib_unicows_main=yes
46804 else
46805 echo "$as_me: failed program was:" >&5
46806 sed 's/^/| /' conftest.$ac_ext >&5
46807
46808 ac_cv_lib_unicows_main=no
46809 fi
46810
46811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46812 conftest$ac_exeext conftest.$ac_ext
46813 LIBS=$ac_check_lib_save_LIBS
46814 fi
46815 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46816 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46817 if test $ac_cv_lib_unicows_main = yes; then
46818
46819 cat >>confdefs.h <<\_ACEOF
46820 #define wxUSE_UNICODE_MSLU 1
46821 _ACEOF
46822
46823
46824 else
46825
46826 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46827 Applications will only run on Windows NT/2000/XP!" >&5
46828 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46829 Applications will only run on Windows NT/2000/XP!" >&2;}
46830 wxUSE_UNICODE_MSLU=no
46831
46832 fi
46833
46834 fi
46835 fi
46836
46837 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46838 cat >>confdefs.h <<\_ACEOF
46839 #define wxUSE_UNICODE_UTF8 1
46840 _ACEOF
46841
46842
46843 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46844 cat >>confdefs.h <<\_ACEOF
46845 #define wxUSE_UTF8_LOCALE_ONLY 1
46846 _ACEOF
46847
46848 fi
46849 fi
46850
46851
46852 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46853 cat >>confdefs.h <<\_ACEOF
46854 #define wxUSE_CONSTRAINTS 1
46855 _ACEOF
46856
46857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46858 fi
46859
46860 if test "$wxUSE_MDI" = "yes"; then
46861 cat >>confdefs.h <<\_ACEOF
46862 #define wxUSE_MDI 1
46863 _ACEOF
46864
46865
46866 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46867 cat >>confdefs.h <<\_ACEOF
46868 #define wxUSE_MDI_ARCHITECTURE 1
46869 _ACEOF
46870
46871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46872 fi
46873 fi
46874
46875 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46876 cat >>confdefs.h <<\_ACEOF
46877 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46878 _ACEOF
46879
46880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46881 fi
46882
46883 if test "$wxUSE_HELP" = "yes"; then
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_HELP 1
46886 _ACEOF
46887
46888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46889
46890 if test "$wxUSE_MSW" = 1; then
46891 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46892 cat >>confdefs.h <<\_ACEOF
46893 #define wxUSE_MS_HTML_HELP 1
46894 _ACEOF
46895
46896 fi
46897 fi
46898
46899 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46900 if test "$wxUSE_HTML" = "yes"; then
46901 cat >>confdefs.h <<\_ACEOF
46902 #define wxUSE_WXHTML_HELP 1
46903 _ACEOF
46904
46905 else
46906 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46907 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46908 wxUSE_WXHTML_HELP=no
46909 fi
46910 fi
46911 fi
46912
46913 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46914 cat >>confdefs.h <<\_ACEOF
46915 #define wxUSE_PRINTING_ARCHITECTURE 1
46916 _ACEOF
46917
46918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46919 fi
46920
46921 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46922 cat >>confdefs.h <<\_ACEOF
46923 #define wxUSE_POSTSCRIPT 1
46924 _ACEOF
46925
46926 fi
46927
46928 cat >>confdefs.h <<\_ACEOF
46929 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46930 _ACEOF
46931
46932
46933 if test "$wxUSE_SVG" = "yes"; then
46934 cat >>confdefs.h <<\_ACEOF
46935 #define wxUSE_SVG 1
46936 _ACEOF
46937
46938 fi
46939
46940
46941 if test "$wxUSE_METAFILE" = "yes"; then
46942 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46943 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46944 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46945 wxUSE_METAFILE=no
46946 fi
46947 fi
46948
46949
46950 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46951 -o "$wxUSE_CLIPBOARD" = "yes" \
46952 -o "$wxUSE_OLE" = "yes" \
46953 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46954 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46955 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46956 if test "${ac_cv_header_ole2_h+set}" = set; then
46957 echo $ECHO_N "(cached) $ECHO_C" >&6
46958 else
46959 cat >conftest.$ac_ext <<_ACEOF
46960 /* confdefs.h. */
46961 _ACEOF
46962 cat confdefs.h >>conftest.$ac_ext
46963 cat >>conftest.$ac_ext <<_ACEOF
46964 /* end confdefs.h. */
46965
46966
46967 #include <ole2.h>
46968 _ACEOF
46969 rm -f conftest.$ac_objext
46970 if { (ac_try="$ac_compile"
46971 case "(($ac_try" in
46972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46973 *) ac_try_echo=$ac_try;;
46974 esac
46975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46976 (eval "$ac_compile") 2>conftest.er1
46977 ac_status=$?
46978 grep -v '^ *+' conftest.er1 >conftest.err
46979 rm -f conftest.er1
46980 cat conftest.err >&5
46981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46982 (exit $ac_status); } && {
46983 test -z "$ac_c_werror_flag" ||
46984 test ! -s conftest.err
46985 } && test -s conftest.$ac_objext; then
46986 ac_cv_header_ole2_h=yes
46987 else
46988 echo "$as_me: failed program was:" >&5
46989 sed 's/^/| /' conftest.$ac_ext >&5
46990
46991 ac_cv_header_ole2_h=no
46992 fi
46993
46994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46995 fi
46996 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46997 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46998
46999
47000
47001 if test "$ac_cv_header_ole2_h" = "yes" ; then
47002 if test "$GCC" = yes ; then
47003 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47004 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47005 cat >conftest.$ac_ext <<_ACEOF
47006 /* confdefs.h. */
47007 _ACEOF
47008 cat confdefs.h >>conftest.$ac_ext
47009 cat >>conftest.$ac_ext <<_ACEOF
47010 /* end confdefs.h. */
47011 #include <windows.h>
47012 #include <ole2.h>
47013 int
47014 main ()
47015 {
47016
47017 ;
47018 return 0;
47019 }
47020 _ACEOF
47021 rm -f conftest.$ac_objext
47022 if { (ac_try="$ac_compile"
47023 case "(($ac_try" in
47024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47025 *) ac_try_echo=$ac_try;;
47026 esac
47027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47028 (eval "$ac_compile") 2>conftest.er1
47029 ac_status=$?
47030 grep -v '^ *+' conftest.er1 >conftest.err
47031 rm -f conftest.er1
47032 cat conftest.err >&5
47033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47034 (exit $ac_status); } && {
47035 test -z "$ac_c_werror_flag" ||
47036 test ! -s conftest.err
47037 } && test -s conftest.$ac_objext; then
47038 { echo "$as_me:$LINENO: result: no" >&5
47039 echo "${ECHO_T}no" >&6; }
47040 else
47041 echo "$as_me: failed program was:" >&5
47042 sed 's/^/| /' conftest.$ac_ext >&5
47043
47044 { echo "$as_me:$LINENO: result: yes" >&5
47045 echo "${ECHO_T}yes" >&6; }
47046 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47047 fi
47048
47049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47050 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47051 if test "$wxUSE_OLE" = "yes" ; then
47052 cat >>confdefs.h <<\_ACEOF
47053 #define wxUSE_OLE 1
47054 _ACEOF
47055
47056 cat >>confdefs.h <<\_ACEOF
47057 #define wxUSE_OLE_AUTOMATION 1
47058 _ACEOF
47059
47060 cat >>confdefs.h <<\_ACEOF
47061 #define wxUSE_ACTIVEX 1
47062 _ACEOF
47063
47064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47065 fi
47066 fi
47067
47068 if test "$wxUSE_DATAOBJ" = "yes" ; then
47069 cat >>confdefs.h <<\_ACEOF
47070 #define wxUSE_DATAOBJ 1
47071 _ACEOF
47072
47073 fi
47074 else
47075 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47076 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47077
47078 wxUSE_CLIPBOARD=no
47079 wxUSE_DRAG_AND_DROP=no
47080 wxUSE_DATAOBJ=no
47081 wxUSE_OLE=no
47082 fi
47083
47084 if test "$wxUSE_METAFILE" = "yes"; then
47085 cat >>confdefs.h <<\_ACEOF
47086 #define wxUSE_METAFILE 1
47087 _ACEOF
47088
47089
47090 cat >>confdefs.h <<\_ACEOF
47091 #define wxUSE_ENH_METAFILE 1
47092 _ACEOF
47093
47094 fi
47095 fi
47096
47097 if test "$wxUSE_IPC" = "yes"; then
47098 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47099 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47100 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47101 wxUSE_IPC=no
47102 fi
47103
47104 if test "$wxUSE_IPC" = "yes"; then
47105 cat >>confdefs.h <<\_ACEOF
47106 #define wxUSE_IPC 1
47107 _ACEOF
47108
47109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47110 fi
47111 fi
47112
47113 if test "$wxUSE_DATAOBJ" = "yes"; then
47114 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47115 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47116 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47117 wxUSE_DATAOBJ=no
47118 else
47119 cat >>confdefs.h <<\_ACEOF
47120 #define wxUSE_DATAOBJ 1
47121 _ACEOF
47122
47123 fi
47124 else
47125 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47126 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47127 wxUSE_CLIPBOARD=no
47128 wxUSE_DRAG_AND_DROP=no
47129 fi
47130
47131 if test "$wxUSE_CLIPBOARD" = "yes"; then
47132 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47133 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47134 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47135 wxUSE_CLIPBOARD=no
47136 fi
47137
47138 if test "$wxUSE_CLIPBOARD" = "yes"; then
47139 cat >>confdefs.h <<\_ACEOF
47140 #define wxUSE_CLIPBOARD 1
47141 _ACEOF
47142
47143 fi
47144 fi
47145
47146 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47147 if test "$wxUSE_GTK" = 1; then
47148 if test "$WXGTK12" != 1; then
47149 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47150 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47151 wxUSE_DRAG_AND_DROP=no
47152 fi
47153 fi
47154
47155 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47156 "$wxUSE_DFB" = 1; then
47157 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47158 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47159 wxUSE_DRAG_AND_DROP=no
47160 fi
47161
47162 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47163 cat >>confdefs.h <<\_ACEOF
47164 #define wxUSE_DRAG_AND_DROP 1
47165 _ACEOF
47166
47167 fi
47168
47169 fi
47170
47171 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47173 fi
47174
47175 if test "$wxUSE_CLIPBOARD" = "yes"; then
47176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47177 fi
47178
47179 if test "$wxUSE_SPLINES" = "yes" ; then
47180 cat >>confdefs.h <<\_ACEOF
47181 #define wxUSE_SPLINES 1
47182 _ACEOF
47183
47184 fi
47185
47186 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47187 cat >>confdefs.h <<\_ACEOF
47188 #define wxUSE_MOUSEWHEEL 1
47189 _ACEOF
47190
47191 fi
47192
47193 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47194 cat >>confdefs.h <<\_ACEOF
47195 #define wxUSE_UIACTIONSIMULATOR 1
47196 _ACEOF
47197
47198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47199 fi
47200
47201 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47202 cat >>confdefs.h <<\_ACEOF
47203 #define wxUSE_DC_TRANSFORM_MATRIX 1
47204 _ACEOF
47205
47206 fi
47207
47208
47209 USES_CONTROLS=0
47210 if test "$wxUSE_CONTROLS" = "yes"; then
47211 USES_CONTROLS=1
47212 fi
47213
47214 if test "$wxUSE_MARKUP" = "yes"; then
47215 cat >>confdefs.h <<\_ACEOF
47216 #define wxUSE_MARKUP 1
47217 _ACEOF
47218
47219 fi
47220
47221 if test "$wxUSE_ACCEL" = "yes"; then
47222 cat >>confdefs.h <<\_ACEOF
47223 #define wxUSE_ACCEL 1
47224 _ACEOF
47225
47226 USES_CONTROLS=1
47227 fi
47228
47229 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47230 cat >>confdefs.h <<\_ACEOF
47231 #define wxUSE_ANIMATIONCTRL 1
47232 _ACEOF
47233
47234 USES_CONTROLS=1
47235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47236 fi
47237
47238 if test "$wxUSE_BUTTON" = "yes"; then
47239 cat >>confdefs.h <<\_ACEOF
47240 #define wxUSE_BUTTON 1
47241 _ACEOF
47242
47243 USES_CONTROLS=1
47244 fi
47245
47246 if test "$wxUSE_BMPBUTTON" = "yes"; then
47247 cat >>confdefs.h <<\_ACEOF
47248 #define wxUSE_BMPBUTTON 1
47249 _ACEOF
47250
47251 USES_CONTROLS=1
47252 fi
47253
47254 if test "$wxUSE_CALCTRL" = "yes"; then
47255 cat >>confdefs.h <<\_ACEOF
47256 #define wxUSE_CALENDARCTRL 1
47257 _ACEOF
47258
47259 USES_CONTROLS=1
47260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47261 fi
47262
47263 if test "$wxUSE_CARET" = "yes"; then
47264 cat >>confdefs.h <<\_ACEOF
47265 #define wxUSE_CARET 1
47266 _ACEOF
47267
47268 USES_CONTROLS=1
47269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47270 fi
47271
47272 if test "$wxUSE_COLLPANE" = "yes"; then
47273 cat >>confdefs.h <<\_ACEOF
47274 #define wxUSE_COLLPANE 1
47275 _ACEOF
47276
47277 USES_CONTROLS=1
47278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47279 fi
47280
47281 if test "$wxUSE_COMBOBOX" = "yes"; then
47282 cat >>confdefs.h <<\_ACEOF
47283 #define wxUSE_COMBOBOX 1
47284 _ACEOF
47285
47286 USES_CONTROLS=1
47287 fi
47288
47289 if test "$wxUSE_COMBOCTRL" = "yes"; then
47290 cat >>confdefs.h <<\_ACEOF
47291 #define wxUSE_COMBOCTRL 1
47292 _ACEOF
47293
47294 USES_CONTROLS=1
47295 fi
47296
47297 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47298 cat >>confdefs.h <<\_ACEOF
47299 #define wxUSE_COMMANDLINKBUTTON 1
47300 _ACEOF
47301
47302 USES_CONTROLS=1
47303 fi
47304
47305 if test "$wxUSE_CHOICE" = "yes"; then
47306 cat >>confdefs.h <<\_ACEOF
47307 #define wxUSE_CHOICE 1
47308 _ACEOF
47309
47310 USES_CONTROLS=1
47311 fi
47312
47313 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47314 cat >>confdefs.h <<\_ACEOF
47315 #define wxUSE_CHOICEBOOK 1
47316 _ACEOF
47317
47318 USES_CONTROLS=1
47319 fi
47320
47321 if test "$wxUSE_CHECKBOX" = "yes"; then
47322 cat >>confdefs.h <<\_ACEOF
47323 #define wxUSE_CHECKBOX 1
47324 _ACEOF
47325
47326 USES_CONTROLS=1
47327 fi
47328
47329 if test "$wxUSE_CHECKLST" = "yes"; then
47330 cat >>confdefs.h <<\_ACEOF
47331 #define wxUSE_CHECKLISTBOX 1
47332 _ACEOF
47333
47334 USES_CONTROLS=1
47335 fi
47336
47337 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47338 cat >>confdefs.h <<\_ACEOF
47339 #define wxUSE_COLOURPICKERCTRL 1
47340 _ACEOF
47341
47342 USES_CONTROLS=1
47343 fi
47344
47345 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_DATEPICKCTRL 1
47348 _ACEOF
47349
47350 USES_CONTROLS=1
47351 fi
47352
47353 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47354 cat >>confdefs.h <<\_ACEOF
47355 #define wxUSE_DIRPICKERCTRL 1
47356 _ACEOF
47357
47358 USES_CONTROLS=1
47359 fi
47360
47361 if test "$wxUSE_FILECTRL" = "yes"; then
47362 cat >>confdefs.h <<\_ACEOF
47363 #define wxUSE_FILECTRL 1
47364 _ACEOF
47365
47366 USES_CONTROLS=1
47367 fi
47368
47369 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47370 cat >>confdefs.h <<\_ACEOF
47371 #define wxUSE_FILEPICKERCTRL 1
47372 _ACEOF
47373
47374 USES_CONTROLS=1
47375 fi
47376
47377 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47378 cat >>confdefs.h <<\_ACEOF
47379 #define wxUSE_FONTPICKERCTRL 1
47380 _ACEOF
47381
47382 USES_CONTROLS=1
47383 fi
47384
47385 if test "$wxUSE_DISPLAY" = "yes"; then
47386 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47387 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47388 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47389 wxUSE_DISPLAY=no
47390 else
47391 cat >>confdefs.h <<\_ACEOF
47392 #define wxUSE_DISPLAY 1
47393 _ACEOF
47394
47395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47396 fi
47397 fi
47398
47399 if test "$wxUSE_DETECT_SM" = "yes"; then
47400 cat >>confdefs.h <<\_ACEOF
47401 #define wxUSE_DETECT_SM 1
47402 _ACEOF
47403
47404 fi
47405
47406 if test "$wxUSE_GAUGE" = "yes"; then
47407 cat >>confdefs.h <<\_ACEOF
47408 #define wxUSE_GAUGE 1
47409 _ACEOF
47410
47411 USES_CONTROLS=1
47412 fi
47413
47414 if test "$wxUSE_GRID" = "yes"; then
47415 cat >>confdefs.h <<\_ACEOF
47416 #define wxUSE_GRID 1
47417 _ACEOF
47418
47419 USES_CONTROLS=1
47420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47421 fi
47422
47423 if test "$wxUSE_HEADERCTRL" = "yes"; then
47424 cat >>confdefs.h <<\_ACEOF
47425 #define wxUSE_HEADERCTRL 1
47426 _ACEOF
47427
47428 USES_CONTROLS=1
47429 fi
47430
47431 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47432 cat >>confdefs.h <<\_ACEOF
47433 #define wxUSE_HYPERLINKCTRL 1
47434 _ACEOF
47435
47436 USES_CONTROLS=1
47437 fi
47438
47439 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_BITMAPCOMBOBOX 1
47442 _ACEOF
47443
47444 USES_CONTROLS=1
47445 fi
47446
47447 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47448 cat >>confdefs.h <<\_ACEOF
47449 #define wxUSE_DATAVIEWCTRL 1
47450 _ACEOF
47451
47452 USES_CONTROLS=1
47453 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47454 fi
47455
47456 if test "$wxUSE_IMAGLIST" = "yes"; then
47457 cat >>confdefs.h <<\_ACEOF
47458 #define wxUSE_IMAGLIST 1
47459 _ACEOF
47460
47461 fi
47462
47463 if test "$wxUSE_INFOBAR" = "yes"; then
47464 cat >>confdefs.h <<\_ACEOF
47465 #define wxUSE_INFOBAR 1
47466 _ACEOF
47467
47468 fi
47469
47470 if test "$wxUSE_LISTBOOK" = "yes"; then
47471 cat >>confdefs.h <<\_ACEOF
47472 #define wxUSE_LISTBOOK 1
47473 _ACEOF
47474
47475 USES_CONTROLS=1
47476 fi
47477
47478 if test "$wxUSE_LISTBOX" = "yes"; then
47479 cat >>confdefs.h <<\_ACEOF
47480 #define wxUSE_LISTBOX 1
47481 _ACEOF
47482
47483 USES_CONTROLS=1
47484 fi
47485
47486 if test "$wxUSE_LISTCTRL" = "yes"; then
47487 if test "$wxUSE_IMAGLIST" = "yes"; then
47488 cat >>confdefs.h <<\_ACEOF
47489 #define wxUSE_LISTCTRL 1
47490 _ACEOF
47491
47492 USES_CONTROLS=1
47493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47494 else
47495 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47496 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47497 fi
47498 fi
47499
47500 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47501 cat >>confdefs.h <<\_ACEOF
47502 #define wxUSE_EDITABLELISTBOX 1
47503 _ACEOF
47504
47505 USES_CONTROLS=1
47506 fi
47507
47508 if test "$wxUSE_NOTEBOOK" = "yes"; then
47509 cat >>confdefs.h <<\_ACEOF
47510 #define wxUSE_NOTEBOOK 1
47511 _ACEOF
47512
47513 USES_CONTROLS=1
47514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47515 fi
47516
47517 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47518 cat >>confdefs.h <<\_ACEOF
47519 #define wxUSE_NOTIFICATION_MESSAGE 1
47520 _ACEOF
47521
47522 fi
47523
47524 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47525 cat >>confdefs.h <<\_ACEOF
47526 #define wxUSE_ODCOMBOBOX 1
47527 _ACEOF
47528
47529 USES_CONTROLS=1
47530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47531 fi
47532
47533 if test "$wxUSE_RADIOBOX" = "yes"; then
47534 cat >>confdefs.h <<\_ACEOF
47535 #define wxUSE_RADIOBOX 1
47536 _ACEOF
47537
47538 USES_CONTROLS=1
47539 fi
47540
47541 if test "$wxUSE_RADIOBTN" = "yes"; then
47542 cat >>confdefs.h <<\_ACEOF
47543 #define wxUSE_RADIOBTN 1
47544 _ACEOF
47545
47546 USES_CONTROLS=1
47547 fi
47548
47549 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47550 cat >>confdefs.h <<\_ACEOF
47551 #define wxUSE_REARRANGECTRL 1
47552 _ACEOF
47553
47554 fi
47555
47556 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47557 cat >>confdefs.h <<\_ACEOF
47558 #define wxUSE_RICHMSGDLG 1
47559 _ACEOF
47560
47561 fi
47562
47563 if test "$wxUSE_SASH" = "yes"; then
47564 cat >>confdefs.h <<\_ACEOF
47565 #define wxUSE_SASH 1
47566 _ACEOF
47567
47568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47569 fi
47570
47571 if test "$wxUSE_SCROLLBAR" = "yes"; then
47572 cat >>confdefs.h <<\_ACEOF
47573 #define wxUSE_SCROLLBAR 1
47574 _ACEOF
47575
47576 USES_CONTROLS=1
47577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47578 fi
47579
47580 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47581 cat >>confdefs.h <<\_ACEOF
47582 #define wxUSE_SEARCHCTRL 1
47583 _ACEOF
47584
47585 USES_CONTROLS=1
47586 fi
47587
47588 if test "$wxUSE_SLIDER" = "yes"; then
47589 cat >>confdefs.h <<\_ACEOF
47590 #define wxUSE_SLIDER 1
47591 _ACEOF
47592
47593 USES_CONTROLS=1
47594 fi
47595
47596 if test "$wxUSE_SPINBTN" = "yes"; then
47597 cat >>confdefs.h <<\_ACEOF
47598 #define wxUSE_SPINBTN 1
47599 _ACEOF
47600
47601 USES_CONTROLS=1
47602 fi
47603
47604 if test "$wxUSE_SPINCTRL" = "yes"; then
47605 cat >>confdefs.h <<\_ACEOF
47606 #define wxUSE_SPINCTRL 1
47607 _ACEOF
47608
47609 USES_CONTROLS=1
47610 fi
47611
47612 if test "$wxUSE_SPLITTER" = "yes"; then
47613 cat >>confdefs.h <<\_ACEOF
47614 #define wxUSE_SPLITTER 1
47615 _ACEOF
47616
47617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47618 fi
47619
47620 if test "$wxUSE_STATBMP" = "yes"; then
47621 cat >>confdefs.h <<\_ACEOF
47622 #define wxUSE_STATBMP 1
47623 _ACEOF
47624
47625 USES_CONTROLS=1
47626 fi
47627
47628 if test "$wxUSE_STATBOX" = "yes"; then
47629 cat >>confdefs.h <<\_ACEOF
47630 #define wxUSE_STATBOX 1
47631 _ACEOF
47632
47633 USES_CONTROLS=1
47634 fi
47635
47636 if test "$wxUSE_STATTEXT" = "yes"; then
47637 cat >>confdefs.h <<\_ACEOF
47638 #define wxUSE_STATTEXT 1
47639 _ACEOF
47640
47641 USES_CONTROLS=1
47642 fi
47643
47644 if test "$wxUSE_STATLINE" = "yes"; then
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_STATLINE 1
47647 _ACEOF
47648
47649 USES_CONTROLS=1
47650 fi
47651
47652 if test "$wxUSE_STATUSBAR" = "yes"; then
47653 cat >>confdefs.h <<\_ACEOF
47654 #define wxUSE_NATIVE_STATUSBAR 1
47655 _ACEOF
47656
47657 cat >>confdefs.h <<\_ACEOF
47658 #define wxUSE_STATUSBAR 1
47659 _ACEOF
47660
47661 USES_CONTROLS=1
47662
47663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47664 fi
47665
47666 if test "$wxUSE_TEXTCTRL" = "yes"; then
47667 cat >>confdefs.h <<\_ACEOF
47668 #define wxUSE_TEXTCTRL 1
47669 _ACEOF
47670
47671 USES_CONTROLS=1
47672 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47673
47674 cat >>confdefs.h <<\_ACEOF
47675 #define wxUSE_RICHEDIT 1
47676 _ACEOF
47677
47678 cat >>confdefs.h <<\_ACEOF
47679 #define wxUSE_RICHEDIT2 1
47680 _ACEOF
47681
47682 fi
47683
47684 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47685 if test "$wxUSE_OLD_COCOA" = 1 ; then
47686 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47687 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47688 wxUSE_TOGGLEBTN=no
47689 fi
47690
47691 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_TOGGLEBTN 1
47694 _ACEOF
47695
47696 USES_CONTROLS=1
47697 fi
47698 fi
47699
47700 if test "$wxUSE_TOOLBAR" = "yes"; then
47701 cat >>confdefs.h <<\_ACEOF
47702 #define wxUSE_TOOLBAR 1
47703 _ACEOF
47704
47705 USES_CONTROLS=1
47706
47707 if test "$wxUSE_UNIVERSAL" = "yes"; then
47708 wxUSE_TOOLBAR_NATIVE="no"
47709 else
47710 wxUSE_TOOLBAR_NATIVE="yes"
47711 cat >>confdefs.h <<\_ACEOF
47712 #define wxUSE_TOOLBAR_NATIVE 1
47713 _ACEOF
47714
47715 fi
47716
47717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47718 fi
47719
47720 if test "$wxUSE_TOOLTIPS" = "yes"; then
47721 if test "$wxUSE_MOTIF" = 1; then
47722 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47723 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47724 else
47725 if test "$wxUSE_UNIVERSAL" = "yes"; then
47726 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47727 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47728 else
47729 cat >>confdefs.h <<\_ACEOF
47730 #define wxUSE_TOOLTIPS 1
47731 _ACEOF
47732
47733 fi
47734 fi
47735 fi
47736
47737 if test "$wxUSE_TREEBOOK" = "yes"; then
47738 cat >>confdefs.h <<\_ACEOF
47739 #define wxUSE_TREEBOOK 1
47740 _ACEOF
47741
47742 USES_CONTROLS=1
47743 fi
47744
47745 if test "$wxUSE_TOOLBOOK" = "yes"; then
47746 cat >>confdefs.h <<\_ACEOF
47747 #define wxUSE_TOOLBOOK 1
47748 _ACEOF
47749
47750 USES_CONTROLS=1
47751 fi
47752
47753 if test "$wxUSE_TREECTRL" = "yes"; then
47754 if test "$wxUSE_IMAGLIST" = "yes"; then
47755 cat >>confdefs.h <<\_ACEOF
47756 #define wxUSE_TREECTRL 1
47757 _ACEOF
47758
47759 USES_CONTROLS=1
47760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47761 else
47762 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47763 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47764 fi
47765 fi
47766
47767 if test "$wxUSE_POPUPWIN" = "yes"; then
47768 if test "$wxUSE_OLD_COCOA" = 1 ; then
47769 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47770 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47771 else
47772 if test "$wxUSE_PM" = 1; then
47773 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47774 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47775 else
47776 cat >>confdefs.h <<\_ACEOF
47777 #define wxUSE_POPUPWIN 1
47778 _ACEOF
47779
47780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47781
47782 USES_CONTROLS=1
47783 fi
47784 fi
47785 fi
47786
47787 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47788 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47789 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47790 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47791 else
47792 cat >>confdefs.h <<\_ACEOF
47793 #define wxUSE_DIALUP_MANAGER 1
47794 _ACEOF
47795
47796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47797 fi
47798 fi
47799
47800 if test "$wxUSE_TIPWINDOW" = "yes"; then
47801 if test "$wxUSE_PM" = 1; then
47802 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47803 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47804 else
47805 cat >>confdefs.h <<\_ACEOF
47806 #define wxUSE_TIPWINDOW 1
47807 _ACEOF
47808
47809 fi
47810 fi
47811
47812 if test "$USES_CONTROLS" = 1; then
47813 cat >>confdefs.h <<\_ACEOF
47814 #define wxUSE_CONTROLS 1
47815 _ACEOF
47816
47817 fi
47818
47819
47820 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47821 cat >>confdefs.h <<\_ACEOF
47822 #define wxUSE_ACCESSIBILITY 1
47823 _ACEOF
47824
47825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47826 fi
47827
47828 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47829 cat >>confdefs.h <<\_ACEOF
47830 #define wxUSE_ARTPROVIDER_STD 1
47831 _ACEOF
47832
47833 fi
47834
47835 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47836 if test "$wxUSE_GTK" != 1; then
47837 if test "$wxUSE_LIBPNG" != no -a \
47838 "$wxUSE_IMAGE" = yes -a \
47839 "$wxUSE_STREAMS" = yes; then
47840 wxUSE_ARTPROVIDER_TANGO="yes"
47841 fi
47842 fi
47843 fi
47844
47845 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47846 cat >>confdefs.h <<\_ACEOF
47847 #define wxUSE_ARTPROVIDER_TANGO 1
47848 _ACEOF
47849
47850 fi
47851
47852 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47853 cat >>confdefs.h <<\_ACEOF
47854 #define wxUSE_DRAGIMAGE 1
47855 _ACEOF
47856
47857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47858 fi
47859
47860 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47861 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47862 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47863 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47864 else
47865 cat >>confdefs.h <<\_ACEOF
47866 #define wxUSE_EXCEPTIONS 1
47867 _ACEOF
47868
47869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47870 fi
47871 fi
47872
47873 USE_HTML=0
47874 if test "$wxUSE_HTML" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_HTML 1
47877 _ACEOF
47878
47879 USE_HTML=1
47880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47881 fi
47882 if test "$wxUSE_WEBKIT" = "yes"; then
47883 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47884 old_CPPFLAGS="$CPPFLAGS"
47885 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47886 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47887 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47888 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47889 echo $ECHO_N "(cached) $ECHO_C" >&6
47890 else
47891 cat >conftest.$ac_ext <<_ACEOF
47892 /* confdefs.h. */
47893 _ACEOF
47894 cat confdefs.h >>conftest.$ac_ext
47895 cat >>conftest.$ac_ext <<_ACEOF
47896 /* end confdefs.h. */
47897
47898 #include <Carbon/Carbon.h>
47899 #include <WebKit/WebKit.h>
47900
47901
47902 #include <WebKit/HIWebView.h>
47903 _ACEOF
47904 rm -f conftest.$ac_objext
47905 if { (ac_try="$ac_compile"
47906 case "(($ac_try" in
47907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47908 *) ac_try_echo=$ac_try;;
47909 esac
47910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47911 (eval "$ac_compile") 2>conftest.er1
47912 ac_status=$?
47913 grep -v '^ *+' conftest.er1 >conftest.err
47914 rm -f conftest.er1
47915 cat conftest.err >&5
47916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47917 (exit $ac_status); } && {
47918 test -z "$ac_c_werror_flag" ||
47919 test ! -s conftest.err
47920 } && test -s conftest.$ac_objext; then
47921 ac_cv_header_WebKit_HIWebView_h=yes
47922 else
47923 echo "$as_me: failed program was:" >&5
47924 sed 's/^/| /' conftest.$ac_ext >&5
47925
47926 ac_cv_header_WebKit_HIWebView_h=no
47927 fi
47928
47929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47930 fi
47931 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47932 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47933 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47934
47935 cat >>confdefs.h <<\_ACEOF
47936 #define wxUSE_WEBKIT 1
47937 _ACEOF
47938
47939 WEBKIT_LINK="-framework WebKit"
47940
47941 else
47942
47943 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47944 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47945 wxUSE_WEBKIT=no
47946
47947 fi
47948
47949
47950 CPPFLAGS="$old_CPPFLAGS"
47951 elif test "$wxUSE_OLD_COCOA" = 1; then
47952 cat >>confdefs.h <<\_ACEOF
47953 #define wxUSE_WEBKIT 1
47954 _ACEOF
47955
47956 else
47957 wxUSE_WEBKIT=no
47958 fi
47959 if test "$wxUSE_WEBKIT" = "yes"; then
47960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47961 fi
47962 fi
47963
47964 USE_XRC=0
47965 if test "$wxUSE_XRC" = "yes"; then
47966 if test "$wxUSE_XML" != "yes"; then
47967 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47968 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47969 wxUSE_XRC=no
47970 else
47971 cat >>confdefs.h <<\_ACEOF
47972 #define wxUSE_XRC 1
47973 _ACEOF
47974
47975 USE_XRC=1
47976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47977 fi
47978 fi
47979
47980 USE_AUI=0
47981 if test "$wxUSE_AUI" = "yes"; then
47982 cat >>confdefs.h <<\_ACEOF
47983 #define wxUSE_AUI 1
47984 _ACEOF
47985
47986 USE_AUI=1
47987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47988 fi
47989
47990 USE_PROPGRID=0
47991 if test "$wxUSE_PROPGRID" = "yes"; then
47992 cat >>confdefs.h <<\_ACEOF
47993 #define wxUSE_PROPGRID 1
47994 _ACEOF
47995
47996 USE_PROPGRID=1
47997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47998 fi
47999
48000 USE_RIBBON=0
48001 if test "$wxUSE_RIBBON" = "yes"; then
48002 cat >>confdefs.h <<\_ACEOF
48003 #define wxUSE_RIBBON 1
48004 _ACEOF
48005
48006 USE_RIBBON=1
48007 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48008 fi
48009
48010 USE_STC=0
48011 if test "$wxUSE_STC" = "yes"; then
48012 cat >>confdefs.h <<\_ACEOF
48013 #define wxUSE_STC 1
48014 _ACEOF
48015
48016 USE_STC=1
48017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48018
48019 # Extract the first word of "python", so it can be a program name with args.
48020 set dummy python; ac_word=$2
48021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48023 if test "${ac_cv_path_PYTHON+set}" = set; then
48024 echo $ECHO_N "(cached) $ECHO_C" >&6
48025 else
48026 case $PYTHON in
48027 [\\/]* | ?:[\\/]*)
48028 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48029 ;;
48030 *)
48031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48032 for as_dir in $PATH
48033 do
48034 IFS=$as_save_IFS
48035 test -z "$as_dir" && as_dir=.
48036 for ac_exec_ext in '' $ac_executable_extensions; do
48037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48038 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48040 break 2
48041 fi
48042 done
48043 done
48044 IFS=$as_save_IFS
48045
48046 ;;
48047 esac
48048 fi
48049 PYTHON=$ac_cv_path_PYTHON
48050 if test -n "$PYTHON"; then
48051 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48052 echo "${ECHO_T}$PYTHON" >&6; }
48053 else
48054 { echo "$as_me:$LINENO: result: no" >&5
48055 echo "${ECHO_T}no" >&6; }
48056 fi
48057
48058
48059 if test "x$PYTHON" = "x"; then
48060 COND_PYTHON="#"
48061 fi
48062
48063 fi
48064
48065 if test "$wxUSE_MENUS" = "yes"; then
48066 cat >>confdefs.h <<\_ACEOF
48067 #define wxUSE_MENUS 1
48068 _ACEOF
48069
48070 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48071 fi
48072
48073 if test "$wxUSE_METAFILE" = "yes"; then
48074 cat >>confdefs.h <<\_ACEOF
48075 #define wxUSE_METAFILE 1
48076 _ACEOF
48077
48078 fi
48079
48080 if test "$wxUSE_MIMETYPE" = "yes"; then
48081 cat >>confdefs.h <<\_ACEOF
48082 #define wxUSE_MIMETYPE 1
48083 _ACEOF
48084
48085 fi
48086
48087 if test "$wxUSE_MINIFRAME" = "yes"; then
48088 cat >>confdefs.h <<\_ACEOF
48089 #define wxUSE_MINIFRAME 1
48090 _ACEOF
48091
48092 fi
48093
48094 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48095 cat >>confdefs.h <<\_ACEOF
48096 #define wxUSE_SYSTEM_OPTIONS 1
48097 _ACEOF
48098
48099 fi
48100
48101 if test "$wxUSE_TASKBARICON" = "yes"; then
48102 cat >>confdefs.h <<\_ACEOF
48103 #define wxUSE_TASKBARICON 1
48104 _ACEOF
48105
48106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48107 fi
48108
48109
48110 if test "$wxUSE_VALIDATORS" = "yes"; then
48111 cat >>confdefs.h <<\_ACEOF
48112 #define wxUSE_VALIDATORS 1
48113 _ACEOF
48114
48115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48116 fi
48117
48118 if test "$wxUSE_PALETTE" = "yes" ; then
48119 if test "$wxUSE_DFB" = 1; then
48120 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48121 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48122 wxUSE_PALETTE=no
48123 else
48124 cat >>confdefs.h <<\_ACEOF
48125 #define wxUSE_PALETTE 1
48126 _ACEOF
48127
48128 fi
48129 fi
48130
48131 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48132 LIBS=" -lunicows $LIBS"
48133 fi
48134
48135 USE_RICHTEXT=0
48136 if test "$wxUSE_RICHTEXT" = "yes"; then
48137 cat >>confdefs.h <<\_ACEOF
48138 #define wxUSE_RICHTEXT 1
48139 _ACEOF
48140
48141 USE_RICHTEXT=1
48142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48143 fi
48144
48145
48146 if test "$wxUSE_IMAGE" = "yes" ; then
48147 cat >>confdefs.h <<\_ACEOF
48148 #define wxUSE_IMAGE 1
48149 _ACEOF
48150
48151
48152 if test "$wxUSE_GIF" = "yes" ; then
48153 cat >>confdefs.h <<\_ACEOF
48154 #define wxUSE_GIF 1
48155 _ACEOF
48156
48157 fi
48158
48159 if test "$wxUSE_PCX" = "yes" ; then
48160 cat >>confdefs.h <<\_ACEOF
48161 #define wxUSE_PCX 1
48162 _ACEOF
48163
48164 fi
48165
48166 if test "$wxUSE_TGA" = "yes" ; then
48167 cat >>confdefs.h <<\_ACEOF
48168 #define wxUSE_TGA 1
48169 _ACEOF
48170
48171 fi
48172
48173 if test "$wxUSE_IFF" = "yes" ; then
48174 cat >>confdefs.h <<\_ACEOF
48175 #define wxUSE_IFF 1
48176 _ACEOF
48177
48178 fi
48179
48180 if test "$wxUSE_PNM" = "yes" ; then
48181 cat >>confdefs.h <<\_ACEOF
48182 #define wxUSE_PNM 1
48183 _ACEOF
48184
48185 fi
48186
48187 if test "$wxUSE_XPM" = "yes" ; then
48188 cat >>confdefs.h <<\_ACEOF
48189 #define wxUSE_XPM 1
48190 _ACEOF
48191
48192 fi
48193
48194 if test "$wxUSE_ICO_CUR" = "yes" ; then
48195 cat >>confdefs.h <<\_ACEOF
48196 #define wxUSE_ICO_CUR 1
48197 _ACEOF
48198
48199 fi
48200 fi
48201
48202
48203 if test "$wxUSE_ABOUTDLG" = "yes"; then
48204 cat >>confdefs.h <<\_ACEOF
48205 #define wxUSE_ABOUTDLG 1
48206 _ACEOF
48207
48208 fi
48209
48210 if test "$wxUSE_CHOICEDLG" = "yes"; then
48211 cat >>confdefs.h <<\_ACEOF
48212 #define wxUSE_CHOICEDLG 1
48213 _ACEOF
48214
48215 fi
48216
48217 if test "$wxUSE_COLOURDLG" = "yes"; then
48218 cat >>confdefs.h <<\_ACEOF
48219 #define wxUSE_COLOURDLG 1
48220 _ACEOF
48221
48222 fi
48223
48224 if test "$wxUSE_FILEDLG" = "yes"; then
48225 cat >>confdefs.h <<\_ACEOF
48226 #define wxUSE_FILEDLG 1
48227 _ACEOF
48228
48229 fi
48230
48231 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48232 cat >>confdefs.h <<\_ACEOF
48233 #define wxUSE_FINDREPLDLG 1
48234 _ACEOF
48235
48236 fi
48237
48238 if test "$wxUSE_FONTDLG" = "yes"; then
48239 cat >>confdefs.h <<\_ACEOF
48240 #define wxUSE_FONTDLG 1
48241 _ACEOF
48242
48243 fi
48244
48245 if test "$wxUSE_DIRDLG" = "yes"; then
48246 if test "$wxUSE_TREECTRL" != "yes"; then
48247 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48248 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48249 else
48250 cat >>confdefs.h <<\_ACEOF
48251 #define wxUSE_DIRDLG 1
48252 _ACEOF
48253
48254 fi
48255 fi
48256
48257 if test "$wxUSE_MSGDLG" = "yes"; then
48258 cat >>confdefs.h <<\_ACEOF
48259 #define wxUSE_MSGDLG 1
48260 _ACEOF
48261
48262 fi
48263
48264 if test "$wxUSE_NUMBERDLG" = "yes"; then
48265 cat >>confdefs.h <<\_ACEOF
48266 #define wxUSE_NUMBERDLG 1
48267 _ACEOF
48268
48269 fi
48270
48271 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48272 cat >>confdefs.h <<\_ACEOF
48273 #define wxUSE_PROGRESSDLG 1
48274 _ACEOF
48275
48276 fi
48277
48278 if test "$wxUSE_SPLASH" = "yes"; then
48279 cat >>confdefs.h <<\_ACEOF
48280 #define wxUSE_SPLASH 1
48281 _ACEOF
48282
48283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48284 fi
48285
48286 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48287 cat >>confdefs.h <<\_ACEOF
48288 #define wxUSE_STARTUP_TIPS 1
48289 _ACEOF
48290
48291 fi
48292
48293 if test "$wxUSE_TEXTDLG" = "yes"; then
48294 cat >>confdefs.h <<\_ACEOF
48295 #define wxUSE_TEXTDLG 1
48296 _ACEOF
48297
48298 fi
48299
48300 if test "$wxUSE_WIZARDDLG" = "yes"; then
48301 cat >>confdefs.h <<\_ACEOF
48302 #define wxUSE_WIZARDDLG 1
48303 _ACEOF
48304
48305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48306 fi
48307
48308
48309 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48310 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48311 cat >>confdefs.h <<\_ACEOF
48312 #define wxUSE_OWNER_DRAWN 1
48313 _ACEOF
48314
48315 fi
48316 fi
48317
48318
48319 if test "$wxUSE_MSW" = 1 ; then
48320
48321 if test "$wxUSE_DC_CACHEING" = "yes"; then
48322 cat >>confdefs.h <<\_ACEOF
48323 #define wxUSE_DC_CACHEING 1
48324 _ACEOF
48325
48326 fi
48327
48328 if test "$wxUSE_DIB" = "yes"; then
48329 cat >>confdefs.h <<\_ACEOF
48330 #define wxUSE_WXDIB 1
48331 _ACEOF
48332
48333 fi
48334
48335 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48336 cat >>confdefs.h <<\_ACEOF
48337 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48338 _ACEOF
48339
48340 fi
48341
48342 if test "$wxUSE_UXTHEME" = "yes"; then
48343 cat >>confdefs.h <<\_ACEOF
48344 #define wxUSE_UXTHEME 1
48345 _ACEOF
48346
48347 fi
48348
48349 fi
48350
48351 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48352 cat >>confdefs.h <<\_ACEOF
48353 #define wxUSE_AUTOID_MANAGEMENT 1
48354 _ACEOF
48355
48356 fi
48357
48358 if test "$USE_WIN32" = 1 ; then
48359 if test "$wxUSE_INICONF" = "yes"; then
48360 cat >>confdefs.h <<\_ACEOF
48361 #define wxUSE_INICONF 1
48362 _ACEOF
48363
48364 fi
48365
48366 if test "$wxUSE_REGKEY" = "yes"; then
48367 cat >>confdefs.h <<\_ACEOF
48368 #define wxUSE_REGKEY 1
48369 _ACEOF
48370
48371 fi
48372 fi
48373
48374
48375 if test "$wxUSE_MAC" = 1; then
48376 wxUSE_GRAPHICS_CONTEXT="yes"
48377 fi
48378
48379 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48380 wx_has_graphics=0
48381 if test "$wxUSE_MSW" = 1; then
48382 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48383 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48384 if test "${wx_cv_lib_gdiplus+set}" = set; then
48385 echo $ECHO_N "(cached) $ECHO_C" >&6
48386 else
48387
48388 ac_ext=cpp
48389 ac_cpp='$CXXCPP $CPPFLAGS'
48390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48393
48394 cat >conftest.$ac_ext <<_ACEOF
48395 /* confdefs.h. */
48396 _ACEOF
48397 cat confdefs.h >>conftest.$ac_ext
48398 cat >>conftest.$ac_ext <<_ACEOF
48399 /* end confdefs.h. */
48400 #include <windows.h>
48401 #include <gdiplus.h>
48402 int
48403 main ()
48404 {
48405
48406 using namespace Gdiplus;
48407
48408 ;
48409 return 0;
48410 }
48411 _ACEOF
48412 rm -f conftest.$ac_objext
48413 if { (ac_try="$ac_compile"
48414 case "(($ac_try" in
48415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48416 *) ac_try_echo=$ac_try;;
48417 esac
48418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48419 (eval "$ac_compile") 2>conftest.er1
48420 ac_status=$?
48421 grep -v '^ *+' conftest.er1 >conftest.err
48422 rm -f conftest.er1
48423 cat conftest.err >&5
48424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48425 (exit $ac_status); } && {
48426 test -z "$ac_cxx_werror_flag" ||
48427 test ! -s conftest.err
48428 } && test -s conftest.$ac_objext; then
48429 wx_cv_lib_gdiplus=yes
48430 else
48431 echo "$as_me: failed program was:" >&5
48432 sed 's/^/| /' conftest.$ac_ext >&5
48433
48434 wx_cv_lib_gdiplus=no
48435
48436 fi
48437
48438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48439 ac_ext=c
48440 ac_cpp='$CPP $CPPFLAGS'
48441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48444
48445
48446
48447 fi
48448 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48449 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48450 if test "$wx_cv_lib_gdiplus" = "yes"; then
48451 wx_has_graphics=1
48452 fi
48453 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48454
48455 pkg_failed=no
48456 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48457 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48458
48459 if test -n "$PKG_CONFIG"; then
48460 if test -n "$CAIRO_CFLAGS"; then
48461 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48462 else
48463 if test -n "$PKG_CONFIG" && \
48464 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48465 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48466 ac_status=$?
48467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48468 (exit $ac_status); }; then
48469 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48470 else
48471 pkg_failed=yes
48472 fi
48473 fi
48474 else
48475 pkg_failed=untried
48476 fi
48477 if test -n "$PKG_CONFIG"; then
48478 if test -n "$CAIRO_LIBS"; then
48479 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48480 else
48481 if test -n "$PKG_CONFIG" && \
48482 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48483 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48484 ac_status=$?
48485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48486 (exit $ac_status); }; then
48487 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48488 else
48489 pkg_failed=yes
48490 fi
48491 fi
48492 else
48493 pkg_failed=untried
48494 fi
48495
48496
48497
48498 if test $pkg_failed = yes; then
48499
48500 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48501 _pkg_short_errors_supported=yes
48502 else
48503 _pkg_short_errors_supported=no
48504 fi
48505 if test $_pkg_short_errors_supported = yes; then
48506 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48507 else
48508 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48509 fi
48510 # Put the nasty error message in config.log where it belongs
48511 echo "$CAIRO_PKG_ERRORS" >&5
48512
48513 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48514 echo "$as_me: WARNING: Cairo library not found" >&2;}
48515
48516 elif test $pkg_failed = untried; then
48517 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48518 echo "$as_me: WARNING: Cairo library not found" >&2;}
48519
48520 else
48521 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48522 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48523 { echo "$as_me:$LINENO: result: yes" >&5
48524 echo "${ECHO_T}yes" >&6; }
48525 wx_has_graphics=1
48526 fi
48527 if test "$wx_has_graphics" = 1; then
48528 save_LIBS="$LIBS"
48529 LIBS="$LIBS $CAIRO_LIBS"
48530
48531 for ac_func in cairo_push_group
48532 do
48533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48534 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48536 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48537 echo $ECHO_N "(cached) $ECHO_C" >&6
48538 else
48539 cat >conftest.$ac_ext <<_ACEOF
48540 /* confdefs.h. */
48541 _ACEOF
48542 cat confdefs.h >>conftest.$ac_ext
48543 cat >>conftest.$ac_ext <<_ACEOF
48544 /* end confdefs.h. */
48545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48547 #define $ac_func innocuous_$ac_func
48548
48549 /* System header to define __stub macros and hopefully few prototypes,
48550 which can conflict with char $ac_func (); below.
48551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48552 <limits.h> exists even on freestanding compilers. */
48553
48554 #ifdef __STDC__
48555 # include <limits.h>
48556 #else
48557 # include <assert.h>
48558 #endif
48559
48560 #undef $ac_func
48561
48562 /* Override any GCC internal prototype to avoid an error.
48563 Use char because int might match the return type of a GCC
48564 builtin and then its argument prototype would still apply. */
48565 #ifdef __cplusplus
48566 extern "C"
48567 #endif
48568 char $ac_func ();
48569 /* The GNU C library defines this for functions which it implements
48570 to always fail with ENOSYS. Some functions are actually named
48571 something starting with __ and the normal name is an alias. */
48572 #if defined __stub_$ac_func || defined __stub___$ac_func
48573 choke me
48574 #endif
48575
48576 int
48577 main ()
48578 {
48579 return $ac_func ();
48580 ;
48581 return 0;
48582 }
48583 _ACEOF
48584 rm -f conftest.$ac_objext conftest$ac_exeext
48585 if { (ac_try="$ac_link"
48586 case "(($ac_try" in
48587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48588 *) ac_try_echo=$ac_try;;
48589 esac
48590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48591 (eval "$ac_link") 2>conftest.er1
48592 ac_status=$?
48593 grep -v '^ *+' conftest.er1 >conftest.err
48594 rm -f conftest.er1
48595 cat conftest.err >&5
48596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48597 (exit $ac_status); } && {
48598 test -z "$ac_c_werror_flag" ||
48599 test ! -s conftest.err
48600 } && test -s conftest$ac_exeext &&
48601 $as_test_x conftest$ac_exeext; then
48602 eval "$as_ac_var=yes"
48603 else
48604 echo "$as_me: failed program was:" >&5
48605 sed 's/^/| /' conftest.$ac_ext >&5
48606
48607 eval "$as_ac_var=no"
48608 fi
48609
48610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48611 conftest$ac_exeext conftest.$ac_ext
48612 fi
48613 ac_res=`eval echo '${'$as_ac_var'}'`
48614 { echo "$as_me:$LINENO: result: $ac_res" >&5
48615 echo "${ECHO_T}$ac_res" >&6; }
48616 if test `eval echo '${'$as_ac_var'}'` = yes; then
48617 cat >>confdefs.h <<_ACEOF
48618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48619 _ACEOF
48620
48621 fi
48622 done
48623
48624 LIBS="$save_LIBS"
48625 if test "$ac_cv_func_cairo_push_group" = "no"; then
48626 wx_has_graphics=0
48627 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48628 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48629 else
48630 cat >>confdefs.h <<\_ACEOF
48631 #define wxUSE_CAIRO 1
48632 _ACEOF
48633
48634
48635 if test "$wxUSE_GTK" != 1; then
48636 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48637 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48638 fi
48639 fi
48640 fi
48641 else
48642 wx_has_graphics=1
48643 fi
48644
48645 if test "$wx_has_graphics" = 1; then
48646 cat >>confdefs.h <<\_ACEOF
48647 #define wxUSE_GRAPHICS_CONTEXT 1
48648 _ACEOF
48649
48650 else
48651 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48652 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48653 fi
48654 fi
48655
48656
48657 USE_MEDIA=0
48658
48659 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48660 USE_MEDIA=1
48661
48662 if test "$wxUSE_GTK" = 1; then
48663 wxUSE_GSTREAMER="no"
48664
48665 GST_VERSION_MAJOR=0
48666 GST_VERSION_MINOR=10
48667 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48668
48669 if test "$wxUSE_GSTREAMER8" = "no"; then
48670
48671 pkg_failed=no
48672 { echo "$as_me:$LINENO: checking for GST" >&5
48673 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48674
48675 if test -n "$PKG_CONFIG"; then
48676 if test -n "$GST_CFLAGS"; then
48677 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48678 else
48679 if test -n "$PKG_CONFIG" && \
48680 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48681 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48682 ac_status=$?
48683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48684 (exit $ac_status); }; then
48685 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48686 else
48687 pkg_failed=yes
48688 fi
48689 fi
48690 else
48691 pkg_failed=untried
48692 fi
48693 if test -n "$PKG_CONFIG"; then
48694 if test -n "$GST_LIBS"; then
48695 pkg_cv_GST_LIBS="$GST_LIBS"
48696 else
48697 if test -n "$PKG_CONFIG" && \
48698 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48699 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48700 ac_status=$?
48701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48702 (exit $ac_status); }; then
48703 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48704 else
48705 pkg_failed=yes
48706 fi
48707 fi
48708 else
48709 pkg_failed=untried
48710 fi
48711
48712
48713
48714 if test $pkg_failed = yes; then
48715
48716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48717 _pkg_short_errors_supported=yes
48718 else
48719 _pkg_short_errors_supported=no
48720 fi
48721 if test $_pkg_short_errors_supported = yes; then
48722 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48723 else
48724 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48725 fi
48726 # Put the nasty error message in config.log where it belongs
48727 echo "$GST_PKG_ERRORS" >&5
48728
48729
48730 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48731 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48732 GST_VERSION_MINOR=8
48733
48734
48735 elif test $pkg_failed = untried; then
48736
48737 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48738 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48739 GST_VERSION_MINOR=8
48740
48741
48742 else
48743 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48744 GST_LIBS=$pkg_cv_GST_LIBS
48745 { echo "$as_me:$LINENO: result: yes" >&5
48746 echo "${ECHO_T}yes" >&6; }
48747
48748 wxUSE_GSTREAMER="yes"
48749 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48750
48751 fi
48752 else
48753 GST_VERSION_MINOR=8
48754 fi
48755
48756 if test $GST_VERSION_MINOR = "8"; then
48757 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48758
48759 pkg_failed=no
48760 { echo "$as_me:$LINENO: checking for GST" >&5
48761 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48762
48763 if test -n "$PKG_CONFIG"; then
48764 if test -n "$GST_CFLAGS"; then
48765 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48766 else
48767 if test -n "$PKG_CONFIG" && \
48768 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48769 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48770 ac_status=$?
48771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48772 (exit $ac_status); }; then
48773 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48774 else
48775 pkg_failed=yes
48776 fi
48777 fi
48778 else
48779 pkg_failed=untried
48780 fi
48781 if test -n "$PKG_CONFIG"; then
48782 if test -n "$GST_LIBS"; then
48783 pkg_cv_GST_LIBS="$GST_LIBS"
48784 else
48785 if test -n "$PKG_CONFIG" && \
48786 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48787 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48788 ac_status=$?
48789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48790 (exit $ac_status); }; then
48791 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48792 else
48793 pkg_failed=yes
48794 fi
48795 fi
48796 else
48797 pkg_failed=untried
48798 fi
48799
48800
48801
48802 if test $pkg_failed = yes; then
48803
48804 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48805 _pkg_short_errors_supported=yes
48806 else
48807 _pkg_short_errors_supported=no
48808 fi
48809 if test $_pkg_short_errors_supported = yes; then
48810 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48811 else
48812 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48813 fi
48814 # Put the nasty error message in config.log where it belongs
48815 echo "$GST_PKG_ERRORS" >&5
48816
48817
48818 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48819 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48820
48821 elif test $pkg_failed = untried; then
48822
48823 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48824 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48825
48826 else
48827 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48828 GST_LIBS=$pkg_cv_GST_LIBS
48829 { echo "$as_me:$LINENO: result: yes" >&5
48830 echo "${ECHO_T}yes" >&6; }
48831 wxUSE_GSTREAMER="yes"
48832 fi
48833 fi
48834
48835
48836 if test "$wxUSE_GSTREAMER" = "yes"; then
48837 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48838 EXTRALIBS_MEDIA="$GST_LIBS"
48839
48840 cat >>confdefs.h <<\_ACEOF
48841 #define wxUSE_GSTREAMER 1
48842 _ACEOF
48843
48844 else
48845 USE_MEDIA=0
48846 fi
48847 fi
48848
48849 if test $USE_MEDIA = 1; then
48850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48851 cat >>confdefs.h <<\_ACEOF
48852 #define wxUSE_MEDIACTRL 1
48853 _ACEOF
48854
48855 else
48856 if test "$wxUSE_MEDIACTRL" = "yes"; then
48857 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48858 echo "$as_me: error: GStreamer not available" >&2;}
48859 { (exit 1); exit 1; }; }
48860 else
48861 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48862 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48863 fi
48864 fi
48865 fi
48866
48867
48868 if test "$cross_compiling" != "no"; then
48869 OSINFO="\"$host\""
48870 else
48871 OSINFO=`uname -s -r -m`
48872 OSINFO="\"$OSINFO\""
48873 fi
48874
48875 cat >>confdefs.h <<_ACEOF
48876 #define WXWIN_OS_DESCRIPTION $OSINFO
48877 _ACEOF
48878
48879
48880
48881 if test "x$prefix" != "xNONE"; then
48882 wxPREFIX=$prefix
48883 else
48884 wxPREFIX=$ac_default_prefix
48885 fi
48886
48887 cat >>confdefs.h <<_ACEOF
48888 #define wxINSTALL_PREFIX "$wxPREFIX"
48889 _ACEOF
48890
48891
48892
48893
48894 STD_BASE_LIBS="base"
48895 STD_GUI_LIBS=""
48896 BUILT_WX_LIBS="base"
48897 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
48898
48899 if test "$wxUSE_SOCKETS" = "yes" ; then
48900 STD_BASE_LIBS="net $STD_BASE_LIBS"
48901 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48902 fi
48903 if test "$wxUSE_XML" = "yes" ; then
48904 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48905 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48906 fi
48907
48908 if test "$wxUSE_GUI" = "yes"; then
48909 STD_GUI_LIBS="adv core"
48910 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48911
48912 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48913 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48914 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48915 fi
48916 if test "$wxUSE_HTML" = "yes" ; then
48917 STD_GUI_LIBS="html $STD_GUI_LIBS"
48918 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48919 fi
48920 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48921 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48922 fi
48923 if test "$wxUSE_OPENGL" = "yes" ; then
48924 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48925 fi
48926 if test "$wxUSE_AUI" = "yes" ; then
48927 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48928 fi
48929 if test "$wxUSE_PROPGRID" = "yes" ; then
48930 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
48931 fi
48932 if test "$wxUSE_RIBBON" = "yes" ; then
48933 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
48934 fi
48935 if test "$wxUSE_RICHTEXT" = "yes" ; then
48936 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
48937 fi
48938 if test "$wxUSE_STC" = "yes" ; then
48939 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48940 fi
48941 if test "$wxUSE_XRC" = "yes" ; then
48942 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48943 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48944 fi
48945 fi
48946
48947
48948
48949
48950
48951
48952
48953 EXTRA_FRAMEWORKS=
48954 if test "$wxUSE_MAC" = 1 ; then
48955 if test "$USE_DARWIN" = 1; then
48956 if test "$wxUSE_OSX_IPHONE" = 1; then
48957 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
48958 else
48959 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
48960 fi
48961 fi
48962 fi
48963 if test "$wxUSE_OLD_COCOA" = 1 ; then
48964 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
48965 if test "$wxUSE_MEDIACTRL" = "yes"; then
48966 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
48967 fi
48968 fi
48969 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
48970 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48971 fi
48972
48973 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
48974 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
48975
48976 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48977
48978 if test "$wxUSE_GUI" = "yes"; then
48979
48980
48981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48982 erase event exec font image minimal render \
48983 shaped svg taborder vscroll widgets wrapsizer"
48984
48985 if test "$wxUSE_MONOLITHIC" != "yes"; then
48986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48987 fi
48988 if test "$TOOLKIT" = "MSW"; then
48989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48990 if test "$wxUSE_UNIVERSAL" != "yes"; then
48991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
48992 fi
48993 fi
48994 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48996 fi
48997 else
48998 SAMPLES_SUBDIRS="console"
48999 if test "$wxUSE_SOCKETS" = "yes" ; then
49000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49001 fi
49002 if test "$wxUSE_IPC" = "yes" ; then
49003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49004 fi
49005 fi
49006
49007
49008 if test "x$INTELCC" = "xyes" ; then
49009 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49010 elif test "$GCC" = yes ; then
49011 CWARNINGS="-Wall -Wundef"
49012 fi
49013
49014 if test "x$INTELCXX" = "xyes" ; then
49015 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49016 elif test "$GXX" = yes ; then
49017 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49018 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49019 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49020 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49021 echo $ECHO_N "(cached) $ECHO_C" >&6
49022 else
49023 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49024
49025 ac_ext=cpp
49026 ac_cpp='$CXXCPP $CPPFLAGS'
49027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49030
49031 ac_save_CXXFLAGS="$CXXFLAGS"
49032 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49033 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49034 cat >conftest.$ac_ext <<_ACEOF
49035 /* confdefs.h. */
49036 _ACEOF
49037 cat confdefs.h >>conftest.$ac_ext
49038 cat >>conftest.$ac_ext <<_ACEOF
49039 /* end confdefs.h. */
49040
49041 int
49042 main ()
49043 {
49044 return 0;
49045 ;
49046 return 0;
49047 }
49048 _ACEOF
49049 rm -f conftest.$ac_objext
49050 if { (ac_try="$ac_compile"
49051 case "(($ac_try" in
49052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49053 *) ac_try_echo=$ac_try;;
49054 esac
49055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49056 (eval "$ac_compile") 2>conftest.er1
49057 ac_status=$?
49058 grep -v '^ *+' conftest.er1 >conftest.err
49059 rm -f conftest.er1
49060 cat conftest.err >&5
49061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49062 (exit $ac_status); } && {
49063 test -z "$ac_cxx_werror_flag" ||
49064 test ! -s conftest.err
49065 } && test -s conftest.$ac_objext; then
49066 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49067 else
49068 echo "$as_me: failed program was:" >&5
49069 sed 's/^/| /' conftest.$ac_ext >&5
49070
49071
49072 fi
49073
49074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49075 done
49076 CXXFLAGS="$ac_save_CXXFLAGS"
49077 ac_ext=c
49078 ac_cpp='$CPP $CPPFLAGS'
49079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49082
49083
49084 fi
49085 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49086 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49087 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49088 .ok|.ok,*) ;;
49089 .|.no|.no,*) ;;
49090 *)
49091 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49092 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49093 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49094 ac_status=$?
49095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49096 (exit $ac_status); }
49097 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49098 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49099 ac_status=$?
49100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49101 (exit $ac_status); }
49102 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49103 fi
49104 ;;
49105 esac
49106
49107
49108 if test "$wxUSE_MAC" = 1 ; then
49109 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49110 fi
49111 fi
49112
49113
49114 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49115 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49116
49117
49118 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49119 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49120 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49121 $CPPFLAGS `
49122
49123 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49124 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49125 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49126 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49127 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49128
49129 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49130
49131
49132 if test "x$MWCC" = "xyes"; then
49133
49134 CC="$CC -cwd source -I-"
49135 CXX="$CXX -cwd source -I-"
49136 fi
49137
49138
49139 LIBS=`echo $LIBS`
49140 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49141 EXTRALIBS_XML="$EXPAT_LINK"
49142 EXTRALIBS_HTML="$MSPACK_LINK"
49143 EXTRALIBS_MEDIA="$GST_LIBS"
49144 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49145 if test "$wxUSE_GUI" = "yes"; then
49146 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49147 fi
49148 if test "$wxUSE_OPENGL" = "yes"; then
49149 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49150 fi
49151
49152 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49153
49154 WXCONFIG_LIBS="$LIBS"
49155
49156 if test "$wxUSE_REGEX" = "builtin" ; then
49157 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49158 fi
49159 if test "$wxUSE_EXPAT" = "builtin" ; then
49160 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49161 fi
49162 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49163 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49164 fi
49165 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49166 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49167 fi
49168 if test "$wxUSE_LIBPNG" = "builtin" ; then
49169 wxconfig_3rdparty="png $wxconfig_3rdparty"
49170 fi
49171 if test "$wxUSE_ZLIB" = "builtin" ; then
49172 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49173 fi
49174
49175 for i in $wxconfig_3rdparty ; do
49176 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49177 done
49178
49179
49180 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49181 WXUNIV=1
49182
49183 case "$wxUNIV_THEMES" in
49184 ''|all)
49185 cat >>confdefs.h <<\_ACEOF
49186 #define wxUSE_ALL_THEMES 1
49187 _ACEOF
49188
49189 ;;
49190
49191 *)
49192 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49193 cat >>confdefs.h <<_ACEOF
49194 #define wxUSE_THEME_$t 1
49195 _ACEOF
49196
49197 done
49198 esac
49199 else
49200 WXUNIV=0
49201 fi
49202
49203
49204
49205
49206
49207
49208
49209
49210 if test $wxUSE_MONOLITHIC = "yes" ; then
49211 MONOLITHIC=1
49212 else
49213 MONOLITHIC=0
49214 fi
49215
49216 if test $wxUSE_PLUGINS = "yes" ; then
49217 USE_PLUGINS=1
49218 else
49219 USE_PLUGINS=0
49220 fi
49221
49222 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49223 USE_QA=1
49224 else
49225 USE_QA=0
49226 fi
49227
49228 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49229 OFFICIAL_BUILD=1
49230 else
49231 OFFICIAL_BUILD=0
49232 fi
49233
49234
49235
49236
49237
49238
49239
49240
49241
49242
49243
49244
49245
49246
49247
49248
49249
49250
49251
49252
49253
49254
49255
49256
49257
49258
49259
49260 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49261
49262
49263
49264
49265
49266
49267
49268
49269
49270
49271 case "$TOOLKIT" in
49272 GTK)
49273 TOOLKIT_DESC="GTK+"
49274 if test "$WXGTK2" = 1; then
49275 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49276 if test "$wxUSE_GTKPRINT" = "yes" ; then
49277 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49278 fi
49279 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49280 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49281 fi
49282 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49283 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49284 fi
49285 if test "$wxUSE_LIBHILDON" = "yes"; then
49286 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49287 fi
49288 if test "$wxUSE_LIBHILDON2" = "yes"; then
49289 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49290 fi
49291
49292 if test "$TOOLKIT_EXTRA" != ""; then
49293 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49294 fi
49295 fi
49296 ;;
49297
49298 ?*)
49299 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49300 ;;
49301
49302 *)
49303 TOOLKIT_DESC="base only"
49304 ;;
49305 esac
49306
49307 if test "$wxUSE_WINE" = "yes"; then
49308 BAKEFILE_FORCE_PLATFORM=win32
49309 fi
49310
49311 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49312 then
49313 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49314 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49315 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49316 echo $ECHO_N "(cached) $ECHO_C" >&6
49317 else
49318
49319 echo '#include <stdio.h>
49320 const wchar_t test_var[] = L"awidetest";' > conftest.h
49321
49322 echo '#include "conftest.h"
49323 int main()
49324 {
49325 printf("%ls", test_var);
49326 return 0;
49327 }' > conftest.cpp
49328
49329 wx_cv_gcc_pch_bug="pch not supported"
49330
49331 if $CXX conftest.h >/dev/null 2>&1
49332 then
49333 wx_cv_gcc_pch_bug=
49334
49335 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49336 then
49337 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49338 grep awidetest >/dev/null
49339 then
49340 wx_cv_gcc_pch_bug=no
49341 else
49342 wx_cv_gcc_pch_bug=yes
49343 fi
49344 fi
49345 fi
49346
49347 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49348
49349 fi
49350 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49351 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49352
49353 if test "$wx_cv_gcc_pch_bug" = yes; then
49354 bk_use_pch=no
49355 fi
49356 fi
49357
49358
49359
49360
49361
49362
49363
49364 if test "x$BAKEFILE_HOST" = "x"; then
49365 if test "x${host}" = "x" ; then
49366 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49367 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49368 { (exit 1); exit 1; }; }
49369 fi
49370
49371 BAKEFILE_HOST="${host}"
49372 fi
49373
49374 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49375
49376 if test -n "$ac_tool_prefix"; then
49377 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49378 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49381 if test "${ac_cv_prog_RANLIB+set}" = set; then
49382 echo $ECHO_N "(cached) $ECHO_C" >&6
49383 else
49384 if test -n "$RANLIB"; then
49385 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49386 else
49387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49388 for as_dir in $PATH
49389 do
49390 IFS=$as_save_IFS
49391 test -z "$as_dir" && as_dir=.
49392 for ac_exec_ext in '' $ac_executable_extensions; do
49393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49394 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49396 break 2
49397 fi
49398 done
49399 done
49400 IFS=$as_save_IFS
49401
49402 fi
49403 fi
49404 RANLIB=$ac_cv_prog_RANLIB
49405 if test -n "$RANLIB"; then
49406 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49407 echo "${ECHO_T}$RANLIB" >&6; }
49408 else
49409 { echo "$as_me:$LINENO: result: no" >&5
49410 echo "${ECHO_T}no" >&6; }
49411 fi
49412
49413
49414 fi
49415 if test -z "$ac_cv_prog_RANLIB"; then
49416 ac_ct_RANLIB=$RANLIB
49417 # Extract the first word of "ranlib", so it can be a program name with args.
49418 set dummy ranlib; ac_word=$2
49419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49421 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49422 echo $ECHO_N "(cached) $ECHO_C" >&6
49423 else
49424 if test -n "$ac_ct_RANLIB"; then
49425 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49426 else
49427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49428 for as_dir in $PATH
49429 do
49430 IFS=$as_save_IFS
49431 test -z "$as_dir" && as_dir=.
49432 for ac_exec_ext in '' $ac_executable_extensions; do
49433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49434 ac_cv_prog_ac_ct_RANLIB="ranlib"
49435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49436 break 2
49437 fi
49438 done
49439 done
49440 IFS=$as_save_IFS
49441
49442 fi
49443 fi
49444 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49445 if test -n "$ac_ct_RANLIB"; then
49446 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49447 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49448 else
49449 { echo "$as_me:$LINENO: result: no" >&5
49450 echo "${ECHO_T}no" >&6; }
49451 fi
49452
49453 if test "x$ac_ct_RANLIB" = x; then
49454 RANLIB=":"
49455 else
49456 case $cross_compiling:$ac_tool_warned in
49457 yes:)
49458 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49459 whose name does not start with the host triplet. If you think this
49460 configuration is useful to you, please write to autoconf@gnu.org." >&5
49461 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49462 whose name does not start with the host triplet. If you think this
49463 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49464 ac_tool_warned=yes ;;
49465 esac
49466 RANLIB=$ac_ct_RANLIB
49467 fi
49468 else
49469 RANLIB="$ac_cv_prog_RANLIB"
49470 fi
49471
49472 # Find a good install program. We prefer a C program (faster),
49473 # so one script is as good as another. But avoid the broken or
49474 # incompatible versions:
49475 # SysV /etc/install, /usr/sbin/install
49476 # SunOS /usr/etc/install
49477 # IRIX /sbin/install
49478 # AIX /bin/install
49479 # AmigaOS /C/install, which installs bootblocks on floppy discs
49480 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49481 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49482 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49483 # OS/2's system install, which has a completely different semantic
49484 # ./install, which can be erroneously created by make from ./install.sh.
49485 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49486 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49487 if test -z "$INSTALL"; then
49488 if test "${ac_cv_path_install+set}" = set; then
49489 echo $ECHO_N "(cached) $ECHO_C" >&6
49490 else
49491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49492 for as_dir in $PATH
49493 do
49494 IFS=$as_save_IFS
49495 test -z "$as_dir" && as_dir=.
49496 # Account for people who put trailing slashes in PATH elements.
49497 case $as_dir/ in
49498 ./ | .// | /cC/* | \
49499 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49500 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49501 /usr/ucb/* ) ;;
49502 *)
49503 # OSF1 and SCO ODT 3.0 have their own names for install.
49504 # Don't use installbsd from OSF since it installs stuff as root
49505 # by default.
49506 for ac_prog in ginstall scoinst install; do
49507 for ac_exec_ext in '' $ac_executable_extensions; do
49508 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49509 if test $ac_prog = install &&
49510 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49511 # AIX install. It has an incompatible calling convention.
49512 :
49513 elif test $ac_prog = install &&
49514 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49515 # program-specific install script used by HP pwplus--don't use.
49516 :
49517 else
49518 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49519 break 3
49520 fi
49521 fi
49522 done
49523 done
49524 ;;
49525 esac
49526 done
49527 IFS=$as_save_IFS
49528
49529
49530 fi
49531 if test "${ac_cv_path_install+set}" = set; then
49532 INSTALL=$ac_cv_path_install
49533 else
49534 # As a last resort, use the slow shell script. Don't cache a
49535 # value for INSTALL within a source directory, because that will
49536 # break other packages using the cache if that directory is
49537 # removed, or if the value is a relative name.
49538 INSTALL=$ac_install_sh
49539 fi
49540 fi
49541 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49542 echo "${ECHO_T}$INSTALL" >&6; }
49543
49544 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49545 # It thinks the first close brace ends the variable substitution.
49546 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49547
49548 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49549
49550 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49551
49552 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49553 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49554 LN_S=$as_ln_s
49555 if test "$LN_S" = "ln -s"; then
49556 { echo "$as_me:$LINENO: result: yes" >&5
49557 echo "${ECHO_T}yes" >&6; }
49558 else
49559 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49560 echo "${ECHO_T}no, using $LN_S" >&6; }
49561 fi
49562
49563
49564 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49565 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49566 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49567 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49568 echo $ECHO_N "(cached) $ECHO_C" >&6
49569 else
49570 cat >conftest.make <<\_ACEOF
49571 SHELL = /bin/sh
49572 all:
49573 @echo '@@@%%%=$(MAKE)=@@@%%%'
49574 _ACEOF
49575 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49576 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49577 *@@@%%%=?*=@@@%%%*)
49578 eval ac_cv_prog_make_${ac_make}_set=yes;;
49579 *)
49580 eval ac_cv_prog_make_${ac_make}_set=no;;
49581 esac
49582 rm -f conftest.make
49583 fi
49584 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49585 { echo "$as_me:$LINENO: result: yes" >&5
49586 echo "${ECHO_T}yes" >&6; }
49587 SET_MAKE=
49588 else
49589 { echo "$as_me:$LINENO: result: no" >&5
49590 echo "${ECHO_T}no" >&6; }
49591 SET_MAKE="MAKE=${MAKE-make}"
49592 fi
49593
49594
49595
49596 if test "x$SUNCXX" = "xyes"; then
49597 AR=$CXX
49598 AROPTIONS="-xar -o"
49599
49600 elif test "x$SGICC" = "xyes"; then
49601 AR=$CXX
49602 AROPTIONS="-ar -o"
49603
49604 else
49605 if test -n "$ac_tool_prefix"; then
49606 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49607 set dummy ${ac_tool_prefix}ar; ac_word=$2
49608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49610 if test "${ac_cv_prog_AR+set}" = set; then
49611 echo $ECHO_N "(cached) $ECHO_C" >&6
49612 else
49613 if test -n "$AR"; then
49614 ac_cv_prog_AR="$AR" # Let the user override the test.
49615 else
49616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49617 for as_dir in $PATH
49618 do
49619 IFS=$as_save_IFS
49620 test -z "$as_dir" && as_dir=.
49621 for ac_exec_ext in '' $ac_executable_extensions; do
49622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49623 ac_cv_prog_AR="${ac_tool_prefix}ar"
49624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49625 break 2
49626 fi
49627 done
49628 done
49629 IFS=$as_save_IFS
49630
49631 fi
49632 fi
49633 AR=$ac_cv_prog_AR
49634 if test -n "$AR"; then
49635 { echo "$as_me:$LINENO: result: $AR" >&5
49636 echo "${ECHO_T}$AR" >&6; }
49637 else
49638 { echo "$as_me:$LINENO: result: no" >&5
49639 echo "${ECHO_T}no" >&6; }
49640 fi
49641
49642
49643 fi
49644 if test -z "$ac_cv_prog_AR"; then
49645 ac_ct_AR=$AR
49646 # Extract the first word of "ar", so it can be a program name with args.
49647 set dummy ar; ac_word=$2
49648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49650 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49651 echo $ECHO_N "(cached) $ECHO_C" >&6
49652 else
49653 if test -n "$ac_ct_AR"; then
49654 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49655 else
49656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49657 for as_dir in $PATH
49658 do
49659 IFS=$as_save_IFS
49660 test -z "$as_dir" && as_dir=.
49661 for ac_exec_ext in '' $ac_executable_extensions; do
49662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49663 ac_cv_prog_ac_ct_AR="ar"
49664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49665 break 2
49666 fi
49667 done
49668 done
49669 IFS=$as_save_IFS
49670
49671 fi
49672 fi
49673 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49674 if test -n "$ac_ct_AR"; then
49675 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49676 echo "${ECHO_T}$ac_ct_AR" >&6; }
49677 else
49678 { echo "$as_me:$LINENO: result: no" >&5
49679 echo "${ECHO_T}no" >&6; }
49680 fi
49681
49682 if test "x$ac_ct_AR" = x; then
49683 AR="ar"
49684 else
49685 case $cross_compiling:$ac_tool_warned in
49686 yes:)
49687 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49688 whose name does not start with the host triplet. If you think this
49689 configuration is useful to you, please write to autoconf@gnu.org." >&5
49690 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49691 whose name does not start with the host triplet. If you think this
49692 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49693 ac_tool_warned=yes ;;
49694 esac
49695 AR=$ac_ct_AR
49696 fi
49697 else
49698 AR="$ac_cv_prog_AR"
49699 fi
49700
49701 AROPTIONS=rcu
49702 fi
49703
49704
49705 if test -n "$ac_tool_prefix"; then
49706 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49707 set dummy ${ac_tool_prefix}strip; ac_word=$2
49708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49710 if test "${ac_cv_prog_STRIP+set}" = set; then
49711 echo $ECHO_N "(cached) $ECHO_C" >&6
49712 else
49713 if test -n "$STRIP"; then
49714 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49715 else
49716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49717 for as_dir in $PATH
49718 do
49719 IFS=$as_save_IFS
49720 test -z "$as_dir" && as_dir=.
49721 for ac_exec_ext in '' $ac_executable_extensions; do
49722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49723 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49725 break 2
49726 fi
49727 done
49728 done
49729 IFS=$as_save_IFS
49730
49731 fi
49732 fi
49733 STRIP=$ac_cv_prog_STRIP
49734 if test -n "$STRIP"; then
49735 { echo "$as_me:$LINENO: result: $STRIP" >&5
49736 echo "${ECHO_T}$STRIP" >&6; }
49737 else
49738 { echo "$as_me:$LINENO: result: no" >&5
49739 echo "${ECHO_T}no" >&6; }
49740 fi
49741
49742
49743 fi
49744 if test -z "$ac_cv_prog_STRIP"; then
49745 ac_ct_STRIP=$STRIP
49746 # Extract the first word of "strip", so it can be a program name with args.
49747 set dummy strip; ac_word=$2
49748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49750 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49751 echo $ECHO_N "(cached) $ECHO_C" >&6
49752 else
49753 if test -n "$ac_ct_STRIP"; then
49754 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49755 else
49756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49757 for as_dir in $PATH
49758 do
49759 IFS=$as_save_IFS
49760 test -z "$as_dir" && as_dir=.
49761 for ac_exec_ext in '' $ac_executable_extensions; do
49762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49763 ac_cv_prog_ac_ct_STRIP="strip"
49764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49765 break 2
49766 fi
49767 done
49768 done
49769 IFS=$as_save_IFS
49770
49771 fi
49772 fi
49773 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49774 if test -n "$ac_ct_STRIP"; then
49775 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49776 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49777 else
49778 { echo "$as_me:$LINENO: result: no" >&5
49779 echo "${ECHO_T}no" >&6; }
49780 fi
49781
49782 if test "x$ac_ct_STRIP" = x; then
49783 STRIP=":"
49784 else
49785 case $cross_compiling:$ac_tool_warned in
49786 yes:)
49787 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49788 whose name does not start with the host triplet. If you think this
49789 configuration is useful to you, please write to autoconf@gnu.org." >&5
49790 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49791 whose name does not start with the host triplet. If you think this
49792 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49793 ac_tool_warned=yes ;;
49794 esac
49795 STRIP=$ac_ct_STRIP
49796 fi
49797 else
49798 STRIP="$ac_cv_prog_STRIP"
49799 fi
49800
49801 if test -n "$ac_tool_prefix"; then
49802 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49803 set dummy ${ac_tool_prefix}nm; ac_word=$2
49804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49806 if test "${ac_cv_prog_NM+set}" = set; then
49807 echo $ECHO_N "(cached) $ECHO_C" >&6
49808 else
49809 if test -n "$NM"; then
49810 ac_cv_prog_NM="$NM" # Let the user override the test.
49811 else
49812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49813 for as_dir in $PATH
49814 do
49815 IFS=$as_save_IFS
49816 test -z "$as_dir" && as_dir=.
49817 for ac_exec_ext in '' $ac_executable_extensions; do
49818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49819 ac_cv_prog_NM="${ac_tool_prefix}nm"
49820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49821 break 2
49822 fi
49823 done
49824 done
49825 IFS=$as_save_IFS
49826
49827 fi
49828 fi
49829 NM=$ac_cv_prog_NM
49830 if test -n "$NM"; then
49831 { echo "$as_me:$LINENO: result: $NM" >&5
49832 echo "${ECHO_T}$NM" >&6; }
49833 else
49834 { echo "$as_me:$LINENO: result: no" >&5
49835 echo "${ECHO_T}no" >&6; }
49836 fi
49837
49838
49839 fi
49840 if test -z "$ac_cv_prog_NM"; then
49841 ac_ct_NM=$NM
49842 # Extract the first word of "nm", so it can be a program name with args.
49843 set dummy nm; ac_word=$2
49844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49846 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49847 echo $ECHO_N "(cached) $ECHO_C" >&6
49848 else
49849 if test -n "$ac_ct_NM"; then
49850 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49851 else
49852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49853 for as_dir in $PATH
49854 do
49855 IFS=$as_save_IFS
49856 test -z "$as_dir" && as_dir=.
49857 for ac_exec_ext in '' $ac_executable_extensions; do
49858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49859 ac_cv_prog_ac_ct_NM="nm"
49860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49861 break 2
49862 fi
49863 done
49864 done
49865 IFS=$as_save_IFS
49866
49867 fi
49868 fi
49869 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49870 if test -n "$ac_ct_NM"; then
49871 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49872 echo "${ECHO_T}$ac_ct_NM" >&6; }
49873 else
49874 { echo "$as_me:$LINENO: result: no" >&5
49875 echo "${ECHO_T}no" >&6; }
49876 fi
49877
49878 if test "x$ac_ct_NM" = x; then
49879 NM=":"
49880 else
49881 case $cross_compiling:$ac_tool_warned in
49882 yes:)
49883 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49884 whose name does not start with the host triplet. If you think this
49885 configuration is useful to you, please write to autoconf@gnu.org." >&5
49886 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49887 whose name does not start with the host triplet. If you think this
49888 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49889 ac_tool_warned=yes ;;
49890 esac
49891 NM=$ac_ct_NM
49892 fi
49893 else
49894 NM="$ac_cv_prog_NM"
49895 fi
49896
49897
49898 { echo "$as_me:$LINENO: checking for command to install directories" >&5
49899 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
49900 INSTALL_TEST_DIR=acbftest$$
49901 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
49902 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
49903 rmdir $INSTALL_TEST_DIR
49904 INSTALL_DIR='$(INSTALL) -d'
49905 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
49906 echo "${ECHO_T}$INSTALL -d" >&6; }
49907 else
49908 INSTALL_DIR="mkdir -p"
49909 { echo "$as_me:$LINENO: result: mkdir -p" >&5
49910 echo "${ECHO_T}mkdir -p" >&6; }
49911 fi
49912
49913
49914 LDFLAGS_GUI=
49915 case ${BAKEFILE_HOST} in
49916 *-*-cygwin* | *-*-mingw32* )
49917 LDFLAGS_GUI="-mwindows"
49918 esac
49919
49920
49921 fi
49922
49923 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
49924 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
49925 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49926 echo $ECHO_N "(cached) $ECHO_C" >&6
49927 else
49928
49929 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49930 egrep -s GNU > /dev/null); then
49931 bakefile_cv_prog_makeisgnu="yes"
49932 else
49933 bakefile_cv_prog_makeisgnu="no"
49934 fi
49935
49936 fi
49937 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49938 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
49939
49940 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49941 IF_GNU_MAKE=""
49942 else
49943 IF_GNU_MAKE="#"
49944 fi
49945
49946
49947
49948 PLATFORM_UNIX=0
49949 PLATFORM_WIN32=0
49950 PLATFORM_MSDOS=0
49951 PLATFORM_MAC=0
49952 PLATFORM_MACOS=0
49953 PLATFORM_MACOSX=0
49954 PLATFORM_OS2=0
49955 PLATFORM_BEOS=0
49956
49957 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49958 case "${BAKEFILE_HOST}" in
49959 *-*-mingw32* )
49960 PLATFORM_WIN32=1
49961 ;;
49962 *-pc-msdosdjgpp )
49963 PLATFORM_MSDOS=1
49964 ;;
49965 *-pc-os2_emx | *-pc-os2-emx )
49966 PLATFORM_OS2=1
49967 ;;
49968 *-*-darwin* )
49969 PLATFORM_MAC=1
49970 PLATFORM_MACOSX=1
49971 ;;
49972 *-*-beos* )
49973 PLATFORM_BEOS=1
49974 ;;
49975 powerpc-apple-macos* )
49976 PLATFORM_MAC=1
49977 PLATFORM_MACOS=1
49978 ;;
49979 * )
49980 PLATFORM_UNIX=1
49981 ;;
49982 esac
49983 else
49984 case "$BAKEFILE_FORCE_PLATFORM" in
49985 win32 )
49986 PLATFORM_WIN32=1
49987 ;;
49988 msdos )
49989 PLATFORM_MSDOS=1
49990 ;;
49991 os2 )
49992 PLATFORM_OS2=1
49993 ;;
49994 darwin )
49995 PLATFORM_MAC=1
49996 PLATFORM_MACOSX=1
49997 ;;
49998 unix )
49999 PLATFORM_UNIX=1
50000 ;;
50001 beos )
50002 PLATFORM_BEOS=1
50003 ;;
50004 * )
50005 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50006 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50007 { (exit 1); exit 1; }; }
50008 ;;
50009 esac
50010 fi
50011
50012
50013
50014
50015
50016
50017
50018
50019
50020
50021
50022 # Check whether --enable-omf was given.
50023 if test "${enable_omf+set}" = set; then
50024 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50025 fi
50026
50027
50028 case "${BAKEFILE_HOST}" in
50029 *-*-darwin* )
50030 if test "x$GCC" = "xyes"; then
50031 CFLAGS="$CFLAGS -fno-common"
50032 CXXFLAGS="$CXXFLAGS -fno-common"
50033 fi
50034 if test "x$XLCC" = "xyes"; then
50035 CFLAGS="$CFLAGS -qnocommon"
50036 CXXFLAGS="$CXXFLAGS -qnocommon"
50037 fi
50038 ;;
50039
50040 *-pc-os2_emx | *-pc-os2-emx )
50041 if test "x$bk_os2_use_omf" = "xyes" ; then
50042 AR=emxomfar
50043 RANLIB=:
50044 LDFLAGS="-Zomf $LDFLAGS"
50045 CFLAGS="-Zomf $CFLAGS"
50046 CXXFLAGS="-Zomf $CXXFLAGS"
50047 OS2_LIBEXT="lib"
50048 else
50049 OS2_LIBEXT="a"
50050 fi
50051 ;;
50052
50053 i*86-*-beos* )
50054 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50055 ;;
50056 esac
50057
50058
50059 SO_SUFFIX="so"
50060 SO_SUFFIX_MODULE="so"
50061 EXEEXT=""
50062 LIBPREFIX="lib"
50063 LIBEXT=".a"
50064 DLLPREFIX="lib"
50065 DLLPREFIX_MODULE=""
50066 DLLIMP_SUFFIX=""
50067 dlldir="$libdir"
50068
50069 case "${BAKEFILE_HOST}" in
50070 ia64-hp-hpux* )
50071 ;;
50072 *-hp-hpux* )
50073 SO_SUFFIX="sl"
50074 SO_SUFFIX_MODULE="sl"
50075 ;;
50076 *-*-aix* )
50077 SO_SUFFIX="a"
50078 SO_SUFFIX_MODULE="a"
50079 ;;
50080 *-*-cygwin* )
50081 SO_SUFFIX="dll"
50082 SO_SUFFIX_MODULE="dll"
50083 DLLIMP_SUFFIX="dll.a"
50084 EXEEXT=".exe"
50085 DLLPREFIX="cyg"
50086 dlldir="$bindir"
50087 ;;
50088 *-*-mingw32* )
50089 SO_SUFFIX="dll"
50090 SO_SUFFIX_MODULE="dll"
50091 DLLIMP_SUFFIX="dll.a"
50092 EXEEXT=".exe"
50093 DLLPREFIX=""
50094 dlldir="$bindir"
50095 ;;
50096 *-pc-msdosdjgpp )
50097 EXEEXT=".exe"
50098 DLLPREFIX=""
50099 dlldir="$bindir"
50100 ;;
50101 *-pc-os2_emx | *-pc-os2-emx )
50102 SO_SUFFIX="dll"
50103 SO_SUFFIX_MODULE="dll"
50104 DLLIMP_SUFFIX=$OS2_LIBEXT
50105 EXEEXT=".exe"
50106 DLLPREFIX=""
50107 LIBPREFIX=""
50108 LIBEXT=".$OS2_LIBEXT"
50109 dlldir="$bindir"
50110 ;;
50111 *-*-darwin* )
50112 SO_SUFFIX="dylib"
50113 SO_SUFFIX_MODULE="bundle"
50114 ;;
50115 esac
50116
50117 if test "x$DLLIMP_SUFFIX" = "x" ; then
50118 DLLIMP_SUFFIX="$SO_SUFFIX"
50119 fi
50120
50121
50122
50123
50124
50125
50126
50127
50128
50129
50130
50131
50132 PIC_FLAG=""
50133 if test "x$GCC" = "xyes"; then
50134 PIC_FLAG="-fPIC"
50135 fi
50136
50137 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50138 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50139 WINDOWS_IMPLIB=0
50140
50141 case "${BAKEFILE_HOST}" in
50142 *-hp-hpux* )
50143 if test "x$GCC" != "xyes"; then
50144 LDFLAGS="$LDFLAGS -L/usr/lib"
50145
50146 SHARED_LD_CC="${CC} -b -o"
50147 SHARED_LD_CXX="${CXX} -b -o"
50148 PIC_FLAG="+Z"
50149 fi
50150 ;;
50151
50152 *-*-linux* )
50153 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50154 PIC_FLAG="-KPIC"
50155 elif test "x$SUNCXX" = "xyes"; then
50156 SHARED_LD_CC="${CC} -G -o"
50157 SHARED_LD_CXX="${CXX} -G -o"
50158 PIC_FLAG="-KPIC"
50159 fi
50160 ;;
50161
50162 *-*-solaris2* )
50163 if test "x$SUNCXX" = xyes ; then
50164 SHARED_LD_CC="${CC} -G -o"
50165 SHARED_LD_CXX="${CXX} -G -o"
50166 PIC_FLAG="-KPIC"
50167 fi
50168 ;;
50169
50170 *-*-darwin* )
50171
50172 D='$'
50173 cat <<EOF >shared-ld-sh
50174 #!/bin/sh
50175 #-----------------------------------------------------------------------------
50176 #-- Name: distrib/mac/shared-ld-sh
50177 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50178 #-- Author: Gilles Depeyrot
50179 #-- Copyright: (c) 2002 Gilles Depeyrot
50180 #-- Licence: any use permitted
50181 #-----------------------------------------------------------------------------
50182
50183 verbose=0
50184 args=""
50185 objects=""
50186 linking_flag="-dynamiclib"
50187 ldargs="-r -keep_private_externs -nostdlib"
50188
50189 if test "x${D}CXX" = "x"; then
50190 CXX="c++"
50191 fi
50192
50193 while test ${D}# -gt 0; do
50194 case ${D}1 in
50195
50196 -v)
50197 verbose=1
50198 ;;
50199
50200 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50201 # collect these options and values
50202 args="${D}{args} ${D}1 ${D}2"
50203 shift
50204 ;;
50205
50206 -arch|-isysroot)
50207 # collect these options and values
50208 ldargs="${D}{ldargs} ${D}1 ${D}2"
50209 shift
50210 ;;
50211
50212 -s|-Wl,*)
50213 # collect these load args
50214 ldargs="${D}{ldargs} ${D}1"
50215 ;;
50216
50217 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50218 # collect these options
50219 args="${D}{args} ${D}1"
50220 ;;
50221
50222 -dynamiclib|-bundle)
50223 linking_flag="${D}1"
50224 ;;
50225
50226 -*)
50227 echo "shared-ld: unhandled option '${D}1'"
50228 exit 1
50229 ;;
50230
50231 *.o | *.a | *.dylib)
50232 # collect object files
50233 objects="${D}{objects} ${D}1"
50234 ;;
50235
50236 *)
50237 echo "shared-ld: unhandled argument '${D}1'"
50238 exit 1
50239 ;;
50240
50241 esac
50242 shift
50243 done
50244
50245 status=0
50246
50247 #
50248 # Link one module containing all the others
50249 #
50250 if test ${D}{verbose} = 1; then
50251 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50252 fi
50253 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50254 status=${D}?
50255
50256 #
50257 # Link the shared library from the single module created, but only if the
50258 # previous command didn't fail:
50259 #
50260 if test ${D}{status} = 0; then
50261 if test ${D}{verbose} = 1; then
50262 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50263 fi
50264 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50265 status=${D}?
50266 fi
50267
50268 #
50269 # Remove intermediate module
50270 #
50271 rm -f master.${D}${D}.o
50272
50273 exit ${D}status
50274 EOF
50275
50276 chmod +x shared-ld-sh
50277
50278 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50279 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50280
50281
50282 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50283 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50284 if test "${bakefile_cv_gcc31+set}" = set; then
50285 echo $ECHO_N "(cached) $ECHO_C" >&6
50286 else
50287
50288 cat >conftest.$ac_ext <<_ACEOF
50289 /* confdefs.h. */
50290 _ACEOF
50291 cat confdefs.h >>conftest.$ac_ext
50292 cat >>conftest.$ac_ext <<_ACEOF
50293 /* end confdefs.h. */
50294
50295 int
50296 main ()
50297 {
50298
50299 #if (__GNUC__ < 3) || \
50300 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50301 This is old gcc
50302 #endif
50303
50304 ;
50305 return 0;
50306 }
50307 _ACEOF
50308 rm -f conftest.$ac_objext
50309 if { (ac_try="$ac_compile"
50310 case "(($ac_try" in
50311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50312 *) ac_try_echo=$ac_try;;
50313 esac
50314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50315 (eval "$ac_compile") 2>conftest.er1
50316 ac_status=$?
50317 grep -v '^ *+' conftest.er1 >conftest.err
50318 rm -f conftest.er1
50319 cat conftest.err >&5
50320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50321 (exit $ac_status); } && {
50322 test -z "$ac_c_werror_flag" ||
50323 test ! -s conftest.err
50324 } && test -s conftest.$ac_objext; then
50325
50326 bakefile_cv_gcc31=yes
50327
50328 else
50329 echo "$as_me: failed program was:" >&5
50330 sed 's/^/| /' conftest.$ac_ext >&5
50331
50332
50333 bakefile_cv_gcc31=no
50334
50335
50336 fi
50337
50338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50339
50340 fi
50341 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50342 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50343 if test "$bakefile_cv_gcc31" = "no"; then
50344 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50345 SHARED_LD_CXX="$SHARED_LD_CC"
50346 else
50347 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50348 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50349 fi
50350
50351 if test "x$GCC" == "xyes"; then
50352 PIC_FLAG="-dynamic -fPIC"
50353 fi
50354 if test "x$XLCC" = "xyes"; then
50355 PIC_FLAG="-dynamic -DPIC"
50356 fi
50357 ;;
50358
50359 *-*-aix* )
50360 if test "x$GCC" = "xyes"; then
50361 PIC_FLAG=""
50362
50363 case "${BAKEFILE_HOST}" in
50364 *-*-aix5* )
50365 LD_EXPFULL="-Wl,-bexpfull"
50366 ;;
50367 esac
50368
50369 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50370 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50371 else
50372 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50373 set dummy makeC++SharedLib; ac_word=$2
50374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50376 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50377 echo $ECHO_N "(cached) $ECHO_C" >&6
50378 else
50379 if test -n "$AIX_CXX_LD"; then
50380 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50381 else
50382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50383 for as_dir in $PATH
50384 do
50385 IFS=$as_save_IFS
50386 test -z "$as_dir" && as_dir=.
50387 for ac_exec_ext in '' $ac_executable_extensions; do
50388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50389 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50391 break 2
50392 fi
50393 done
50394 done
50395 IFS=$as_save_IFS
50396
50397 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50398 fi
50399 fi
50400 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50401 if test -n "$AIX_CXX_LD"; then
50402 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50403 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50404 else
50405 { echo "$as_me:$LINENO: result: no" >&5
50406 echo "${ECHO_T}no" >&6; }
50407 fi
50408
50409
50410 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50411 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50412 fi
50413 ;;
50414
50415 *-*-beos* )
50416 SHARED_LD_CC="${LD} -nostart -o"
50417 SHARED_LD_CXX="${LD} -nostart -o"
50418 ;;
50419
50420 *-*-irix* )
50421 if test "x$GCC" != "xyes"; then
50422 PIC_FLAG="-KPIC"
50423 fi
50424 ;;
50425
50426 *-*-cygwin* | *-*-mingw32* )
50427 PIC_FLAG=""
50428 SHARED_LD_CC="\$(CC) -shared -o"
50429 SHARED_LD_CXX="\$(CXX) -shared -o"
50430 WINDOWS_IMPLIB=1
50431 ;;
50432
50433 *-pc-os2_emx | *-pc-os2-emx )
50434 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50435 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50436 PIC_FLAG=""
50437
50438 D='$'
50439 cat <<EOF >dllar.sh
50440 #!/bin/sh
50441 #
50442 # dllar - a tool to build both a .dll and an .a file
50443 # from a set of object (.o) files for EMX/OS2.
50444 #
50445 # Written by Andrew Zabolotny, bit@freya.etu.ru
50446 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50447 #
50448 # This script will accept a set of files on the command line.
50449 # All the public symbols from the .o files will be exported into
50450 # a .DEF file, then linker will be run (through gcc) against them to
50451 # build a shared library consisting of all given .o files. All libraries
50452 # (.a) will be first decompressed into component .o files then act as
50453 # described above. You can optionally give a description (-d "description")
50454 # which will be put into .DLL. To see the list of accepted options (as well
50455 # as command-line format) simply run this program without options. The .DLL
50456 # is built to be imported by name (there is no guarantee that new versions
50457 # of the library you build will have same ordinals for same symbols).
50458 #
50459 # dllar is free software; you can redistribute it and/or modify
50460 # it under the terms of the GNU General Public License as published by
50461 # the Free Software Foundation; either version 2, or (at your option)
50462 # any later version.
50463 #
50464 # dllar is distributed in the hope that it will be useful,
50465 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50466 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50467 # GNU General Public License for more details.
50468 #
50469 # You should have received a copy of the GNU General Public License
50470 # along with dllar; see the file COPYING. If not, write to the Free
50471 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50472 # 02111-1307, USA.
50473
50474 # To successfuly run this program you will need:
50475 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50476 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50477 # - gcc
50478 # (used to build the .dll)
50479 # - emxexp
50480 # (used to create .def file from .o files)
50481 # - emximp
50482 # (used to create .a file from .def file)
50483 # - GNU text utilites (cat, sort, uniq)
50484 # used to process emxexp output
50485 # - GNU file utilities (mv, rm)
50486 # - GNU sed
50487 # - lxlite (optional, see flag below)
50488 # (used for general .dll cleanup)
50489 #
50490
50491 flag_USE_LXLITE=1;
50492
50493 #
50494 # helper functions
50495 # basnam, variant of basename, which does _not_ remove the path, _iff_
50496 # second argument (suffix to remove) is given
50497 basnam(){
50498 case ${D}# in
50499 1)
50500 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50501 ;;
50502 2)
50503 echo ${D}1 | sed 's/'${D}2'${D}//'
50504 ;;
50505 *)
50506 echo "error in basnam ${D}*"
50507 exit 8
50508 ;;
50509 esac
50510 }
50511
50512 # Cleanup temporary files and output
50513 CleanUp() {
50514 cd ${D}curDir
50515 for i in ${D}inputFiles ; do
50516 case ${D}i in
50517 *!)
50518 rm -rf \`basnam ${D}i !\`
50519 ;;
50520 *)
50521 ;;
50522 esac
50523 done
50524
50525 # Kill result in case of failure as there is just to many stupid make/nmake
50526 # things out there which doesn't do this.
50527 if [ ${D}# -eq 0 ]; then
50528 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50529 fi
50530 }
50531
50532 # Print usage and exit script with rc=1.
50533 PrintHelp() {
50534 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50535 echo ' [-name-mangler-script script.sh]'
50536 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50537 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50538 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50539 echo ' [*.o] [*.a]'
50540 echo '*> "output_file" should have no extension.'
50541 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50542 echo ' The import library name is derived from this and is set to "name".a,'
50543 echo ' unless overridden by -import'
50544 echo '*> "importlib_name" should have no extension.'
50545 echo ' If it has the .o, or .a extension, it is automatically removed.'
50546 echo ' This name is used as the import library name and may be longer and'
50547 echo ' more descriptive than the DLL name which has to follow the old '
50548 echo ' 8.3 convention of FAT.'
50549 echo '*> "script.sh may be given to override the output_file name by a'
50550 echo ' different name. It is mainly useful if the regular make process'
50551 echo ' of some package does not take into account OS/2 restriction of'
50552 echo ' DLL name lengths. It takes the importlib name as input and is'
50553 echo ' supposed to procude a shorter name as output. The script should'
50554 echo ' expect to get importlib_name without extension and should produce'
50555 echo ' a (max.) 8 letter name without extension.'
50556 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50557 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50558 echo ' These flags will be put at the start of GCC command line.'
50559 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50560 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50561 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50562 echo ' If the last character of a symbol is "*", all symbols beginning'
50563 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50564 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50565 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50566 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50567 echo ' C runtime DLLs.'
50568 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50569 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50570 echo ' unchanged to GCC at the end of command line.'
50571 echo '*> If you create a DLL from a library and you do not specify -o,'
50572 echo ' the basename for DLL and import library will be set to library name,'
50573 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50574 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50575 echo ' library will be renamed into gcc_s.a.'
50576 echo '--------'
50577 echo 'Example:'
50578 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50579 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50580 CleanUp
50581 exit 1
50582 }
50583
50584 # Execute a command.
50585 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50586 # @Uses Whatever CleanUp() uses.
50587 doCommand() {
50588 echo "${D}*"
50589 eval ${D}*
50590 rcCmd=${D}?
50591
50592 if [ ${D}rcCmd -ne 0 ]; then
50593 echo "command failed, exit code="${D}rcCmd
50594 CleanUp
50595 exit ${D}rcCmd
50596 fi
50597 }
50598
50599 # main routine
50600 # setup globals
50601 cmdLine=${D}*
50602 outFile=""
50603 outimpFile=""
50604 inputFiles=""
50605 renameScript=""
50606 description=""
50607 CC=gcc.exe
50608 CFLAGS="-s -Zcrtdll"
50609 EXTRA_CFLAGS=""
50610 EXPORT_BY_ORDINALS=0
50611 exclude_symbols=""
50612 library_flags=""
50613 curDir=\`pwd\`
50614 curDirS=curDir
50615 case ${D}curDirS in
50616 */)
50617 ;;
50618 *)
50619 curDirS=${D}{curDirS}"/"
50620 ;;
50621 esac
50622 # Parse commandline
50623 libsToLink=0
50624 omfLinking=0
50625 while [ ${D}1 ]; do
50626 case ${D}1 in
50627 -ord*)
50628 EXPORT_BY_ORDINALS=1;
50629 ;;
50630 -o*)
50631 shift
50632 outFile=${D}1
50633 ;;
50634 -i*)
50635 shift
50636 outimpFile=${D}1
50637 ;;
50638 -name-mangler-script)
50639 shift
50640 renameScript=${D}1
50641 ;;
50642 -d*)
50643 shift
50644 description=${D}1
50645 ;;
50646 -f*)
50647 shift
50648 CFLAGS=${D}1
50649 ;;
50650 -c*)
50651 shift
50652 CC=${D}1
50653 ;;
50654 -h*)
50655 PrintHelp
50656 ;;
50657 -ex*)
50658 shift
50659 exclude_symbols=${D}{exclude_symbols}${D}1" "
50660 ;;
50661 -libf*)
50662 shift
50663 library_flags=${D}{library_flags}${D}1" "
50664 ;;
50665 -nocrt*)
50666 CFLAGS="-s"
50667 ;;
50668 -nolxl*)
50669 flag_USE_LXLITE=0
50670 ;;
50671 -* | /*)
50672 case ${D}1 in
50673 -L* | -l*)
50674 libsToLink=1
50675 ;;
50676 -Zomf)
50677 omfLinking=1
50678 ;;
50679 *)
50680 ;;
50681 esac
50682 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50683 ;;
50684 *.dll)
50685 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50686 if [ ${D}omfLinking -eq 1 ]; then
50687 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50688 else
50689 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50690 fi
50691 ;;
50692 *)
50693 found=0;
50694 if [ ${D}libsToLink -ne 0 ]; then
50695 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50696 else
50697 for file in ${D}1 ; do
50698 if [ -f ${D}file ]; then
50699 inputFiles="${D}{inputFiles} ${D}file"
50700 found=1
50701 fi
50702 done
50703 if [ ${D}found -eq 0 ]; then
50704 echo "ERROR: No file(s) found: "${D}1
50705 exit 8
50706 fi
50707 fi
50708 ;;
50709 esac
50710 shift
50711 done # iterate cmdline words
50712
50713 #
50714 if [ -z "${D}inputFiles" ]; then
50715 echo "dllar: no input files"
50716 PrintHelp
50717 fi
50718
50719 # Now extract all .o files from .a files
50720 newInputFiles=""
50721 for file in ${D}inputFiles ; do
50722 case ${D}file in
50723 *.a | *.lib)
50724 case ${D}file in
50725 *.a)
50726 suffix=".a"
50727 AR="ar"
50728 ;;
50729 *.lib)
50730 suffix=".lib"
50731 AR="emxomfar"
50732 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50733 ;;
50734 *)
50735 ;;
50736 esac
50737 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50738 mkdir ${D}dirname
50739 if [ ${D}? -ne 0 ]; then
50740 echo "Failed to create subdirectory ./${D}dirname"
50741 CleanUp
50742 exit 8;
50743 fi
50744 # Append '!' to indicate archive
50745 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50746 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50747 cd ${D}curDir
50748 found=0;
50749 for subfile in ${D}dirname/*.o* ; do
50750 if [ -f ${D}subfile ]; then
50751 found=1
50752 if [ -s ${D}subfile ]; then
50753 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50754 newInputFiles="${D}newInputFiles ${D}subfile"
50755 fi
50756 fi
50757 done
50758 if [ ${D}found -eq 0 ]; then
50759 echo "WARNING: there are no files in archive \\'${D}file\\'"
50760 fi
50761 ;;
50762 *)
50763 newInputFiles="${D}{newInputFiles} ${D}file"
50764 ;;
50765 esac
50766 done
50767 inputFiles="${D}newInputFiles"
50768
50769 # Output filename(s).
50770 do_backup=0;
50771 if [ -z ${D}outFile ]; then
50772 do_backup=1;
50773 set outFile ${D}inputFiles; outFile=${D}2
50774 fi
50775
50776 # If it is an archive, remove the '!' and the '_%' suffixes
50777 case ${D}outFile in
50778 *_%!)
50779 outFile=\`basnam ${D}outFile _%!\`
50780 ;;
50781 *)
50782 ;;
50783 esac
50784 case ${D}outFile in
50785 *.dll)
50786 outFile=\`basnam ${D}outFile .dll\`
50787 ;;
50788 *.DLL)
50789 outFile=\`basnam ${D}outFile .DLL\`
50790 ;;
50791 *.o)
50792 outFile=\`basnam ${D}outFile .o\`
50793 ;;
50794 *.obj)
50795 outFile=\`basnam ${D}outFile .obj\`
50796 ;;
50797 *.a)
50798 outFile=\`basnam ${D}outFile .a\`
50799 ;;
50800 *.lib)
50801 outFile=\`basnam ${D}outFile .lib\`
50802 ;;
50803 *)
50804 ;;
50805 esac
50806 case ${D}outimpFile in
50807 *.a)
50808 outimpFile=\`basnam ${D}outimpFile .a\`
50809 ;;
50810 *.lib)
50811 outimpFile=\`basnam ${D}outimpFile .lib\`
50812 ;;
50813 *)
50814 ;;
50815 esac
50816 if [ -z ${D}outimpFile ]; then
50817 outimpFile=${D}outFile
50818 fi
50819 defFile="${D}{outFile}.def"
50820 arcFile="${D}{outimpFile}.a"
50821 arcFile2="${D}{outimpFile}.lib"
50822
50823 #create ${D}dllFile as something matching 8.3 restrictions,
50824 if [ -z ${D}renameScript ] ; then
50825 dllFile="${D}outFile"
50826 else
50827 dllFile=\`${D}renameScript ${D}outimpFile\`
50828 fi
50829
50830 if [ ${D}do_backup -ne 0 ] ; then
50831 if [ -f ${D}arcFile ] ; then
50832 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50833 fi
50834 if [ -f ${D}arcFile2 ] ; then
50835 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50836 fi
50837 fi
50838
50839 # Extract public symbols from all the object files.
50840 tmpdefFile=${D}{defFile}_%
50841 rm -f ${D}tmpdefFile
50842 for file in ${D}inputFiles ; do
50843 case ${D}file in
50844 *!)
50845 ;;
50846 *)
50847 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50848 ;;
50849 esac
50850 done
50851
50852 # Create the def file.
50853 rm -f ${D}defFile
50854 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50855 dllFile="${D}{dllFile}.dll"
50856 if [ ! -z ${D}description ]; then
50857 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50858 fi
50859 echo "EXPORTS" >> ${D}defFile
50860
50861 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50862 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50863
50864 # Checks if the export is ok or not.
50865 for word in ${D}exclude_symbols; do
50866 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50867 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50868 done
50869
50870
50871 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50872 sed "=" < ${D}tmpdefFile | \\
50873 sed '
50874 N
50875 : loop
50876 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50877 t loop
50878 ' > ${D}{tmpdefFile}%
50879 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50880 else
50881 rm -f ${D}{tmpdefFile}%
50882 fi
50883 cat ${D}tmpdefFile >> ${D}defFile
50884 rm -f ${D}tmpdefFile
50885
50886 # Do linking, create implib, and apply lxlite.
50887 gccCmdl="";
50888 for file in ${D}inputFiles ; do
50889 case ${D}file in
50890 *!)
50891 ;;
50892 *)
50893 gccCmdl="${D}gccCmdl ${D}file"
50894 ;;
50895 esac
50896 done
50897 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50898 touch "${D}{outFile}.dll"
50899
50900 doCommand "emximp -o ${D}arcFile ${D}defFile"
50901 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50902 add_flags="";
50903 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50904 add_flags="-ynd"
50905 fi
50906 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50907 fi
50908 doCommand "emxomf -s -l ${D}arcFile"
50909
50910 # Successful exit.
50911 CleanUp 1
50912 exit 0
50913 EOF
50914
50915 chmod +x dllar.sh
50916 ;;
50917
50918 powerpc-apple-macos* | \
50919 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50920 *-*-mirbsd* | \
50921 *-*-sunos4* | \
50922 *-*-osf* | \
50923 *-*-dgux5* | \
50924 *-*-sysv5* | \
50925 *-pc-msdosdjgpp )
50926 ;;
50927
50928 *)
50929 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50930 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50931 { (exit 1); exit 1; }; }
50932 esac
50933
50934 if test "x$PIC_FLAG" != "x" ; then
50935 PIC_FLAG="$PIC_FLAG -DPIC"
50936 fi
50937
50938 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50939 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50940 fi
50941 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50942 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50943 fi
50944
50945
50946
50947
50948
50949
50950
50951
50952
50953 USE_SOVERSION=0
50954 USE_SOVERLINUX=0
50955 USE_SOVERSOLARIS=0
50956 USE_SOVERCYGWIN=0
50957 USE_SOTWOSYMLINKS=0
50958 USE_MACVERSION=0
50959 SONAME_FLAG=
50960
50961 case "${BAKEFILE_HOST}" in
50962 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
50963 *-*-k*bsd*-gnu | *-*-mirbsd* )
50964 if test "x$SUNCXX" = "xyes"; then
50965 SONAME_FLAG="-h "
50966 else
50967 SONAME_FLAG="-Wl,-soname,"
50968 fi
50969 USE_SOVERSION=1
50970 USE_SOVERLINUX=1
50971 USE_SOTWOSYMLINKS=1
50972 ;;
50973
50974 *-*-solaris2* )
50975 SONAME_FLAG="-h "
50976 USE_SOVERSION=1
50977 USE_SOVERSOLARIS=1
50978 ;;
50979
50980 *-*-darwin* )
50981 USE_MACVERSION=1
50982 USE_SOVERSION=1
50983 USE_SOTWOSYMLINKS=1
50984 ;;
50985
50986 *-*-cygwin* )
50987 USE_SOVERSION=1
50988 USE_SOVERCYGWIN=1
50989 ;;
50990 esac
50991
50992
50993
50994
50995
50996
50997
50998
50999
51000
51001 # Check whether --enable-dependency-tracking was given.
51002 if test "${enable_dependency_tracking+set}" = set; then
51003 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51004 fi
51005
51006
51007 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51008 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51009
51010 BK_DEPS=""
51011 if test "x$bk_use_trackdeps" = "xno" ; then
51012 DEPS_TRACKING=0
51013 { echo "$as_me:$LINENO: result: disabled" >&5
51014 echo "${ECHO_T}disabled" >&6; }
51015 else
51016 DEPS_TRACKING=1
51017
51018 if test "x$GCC" = "xyes"; then
51019 DEPSMODE=gcc
51020 case "${BAKEFILE_HOST}" in
51021 *-*-darwin* )
51022 DEPSFLAG="-no-cpp-precomp -MMD"
51023 ;;
51024 * )
51025 DEPSFLAG="-MMD"
51026 ;;
51027 esac
51028 { echo "$as_me:$LINENO: result: gcc" >&5
51029 echo "${ECHO_T}gcc" >&6; }
51030 elif test "x$MWCC" = "xyes"; then
51031 DEPSMODE=mwcc
51032 DEPSFLAG="-MM"
51033 { echo "$as_me:$LINENO: result: mwcc" >&5
51034 echo "${ECHO_T}mwcc" >&6; }
51035 elif test "x$SUNCC" = "xyes"; then
51036 DEPSMODE=unixcc
51037 DEPSFLAG="-xM1"
51038 { echo "$as_me:$LINENO: result: Sun cc" >&5
51039 echo "${ECHO_T}Sun cc" >&6; }
51040 elif test "x$SGICC" = "xyes"; then
51041 DEPSMODE=unixcc
51042 DEPSFLAG="-M"
51043 { echo "$as_me:$LINENO: result: SGI cc" >&5
51044 echo "${ECHO_T}SGI cc" >&6; }
51045 elif test "x$HPCC" = "xyes"; then
51046 DEPSMODE=unixcc
51047 DEPSFLAG="+make"
51048 { echo "$as_me:$LINENO: result: HP cc" >&5
51049 echo "${ECHO_T}HP cc" >&6; }
51050 elif test "x$COMPAQCC" = "xyes"; then
51051 DEPSMODE=gcc
51052 DEPSFLAG="-MD"
51053 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51054 echo "${ECHO_T}Compaq cc" >&6; }
51055 else
51056 DEPS_TRACKING=0
51057 { echo "$as_me:$LINENO: result: none" >&5
51058 echo "${ECHO_T}none" >&6; }
51059 fi
51060
51061 if test $DEPS_TRACKING = 1 ; then
51062
51063 D='$'
51064 cat <<EOF >bk-deps
51065 #!/bin/sh
51066
51067 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51068 # script. It is used to track C/C++ files dependencies in portable way.
51069 #
51070 # Permission is given to use this file in any way.
51071
51072 DEPSMODE=${DEPSMODE}
51073 DEPSFLAG="${DEPSFLAG}"
51074 DEPSDIRBASE=.deps
51075
51076 if test ${D}DEPSMODE = gcc ; then
51077 ${D}* ${D}{DEPSFLAG}
51078 status=${D}?
51079
51080 # determine location of created files:
51081 while test ${D}# -gt 0; do
51082 case "${D}1" in
51083 -o )
51084 shift
51085 objfile=${D}1
51086 ;;
51087 -* )
51088 ;;
51089 * )
51090 srcfile=${D}1
51091 ;;
51092 esac
51093 shift
51094 done
51095 objfilebase=\`basename ${D}objfile\`
51096 builddir=\`dirname ${D}objfile\`
51097 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51098 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51099 depsdir=${D}builddir/${D}DEPSDIRBASE
51100 mkdir -p ${D}depsdir
51101
51102 # if the compiler failed, we're done:
51103 if test ${D}{status} != 0 ; then
51104 rm -f ${D}depfile
51105 exit ${D}{status}
51106 fi
51107
51108 # move created file to the location we want it in:
51109 if test -f ${D}depfile ; then
51110 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51111 rm -f ${D}depfile
51112 else
51113 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51114 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51115 if test ! -f ${D}depfile ; then
51116 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51117 depfile="${D}objfile.d"
51118 fi
51119 if test -f ${D}depfile ; then
51120 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51121 rm -f ${D}depfile
51122 fi
51123 fi
51124 exit 0
51125
51126 elif test ${D}DEPSMODE = mwcc ; then
51127 ${D}* || exit ${D}?
51128 # Run mwcc again with -MM and redirect into the dep file we want
51129 # NOTE: We can't use shift here because we need ${D}* to be valid
51130 prevarg=
51131 for arg in ${D}* ; do
51132 if test "${D}prevarg" = "-o"; then
51133 objfile=${D}arg
51134 else
51135 case "${D}arg" in
51136 -* )
51137 ;;
51138 * )
51139 srcfile=${D}arg
51140 ;;
51141 esac
51142 fi
51143 prevarg="${D}arg"
51144 done
51145
51146 objfilebase=\`basename ${D}objfile\`
51147 builddir=\`dirname ${D}objfile\`
51148 depsdir=${D}builddir/${D}DEPSDIRBASE
51149 mkdir -p ${D}depsdir
51150
51151 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51152 exit 0
51153
51154 elif test ${D}DEPSMODE = unixcc; then
51155 ${D}* || exit ${D}?
51156 # Run compiler again with deps flag and redirect into the dep file.
51157 # It doesn't work if the '-o FILE' option is used, but without it the
51158 # dependency file will contain the wrong name for the object. So it is
51159 # removed from the command line, and the dep file is fixed with sed.
51160 cmd=""
51161 while test ${D}# -gt 0; do
51162 case "${D}1" in
51163 -o )
51164 shift
51165 objfile=${D}1
51166 ;;
51167 * )
51168 eval arg${D}#=\\${D}1
51169 cmd="${D}cmd \\${D}arg${D}#"
51170 ;;
51171 esac
51172 shift
51173 done
51174
51175 objfilebase=\`basename ${D}objfile\`
51176 builddir=\`dirname ${D}objfile\`
51177 depsdir=${D}builddir/${D}DEPSDIRBASE
51178 mkdir -p ${D}depsdir
51179
51180 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51181 exit 0
51182
51183 else
51184 ${D}*
51185 exit ${D}?
51186 fi
51187 EOF
51188
51189 chmod +x bk-deps
51190 BK_DEPS="`pwd`/bk-deps"
51191 fi
51192 fi
51193
51194
51195
51196
51197
51198 case ${BAKEFILE_HOST} in
51199 *-*-cygwin* | *-*-mingw32* )
51200 if test -n "$ac_tool_prefix"; then
51201 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51202 set dummy ${ac_tool_prefix}windres; ac_word=$2
51203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51205 if test "${ac_cv_prog_WINDRES+set}" = set; then
51206 echo $ECHO_N "(cached) $ECHO_C" >&6
51207 else
51208 if test -n "$WINDRES"; then
51209 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51210 else
51211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51212 for as_dir in $PATH
51213 do
51214 IFS=$as_save_IFS
51215 test -z "$as_dir" && as_dir=.
51216 for ac_exec_ext in '' $ac_executable_extensions; do
51217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51218 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51220 break 2
51221 fi
51222 done
51223 done
51224 IFS=$as_save_IFS
51225
51226 fi
51227 fi
51228 WINDRES=$ac_cv_prog_WINDRES
51229 if test -n "$WINDRES"; then
51230 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51231 echo "${ECHO_T}$WINDRES" >&6; }
51232 else
51233 { echo "$as_me:$LINENO: result: no" >&5
51234 echo "${ECHO_T}no" >&6; }
51235 fi
51236
51237
51238 fi
51239 if test -z "$ac_cv_prog_WINDRES"; then
51240 ac_ct_WINDRES=$WINDRES
51241 # Extract the first word of "windres", so it can be a program name with args.
51242 set dummy windres; ac_word=$2
51243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51245 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51246 echo $ECHO_N "(cached) $ECHO_C" >&6
51247 else
51248 if test -n "$ac_ct_WINDRES"; then
51249 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51250 else
51251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51252 for as_dir in $PATH
51253 do
51254 IFS=$as_save_IFS
51255 test -z "$as_dir" && as_dir=.
51256 for ac_exec_ext in '' $ac_executable_extensions; do
51257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51258 ac_cv_prog_ac_ct_WINDRES="windres"
51259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51260 break 2
51261 fi
51262 done
51263 done
51264 IFS=$as_save_IFS
51265
51266 fi
51267 fi
51268 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51269 if test -n "$ac_ct_WINDRES"; then
51270 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51271 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51272 else
51273 { echo "$as_me:$LINENO: result: no" >&5
51274 echo "${ECHO_T}no" >&6; }
51275 fi
51276
51277 if test "x$ac_ct_WINDRES" = x; then
51278 WINDRES=""
51279 else
51280 case $cross_compiling:$ac_tool_warned in
51281 yes:)
51282 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51283 whose name does not start with the host triplet. If you think this
51284 configuration is useful to you, please write to autoconf@gnu.org." >&5
51285 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51286 whose name does not start with the host triplet. If you think this
51287 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51288 ac_tool_warned=yes ;;
51289 esac
51290 WINDRES=$ac_ct_WINDRES
51291 fi
51292 else
51293 WINDRES="$ac_cv_prog_WINDRES"
51294 fi
51295
51296 ;;
51297
51298 *-*-darwin* | powerpc-apple-macos* )
51299 # Extract the first word of "Rez", so it can be a program name with args.
51300 set dummy Rez; ac_word=$2
51301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51303 if test "${ac_cv_prog_REZ+set}" = set; then
51304 echo $ECHO_N "(cached) $ECHO_C" >&6
51305 else
51306 if test -n "$REZ"; then
51307 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51308 else
51309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51310 for as_dir in $PATH
51311 do
51312 IFS=$as_save_IFS
51313 test -z "$as_dir" && as_dir=.
51314 for ac_exec_ext in '' $ac_executable_extensions; do
51315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51316 ac_cv_prog_REZ="Rez"
51317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51318 break 2
51319 fi
51320 done
51321 done
51322 IFS=$as_save_IFS
51323
51324 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51325 fi
51326 fi
51327 REZ=$ac_cv_prog_REZ
51328 if test -n "$REZ"; then
51329 { echo "$as_me:$LINENO: result: $REZ" >&5
51330 echo "${ECHO_T}$REZ" >&6; }
51331 else
51332 { echo "$as_me:$LINENO: result: no" >&5
51333 echo "${ECHO_T}no" >&6; }
51334 fi
51335
51336
51337 # Extract the first word of "SetFile", so it can be a program name with args.
51338 set dummy SetFile; ac_word=$2
51339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51341 if test "${ac_cv_prog_SETFILE+set}" = set; then
51342 echo $ECHO_N "(cached) $ECHO_C" >&6
51343 else
51344 if test -n "$SETFILE"; then
51345 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51346 else
51347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51348 for as_dir in $PATH
51349 do
51350 IFS=$as_save_IFS
51351 test -z "$as_dir" && as_dir=.
51352 for ac_exec_ext in '' $ac_executable_extensions; do
51353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51354 ac_cv_prog_SETFILE="SetFile"
51355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51356 break 2
51357 fi
51358 done
51359 done
51360 IFS=$as_save_IFS
51361
51362 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51363 fi
51364 fi
51365 SETFILE=$ac_cv_prog_SETFILE
51366 if test -n "$SETFILE"; then
51367 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51368 echo "${ECHO_T}$SETFILE" >&6; }
51369 else
51370 { echo "$as_me:$LINENO: result: no" >&5
51371 echo "${ECHO_T}no" >&6; }
51372 fi
51373
51374
51375 ;;
51376 esac
51377
51378
51379
51380
51381
51382
51383
51384
51385
51386 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51387
51388
51389 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51390
51391
51392
51393 # Check whether --enable-precomp-headers was given.
51394 if test "${enable_precomp_headers+set}" = set; then
51395 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51396 fi
51397
51398
51399 GCC_PCH=0
51400 ICC_PCH=0
51401 USE_PCH=0
51402 BK_MAKE_PCH=""
51403
51404 case ${BAKEFILE_HOST} in
51405 *-*-cygwin* )
51406 bk_use_pch="no"
51407 ;;
51408 esac
51409
51410 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51411 if test "x$GCC" = "xyes"; then
51412 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51413 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51414 cat >conftest.$ac_ext <<_ACEOF
51415 /* confdefs.h. */
51416 _ACEOF
51417 cat confdefs.h >>conftest.$ac_ext
51418 cat >>conftest.$ac_ext <<_ACEOF
51419 /* end confdefs.h. */
51420
51421 int
51422 main ()
51423 {
51424
51425 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51426 There is no PCH support
51427 #endif
51428 #if (__GNUC__ < 3)
51429 There is no PCH support
51430 #endif
51431 #if (__GNUC__ == 3) && \
51432 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51433 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51434 ( defined(__INTEL_COMPILER) )
51435 There is no PCH support
51436 #endif
51437
51438 ;
51439 return 0;
51440 }
51441 _ACEOF
51442 rm -f conftest.$ac_objext
51443 if { (ac_try="$ac_compile"
51444 case "(($ac_try" in
51445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51446 *) ac_try_echo=$ac_try;;
51447 esac
51448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51449 (eval "$ac_compile") 2>conftest.er1
51450 ac_status=$?
51451 grep -v '^ *+' conftest.er1 >conftest.err
51452 rm -f conftest.er1
51453 cat conftest.err >&5
51454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51455 (exit $ac_status); } && {
51456 test -z "$ac_c_werror_flag" ||
51457 test ! -s conftest.err
51458 } && test -s conftest.$ac_objext; then
51459
51460 { echo "$as_me:$LINENO: result: yes" >&5
51461 echo "${ECHO_T}yes" >&6; }
51462 GCC_PCH=1
51463
51464 else
51465 echo "$as_me: failed program was:" >&5
51466 sed 's/^/| /' conftest.$ac_ext >&5
51467
51468
51469 if test "$INTELCXX8" = "yes"; then
51470 { echo "$as_me:$LINENO: result: yes" >&5
51471 echo "${ECHO_T}yes" >&6; }
51472 ICC_PCH=1
51473 if test "$INTELCXX10" = "yes"; then
51474 ICC_PCH_CREATE_SWITCH="-pch-create"
51475 ICC_PCH_USE_SWITCH="-pch-use"
51476 else
51477 ICC_PCH_CREATE_SWITCH="-create-pch"
51478 ICC_PCH_USE_SWITCH="-use-pch"
51479 fi
51480 else
51481 { echo "$as_me:$LINENO: result: no" >&5
51482 echo "${ECHO_T}no" >&6; }
51483 fi
51484
51485 fi
51486
51487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51488 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51489 USE_PCH=1
51490
51491 D='$'
51492 cat <<EOF >bk-make-pch
51493 #!/bin/sh
51494
51495 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51496 # script. It is used to generated precompiled headers.
51497 #
51498 # Permission is given to use this file in any way.
51499
51500 outfile="${D}{1}"
51501 header="${D}{2}"
51502 shift
51503 shift
51504
51505 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51506
51507 compiler=""
51508 headerfile=""
51509
51510 while test ${D}{#} -gt 0; do
51511 add_to_cmdline=1
51512 case "${D}{1}" in
51513 -I* )
51514 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51515 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51516 headerfile="${D}{incdir}/${D}{header}"
51517 fi
51518 ;;
51519 -use-pch|-use_pch|-pch-use )
51520 shift
51521 add_to_cmdline=0
51522 ;;
51523 esac
51524 if test ${D}add_to_cmdline = 1 ; then
51525 compiler="${D}{compiler} ${D}{1}"
51526 fi
51527 shift
51528 done
51529
51530 if test "x${D}{headerfile}" = "x" ; then
51531 echo "error: can't find header ${D}{header} in include paths" >&2
51532 else
51533 if test -f ${D}{outfile} ; then
51534 rm -f ${D}{outfile}
51535 else
51536 mkdir -p \`dirname ${D}{outfile}\`
51537 fi
51538 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51539 mkdir -p ${D}{builddir}/.deps
51540 if test "x${GCC_PCH}" = "x1" ; then
51541 # can do this because gcc is >= 3.4:
51542 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51543 elif test "x${ICC_PCH}" = "x1" ; then
51544 filename=pch_gen-${D}${D}
51545 file=${D}{filename}.c
51546 dfile=${D}{filename}.d
51547 cat > ${D}file <<EOT
51548 #include "${D}header"
51549 EOT
51550 # using -MF icc complains about differing command lines in creation/use
51551 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51552 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51553 rm -f ${D}file ${D}dfile ${D}{filename}.o
51554 fi
51555 exit ${D}{?}
51556 fi
51557 EOF
51558
51559 chmod +x bk-make-pch
51560 BK_MAKE_PCH="`pwd`/bk-make-pch"
51561 fi
51562 fi
51563 fi
51564
51565
51566
51567
51568
51569
51570
51571 COND_BUILD_DEBUG="#"
51572 if test "x$BUILD" = "xdebug" ; then
51573 COND_BUILD_DEBUG=""
51574 fi
51575
51576 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51577 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51578 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51579 fi
51580
51581 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51582 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51583 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51584 fi
51585
51586 COND_BUILD_DEBUG_UNICODE_0="#"
51587 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51588 COND_BUILD_DEBUG_UNICODE_0=""
51589 fi
51590
51591 COND_BUILD_DEBUG_UNICODE_1="#"
51592 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51593 COND_BUILD_DEBUG_UNICODE_1=""
51594 fi
51595
51596 COND_BUILD_RELEASE="#"
51597 if test "x$BUILD" = "xrelease" ; then
51598 COND_BUILD_RELEASE=""
51599 fi
51600
51601 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51602 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51603 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51604 fi
51605
51606 COND_BUILD_RELEASE_UNICODE_0="#"
51607 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51608 COND_BUILD_RELEASE_UNICODE_0=""
51609 fi
51610
51611 COND_BUILD_RELEASE_UNICODE_1="#"
51612 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51613 COND_BUILD_RELEASE_UNICODE_1=""
51614 fi
51615
51616 COND_BUILD_debug="#"
51617 if test "x$BUILD" = "xdebug" ; then
51618 COND_BUILD_debug=""
51619 fi
51620
51621 COND_BUILD_debug_DEBUG_FLAG_default="#"
51622 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51623 COND_BUILD_debug_DEBUG_FLAG_default=""
51624 fi
51625
51626 COND_BUILD_debug_DEBUG_INFO_default="#"
51627 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51628 COND_BUILD_debug_DEBUG_INFO_default=""
51629 fi
51630
51631 COND_BUILD_debug_UNICODE_0="#"
51632 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51633 COND_BUILD_debug_UNICODE_0=""
51634 fi
51635
51636 COND_BUILD_debug_UNICODE_1="#"
51637 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51638 COND_BUILD_debug_UNICODE_1=""
51639 fi
51640
51641 COND_BUILD_release="#"
51642 if test "x$BUILD" = "xrelease" ; then
51643 COND_BUILD_release=""
51644 fi
51645
51646 COND_BUILD_release_DEBUG_INFO_default="#"
51647 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51648 COND_BUILD_release_DEBUG_INFO_default=""
51649 fi
51650
51651 COND_BUILD_release_UNICODE_0="#"
51652 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51653 COND_BUILD_release_UNICODE_0=""
51654 fi
51655
51656 COND_BUILD_release_UNICODE_1="#"
51657 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51658 COND_BUILD_release_UNICODE_1=""
51659 fi
51660
51661 COND_DEBUG_FLAG_0="#"
51662 if test "x$DEBUG_FLAG" = "x0" ; then
51663 COND_DEBUG_FLAG_0=""
51664 fi
51665
51666 COND_DEBUG_FLAG_1="#"
51667 if test "x$DEBUG_FLAG" = "x1" ; then
51668 COND_DEBUG_FLAG_1=""
51669 fi
51670
51671 COND_DEBUG_INFO_0="#"
51672 if test "x$DEBUG_INFO" = "x0" ; then
51673 COND_DEBUG_INFO_0=""
51674 fi
51675
51676 COND_DEBUG_INFO_1="#"
51677 if test "x$DEBUG_INFO" = "x1" ; then
51678 COND_DEBUG_INFO_1=""
51679 fi
51680
51681 COND_DEPS_TRACKING_0="#"
51682 if test "x$DEPS_TRACKING" = "x0" ; then
51683 COND_DEPS_TRACKING_0=""
51684 fi
51685
51686 COND_DEPS_TRACKING_1="#"
51687 if test "x$DEPS_TRACKING" = "x1" ; then
51688 COND_DEPS_TRACKING_1=""
51689 fi
51690
51691 COND_GCC_PCH_1="#"
51692 if test "x$GCC_PCH" = "x1" ; then
51693 COND_GCC_PCH_1=""
51694 fi
51695
51696 COND_ICC_PCH_1="#"
51697 if test "x$ICC_PCH" = "x1" ; then
51698 COND_ICC_PCH_1=""
51699 fi
51700
51701 COND_MONOLITHIC_0="#"
51702 if test "x$MONOLITHIC" = "x0" ; then
51703 COND_MONOLITHIC_0=""
51704 fi
51705
51706 COND_MONOLITHIC_0_SHARED_0="#"
51707 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51708 COND_MONOLITHIC_0_SHARED_0=""
51709 fi
51710
51711 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51712 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51713 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51714 fi
51715
51716 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51717 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51718 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51719 fi
51720
51721 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51722 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51723 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51724 fi
51725
51726 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51727 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51728 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51729 fi
51730
51731 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51732 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51733 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51734 fi
51735
51736 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51737 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51738 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51739 fi
51740
51741 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51742 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51743 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51744 fi
51745
51746 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51747 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51748 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51749 fi
51750
51751 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51753 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51754 fi
51755
51756 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51757 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51758 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51759 fi
51760
51761 COND_MONOLITHIC_0_SHARED_1="#"
51762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51763 COND_MONOLITHIC_0_SHARED_1=""
51764 fi
51765
51766 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51768 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51769 fi
51770
51771 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51773 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51774 fi
51775
51776 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51778 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51779 fi
51780
51781 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51783 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51784 fi
51785
51786 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51788 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51789 fi
51790
51791 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51793 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51794 fi
51795
51796 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51798 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51799 fi
51800
51801 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51803 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51804 fi
51805
51806 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51807 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51808 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51809 fi
51810
51811 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51812 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51813 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51814 fi
51815
51816 COND_MONOLITHIC_0_USE_AUI_1="#"
51817 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51818 COND_MONOLITHIC_0_USE_AUI_1=""
51819 fi
51820
51821 COND_MONOLITHIC_0_USE_GUI_1="#"
51822 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51823 COND_MONOLITHIC_0_USE_GUI_1=""
51824 fi
51825
51826 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51827 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51828 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51829 fi
51830
51831 COND_MONOLITHIC_0_USE_HTML_1="#"
51832 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51833 COND_MONOLITHIC_0_USE_HTML_1=""
51834 fi
51835
51836 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51837 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51838 COND_MONOLITHIC_0_USE_MEDIA_1=""
51839 fi
51840
51841 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51842 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51843 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51844 fi
51845
51846 COND_MONOLITHIC_0_USE_QA_1="#"
51847 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51848 COND_MONOLITHIC_0_USE_QA_1=""
51849 fi
51850
51851 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51852 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51853 COND_MONOLITHIC_0_USE_RIBBON_1=""
51854 fi
51855
51856 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51857 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51858 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51859 fi
51860
51861 COND_MONOLITHIC_0_USE_STC_1="#"
51862 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51863 COND_MONOLITHIC_0_USE_STC_1=""
51864 fi
51865
51866 COND_MONOLITHIC_0_USE_XRC_1="#"
51867 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51868 COND_MONOLITHIC_0_USE_XRC_1=""
51869 fi
51870
51871 COND_MONOLITHIC_1="#"
51872 if test "x$MONOLITHIC" = "x1" ; then
51873 COND_MONOLITHIC_1=""
51874 fi
51875
51876 COND_MONOLITHIC_1_SHARED_0="#"
51877 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51878 COND_MONOLITHIC_1_SHARED_0=""
51879 fi
51880
51881 COND_MONOLITHIC_1_SHARED_1="#"
51882 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
51883 COND_MONOLITHIC_1_SHARED_1=""
51884 fi
51885
51886 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
51887 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
51888 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
51889 fi
51890
51891 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51892 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51893 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51894 fi
51895
51896 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51897 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51898 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51899 fi
51900
51901 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51902 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51903 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51904 fi
51905
51906 COND_PLATFORM_MACOSX_1="#"
51907 if test "x$PLATFORM_MACOSX" = "x1" ; then
51908 COND_PLATFORM_MACOSX_1=""
51909 fi
51910
51911 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
51912 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
51913 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
51914 fi
51915
51916 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
51917 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
51918 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
51919 fi
51920
51921 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51922 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51923 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51924 fi
51925
51926 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
51927 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51928 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
51929 fi
51930
51931 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51932 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51933 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51934 fi
51935
51936 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
51937 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51938 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
51939 fi
51940
51941 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
51942 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
51943 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
51944 fi
51945
51946 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
51947 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51948 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
51949 fi
51950
51951 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51952 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51953 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51954 fi
51955
51956 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
51957 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51958 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
51959 fi
51960
51961 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51962 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51963 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51964 fi
51965
51966 COND_PLATFORM_MACOS_1="#"
51967 if test "x$PLATFORM_MACOS" = "x1" ; then
51968 COND_PLATFORM_MACOS_1=""
51969 fi
51970
51971 COND_PLATFORM_MAC_0="#"
51972 if test "x$PLATFORM_MAC" = "x0" ; then
51973 COND_PLATFORM_MAC_0=""
51974 fi
51975
51976 COND_PLATFORM_MAC_1="#"
51977 if test "x$PLATFORM_MAC" = "x1" ; then
51978 COND_PLATFORM_MAC_1=""
51979 fi
51980
51981 COND_PLATFORM_MSDOS_0="#"
51982 if test "x$PLATFORM_MSDOS" = "x0" ; then
51983 COND_PLATFORM_MSDOS_0=""
51984 fi
51985
51986 COND_PLATFORM_MSDOS_1="#"
51987 if test "x$PLATFORM_MSDOS" = "x1" ; then
51988 COND_PLATFORM_MSDOS_1=""
51989 fi
51990
51991 COND_PLATFORM_OS2_1="#"
51992 if test "x$PLATFORM_OS2" = "x1" ; then
51993 COND_PLATFORM_OS2_1=""
51994 fi
51995
51996 COND_PLATFORM_UNIX_0="#"
51997 if test "x$PLATFORM_UNIX" = "x0" ; then
51998 COND_PLATFORM_UNIX_0=""
51999 fi
52000
52001 COND_PLATFORM_UNIX_1="#"
52002 if test "x$PLATFORM_UNIX" = "x1" ; then
52003 COND_PLATFORM_UNIX_1=""
52004 fi
52005
52006 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52007 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52008 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52009 fi
52010
52011 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52012 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52013 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52014 fi
52015
52016 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52017 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52018 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52019 fi
52020
52021 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52022 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52023 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52024 fi
52025
52026 COND_PLATFORM_WIN32_0="#"
52027 if test "x$PLATFORM_WIN32" = "x0" ; then
52028 COND_PLATFORM_WIN32_0=""
52029 fi
52030
52031 COND_PLATFORM_WIN32_1="#"
52032 if test "x$PLATFORM_WIN32" = "x1" ; then
52033 COND_PLATFORM_WIN32_1=""
52034 fi
52035
52036 COND_PLATFORM_WIN32_1_SHARED_0="#"
52037 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52038 COND_PLATFORM_WIN32_1_SHARED_0=""
52039 fi
52040
52041 COND_SHARED_0="#"
52042 if test "x$SHARED" = "x0" ; then
52043 COND_SHARED_0=""
52044 fi
52045
52046 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52047 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52048 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52049 fi
52050
52051 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52052 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52053 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52054 fi
52055
52056 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52057 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52058 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52059 fi
52060
52061 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52062 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52063 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52064 fi
52065
52066 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52067 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52068 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52069 fi
52070
52071 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52072 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52073 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52074 fi
52075
52076 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52077 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52078 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52079 fi
52080
52081 COND_SHARED_0_USE_STC_1="#"
52082 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52083 COND_SHARED_0_USE_STC_1=""
52084 fi
52085
52086 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52087 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52088 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52089 fi
52090
52091 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52092 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52093 COND_SHARED_0_wxUSE_REGEX_builtin=""
52094 fi
52095
52096 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52097 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52098 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52099 fi
52100
52101 COND_SHARED_1="#"
52102 if test "x$SHARED" = "x1" ; then
52103 COND_SHARED_1=""
52104 fi
52105
52106 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52107 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52108 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52109 fi
52110
52111 COND_TOOLKIT_="#"
52112 if test "x$TOOLKIT" = "x" ; then
52113 COND_TOOLKIT_=""
52114 fi
52115
52116 COND_TOOLKIT_COCOA="#"
52117 if test "x$TOOLKIT" = "xCOCOA" ; then
52118 COND_TOOLKIT_COCOA=""
52119 fi
52120
52121 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52122 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52123 COND_TOOLKIT_COCOA_USE_GUI_1=""
52124 fi
52125
52126 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52127 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52128 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52129 fi
52130
52131 COND_TOOLKIT_DFB="#"
52132 if test "x$TOOLKIT" = "xDFB" ; then
52133 COND_TOOLKIT_DFB=""
52134 fi
52135
52136 COND_TOOLKIT_DFB_USE_GUI_1="#"
52137 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52138 COND_TOOLKIT_DFB_USE_GUI_1=""
52139 fi
52140
52141 COND_TOOLKIT_GTK="#"
52142 if test "x$TOOLKIT" = "xGTK" ; then
52143 COND_TOOLKIT_GTK=""
52144 fi
52145
52146 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52147 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52148 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52149 fi
52150
52151 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52152 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52153 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52154 fi
52155
52156 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52157 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52158 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52159 fi
52160
52161 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52162 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52163 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52164 fi
52165
52166 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52167 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52168 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52169 fi
52170
52171 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52172 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52173 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52174 fi
52175
52176 COND_TOOLKIT_GTK_USE_GUI_1="#"
52177 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52178 COND_TOOLKIT_GTK_USE_GUI_1=""
52179 fi
52180
52181 COND_TOOLKIT_MAC="#"
52182 if test "x$TOOLKIT" = "xMAC" ; then
52183 COND_TOOLKIT_MAC=""
52184 fi
52185
52186 COND_TOOLKIT_MGL="#"
52187 if test "x$TOOLKIT" = "xMGL" ; then
52188 COND_TOOLKIT_MGL=""
52189 fi
52190
52191 COND_TOOLKIT_MGL_USE_GUI_1="#"
52192 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52193 COND_TOOLKIT_MGL_USE_GUI_1=""
52194 fi
52195
52196 COND_TOOLKIT_MOTIF="#"
52197 if test "x$TOOLKIT" = "xMOTIF" ; then
52198 COND_TOOLKIT_MOTIF=""
52199 fi
52200
52201 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52202 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52203 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52204 fi
52205
52206 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52207 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52208 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52209 fi
52210
52211 COND_TOOLKIT_MSW="#"
52212 if test "x$TOOLKIT" = "xMSW" ; then
52213 COND_TOOLKIT_MSW=""
52214 fi
52215
52216 COND_TOOLKIT_MSW_USE_GUI_1="#"
52217 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52218 COND_TOOLKIT_MSW_USE_GUI_1=""
52219 fi
52220
52221 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52222 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52223 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52224 fi
52225
52226 COND_TOOLKIT_MSW_WXUNIV_0="#"
52227 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52228 COND_TOOLKIT_MSW_WXUNIV_0=""
52229 fi
52230
52231 COND_TOOLKIT_OSX_CARBON="#"
52232 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52233 COND_TOOLKIT_OSX_CARBON=""
52234 fi
52235
52236 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52237 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52238 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52239 fi
52240
52241 COND_TOOLKIT_OSX_COCOA="#"
52242 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52243 COND_TOOLKIT_OSX_COCOA=""
52244 fi
52245
52246 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52247 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52248 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52249 fi
52250
52251 COND_TOOLKIT_OSX_IPHONE="#"
52252 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52253 COND_TOOLKIT_OSX_IPHONE=""
52254 fi
52255
52256 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52257 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52258 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52259 fi
52260
52261 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52262 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52263 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52264 fi
52265
52266 COND_TOOLKIT_PM="#"
52267 if test "x$TOOLKIT" = "xPM" ; then
52268 COND_TOOLKIT_PM=""
52269 fi
52270
52271 COND_TOOLKIT_PM_USE_GUI_1="#"
52272 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52273 COND_TOOLKIT_PM_USE_GUI_1=""
52274 fi
52275
52276 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52277 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52278 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52279 fi
52280
52281 COND_TOOLKIT_WINCE="#"
52282 if test "x$TOOLKIT" = "xWINCE" ; then
52283 COND_TOOLKIT_WINCE=""
52284 fi
52285
52286 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52287 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52288 COND_TOOLKIT_WINCE_USE_GUI_1=""
52289 fi
52290
52291 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52292 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52293 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52294 fi
52295
52296 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52297 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52298 COND_TOOLKIT_WINCE_WXUNIV_0=""
52299 fi
52300
52301 COND_TOOLKIT_X11="#"
52302 if test "x$TOOLKIT" = "xX11" ; then
52303 COND_TOOLKIT_X11=""
52304 fi
52305
52306 COND_TOOLKIT_X11_USE_GUI_1="#"
52307 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52308 COND_TOOLKIT_X11_USE_GUI_1=""
52309 fi
52310
52311 COND_UNICODE_1="#"
52312 if test "x$UNICODE" = "x1" ; then
52313 COND_UNICODE_1=""
52314 fi
52315
52316 COND_USE_CAIRO_1="#"
52317 if test "x$USE_CAIRO" = "x1" ; then
52318 COND_USE_CAIRO_1=""
52319 fi
52320
52321 COND_USE_EXCEPTIONS_0="#"
52322 if test "x$USE_EXCEPTIONS" = "x0" ; then
52323 COND_USE_EXCEPTIONS_0=""
52324 fi
52325
52326 COND_USE_EXCEPTIONS_1="#"
52327 if test "x$USE_EXCEPTIONS" = "x1" ; then
52328 COND_USE_EXCEPTIONS_1=""
52329 fi
52330
52331 COND_USE_GUI_0="#"
52332 if test "x$USE_GUI" = "x0" ; then
52333 COND_USE_GUI_0=""
52334 fi
52335
52336 COND_USE_GUI_1="#"
52337 if test "x$USE_GUI" = "x1" ; then
52338 COND_USE_GUI_1=""
52339 fi
52340
52341 COND_USE_GUI_1_USE_OPENGL_1="#"
52342 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52343 COND_USE_GUI_1_USE_OPENGL_1=""
52344 fi
52345
52346 COND_USE_GUI_1_WXUNIV_0="#"
52347 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52348 COND_USE_GUI_1_WXUNIV_0=""
52349 fi
52350
52351 COND_USE_GUI_1_WXUNIV_1="#"
52352 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52353 COND_USE_GUI_1_WXUNIV_1=""
52354 fi
52355
52356 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52357 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52358 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52359 fi
52360
52361 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52362 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52363 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52364 fi
52365
52366 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52367 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52368 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52369 fi
52370
52371 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52372 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52373 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52374 fi
52375
52376 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52377 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52378 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52379 fi
52380
52381 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52382 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52383 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52384 fi
52385
52386 COND_USE_OPENGL_1="#"
52387 if test "x$USE_OPENGL" = "x1" ; then
52388 COND_USE_OPENGL_1=""
52389 fi
52390
52391 COND_USE_PCH_1="#"
52392 if test "x$USE_PCH" = "x1" ; then
52393 COND_USE_PCH_1=""
52394 fi
52395
52396 COND_USE_PLUGINS_0="#"
52397 if test "x$USE_PLUGINS" = "x0" ; then
52398 COND_USE_PLUGINS_0=""
52399 fi
52400
52401 COND_USE_RTTI_0="#"
52402 if test "x$USE_RTTI" = "x0" ; then
52403 COND_USE_RTTI_0=""
52404 fi
52405
52406 COND_USE_RTTI_1="#"
52407 if test "x$USE_RTTI" = "x1" ; then
52408 COND_USE_RTTI_1=""
52409 fi
52410
52411 COND_USE_SOTWOSYMLINKS_1="#"
52412 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52413 COND_USE_SOTWOSYMLINKS_1=""
52414 fi
52415
52416 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52417 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52418 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52419 fi
52420
52421 COND_USE_SOVERLINUX_1="#"
52422 if test "x$USE_SOVERLINUX" = "x1" ; then
52423 COND_USE_SOVERLINUX_1=""
52424 fi
52425
52426 COND_USE_SOVERSION_0="#"
52427 if test "x$USE_SOVERSION" = "x0" ; then
52428 COND_USE_SOVERSION_0=""
52429 fi
52430
52431 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52432 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52433 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52434 fi
52435
52436 COND_USE_SOVERSOLARIS_1="#"
52437 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52438 COND_USE_SOVERSOLARIS_1=""
52439 fi
52440
52441 COND_USE_STC_1="#"
52442 if test "x$USE_STC" = "x1" ; then
52443 COND_USE_STC_1=""
52444 fi
52445
52446 COND_USE_THREADS_0="#"
52447 if test "x$USE_THREADS" = "x0" ; then
52448 COND_USE_THREADS_0=""
52449 fi
52450
52451 COND_USE_THREADS_1="#"
52452 if test "x$USE_THREADS" = "x1" ; then
52453 COND_USE_THREADS_1=""
52454 fi
52455
52456 COND_USE_XRC_1="#"
52457 if test "x$USE_XRC" = "x1" ; then
52458 COND_USE_XRC_1=""
52459 fi
52460
52461 COND_WINDOWS_IMPLIB_1="#"
52462 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52463 COND_WINDOWS_IMPLIB_1=""
52464 fi
52465
52466 COND_WITH_PLUGIN_SDL_1="#"
52467 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52468 COND_WITH_PLUGIN_SDL_1=""
52469 fi
52470
52471 COND_WXUNIV_0="#"
52472 if test "x$WXUNIV" = "x0" ; then
52473 COND_WXUNIV_0=""
52474 fi
52475
52476 COND_WXUNIV_1="#"
52477 if test "x$WXUNIV" = "x1" ; then
52478 COND_WXUNIV_1=""
52479 fi
52480
52481 COND_WXUSE_EXPAT_BUILTIN="#"
52482 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52483 COND_WXUSE_EXPAT_BUILTIN=""
52484 fi
52485
52486 COND_WXUSE_LIBJPEG_BUILTIN="#"
52487 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52488 COND_WXUSE_LIBJPEG_BUILTIN=""
52489 fi
52490
52491 COND_WXUSE_LIBPNG_BUILTIN="#"
52492 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52493 COND_WXUSE_LIBPNG_BUILTIN=""
52494 fi
52495
52496 COND_WXUSE_LIBTIFF_BUILTIN="#"
52497 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52498 COND_WXUSE_LIBTIFF_BUILTIN=""
52499 fi
52500
52501 COND_WXUSE_REGEX_BUILTIN="#"
52502 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52503 COND_WXUSE_REGEX_BUILTIN=""
52504 fi
52505
52506 COND_WXUSE_ZLIB_BUILTIN="#"
52507 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52508 COND_WXUSE_ZLIB_BUILTIN=""
52509 fi
52510
52511 COND_wxUSE_EXPAT_builtin="#"
52512 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52513 COND_wxUSE_EXPAT_builtin=""
52514 fi
52515
52516 COND_wxUSE_LIBJPEG_builtin="#"
52517 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52518 COND_wxUSE_LIBJPEG_builtin=""
52519 fi
52520
52521 COND_wxUSE_LIBPNG_builtin="#"
52522 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52523 COND_wxUSE_LIBPNG_builtin=""
52524 fi
52525
52526 COND_wxUSE_LIBTIFF_builtin="#"
52527 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52528 COND_wxUSE_LIBTIFF_builtin=""
52529 fi
52530
52531 COND_wxUSE_REGEX_builtin="#"
52532 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52533 COND_wxUSE_REGEX_builtin=""
52534 fi
52535
52536 COND_wxUSE_ZLIB_builtin="#"
52537 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52538 COND_wxUSE_ZLIB_builtin=""
52539 fi
52540
52541
52542
52543 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52544 { { 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
52545 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;}
52546 { (exit 1); exit 1; }; }
52547 fi
52548
52549 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52550 { { 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
52551 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;}
52552 { (exit 1); exit 1; }; }
52553 fi
52554
52555
52556 case ${INSTALL} in
52557 /* ) # Absolute
52558 ;;
52559 ?:* ) # Drive letter, considered as absolute.
52560 ;;
52561 *)
52562 INSTALL=`pwd`/${INSTALL} ;;
52563 esac
52564
52565 if test "$wxUSE_GUI" = "yes"; then
52566
52567 if test "$wxUSE_MSW" = 1 ; then
52568 if test "x$WINDRES" = "x"; then
52569 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52570 echo "$as_me: error: Required windres program not found" >&2;}
52571 { (exit 1); exit 1; }; }
52572 fi
52573
52574 RESCOMP="$WINDRES"
52575 fi
52576
52577 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52578 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52579 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52580
52581 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52582
52583 # Extract the first word of "DeRez", so it can be a program name with args.
52584 set dummy DeRez; ac_word=$2
52585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52587 if test "${ac_cv_prog_DEREZ+set}" = set; then
52588 echo $ECHO_N "(cached) $ECHO_C" >&6
52589 else
52590 if test -n "$DEREZ"; then
52591 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52592 else
52593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52594 for as_dir in $PATH
52595 do
52596 IFS=$as_save_IFS
52597 test -z "$as_dir" && as_dir=.
52598 for ac_exec_ext in '' $ac_executable_extensions; do
52599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52600 ac_cv_prog_DEREZ="DeRez"
52601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52602 break 2
52603 fi
52604 done
52605 done
52606 IFS=$as_save_IFS
52607
52608 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52609 fi
52610 fi
52611 DEREZ=$ac_cv_prog_DEREZ
52612 if test -n "$DEREZ"; then
52613 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52614 echo "${ECHO_T}$DEREZ" >&6; }
52615 else
52616 { echo "$as_me:$LINENO: result: no" >&5
52617 echo "${ECHO_T}no" >&6; }
52618 fi
52619
52620
52621
52622 MACSETFILE="\$(SETFILE)"
52623
52624 if test "$wxUSE_OSX_CARBON" = 1; then
52625 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52626 RESCOMP="$REZ"
52627 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52628 else
52629 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52630 RESCOMP="cat /dev/null \| $REZ"
52631 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52632 fi
52633
52634 else
52635 MACSETFILE="@true"
52636
52637 if test "$wxUSE_PM" = 1; then
52638 RESCOMP="emxbind"
52639 WXCONFIG_RESFLAGS="-ep"
52640
52641 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52642 else
52643 POSTLINK_COMMAND="@true"
52644 fi
52645 fi
52646
52647 fi
52648
52649
52650 if test $GCC_PCH = 1
52651 then
52652 if test "$wx_cv_gcc_pch_bug" = yes; then
52653 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52654 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52655 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52656 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52657 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52658 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52659 fi
52660
52661 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52662 # the headers that benefit from precompilation are mostly C++ headers.
52663 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52664 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52665 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52666 fi
52667
52668
52669 if test "$wxUSE_MAC" = 1 ; then
52670 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52671 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52672 mv temp bk-deps
52673 chmod +x bk-deps
52674 fi
52675 fi
52676
52677 if test "$wxUSE_SHARED" = "yes"; then
52678 case "${host}" in
52679 *-pc-os2_emx | *-pc-os2-emx )
52680 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52681 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52682 cp -p ${srcdir}/src/os2/dllnames.sh .
52683 cp -p ${srcdir}/src/os2/dllar.sh .
52684 ;;
52685 esac
52686 fi
52687 if test "$wxUSE_OMF" = "yes"; then
52688 case "${host}" in
52689 *-pc-os2_emx | *-pc-os2-emx )
52690 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52691 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52692 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52693 ;;
52694 esac
52695 fi
52696
52697 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52698
52699
52700 case "${host}" in
52701 *-*-solaris2* )
52702 if test "$GCC" = yes; then
52703 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52704 LIBS=`echo $LIBS | sed 's/-mt//'`
52705 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52706 fi
52707 ;;
52708
52709 *-*-linux* )
52710 if test "x$SUNCXX" = xyes; then
52711 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52712 LIBS=`echo $LIBS | sed 's/-pthread//'`
52713 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52714 fi
52715 ;;
52716 esac
52717
52718 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52719 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52720 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52721 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52722
52723 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52724
52725
52726
52727
52728
52729
52730
52731
52732
52733
52734
52735
52736
52737
52738
52739
52740
52741
52742
52743
52744
52745
52746
52747
52748
52749
52750
52751
52752
52753
52754
52755
52756
52757
52758
52759
52760
52761
52762
52763
52764
52765
52766
52767
52768
52769
52770
52771
52772
52773
52774
52775
52776
52777
52778
52779
52780
52781
52782
52783
52784 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52785 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52786 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52787 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52788 echo $ECHO_N "(cached) $ECHO_C" >&6
52789 else
52790 cat >conftest.make <<\_ACEOF
52791 SHELL = /bin/sh
52792 all:
52793 @echo '@@@%%%=$(MAKE)=@@@%%%'
52794 _ACEOF
52795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52796 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52797 *@@@%%%=?*=@@@%%%*)
52798 eval ac_cv_prog_make_${ac_make}_set=yes;;
52799 *)
52800 eval ac_cv_prog_make_${ac_make}_set=no;;
52801 esac
52802 rm -f conftest.make
52803 fi
52804 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52805 { echo "$as_me:$LINENO: result: yes" >&5
52806 echo "${ECHO_T}yes" >&6; }
52807 SET_MAKE=
52808 else
52809 { echo "$as_me:$LINENO: result: no" >&5
52810 echo "${ECHO_T}no" >&6; }
52811 SET_MAKE="MAKE=${MAKE-make}"
52812 fi
52813
52814
52815
52816 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52817
52818
52819 if test "$USE_WIN32" = 1; then
52820 ac_config_commands="$ac_config_commands rcdefs.h"
52821
52822 fi
52823
52824 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52825
52826
52827 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52828
52829
52830 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52831
52832
52833 if test "$wx_cv_version_script" = "yes"; then
52834 ac_config_files="$ac_config_files version-script"
52835
52836 fi
52837 ac_config_files="$ac_config_files Makefile"
52838
52839
52840 ac_config_commands="$ac_config_commands wx-config"
52841
52842
52843
52844 if test "$wxWITH_SUBDIRS" != "no"; then
52845 if test "$wxUSE_GUI" = "yes"; then
52846 SUBDIRS="samples demos utils"
52847 else
52848 SUBDIRS="samples utils"
52849 fi
52850
52851
52852
52853 # Check whether --with-cppunit-prefix was given.
52854 if test "${with_cppunit_prefix+set}" = set; then
52855 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52856 else
52857 cppunit_config_prefix=""
52858 fi
52859
52860
52861 # Check whether --with-cppunit-exec-prefix was given.
52862 if test "${with_cppunit_exec_prefix+set}" = set; then
52863 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52864 else
52865 cppunit_config_exec_prefix=""
52866 fi
52867
52868
52869 if test x$cppunit_config_exec_prefix != x ; then
52870 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52871 if test x${CPPUNIT_CONFIG+set} != xset ; then
52872 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52873 fi
52874 fi
52875 if test x$cppunit_config_prefix != x ; then
52876 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52877 if test x${CPPUNIT_CONFIG+set} != xset ; then
52878 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52879 fi
52880 fi
52881
52882 # Extract the first word of "cppunit-config", so it can be a program name with args.
52883 set dummy cppunit-config; ac_word=$2
52884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52886 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52887 echo $ECHO_N "(cached) $ECHO_C" >&6
52888 else
52889 case $CPPUNIT_CONFIG in
52890 [\\/]* | ?:[\\/]*)
52891 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52892 ;;
52893 *)
52894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52895 for as_dir in $PATH
52896 do
52897 IFS=$as_save_IFS
52898 test -z "$as_dir" && as_dir=.
52899 for ac_exec_ext in '' $ac_executable_extensions; do
52900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52901 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52903 break 2
52904 fi
52905 done
52906 done
52907 IFS=$as_save_IFS
52908
52909 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52910 ;;
52911 esac
52912 fi
52913 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52914 if test -n "$CPPUNIT_CONFIG"; then
52915 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52916 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52917 else
52918 { echo "$as_me:$LINENO: result: no" >&5
52919 echo "${ECHO_T}no" >&6; }
52920 fi
52921
52922
52923 cppunit_version_min=1.8.0
52924
52925 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52926 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52927 no_cppunit=""
52928 if test "$CPPUNIT_CONFIG" = "no" ; then
52929 { echo "$as_me:$LINENO: result: no" >&5
52930 echo "${ECHO_T}no" >&6; }
52931 no_cppunit=yes
52932 else
52933 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52934 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52935 cppunit_version=`$CPPUNIT_CONFIG --version`
52936
52937 cppunit_major_version=`echo $cppunit_version | \
52938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52939 cppunit_minor_version=`echo $cppunit_version | \
52940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52941 cppunit_micro_version=`echo $cppunit_version | \
52942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52943
52944 cppunit_major_min=`echo $cppunit_version_min | \
52945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52946 cppunit_minor_min=`echo $cppunit_version_min | \
52947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52948 cppunit_micro_min=`echo $cppunit_version_min | \
52949 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52950
52951 cppunit_version_proper=`expr \
52952 $cppunit_major_version \> $cppunit_major_min \| \
52953 $cppunit_major_version \= $cppunit_major_min \& \
52954 $cppunit_minor_version \> $cppunit_minor_min \| \
52955 $cppunit_major_version \= $cppunit_major_min \& \
52956 $cppunit_minor_version \= $cppunit_minor_min \& \
52957 $cppunit_micro_version \>= $cppunit_micro_min `
52958
52959 if test "$cppunit_version_proper" = "1" ; then
52960 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
52961 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
52962 else
52963 { echo "$as_me:$LINENO: result: no" >&5
52964 echo "${ECHO_T}no" >&6; }
52965 no_cppunit=yes
52966 fi
52967 fi
52968
52969 if test "x$no_cppunit" = x ; then
52970 SUBDIRS="$SUBDIRS tests"
52971 else
52972 CPPUNIT_CFLAGS=""
52973 CPPUNIT_LIBS=""
52974 :
52975 fi
52976
52977
52978
52979
52980
52981 for subdir in $SUBDIRS; do
52982 if test -d ${srcdir}/${subdir} ; then
52983 if test "$wxUSE_GUI" = "yes"; then
52984 if test ${subdir} = "samples"; then
52985 makefiles="samples/Makefile.in $makefiles"
52986 for sample in $SAMPLES_SUBDIRS; do
52987 if test -d $srcdir/samples/$sample; then
52988 makefiles="samples/$sample/Makefile.in $makefiles"
52989 fi
52990 done
52991 else
52992 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
52993 eval "disabled=\$$disabled_var"
52994 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
52995 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
52996 fi
52997 else
52998 if test ${subdir} = "samples"; then
52999 makefiles="samples/Makefile.in $makefiles"
53000 for sample in `echo $SAMPLES_SUBDIRS`; do
53001 if test -d $srcdir/samples/$sample; then
53002 makefiles="samples/$sample/Makefile.in $makefiles"
53003 fi
53004 done
53005 elif test ${subdir} = "utils"; then
53006 makefiles=""
53007 for util in ifacecheck ; do
53008 if test -d $srcdir/utils/$util ; then
53009 makefiles="utils/$util/src/Makefile.in \
53010 $makefiles"
53011 fi
53012 done
53013 else
53014 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53015 fi
53016 fi
53017
53018 for mkin in $makefiles ; do
53019 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53020 ac_config_files="$ac_config_files $mk"
53021
53022 done
53023 fi
53024 done
53025 fi
53026 cat >confcache <<\_ACEOF
53027 # This file is a shell script that caches the results of configure
53028 # tests run on this system so they can be shared between configure
53029 # scripts and configure runs, see configure's option --config-cache.
53030 # It is not useful on other systems. If it contains results you don't
53031 # want to keep, you may remove or edit it.
53032 #
53033 # config.status only pays attention to the cache file if you give it
53034 # the --recheck option to rerun configure.
53035 #
53036 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53037 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53038 # following values.
53039
53040 _ACEOF
53041
53042 # The following way of writing the cache mishandles newlines in values,
53043 # but we know of no workaround that is simple, portable, and efficient.
53044 # So, we kill variables containing newlines.
53045 # Ultrix sh set writes to stderr and can't be redirected directly,
53046 # and sets the high bit in the cache file unless we assign to the vars.
53047 (
53048 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53049 eval ac_val=\$$ac_var
53050 case $ac_val in #(
53051 *${as_nl}*)
53052 case $ac_var in #(
53053 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53054 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53055 esac
53056 case $ac_var in #(
53057 _ | IFS | as_nl) ;; #(
53058 *) $as_unset $ac_var ;;
53059 esac ;;
53060 esac
53061 done
53062
53063 (set) 2>&1 |
53064 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53065 *${as_nl}ac_space=\ *)
53066 # `set' does not quote correctly, so add quotes (double-quote
53067 # substitution turns \\\\ into \\, and sed turns \\ into \).
53068 sed -n \
53069 "s/'/'\\\\''/g;
53070 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53071 ;; #(
53072 *)
53073 # `set' quotes correctly as required by POSIX, so do not add quotes.
53074 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53075 ;;
53076 esac |
53077 sort
53078 ) |
53079 sed '
53080 /^ac_cv_env_/b end
53081 t clear
53082 :clear
53083 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53084 t end
53085 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53086 :end' >>confcache
53087 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53088 if test -w "$cache_file"; then
53089 test "x$cache_file" != "x/dev/null" &&
53090 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53091 echo "$as_me: updating cache $cache_file" >&6;}
53092 cat confcache >$cache_file
53093 else
53094 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53095 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53096 fi
53097 fi
53098 rm -f confcache
53099
53100 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53101 # Let make expand exec_prefix.
53102 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53103
53104 DEFS=-DHAVE_CONFIG_H
53105
53106 ac_libobjs=
53107 ac_ltlibobjs=
53108 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53109 # 1. Remove the extension, and $U if already installed.
53110 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53111 ac_i=`echo "$ac_i" | sed "$ac_script"`
53112 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53113 # will be set to the directory where LIBOBJS objects are built.
53114 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53115 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53116 done
53117 LIBOBJS=$ac_libobjs
53118
53119 LTLIBOBJS=$ac_ltlibobjs
53120
53121
53122
53123 : ${CONFIG_STATUS=./config.status}
53124 ac_clean_files_save=$ac_clean_files
53125 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53126 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53127 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53128 cat >$CONFIG_STATUS <<_ACEOF
53129 #! $SHELL
53130 # Generated by $as_me.
53131 # Run this file to recreate the current configuration.
53132 # Compiler output produced by configure, useful for debugging
53133 # configure, is in config.log if it exists.
53134
53135 debug=false
53136 ac_cs_recheck=false
53137 ac_cs_silent=false
53138 SHELL=\${CONFIG_SHELL-$SHELL}
53139 _ACEOF
53140
53141 cat >>$CONFIG_STATUS <<\_ACEOF
53142 ## --------------------- ##
53143 ## M4sh Initialization. ##
53144 ## --------------------- ##
53145
53146 # Be more Bourne compatible
53147 DUALCASE=1; export DUALCASE # for MKS sh
53148 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53149 emulate sh
53150 NULLCMD=:
53151 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53152 # is contrary to our usage. Disable this feature.
53153 alias -g '${1+"$@"}'='"$@"'
53154 setopt NO_GLOB_SUBST
53155 else
53156 case `(set -o) 2>/dev/null` in
53157 *posix*) set -o posix ;;
53158 esac
53159
53160 fi
53161
53162
53163
53164
53165 # PATH needs CR
53166 # Avoid depending upon Character Ranges.
53167 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53168 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53169 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53170 as_cr_digits='0123456789'
53171 as_cr_alnum=$as_cr_Letters$as_cr_digits
53172
53173 # The user is always right.
53174 if test "${PATH_SEPARATOR+set}" != set; then
53175 echo "#! /bin/sh" >conf$$.sh
53176 echo "exit 0" >>conf$$.sh
53177 chmod +x conf$$.sh
53178 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53179 PATH_SEPARATOR=';'
53180 else
53181 PATH_SEPARATOR=:
53182 fi
53183 rm -f conf$$.sh
53184 fi
53185
53186 # Support unset when possible.
53187 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53188 as_unset=unset
53189 else
53190 as_unset=false
53191 fi
53192
53193
53194 # IFS
53195 # We need space, tab and new line, in precisely that order. Quoting is
53196 # there to prevent editors from complaining about space-tab.
53197 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53198 # splitting by setting IFS to empty value.)
53199 as_nl='
53200 '
53201 IFS=" "" $as_nl"
53202
53203 # Find who we are. Look in the path if we contain no directory separator.
53204 case $0 in
53205 *[\\/]* ) as_myself=$0 ;;
53206 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53207 for as_dir in $PATH
53208 do
53209 IFS=$as_save_IFS
53210 test -z "$as_dir" && as_dir=.
53211 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53212 done
53213 IFS=$as_save_IFS
53214
53215 ;;
53216 esac
53217 # We did not find ourselves, most probably we were run as `sh COMMAND'
53218 # in which case we are not to be found in the path.
53219 if test "x$as_myself" = x; then
53220 as_myself=$0
53221 fi
53222 if test ! -f "$as_myself"; then
53223 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53224 { (exit 1); exit 1; }
53225 fi
53226
53227 # Work around bugs in pre-3.0 UWIN ksh.
53228 for as_var in ENV MAIL MAILPATH
53229 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53230 done
53231 PS1='$ '
53232 PS2='> '
53233 PS4='+ '
53234
53235 # NLS nuisances.
53236 for as_var in \
53237 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53238 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53239 LC_TELEPHONE LC_TIME
53240 do
53241 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53242 eval $as_var=C; export $as_var
53243 else
53244 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53245 fi
53246 done
53247
53248 # Required to use basename.
53249 if expr a : '\(a\)' >/dev/null 2>&1 &&
53250 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53251 as_expr=expr
53252 else
53253 as_expr=false
53254 fi
53255
53256 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53257 as_basename=basename
53258 else
53259 as_basename=false
53260 fi
53261
53262
53263 # Name of the executable.
53264 as_me=`$as_basename -- "$0" ||
53265 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53266 X"$0" : 'X\(//\)$' \| \
53267 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53268 echo X/"$0" |
53269 sed '/^.*\/\([^/][^/]*\)\/*$/{
53270 s//\1/
53271 q
53272 }
53273 /^X\/\(\/\/\)$/{
53274 s//\1/
53275 q
53276 }
53277 /^X\/\(\/\).*/{
53278 s//\1/
53279 q
53280 }
53281 s/.*/./; q'`
53282
53283 # CDPATH.
53284 $as_unset CDPATH
53285
53286
53287
53288 as_lineno_1=$LINENO
53289 as_lineno_2=$LINENO
53290 test "x$as_lineno_1" != "x$as_lineno_2" &&
53291 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53292
53293 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53294 # uniformly replaced by the line number. The first 'sed' inserts a
53295 # line-number line after each line using $LINENO; the second 'sed'
53296 # does the real work. The second script uses 'N' to pair each
53297 # line-number line with the line containing $LINENO, and appends
53298 # trailing '-' during substitution so that $LINENO is not a special
53299 # case at line end.
53300 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53301 # scripts with optimization help from Paolo Bonzini. Blame Lee
53302 # E. McMahon (1931-1989) for sed's syntax. :-)
53303 sed -n '
53304 p
53305 /[$]LINENO/=
53306 ' <$as_myself |
53307 sed '
53308 s/[$]LINENO.*/&-/
53309 t lineno
53310 b
53311 :lineno
53312 N
53313 :loop
53314 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53315 t loop
53316 s/-\n.*//
53317 ' >$as_me.lineno &&
53318 chmod +x "$as_me.lineno" ||
53319 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53320 { (exit 1); exit 1; }; }
53321
53322 # Don't try to exec as it changes $[0], causing all sort of problems
53323 # (the dirname of $[0] is not the place where we might find the
53324 # original and so on. Autoconf is especially sensitive to this).
53325 . "./$as_me.lineno"
53326 # Exit status is that of the last command.
53327 exit
53328 }
53329
53330
53331 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53332 as_dirname=dirname
53333 else
53334 as_dirname=false
53335 fi
53336
53337 ECHO_C= ECHO_N= ECHO_T=
53338 case `echo -n x` in
53339 -n*)
53340 case `echo 'x\c'` in
53341 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53342 *) ECHO_C='\c';;
53343 esac;;
53344 *)
53345 ECHO_N='-n';;
53346 esac
53347
53348 if expr a : '\(a\)' >/dev/null 2>&1 &&
53349 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53350 as_expr=expr
53351 else
53352 as_expr=false
53353 fi
53354
53355 rm -f conf$$ conf$$.exe conf$$.file
53356 if test -d conf$$.dir; then
53357 rm -f conf$$.dir/conf$$.file
53358 else
53359 rm -f conf$$.dir
53360 mkdir conf$$.dir
53361 fi
53362 echo >conf$$.file
53363 if ln -s conf$$.file conf$$ 2>/dev/null; then
53364 as_ln_s='ln -s'
53365 # ... but there are two gotchas:
53366 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53367 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53368 # In both cases, we have to default to `cp -p'.
53369 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53370 as_ln_s='cp -p'
53371 elif ln conf$$.file conf$$ 2>/dev/null; then
53372 as_ln_s=ln
53373 else
53374 as_ln_s='cp -p'
53375 fi
53376 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53377 rmdir conf$$.dir 2>/dev/null
53378
53379 if mkdir -p . 2>/dev/null; then
53380 as_mkdir_p=:
53381 else
53382 test -d ./-p && rmdir ./-p
53383 as_mkdir_p=false
53384 fi
53385
53386 if test -x / >/dev/null 2>&1; then
53387 as_test_x='test -x'
53388 else
53389 if ls -dL / >/dev/null 2>&1; then
53390 as_ls_L_option=L
53391 else
53392 as_ls_L_option=
53393 fi
53394 as_test_x='
53395 eval sh -c '\''
53396 if test -d "$1"; then
53397 test -d "$1/.";
53398 else
53399 case $1 in
53400 -*)set "./$1";;
53401 esac;
53402 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53403 ???[sx]*):;;*)false;;esac;fi
53404 '\'' sh
53405 '
53406 fi
53407 as_executable_p=$as_test_x
53408
53409 # Sed expression to map a string onto a valid CPP name.
53410 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53411
53412 # Sed expression to map a string onto a valid variable name.
53413 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53414
53415
53416 exec 6>&1
53417
53418 # Save the log message, to keep $[0] and so on meaningful, and to
53419 # report actual input values of CONFIG_FILES etc. instead of their
53420 # values after options handling.
53421 ac_log="
53422 This file was extended by wxWidgets $as_me 2.9.2, which was
53423 generated by GNU Autoconf 2.61. Invocation command line was
53424
53425 CONFIG_FILES = $CONFIG_FILES
53426 CONFIG_HEADERS = $CONFIG_HEADERS
53427 CONFIG_LINKS = $CONFIG_LINKS
53428 CONFIG_COMMANDS = $CONFIG_COMMANDS
53429 $ $0 $@
53430
53431 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53432 "
53433
53434 _ACEOF
53435
53436 cat >>$CONFIG_STATUS <<_ACEOF
53437 # Files that config.status was made for.
53438 config_files="$ac_config_files"
53439 config_headers="$ac_config_headers"
53440 config_commands="$ac_config_commands"
53441
53442 _ACEOF
53443
53444 cat >>$CONFIG_STATUS <<\_ACEOF
53445 ac_cs_usage="\
53446 \`$as_me' instantiates files from templates according to the
53447 current configuration.
53448
53449 Usage: $0 [OPTIONS] [FILE]...
53450
53451 -h, --help print this help, then exit
53452 -V, --version print version number and configuration settings, then exit
53453 -q, --quiet do not print progress messages
53454 -d, --debug don't remove temporary files
53455 --recheck update $as_me by reconfiguring in the same conditions
53456 --file=FILE[:TEMPLATE]
53457 instantiate the configuration file FILE
53458 --header=FILE[:TEMPLATE]
53459 instantiate the configuration header FILE
53460
53461 Configuration files:
53462 $config_files
53463
53464 Configuration headers:
53465 $config_headers
53466
53467 Configuration commands:
53468 $config_commands
53469
53470 Report bugs to <bug-autoconf@gnu.org>."
53471
53472 _ACEOF
53473 cat >>$CONFIG_STATUS <<_ACEOF
53474 ac_cs_version="\\
53475 wxWidgets config.status 2.9.2
53476 configured by $0, generated by GNU Autoconf 2.61,
53477 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53478
53479 Copyright (C) 2006 Free Software Foundation, Inc.
53480 This config.status script is free software; the Free Software Foundation
53481 gives unlimited permission to copy, distribute and modify it."
53482
53483 ac_pwd='$ac_pwd'
53484 srcdir='$srcdir'
53485 INSTALL='$INSTALL'
53486 _ACEOF
53487
53488 cat >>$CONFIG_STATUS <<\_ACEOF
53489 # If no file are specified by the user, then we need to provide default
53490 # value. By we need to know if files were specified by the user.
53491 ac_need_defaults=:
53492 while test $# != 0
53493 do
53494 case $1 in
53495 --*=*)
53496 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53497 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53498 ac_shift=:
53499 ;;
53500 *)
53501 ac_option=$1
53502 ac_optarg=$2
53503 ac_shift=shift
53504 ;;
53505 esac
53506
53507 case $ac_option in
53508 # Handling of the options.
53509 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53510 ac_cs_recheck=: ;;
53511 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53512 echo "$ac_cs_version"; exit ;;
53513 --debug | --debu | --deb | --de | --d | -d )
53514 debug=: ;;
53515 --file | --fil | --fi | --f )
53516 $ac_shift
53517 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53518 ac_need_defaults=false;;
53519 --header | --heade | --head | --hea )
53520 $ac_shift
53521 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53522 ac_need_defaults=false;;
53523 --he | --h)
53524 # Conflict between --help and --header
53525 { echo "$as_me: error: ambiguous option: $1
53526 Try \`$0 --help' for more information." >&2
53527 { (exit 1); exit 1; }; };;
53528 --help | --hel | -h )
53529 echo "$ac_cs_usage"; exit ;;
53530 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53531 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53532 ac_cs_silent=: ;;
53533
53534 # This is an error.
53535 -*) { echo "$as_me: error: unrecognized option: $1
53536 Try \`$0 --help' for more information." >&2
53537 { (exit 1); exit 1; }; } ;;
53538
53539 *) ac_config_targets="$ac_config_targets $1"
53540 ac_need_defaults=false ;;
53541
53542 esac
53543 shift
53544 done
53545
53546 ac_configure_extra_args=
53547
53548 if $ac_cs_silent; then
53549 exec 6>/dev/null
53550 ac_configure_extra_args="$ac_configure_extra_args --silent"
53551 fi
53552
53553 _ACEOF
53554 cat >>$CONFIG_STATUS <<_ACEOF
53555 if \$ac_cs_recheck; then
53556 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53557 CONFIG_SHELL=$SHELL
53558 export CONFIG_SHELL
53559 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53560 fi
53561
53562 _ACEOF
53563 cat >>$CONFIG_STATUS <<\_ACEOF
53564 exec 5>>config.log
53565 {
53566 echo
53567 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53568 ## Running $as_me. ##
53569 _ASBOX
53570 echo "$ac_log"
53571 } >&5
53572
53573 _ACEOF
53574 cat >>$CONFIG_STATUS <<_ACEOF
53575 #
53576 # INIT-COMMANDS
53577 #
53578
53579 CPP="$CPP"
53580 infile="$srcdir/include/wx/msw/genrcdefs.h"
53581 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53582
53583
53584 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53585 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53586 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53587 LN_S="${LN_S}"
53588
53589
53590 _ACEOF
53591
53592 cat >>$CONFIG_STATUS <<\_ACEOF
53593
53594 # Handling of arguments.
53595 for ac_config_target in $ac_config_targets
53596 do
53597 case $ac_config_target in
53598 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53599 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53600 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53601 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53602 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53603 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53604 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53605 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53606 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53607
53608 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53609 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53610 { (exit 1); exit 1; }; };;
53611 esac
53612 done
53613
53614
53615 # If the user did not use the arguments to specify the items to instantiate,
53616 # then the envvar interface is used. Set only those that are not.
53617 # We use the long form for the default assignment because of an extremely
53618 # bizarre bug on SunOS 4.1.3.
53619 if $ac_need_defaults; then
53620 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53621 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53622 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53623 fi
53624
53625 # Have a temporary directory for convenience. Make it in the build tree
53626 # simply because there is no reason against having it here, and in addition,
53627 # creating and moving files from /tmp can sometimes cause problems.
53628 # Hook for its removal unless debugging.
53629 # Note that there is a small window in which the directory will not be cleaned:
53630 # after its creation but before its name has been assigned to `$tmp'.
53631 $debug ||
53632 {
53633 tmp=
53634 trap 'exit_status=$?
53635 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53636 ' 0
53637 trap '{ (exit 1); exit 1; }' 1 2 13 15
53638 }
53639 # Create a (secure) tmp directory for tmp files.
53640
53641 {
53642 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53643 test -n "$tmp" && test -d "$tmp"
53644 } ||
53645 {
53646 tmp=./conf$$-$RANDOM
53647 (umask 077 && mkdir "$tmp")
53648 } ||
53649 {
53650 echo "$me: cannot create a temporary directory in ." >&2
53651 { (exit 1); exit 1; }
53652 }
53653
53654 #
53655 # Set up the sed scripts for CONFIG_FILES section.
53656 #
53657
53658 # No need to generate the scripts if there are no CONFIG_FILES.
53659 # This happens for instance when ./config.status config.h
53660 if test -n "$CONFIG_FILES"; then
53661
53662 _ACEOF
53663
53664
53665
53666 ac_delim='%!_!# '
53667 for ac_last_try in false false false false false :; do
53668 cat >conf$$subs.sed <<_ACEOF
53669 SHELL!$SHELL$ac_delim
53670 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53671 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53672 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53673 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53674 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53675 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53676 exec_prefix!$exec_prefix$ac_delim
53677 prefix!$prefix$ac_delim
53678 program_transform_name!$program_transform_name$ac_delim
53679 bindir!$bindir$ac_delim
53680 sbindir!$sbindir$ac_delim
53681 libexecdir!$libexecdir$ac_delim
53682 datarootdir!$datarootdir$ac_delim
53683 datadir!$datadir$ac_delim
53684 sysconfdir!$sysconfdir$ac_delim
53685 sharedstatedir!$sharedstatedir$ac_delim
53686 localstatedir!$localstatedir$ac_delim
53687 includedir!$includedir$ac_delim
53688 oldincludedir!$oldincludedir$ac_delim
53689 docdir!$docdir$ac_delim
53690 infodir!$infodir$ac_delim
53691 htmldir!$htmldir$ac_delim
53692 dvidir!$dvidir$ac_delim
53693 pdfdir!$pdfdir$ac_delim
53694 psdir!$psdir$ac_delim
53695 libdir!$libdir$ac_delim
53696 localedir!$localedir$ac_delim
53697 mandir!$mandir$ac_delim
53698 DEFS!$DEFS$ac_delim
53699 ECHO_C!$ECHO_C$ac_delim
53700 ECHO_N!$ECHO_N$ac_delim
53701 ECHO_T!$ECHO_T$ac_delim
53702 LIBS!$LIBS$ac_delim
53703 build_alias!$build_alias$ac_delim
53704 host_alias!$host_alias$ac_delim
53705 target_alias!$target_alias$ac_delim
53706 build!$build$ac_delim
53707 build_cpu!$build_cpu$ac_delim
53708 build_vendor!$build_vendor$ac_delim
53709 build_os!$build_os$ac_delim
53710 host!$host$ac_delim
53711 host_cpu!$host_cpu$ac_delim
53712 host_vendor!$host_vendor$ac_delim
53713 host_os!$host_os$ac_delim
53714 wx_top_builddir!$wx_top_builddir$ac_delim
53715 CC!$CC$ac_delim
53716 CFLAGS!$CFLAGS$ac_delim
53717 LDFLAGS!$LDFLAGS$ac_delim
53718 CPPFLAGS!$CPPFLAGS$ac_delim
53719 ac_ct_CC!$ac_ct_CC$ac_delim
53720 EXEEXT!$EXEEXT$ac_delim
53721 OBJEXT!$OBJEXT$ac_delim
53722 CPP!$CPP$ac_delim
53723 GREP!$GREP$ac_delim
53724 EGREP!$EGREP$ac_delim
53725 CXX!$CXX$ac_delim
53726 CXXFLAGS!$CXXFLAGS$ac_delim
53727 ac_ct_CXX!$ac_ct_CXX$ac_delim
53728 AR!$AR$ac_delim
53729 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53730 CXXCPP!$CXXCPP$ac_delim
53731 subdirs!$subdirs$ac_delim
53732 PKG_CONFIG!$PKG_CONFIG$ac_delim
53733 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53734 GTK_LIBS!$GTK_LIBS$ac_delim
53735 GTK_CONFIG!$GTK_CONFIG$ac_delim
53736 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53737 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53738 XMKMF!$XMKMF$ac_delim
53739 X_CFLAGS!$X_CFLAGS$ac_delim
53740 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53741 X_LIBS!$X_LIBS$ac_delim
53742 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53743 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53744 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53745 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53746 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53747 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53748 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53749 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53750 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53751 LIBICONV!$LIBICONV$ac_delim
53752 GXX_VERSION!$GXX_VERSION$ac_delim
53753 SDL_CONFIG!$SDL_CONFIG$ac_delim
53754 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53755 SDL_LIBS!$SDL_LIBS$ac_delim
53756 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53757 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53758 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53759 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53760 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53761 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53762 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53763 HILDON_LIBS!$HILDON_LIBS$ac_delim
53764 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53765 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53766 _ACEOF
53767
53768 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53769 break
53770 elif $ac_last_try; then
53771 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53772 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53773 { (exit 1); exit 1; }; }
53774 else
53775 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53776 fi
53777 done
53778
53779 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53780 if test -n "$ac_eof"; then
53781 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53782 ac_eof=`expr $ac_eof + 1`
53783 fi
53784
53785 cat >>$CONFIG_STATUS <<_ACEOF
53786 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53787 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53788 _ACEOF
53789 sed '
53790 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53791 s/^/s,@/; s/!/@,|#_!!_#|/
53792 :n
53793 t n
53794 s/'"$ac_delim"'$/,g/; t
53795 s/$/\\/; p
53796 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53797 ' >>$CONFIG_STATUS <conf$$subs.sed
53798 rm -f conf$$subs.sed
53799 cat >>$CONFIG_STATUS <<_ACEOF
53800 CEOF$ac_eof
53801 _ACEOF
53802
53803
53804 ac_delim='%!_!# '
53805 for ac_last_try in false false false false false :; do
53806 cat >conf$$subs.sed <<_ACEOF
53807 PYTHON!$PYTHON$ac_delim
53808 COND_PYTHON!$COND_PYTHON$ac_delim
53809 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53810 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53811 GST_CFLAGS!$GST_CFLAGS$ac_delim
53812 GST_LIBS!$GST_LIBS$ac_delim
53813 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53814 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53815 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53816 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53817 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53818 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53819 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53820 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53821 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53822 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53823 VENDOR!$VENDOR$ac_delim
53824 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53825 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53826 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53827 WXUNIV!$WXUNIV$ac_delim
53828 MONOLITHIC!$MONOLITHIC$ac_delim
53829 USE_PLUGINS!$USE_PLUGINS$ac_delim
53830 CXXWARNINGS!$CXXWARNINGS$ac_delim
53831 EXTRALIBS!$EXTRALIBS$ac_delim
53832 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53833 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53834 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53835 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53836 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53837 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53838 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53839 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53840 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53841 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53842 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53843 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53844 UNICODE!$UNICODE$ac_delim
53845 DEBUG_INFO!$DEBUG_INFO$ac_delim
53846 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53847 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53848 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53849 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53850 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53851 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53852 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53853 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53854 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53855 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53856 RANLIB!$RANLIB$ac_delim
53857 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53858 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53859 INSTALL_DATA!$INSTALL_DATA$ac_delim
53860 LN_S!$LN_S$ac_delim
53861 SET_MAKE!$SET_MAKE$ac_delim
53862 MAKE_SET!$MAKE_SET$ac_delim
53863 AROPTIONS!$AROPTIONS$ac_delim
53864 STRIP!$STRIP$ac_delim
53865 NM!$NM$ac_delim
53866 INSTALL_DIR!$INSTALL_DIR$ac_delim
53867 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53868 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53869 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53870 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53871 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53872 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53873 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53874 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53875 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53876 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53877 SO_SUFFIX!$SO_SUFFIX$ac_delim
53878 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53879 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53880 LIBPREFIX!$LIBPREFIX$ac_delim
53881 LIBEXT!$LIBEXT$ac_delim
53882 DLLPREFIX!$DLLPREFIX$ac_delim
53883 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53884 dlldir!$dlldir$ac_delim
53885 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53886 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53887 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53888 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53889 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53890 PIC_FLAG!$PIC_FLAG$ac_delim
53891 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53892 USE_SOVERSION!$USE_SOVERSION$ac_delim
53893 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53894 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53895 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53896 USE_MACVERSION!$USE_MACVERSION$ac_delim
53897 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
53898 SONAME_FLAG!$SONAME_FLAG$ac_delim
53899 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53900 BK_DEPS!$BK_DEPS$ac_delim
53901 WINDRES!$WINDRES$ac_delim
53902 REZ!$REZ$ac_delim
53903 SETFILE!$SETFILE$ac_delim
53904 _ACEOF
53905
53906 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53907 break
53908 elif $ac_last_try; then
53909 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53910 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53911 { (exit 1); exit 1; }; }
53912 else
53913 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53914 fi
53915 done
53916
53917 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53918 if test -n "$ac_eof"; then
53919 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53920 ac_eof=`expr $ac_eof + 1`
53921 fi
53922
53923 cat >>$CONFIG_STATUS <<_ACEOF
53924 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53925 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53926 _ACEOF
53927 sed '
53928 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53929 s/^/s,@/; s/!/@,|#_!!_#|/
53930 :n
53931 t n
53932 s/'"$ac_delim"'$/,g/; t
53933 s/$/\\/; p
53934 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53935 ' >>$CONFIG_STATUS <conf$$subs.sed
53936 rm -f conf$$subs.sed
53937 cat >>$CONFIG_STATUS <<_ACEOF
53938 CEOF$ac_eof
53939 _ACEOF
53940
53941
53942 ac_delim='%!_!# '
53943 for ac_last_try in false false false false false :; do
53944 cat >conf$$subs.sed <<_ACEOF
53945 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
53946 GCC_PCH!$GCC_PCH$ac_delim
53947 ICC_PCH!$ICC_PCH$ac_delim
53948 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
53949 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
53950 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53951 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53952 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53953 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53954 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53955 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53956 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53957 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53958 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53959 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53960 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
53961 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
53962 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
53963 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
53964 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
53965 COND_BUILD_release!$COND_BUILD_release$ac_delim
53966 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
53967 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
53968 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
53969 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
53970 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53971 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53972 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53973 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53974 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53975 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53976 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53977 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53978 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
53979 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
53980 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
53981 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
53982 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
53983 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
53984 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
53985 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
53986 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
53987 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
53988 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
53989 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
53990 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
53991 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
53992 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
53993 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
53994 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
53995 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
53996 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
53997 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
53998 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
53999 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54000 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54001 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54002 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54003 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54004 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54005 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54006 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54007 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54008 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54009 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54010 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54011 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54012 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54013 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54014 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54015 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54016 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54017 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54018 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54019 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54020 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54021 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54022 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
54023 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54024 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
54025 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54026 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
54027 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54028 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54029 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54030 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54031 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54032 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54033 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54034 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54035 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54036 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54037 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54038 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54039 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54040 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54041 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54042 _ACEOF
54043
54044 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54045 break
54046 elif $ac_last_try; then
54047 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54048 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54049 { (exit 1); exit 1; }; }
54050 else
54051 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54052 fi
54053 done
54054
54055 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54056 if test -n "$ac_eof"; then
54057 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54058 ac_eof=`expr $ac_eof + 1`
54059 fi
54060
54061 cat >>$CONFIG_STATUS <<_ACEOF
54062 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54063 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54064 _ACEOF
54065 sed '
54066 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54067 s/^/s,@/; s/!/@,|#_!!_#|/
54068 :n
54069 t n
54070 s/'"$ac_delim"'$/,g/; t
54071 s/$/\\/; p
54072 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54073 ' >>$CONFIG_STATUS <conf$$subs.sed
54074 rm -f conf$$subs.sed
54075 cat >>$CONFIG_STATUS <<_ACEOF
54076 CEOF$ac_eof
54077 _ACEOF
54078
54079
54080 ac_delim='%!_!# '
54081 for ac_last_try in false false false false false :; do
54082 cat >conf$$subs.sed <<_ACEOF
54083 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54084 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54085 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54086 COND_SHARED_0!$COND_SHARED_0$ac_delim
54087 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54088 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54089 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54090 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54091 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54092 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54093 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54094 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54095 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54096 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54097 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54098 COND_SHARED_1!$COND_SHARED_1$ac_delim
54099 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54100 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54101 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54102 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54103 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54104 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54105 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54106 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54107 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54108 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54109 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54110 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54111 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54112 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54113 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54114 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54115 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54116 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54117 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54118 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54119 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54120 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54121 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54122 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54123 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54124 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54125 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54126 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54127 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54128 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54129 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54130 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54131 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54132 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54133 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54134 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54135 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54136 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54137 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54138 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54139 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54140 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54141 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54142 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54143 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54144 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54145 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54146 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54147 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54148 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54149 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54150 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54151 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54152 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54153 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54154 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54155 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54156 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54157 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54158 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54159 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54160 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54161 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54162 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54163 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54164 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54165 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54166 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54167 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54168 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54169 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54170 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54171 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54172 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54173 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54174 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54175 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54176 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54177 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54178 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54179 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54180 _ACEOF
54181
54182 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54183 break
54184 elif $ac_last_try; then
54185 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54186 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54187 { (exit 1); exit 1; }; }
54188 else
54189 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54190 fi
54191 done
54192
54193 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54194 if test -n "$ac_eof"; then
54195 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54196 ac_eof=`expr $ac_eof + 1`
54197 fi
54198
54199 cat >>$CONFIG_STATUS <<_ACEOF
54200 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54201 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54202 _ACEOF
54203 sed '
54204 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54205 s/^/s,@/; s/!/@,|#_!!_#|/
54206 :n
54207 t n
54208 s/'"$ac_delim"'$/,g/; t
54209 s/$/\\/; p
54210 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54211 ' >>$CONFIG_STATUS <conf$$subs.sed
54212 rm -f conf$$subs.sed
54213 cat >>$CONFIG_STATUS <<_ACEOF
54214 CEOF$ac_eof
54215 _ACEOF
54216
54217
54218 ac_delim='%!_!# '
54219 for ac_last_try in false false false false false :; do
54220 cat >conf$$subs.sed <<_ACEOF
54221 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54222 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54223 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54224 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54225 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54226 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54227 DEREZ!$DEREZ$ac_delim
54228 SHARED!$SHARED$ac_delim
54229 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54230 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54231 USE_GUI!$USE_GUI$ac_delim
54232 AFMINSTALL!$AFMINSTALL$ac_delim
54233 WIN32INSTALL!$WIN32INSTALL$ac_delim
54234 TOOLKIT!$TOOLKIT$ac_delim
54235 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54236 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54237 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54238 cross_compiling!$cross_compiling$ac_delim
54239 WIDGET_SET!$WIDGET_SET$ac_delim
54240 WX_RELEASE!$WX_RELEASE$ac_delim
54241 WX_VERSION!$WX_VERSION$ac_delim
54242 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54243 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54244 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54245 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54246 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54247 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54248 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54249 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54250 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54251 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54252 GUIDIST!$GUIDIST$ac_delim
54253 DISTDIR!$DISTDIR$ac_delim
54254 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54255 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54256 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54257 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54258 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54259 RESCOMP!$RESCOMP$ac_delim
54260 RESFLAGS!$RESFLAGS$ac_delim
54261 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54262 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54263 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54264 LIBWXMACRES!$LIBWXMACRES$ac_delim
54265 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54266 MACSETFILE!$MACSETFILE$ac_delim
54267 GCC!$GCC$ac_delim
54268 DLLTOOL!$DLLTOOL$ac_delim
54269 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54270 LIBOBJS!$LIBOBJS$ac_delim
54271 LTLIBOBJS!$LTLIBOBJS$ac_delim
54272 _ACEOF
54273
54274 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54275 break
54276 elif $ac_last_try; then
54277 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54278 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54279 { (exit 1); exit 1; }; }
54280 else
54281 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54282 fi
54283 done
54284
54285 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54286 if test -n "$ac_eof"; then
54287 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54288 ac_eof=`expr $ac_eof + 1`
54289 fi
54290
54291 cat >>$CONFIG_STATUS <<_ACEOF
54292 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54293 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54294 _ACEOF
54295 sed '
54296 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54297 s/^/s,@/; s/!/@,|#_!!_#|/
54298 :n
54299 t n
54300 s/'"$ac_delim"'$/,g/; t
54301 s/$/\\/; p
54302 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54303 ' >>$CONFIG_STATUS <conf$$subs.sed
54304 rm -f conf$$subs.sed
54305 cat >>$CONFIG_STATUS <<_ACEOF
54306 :end
54307 s/|#_!!_#|//g
54308 CEOF$ac_eof
54309 _ACEOF
54310
54311
54312 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54313 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54314 # trailing colons and then remove the whole line if VPATH becomes empty
54315 # (actually we leave an empty line to preserve line numbers).
54316 if test "x$srcdir" = x.; then
54317 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54318 s/:*\$(srcdir):*/:/
54319 s/:*\${srcdir}:*/:/
54320 s/:*@srcdir@:*/:/
54321 s/^\([^=]*=[ ]*\):*/\1/
54322 s/:*$//
54323 s/^[^=]*=[ ]*$//
54324 }'
54325 fi
54326
54327 cat >>$CONFIG_STATUS <<\_ACEOF
54328 fi # test -n "$CONFIG_FILES"
54329
54330
54331 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54332 do
54333 case $ac_tag in
54334 :[FHLC]) ac_mode=$ac_tag; continue;;
54335 esac
54336 case $ac_mode$ac_tag in
54337 :[FHL]*:*);;
54338 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54339 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54340 { (exit 1); exit 1; }; };;
54341 :[FH]-) ac_tag=-:-;;
54342 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54343 esac
54344 ac_save_IFS=$IFS
54345 IFS=:
54346 set x $ac_tag
54347 IFS=$ac_save_IFS
54348 shift
54349 ac_file=$1
54350 shift
54351
54352 case $ac_mode in
54353 :L) ac_source=$1;;
54354 :[FH])
54355 ac_file_inputs=
54356 for ac_f
54357 do
54358 case $ac_f in
54359 -) ac_f="$tmp/stdin";;
54360 *) # Look for the file first in the build tree, then in the source tree
54361 # (if the path is not absolute). The absolute path cannot be DOS-style,
54362 # because $ac_f cannot contain `:'.
54363 test -f "$ac_f" ||
54364 case $ac_f in
54365 [\\/$]*) false;;
54366 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54367 esac ||
54368 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54369 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54370 { (exit 1); exit 1; }; };;
54371 esac
54372 ac_file_inputs="$ac_file_inputs $ac_f"
54373 done
54374
54375 # Let's still pretend it is `configure' which instantiates (i.e., don't
54376 # use $as_me), people would be surprised to read:
54377 # /* config.h. Generated by config.status. */
54378 configure_input="Generated from "`IFS=:
54379 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54380 if test x"$ac_file" != x-; then
54381 configure_input="$ac_file. $configure_input"
54382 { echo "$as_me:$LINENO: creating $ac_file" >&5
54383 echo "$as_me: creating $ac_file" >&6;}
54384 fi
54385
54386 case $ac_tag in
54387 *:-:* | *:-) cat >"$tmp/stdin";;
54388 esac
54389 ;;
54390 esac
54391
54392 ac_dir=`$as_dirname -- "$ac_file" ||
54393 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54394 X"$ac_file" : 'X\(//\)[^/]' \| \
54395 X"$ac_file" : 'X\(//\)$' \| \
54396 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54397 echo X"$ac_file" |
54398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54399 s//\1/
54400 q
54401 }
54402 /^X\(\/\/\)[^/].*/{
54403 s//\1/
54404 q
54405 }
54406 /^X\(\/\/\)$/{
54407 s//\1/
54408 q
54409 }
54410 /^X\(\/\).*/{
54411 s//\1/
54412 q
54413 }
54414 s/.*/./; q'`
54415 { as_dir="$ac_dir"
54416 case $as_dir in #(
54417 -*) as_dir=./$as_dir;;
54418 esac
54419 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54420 as_dirs=
54421 while :; do
54422 case $as_dir in #(
54423 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54424 *) as_qdir=$as_dir;;
54425 esac
54426 as_dirs="'$as_qdir' $as_dirs"
54427 as_dir=`$as_dirname -- "$as_dir" ||
54428 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54429 X"$as_dir" : 'X\(//\)[^/]' \| \
54430 X"$as_dir" : 'X\(//\)$' \| \
54431 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54432 echo X"$as_dir" |
54433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54434 s//\1/
54435 q
54436 }
54437 /^X\(\/\/\)[^/].*/{
54438 s//\1/
54439 q
54440 }
54441 /^X\(\/\/\)$/{
54442 s//\1/
54443 q
54444 }
54445 /^X\(\/\).*/{
54446 s//\1/
54447 q
54448 }
54449 s/.*/./; q'`
54450 test -d "$as_dir" && break
54451 done
54452 test -z "$as_dirs" || eval "mkdir $as_dirs"
54453 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54454 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54455 { (exit 1); exit 1; }; }; }
54456 ac_builddir=.
54457
54458 case "$ac_dir" in
54459 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54460 *)
54461 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54462 # A ".." for each directory in $ac_dir_suffix.
54463 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54464 case $ac_top_builddir_sub in
54465 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54466 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54467 esac ;;
54468 esac
54469 ac_abs_top_builddir=$ac_pwd
54470 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54471 # for backward compatibility:
54472 ac_top_builddir=$ac_top_build_prefix
54473
54474 case $srcdir in
54475 .) # We are building in place.
54476 ac_srcdir=.
54477 ac_top_srcdir=$ac_top_builddir_sub
54478 ac_abs_top_srcdir=$ac_pwd ;;
54479 [\\/]* | ?:[\\/]* ) # Absolute name.
54480 ac_srcdir=$srcdir$ac_dir_suffix;
54481 ac_top_srcdir=$srcdir
54482 ac_abs_top_srcdir=$srcdir ;;
54483 *) # Relative name.
54484 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54485 ac_top_srcdir=$ac_top_build_prefix$srcdir
54486 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54487 esac
54488 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54489
54490
54491 case $ac_mode in
54492 :F)
54493 #
54494 # CONFIG_FILE
54495 #
54496
54497 case $INSTALL in
54498 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54499 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54500 esac
54501 _ACEOF
54502
54503 cat >>$CONFIG_STATUS <<\_ACEOF
54504 # If the template does not know about datarootdir, expand it.
54505 # FIXME: This hack should be removed a few years after 2.60.
54506 ac_datarootdir_hack=; ac_datarootdir_seen=
54507
54508 case `sed -n '/datarootdir/ {
54509 p
54510 q
54511 }
54512 /@datadir@/p
54513 /@docdir@/p
54514 /@infodir@/p
54515 /@localedir@/p
54516 /@mandir@/p
54517 ' $ac_file_inputs` in
54518 *datarootdir*) ac_datarootdir_seen=yes;;
54519 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54520 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54521 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54522 _ACEOF
54523 cat >>$CONFIG_STATUS <<_ACEOF
54524 ac_datarootdir_hack='
54525 s&@datadir@&$datadir&g
54526 s&@docdir@&$docdir&g
54527 s&@infodir@&$infodir&g
54528 s&@localedir@&$localedir&g
54529 s&@mandir@&$mandir&g
54530 s&\\\${datarootdir}&$datarootdir&g' ;;
54531 esac
54532 _ACEOF
54533
54534 # Neutralize VPATH when `$srcdir' = `.'.
54535 # Shell code in configure.ac might set extrasub.
54536 # FIXME: do we really want to maintain this feature?
54537 cat >>$CONFIG_STATUS <<_ACEOF
54538 sed "$ac_vpsub
54539 $extrasub
54540 _ACEOF
54541 cat >>$CONFIG_STATUS <<\_ACEOF
54542 :t
54543 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54544 s&@configure_input@&$configure_input&;t t
54545 s&@top_builddir@&$ac_top_builddir_sub&;t t
54546 s&@srcdir@&$ac_srcdir&;t t
54547 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54548 s&@top_srcdir@&$ac_top_srcdir&;t t
54549 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54550 s&@builddir@&$ac_builddir&;t t
54551 s&@abs_builddir@&$ac_abs_builddir&;t t
54552 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54553 s&@INSTALL@&$ac_INSTALL&;t t
54554 $ac_datarootdir_hack
54555 " $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
54556
54557 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54558 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54559 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54560 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54561 which seems to be undefined. Please make sure it is defined." >&5
54562 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54563 which seems to be undefined. Please make sure it is defined." >&2;}
54564
54565 rm -f "$tmp/stdin"
54566 case $ac_file in
54567 -) cat "$tmp/out"; rm -f "$tmp/out";;
54568 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54569 esac
54570 ;;
54571 :H)
54572 #
54573 # CONFIG_HEADER
54574 #
54575 _ACEOF
54576
54577 # Transform confdefs.h into a sed script `conftest.defines', that
54578 # substitutes the proper values into config.h.in to produce config.h.
54579 rm -f conftest.defines conftest.tail
54580 # First, append a space to every undef/define line, to ease matching.
54581 echo 's/$/ /' >conftest.defines
54582 # Then, protect against being on the right side of a sed subst, or in
54583 # an unquoted here document, in config.status. If some macros were
54584 # called several times there might be several #defines for the same
54585 # symbol, which is useless. But do not sort them, since the last
54586 # AC_DEFINE must be honored.
54587 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54588 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54589 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54590 # PARAMS is the parameter list in the macro definition--in most cases, it's
54591 # just an empty string.
54592 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54593 ac_dB='\\)[ (].*,\\1define\\2'
54594 ac_dC=' '
54595 ac_dD=' ,'
54596
54597 uniq confdefs.h |
54598 sed -n '
54599 t rset
54600 :rset
54601 s/^[ ]*#[ ]*define[ ][ ]*//
54602 t ok
54603 d
54604 :ok
54605 s/[\\&,]/\\&/g
54606 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54607 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54608 ' >>conftest.defines
54609
54610 # Remove the space that was appended to ease matching.
54611 # Then replace #undef with comments. This is necessary, for
54612 # example, in the case of _POSIX_SOURCE, which is predefined and required
54613 # on some systems where configure will not decide to define it.
54614 # (The regexp can be short, since the line contains either #define or #undef.)
54615 echo 's/ $//
54616 s,^[ #]*u.*,/* & */,' >>conftest.defines
54617
54618 # Break up conftest.defines:
54619 ac_max_sed_lines=50
54620
54621 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54622 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54623 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54624 # et cetera.
54625 ac_in='$ac_file_inputs'
54626 ac_out='"$tmp/out1"'
54627 ac_nxt='"$tmp/out2"'
54628
54629 while :
54630 do
54631 # Write a here document:
54632 cat >>$CONFIG_STATUS <<_ACEOF
54633 # First, check the format of the line:
54634 cat >"\$tmp/defines.sed" <<\\CEOF
54635 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54636 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54637 b
54638 :def
54639 _ACEOF
54640 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54641 echo 'CEOF
54642 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54643 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54644 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54645 grep . conftest.tail >/dev/null || break
54646 rm -f conftest.defines
54647 mv conftest.tail conftest.defines
54648 done
54649 rm -f conftest.defines conftest.tail
54650
54651 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54652 cat >>$CONFIG_STATUS <<\_ACEOF
54653 if test x"$ac_file" != x-; then
54654 echo "/* $configure_input */" >"$tmp/config.h"
54655 cat "$ac_result" >>"$tmp/config.h"
54656 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54657 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54658 echo "$as_me: $ac_file is unchanged" >&6;}
54659 else
54660 rm -f $ac_file
54661 mv "$tmp/config.h" $ac_file
54662 fi
54663 else
54664 echo "/* $configure_input */"
54665 cat "$ac_result"
54666 fi
54667 rm -f "$tmp/out12"
54668 ;;
54669
54670 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54671 echo "$as_me: executing $ac_file commands" >&6;}
54672 ;;
54673 esac
54674
54675
54676 case $ac_file$ac_mode in
54677 "rcdefs.h":C)
54678 mkdir -p $outdir &&
54679 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54680 ;;
54681 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54682 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54683 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54684 "wx-config":C) rm -f wx-config
54685 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54686 ;;
54687
54688 esac
54689 done # for ac_tag
54690
54691
54692 { (exit 0); exit 0; }
54693 _ACEOF
54694 chmod +x $CONFIG_STATUS
54695 ac_clean_files=$ac_clean_files_save
54696
54697
54698 # configure is writing to config.log, and then calls config.status.
54699 # config.status does its own redirection, appending to config.log.
54700 # Unfortunately, on DOS this fails, as config.log is still kept open
54701 # by configure, so config.status won't be able to write to it; its
54702 # output is simply discarded. So we exec the FD to /dev/null,
54703 # effectively closing config.log, so it can be properly (re)opened and
54704 # appended to by config.status. When coming back to configure, we
54705 # need to make the FD available again.
54706 if test "$no_create" != yes; then
54707 ac_cs_success=:
54708 ac_config_status_args=
54709 test "$silent" = yes &&
54710 ac_config_status_args="$ac_config_status_args --quiet"
54711 exec 5>/dev/null
54712 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54713 exec 5>>config.log
54714 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54715 # would make configure fail if this is the last instruction.
54716 $ac_cs_success || { (exit 1); exit 1; }
54717 fi
54718
54719 #
54720 # CONFIG_SUBDIRS section.
54721 #
54722 if test "$no_recursion" != yes; then
54723
54724 # Remove --cache-file and --srcdir arguments so they do not pile up.
54725 ac_sub_configure_args=
54726 ac_prev=
54727 eval "set x $ac_configure_args"
54728 shift
54729 for ac_arg
54730 do
54731 if test -n "$ac_prev"; then
54732 ac_prev=
54733 continue
54734 fi
54735 case $ac_arg in
54736 -cache-file | --cache-file | --cache-fil | --cache-fi \
54737 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54738 ac_prev=cache_file ;;
54739 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54740 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54741 | --c=*)
54742 ;;
54743 --config-cache | -C)
54744 ;;
54745 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54746 ac_prev=srcdir ;;
54747 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54748 ;;
54749 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54750 ac_prev=prefix ;;
54751 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54752 ;;
54753 *)
54754 case $ac_arg in
54755 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54756 esac
54757 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54758 esac
54759 done
54760
54761 # Always prepend --prefix to ensure using the same prefix
54762 # in subdir configurations.
54763 ac_arg="--prefix=$prefix"
54764 case $ac_arg in
54765 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54766 esac
54767 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54768
54769 # Pass --silent
54770 if test "$silent" = yes; then
54771 ac_sub_configure_args="--silent $ac_sub_configure_args"
54772 fi
54773
54774 ac_popdir=`pwd`
54775 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54776
54777 # Do not complain, so a configure script can configure whichever
54778 # parts of a large source tree are present.
54779 test -d "$srcdir/$ac_dir" || continue
54780
54781 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54782 echo "$as_me:$LINENO: $ac_msg" >&5
54783 echo "$ac_msg" >&6
54784 { as_dir="$ac_dir"
54785 case $as_dir in #(
54786 -*) as_dir=./$as_dir;;
54787 esac
54788 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54789 as_dirs=
54790 while :; do
54791 case $as_dir in #(
54792 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54793 *) as_qdir=$as_dir;;
54794 esac
54795 as_dirs="'$as_qdir' $as_dirs"
54796 as_dir=`$as_dirname -- "$as_dir" ||
54797 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54798 X"$as_dir" : 'X\(//\)[^/]' \| \
54799 X"$as_dir" : 'X\(//\)$' \| \
54800 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54801 echo X"$as_dir" |
54802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54803 s//\1/
54804 q
54805 }
54806 /^X\(\/\/\)[^/].*/{
54807 s//\1/
54808 q
54809 }
54810 /^X\(\/\/\)$/{
54811 s//\1/
54812 q
54813 }
54814 /^X\(\/\).*/{
54815 s//\1/
54816 q
54817 }
54818 s/.*/./; q'`
54819 test -d "$as_dir" && break
54820 done
54821 test -z "$as_dirs" || eval "mkdir $as_dirs"
54822 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54823 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54824 { (exit 1); exit 1; }; }; }
54825 ac_builddir=.
54826
54827 case "$ac_dir" in
54828 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54829 *)
54830 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54831 # A ".." for each directory in $ac_dir_suffix.
54832 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54833 case $ac_top_builddir_sub in
54834 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54835 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54836 esac ;;
54837 esac
54838 ac_abs_top_builddir=$ac_pwd
54839 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54840 # for backward compatibility:
54841 ac_top_builddir=$ac_top_build_prefix
54842
54843 case $srcdir in
54844 .) # We are building in place.
54845 ac_srcdir=.
54846 ac_top_srcdir=$ac_top_builddir_sub
54847 ac_abs_top_srcdir=$ac_pwd ;;
54848 [\\/]* | ?:[\\/]* ) # Absolute name.
54849 ac_srcdir=$srcdir$ac_dir_suffix;
54850 ac_top_srcdir=$srcdir
54851 ac_abs_top_srcdir=$srcdir ;;
54852 *) # Relative name.
54853 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54854 ac_top_srcdir=$ac_top_build_prefix$srcdir
54855 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54856 esac
54857 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54858
54859
54860 cd "$ac_dir"
54861
54862 # Check for guested configure; otherwise get Cygnus style configure.
54863 if test -f "$ac_srcdir/configure.gnu"; then
54864 ac_sub_configure=$ac_srcdir/configure.gnu
54865 elif test -f "$ac_srcdir/configure"; then
54866 ac_sub_configure=$ac_srcdir/configure
54867 elif test -f "$ac_srcdir/configure.in"; then
54868 # This should be Cygnus configure.
54869 ac_sub_configure=$ac_aux_dir/configure
54870 else
54871 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54872 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54873 ac_sub_configure=
54874 fi
54875
54876 # The recursion is here.
54877 if test -n "$ac_sub_configure"; then
54878 # Make the cache file name correct relative to the subdirectory.
54879 case $cache_file in
54880 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54881 *) # Relative name.
54882 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54883 esac
54884
54885 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54886 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54887 # The eval makes quoting arguments work.
54888 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54889 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54890 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54891 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54892 { (exit 1); exit 1; }; }
54893 fi
54894
54895 cd "$ac_popdir"
54896 done
54897 fi
54898
54899
54900 echo
54901 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54902 echo ""
54903 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54904 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54905 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54906 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
54907 if test "$wxUSE_UNICODE" = "yes"; then
54908 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54909 echo " (using UTF-8)"
54910 else
54911 echo " (using wchar_t)"
54912 fi
54913 else
54914 echo
54915 fi
54916
54917 echo " What level of wxWidgets compatibility should be enabled?"
54918 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54919 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54920
54921 echo " Which libraries should wxWidgets use?"
54922 echo " STL ${wxUSE_STL}"
54923 echo " jpeg ${wxUSE_LIBJPEG-none}"
54924 echo " png ${wxUSE_LIBPNG-none}"
54925 echo " regex ${wxUSE_REGEX}"
54926 echo " tiff ${wxUSE_LIBTIFF-none}"
54927 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54928 echo " xpm ${wxUSE_LIBXPM-none}"
54929 fi
54930 echo " zlib ${wxUSE_ZLIB}"
54931 echo " expat ${wxUSE_EXPAT}"
54932 echo " libmspack ${wxUSE_LIBMSPACK}"
54933 echo " sdl ${wxUSE_LIBSDL}"
54934
54935 echo ""
54936